"Fossies" - the Fresh Open Source Software Archive 
Member "amanda-tag-community-3.5.3/ChangeLog" (16 Mar 2023, 1028872 Bytes) of package /linux/misc/amanda-tag-community-3.5.3.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
See also the last
Fossies "Diffs" side-by-side code changes report for "ChangeLog":
3.5.2_vs_3.5.3.
1 2023-02-25 amandaTrusted <amandaTrusted@Zmanda.com>
2 * Fixed: removed vulnerable jQuery dependency
3 * Fixed: fix suppressed 1st char of error message in common-src/bsdtcp-security.c
4 * docs: improved README with Markdown
5 * docs: updated README file name for docs in Debian builds
6 * Fixed: post_inst_functions.sh to create amkey
7 * Fixed: added extern keyword for tu_debugging_enabled declaration in testutils.h
8 * Fixed: https://sogis.eu complaint symmetric encryption key derivation algorithm
9 * Fixed: removed perror to fix information leak vulnerability found in the calcsize SUID binary. (CVE-2022-37703)
10 * Fixed: added filter for RSH environment settings in rundump to fix privilege escalation vulnerability (CVE-2022-37704)
11 * Fixed: arg checking for runtar.c (CVE-2022-37705)
12
13
14 2022-05-23 chassell <chris.hassell@betsol.com>
15 * Purpose: set a default to disable auto-label from claiming non-amanda and "other-config" labels as if available
16 * Changes: Add a build flag to re-include options. Block use of two enums for the features. Change perl uses to null-set options.
17 * File: config/amanda/tape.m4: adds build flag to prevent auto-label issues: "Define if unsafe erasure of tapes is allowed"
18 * File: common-src/conffile.c: exclude definition(s) of CONF_OTHER_CONFIG and CONF_NON_AMANDA enums
19 * File: common-src/conffile.h: add C-macros of null-set for AL_OTHER_CONFIG and AL_NON_AMANDA flag bits
20 * File: installcheck/{Amanda_Changer.pl,Amanda_Config.pl}: tests for OTHER_CONFIG and NON_AMANDA options
21
22 2022-06-23 chassell <chris.hassell@betsol.com>
23 * issue#160: found problem with code refactor earlier
24
25 2019-12-10 chassell <chris.hassell@betsol.com>
26 * 3 5.default amanda security (#142)
27 * amanda-security.conf becomes a default installed file
28 * adding final step in install files
29
30 2019-12-03 chassell <chris.hassell@betsol.com>
31 * handle tape scan more correctly (#136)
32 * check the correct variable to ensure exclude-list is not used (#138)
33 * modernize s3/aws interface (#137)
34 * remove strange use of @prefix@ (#135)
35 * perl/Amanda/Taper/Scan/lexical.pm (last_use_label_from_pool): issue #126
36 bad copy-paste fail fix
37
38 2019-11-28 Daniel T Chen <crimsun@ubuntu.com>
39 * amar-src/Makefile.am, ndmp-src/Makefile.am, perl/Makefile.am,
40 server-src/Makefile.am, xfer-src/Makefile.am: issue 129,
41 add libamanda.la, libndmlib.la and libamxfer.la into important linking
42
43 2019-11-28 Debian Packagers <chris.hassell@betsol.com>
44 * perl/Amanda/Interactivity.pm, server-src/amtape.pl: issue #128,
45 exchange 'stdin' to 'tty' as interactivity label
46
47 2019-11-28 Chris Hassell <chris.hassell@betsol.com>
48 * application-src/amsamba.pl (command_estimate): issue #132 fixed
49 use wildcard to force samba to estimate from dir and not whole disk
50
51 2019-11-28 Chris Hassell <chris.hassell@betsol.com>
52 * perl/Amanda/Taper/Scan/lexical.pm (last_use_label_from_pool): issue #126,
53 lexical.pm now uses matching pool or undefined pool for tapes
54
55 2019-11-07 Debian Packagers <chris.hassell@betsol.com>
56 * perl/Amanda/Chunker/Controller.pm: rounding bug for very small backups
57
58 2019-11-07 Orion Poplawski <orion@nwra.com>
59 * perl/Amanda/Report/human.pm: Emit a note on small estimates
60
61 2019-11-07 Diego Zuccato <diego.zuccato@unibo.it>, Stefan G. Weichinger <office@oops.co.at>
62 * application-src/amsamba.pl: accept "Unable to initialize messaging context" errs
63
64 2019-11-07 Debian Packagers <chris.hassell@betsol.com>
65 * perl/Amanda/Amflush.pm: Issue #86: prevent AMINF from infinite loop causing
66
67 2019-11-05 Debian Packagers <chris.hassell@betsol.com>
68 * common-src/protocol.c: double-call reduces latency/missed alarms
69
70 2019-11-05 Will Aoki <waoki@umnh.utah.edu>
71 * perl/Amanda/Changer/robot.pm: add Carp module use line
72
73 2019-05-07 Chris Hassell <chris.hassell@betsol.com>
74 * config/*: use automake --add-missing to copy files each build
75 ( compile config.guess config.sub depcomp install-sh missing mkinstalldirs
76 test-driver ylwrap )
77 * device-src/Makefile.am, ndmp-src/Makefile.am, perl/Makefile.am,
78 config/amanda/amanda_configure.m4: use search for stdint.h and libtirpc
79 * config/amanda/progs.m4: update quotes to make it work
80 * packaging/deb/amanda-backup-client.*: remove extra path-patterns
81 * packaging/deb/compat: allow level 5 and below compatibility
82 * packaging/deb/rules: build manpages by default
83 * packaging/rpm/amanda.spec.src: build manpages by default
84
85 2019-04-26 Badal Dave <badaladave@gmail.com>
86 * perl/Amanda/Taper/Scribe.pm: Adding tape barcode info to logs
87
88 2019-01-18 Hiten Shah <hiten.shah@betsol.com>
89 * application-src/amgtar.c: Filter GNU tar arguments
90 * application-src/amstar.c: Filter star arguments
91 * client-src/rundump.c: Filter dump and xfsdump arguments
92
93 2018-02-27 Jean-Louis Martineau <JMartineau@carbonite.com>
94 * common-src/amflock-test.c (int_counter): Fix call to file_lock_write
95 * common-src/amutil.c (unquote_string): Fix
96 * common-src/fileheader-test.c, common-src/ipc-binary-test.c,
97 common-src/match-test.c: Fix memory leak
98
99 2018-02-26 Jean-Louis Martineau <JMartineau@carbonite.com>
100 * common-src/local-security.c: Do not call initgroups since we are no
101 longer suid root
102
103 2018-02-23 Jean-Louis Martineau <JMartineau@carbonite.com>
104 * server-src/driver.c: s/g_free/amfree/ for sp->try_again_message
105
106 2018-02-19 Jean-Louis Martineau <JMartineau@carbonite.com>
107 * client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
108 client-src/sendbackup.c: Fix fd managment
109
110 2018-02-12 Jean-Louis Martineau <JMartineau@carbonite.com>
111 * perl/Amanda/Cmdfile.swg (get_nb_image_cmd_for_storage): Return the
112 result
113
114 2018-02-12 Jean-Louis Martineau <JMartineau@carbonite.com>
115 * perl/Amanda/Changer/disk.pm: Make slot dit with permission 0700
116
117 2018-02-12 Jean-Louis Martineau <JMartineau@carbonite.com>
118 * common-src/protocol.c (protocol_sendreq): Cache the result of
119 get_platform_and_distro, calling it for each request take too much
120 time
121
122 2018-02-05 Jean-Louis Martineau <JMartineau@carbonite.com>
123 * application-src/ampgsql.pl: Call _get_pg_version after
124 setting $self->{'props'}->{'psql-path'}
125
126 2018-01-31 Jean-Louis Martineau <JMartineau@carbonite.com>
127 * perl/Amanda/Vault.pm: Run the driver if run_delayed is set
128 * server-src/amvault.pl: New --run-delayed argument
129 * man/xml-source/amvault.8.xml: Document it
130 * NEWS, ReleaseNotes: Add it
131
132 2018-01-31 Jean-Louis Martineau <JMartineau@carbonite.com>
133 * perl/Amanda/Vault.pm: Add vault command to the commands file if
134 delayed is set
135 * server-src/amvault.pl: New --delayed argument
136 * man/xml-source/amvault.8.xml: Document it
137 * NEWS, ReleaseNotes: Add it
138
139 2018-01-31 Jean-Louis Martineau <JMartineau@carbonite.com>
140 * perl/Amanda/Vault.pm: Verify the dump is not already in the dest
141 storage if uniq is set
142 * server-src/amvault.pl: New --uniq, --no-uniq argument
143 * man/xml-source/amvault.8.xml: Document it
144 * NEWS, ReleaseNotes: Add it
145
146 2018-01-30 Jean-Louis Martineau <JMartineau@carbonite.com>
147 * application-src/ampgsql.pl: exclude pg_wal/*
148
149 2018-01-29 Jean-Louis Martineau <JMartineau@carbonite.com>
150 * server-src/find.c (dump_storage_hash_exist): g_free(key)
151
152 2018-01-29 Jean-Louis Martineau <JMartineau@carbonite.com>
153 * server-src/driver.c server-src/planner.c: Don't do some check
154 if --no-dump or no storage defined
155
156 2018-01-29 Jean-Louis Martineau <JMartineau@carbonite.com>
157 * man/xml-source/amanda-changers.7.xml: Document the diskflat changer
158 * man/xml-source/amanda-devices.7.xml: The diskflat device must use
159 the diskflat changer
160
161 2018-01-26 Jean-Louis Martineau <JMartineau@carbonite.com>
162 * server-src/driver.c: Do not add a COPY command if the dump is
163 already on the storage
164 * server-src/driverio.c (startup_vault_tape_process): Use same taper
165 as storage
166
167 2018-01-26 Jean-Louis Martineau <JMartineau@carbonite.com>
168 * server-src/cmdfile.c (cmdfile_get_nb_image_cmd_for_storage): New
169 function
170 * server-src/cmdfile.h (cmdfile_get_nb_image_cmd_for_storage): Add
171 prototype
172 * server-src/find.c (make_dump_storage_hash, add_dump_storage_hash,
173 dump_storage_hash_exist): New functions to keep track of all
174 available dump
175 * server-src/find.h (make_dump_storage_hash, add_dump_storage_hash,
176 dump_storage_hash_exist): Add prototypes
177
178 2018-01-24 Jean-Louis Martineau <JMartineau@carbonite.com>
179 * server-src/driver.c: Send CLOSE-VOLUME command only if the volume
180 is opened
181
182 2018-01-24 Jean-Louis Martineau <JMartineau@carbonite.com>
183 * server-src/driver.c: fix queue handling
184
185 2018-01-23 Jean-Louis Martineau <JMartineau@carbonite.com>
186 * application-src/ampgsql.pl: s/xlog/wal/ in function name for version
187 10 and newer
188
189 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
190 * installcheck/success-dumper-taper-vault.pl: Merge error
191
192 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
193 * server-src/driver.c (server-src/driver.c): Remove function
194
195 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
196 * server-src/driver.c (tape_action): Improvement
197
198 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
199 * server-src/driver.c (idle_taper): Check wtaper->vaultqs.vaultq.head
200
201 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
202 * server-src/driver.c: Set sent_first_write and last_started_wtaper
203
204 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
205 * server-src/driver.c: Improve new_tape
206
207 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
208 * server-src/driver.c: Set TAPER_STATE_TAPE_STARTED on NEW-TAPE
209
210 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
211 * server-src/driver.c: Send dump to first storage
212
213 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
214 * perl/Amanda/Status.pm: Add vaulting information
215 * server-src/amstatus.pl: Print vaulting information
216 * installcheck/success-dumper-taper.pl: Fix for vaulting information
217
218 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
219 * server-src/driver.c: Keep track of all label in use
220
221 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
222 * server-src/driver.c: Set wtaper->current_source_label
223
224 2018-01-22 Jean-Louis Martineau <JMartineau@carbonite.com>
225 * server-src/driver.c: Set wtaper->current_dest_label
226
227 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
228 * perl/Amanda/Taper/Worker.pm: Set input_errors on Recovery error
229
230 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
231 * perl/Amanda/Taper/Scribe.pm (_dbg): Improve debugging
232
233 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
234 * perl/Amanda/Taper/Controller.pm: Quit the Clerk on START_TAPER,
235 Add debugging
236
237 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
238 * perl/Amanda/ScanInventory.pm (_scan_): Set scanning to 0 on error
239
240 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
241 * perl/Amanda/Changer.pm, perl/Amanda/Changer/diskflat.pm: Try to get
242 the lock more often, otherwise we might never get it if another
243 thread lock it often
244
245 2018-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
246 * common-src/match.c (match_labelstr_template, match_labelstr):
247 Checklabel is not NULL
248
249 2018-01-11 Jean-Louis Martineau <JMartineau@carbonite.com>
250 * man/xml-source/amanda.conf.5.xml: Add rest-api-port
251
252 2018-01-10 Jean-Louis Martineau <JMartineau@carbonite.com>
253 * server-src/amstatus.pl: Typo
254
255 2018-01-10 Jean-Louis Martineau <JMartineau@carbonite.com>
256 * server-src/amstatus.pl: Add a --[no]taped argument
257 * man/xml-source/amstatus.8.xml: Document it
258 * NEWS, ReleaseNotes: Add it
259
260 2018-01-08 Jean-Louis Martineau <JMartineau@carbonite.com>
261 * server-src/driver.c (tape_action): fix for max_dle_by_volume
262
263 2018-01-08 Jean-Louis Martineau <JMartineau@carbonite.com>
264 * client-src/ambackup.pl: Fix usage message
265
266 2018-01-05 Jean-Louis Martineau <JMartineau@carbonite.com>
267 * perl/Amanda/Status.pm, server-src/amstatus.pl: Fix when taper crash
268
269 2018-01-05 Jean-Louis Martineau <JMartineau@carbonite.com>
270 * server-src/driver.c (tape_action): fix for max_dle_by_volume
271
272 2018-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
273 * perl/Amanda/Rest/Runs.pm: Undo, bsd_glob is not exported on older
274 perl
275
276 2018-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
277 * common-src/bsdtcp-security.c,
278 common-src/conffile.c,
279 common-src/ssl-security.c,
280 oldrecover-src/extract_list.c,
281 server-src/dumper.c: Fix warning in newer gcc
282 * perl/Amanda/Rest/Runs.pm,: Fix warning in newer perl
283 * installcheck/Installcheck.pm: Use File::Glob::bsd_glob
284
285 2017-12-20 Jean-Louis Martineau <JMartineau@carbonite.com>
286 * common-src/conffile.c: Parse subsection name with or without double
287 quote
288 * installcheck/Amanda_Config.pl: Test it
289 * installcheck/Installcheck/Config.pm: set interactivity after they
290 are defined
291
292 2017-12-18 Jean-Louis Martineau <JMartineau@carbonite.com>
293 * perl/Amanda/Process.pm (process_alive): Can be called a class method
294 * perl/Amanda/Util.swg (is_pid_alive): New pname argument, call
295 Amanda::Process::process_alive if pname is set
296 * perl/Amanda/Status.pm: Call is_pid_alive with 'driver' as the pname
297
298 2017-12-18 Jean-Louis Martineau <JMartineau@carbonite.com>
299 * perl/Amanda/Status.pm: Use Amanda::Util::is_pid_alive
300
301 2017-12-18 Jean-Louis Martineau <JMartineau@carbonite.com>
302 * perl/Amanda/Util.swg (is_pid_alive): Use kill instead of
303 Amanda::Process
304
305 2017-12-13 Jean-Louis Martineau <JMartineau@carbonite.com>
306 * common-src/amfeatures.c: Add fe_sendbackup_statedone
307 * common-src/amfeatures.h: Add fe_sendbackup_statedone
308 * amandad-src/amandad.c, client-src/sendbackup.c,
309 server-src/dumper.c: Fix for directtcp data_path
310
311 2017-12-13 Jean-Louis Martineau <JMartineau@carbonite.com>
312 * common-src/conffile.c: Accept define with double quote
313
314 2017-12-13 Jean-Louis Martineau <JMartineau@carbonite.com>
315 * perl/Amanda/Taper/Scribe.pm: Fix perl warning on taper failure
316
317 2017-12-13 Jean-Louis Martineau <JMartineau@carbonite.com>
318 * perl/Amanda/Label.pm: Fix error message
319 * installcheck/amlabel.pl: Fix
320
321 2017-12-12 Jean-Louis Martineau <JMartineau@carbonite.com>
322 * perl/Amanda/Status.pm: Also use 'driver: pid' line to detect
323 running version
324 * server-src/amstatus.pl: Fix perl warning
325 * installcheck/Installcheck/Catalogs.pm: Fix
326
327 2017-12-04 Jean-Louis Martineau <JMartineau@carbonite.com>
328 * common-src/ammessage.c (get_errno_string, get_errno_number): New
329 functions toreturn errno string and number
330 * common-src/ammessage.h: Add prototypes
331 * common-src/ambind.c: Print the errno_string in error message
332 * common-src/amutil.c: Parse errno string is ambind error message and
333 set errno
334
335 2017-12-04 Jean-Louis Martineau <JMartineau@carbonite.com>
336 * installcheck/Amanda_Archive.pl: Fix parameter order
337
338 2017-12-01 Jean-Louis Martineau <JMartineau@carbonite.com>
339 * perl/Amanda/Archive.swg (read_finish_file_cb): Fix parameter order
340
341 2017-11-29 Jean-Louis Martineau <JMartineau@carbonite.com>
342 * application-src/ampgsql.pl: Accept --target asa synonyme for
343 --directory
344
345 2017-11-28 Jean-Louis Martineau <JMartineau@carbonite.com>
346 * NEWS, ReleaseNotes: 3.5.1
347 * VERSION: 3.5.1
348
349 2017-11-28 Jean-Louis Martineau <JMartineau@carbonite.com>
350 * common-src/protocol.c: Use correct macro to find if we have
351 getservbyname_r
352
353 2017-11-27 Jean-Louis Martineau <JMartineau@carbonite.com>
354 Patch by Nathan Stratton Treadway <nathanst@ontko.com>
355 * man/xml-source/amanda-changers.7.xml,
356 man/xml-source/amfetchdump.8.xml: Fix typo
357
358 2017-11-27 Jean-Louis Martineau <JMartineau@carbonite.com>
359 Patch by Nathan Stratton Treadway <nathanst@ontko.com>
360 * man/xml-source/amanda.conf.5.xml: Improve documentation
361
362 2017-11-23 Jean-Louis Martineau <JMartineau@carbonite.com>
363 * server-src/planner.c: Do not log L_DISK if no_dump
364
365 2017-11-22 Jean-Louis Martineau <JMartineau@carbonite.com>
366 * common-src/file.c: Remove duplicate code
367 * server-src/holding.c: Do not stat before fopen
368 * server-src/xfer-dest-holding.c: Do not call mkholdingdir, the
369 directory should alredy exists
370
371 2017-11-22 Jean-Louis Martineau <JMartineau@carbonite.com>
372 * server-src/planner.c: Fix compilation
373
374 2017-11-22 Jean-Louis Martineau <JMartineau@carbonite.com>
375 * perl/Amanda/Amflush.pm, server-src/driver.c: rename .tmp holding
376 files
377 * server-src/planner.c: Use DUMP_LEVELS
378
379 2017-11-22 Jean-Louis Martineau <JMartineau@carbonite.com>
380 * server-src/holding.c: Fix to take pid lock
381 * server-src/holding.c (holding_get_files): Add a take_pid_lock
382 argument
383 * server-src/cmdline.c, server-src/find.c: Add 0 take_pid_lock
384 argument to holding_get_files
385 * server-src/holding.h (holding_get_files): Change prototype
386 * installcheck/Amanda_Holding.pl, installcheck/amrestore.pl: Call
387 Amanda::Holding::files and Amanda::Holding::get_files_for_flush
388 with a 0 take_pid_lock
389 * perl/Amanda/Amflush.pm: Call Amanda::Holding::get_files_for_flush
390 with a 1 take_pid_lock
391 * perl/Amanda/Holding.pm: Fix to take pid lock
392 * perl/Amanda/Report/human.pm, perl/Amanda/Report/json.pm: Call
393 Amanda::Holding::get_files_for_flush with a 0 take_pid_lock
394 * perl/Amanda/Rest/Runs.pm: Log pid-done
395
396 2017-11-20 Jean-Louis Martineau <JMartineau@carbonite.com>
397 * perl/Amanda/Holding.pm: Lock the holding disk dir
398 * server-src/holding.c: Lock the holding disk dir
399
400 2017-11-20 Jean-Louis Martineau <JMartineau@carbonite.com>
401 * perl/Amanda/Amflush.pm: Use new --no-dump argument of driver
402 * server-src/driver.c: Merge nodump and --no-dump argument
403
404 2017-11-20 Jean-Louis Martineau <JMartineau@carbonite.com>
405 * server-src/amstatus.pl: Fix when no storage
406
407 2017-11-17 Jean-Louis Martineau <JMartineau@carbonite.com>
408 * server-src/amdump.pl: Fix usage message
409
410 2017-11-17 Jean-Louis Martineau <JMartineau@carbonite.com>
411 * installcheck/success-dumper-taper-vault.pl:Increase diskname length
412 to 130 character
413
414 2017-11-17 Jean-Louis Martineau <JMartineau@carbonite.com>
415 * perl/Amanda/Report.pm: Add all disks to the disklist hash, Add only
416 disk that must be dumped to the dump_disk hash
417 * perl/Amanda/Report/human.pm: Do not report 'MISSING RESULT' If the
418 disk is not in the dump_disk hash
419 * installcheck/Amanda_Report.pl: Setup a valid config
420
421 2017-11-17 Jean-Louis Martineau <JMartineau@carbonite.com>
422 * server-src/amdump.pl, server-src/driver.c
423 server-src/planner.c: Add --no-dump, --no-flush and --no-vault
424 argument
425 * perl/Amanda/Amdump.pm: Add no_dump, no_flush and no_vault parameters
426 * man/xml-source/amdump.8.xml: Document new arguments
427
428 2017-11-16 Jean-Louis Martineau <JMartineau@carbonite.com>
429 Patch by Nathan Stratton Treadway <nathanst@ontko.com>
430 * perl/Amanda/CheckDump.pm: Fix report of image validated
431
432 2017-11-16 Jean-Louis Martineau <JMartineau@carbonite.com>
433 * common-src/file.c (untaint_fgets): Fix
434
435 2017-11-16 Jean-Louis Martineau <JMartineau@carbonite.com>
436 * installcheck/Amanda_Recovery_Clerk.pl,
437 installcheck/Amanda_Taper_Scribe.pl, perl/Amanda/CheckDump.pm,
438 perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm,
439 perl/Amanda/FetchDump.pm, perl/Amanda/Recovery/Clerk.pm,
440 perl/Amanda/Rest/Runs.pm, perl/Amanda/Service/Amidxtaped.pm,
441 perl/Amanda/Service/Restore.pm, perl/Amanda/Taper/Scribe.pm,
442 perl/Amanda/Taper/Worker.pm, perl/Amanda/Vault.pm,
443 server-src/amreindex.pl: s/use base/use parent -norequire,/ for
444 *::Feedback class
445 * perl/Amanda/Config/FoldingHash.pm: use 'use parent -norequire' for
446 Tie::StdHash
447
448 2017-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
449 * common-src/amgetconf.pl: print an empty string if a parameter is not
450 set instead of 'no such parameter'
451
452 2017-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
453 * common-src/conffile.c: Allow to unset some setting
454
455 2017-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
456 Patch by Nathan Stratton Treadway <nathanst@ontko.com>
457 * common-src/match.c (match_datastamp) Allow "*" wildcard
458
459 2017-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
460 * server-src/dumper.c (process_dumpline): debug once error to write to
461 the state file
462
463 2017-11-14 Jean-Louis Martineau <JMartineau@carbonite.com>
464 * common-src/conffile.c: Do not allow double quote in section name or
465 label
466
467 2017-11-13 Jean-Louis Martineau <JMartineau@carbonite.com>
468 * perl/Amanda/Config.swg (subsection_names):Add missing entry
469 * common-src/amgetconf.pl: Sort the list output
470
471 2017-11-10 Jean-Louis Martineau <JMartineau@carbonite.com>
472 * installcheck/success-dumper-taper-vault.pl: Fix for any diskname
473
474 2017-11-10 Jean-Louis Martineau <JMartineau@carbonite.com>
475 * perl/Amanda/Status.pm: Fix setting dlet
476 * installcheck/success-dumper-taper-vault.pl: Fix
477
478 2017-11-10 Jean-Louis Martineau <JMartineau@carbonite.com>
479 * installcheck/catalogs/vault1.cat,
480 installcheck/catalogs/vault2.cat,
481 installcheck/catalogs/vault3.cat: Fix for previous patch
482
483 2017-11-10 Jean-Louis Martineau <JMartineau@carbonite.com>
484 * perl/Amanda/DB/Catalog.pm: s/exists/defined/g
485 * perl/Amanda/Recovery/Planner.pm: Pass separate args to get_dumps
486 instead of a dumpspecs (becasue it match instead of equal)
487 * perl/Amanda/Report.pm: storage_list must include vault-storage
488 * perl/Amanda/Status.pm: Fix
489 * perl/Amanda/Taper/Worker.pm: Pass separate args to make_plan
490 instead of a dumpspecs (becasue it match instead of equal)
491 * installcheck/success-dumper-taper-vault.pl: New check
492 * installcheck/Makefile.am: Add success-dumper-taper-vault.pl
493
494 2017-11-10 Jean-Louis Martineau <JMartineau@carbonite.com>
495 * common-src/conffile.c: Do not cwgenerate error when appying override
496 until the complete configuration is read
497 * common-src/conffile.h: Define CONFIG_OVERRDIDE_NO_ERROR
498 * perl/Amanda/Config.swg: Define CONFIG_OVERRDIDE_NO_ERROR
499 * installcheck/amgetconf.pl: Test it
500
501 2017-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
502 * perl/Amanda/Report/human.pm: Use good try
503 * server-src/tapefile.c: Call find_dump with added_todo=1
504 * installcheck/Makefile.am (catalogs): Add catalogs/vault3.cat
505 * installcheck/amreport.pl: Check successful flush/vault
506 * installcheck/catalogs/vault3.cat: New catalog
507
508 2017-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
509 * perl/Amanda/Taper/Worker.pm: Fix for one of the previous patch
510 * installcheck/Makefile.am (catalogs): Add catalogs/vault2.cat
511 * installcheck/amreport.pl: Check successful vault
512 * installcheck/catalogs/vault2.cat: New catalog
513
514 2017-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
515 * perl/Amanda/Report/human.pm: Fix tape_rape for VAULT
516 * installcheck/catalogs/vault1.cat: Fxi test
517
518 2017-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
519 * perl/Amanda/Report.pm: Fix perl warning
520
521 2017-11-08 Jean-Louis Martineau <JMartineau@carbonite.com>
522 * perl/Amanda/Report.pm: Improvement for vault
523 * perl/Amanda/Report/human.pm: Improvement for vault
524 * perl/Amanda/Taper/Worker.pm: Add VAULT keyword to FAILED line
525 * server-src/driver.c: Do not log on error
526 * server-src/find.c: Parse VAULT keyword
527 * installcheck/Makefile.am (catalogs): Add catalogs/vault1.cat
528 * installcheck/amreport.pl: Check failed amvault report
529 * installcheck/catalogs/vault1.cat: New catalog
530
531 2017-11-08 Jean-Louis Martineau <JMartineau@carbonite.com>
532 * perl/Amanda/Recovery/Planner.pm: Undo previous patch
533 * perl/Amanda/Taper/Worker.pm: Return errorif plan is empty
534
535 2017-11-08 Jean-Louis Martineau <JMartineau@carbonite.com>
536 * perl/Amanda/Recovery/Planner.pm (make_plan): Return an error if the
537 dump is not found
538 * perl/Amanda/Taper/Worker.pm: Fail if error is set
539 * perl/Amanda/Status.pm: Fix for vaulting error
540
541 2017-11-08 Jean-Louis Martineau <JMartineau@carbonite.com>
542 * perl/Amanda/Report.pm: Set storage and pool
543 * perl/Amanda/Report/human.pm: Print timestamp and vault storage
544 * installcheck/catalogs/tapers.cat: Fix check
545
546 2017-11-08 Jean-Louis Martineau <JMartineau@carbonite.com>
547 * config/amanda/progs.m4: AC_DEFINE_UNQUOTED(LPR)
548 * common-src/genversion.c: s/LPRCMD/LPR/, use DEFAULT_MAILER
549
550 2017-11-06 Jean-Louis Martineau <JMartineau@carbonite.com>
551 * common-src/security-util.c (sec_tcp_conn_get): Do not reuse a
552 connection if it is in error
553
554 2017-11-01 Jean-Louis Martineau <JMartineau@carbonite.com>
555 * perl/Amanda/Report/human.pm: Report taper problem event if no dumper
556 * installcheck/catalogs/tapers.cat,
557 installcheck/failure-xfer-dest-holding-file-first-close_chunk.pl,
558 installcheck/failure-xfer-dest-holding-file-second-close_chunk.pl,
559 installcheck/failure-xfer-dest-holding-shm-first-close_chunk.pl,
560 installcheck/failure-xfer-dest-holding-shm-second-close_chunk.pl:
561 Fix for error message showing in report
562
563 2017-10-30 Jean-Louis Martineau <JMartineau@carbonite.com>
564 * common-src/conffile.c: Check ORG do not have space if it is use in
565 autolabel or meta-autolabel
566
567 2017-10-30 Jean-Louis Martineau <JMartineau@carbonite.com>
568 * client-src/sendbackup-dump.c: Fix if shared memory is not used
569
570 2017-10-30 Jean-Louis Martineau <JMartineau@carbonite.com>
571 * common-src/shm-ring.c (shm_ring_create): Take a new errmsg argument,
572 return NULL on failure
573 * common-src/shm-ring.h (shm_ring_create): Change prototype
574 * amandad-src/amandad.c: handle shm_ring_create return NULL;
575 * device-src/xfer-dest-taper-splitter.c, server-src/dumper.c,
576 server-src/xfer-dest-holding.c,
577 xfer-src/element-glue.c: Pass a NULL errmsg to shm_ring_create
578
579 2017-10-26 Jean-Louis Martineau <JMartineau@carbonite.com>
580 * common-src/conffile.c (read_storage_identlist): Prefer ident to
581 keyword
582
583 2017-10-23 Jean-Louis Martineau <JMartineau@carbonite.com>
584 * application-src/ampgsql.pl: Fix parsing of psql version for version
585 10.0
586
587 2017-10-17 Jean-Louis Martineau <JMartineau@carbonite.com>
588 * common-src/ammessage.c (2800235): Print the required permission
589 * server-src/amcheck.c: Do not check all 'r' bit on suid binary
590
591 2017-10-12 Jean-Louis Martineau <JMartineau@carbonite.com>
592 * installcheck/failure-dumper-try-again.pl: Don't do the check if
593 FAILURE_CODE is not set
594
595 2017-10-12 Jean-Louis Martineau <JMartineau@carbonite.com>
596 * common-src/security-util.c: Do not waitpid() if we have a
597 watch-source for it
598
599 2017-10-09 Jean-Louis Martineau <JMartineau@carbonite.com>
600 * server-src/driver.c (handle_dumper_result): Send the TRYAGAIN mesage
601 to chunker or taper
602 * file server-src/driverio.h (sched_t): Add try_again_message
603 * server-src/dumper.c: Log L_FAIL on TRY-AGAIN
604 * installcheck/failure-dumper-try-again.pl: New Check
605 * installcheck/Makefile.am (full_tests): Add failure-dumper-try-again
606
607 2017-10-02 Jean-Louis Martineau <JMartineau@carbonite.com>
608 * server-src/amcheck.c: Fix compilation on Solaris
609
610 2017-10-02 Jean-Louis Martineau <JMartineau@carbonite.com>
611 * man/xml-source/amanda-security.conf.5.xml
612
613 2017-10-02 Jean-Louis Martineau <JMartineau@carbonite.com>
614 * common-src/security-file.c: Print better error message
615
616 2017-10-02 Jean-Louis Martineau <JMartineau@carbonite.com>
617 * common-src/amservice.c, server-src/amcheck.c, server-src/dumper.c,
618 server-src/planner.c: Correctly check they are not suid
619
620 2017-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
621 * perl/make_html.pl: Fix
622
623 2017-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
624 * NEWS, ReleaseNotes: 3.5
625
626 2017-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
627 * amplot/amplot.awk: Major fix
628
629 2017-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
630 Patch by Nathan Stratton Treadway
631 * man/xml-source/amvault.8.xml: Improve page
632
633 2017-09-26 Jean-Louis Martineau <JMartineau@carbonite.com>
634 * perl/Amanda/Report.pm: Parse server-src on SUCCESS dumper line
635 * server-src/ambackupd.pl: Do not print the server-src on
636 SUCCESS dumper line
637
638 2017-09-25 Jean-Louis Martineau <JMartineau@carbonite.com>
639 * perl/Amanda/Vault.pm: Quit the taperscan only if it is defined
640
641 2017-09-22 Jean-Louis Martineau <JMartineau@carbonite.com>
642 * perl/Amanda/Vault.pm: Fix for tty output, improve usage output
643 * server-src/amvault.pl: Fix for message 2500008, quiet, and always
644 quit the taperscan
645 * man/xml-source/amvault.8.xml: Improve man page
646
647 2017-09-20 Jean-Louis Martineau <JMartineau@carbonite.com>
648 * common-src/file.c (untaint_fgets): New function
649 * common-src/file.h (untaint_fgets): Add prototype
650 * server-src/logfile.c, server-src/server_util.c: Use untaint_fgets
651
652 2017-09-20 Jean-Louis Martineau <JMartineau@carbonite.com>
653 * xfer-src/element-glue.c: Fix deadlock
654 * server-src/xfer-source-holding.c: Fix deadlock
655
656 2017-09-19 Jean-Louis Martineau <JMartineau@carbonite.com>
657 * common-src/conffile.c (conftoken_getc): Untaint the returned value
658 * server-src/xfer-dest-holding.c: Check result of shm_ring_sem_wait
659
660 2017-09-19 Jean-Louis Martineau <JMartineau@carbonite.com>
661 * common-src/amutil.c (ambind): Close fds before forking ambind
662 * client-src/client_util.c, client-src/selfcheck.c,
663 client-src/senddiscover.c, common-src/ammessage.c,
664 common-src/amxml.c, common-src/security-util.c,
665 server-src/amcheck.c, server-src/driver.c,
666 server-src/server_util.c,
667 server-src/xfer-dest-holding.c: Fix small memory leak
668 * ndmp-src/ndml_conn.c: Comment a memory leak
669
670 2017-09-18 Jean-Louis Martineau <JMartineau@carbonite.com>
671 * common-src/amutil.c (parse_crc): Set to 0 on error
672 * perl/Amanda/Restore.pm: Modify a copy of the header
673
674 2017-09-18 Jean-Louis Martineau <JMartineau@carbonite.com>
675 * application-src/amsuntar.pl: Typo
676
677 2017-09-15 Jean-Louis Martineau <JMartineau@carbonite.com>
678 * perl/Amanda/ScanInventory.pm: Call release with need_another flag.
679 * perl/Amanda/Changer/single.pm (do_release): eject the tevice if
680 need_another
681
682 2017-09-15 Jean-Louis Martineau <JMartineau@carbonite.com>
683 * perl/Amanda/ScanInventory.pm (after_poll): Set $remove_undef_state
684 if $self->{'chg'}->{'scan-require-update'}
685
686 2017-09-12 Jean-Louis Martineau <JMartineau@carbonite.com>
687 * server-src/dumper.c:i Do not cancel the shm_ring if the dump-result
688 is 1 (STRANGE)
689
690 2017-09-11 Jean-Louis Martineau <JMartineau@carbonite.com>
691 * client-src/sendsize.c: If application return '-2 -2' for the
692 size, then report -2 to the server
693
694 2017-09-08 Jean-Louis Martineau <JMartineau@carbonite.com>
695 Add timestmap in the req OPTION line
696 Run script support command
697 Add the --timestmap argument to scripts and applications
698 * amandad-src/amandad.h (g_option_t): Add timestamp
699 * amandad-src/amandad_util.c (parse_g_options): Parse timestamp in the
700 OPTION line
701 * application-src/amgtar.c,
702 application-src/amlog-script.pl:Add timestamp
703 * application-src/script-fail.sh: Add support command
704 * client-src/client_util.c: Move backup_support_option to
705 common-src/backup_support_option.c
706 * client-src/client_util.h: Move backup_support_option to
707 common-src/backup_support_option.h
708 * client-src/sendbackup.c: Add --timestamp argument
709 * client-src/sendsize.c: Add --timestamp argument
710 * common-src/Makefile.am: Add backup_support_option.[hc]
711 * common-src/amfeatures.c: Add fe_req_options_timestamp
712 * common-src/amfeatures.h: Add fe_req_options_timestamp
713 * common-src/backup_support_option.c: Add backup_support_option
714 * common-src/backup_support_option.h: Add prototype
715 * server-src/server_util.c (run_server_script, run_server_dle_scripts,
716 run_server_host_scripts, run_server_global_scripts): Add timestamp
717 argument.
718 * server-src/server_util.h:Change prototype
719 * server-src/amcheck.c, server-src/driver.c server-src/dumper.c
720 server-src/planner.c: Add the timestamp argument in calls
721
722 2017-09-08 Jean-Louis Martineau <JMartineau@carbonite.com>
723 Patch by Chapman Flack
724 * application-src/ambsdtar.c, application-src/amgtar.c,
725 client-src/client_util.c, client-src/client_util.h,
726 client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
727 client-src/sendsize.c: Add dirname argument to many include/exclude
728 functions
729
730 2017-09-08 Jean-Louis Martineau <JMartineau@carbonite.com>
731 Rename script/applciaiton DIRECTORY property to TARGET
732 Rename amfetchumpd --directory argument to --target
733 * amandad-src/amandad.c: Add debugging statement
734 * application-src/ambsdtar.c, application-src/amgtar.c,
735 application-src/amrandom.pl, application-src/amraw.pl,
736 application-src/amsamba.pl, application-src/amstar.c,
737 application-src/amsuntar.pl,
738 * application-src/amzfs-sendrecv.pl: Accept TARGET property
739 * application-src/amzfs-snapshot.pl: Print TARGET property
740 * perl/Amanda/Application/Zfs.pm: Use TARGET property
741 * perl/Amanda/CheckDump.pm, perl/Amanda/Extract.pm,
742 perl/Amanda/FetchDump.pm, perl/Amanda/FetchDump/Application.pm,
743 perl/Amanda/FetchDump/ClientApplication.pm, perl/Amanda/Restore.pm,
744 perl/Amanda/Service/Restore.pm: s/directory/target/
745 * server-src/amfetchdump.pl: --target argument
746 * man/xml-source/amfetchdump.8.xml: Document --target argument
747
748 2017-09-06 Jean-Louis Martineau <JMartineau@carbonite.com>
749 * perl/Amanda/Restore.pm:i Fix Parsing properties
750
751 2017-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
752 * common-src/amutil.c: Add comment
753 * common-src/local-security.c: Check result of setregid and setreuid
754
755 2017-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
756 Patch by Chapman Flack
757 * common-src/local-security.c: Check the hostname is local
758 * man/xml-source/amanda-auth.7.xml: Document what a localhost is
759 * COPYRIGHT.BSD: New copytight file
760 * AUTHORS: Add Chapman Flack
761
762 2017-08-24 Jean-Louis Martineau <JMartineau@carbonite.com>
763 * application-src/ampgsql.pl:Add --icremental, --remove-full-wal and
764 --remove-incremental-wal properties
765 * man/xml-source/ampgsql.8.xml: Document new properties
766
767 2017-08-22 Jean-Louis Martineau <JMartineau@carbonite.com>
768 * perl/Amanda/Status.pm: Check only VERSION_MAJOR and VESION_MINOR for
769 error code 1800002
770
771 2017-08-22 Jean-Louis Martineau <JMartineau@carbonite.com>
772 * config/amanda/version.m4: Correctly set VERSION_COMMENT
773 * perl/Amanda/Constants.pm.in.src: Set VERSION_MAJOR, VERSION_MINOR,
774 VERSION_PATCH and VERSION_COMMENT
775
776 2017-08-22 Jean-Louis Martineau <JMartineau@carbonite.com>
777 * application-src/ampgsql.pl: Add exclude-list and exclude-file to
778 backup operation
779
780 2017-08-22 Jean-Louis Martineau <JMartineau@carbonite.com>
781 * application-src/ampgsql.pl: exclude postmaster.pid, postmaster.opts
782 and pg_replslot/*
783
784 2017-08-21 Jean-Louis Martineau <JMartineau@carbonite.com>
785 * perl/Amanda/Status.pm: s/vaulting/writing/
786
787 2017-08-21 Jean-Louis Martineau <JMartineau@carbonite.com>
788 * perl/Amanda/Chunker/Controller.pm (msg_ABORT): Set mesg from param
789
790 2017-08-21 Jean-Louis Martineau <JMartineau@carbonite.com>
791 * perl/Amanda/Status.pm: Add error 36, 37 and 38
792
793 2017-08-16 Jean-Louis Martineau <JMartineau@carbonite.com>
794 * server-src/amflush.pl: Use the date specified by the user
795
796 2017-08-16 Jean-Louis Martineau <JMartineau@carbonite.com>
797 * amar-src/amar.c: Fix race with stop/start_read when record are
798 already read
799
800 2017-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
801 * common-src/amutil.c, common-src/security-util.c: Fix getservbyport_r
802 with 4 arguments
803
804 2017-08-04 Jean-Louis Martineau <JMartineau@carbonite.com>
805 * common-src/amutil.c: Call correct variant of getservbyport_r
806 * common-src/krb5-security.c: Call correct variant of getservbyname_r
807 * common-src/security-util.c: Call correct variant of getservbyname_r
808 * common-src/ambind.c: include netinet/in.h
809 * config/amanda/syshacks.m4: Do not set GETSERVBYNAME_R5 and
810 GETSERVBYPORT_R5
811 * config/amanda/amanda_configure.m4: use ax_func_which_getservbyname_r
812 * config/macro-archive/ax_func_which_getservbyname_r.m4: New macro to
813 detect getservbyname_r variant
814
815 2017-08-03 Jean-Louis Martineau <JMartineau@carbonite.com>
816 * device-src/s3.c: Fix compilation
817
818 2017-08-03 Jean-Louis Martineau <JMartineau@carbonite.com>
819 * device-src/s3.c: Print html error even on curl error
820
821 2017-08-03 Jean-Louis Martineau <JMartineau@carbonite.com>
822 * device-src/s3-device.c: Check for S3_ERROR_NotFound
823
824 2017-07-31 Jean-Louis Martineau <JMartineau@carbonite.com>
825 * common-src/amssl.pl: Chomp openssl result
826
827 2017-07-28 Jean-Louis Martineau <JMartineau@carbonite.com>
828 * server-src/driver.c: Fix test
829
830 2017-07-19 Jean-Louis Martineau <JMartineau@carbonite.com>
831 * perl/Amanda/Amdump.pm: Read stdout of suprocess and log them as
832 L_INFO
833 * server-src/amreport.pl: When in script mode, print error to stdout
834 * installcheck/amreport.pl: Fix test
835
836 2017-07-19 Jean-Louis Martineau <JMartineau@carbonite.com>
837 * device-src/s3-device.c: Use S3_name
838 * device-src/s3.c (S3_name, S3_bucket_name): Define
839 * device-src/s3.h (S3_name, S3_bucket_name): Add prototype
840
841 2017-07-17 Jean-Louis Martineau <JMartineau@carbonite.com>
842 * perl/Amanda/Config/FoldingHash.pm: Fix use of Tie::StdHash
843
844 2017-07-17 Jean-Louis Martineau <JMartineau@carbonite.com>
845 * perl/Amanda/Status.pm: Fix aborted, set storage stats to
846 TERMINATED_*
847
848 2017-06-16 Jean-Louis Martineau <JMartineau@carbonite.com>
849 * installcheck/success-dumper-chunker+2taper-flush.pl,
850 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
851 * installcheck/success-dumper-chunker+taper-flush.pl: Set reserve = 0
852
853 2017-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
854 * perl/Amanda/Status.pm: Set 'aborted'. Always set TERMINATED* on
855 dead_run
856 * installcheck/Amanda_Rest_Runs.pl: Fix
857
858 2017-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
859 * server-src/driver.c (start_degraded_mode): Go in degraded mode if
860 there is no storage
861
862 2017-06-14 Jean-Louis Martineau <JMartineau@carbonite.com>
863 * server-src/driver.c: dp_degraded_modemust be TRUE if nb_storage == 0
864
865 2017-06-14 Jean-Louis Martineau <JMartineau@carbonite.com>
866 * installcheck/Installcheck/Rest.pm: We need WWW::Curl::Easy version
867 4.14 or newer
868
869 2017-06-13 Jean-Louis Martineau <JMartineau@carbonite.com>
870 * device-src/s3.c: Fix for x-amz-server-side-encryption
871
872 2017-06-13 Jean-Louis Martineau <JMartineau@carbonite.com>
873 * installcheck/ambsdtar.pl, installcheck/amgtar.pl.
874 installcheck/amstar.pl: Fix for !SINGLE_USERID
875
876 2017-06-09 Jean-Louis Martineau <JMartineau@carbonite.com>
877 * device-src/s3-device.h (_S3Device): last_byte_read,
878 next_block_to_read, next_byte_to_read must be gint64
879
880 2017-06-08 Jean-Louis Martineau <JMartineau@carbonite.com>
881 * common-src/ammessage.c (3600096): Print the security_file
882 * common-src/security-file.c (security_file_check_path): Add the
883 security_file to the message
884 * installcheck/ambsdtar.pl, installcheck/amgtar.pl,
885 installcheck/amstar.pl: Test it
886
887 2017-06-07 Jean-Louis Martineau <JMartineau@carbonite.com>
888 * server-src/planner.c: Fix planner looping
889
890 2017-06-06 Jean-Louis Martineau <JMartineau@carbonite.com>
891 * NEWS, ReleaseNotes: 3.4.5
892
893 2017-06-06 Jean-Louis Martineau <JMartineau@carbonite.com>
894 * config/amanda/amanda_configure.m4: Call AMANDA_CHECK_LIBDL
895 * config/amanda/libs.m4 (AMANDA_CHECK_LIBDL): Check if libdl exists
896 * device-src/Makefile.am: Use $LIBDL}
897
898 2017-06-06 Jean-Louis Martineau <JMartineau@carbonite.com>
899 * common-src/conffile.c (read_block): Reset current_line_num after
900 processing config_overrides
901
902 2017-06-05 Jean-Louis Martineau <JMartineau@carbonite.com>
903 * recover-src/extract_list.c: Fix memory leak
904
905 2017-06-05 Jean-Louis Martineau <JMartineau@carbonite.com>
906 * device-src/xfer-dest-taper-splitter.c: Fix taper hang
907
908 2017-05-19 Jean-Louis Martineau <JMartineau@carbonite.com>
909 * perl/Amanda/Vault.pm: Set $size to -1 if it is 0. 0 means nothing,
910 -1, means everything
911
912 2017-05-18 Jean-Louis Martineau <JMartineau@carbonite.com>
913 * device-src/s3-device.c:use_s3_multi_delete default to 1 for SWIFT-3
914 * device-src/s3.c (s3_multi_delete): Handle S3_API_SWIFT_3
915
916 2017-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
917 * perl/Amanda/Chunker/Controller.pm: Send SHM_NAME or PORT only if we
918 have a header_port
919 * perl/Amanda/Report.pm: Chunker without dumper is a failure
920 * perl/Amanda/Report/human.pm: Chunker without dumper is a FAILED
921 * server-src/driver.c: Call dumper_chunker_result if chunker failand
922 dumper not yet started
923 * server-src/driverio.h (struct dumper_s): Add sent_command
924 * xfer-src/element-glue.c (do_directtcp_listen): Correctly print error
925 from resolve_hostname()
926
927 2017-05-15 Jean-Louis Martineau <JMartineau@carbonite.com>
928 * common-src/amjson.c (amjson_s, parse_json_primitive,
929 json_parse_string): Move declaration to amjson.h
930 * common-src/amjson.h: Add declaration
931 * common-src/ammessage.c: Use amjson type and functions
932
933 2017-05-12 Jean-Louis Martineau <JMartineau@carbonite.com>
934 * client-src/senddiscover.c: s/read/read/fully/
935
936 2017-05-09 Jean-Louis Martineau <JMartineau@carbonite.com>
937 * device-src/s3.c: Parse HTML error from SWIFT_3
938 * device-src/s3.h: Add NotFound error
939
940 2017-05-08 Jean-Louis Martineau <JMartineau@carbonite.com>
941 * common-src/amjson.c, common-src/security-util.c,
942 recover-src/extract_list.c: Fix bug found by coverity
943
944 2017-05-08 Jean-Louis Martineau <JMartineau@carbonite.com>
945 * server-src/driver.c (tape_action): Use a new tape if it lost less
946 tape space
947 * installcheck/tape_action.pl: Add tests
948
949 2017-05-08 Jean-Louis Martineau <JMartineau@carbonite.com>
950 * server-src/driver.c (wait_children): Use smaller sleep time
951
952 2017-05-05 Jean-Louis Martineau <JMartineau@carbonite.com>
953 * client-src/runtar.c: Accept --verbose argument
954
955 2017-05-04 Jean-Louis Martineau <JMartineau@carbonite.com>
956 * ReleaseNotes, NEWS: Typo
957
958 2017-05-04 Jean-Louis Martineau <JMartineau@carbonite.com>
959 * common-src/security-util.c: Fix for compiler warning
960
961 2017-05-03 Jean-Louis Martineau <JMartineau@carbonite.com>
962 * NEWS, ReleaseNotes: 3.4.4
963
964 2017-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
965 * common-src/match.c (make_template): Fix
966 * installcheck/Amanda_Util.pl: Check fix
967
968 2017-04-26 Jean-Louis Martineau <JMartineau@carbonite.com>
969 * common-src/amservice.c (handle_result): Call
970 security_close_connection
971 * common-src/security-util.c (sec_tcp_conn_put): Kill the subprocess
972 * common-src/security-util.h (sec_tcp_conn_put): Remove prototype
973 * server-src/amcheck.c (handle_result): Call security_close_connection
974
975 2017-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
976 * device-src/s3.c: Get a new curl handle after a 503 error. To force
977 closing the connection and opening a new one
978
979 2017-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
980 * common-src/Makefile.am (INSTALLPERMS_exec): Add ambind, remove
981 amservice
982 * server-src/Makefile.am (INSTALLPERMS_exec): Remove amcheck, dumper
983 and planner
984
985 2017-04-20 Jean-Louis Martineau <JMartineau@carbonite.com>
986 * NEWS: S3 device: openstack keystone v3 support
987 * device-src/s3-device.c: PROJECT-NAME and DOMAIN-NAME device
988 properties
989 * device-src/s3-device.h (struct _S3Device): Add project_name and
990 domain_name fields
991 * device-src/s3.c: Get token from keystone v3
992 * device-src/s3.h (s3_open): Change prototype.
993 * man/xml-source/amanda-devices.7.xml: Document new device properties
994
995 2017-04-20 Jean-Louis Martineau <JMartineau@carbonite.com>
996 * common-src/amjson.c: Remove debugging statement
997
998 2017-04-14 Jean-Louis Martineau <JMartineau@carbonite.com>
999 * common-src/amjson.c: New generic json parser
1000 * common-src/amjson.h: Add json parser prototypes
1001 * common-src/Makefile.am (libamanda_la_SOURCES): Add amjson.c
1002 * common-src/Makefile.am (noinst_HEADERS): Add amjson.h
1003 * device-src/s3.c (get_openstack_swift_api_v2_setting):Send json
1004 requestand parse json result
1005
1006 2017-04-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1007 Patch by Nathan Stratton Treadway
1008 * perl/Amanda/Interactivity/email.pm: Improve Interactivity
1009
1010 2017-04-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1011 Patch by Nathan Stratton Treadway
1012 * perl/Amanda/Interactivity/tty_email.pm: Fix NAME description
1013
1014 2017-04-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1015 Patch by Nathan Stratton Treadway
1016 * man/xml-source/amadmin.8.xml: Add config command
1017 * man/xml-source/amanda.conf.5.xml (seealso): Add ref to amadmin
1018 * man/xml-source/amgetconf.8.xml (seealso): Add ref to amadmin
1019
1020 2017-03-31 Jean-Louis Martineau <JMartineau@carbonite.com>
1021 * device-src/ndmp-device.c (write_from_connection_impl,
1022 read_to_connection_impl): Do not overflow length
1023
1024 2017-03-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1025 * perl/Amanda/Label.pm: Check if label match labelstr
1026 * installcheck/amlabel.pl: Fix
1027
1028 2017-03-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1029 * perl/Amanda/Tapelist.swg: Fix not adding label to tapleist file when
1030 creating it
1031
1032 2017-03-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1033 * common-src/file.c: Fix crash if read return -1
1034
1035 2017-03-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1036 * VERSION: 3.5
1037
1038 2017-03-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1039 * installcheck/amgetconf.pl: Fix for visible/hidden
1040 * perl/Amanda/Service/Amidxtaped.pm: Wait to load the config before
1041 doing some setting
1042 * server-src/logfile.c: Abort on ENOENT error
1043
1044 2017-03-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1045 * perl/Amanda/Curinfo/Info.pm: Fix writting the stats line
1046
1047 2017-03-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1048 * common-src/conffile.c: Correctly initialize the visible property
1049 field
1050 * installcheck/Amanda_Config.pl: Check visible field
1051
1052 2017-03-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1053 * common-src/conffile.c: Parse hidden|visible on dumptype property
1054 * common-src/conffile.h (property_t) : Add visible field
1055 * man/xml-source/amanda.conf.5.xml: Document the new hidden|visible
1056 keyword
1057 * perl/Amanda/Config.swg: Add the visible field
1058 * perl/amglue/ghashtable.c: Add the visible field
1059 * server-src/diskfile.c: Do not add hidden dumptype property to the
1060 xml string
1061
1062 2017-03-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1063 * server-src/ambackupd.pl: Do incremental backup
1064
1065 2017-03-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1066 * perl/Amanda/Cleanup.pm: Improvement
1067
1068 2017-03-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1069 * recover-src/extract_list.c: Check result of fcntl
1070
1071 2017-03-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1072 * common-src/bsd-security.c: Add bsd_stream_pause and bsd_stream_resume
1073 * common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
1074 common-src/krb5-security.c, common-src/local-security.c,
1075 common-src/rsh-security.c, common-src/ssh-security.c,
1076 common-src/ssl-security.c: Add tcpm_stream_pause and
1077 tcpm_stream_resume to declaration
1078 * common-src/security-util.c (tcpm_stream_pause, tcpm_stream_resume):
1079 Add function
1080 * common-src/security-util.h (tcpm_stream_pause, tcpm_stream_resume):
1081 Add prototype
1082 * common-src/security.h (security_stream_pause,
1083 security_stream_resume): Add macro
1084 * recover-src/extract_list.c (read_amidxtaped_data): Call
1085 security_stream_pause if can't write to the pipe, add a EV_WRITEFD
1086 to call write_data_to_app
1087 * recover-src/extract_list.c (write_data_to_app): New function that
1088 write data to the pipe if allowed, call security_stream_resume
1089 when the block is completely written
1090
1091 2017-03-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1092 * packaging/rpm/amanda.spec.src: Fix (add fi)
1093
1094 2017-03-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1095 * packaging/rpm/amanda.spec.src:Add CentOs 6 and RedHat 7
1096
1097 2017-03-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1098 * server-src/ambackupd.pl: Remove bogus check
1099
1100 2017-03-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1101 * perl/Amanda/CheckDump.pm (local_message): Add message 2700008,
1102 2700009, 2700010, 2700018, 2700019 and 2700020
1103 * perl/Amanda/CheckDump.pm (new): Set message_filename and
1104 message_pathname
1105 * perl/Amanda/CheckDump.pm (run): Print message 2700006, 2700007,
1106 2700008, 2700009 and 2700010
1107 * perl/Amanda/FetchDump.pm (new): Set message_filename and
1108 message_pathname
1109 * perl/Amanda/Rest/Runs.pm (checkump): Use message_filename
1110 * perl/Amanda/Restore.pm: Count image_restored and image_failed
1111 * perl/Amanda/Service/Amidxtaped.pm (new): Set message_filename and
1112 message_pathname
1113 * server-src/amcheckdump.pl: Do not printmessage 2700006 and 2700007
1114
1115 2017-03-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1116 * perl/Amanda/Chunker/Controller.pm (msg_PORT_WRITE): Call dump_db
1117 instead of cance_dump on failure
1118 * perl/Amanda/Chunker/Scribe.pm: Do not call dump_cb if it is not
1119 defined
1120
1121 2017-03-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1122 * server-src/amdumpd.pl: Do not check if amanda is busy
1123
1124 2017-03-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1125 * config/automake/scripts.am: Check libConfig.so instead of
1126 libCmdline.so because it is always compiled
1127 * installcheck/Amanda_Xfer.pl: Load a config if without server
1128
1129 2017-03-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1130 * config/amanda/net.m4: Define LOW_TCPPORTRANGE_MIN,
1131 LOW_TCPPORTRANGE_MAX, TCPPORTRANGE_MIN, TCPPORTRANGE_MAX,
1132 UDPPORTRANGE_MIN and UDPPORTRANGE_MAX
1133 * common-src/security-file.c: Use configured portrange is not set in
1134 the security-file
1135
1136 2017-03-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1137 * perl/Makefile.am, rest-server/Makefile.am, server-src/Makefile.am:
1138 fix 'make dist' when compiled with --wothout-server or
1139 --without-client
1140
1141 2017-03-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1142 * installcheck/amstar.pl: Check first line of errors
1143
1144 2017-03-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1145 * perl/Amanda/Service/Restore.pm: Remove unused code
1146
1147 2017-03-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1148 * device-src/diskflat-device.c (diskflat_clear_and_prepare_label):
1149 result of ftruncate
1150
1151 2017-03-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1152 * application-src/ambsdtar.c: Typo
1153 * application-src/amstar.c (amstar_restore, amstar_validate): filter
1154 stdout and stderr
1155
1156 2017-03-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1157 * device-src/diskflat-device.c (diskflat_clear_and_prepare_label):
1158 ftruncate the file
1159
1160 2017-03-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1161 * perl/Amanda/CheckDump.pm (run): Set all_copy=1 to restore()
1162 * perl/Amanda/Restore.pm (restore): Pass all_copy to make_plan()
1163
1164 2017-03-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1165 * perl/Amanda/Recovery/Clerk.pm: Typo
1166 * perl/make_html.pl: Fix man pages
1167
1168 2017-03-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1169 * NEWS, ReleaseNotes: 3.4.3
1170
1171 2017-02-28 Jean-Louis Martineau <JMartineau@carbonite.com>
1172 * perl/Amanda/Tapelist.swg (remove_tapelabel): Call C_remove_tapelabel
1173 * server-src/tapefile.c (add_tapelabel): Verify the label is not
1174 already in the tapelist
1175 * installcheck/Amanda_Tapelist.pl: Fix/add check
1176
1177 2017-02-27 Jean-Louis Martineau <JMartineau@carbonite.com>
1178 * server-src/tapefile.c (tape_overwrite, nb_tape_in_storage): Take
1179 storage as argument, Check NULL storage name and labelstr
1180 * server-src/tapefile.h (tape_overwrite, nb_tape_in_storage): New
1181 prototypes
1182 * server-src/planner.c (when_overwrite): Pass the storage argument
1183 to tape_overwrite and nb_tape_in_storage
1184
1185 2017-02-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1186 * common-src/amutil.c, common-src/security-file.c,
1187 common-src/stream.c: Fix bug found by coverity
1188
1189 2017-02-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1190 * device-src/ndmp-device.c (read_to_connection_impl):Correctlycompute
1191 the offset
1192
1193 2017-02-23 Jean-Louis Martineau <JMartineau@carbonite.com>
1194 * server-src/amcleanupdisk.pl: Fix renaming tmp holding file
1195
1196 2017-02-22 Jean-Louis Martineau <JMartineau@carbonite.com>
1197 Patch by Charles Curley
1198 * common-src/ammessage.c: Fix message
1199 * man/xml-source/amanda.8.xml: Fix documentation
1200
1201 2017-02-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1202 * server-src/tapefile.c (nb_tape_in_storage): Fix for older glib2
1203
1204 2017-02-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1205 * common-src/ambind.c: Print 'WARNING:' prefix if we should retry on
1206 a different port
1207 * common-src/amutil.c: Parse 'WARNING:' prefix
1208 * common-src/stream.c, common-src/dgram.c: Handle retry
1209 * common-src/security-file.c (security_allow_bind): Check the port
1210 have no name
1211
1212 2017-02-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1213 * server-src/tapefile.c (nb_tape_in_storage): Use g_strcmp0
1214
1215 2017-02-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1216 * server-src/amtape.pl: Add a drive argument to 'amtape slot'
1217 * perl/Amanda/Changer/robot.pm (load_unlocked): Use the drive argument
1218 * man/xml-source/amtape.8.xml: Document it
1219 * NEWS: Document it
1220
1221 2017-02-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1222 * common-src/security-file.c: Parse tcp_port_range and udp_port_range
1223 * common-src/security-file.c (security_allow_bind): New function to
1224 verify if the port is in tcp_port_range and udp_port_range
1225 * common-src/security-file.h (security_allow_bind): Add prototype
1226 * common-src/make_security_file.c: Add tcp_port_range and
1227 udp_port_range in the default amanda-security.conf file
1228 * common-src/dgram.c (dgram_bind): Add bind_msg argument
1229 * common-src/dgram.h (dgram_bind): New prototype
1230 * common-src/stream.c (stream_client_addr, stream_client_privileged,
1231 stream_client): Add stream_msg argument
1232 * common-src/stream.h (stream_client_addr, stream_client_privileged,
1233 stream_client): New prototype
1234 * common-src/amutil.c (connect_portrange): Add stream_msg argument
1235 * common-src/amutil.c (bind_portrange): Add bind_msg argument
1236 * common-src/amutil.c (ambind): Parse stderr of ambind
1237 * common-src/amutil.h (connect_portrange): New prototype
1238 * common-src/amutil.h (bind_portrange): New prototype
1239 * common-src/ambind.c: Call security_allow_bind, print error on stderr
1240 * client-src/sendbackup.c, common-src/bsd-security.c,
1241 common-src/bsdtcp-security.c, common-src/bsdudp-security.c,
1242 common-src/krb5-security.c, common-src/security-util.c,
1243 common-src/ssl-security.c, oldrecover-src/amrecover.c,
1244 oldrecover-src/extract_list.c, server-src/dumper.c,
1245 xfer-src/element-glue.c: Use new API
1246 * man/xml-source/amanda-security.conf.5.xml: Document tcp_port_range
1247 and udp_port_range
1248 * NEWS: Document it
1249
1250 2017-02-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1251 * common-src/local-security.c: Fix setregid call
1252
1253 2017-02-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1254 * perl/Amanda/Changer/diskflat.pm: Add info_setup
1255
1256 2017-02-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1257 * server-src/diskfile.c: Fix for older glib2
1258
1259 2017-02-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1260 * device-src/s3-device.c (catalog_open): Typo
1261
1262 2017-02-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1263 * common-src/shm-ring.c (shm_ring_sem_wait): Remove duplicated code
1264 * client-src/sendbackup.c: Close file descriptor
1265 * common-src/file.c: Fix memory leak
1266 * common-src/protocol.c: Fix memory leak
1267 * server-src/amtrmidx.c: Fix memory leak
1268 * server-src/amtrmlog.c: Fix memory leak
1269 * server-src/diskfile.c: Fix memory leak
1270
1271 2017-02-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1272 * server-src/amadmin.c (tape): Do not free the list_new_tapes result
1273
1274 2017-02-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1275 * device-src/tape-device.c (tape_device_eject): Close the device if we
1276 open it
1277
1278 2017-02-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1279 * perl/Amanda/ScanInventory.pm: Make sure restart_scan is not run
1280 twice in parallel
1281
1282 2017-02-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1283 * common-src/conffile.c, server-src/find.c,
1284 server-src/tapefile.c: Fix memory leak.
1285
1286 2017-02-10 Jean-Louis Martineau <JMartineau@carbonite.com>
1287 * common-src/shm-ring.c: NetBSD limit to 14 characters the shm name
1288
1289 2017-02-07 Jean-Louis Martineau <JMartineau@carbonite.com>
1290 Allow compilation with libressl
1291 * config/amanda/amanda_configure.m4: Change order
1292 * device-src/Makefile.am (libamdevice_la_LDFLAGS): Add -ldl
1293 * common-src/glib-util.c, device-src/s3-util.c, device-src/s3.c:
1294 check for LIBRESSL_VERSION_NUMBER
1295
1296 2017-02-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1297 * installcheck/failure-server-custom-compress-no-exec.pl: Call
1298 check_amreport with skip_size
1299
1300 2017-02-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1301 * client-src/calcsize.c: amflock(2,"size");
1302 * client-src/sendsize.c: Add amflock(1,"size");
1303
1304 2017-02-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1305 * config/amanda/syshacks.m4: Set BROKEN_SENDMSG on *-apple-darwin*
1306 * common-src/amutil.c: Do not use ambinf if BROKEN_SENDMSG
1307
1308 2017-02-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1309 * config/amanda/amanda_configure.m4: Detect if we have getservbyport_r
1310 * common-src/amutil.c: use getservbyport if getservbyport_r is not
1311 available
1312 * common-src/protocol.c: Use tread if HAVE_GETSERVBYNAME_R and
1313 HAVE_GETSERVBYPORT_R
1314
1315 2017-02-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1316 * application-src/ambsdtar.c: 'copyfile unpack (./.) failed' is normal
1317 on restore
1318
1319 2017-02-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1320 * common-src/amutil.c (get_sse42): Add default function
1321
1322 2017-01-31 Jean-Louis Martineau <JMartineau@carbonite.com>
1323 * NEWS, ReleaseNotes: 3.4.2
1324
1325 2017-01-30 Jean-Louis Martineau <JMartineau@carbonite.com>
1326 Patch by Jason L Tibbitts III
1327 * server-src/amcheck.c: Remove spurious printf
1328
1329 2017-01-30 Jean-Louis Martineau <JMartineau@carbonite.com>
1330 * common-src/krb5-security.c (krb5_accept): Check result of setreuid
1331
1332 2017-01-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1333 * application-src/ambsdtar.c: Add a SPARSE property, default to YES
1334 * man/xml-source/ambsdtar.8.xml: Document it.
1335
1336 2017-01-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1337 * perl/Amanda/Report/human.pm: Fix output
1338
1339 2017-01-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1340 * perl/Amanda/Script_App.pm: Use config_init_with_global
1341
1342 2017-01-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1343 * common-src/amgetconf.pl: Add build.amperldir
1344 * perl/Amanda/Paths.pm.in: Export $amperldir
1345
1346 2017-01-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1347 * common-src/ammessage.c: Add storage to message
1348 * server-src/amtape.pl: Use storage AUTOLABEL
1349 * server-src/amcheck-device.pl: Use storage AUTOLABEL
1350 * server-src/amcheck.c: Use storage RUNTAPES and policy
1351 retention-tapes
1352 * server-src/driverio.c: Use storage tapetype
1353
1354 2017-01-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1355 * packaging/deb/amanda-backup-client.dirs,
1356 packaging/deb/amanda-backup-client.install,
1357 packaging/deb/amanda-backup-server.install:
1358 s#usr/libexec/amanda#usr/lib/x86_64-linux-gnu/amanda#
1359 * packaging/deb/rules:
1360 Set LIBDIR to $(PREFIX)/lib/$(triplet) on x86_64-linux-gnu
1361 Set LIBEXECDIR to $(LIBDIR)
1362
1363 2017-01-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1364 * device-src/s3.c: Fix for '/' in prefix, fix for port in S3-HOST
1365
1366 2017-01-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1367 * server-src/dumper.c (startup_dump): Fix reversed test
1368
1369 2017-01-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1370 Patch by Jason L Tibbitts <tibbs@math.uh.edu>
1371 * server-src/diskfile.c (optionstr): Make sure options string
1372 begins with a semicolon
1373
1374 2017-01-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1375 * installcheck/failure-server-custom-compress-not-found.pl: Call
1376 check_amreport with skip_size
1377
1378 2017-01-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1379 * common-src/bsdtcp-security.c (bsdtcp_accept): Send early error
1380 message to the socket
1381
1382 2017-01-12 Jean-Louis Martineau <JMartineau@carbonite.com>
1383 * server-src/driverio.h (sched_t): remove nb_flush
1384 * server-src/driver.c (read_flush): Add a different sched_t for each
1385 storage
1386 * installcheck/success-dumper-chunker+2taper-flush.pl: fix
1387
1388 2017-01-12 Jean-Louis Martineau <JMartineau@carbonite.com>
1389 * common-src/conffile.c: Parse 'active-storage' setting
1390 * common-src/conffile.h: Add CNF_ACTIVE_STORAGE
1391 * server-src/driver.c: Use active-storage
1392 * man/xml-source/amanda.conf.5.xml: Document active-storage
1393 * installcheck/Installcheck/Run.pm (is_sort_array): new function
1394 * installcheck/Makefile.am: Add success-dumper-chunker+2taper-flush
1395 * installcheck/success-dumper-chunker+2taper-flush.pl: New file
1396
1397 2017-01-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1398 * application-src/amsamba.pl: Set LC_CTYPE to en_US.UTF-8 before
1399 executing smbclient
1400
1401 2017-01-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1402 By Jose M Calhariz and Jon LaBadie
1403 * man/xml-source/amanda-auth.7.xml
1404 * man/xml-source/amanda-changers.7.xml
1405 * file man/xml-source/amanda-devices.7.xml: Documentation fix
1406
1407 2017-01-08 Jean-Louis Martineau <JMartineau@carbonite.com>
1408 * client-src/sendbackup.c (start_index): Remove unused ptr and
1409 bytes_written variables
1410
1411 2017-01-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1412 * man/xml-source/amanda.conf.5.xml: Add a to force a space
1413
1414 2017-01-05 Jean-Louis Martineau <JMartineau@carbonite.com>
1415 Patch by Eric Schnoebelen <eric@cirr.com>
1416 * config/amanda/defaults.m4: Install amanda-security.conf in
1417 $sysconfdir
1418
1419 2017-01-05 Jean-Louis Martineau <JMartineau@carbonite.com>
1420 * perl/Amanda/Paths.pm.in: export SECURITY_FILE and AMANDATES_FILE
1421 * common-src/amgetconf.pl: Add build.amdatadir, build.security_file
1422 and build.amandates_file
1423 * installcheck/amgetconf.pl: Test them
1424
1425 2017-01-05 Jean-Louis Martineau <JMartineau@carbonite.com>
1426 * installcheck/failure-server-encrypt-end.pl,
1427 installcheck/failure-server-encrypt-no-exec.pl.
1428 installcheck/failure-server-encrypt-not-found.pl: Call
1429 check_amreport with skip_size
1430
1431 2017-01-04 Jean-Louis Martineau <JMartineau@carbonite.com>
1432 * installcheck/failure-server-encrypt.pl: Call check_amreport with
1433 skip_size
1434
1435 2017-01-04 Jean-Louis Martineau <JMartineau@carbonite.com>
1436 * config/amanda/flags.m4: Detect clang compiler
1437 * common-src/ammessage.c: Fix warning found by clang compiler
1438 * common-src/amutil.c: Fix warning found by clang compiler
1439 * common-src/conffile.c: Fix warning found by clang compiler
1440 * common-src/crc32-test.c: Fix warning found by clang compiler
1441 * common-src/security-util.c: Fix warning found by clang compiler
1442 * device-src/ndmp-device.c: Fix warning found by clang compiler
1443
1444 2017-01-04 Jean-Louis Martineau <JMartineau@carbonite.com>
1445 * common-src/Makefile.am: crc32-test.o: AM_CFLAGS += $(SSE42_CFLAGS)
1446 * common-src/amcrc32chw.c: Use __SSE4_2__, set compiled_with_sse4_2
1447 * common-src/amcrc32chw.h: Declare compiled_with_sse4_2
1448 * common-src/amutil.c: Use __SSE4_2__, check compiled_with_sse4_2
1449 * common-src/crc32-test.c: Use __SSE4_2__
1450
1451 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1452 * perl/Amanda/Changer/robot.pm: Add 'use Carp;' in
1453 Amanda::Changer::robot::Interface::MTX package
1454
1455 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1456 Initial patch by Eric Schnoebelen <eric@cirr.com>
1457 * common-src/ammessage.c: Check bound on err_code array
1458
1459 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1460 Patch by Eric Schnoebelen <eric@cirr.com>
1461 * common-src/security-file.c: use of autoconf defined feature macro
1462 instead of hardcoded path
1463
1464 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1465 Patch by Eric Schnoebelen <eric@cirr.com>
1466 * config/macro-archive/xsltproc.m4: Fix shell portability problem
1467
1468 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1469 Patch by Eric Schnoebelen <eric@cirr.com>
1470 * config/amanda/libs.m4: bash-ism's in the autoconf macros. autoconf
1471 should be written in POSIX sh
1472
1473 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1474 Patch by Eric Schnoebelen <eric@cirr.com>
1475 * common-src/glib-util.c: Make sure to use the feature test macro for
1476 LIBCURL before trying to use either the GNUTLS or OPENSSL feature
1477 test macros
1478
1479 2017-01-03 Jean-Louis Martineau <JMartineau@carbonite.com>
1480 * common-src/conffile.c: Print warning if autolabel is set to the
1481 "MATCH-AUTOLABEL" string
1482
1483 2016-12-30 Jean-Louis Martineau <JMartineau@carbonite.com>
1484 * server-src/amcheck-device.pl: Fix printing error
1485
1486 2016-12-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1487 * perl/Amanda/Paths.pm.in: Add $libdir
1488 * common-src/amgetconf.pl: Add build.libdir and build.amlibdir
1489
1490 2016-12-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1491 * perl/Amanda/Label.pm: Fix for force (-f in amlabel)
1492
1493 2016-12-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1494 * server-src/amtoc.pl: Fix for new log file format
1495
1496 2016-12-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1497 * perl/Amanda/Report.pm: Fix exit_status for some error
1498
1499 2016-12-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1500 * perl/Amanda/Debug.swg (_my_warn): Fix for array argument
1501
1502 2016-12-05 Jean-Louis Martineau <JMartineau@carbonite.com>
1503 * server-src/tapefile.c (lookup_last_reusable_tape): correctly check
1504 pool and label
1505
1506 2016-12-05 Jean-Louis Martineau <JMartineau@carbonite.com>
1507 * common-src/make_security_file.c: Fix comment in amanda-security.conf
1508
1509 2016-12-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1510 * server-src/planner.c (when_overwrite): Use default storage if the
1511 tle have no storage
1512
1513 2016-12-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1514 * common-src/amutil.c: typo
1515
1516 2016-12-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1517 * config/amanda/syshacks.m4: Define GETSERVBYPORT_R5 on solaris2
1518 * common-src/amutil.c: Use solaris 5 arguments for getservbyport_r
1519
1520 2016-11-29 Jean-Louis Martineau <JMartineau@carbonite.com>
1521 * installcheck/Installcheck/Run.pm (check_amreport): skip_size default
1522 to 1
1523 * installcheck/failure-client-custom-compress-end.pl,
1524 installcheck/failure-client-custom-compress-no-exec.pl,
1525 installcheck/failure-client-custom-compress-not-found.pl,
1526 installcheck/failure-client-custom-compress.pl,
1527 installcheck/failure-client-encrypt-end.pl,
1528 installcheck/failure-client-encrypt-no-exec.pl,
1529 installcheck/failure-client-encrypt-not-found.pl,
1530 installcheck/failure-client-encrypt.pl,
1531 installcheck/failure-server-custom-compress-end.pl,
1532 installcheck/failure-server-encrypt-end.pl:
1533 Remove 'sendbackup: size' lines
1534
1535 2016-11-29 Jean-Louis Martineau <JMartineau@carbonite.com>
1536 * perl/Amanda/Changer.pm (show): Print if the label do not match
1537 the labelstr
1538 * perl/Amanda/Rest/Storages.pm: Set label_match
1539 * server-src/amtape.pl (inventory): Print if the label do not match
1540 the labelstr
1541 * installcheck/Amanda_Rest_Storages.pl, installcheck/amtape.pl: Fix
1542
1543 2016-11-28 Jean-Louis Martineau <JMartineau@carbonite.com>
1544 * common-src/amutil.c: Workaround if SOCK_NONBLOCK is not defined
1545
1546 2016-11-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1547 * common-src/amxml.c, device-src/vfs-device.c,
1548 perl/Amanda/Config.swg: Fix warning found by clang
1549
1550 2016-11-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1551 * installcheck/Amanda_Changer_aggregate.pl: Set the aggregate
1552 state-filename property
1553
1554 2016-11-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1555 * installcheck/Amanda_Rest_Storages.pl: Set the aggregate state_filename
1556
1557 2016-11-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1558 * installcheck/Amanda_Rest_Storages.pl: Typo
1559
1560 2016-11-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1561 * perl/Amanda/Changer.pm: s/NO-STORAGE/ by the config_name
1562 * perl/Amanda/Changer/aggregate.pm: Various fix
1563 * server-src/driverio.c: Add comments
1564 * installcheck/Amanda_Changer_disk.pl: Fix comment
1565 * installcheck/Amanda_Rest_Storages.pl: Test chg-aggregate
1566 * installcheck/Installcheck/Changer.pm: Improve error message
1567 * installcheck/Installcheck/Rest.pm: Start starman with the
1568 '--workers 1' argument
1569 * installcheck/Amanda_Changer_aggregate.pl: New script to test
1570 chg-aggregate
1571 * installcheck/Makefile.am (server_tests): Add
1572 Amanda_Changer_aggregate
1573
1574 2016-11-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1575 New setuid ambind binary to bind a socket to a priviledge port
1576 planner, dumper, amcheck and amservice are no longer setuid
1577 Use one thread by client for the connect call
1578
1579 * common-src/Makefile.am (amlibexec_PROGRAMS): Add ambind
1580 * common-src/amanda.h (sockaddr_union): remove typedef
1581 * common-src/sockaddr-util.h (sockaddr_union): copied from amanda.h
1582 * common-src/ambind.c: New program to bind a socket to a privilege port
1583 * common-src/ammessage.c: Add message 2800235
1584 * common-src/amservice.c: Check is not suid root
1585 * common-src/amutil.c (priv_mutex): declare
1586 * common-src/amutil.c (connect_port, connect_portrane, bind_portrange):
1587 New priv argument
1588 * common-src/amutil.c (ambind): New function to execute ambind
1589 * common-src/amutil.c (connect_port, bind_portrange): Call ambind if a
1590 privilege port is required
1591 * common-src/amutil.h (priv_mutex): declare extern
1592 * common-src/amutil.h (connect_portrange, connect_portrange): New priv
1593 argument
1594 * common-src/bsd-security.c: Do not take root privilege
1595 * common-src/bsdtcp-security.c: Do not take root privilege,
1596 take security_mutex
1597 * common-src/bsdudp-security.c: Do not take root privilege
1598 * common-src/dgram.c (dgram_bind): Add priv to argument, use new
1599 bind_portrange return socket
1600 * common-src/dgram.h (dgram_bind): Add priv to argument
1601 * common-src/glib-util.c: create priv_mutex an security_mutex
1602 * common-src/krb5-security.c Do not take root privilege,
1603 take security_mutex
1604 * common-src/local-security.c: take security_mutex
1605 * common-src/protocol.c: Call security_connect in a new thread if
1606 allowed
1607 * common-src/security-util.c: take security_mutex
1608 * common-src/security.c (security_mutex): Declare
1609 * common-src/security.h (security_mutex): Declare extern
1610 * common-src/ssh-security.c: take security_mutex
1611 * common-src/ssl-security.c: take security_mutex
1612 * common-src/stream.c (stream_server): use new bind_portrange return
1613 socket
1614 * packaging/deb/rules: Set new suid bit
1615 * packaging/rpm/amanda.spec.src: Set new suid bit
1616 * server-src/amcheck.c: Check is not suid root
1617 * server-src/dumper.c: Check is not suid root
1618 * server-src/planner.c: Check is not suid root
1619
1620 2016-11-23 Jean-Louis Martineau <JMartineau@carbonite.com>
1621 Fix race when using event_register in thread, the callback can be
1622 calback can before event_register return
1623 * */*.c : Use event_create and event_activate instead of
1624 event_register
1625
1626 2016-11-22 Jean-Louis Martineau <JMartineau@carbonite.com>
1627 * server-src/dumper.c (retimeout): New function that change the
1628 timeout_time but do create create the event
1629 * installcheck/Installcheck/Run.pm (check_amreport): Add an option to
1630 skip the 'sendbackup: size' line
1631 * installcheck/failure-server-custom-compress.pl: Call check_amreport
1632 with the skip_size bit set.
1633
1634 2016-11-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1635 * server-src/amfetchdump.pl, server-src/amreport.pl: Do not add to
1636 cfgerr_level
1637
1638 2016-11-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1639 * installcheck/Amanda_Rest_Storages.pl: Fix check
1640
1641 2016-11-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1642 * NEWS, ReleaseNotes: 3.4.1
1643
1644 2016-11-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1645 * server-src/find.c (find_dump, search_holding_disk, search_logfile):
1646 add added_todo argument
1647 * server-src/find.h (find_dump, search_holding_disk, search_logfile):
1648 add added_todo argument
1649 * server-src/amadmin.c: Call find_dump with added_todo=1
1650 * server-src/amindexd.c: Call find_dump with added_todo=1
1651 * server-src/amtrmidx.c: Call find_dump with added_todo=1
1652 * server-src/driver.c: Call search_holding_disk with added_todo=1
1653 * server-src/planner.c: Use a dp with a todo bit set
1654 * server-src/server_util.c: Use a dp with a todo bit set
1655 * server-src/tapefile.c: Call find_dump with added_todo=0
1656 * perl/Amanda/Logfile.swg (search_logfile, search_holding_disk): Add
1657 added_todo argument
1658 * perl/Amanda/DB/Catalog.pm: Call search_logfile with added_todo=1
1659 * perl/Amanda/Disklist.swg: Call search_holding_disk with added_todo=1
1660 * installcheck/Amanda_Logfile.pl: Call search_logfile with
1661 added_todo=1
1662
1663 2016-11-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1664 * application-src/amrandom.pl: Fix perl warning
1665 * device-src/amtapetype.pl: Fix perl warning
1666 * installcheck/success-dumper-chunker-2taper-by-level.pl: Fix test
1667 * perl/Amanda/Report.pm: Fix perl warning
1668 * perl/Amanda/Report/human.pm: Fix perl warning
1669 * server-src/amadmin_perl.pl: Fix perl warning
1670 * server-src/amstatus.pl: Fix perl warning
1671
1672 2016-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1673 * server-src/amstatus.pl: Fix warning, do not print useless (:)
1674 * installcheck/failure-*.pl, installcheck/success-dumper-*.pl: fix
1675
1676 2016-11-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1677 * common-src/conffile.c: Add tapedev in storage section
1678 * common-src/conffile.h: Add STORAGE_TAPEDEV
1679 * device-src/xfer-dest-taper-splitter.c: Fix to use mem_ring value
1680 * man/xml-source/amanda.conf.5.xml: Document tapedev in storage section
1681 * perl/Amanda/Changer.pm: Improve message 1150003
1682 * perl/Amanda/Config.swg: Add STORAGE_TAPEDEV
1683 * perl/Amanda/Rest/Storages.pm: Set status to 404 if create fail
1684 * perl/Amanda/Storage.pm: Use tapedev if tpchanger is not set
1685 * installcheck/Amanda_Rest_Storages.pl: Fix check
1686 * installcheck/taper.pl: Fix check
1687
1688 2016-11-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1689 * server-src/planner.c: Set dp->todo to 0 if the dle is not skipped
1690
1691 2016-11-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1692 * device-src/amtapetype.pl: Correctly check result of property_set
1693
1694 2016-11-11 Jean-Louis Martineau <JMartineau@carbonite.com>
1695 * config/amanda/components.m4 (AMANDA_WITHOUT_REST_SERVER): New
1696 --without-rest-server option
1697 * Makefile.am: Do not build rest-server if --without-rest-server
1698 * config/amanda/libs.m4: Fix typo
1699 * man/Makefile.am: Do not build amanda-rest-server.8 if
1700 --without-rest-server
1701 * perl/Makefile.am: Do not build Amanda::Rest modules if
1702 --without-rest-server
1703 * server-src/Makefile.am: Do not build amanda-rest-server if
1704 --without-rest-server
1705
1706 2016-11-11 Jean-Louis Martineau <JMartineau@carbonite.com>
1707 * device-src/s3.c: Correctly handle Region not found
1708 * device-src/s3.h: Add S3_ERROR_Region_Not_Found
1709
1710 2016-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1711 * device-src/s3.c: Verify a publicURL is found
1712
1713 2016-11-09 Jean-Louis Martineau <JMartineau@carbonite.com>
1714 * device-src/s3.c: publicURl and region can be unordered
1715
1716 2016-11-04 Jean-Louis Martineau <JMartineau@carbonite.com>
1717 * device-src/s3.c: Use the publicURL from the good region
1718
1719 2016-11-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1720 * server-src/amcheck.c: Fix
1721
1722 2016-11-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1723 * perl/Amanda/Status.pm: Set $dlet->{'wsize'} to $dlet->{'taped_size'}
1724 if it is bigger
1725 * perl/Amanda/Taper/Scribe.pm (get_bytes_written): Do not set oldsize
1726 to size if size==0
1727 * perl/Amanda/Taper/Worker.pm: Delete the statefile later
1728
1729 2016-11-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1730 * device-src/xfer-dest-taper-splitter.c: ring buffer might never be
1731 full
1732
1733 2016-10-31 Jean-Louis Martineau <JMartineau@carbonite.com>
1734 * server-src/amcheck.c: Print message 2800016 to mainfd
1735
1736 2016-10-31 Jean-Louis Martineau <JMartineau@carbonite.com>
1737 * perl/Amanda/Service/Amidxtaped.pm: Do not send mesage 4900000 and
1738 4900012 to client
1739 * recover-src/extract_list.c: Print size on EOF
1740
1741 2016-10-26 Jean-Louis Martineau <JMartineau@carbonite.com>
1742 * packaging/rpm/amanda.spec.src: Remove perl(Dancer2) from the Requires
1743
1744 2016-10-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1745 * perl/Amanda/DB.pm: package Amanda::DB;
1746 * perl/Amanda/Recovery.pm: package Amanda::Recovery;
1747 * perl/Amanda/Service.pm: package Amanda::Service;
1748
1749 2016-10-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1750 * config/amanda/dvdrw-device.m4, config/amanda/ndmp-device.m4,
1751 config/amanda/s3-device.m4: Do not include the device if compiled
1752 --without-server
1753
1754 2016-10-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1755 * config/amanda/libs.m4: Do not link with libcurl if no se device or
1756 no server
1757 * config/amanda/s3-device.m4: Re-order
1758
1759 2016-10-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1760 * perl/Makefile.am: Amanda::FetchDump::*, Amanda::Recovery::* and
1761 Amanda::Amservice are for client or server
1762
1763 2016-10-11 Jean-Louis Martineau <JMartineau@carbonite.com>
1764 * installcheck/Amanda_Device.pl: Reduce bucket name length
1765
1766 2016-10-08 Jean-Louis Martineau <JMartineau@carbonite.com>
1767 * config/amanda/amanda_configure.m4: Check for getservbyname_t and
1768 sem_timedwait
1769 * common-src/security-util.c: Check HAVE_GETSERVBYNAME_R
1770 * common-src/shm-ring.c: Check HAVE_SEM_TIMEDWAIT
1771 * gnulib/regenerate/regenerate: Check configure.ac
1772
1773 2016-10-08 Jean-Louis Martineau <JMartineau@carbonite.com>
1774 * config/amanda/ssl-security.m4: Fix pkg-config argument
1775
1776 2016-10-04 Jean-Louis Martineau <JMartineau@carbonite.com>
1777 * application-src/amstar.c: Fix exclude pattern
1778
1779 2016-10-02 Jean-Louis Martineau <JMartineau@carbonite.com>
1780 * config/amanda/amanda_configure.m4: Check if clock_gettime exists
1781 * common-src/debug.c (msg_timestamp): Use time/ctime_r if
1782 clock_gettime do not exists
1783
1784 2016-09-29 Jean-Louis Martineau <JMartineau@carbonite.com>
1785 * packaging/common/test_sh_libs.sh: Fix for time
1786
1787 2016-09-29 Jean-Louis Martineau <JMartineau@carbonite.com>
1788 * many */*.c: Add call to glib_init()
1789
1790 2016-09-28 Jean-Louis Martineau <JMartineau@carbonite.com>
1791 * amandad-src/amandad.c: Do not free as
1792 * recover-src/extract_list.c: Check state_filename != NULL before
1793 unlink
1794
1795 2016-09-28 Jean-Louis Martineau <JMartineau@carbonite.com>
1796 * installcheck/Amanda_MainLoop.pl: Increase timeout
1797
1798 2016-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
1799 * server-src/driver.c (file_taper_result): Check result of
1800 g_hash_table_lookup
1801
1802 2016-09-27 Jean-Louis Martineau <JMartineau@carbonite.com>
1803 * common-src/glib-util.c: Initialize shm_ring_mutex
1804 * common-src/shm-ring.c: Use a hash to manage semaphore
1805 * common-src/shm-ring.h: Export shm_ring_mutex
1806 * perl/Amanda/Status.pm: Fix for runq
1807 * server-src/tapefile.c: Fix for storage not set
1808 * installcheck/Amanda_Rest_Runs.pl: Fix
1809 * installcheck/success-dumper-chunker+taper-flush.pl Fix
1810
1811 2016-09-26 Jean-Louis Martineau <JMartineau@carbonite.com>
1812 * config/amanda/syshacks.m4: Define GETSERVBYNAME_R5 on solaris
1813 * common-src/security-util.c: Use solaris getservbyname_r if
1814 GETSERVBYNAME_R5 is defined
1815 * common-src/shm-ring.c: Cast pid_t to int
1816 * server-src/tapefile.c: Cast pid_t to int
1817
1818 2016-09-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1819 * server-src/amadmin.c (find): Do not call find_log(), it is a cpu hog
1820 and it print useless warning
1821 * server-src/tapefile.c (lookup_tapelabel): Use a hash
1822
1823 2016-09-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1824 * perl/Amanda/Report.pm: A Fail driver line must set the exit_status
1825 to STATUS_FAILED
1826 * installcheck/Amanda_ClientService.pl: Fix test
1827
1828 2016-09-21 Jean-Louis Martineau <JMartineau@carbonite.com>
1829 * installcheck/Amanda_Device.pl: Fix a test
1830
1831 2016-09-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1832 * server-src/planner.c (when_overwrite): Use the tapecycle
1833 * server-src/tapefile.c (nb_tape_in_storage): New function to compute
1834 the number of tape in a storage
1835 * server-src/tapefile.h (nb_tape_in_storage): Add prototype
1836 * installcheck/success-dumper-chunker-2taper-by-level.pl: Fix test
1837
1838 2016-09-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1839 * server-src/planner.c (when_overwrite): Fix off by 1 error
1840 * server-src/tapefile.c (tape_overwrite): Use tp1->retention
1841
1842 2016-09-20 Jean-Louis Martineau <JMartineau@carbonite.com>
1843 * perl/Amanda/ScanInventory.pm: Use storage_nme fro chg->storage
1844 * server-src/amadmin.c: Remove spurious print message
1845 * server-src/amreindex.pl: Remove spurious print message
1846 * server-src/dumper.c: Call g_mutex_new and g_cond_new before creating
1847 the thread, this fix a race
1848 * server-src/infofile.c (read_txinfofile): return 0 on success
1849 * server-src/planner.c (when_overwrite): Use storage setting
1850 * server-src/tapefile.c (tape_overwrite): New function to return how
1851 many tapes whould be reuse before this one
1852 * server-src/tapefile.h (tape_overwrite): Add prototype
1853
1854 2016-09-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1855 * NEWS, ReleaseNotes: Update for 3.4
1856
1857 2016-09-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1858 * server-src/driver.c: Do not call cleanup_shm_ring too often
1859 * common-src/shm-ring.c (cleanup_shm_ring): Do not remove new shm,
1860 allow them the time to setup
1861
1862 2016-09-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1863 * common-src/glib-util.c (glib_init): Call g_mutex_new after the thread
1864 are initialized
1865
1866 2016-09-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1867 Do not substitute $t in autolabel, meta-autolabel and pool,the value
1868 is not always available
1869 * common-src/conffile.c: Do not substitute $t in pool
1870 * common-src/match.c (make_template, match_labelstr_template,
1871 match_labelstr):Add storage argument
1872 * common-src/match.h (match_labelstr_template, match_labelstr): Fix
1873 prototype
1874 * perl/Amanda/Util.swg (match_labelstr_template, match_labelstr): Fix
1875 prototype
1876 * perl/Amanda/Changer.pm (label_to_slot, make_new_tape_label): Do no
1877 substitute $t in autolabel, meta-autolabel
1878 * perl/Amanda/Label.pm, perl/Amanda/ScanInventory.pm,
1879 perl/Amanda/Taper/Scan/oldest.pm,
1880 perl/Amanda/Taper/Scan/traditional.pm: Add storage argument to
1881 match_labelstr call
1882 * perl/Amanda/Taper/Scan.pm, server-src/tapefile.c: Add storage
1883 argument to match_labelstr_template call
1884 * man/xml-source/amanda.conf.5.xml: Document the change
1885
1886 2016-09-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1887 * common-src/file.c (areads_getbuf): Fix prototype
1888
1889 2016-09-16 Jean-Louis Martineau <JMartineau@carbonite.com>
1890 * application-src/ambsdtar.c, application-src/amgtar.c,
1891 application-src/amstar.c, client-src/selfcheck.c,
1892 client-src/sendsize.c: Call glib_init()
1893 * common-src/glib-util.c (glib_init): Initialize file_mutex.
1894 * common-src/file.c (areads_dataready, areads_relbuf, debug_areads):i
1895 Thread safe
1896 * common-src/file.h (aclose): do not call areads_relbuf
1897 * common-src/file.h (aaclose): Same as old aclose
1898 * client-src/sendbackup.c, oldrecover-src/amrecover.c,
1899 server-src/amtrmidx.c, server-src/driver.c: Call aaclose
1900
1901 2016-09-15 Jean-Louis Martineau <JMartineau@carbonite.com>
1902 * amandad-src/amandad.c: Send no more than one PREP by second
1903
1904 2016-09-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1905 * common-src/security-util.c (find_port_for_service):Make it thread
1906 safe
1907
1908 2016-09-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1909 * common-src/event.c: Allow a EV_TIME to be 0, run in the next
1910 iteration
1911
1912 2016-09-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1913 * server-src/planner.c: Fix comment
1914
1915 2016-09-14 Jean-Louis Martineau <JMartineau@carbonite.com>
1916 * common-src/debug.c (msg_timestamp):Make it thread safe by providing
1917 a buffer
1918
1919 2016-09-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1920 * installcheck/amarchiver.pl: Fix for size output
1921 * amar-src/amar-test.c: Fix for improved error message
1922
1923 2016-09-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1924 * amar-src/amarchiver.c: Cast amar-size result ot (long long)
1925
1926 2016-09-13 Jean-Louis Martineau <JMartineau@carbonite.com>
1927 * perl/Amanda/FetchDump.pm: Print to STDERR
1928 * amar-src/amar.c: Improve error message
1929 * amar-src/amar.h (amar_record): New prototype
1930 * amar-src/amarchiver.c (do_list): Print the size of the archive
1931 * perl/Amanda/Archive.swg (amar_record): Swig it
1932
1933 2016-09-08 Jean-Louis Martineau <JMartineau@carbonite.com>
1934 * application-src/amrandom.pl: Do not check the device, set
1935 size_level_1
1936 * common-src/shm-ring.c (cleanup_shm_ring, close_producer_shm_ring,
1937 close_consumer_shm_ring): Close the shm memory
1938
1939 2016-09-06 Jean-Louis Martineau <JMartineau@carbonite.com>
1940 * perl/Amanda/Restore.pm: Fix call to remove_for_restore_label and
1941 remove_for_restore_holding
1942
1943 2016-09-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1944 * common-src/shm-ring.c (cleanup_shm_ring): Use name without path
1945
1946 2016-09-01 Jean-Louis Martineau <JMartineau@carbonite.com>
1947 * device-src/device.c (default_device_property_set_ex): Return the
1948 device error if it is set
1949 * device-src/s3-device.c (s3_device_set_use_subdomain_fn):
1950 Improve error message
1951 * installcheck/Amanda_Device.pl: Test non DNS bucket name
1952
1953 2016-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1954 * perl/Amanda/Process.pm: Typo
1955
1956 2016-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1957 * installcheck/*.pl: Make sure they all log their results
1958
1959 2016-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1960 * perl/Amanda/Vault.pm: fix
1961
1962 2016-08-25 Jean-Louis Martineau <JMartineau@carbonite.com>
1963 * perl/Amanda/Vault.pm: Log a 'STATS hostname' line
1964 * perl/Amanda/Report.pm: Parse the amvault 'STATS hostname' line
1965 * perl/Amanda/Report/json.pm: Always include the head section
1966 * installcheck/Amanda_Rest_Runs.pl: Add head section
1967 * installcheck/catalogs/bigestimate.cat,
1968 installcheck/catalogs/doublefailure.cat,
1969 installcheck/catalogs/longstrange.cat,
1970 installcheck/catalogs/resultsmissing.cat,
1971 installcheck/catalogs/retried-nofinish.cat,
1972 installcheck/catalogs/retried.cat,
1973 installcheck/catalogs/shortstrange.cat,
1974 installcheck/catalogs/skipped.cat: Add 'STATS driver' and many
1975 'INFO pid-done' lines
1976
1977 2016-08-24 Jean-Louis Martineau <JMartineau@carbonite.com>
1978 * perl/Amanda/Extract.pm: Use 'eq' to compare string
1979
1980 2016-08-23 Jean-Louis Martineau <JMartineau@carbonite.com>
1981 * perl/Amanda/Restore.pm: Do not chdir if not an absolute path
1982
1983 2016-08-19 Jean-Louis Martineau <JMartineau@carbonite.com>
1984 * perl/Amanda/Changer.pm (make_new_tape_label): use the child slot
1985 * perl/Amanda/Changer/aggregate.pm: Add allow-missing-changer property
1986
1987 2016-08-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1988 * installcheck/Makefile.am: Move some test to full_tests or
1989 restore_tests
1990 * installcheck/failure-client-custom-compress-end.pl: Remove 1 test
1991
1992 2016-08-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1993 * installcheck/Amanda_Device.pl: Fix test
1994
1995 2016-08-18 Jean-Louis Martineau <JMartineau@carbonite.com>
1996 * installcheck/failure-client-custom-compress-end.pl: Remove 5 tests
1997
1998 2016-08-17 Jean-Louis Martineau <JMartineau@carbonite.com>
1999 * server-src/dumper.c:Fix compiler warning
2000 * installcheck/Installcheck/Run.pm: Improvement
2001 * installcheck/Makefile.am: Add new amcat* script and new test scripts
2002 * installcheck/amcat-error-end.pl: New script that fail on exit
2003 * installcheck/amcat-error-no-exec.pl: New script install without
2004 execute bit
2005 * installcheck/amcat-error.pl: New script that fail after 65536 bytes
2006 * installcheck/amcat.sh: New script that do a cat
2007 * installcheck/failure-client-custom-compress-end.pl,
2008 installcheck/failure-client-custom-compress-no-exec.pl,
2009 installcheck/failure-client-custom-compress-not-found.pl,
2010 installcheck/failure-client-custom-compress.pl,
2011 installcheck/failure-client-encrypt-end.pl,
2012 installcheck/failure-client-encrypt-no-exec.pl,
2013 installcheck/failure-client-encrypt-not-found.pl,
2014 installcheck/failure-client-encrypt.pl,
2015 installcheck/failure-server-custom-compress-end.pl,
2016 installcheck/failure-server-custom-compress-no-exec.pl,
2017 installcheck/failure-server-custom-compress-not-found.pl,
2018 installcheck/failure-server-custom-compress.pl,
2019 installcheck/failure-server-encrypt-end.pl,
2020 installcheck/failure-server-encrypt-no-exec.pl,
2021 installcheck/failure-server-encrypt-not-found.pl,
2022 installcheck/failure-server-encrypt.pl: New scripts to test various
2023 error
2024 * installcheck/failure-xfer-dest-holding-file-first-close_chunk.pl,
2025 installcheck/failure-xfer-dest-holding-file-open-first-header.pl,
2026 installcheck/failure-xfer-dest-holding-file-open-second-header.pl,
2027 installcheck/failure-xfer-dest-holding-file-second-close_chunk.pl,
2028 installcheck/failure-xfer-dest-holding-file-write-first-data.pl,
2029 installcheck/failure-xfer-dest-holding-file-write-first-header.pl,
2030 installcheck/failure-xfer-dest-holding-file-write-second-data.pl,
2031 installcheck/failure-xfer-dest-holding-file-write-second-header.pl,
2032 installcheck/failure-xfer-dest-holding-shm-first-close_chunk.pl,
2033 installcheck/failure-xfer-dest-holding-shm-open-first-header.pl,
2034 installcheck/failure-xfer-dest-holding-shm-open-second-header.pl,
2035 installcheck/failure-xfer-dest-holding-shm-second-close_chunk.pl,
2036 installcheck/failure-xfer-dest-holding-shm-write-first-data.pl,
2037 installcheck/failure-xfer-dest-holding-shm-write-first-header.pl,
2038 installcheck/failure-xfer-dest-holding-shm-write-second-data.pl,
2039 installcheck/failure-xfer-dest-holding-shm-write-second-header.pl:
2040 New script to test error in xfer-dest-holding.c
2041 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2042 installcheck/success-dumper-chunker+taper-flush.pl,
2043 installcheck/success-dumper-chunker-2taper-by-level.pl,
2044 installcheck/success-dumper-chunker-2taper.pl,
2045 installcheck/success-dumper-chunker-taper.pl,
2046 installcheck/success-dumper-taper.pl: Update for improvement in
2047 Installcheck/Run.pm
2048
2049 2016-08-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2050 * amandad-src/amandad.c: Fix closing service
2051 * client-src/sendbackup.c (stderr_thread): Cancel the shm_ring
2052 * common-src/security-util.c: Do not free(rs)
2053 * common-src/security.c (security_seterror, security_stream_seterror):
2054 Use g_strdup_vprintf
2055 * perl/Amanda/Report/human.pm: Do not report 'Aborted by driver' error
2056 * server-src/dumper.c: Take the shm_thread_mutex more often, add
2057 FAILURE_CODE error
2058 * server-src/xfer-dest-holding.c: Add FAILURE_CODE error
2059
2060 2016-08-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2061 * man/xml-source/amanda.8.xml: Add amanda-command-file.5
2062
2063 2016-08-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2064 * man/Makefile.am: Add amanda-command-file.5.xml
2065 * man/xml-source/amanda-command-file.5.xml:Document the command-file
2066 format
2067 * man/xml-source/amanda.conf.5.xml: Reorder entries
2068
2069 2016-08-10 Jean-Louis Martineau <JMartineau@carbonite.com>
2070 * device-src/s3-device.c (progress_func): Donot fail if the transfer
2071 is not started
2072
2073 2016-08-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2074 Add a --failure-code configure option that allow to inject error in
2075 the code
2076 * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Add --failure-code
2077 * common-src/alloc.c (safe_env_full): Keep all ENV if FAILURE_CODE is
2078 define
2079 * config/amanda/amanda_configure.m4: Load AMANDA_WITH_FAILURE_CODE
2080 * config/amanda/failure_code.m4 (AMANDA_WITH_FAILURE_CODE): Define
2081 FAILURE_CODE if --failure-code
2082 * perl/Amanda/Constants.pm.in.src: Add FAILURE_CODE
2083 * perl/Amanda/Rest/Configs.pm: Handle FAILURE parameter
2084
2085 2016-08-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2086 * server-src/xfer-dest-holding.c (finish_chunk): Return a char *
2087 * server-src/xfer-server.h (finish_chunk): modify declaration
2088 * perl/Amanda/XferServer.swg (finish_chunk): modify declaration
2089 * perl/Amanda/Xfer.pod: Update documentation
2090
2091 2016-08-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2092 * device-src/s3.c: Correctly compute the signature for AWS4 if
2093 S3_SUBDOMAIN is set to OFF
2094
2095 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2096 * client-src/ambackup.pl: Wait for 'MESG END'
2097
2098 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2099 * server-src/ambackupd.pl: Fix string comparaison
2100
2101 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2102 * amandad-src/amandad.c: Wait for the child process to terminate
2103
2104 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2105 * perl/Amanda/Chunker/Scribe.pm: fix bad variable name
2106
2107 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2108 * perl/Amanda/Curinfo/Info.pm: Fix perl warning
2109
2110 2016-08-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2111 * xfer-src/element-glue.c: Enable XFER_MECH_WRITEFD, XFER_MECH_MEM_RING
2112 and XFER_MECH_WRITEFD, XFER_MECH_SHM_RING
2113
2114 2016-08-03 Jean-Louis Martineau <JMartineau@carbonite.com>
2115 * application-src/amrandom.pl: Fix perl warning
2116
2117 2016-08-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2118 * common-src/ammessage.c: typo
2119
2120 2016-07-19 Jean-Louis Martineau <JMartineau@carbonite.com>
2121 * client-src/sendbackup.c: (childstr): check dumppid at last
2122 * client-src/sendbackup.c: (check_result):Increase the timeout to 600
2123 seconds
2124
2125 2016-07-18 Jean-Louis Martineau <JMartineau@carbonite.com>
2126 * perl/Amanda/Amdump.pm: Use POSIX::close
2127 * perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm:
2128 Improve error message
2129 * perl/Amanda/Config.swg: Add Message for code 1560000
2130 * perl/Amanda/Report.pm: Fix parsing of pid and fork L_INFO lines
2131 * perl/Amanda/Report/human.pm: Improve error message
2132 * perl/Amanda/Report/json.pm: Improve error message
2133 * perl/Amanda/Status.pm: Improve parsing
2134 * installcheck/Amanda_Rest_Runs.pl
2135 installcheck/amstatus.pl
2136 installcheck/chunker.pl
2137 installcheck/pp-scripts.pl
2138 installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl
2139 installcheck/success-dumper-chunker+taper-flush.pl
2140 installcheck/success-dumper-chunker-2taper-by-level.pl
2141 installcheck/success-dumper-chunker-2taper.pl
2142 installcheck/success-dumper-chunker-taper.pl
2143 installcheck/success-dumper-taper.pl: Fix for changes
2144
2145 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2146 * server-src/dumper.c: Improve error reporting
2147
2148 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2149 * server-src/driver.c: Remove useless printf
2150
2151 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2152 * client-src/sendbackup.c: Read filter stderr and report them as error
2153
2154 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2155 * client-src/senddiscover.c: Do not include "pipespawn.h"
2156
2157 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2158 * common-src/file.c (debug_areads): Add a terminating '\n' on the
2159 buffer
2160
2161 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2162 * common-src/event.c (event_release): Abort the main_loop is there is
2163 no more event
2164
2165 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2166 * common-src/debug.c: Fix race in getting the thread id
2167
2168 2016-07-14 Jean-Louis Martineau <JMartineau@carbonite.com>
2169 * device-src/device.h (property_set_ex, device_property_set_ex):
2170 Change prototype to return a (char *)
2171 * device-src/device.c (property_set_ex, device_property_set_ex):
2172 Return a (char *) on error, NULL on success
2173 * perl/Amanda/Device.swg (property_set), Return a string on eror,
2174 undef on success
2175 * device-src/amtapetype.pl, device-src/rait-device.c,
2176 perl/Amanda/Changer.pm, perl/Amanda/Changer/disk.pm,
2177 perl/Amanda/Changer/diskflat.pm, server-src/amadmin.c,
2178 server-src/amrestore.pl: Change for new API
2179 * installcheck/Amanda_Device.pl: Test new API
2180 * installcheck/Amanda_Xfer.pl: Change for new API
2181
2182 2016-07-13 Jean-Louis Martineau <JMartineau@carbonite.com>
2183 * server-src/infofile.c: Make sure the infofile never have more more
2184 than 100 history lines
2185
2186 2016-07-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2187 * installcheck/Installcheck/Rest.pm (post): Set CURLOPT_POSTFIELDSIZE
2188
2189 2016-07-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2190 Add message in NO-ROOM from chunker and ABORT from driver to chunker
2191 * perl/Amanda/Chunker/Controller.pm: Add message
2192 * perl/Amanda/Chunker/Protocol.pm: Add message
2193 * server-src/driver.c: Add message
2194 * server-src/driverio.c: Send message
2195 * server-src/xfer-dest-holding.c: Set message
2196 * installcheck/chunker.pl: Check message
2197
2198 2016-07-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2199 * perl/Amanda/Report/human.pm: Fix dealing with try, fix line spacing
2200 * perl/Amanda/Report.pm: Fix setting try
2201 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2202 installcheck/success-dumper-chunker+taper-flush.pl,
2203 installcheck/success-dumper-chunker-2taper-by-level.pl,
2204 installcheck/success-dumper-chunker-2taper.pl,
2205 installcheck/success-dumper-chunker-taper.pl,
2206 installcheck/success-dumper-taper.pl: Check report failure_summary,
2207 fix for line spacing
2208
2209 2016-07-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2210 * installcheck/Installcheck/Catalogs.pm: Set current version in amdump
2211 log file
2212
2213 2016-07-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2214 * perl/Amanda/Status.pm:: Return an error if not for same version
2215 * server-src/amstatus.pl: Handle Message return from $status->current
2216
2217 2016-07-06 Jean-Louis Martineau <JMartineau@carbonite.com>
2218 * installcheck/dump-client-custom-compress+amfetchdump.pl,
2219 installcheck/dump-client-encrypt+amfetchdump.pl,
2220 installcheck/dump-server-custom-compress+amfetchdump.pl,
2221 installcheck/dump-server-encrypt+amfetchdump.pl: restore in a
2222 testdir, check the dump is restored
2223
2224 2016-07-06 Jean-Louis Martineau <JMartineau@carbonite.com>
2225 * perl/Amanda/Restore.pm: srvcompprog and clntcompprog are string
2226 * installcheck/Makefile.am (server_tests): Add new test scripts
2227 * installcheck/dump-client-custom-compress+amfetchdump.pl,
2228 installcheck/dump-client-encrypt+amfetchdump.pl,
2229 installcheck/dump-server-custom-compress+amfetchdump.pl,
2230 installcheck/dump-server-encrypt+amfetchdump.pl: New test scripts
2231
2232 2016-07-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2233 * installcheck/Amanda_Rest_Configs.pl, installcheck/amgetconf.pl:
2234 Change for new value of send-amreport-on
2235
2236 2016-07-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2237 * installcheck/Installcheck/Config.pm (new): Set send-amreport-on to
2238 never
2239
2240 2016-07-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2241 * perl/Amanda/Process.pm (load_ps_table): Skip partial line
2242
2243 2016-07-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2244 * common-src/amflock.c: Typo
2245 * perl/Amanda/Tapelist.swg (relaod): Take the lock before checking
2246 force
2247 * perl/Amanda/Tapelist.swg (write): Verify we have the lock
2248 * perl/Amanda/Rest/Storages/Labels.pm: Take the tapelist lock
2249 * installcheck/Amanda_Rest_Storages_Labels.pl: Do not exit
2250 * installcheck/Amanda_Tapelist.pl: Reload the tapelist
2251 * installcheck/Amanda_Taper_Scan_lexical.pl: Reload the tapelist
2252 * installcheck/Amanda_Taper_Scan_oldest.pl: Reload the tapelist
2253 * installcheck/Amanda_Taper_Scan_traditional.pl: Reload the tapelist
2254 * installcheck/amlabel.pl: Reload the tapelist
2255 * installcheck/amreport.pl: unlink "$mail_mock.bogus"
2256 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2257 installcheck/success-dumper-chunker+taper-flush.pl,
2258 installcheck/success-dumper-chunker-2taper-by-level.pl,
2259 installcheck/success-dumper-chunker-2taper.pl,
2260 installcheck/success-dumper-chunker-taper.pl,
2261 installcheck/success-dumper-taper.pl: sleep before checking result
2262
2263 2016-07-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2264 * installcheck/amreport.pl: simpler error matching
2265
2266 2016-07-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2267 * server-src/logfile.c (program_str): Add amtrmidx and amtrmlog
2268 * server-src/logfile.c (get_logtype_str, get_program_str): New
2269 functions
2270 * server-src/logfile.h (program_t): Add P_AMTRMIDX and P_AMTRMLOG
2271 * server-src/logfile.h (get_logtype_str, get_program_str): Add
2272 prototypes
2273 * perl/Amanda/Logfile.swg: Swig P_AMTRMIDX P_AMTRMLOG, get_logtype_str
2274 and get_program_str
2275 * perl/Amanda/Amdump.pm (run_subprocess): Read stderr and log a
2276 L_ERROR
2277 * perl/Amanda/Report.pm: Parse line from amreport, amtrmidx and
2278 amtrmlog
2279 * perl/Amanda/Report/human.pm (PROGRAM_ORDER): Add amtrmidx and amtrmlog
2280 * server-src/amreport.pl: Print better error message
2281 * installcheck/amreport.pl: Check new error reporting
2282
2283 2016-07-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2284 * installcheck/Installcheck/Run.pm (check_amreport): Remove double
2285 space in date
2286
2287 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2288 * perl/Amanda/Process.pm (load_ps_table): accept any process which
2289 match /perl/ as a perl binary
2290
2291 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2292 * installcheck/success-dumper-chunker+taper-flush.pl:
2293 s/ 0:00:00/00:00:00/
2294
2295 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2296 * installcheck/Installcheck/Run.pm (setup_changer, setup_storage): New
2297 methods
2298 * installcheck/Installcheck/Run.pm (check_amreport): Sort the
2299 'USAGE BY TAPE' and 'NOTES' sections before comparing them
2300 * installcheck/Makefile.am (server_tests): Add 2 new tests
2301 * installcheck/success-dumper-chunker-2taper-by-level.pl: test a dump
2302 where the full go to a storage and the incremental go to another
2303 storage
2304 * installcheck/success-dumper-chunker-2taper.pl: test a dump that goto
2305 2 different storages
2306
2307 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2308 * perl/Amanda/Status.pm (show_time): Always print hours with 2 chars
2309 * server-src/amstatus.pl (busytime): Always print hours with 2 chars
2310 * installcheck/Installcheck/Run.pm (check_amstatus): Fix regex
2311 * installcheck/amstatus.pl: Fix
2312 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2313 installcheck/success-dumper-chunker+taper-flush.pl,
2314 installcheck/success-dumper-chunker-taper.pl,
2315 installcheck/success-dumper-taper.pl: Fix
2316
2317 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2318 * installcheck/Installcheck/Run.pm (check_amstatus): Remove not-idle
2319 lines from amstatus result
2320
2321 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2322 * installcheck/Installcheck/Run.pm (check_amstatus): Remove not-idle
2323 lines
2324
2325 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2326 * perl/Amanda/Report/human.pm (get_summary_info): Do not add spurious
2327 space
2328
2329 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2330 * common-src/conffile.c (update_derived_values): create a default CONF
2331 policy
2332
2333 2016-06-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2334 * application-src/amrandom.pl: Allow level 1 backup, add SIZE-LEVEL-1
2335 property
2336 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2337 installcheck/success-dumper-chunker+taper-flush.pl,
2338 installcheck/success-dumper-chunker-taper.pl,
2339 installcheck/success-dumper-taper.pl: Use amrandom, it have
2340 consistent size
2341
2342 2016-06-28 Jean-Louis Martineau <JMartineau@carbonite.com>
2343 * server-src/amstatus.pl:Fix indentation
2344 * installcheck/Installcheck/Run.pm (check_amstatus): Do not check
2345 dumper busy stat
2346
2347 2016-06-28 Jean-Louis Martineau <JMartineau@carbonite.com>
2348 * installcheck/Installcheck/Run.pm: Subtitute hostname
2349 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl,
2350 installcheck/success-dumper-chunker+taper-flush.pl,
2351 installcheck/success-dumper-chunker-taper.pl,
2352 installcheck/success-dumper-taper.pl: Increase time length
2353
2354 2016-06-28 Jean-Louis Martineau <JMartineau@carbonite.com>
2355 * config/amanda/libs.m4: Set LIBCURL_USE_GNUTLS_NETTLE or
2356 LIBCURL_USE_GNUTLS_GCRYPT depending on which crypto library
2357 gnutls use
2358 * common-src/glib-util.c: Initialize gcrypt only if
2359 LIBCURL_USE_GNUTLS_GCRYPT
2360
2361 2016-06-28 Jean-Louis Martineau <JMartineau@carbonite.com>
2362 * device-src/xfer-dest-taper-splitter.c: Fix error path
2363 * perl/Amanda/Report.pm: Fix exit_status
2364 * perl/Amanda/Report/human.pm: Fix line spacing
2365 * server-src/amstatus.pl: Add dump_time
2366 * server-src/driver.c: Do not log 'too many taper retry'
2367 * server-src/xfer-source-holding.c (cancel_impl): Set eogf_flag on
2368 the mem_ring
2369 * xfer-src/xfer.c: Add debugging statement
2370 * installcheck/Makefile.am (server_tests): Add new test file
2371 * installcheck/Makefile.am (catalogs): Add new catalog file
2372 * installcheck/Amanda_Report.pl,
2373 installcheck/Amanda_Rest_Runs.pl,
2374 installcheck/Installcheck/Run.pm,
2375 installcheck/amdump.pl,
2376 installcheck/amreport.pl: Add and fix test
2377 * installcheck/success-dumper-chunker+dumper-chunker-taper-flush.pl
2378 installcheck/success-dumper-chunker+taper-flush.pl
2379 installcheck/success-dumper-chunker-taper.pl
2380 installcheck/success-dumper-taper.pl: New test
2381 * installcheck/catalogs/dumper-chunker-taper-success.cat,
2382 installcheck/catalogs/dumper-taper-success.cat: New catalog
2383
2384 2016-06-28 Jean-Louis Martineau <JMartineau@carbonite.com>
2385 * perl/Amanda/Report.pm: Fix race by loading the ps_table early
2386
2387 2016-06-27 Jean-Louis Martineau <JMartineau@carbonite.com>
2388 * application-src/amrandom.pl: Improve debugging
2389 * common-src/shm-ring.c: Improve debugging
2390
2391 2016-06-27 Jean-Louis Martineau <JMartineau@carbonite.com>
2392 * config/gettext-macros/gettext.m4,
2393 config/gettext-macros/po.m4: s/AM_PROG_MKDIR_P/AC_PROG_MKDIR_P/
2394
2395 2016-06-27 Jean-Louis Martineau <JMartineau@carbonite.com>
2396 * config/amanda/libs.m4 (AMANDA_CHECK_LIBCURL): Check for
2397 HMAC_CTX_init or HMAC_CTX_reset
2398 * common-src/glib-util.c, common-src/ssl-security.c,
2399 device-src/s3-util.c, device-src/s3.c: Fix for openssl 1.1
2400
2401 2016-06-27 Jean-Louis Martineau <JMartineau@carbonite.com>
2402 * perl/Amanda/Rest/Runs.pm (list one): Do not return emtpy string
2403
2404 2016-06-21 Jean-Louis Martineau <JMartineau@carbonite.com>
2405 * perl/Amanda/Rest/Runs.pm (list): Do not set $status
2406
2407 2016-06-21 Jean-Louis Martineau <JMartineau@carbonite.com>
2408 * perl/Amanda/Amdump.pm (message 2000000): use logfile
2409 * perl/Amanda/Amdump.pm (message 2000001): use tracefile
2410 * perl/Amanda/Amflush.pm (message 2200000): use logfile
2411 * perl/Amanda/Amflush.pm (message 2200001): use tracefile
2412 * perl/Amanda/Report.pm: Set status to 'running', 'done' or
2413 'aborted'
2414 * perl/Amanda/Report/json.pm: Report the status in head->status
2415 * perl/Amanda/Rest/Runs.pm: Use tracefile and logfile
2416 * perl/Amanda/Rest/Status.pm:use tracefile
2417 * installcheck/Amanda_Report.pl: Add pids
2418 * installcheck/Amanda_Rest_Runs.pl: Add pids
2419 * installcheck/pp-scripts.pl: use tracefile and logfile
2420 * installcheck/catalogs/amflush.cat,
2421 installcheck/catalogs/fatal.cat,
2422 installcheck/catalogs/flush-noorigsize.cat,
2423 installcheck/catalogs/flush-origsize.cat,
2424 installcheck/catalogs/normal.cat,
2425 installcheck/catalogs/plannerfail.cat,
2426 installcheck/catalogs/retried-strange.cat,
2427 installcheck/catalogs/skipped.cat,
2428 installcheck/catalogs/spanned.cat,
2429 installcheck/catalogs/strontium.cat,
2430 installcheck/catalogs/taperr.cat: Add pid lines
2431
2432 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2433 * perl/Amanda/ScanInventory.pm, perl/Amanda/Taper/Scan/oldest.pm: Do
2434 not 'use Time::HiRes'
2435
2436 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2437 * perl/Amanda/Changer/robot.pm: Fix perl warning
2438 * perl/Amanda/ScanInventory.pm: Use all slots returned by analyze
2439 before calling it again
2440 * perl/Amanda/Taper/Scan/lexical.pm (analyze),
2441 perl/Amanda/Taper/Scan/oldest.pm (analyze): Return an array of slots
2442 * installcheck/Amanda_Taper_Scan_lexical.pl: Fix
2443 * installcheck/Amanda_Taper_Scan_oldest.pl: Fix
2444 * installcheck/Amanda_Taper_Scan_traditional.pl: Fix
2445 * installcheck/Installcheck/Changer.pm: Fix
2446
2447 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2448 * perl/Amanda/Changer.pm: Call $rv->_valide()
2449 * perl/Amanda/Changer/disk.pm, perl/Amanda/Changer/diskflat.pm: Do not
2450 call $self->_validate()
2451
2452 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2453 * server-src/driver.c (start_a_flush_taper): Use
2454 TAPER_STATE_TAPE_STARTED && TAPER_STATE_RESERVATION
2455
2456 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2457 * common-src/amflock.c: Check the return status of mkdir
2458
2459 2016-06-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2460 Maintain the C tapelist instead of reloading it after a write
2461 * device-src/diskflat-device.c (diskflat_device_seek_file): Return an
2462 F_EMPTY header on DEVICE_STATUS_VOLUME_UNLABELED
2463 * perl/Amanda/Tapelist.swg (reset_tapelist): New method,
2464 (reload): Do not call C_clear_tapelist,
2465 (remove_tapelabel): Call C_remove_tapelabel,
2466 (add_tapelabel): Call C_add_tapelabel,
2467 (write): Do not call C_read_tapelist,
2468 * perl/Amanda/Taper/Scan.pm (quit): Do not quit the changer
2469 * server-src/tapefile.c (reset_tapelist, add_tapelabel): New function
2470 * server-src/tapefile.h (reset_tapelist, add_tapelabel): Add prototype
2471 * installcheck/Amanda_Taper_Scan_lexical.pl: Fix
2472 * installcheck/Amanda_Taper_Scan_oldest.pl: Fix
2473 * installcheck/Amanda_Taper_Scan_traditional.pl: Fix
2474
2475 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2476 * installcheck/Amanda_Taper_Scan_lexical.pl,
2477 installcheck/Amanda_Taper_Scan_oldest.pl,
2478 installcheck/Amanda_Taper_Scan_traditional.pl: Fix
2479
2480 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2481 * server-src/tapefile.c: Check result of symlink call and log error
2482
2483 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2484 * common-src/amflock.c: Improve debugging
2485
2486 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2487 * perl/Amanda/Tapelist.swg: Do not reload the tapelist file if we
2488 already have the last state
2489 * server-src/tapefile.c: Create the tapelist.last_write symlink
2490 * installcheck/Amanda_Tapelist.pl: Fix
2491
2492 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2493 * common-src/debug.c (msg_timestamp): Add sub-second time precision
2494 to the timestamp
2495
2496 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2497 * server-src/driver.c (start_a_flush_taper): Use
2498 TAPER_STATE_TAPE_STARTED or TAPER_STATE_RESERVATION
2499
2500 2016-06-15 Jean-Louis Martineau <JMartineau@carbonite.com>
2501 * perl/Amanda/Taper/Scribe.pm: Fix perl warning
2502
2503 2016-06-10 Jean-Louis Martineau <JMartineau@carbonite.com>
2504 * server-src/driver.c (start_some_dumps): Do not wait for chunker PORT
2505 or SHM-NAME
2506 * server-src/driver.c (handle_chunker_result): Handle PORT and
2507 SHM-NAME reply
2508
2509 2016-06-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2510 * server-src/find.c (make_dump_hash, dump_hash_exist): Fix for
2511 host_hash
2512
2513 2016-06-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2514 * application-src/amsamba.pl: Fix for newer samba version
2515
2516 2016-06-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2517 * common-src/ammessage.c: typo
2518
2519 2016-06-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2520 * perl/Amanda/Changer.pm (label_to_slot): Fix for $r and $t
2521 substitution
2522 * perl/Amanda/Changer/disk.pm: Do not create all num-slot directories,
2523 inventory return only the slot with a directory + runtapes new slots
2524 * perl/Amanda/Changer/diskflat.pm: inventory return only the slot with
2525 a label + runtapes new slots
2526 * installcheck/Amanda_Rest_Storages.pl: Set auto-create-slot
2527
2528 2016-06-08 Jean-Louis Martineau <JMartineau@carbonite.com>
2529 * common-src/amflock.c (common-src/amflock.c): Create the parent
2530 directory
2531
2532 2016-06-07 Jean-Louis Martineau <JMartineau@carbonite.com>
2533 * common-src/conffile.c: Allow $t in changerfile and tpchanger from a
2534 changer section
2535 * man/xml-source/amanda.conf.5.xml: Document it
2536
2537 2016-06-07 Jean-Louis Martineau <JMartineau@carbonite.com>
2538 * perl/Amanda/Changer.pm: Allow $r and $t in autolabel and
2539 meta-autolabel
2540 * man/xml-source/amanda.conf.5.xml: Document it
2541
2542 2016-06-07 Jean-Louis Martineau <JMartineau@carbonite.com>
2543 * common-src/conffile.c: Allow $o, $c, $r and $t in tapepool
2544 * man/xml-source/amanda.conf.5.xml: Document it
2545
2546 2016-06-03 Jean-Louis Martineau <JMartineau@carbonite.com>
2547 * device-src/xfer-dest-taper-splitter.c: Do not cancel twice
2548 * perl/Amanda/Taper/Worker.pm: Abort_setup on input_errors
2549 * server-src/dumper.c: Improve debugging
2550
2551 2016-06-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2552 * common-src/ammessage.c (set_message): Fix typo in mesage 2800036
2553
2554 2016-06-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2555 * common-src/shm-ring.c (cleanup_shm_ring): New function to remove
2556 unused semaphore and shared memory
2557 * common-src/shm-ring.h (cleanup_shm_ring): Add prototype
2558 * server-src/driver.c: Call cleanup_shm_ring
2559
2560 2016-06-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2561 * server-src/driver.c (handle_chunker_result): Set job on BOGUS
2562
2563 2016-06-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2564 * server-src/amadmin.c: Fix out of bound
2565
2566 2016-06-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2567 * server-src/amstatus.pl: Use 'dsize' if available
2568
2569 2016-06-01 Jean-Louis Martineau <JMartineau@carbonite.com>
2570 * common-src/mem-ring.c, common-src/shm-ring.c: Make sure the ring
2571 size is at least twice the block size, otherwise the ring can hang
2572
2573 2016-06-01 Jean-Louis Martineau <JMartineau@carbonite.com>
2574 * common-src/security-util.c, common-src/shm-ring.c,
2575 device-src/xfer-dest-taper-splitter.c,
2576 server-src/xfer-source-holding.c: Allow to completely fill the ring
2577
2578 2016-05-31 Jean-Louis Martineau <JMartineau@carbonite.com>
2579 * common-src/shm-ring.c (shm_ring_to_security_stream),
2580 device-src/xfer-dest-taper-splitter.c (device_thread_wait_for_block),
2581 server-src/dumper.c (handle_shm_ring_to_fd_thread): set usable after
2582 getting the semaphore
2583 * server-src/driver.c (handle_chunker_result): Fix for BOGUS
2584
2585 2016-05-31 Jean-Louis Martineau <JMartineau@carbonite.com>
2586 * common-src/conffile.c: displayunit default ot 'K' (uppercase)
2587 * installcheck/Amanda_Rest_Configs.pl: Fix for K uppercase
2588 * installcheck/Amanda_Rest_Runs.pl: Fix for K uppercase
2589 * xfer-src/xfer-test.c: Call config_init(0, NULL)
2590 * installcheck/catalogs/*.cat: Fix for K uppercase
2591
2592 2016-05-31 Jean-Louis Martineau <JMartineau@carbonite.com>
2593 * perl/Amanda/Changer.pm (make_new_tape_label): Can take meta
2594 from $self
2595 * perl/Amanda/Changer/diskflat.pm: Use meta from state
2596 * installcheck/Amanda_Changer_diskflat.pl: More meta check
2597
2598 2016-05-27 Jean-Louis Martineau <JMartineau@carbonite.com>
2599 * common-src/conffile.c: Check meta-autolabel, autolabel, labelstr and
2600 tapepool do not conatisna space
2601
2602 2016-05-26 Jean-Louis Martineau <JMartineau@carbonite.com>
2603 * server-src/amadmin.c (import_db): Fix version parsing
2604 * server-src/amadmin.c: Fix for level > 9
2605
2606 2016-05-25 Jean-Louis Martineau <JMartineau@carbonite.com>
2607 * xfer-src/element-glue.c: #include "conffile.h"
2608
2609 2016-05-25 Jean-Louis Martineau <JMartineau@carbonite.com>
2610 * xfer-src/element-glue.c (do_directtcp_accept): Use dtimeout for the
2611 timeout
2612
2613 2016-05-24 Jean-Louis Martineau <JMartineau@carbonite.com>
2614 * server-src/driver.c: Fix fro taper failure after SHM-NAME received
2615
2616 2016-05-20 Jean-Louis Martineau <JMartineau@carbonite.com>
2617 * common-src/stream.h (STREAM_BUFSIZE): Set to NETWORK_BLOCK_BYTES * 4
2618
2619 2016-05-20 Jean-Louis Martineau <JMartineau@carbonite.com>
2620 * common-src/security-util.c (tcpm_recv_token): Fix return value
2621
2622 2016-05-19 Jean-Louis Martineau <JMartineau@carbonite.com>
2623 * common-src/shm-ring.c (shm_ring_sem_wait): Return -1 if the shm-ring
2624 is cancelled
2625 * device-src/xfer-dest-taper-splitter.c: s/!!/!/
2626
2627 2016-05-19 Jean-Louis Martineau <JMartineau@carbonite.com>
2628 * common-src/security-util.c: Improve error message
2629 * common-src/shm-ring.c (shm_ring_sem_wait): Faile only if the process
2630 do not exists (ESRCH)
2631 * device-src/xfer-dest-taper-splitter.c: Improve debugging
2632 * perl/Amanda/Taper/Scribe.pm: Set started_writing only when we wrote
2633 a part
2634 * server-src/dumper.c: Improve debugging
2635 * xfer-src/element-glue.c: Improve debugging
2636 * xfer-src/xfer.c: Improve debugging
2637
2638 2016-05-19 Jean-Louis Martineau <JMartineau@carbonite.com>
2639 * server-src/amtrmlog.c: Remove bogus g_free
2640
2641 2016-05-19 Jean-Louis Martineau <JMartineau@carbonite.com>
2642 * common-src/file.c (debug_pgets): Untaint the returned string
2643 * server-src/amtrmlog.c: Fix coverity warning
2644
2645 2016-05-18 Jean-Louis Martineau <JMartineau@carbonite.com>
2646 * installcheck/pp-scripts.pl: Use amrandom to get consistent size
2647
2648 2016-05-18 Jean-Louis Martineau <JMartineau@carbonite.com>
2649 * server-src/amtrmlog.c: Use free_dump_hash()
2650 * server-src/find.c (free_dump_hash): Put in comment because infailon
2651 some machine
2652
2653 2016-05-18 Jean-Louis Martineau <JMartineau@carbonite.com>
2654 * server-src/amrmtape.pl: Can remove multiple labels
2655 * man/xml-source/amrmtape.8.xml: Document new feature
2656
2657 2016-05-18 Jean-Louis Martineau <JMartineau@carbonite.com>
2658 * server-src/dumper.c: Fix dtimeout when using shm-ring (local auth)
2659
2660 2016-05-17 Jean-Louis Martineau <JMartineau@carbonite.com>
2661 * common-src/file.c (debug_pgets): New function to read a complete
2662 line from a FILE*
2663 * common-src/file.h (debug_pgets, pgets): Add prototypes
2664 * common-src/amxml.c: Undo previous patch, use pgets instead of agets
2665 * application-src/amstar.c, client-src/client_util.c,
2666 client-src/selfcheck.c, client-src/sendbackup.c,
2667 client-src/senddiscover.c, client-src/sendsize.c,
2668 common-src/amutil.c, common-src/krb5-security.c,
2669 common-src/security-util.c, recover-src/extract_list.c,
2670 server-src/amcheck.c, server-src/amindexd.c,
2671 server-src/dumper.c: Use pgets instead of agets to read many files
2672 * installcheck/amdump.pl: Add check for '#' in dumptype property
2673
2674 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2675 * common-src/amxml.c (amxml_format_tag): The '#' character require raw
2676 format
2677
2678 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2679 * perl/Amanda/Tapelist.swg: Keep hash by label and barcode for faster
2680 lookup
2681 * installcheck/Amanda_Tapelist.pl: Fix for new hash
2682
2683 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2684 * server-src/amtrmidx.c: Fix
2685
2686 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2687 * server-src/dumper.c (stop_dump): Call security_stream_read_cancel
2688
2689 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2690 * server-src/find.c: Find the find result in a hash
2691 * server-src/find.h (hash_find_log, make_dump_hash, free_dump_hash,
2692 dump_hash_exist): Add prototypes
2693 * server-src/amtrmidx.c, server-src/amtrmlog.c: Use the hash
2694
2695 2016-05-16 Jean-Louis Martineau <JMartineau@carbonite.com>
2696 * server-src/driverio.h (chunker_t, wtaper_t): sendresult is a
2697 gboolean
2698 * server-src/driver.c: Fix sending the result to taper twice
2699
2700 2016-05-12 Jean-Louis Martineau <JMartineau@carbonite.com>
2701 * man/xml-source/amanda-scripts.7.xml: Add notes on how to abort a
2702 backup with exit status != 0
2703
2704 2016-05-12 Jean-Louis Martineau <JMartineau@carbonite.com>
2705 * installcheck/pp-scripts.pl: Use $dbgdir
2706
2707 2016-05-12 Jean-Louis Martineau <JMartineau@carbonite.com>
2708 * installcheck/Installcheck/Rest.pm (cleanup_for_amdump): Clean
2709 $body->[0]{report}{head}->{hostname}
2710 * installcheck/pp-scripts.pl: hostname is undef
2711
2712 2016-05-11 Jean-Louis Martineau <JMartineau@carbonite.com>
2713 * application-src/Makefile.am (applicationexec_SCRIPTS_SHELL): Add
2714 script-fail
2715 * application-src/script-fail.sh: New script that always fail (for
2716 testing)
2717 * installcheck/Installcheck/Rest.pm (cleanup_for_amdump): New function
2718 to cleanup result for a report
2719 * installcheck/pp-scripts.pl: Check failing scripts
2720
2721 2016-05-11 Jean-Louis Martineau <JMartineau@carbonite.com>
2722 * server-src/holding.c: Accept level up to DUMP_LEVELS
2723
2724 2016-05-11 Jean-Louis Martineau <JMartineau@carbonite.com>
2725 * client-src/sendbackup.c: Fix delay in waiting for application
2726
2727 2016-05-11 Jean-Louis Martineau <JMartineau@carbonite.com>
2728 * client-src/client_util.c: Improve parsing of estimate scripts
2729 * client-src/sendsize.c: Fail estimate if script fail
2730 * server-src/planner.c: continue parsing after ERROR line
2731
2732 2016-05-10 Jean-Louis Martineau <JMartineau@carbonite.com>
2733 * installcheck/amgtar.pl: Fix path
2734
2735 2016-05-10 Jean-Louis Martineau <JMartineau@carbonite.com>
2736 * installcheck/amgtar.pl: Fix path
2737 * installcheck/amstar.pl: Add a STAR-TARDUMP property
2738
2739 2016-05-10 Jean-Louis Martineau <JMartineau@carbonite.com>
2740 * application-src/ambsdtar.c, application-src/amgtar.c
2741 application-src/amstar.c: Define a AM_ERROR_RE
2742 * client-src/client_util.c (build_re_table): Keep DMP_ERROR
2743 * config/amanda/userid.m4: AC_SUBST(SINGLE_USERID)
2744 * perl/Amanda/Constants.pm.in.src: Add $SINGLE_USERID
2745 * installcheck/Installcheck/Application.pm: Parse negative size
2746 * installcheck/ambsdtar.pl, installcheck/amgtar.pl,
2747 installcheck/amstar.pl: Resultdifer if $SINGLE_USERID is set
2748
2749 2016-05-09 Jean-Louis Martineau <JMartineau@carbonite.com>
2750 * application-src/ambsdtar.c: selfcheck output is JSON, improve error
2751 reporting
2752 * application-src/amgtar.c: Improve error reporting
2753 * application-src/amstar.c: selfcheck output is JSON, improve error
2754 reporting
2755 * client-src/client_util.c: Fix error reporting
2756 * client-src/sendbackup.c: Fix error reporting
2757 * common-src/ammessage.c: Add messages from amstar and ambsdtar
2758 * installcheck/Installcheck/Application.pm: Fix to get error
2759 * installcheck/Makefile.am (client_tests): Add amstar
2760 * installcheck/ambsdtar.pl: Add new checks
2761 * installcheck/amgtar.pl: Add new checks
2762 * installcheck/amstar.pl: New file to check amstar behaviour
2763
2764 2016-05-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2765 * perl/Amanda/Extract.pm (BSU): Fix for non-application
2766 * perl/Amanda/FetchDump.pm: Add message 3300005
2767 * perl/Amanda/FetchDump/Application.pm: Return a 3300005 message if it
2768 don't know how to extract the dump
2769 * perl/Amanda/Restore.pm: Fix
2770 * server-src/amfetchdump.pl: Check -O and --directory are not
2771 different
2772
2773 2016-05-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2774 * device-src/s3.c: Fix AWS4 auth-string
2775
2776 2016-05-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2777 * perl/Amanda/Status.pm: Set status of failed dle to inew status
2778 TERMINATED_*
2779
2780 2016-05-05 Jean-Louis Martineau <JMartineau@carbonite.com>
2781 * perl/Amanda/CheckDump.pm: Use Xfer::Dest::Null for destination when
2782 amanda don't know how to validate the dump
2783
2784 2016-05-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2785 * perl/Amanda/Tapelist.swg: Change RETENTION_NO string to
2786 'retention-no'
2787 * server-src/amtape.pl (inventory): Print the retention even if it is
2788 RETENTION_NO
2789 * installcheck/Amanda_Rest_Labels.pl,
2790 installcheck/Amanda_Rest_Storages.pl: Fix for 'retention-no' string
2791
2792 2016-05-04 Dustin J. Mitchell <dustin@mozilla.com>
2793 * man/xml-source/amanda-auth.7.xml: Improve doc
2794
2795 2016-05-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2796 * common-src/security-util.c: Break after the first callback
2797
2798 2016-05-04 Jean-Louis Martineau <JMartineau@carbonite.com>
2799 * server-src/tapefile.c: Use g_hash_table_destroy
2800
2801 2016-05-03 Jean-Louis Martineau <JMartineau@carbonite.com>
2802 * installcheck/Amanda_Xfer.pl: Sort the crcs
2803
2804 2016-05-03 Jean-Louis Martineau <JMartineau@carbonite.com>
2805 * client-src/client_util.c (run_client_scripts): return the exit
2806 status of the scripts
2807 * client-src/client_util.h (run_client_scripts): Change return type to
2808 int
2809 * client-src/sendbackup.c: Do not run the application if a
2810 PRE-DLE-BACKUP script failed
2811 * server-src/dumper.c: Fix hang
2812
2813 2016-05-03 Jean-Louis Martineau <JMartineau@carbonite.com>
2814 * installcheck/Amanda_Xfer.pl: 45 checks require the server
2815
2816 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2817 * amandad-src/amandad.c, server-src/amcheck.c, server-src/driver.c,
2818 server-src/dumper.c, server-src/planner.c,
2819 common-src/amservice.c: Call glib_init()
2820
2821 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2822 * common-src/security-util.h (sec_stream): Add event_id
2823 * common-src/security-util.c: Use event_id from sec_stream
2824
2825 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2826 * device-src/xfer-dest-taper-cacher.c, xfer-src/dest-buffer.c,
2827 xfer-src/dest-null.c, xfer-src/filter-crc.c, xfer-src/filter-xor.c
2828 (push_buffer_static_impl): The end is determined by either a NULL
2829 buffer or a len of 0
2830 * xfer-src/element-glue.c (pull_and_push_static): Call
2831 xfer_element_pull_buffer_static with a NULL buffer
2832
2833 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2834 * client-src/sendbackup.c: Remove duplicate g_thread_join
2835
2836 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2837 * config/amanda/amanda_configure.m4: AC_SEARCH_LIBS([shm_open], [rt])
2838
2839 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2840 * xfer-src/source-shm-ring.c: Add the file
2841
2842 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2843 * perl/Amanda/Status.pm: Fix for new shm-ring in protocol
2844
2845 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2846 client use shm-ring between sendbackup and amandad
2847 shm-ring is use between client and server if using the local auth
2848 * amandad-src/amandad.c: handle data stream in a shm-ring
2849 * amandad-src/amandad.h (g_option_t): Add data_shm_control_name
2850 * amandad-src/amandad_util.c (parse_g_options): Parse the shm-ring
2851 name
2852 * client-src/client_util.c: Remove debugging statement
2853 * client-src/sendbackup-dump.c: Compute crc, send data stream to a
2854 shm-ring
2855 * client-src/sendbackup-gnutar.c: Compute crc, send data stream to a
2856 shm-ring
2857 * client-src/sendbackup.c: send data stream to a shm-ring
2858 * client-src/sendbackup.h (handle_crc_thread,
2859 handle_crc_to_shm_ring_thread): Add prototypes
2860 * common-src/amfeatures.c: add
2861 fe_sendbackup_req_options_data_shm_control_name
2862 * common-src/amfeatures.h: add
2863 fe_sendbackup_req_options_data_shm_control_name
2864 * server-src/dumper.c: Can access data stream from a shm-ring
2865
2866 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2867 server use shm-ring beteeen dumper and chunker/taper
2868 Add new protocol between driver and dumper/chunker/taper
2869 * server-src/server_util.c (cmdstr): Add "SHM-WRITE", "SHM-DUMP",
2870 "SHM-NAME"
2871 * server-src/server_util.h (cmd_t): Add SHM_WRITE, SHM_DUMP, SHM_NAME
2872 * server-src/driver.c: Handle new protocol with dumper, chunker and
2873 taper
2874 * server-src/driverio.c: Send new command
2875 * server-src/dumper.c: Accept SHM_DUMP command
2876 * server-src/driverio.h (job_s):Add do_port_write
2877 * perl/Amanda/Chunker/Controller.pm: Accept SHM_WRITE command
2878 * perl/Amanda/Chunker/Protocol.pm (SHM_WRITE): Define it
2879 * perl/Amanda/Taper/Controller.pm: Accept SHM_WRITE command
2880 * perl/Amanda/Taper/Protocol.pm (SHM_WRITE): Define it
2881 * perl/Amanda/Taper/Scribe.pm: Various fix
2882 * perl/Amanda/Taper/Worker.pm: Handle SHM_WRITE
2883 * perl/Amanda/Xfer.swg: Add Amanda::Xfer::Source::ShmRing
2884 * installcheck/tape_action.pl: use amrandom and lexical taperscan
2885
2886 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2887 Add a security_stream_read_to_shm_ring function, it require many
2888 change in the internal structure of the security layer
2889 * common-src/bsd-security.c (bsd_stream_read_to_shm_ring_callback,
2890 bsd_stream_read_to_shm_ring): New function to implement
2891 security_stream_read_to_shm_ring
2892 * common-src/bsdtcp-security.c: Use tcpm_stream_read_to_shm_ring
2893 * common-src/bsdudp-security.c: Use tcpm_stream_read_to_shm_ring
2894 * common-src/krb5-security.c: Use tcpm_stream_read_to_shm_ring
2895 * common-src/local-security.c: Use tcpm_stream_read_to_shm_ring
2896 * common-src/rsh-security.c: Use tcpm_stream_read_to_shm_ring
2897 * common-src/ssh-security.c: Use tcpm_stream_read_to_shm_ring
2898 * common-src/ssl-security.c: Use tcpm_stream_read_to_shm_ring
2899 * common-src/security-util.c (tcpm_stream_read_to_shm_ring) Add
2900 fucntion
2901 * common-src/security-util.h (tcpm_stream_read_to_shm_ring) Add
2902 prototype
2903 * common-src/security.h (security_driver): Add stream_read_to_shm_ring
2904
2905 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2906 * device-src/xfer-dest-taper-cacher.c: Add the new push_buffer_static
2907 xfer mechanism
2908
2909 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2910 * device-src/xfer-dest-taper-splitter.c: Use the new mem-ring
2911 internally, Can use the new mem_ring and shm_ring as input
2912 * installcheck/Amanda_Xfer.pl: Fix check
2913
2914 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2915 * server-src/xfer-dest-holding.c: Use the new mem-ring internally,
2916 Can use the new mem_ring and shm_ring as input
2917
2918 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2919 * server-src/xfer-source-holding.c: Can use the new mem_ring and
2920 pull_buffer_static xfer mechanism
2921
2922 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2923 Add XFER_MECH_PULL_BUFFER_STATIC, XFER_MECH_PUSH_BUFFER_STATIC,
2924 XFER_MECH_MEM_RING and XFER_MECH_SHM_RING as new xfer mechanism
2925 * xfer-src/Makefile.am (libamxfer_la_SOURCES): Add source-shm-ring.c
2926 * xfer-src/amxfer.h: include "mem-ring.h" and "shm-ring.h"
2927 * xfer-src/dest-buffer.c: Add push_buffer_static_impl
2928 * xfer-src/dest-null.c: Add push_buffer_static_impl
2929 * xfer-src/element-glue.c
2930 * xfer-src/filter-crc.c: Add pull_buffer_static_impl and
2931 push_buffer_static_impl
2932 * xfer-src/filter-xor.c: Add pull_buffer_static_impl and
2933 push_buffer_static_impl
2934 * xfer-src/source-directtcp-connect.c: typo
2935 * xfer-src/source-directtcp-listen.c: typo
2936 * xfer-src/source-fd.c: typo
2937 * xfer-src/source-file.c: typo
2938 * xfer-src/source-pattern.c: Add pull_buffer_static_impl
2939 * xfer-src/source-random.c: Add pull_buffer_static_impl
2940 * xfer-src/source-shm-ring.c: New xfer source
2941 * xfer-src/xfer-element.c: Add various helper function
2942 * xfer-src/xfer-element.h (xfer_mech): Add the new xfer mechanism
2943 definition
2944 * xfer-src/xfer.c (xfer_mech_name): Print the new xfer name
2945
2946 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2947 Add the number of memory allocation by block in the xfer cost metric
2948 * xfer-src/xfer-element.h (XFER_NALLOC): New macro
2949 * xfer-src/xfer.c (PAIR_COST) Compute the new cost
2950 * device-src/xfer-dest-device.c, device-src/xfer-dest-taper-cacher.c,
2951 device-src/xfer-dest-taper-directtcp.c,
2952 device-src/xfer-dest-taper-splitter.c,
2953 device-src/xfer-source-device.c, device-src/xfer-source-recovery.c,
2954 server-src/xfer-dest-holding.c, server-src/xfer-source-holding.c,
2955 xfer-src/dest-application.c, xfer-src/dest-buffer.c,
2956 xfer-src/dest-directtcp-connect.c, xfer-src/dest-directtcp-listen.c,
2957 xfer-src/dest-fd.c, xfer-src/dest-null.c,
2958 xfer-src/element-glue.c, xfer-src/filter-crc.c,
2959 xfer-src/filter-process.c, xfer-src/filter-xor.c,
2960 xfer-src/source-directtcp-connect.c,
2961 xfer-src/source-directtcp-listen.c, xfer-src/source-fd.c,
2962 xfer-src/source-file.c, xfer-src/source-pattern.c,
2963 xfer-src/source-random.c,
2964 xfer-src/xfer-test.c: Add the new cost value
2965
2966 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2967 Add a shared memory ring
2968 * common-src/Makefile.am (libamanda_la_SOURCES): Add shm-ring.c
2969 * common-src/security.h: include "shm-ring.h"
2970 * common-src/shm-ring.c: New file
2971 * common-src/shm-ring.h: New header
2972
2973 2016-05-02 Jean-Louis Martineau <JMartineau@carbonite.com>
2974 Add a memory ring
2975 * common-src/Makefile.am (libamanda_la_SOURCES): Add mem-ring.c
2976 * common-src/mem-ring.c: New file
2977 * common-src/mem-ring.h: New header
2978
2979 2016-04-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2980 * server-src/server_util.c (putresult): Print the complete line in the
2981 debug file
2982
2983 2016-04-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2984 * amar-src/amarchiver.c: s/error/gerror/
2985
2986 2016-04-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2987 * common-src/ammessage.c: typo
2988 * device-src/s3-util.c: Fix buffer overflow
2989
2990 2016-04-29 Jean-Louis Martineau <JMartineau@carbonite.com>
2991 * perl/Amanda/Cmdfile.swg: Remove debugging statement
2992
2993 2016-04-26 Jean-Louis Martineau <JMartineau@carbonite.com>
2994 * client-src/sendbackup.c: Call application_api_info_tapeheader before
2995 closing statefd
2996
2997 2016-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
2998 * installcheck/tape_action.pl: Fix check
2999
3000 2016-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
3001 * common-src/file.c (areads_dataready): Check fd < 0
3002
3003 2016-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
3004 * recover-src/extract_list.c: Remove debugging statement
3005
3006 2016-04-25 Jean-Louis Martineau <JMartineau@carbonite.com>
3007 * common-src/file.c (areads_dataready): Also use select to find if
3008 something can be read
3009 * server-src/server_util.c (getcmd): Use areads instead of agets
3010 * server-src/server_util.c (get_pending_cmd): Call areads_dataready
3011
3012 2016-04-21 Jean-Louis Martineau <JMartineau@carbonite.com>
3013 * application-src/amrandom.pl: A new application that generate a
3014 random backup, useful for testing
3015 * application-src/Makefile.am (SCRIPTS_PERL): Add amrandom
3016
3017 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3018 * installcheck/pp-scripts.pl: Print more info on failure
3019
3020 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3021 * installcheck/tape_action.pl: Open a debug file
3022
3023 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3024 * server-src/diskfile.c (get_disklist): New function
3025 * server-src/diskfile.h (get_disklist): prototype
3026
3027 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3028 * server-src/tapefile.c (compute_retention): Fix if a dle is not in
3029 the disklist
3030
3031 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3032 * server-src/amstatus.pl: typo
3033
3034 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3035 * installcheck/Amanda_ClientService.pl: Fix for new DATA_FD_OFFSET
3036 value
3037
3038 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3039 * common-src/amanda.h, perl/Amanda/Constants.pm.in.src:Increase
3040 DATA_FD_OFFSET to 150, it allow more paralled backup with bsd or
3041 bsdudp auth
3042
3043 2016-04-19 Jean-Louis Martineau <JMartineau@carbonite.com>
3044 * application-src/amgtar.c: Compare unescaped filename with the DAR
3045 state file
3046
3047 2016-04-15 Jean-Louis Martineau <JMartineau@carbonite.com>
3048 * common-src/security-util.c (sec_tcp_conn_read_callback): do not free
3049 rc
3050
3051 2016-04-15 Jean-Louis Martineau <JMartineau@carbonite.com>
3052 * installcheck/tape_action.pl: Fix test
3053
3054 2016-04-14 Jean-Louis Martineau <JMartineau@carbonite.com>
3055 * server-src/planner.c (promote_highest_priority_incremental): Was not
3056 promote the correct ep (possible infinite loop)
3057
3058 2016-04-13 Jean-Louis Martineau <JMartineau@carbonite.com>
3059 * common-src/amutil.c (split_quoted_strings_for_amstatus): New
3060 function to parse a line for Amanda::Status
3061 * common-src/amutil.h (split_quoted_strings_for_amstatus): Add
3062 protoype
3063 * perl/Amanda/Util.swg:Swig split_quoted_strings_for_amstatus
3064 * perl/Amanda/Status.pm: Use split_quoted_strings_for_amstatus
3065
3066 2016-04-12 Jean-Louis Martineau <JMartineau@carbonite.com>
3067 * packaging/deb/amanda-backup-client.install,
3068 packaging/deb/amanda-backup-server.install: Add etc/amanda/*
3069
3070 2016-04-12 Jean-Louis Martineau <JMartineau@carbonite.com>
3071 * server-src/driver.c (tape_action): Fix for parallel taper
3072
3073 2016-04-12 Jean-Louis Martineau <JMartineau@carbonite.com>
3074 * perl/Amanda/Status.pm: Fix worker status
3075
3076 2016-04-12 Jean-Louis Martineau <JMartineau@carbonite.com>
3077 * Allow multiple connections to a client with different auth
3078
3079 2016-04-11 Jean-Louis Martineau <JMartineau@carbonite.com>
3080 * installcheck/Makefile.am: Typo
3081
3082 2016-04-11 Jean-Louis Martineau <JMartineau@carbonite.com>
3083 * perl/Amanda/Report/human.pm: Remove multiple output line
3084 * server-src/driver.c: Fix after a TRY-AGAIN
3085 * installcheck/Makefile.am: Add catalogs/dumper-tryagain.cat
3086 * installcheck/amreport.pl: Add check for dumper-tryagain.cat
3087 * installcheck/catalogs/tapers.cat: Fix for new output
3088 * installcheck/catalogs/dumper-tryagain.cat: New test case
3089
3090 2016-04-08 Jean-Louis Martineau <JMartineau@carbonite.com>
3091 * common-src/amcrc32chw.c: Add fall through comment
3092
3093 2016-04-08 Jean-Louis Martineau <JMartineau@carbonite.com>
3094 * common-src/event.c (fire): Allow for NULL callback
3095
3096 2016-04-08 Jean-Louis Martineau <JMartineau@carbonite.com>
3097 * device-src/tape-device.c: improve error message on write fail
3098
3099 2016-04-07 Jean-Louis Martineau <JMartineau@carbonite.com>
3100 * server-src/planner.c: Remove for startq
3101
3102 2016-03-31 Jean-Louis Martineau <JMartineau@carbonite.com>
3103 * application-src/ambsdtar.c: use bsdtar_realpath
3104
3105 2016-03-31 Jean-Louis Martineau <JMartineau@carbonite.com>
3106 * config/amanda/syshacks.m4: accept *-apple-darwin*
3107 * common-src/conffile.c, common-src/conffile.h, common-src/match.c,
3108 common-src/match.h, perl/Amanda/Config.swg, perl/Amanda/Util.swg,
3109 server-src/amadmin.c, server-src/amcheck.c, server-src/planner.c,
3110 server-src/tapefile.c: s/labeltsr_t/labelstr_s/ and
3111 s/policy_t/policy_s/g because they are defined on OSX
3112
3113 2016-03-30 Jean-Louis Martineau <JMartineau@carbonite.com>
3114 * recover-src/extract_list.c: Use property from header instead of from
3115 disklist
3116
3117 2016-03-28 Jean-Louis Martineau <JMartineau@carbonite.com>
3118 * installcheck/Amanda_Xfer.pl: Validate CRC and part size
3119
3120 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3121 * NEWS: Add new amadmin command and amtape inventory result
3122
3123 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3124 * perl/Amanda/Rest/Labels.pm: Add the RentetionType in result
3125 * perl/Amanda/Rest/Storages.pm: Add the RentetionType in result
3126 * installcheck/Amanda_Rest_Labels.pl,
3127 installcheck/Amanda_Rest_Storages.pl: Fix for new result
3128
3129 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3130 * server-src/amtape.pl: Add the RetentionType in the inventory result
3131
3132 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3133 * server-src/amadmin.c: Add retention command
3134 * server-src/amadmin_perl.pl: Implement retention command
3135 * man/xml-source/amadmin.8.xml: Document retention command
3136
3137 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3138 * perl/Amanda/Taper/Worker.pm: Typo
3139
3140 2016-03-22 Jean-Louis Martineau <JMartineau@carbonite.com>
3141 * server-src/tapefile.h (tape_t): Add the RetentionType
3142 * server-src/tapefile.c: Comupte the RetentionType
3143 * perl/Amanda/Tapelist.swg: Swig the RetentionType
3144
3145 2016-03-21 Jean-Louis Martineau <JMartineau@carbonite.com>
3146 * perl/Amanda/Taper/Worker.pm (scribe_notif_new_tape): Check for no
3147 error
3148
3149 2016-03-21 Jean-Louis Martineau <JMartineau@carbonite.com>
3150 * device-src/vfs-device.c: Return some error instead of just logging a
3151 warning
3152
3153 2016-03-18 Jean-Louis Martineau <JMartineau@carbonite.com>
3154 * xfer-src/element-glue.c (do_directtcp_accept): Increase timeout to
3155 840
3156
3157 2016-03-18 Jean-Louis Martineau <JMartineau@carbonite.com>
3158 Add RESTORE command in the cmdfile
3159 * man/xml-source/amfetchdump.8.xml: Document new --reserve-tapes and
3160 --release-tapes options
3161 * perl/Amanda/Cmdfile.swg: Add CMD_RESTORE
3162 * perl/Amanda/DB/Catalog.pm: Get the pool fromthe find result
3163 * perl/Amanda/FetchDump.pm: Add release-tapes and reserve-tapes
3164 * perl/Amanda/Recovery/Planner.pm: Add the pool
3165 * perl/Amanda/Restore.pm: Handle release-tapes and reserve-tapes
3166 * server-src/amfetchdump.pl: New --release-tapes and --reserve-tapes
3167 options
3168 * server-src/cmdfile.c: Add CMD_RESTORE
3169 * server-src/cmdfile.h: Add CMD_RESTORE
3170 * server-src/find.h (find_result_t): Add pool in the struct
3171 * server-src/tapefile.c: Compute retention for CMD_RESTORE command
3172
3173 2016-03-18 Jean-Louis Martineau <JMartineau@carbonite.com>
3174 Add "POOL:pool" to many taper log lines
3175 * perl/Amanda/DB/Catalog.pm: Parse POOL:pool
3176 * perl/Amanda/Logfile.swg: Add pool
3177 * perl/Amanda/Report.pm: Parse POOL:pool
3178 * perl/Amanda/Taper/Worker.pm: Add "POOL:pool" to many taper log lines
3179 * server-src/find.c: Parse POOL:pool
3180 * installcheck/Amanda_Report.pl, installcheck/Amanda_Rest_Dumps.pl,
3181 installcheck/Installcheck/Catalogs.pm, installcheck/taper.pl: Fix
3182
3183 2016-03-18 Jean-Louis Martineau <JMartineau@carbonite.com>
3184 * perl/Amanda/Changer.pm (Reservation::set_device_error): New method
3185 * perl/Amanda/Changer/aggregate.pm (set_device_error): New method
3186 * perl/Amanda/Changer/multi.pm (set_device_error): New method
3187 * perl/Amanda/Changer/robot.pm (set_device_error): New method
3188 * perl/Amanda/ScanInventory.pm: Use a global seen hash
3189 * perl/Amanda/Taper/Scan/lexical.pm,
3190 perl/Amanda/Taper/Scan/oldest.pm: Samll fix
3191 * perl/Amanda/Taper/Scribe.pm: Call $reservation->set_device_error
3192 * installcheck/Amanda_Taper_Scan_lexical.pl,
3193 installcheck/Amanda_Taper_Scan_oldest.pl,
3194 installcheck/taper.pl: Fix test
3195
3196 2016-03-17 Jean-Louis Martineau <JMartineau@carbonite.com>
3197 * installcheck/Makefile.am (catalogs): Add catalogs/tapers.cat and
3198 catalogs/tapers1.cat
3199
3200 2016-03-14 Jean-Louis Martineau <JMartineau@carbonite.com>
3201 * common-src/ammessage.c: Fix parsing of NULL, true or false value
3202
3203 2016-03-14 Jean-Louis Martineau <JMartineau@carbonite.com>
3204 * perl/Amanda/Report/human.pm: Fix compression for partial result
3205 * installcheck/amreport.pl: Check partial result
3206 * installcheck/catalogs/tapers1.cat,
3207 installcheck/catalogs/tapers.cat: New catalogs to check taper
3208 partial result
3209 * installcheck/catalogs/taperr.cat: Typo
3210
3211 2016-03-01 Jean-Louis Martineau <JMartineau@carbonite.com>
3212 * perl/Amanda/ScanInventory.pm: A no-reuse is not a new labelled tape
3213 * installcheck/Amanda_Taper_Scan_lexical.pl,
3214 installcheck/Amanda_Taper_Scan_oldest.pl,
3215 installcheck/Amanda_Taper_Scan_traditional.pl: Add check
3216
3217 2016-02-29 Jean-Louis Martineau <JMartineau@carbonite.com>
3218 * installcheck/Amanda_Rest_Runs.pl: Fix for Report/json.pm fix
3219
3220 2016-02-29 Jean-Louis Martineau <JMartineau@carbonite.com>
3221 * server-src/driver.c: fix for last dle span two tapes
3222 * device-src/vfs-device.c: Add a SLOW-WRITE property (for testing)
3223 * device-src/vfs-device.h: Add a SLOW-WRITE property (for testing)
3224 * installcheck/Installcheck/Config.pm (rm_param): New fucntion
3225 * installcheck/Installcheck/Run.pm (clean_taperoot: New function
3226 * installcheck/Makefile.am: Add tape_action
3227 * installcheck/tape_action.pl: New installcheck script to check the
3228 tape_action function
3229
3230 2016-02-29 Jean-Louis Martineau <JMartineau@carbonite.com>
3231 Patch by Micheal Burk
3232 * perl/Amanda/Report/json.pm: fixup
3233
3234 2016-02-25 Jean-Louis Martineau <martineau@zmanda.com>
3235 * all files: Update copyright notice
3236
3237 2016-02-24 Jean-Louis Martineau <martineau@zmanda.com>
3238 * config/libtool.m4: Fix for x86_64
3239 * contrib/libtool-for-x86_64.diff: Copy of the patch
3240
3241 2016-02-22 Jean-Louis Martineau <martineau@zmanda.com>
3242 * installcheck/amstatus.pl: Test number printing
3243 * installcheck/Makefile.am: Add catalogs/number.cat
3244 * installcheck/catalogs/number.cat: New catalog file for testing
3245 number
3246
3247 2016-02-22 Jean-Louis Martineau <martineau@zmanda.com>
3248 * device-src/s3-device.c: Give and error if MAX-RECV-SPEED or
3249 MAX-SEND-SPEED is below 5120
3250 * man/xml-source/amanda-devices.7.xml: Document the minimum value for
3251 MAX-RECV-SPEED and MAX-SEND-SPEED
3252
3253 2016-02-22 Jean-Louis Martineau <martineau@zmanda.com>
3254 * man/xml-source/amanda-security.conf.5.xml: Document permissions
3255
3256 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3257 * amandad-src/amandad.c: Add SERVICE_AMBACKUPD
3258 * client-src/Makefile.am: Add ambackup
3259 * client-src/ambackup.pl: New client program to start a backup
3260 * man/Makefile.am: Add ambackup.8
3261 * man/xml-source/ambackup.8.xml: New man page
3262 * perl/Amanda/Logfile.swg: Add P_AMBACKUPD
3263 * perl/Amanda/Message.pm: Add message id for ambackupd
3264 * perl/Amanda/Report.pm: Handle ambackupd run
3265 * server-src/Makefile.am: Add ambackupd
3266 * server-src/ambackupd.pl: New server service to allow ambackup to run
3267 a backup
3268 * server-src/amreport.pl: Handle ambackupd run
3269 * server-src/logfile.c: Add ambackupd
3270 * server-src/logfile.h: Add P_AMBACKUPD
3271
3272 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3273 * perl/Amanda/Curinfo/Info.pm (update_dumper): New function
3274
3275 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3276 * amandad-src/amandad.c: Send P_NAK with ERRIR message on some error
3277
3278 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3279 * perl/Amanda/Holding.pm (filetmp_chunks): Renamed from
3280 file_tmp_chunks
3281
3282 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3283 * perl/Amanda/Chunker/Scribe.pm: Fix pod
3284
3285 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3286 * server-src/amindexd.c: Check recovery-limit
3287
3288 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3289 * recover-src/amrecover.c (server_warning): New function
3290 * recover-src/amrecover.h (server_warning): Add prototype
3291 * recover-src/set_commands.c: Use server_warning()
3292
3293 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3294 * client-src/sendbackup.c: Fix
3295 * client-src/selfcheck.c: Fix
3296
3297 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3298 * common-src/ssl-security.c: s/remote_port/client_port/
3299
3300 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3301 * client-src/amdump_client.pl: Remove printing the config
3302 * installcheck/amdump_client.pl: Fix
3303
3304 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3305 * perl/Amanda/Report/human.pm: Improve output
3306 * installcheck/catalogs/bigestimate.cat,
3307 installcheck/catalogs/doublefailure.cat,
3308 installcheck/catalogs/longstrange.cat,
3309 installcheck/catalogs/resultsmissing.cat,
3310 installcheck/catalogs/retried-nofinish.cat,
3311 installcheck/catalogs/retried.cat,
3312 installcheck/catalogs/shortstrange.cat,
3313 installcheck/catalogs/skipped.cat: Fix for report change
3314
3315 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3316 * xfer-src/source-file.c: Cleanup
3317 * xfer-src/xmsg.h: Fix comment
3318
3319 2016-02-17 Jean-Louis Martineau <martineau@zmanda.com>
3320 * common-src/security-util.c: Fix hang if receive partial packet from
3321 network
3322
3323 2016-02-16 Jean-Louis Martineau <martineau@zmanda.com>
3324 * perl/Amanda/Status.pm, perl/Amanda/Taper/Scribe.pm,
3325 server-src/driver.c: s/writting/writing/g
3326
3327 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3328 * client-src/sendbackup-gnutar.c, client-src/sendsize.c: Init mlist
3329 to NULL
3330
3331 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3332 * config/amanda/amanda_configure.m4 (AM_INIT_AUTOMAKE): Add
3333 subdir-objects
3334 * amandad-src/Makefile.am, amar-src/Makefile.am,
3335 application-src/Makefile.am, client-src/Makefile.am,
3336 common-src/Makefile.am, device-src/Makefile.am,
3337 installcheck/Makefile.am, ndmp-src/Makefile.am,
3338 oldrecover-src/Makefile.am, perl/Makefile.am,
3339 perl/amglue/Makefile.am, po/Makefile.am,
3340 recover-src/Makefile.am, server-src/Makefile.am,
3341 xfer-src/Makefile.am: Cleanup
3342 s/INCLUDES/AM_CPPFLAGS/
3343 s/mkdir_p/MKDIR_P/
3344
3345 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3346 * config/ar-lib: Add file
3347
3348 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3349 * common-src/ammessage.h (messagelist_t): New typedef for a GSList of
3350 messages
3351 * common-src/ammessage.c: Add messages
3352 * client-src/client_util.c (build_exclude, build_include): return a
3353 messagelist_t instead of printing error
3354 * client-src/client_util.c (build_exclude, build_include): Change
3355 prototype
3356 * application-src/ambsdtar.c, application-src/amgtar.c,
3357 client-src/selfcheck.c, client-src/sendbackup-gnutar.c,
3358 client-src/sendsize.c: Print messages from build_exclude and
3359 build_include
3360 * perl/Amanda/CheckDump.pm (); return undef on success
3361
3362 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3363 * gnulib/Makefile.am: Remove regenerate.swp
3364
3365 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3366 * config/gnulib/*, config/snipset/*, gnulib/*: Upgrade to gnulib
3367 cd9ecca8812571fc443688d11148f2768ededfa4
3368
3369 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3370 * application-src/amgtar.c, server-src/amindexd.c: Check result of
3371 fopen()
3372
3373 2016-02-11 Jean-Louis Martineau <martineau@zmanda.com>
3374 * configure.ac: Renamed from configure.in
3375 * configure.in: Renamed to configure.ac
3376 * config/amanda/i18n.m4, config/amanda/progs.m4,
3377 config/compile, config/config.guess,
3378 config/macro-archive/ac_prog_swig.m4, packaging/README,
3379 packaging/rpm/buildpkg: s/configure.in/configure.ac/
3380
3381 2016-02-09 Jean-Louis Martineau <martineau@zmanda.com>
3382 * installcheck/amgetconf.pl: s/unknown/Unknown/
3383
3384 2016-02-09 Jean-Louis Martineau <martineau@zmanda.com>
3385 * installcheck/amgetconf.pl: Test the result of 'amgetconf --platform'
3386 and 'amgetconf --distro' are not "unknown"
3387
3388 2016-02-09 Jean-Louis Martineau <martineau@zmanda.com>
3389 * common-src/amutil.c (get_platform_and_distro, get_platform,
3390 get_distro): New functions toreturn platform and distro
3391 * common-src/amutil.h (get_platform_and_distro, get_platform,
3392 get_distro): Add prototypes
3393 * client-src/selfcheck.c: Use get_platform_and_distro()
3394 * common-src/amgetconf.pl: Add --platform and --distro arguments
3395 * man/xml-source/amgetconf.8.xml: Document --platform and --distro
3396 * perl/Amanda/Util.swg: Swig get_platform and get_distro
3397 * NEWS: Add new --platform and --distro argument of amgetconf
3398
3399 2016-02-08 Jean-Louis Martineau <martineau@zmanda.com>
3400 * perl/Amanda/Status.pm: Fix for taper FAILED
3401 * perl/Amanda/Taper/Worker.pm: Wait to get the device before checking
3402 if it support the requested data_path
3403 * server-src/driver.c: Fix reporting
3404 * server-src/driver.c: Use any idle wtaper
3405 * server-src/dumper.c: Do not send the header to the taper until some
3406 data is received
3407
3408 2016-02-05 Jean-Louis Martineau <martineau@zmanda.com>
3409 * config/libtool.m4, config/ltmain.sh, config/ltoptions.m4,
3410 config/ltsugar.m4, config/ltversion.m4,
3411 config/lt~obsolete.m4: Upgrade lintool to 2.4.6
3412
3413 2016-02-05 Jean-Louis Martineau <martineau@zmanda.com>
3414 * application-src/ambsdtar.c, application-src/amgtar.c,
3415 application-src/amstar.c (*_backup): Send message to mesgstream
3416
3417 2016-02-04 Jean-Louis Martineau <martineau@zmanda.com>
3418 * common-src/Makefile.am: s/CFLAGS/AM_CFLAGS/
3419
3420 2016-02-04 Jean-Louis Martineau <martineau@zmanda.com>
3421 * man/xml-source/amfetchdump.8.xml: Add --run-client-scripts
3422
3423 2016-02-04 Jean-Louis Martineau <martineau@zmanda.com>
3424 * config/amanda/defaults.m4: Add --with-security-file configure option
3425 * common-src/ammessage.c: Improve messages
3426 * common-src/security-file.c: Use DEFAULT_SECURITY_FILE, check the
3427 path is secure
3428 * common-src/security-file.h (check_security_file_permission): Remove
3429 * NEWS, ReleaseNotes: Add --with-security-file configure option
3430
3431 2016-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3432 * client-src/client_util.c: Do not use gnuish of realpath
3433
3434 2016-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3435 * config/amanda/dumpers.m4: Use AM_READLINK
3436 * config/amanda/progs.m4: Verify that $READLINK is what we want and
3437 set AM_READLINK
3438
3439 2016-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3440 * server-src/amstatus.pl: Fix for 32 bits perl
3441
3442 2016-02-02 Jean-Louis Martineau <martineau@zmanda.com>
3443 * common-src/ammessage.c: Fix for errno in message
3444 * installcheck/Amanda_Rest_Services_senddiscover_amgtar.pl,
3445 installcheck/Amanda_Rest_Amcheck.pl: Fix
3446 * man/xml-source/amssl.8.xml: Improve documentation
3447
3448 2016-02-01 Jean-Louis Martineau <martineau@zmanda.com>
3449 * common-src/amutil.c: Fix for automatic test
3450
3451 2016-02-01 Jean-Louis Martineau <martineau@zmanda.com>
3452 * client-src/client_util.c, common-src/amutil.c,
3453 xfer-src/xfer-test.c: Fix bug found by coverity
3454
3455 2016-02-01 Jean-Louis Martineau <martineau@zmanda.com>
3456 * common-src/security-file.c: Fix small memory leak
3457
3458 2016-01-29 Jean-Louis Martineau <martineau@zmanda.com>
3459 * config/amanda/amanda_configure.m4: Invoke AMANDA_PROG_READLINK
3460 * config/amanda/dumpers.m4: use READLINK if REALPATH is not available
3461 * config/amanda/progs.m4: Find readlink
3462
3463 2016-01-29 Jean-Louis Martineau <martineau@zmanda.com>
3464 * common-src/make_security_file.c: Print '='
3465
3466 2016-01-29 Jean-Louis Martineau <martineau@zmanda.com>
3467 * Improve reporting of security message
3468
3469 2016-01-28 Jean-Louis Martineau <martineau@zmanda.com>
3470 * NEWS: Change in 3.3.9
3471 * ReleaseNotes: Change in 3.3.9
3472
3473 2016-01-27 Jean-Louis Martineau <martineau@zmanda.com>
3474 * packaging/rpm/amanda.spec.src: Use 'mkdirp -p'
3475
3476 2016-01-27 Jean-Louis Martineau <martineau@zmanda.com>
3477 * common-src/Makefile.am (EXTRA_DIST): Remove
3478 * recover-src/Makefile.am (EXTRA_DIST): Add uscan.c
3479
3480 2016-01-26 Jean-Louis Martineau <martineau@zmanda.com>
3481 * common-src/security-file.c: s/g_strcmp0/strcmp/
3482 * man/xml-source/amanda.8.xml: Add amanda-security.conf
3483
3484 2016-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3485 * common-src/Makefile.am (EXTRA_DIST): Add make_security_file.c
3486 * common-src/make_security_file.c: Typo
3487
3488 2016-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3489 * common-src/security-file.c: Fix security
3490 * installcheck/ambsdtar.pl, installcheck/amgtar.pl: Fix for non-root
3491
3492 2016-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3493 * client-src/client_util.c: Check for SINGLE_USERID
3494 * common-src/Makefile.am: Install example amanda-security.conf in
3495 CONFIG_DIR
3496
3497 2016-01-25 Jean-Louis Martineau <martineau@zmanda.com>
3498 * Add a /etc/amanda-security.conf file
3499
3500 2016-01-22 Jean-Louis Martineau <martineau@zmanda.com>
3501 * application-src/ambsdtar.c, application-src/amgtar.c,
3502 application-src/amstar.c: Filter option from COMMAND-OPTIONS
3503 * common-src/ammessage.c: Add message
3504
3505 2016-01-22 Jean-Louis Martineau <martineau@zmanda.com>
3506 * client-src/client_util.c (check_exec_for_suid_message,
3507 check_exec_for_suid): New functions to verify a binary is secure
3508 * client-src/client_util.h(check_exec_for_suid_message,
3509 check_exec_for_suid): Add prototypes
3510 * application-src/ambsdtar.c, application-src/amgtar.c,
3511 application-src/amstar.c, client-src/runtar.c: Call
3512 check_exec_for_suid* before running a binary as root
3513 * common-src/ammessage.c: Add messages
3514 * installcheck/ambsdtar.pl: Fix check
3515 * installcheck/amgtar.pl: Fix check
3516
3517 2016-01-22 Jean-Louis Martineau <martineau@zmanda.com>
3518 * client-src/runtar.c: Filter tar arguments
3519 * installcheck/runtar.pl: Check runtar errorr
3520 * installcheck/Makefile.am: Add runtar.pl
3521
3522 2016-01-19 Jean-Louis Martineau <martineau@zmanda.com>
3523 * recover-src/set_commands.c (set_host): Correctly setdump_hostname
3524 when the input is quoted with double quote
3525
3526 2016-01-19 Jean-Louis Martineau <martineau@zmanda.com>
3527 * config/set_full_version: Fix for new URL path
3528
3529 2016-01-19 Jean-Louis Martineau <martineau@zmanda.com>
3530 * NEWS: Typo
3531 * ReleaseNotes: Typo
3532
3533 2016-01-19 Jean-Louis Martineau <martineau@zmanda.com>
3534 * NEWS: Change in 3.3.8
3535 * ReleaseNotes: Change in 3.3.8
3536
3537 2015-12-10 Xu Han <xhan@carbonite.com>
3538 * packaging/common/post_inst_functions.sh: Adding the correct
3539 Amanda sbin path to Solaris Amandabackup user profile file
3540
3541 2015-12-09 Jean-Louis Martineau <martineau@zmanda.com>
3542 * ndmp-src/ndma_tape.c (ndmta_read_quantum): Fix setting
3543 ta->mover_state.record_num
3544
3545 2015-12-09 Jean-Louis Martineau <martineau@zmanda.com>
3546 * client-src/sendbackup.c: Fir debugging message
3547 * common-src/glib-util.c: Improve error message
3548 * perl/Amanda/Extract.pm: Fix in error path
3549
3550 2015-12-09 Jean-Louis Martineau <martineau@zmanda.com>
3551 * application-src/amlog-script.pl, application-src/ampgsql.pl,
3552 application-src/amraw.pl, application-src/amsamba.pl,
3553 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
3554 application-src/amzfs-snapshot.pl,
3555 application-src/script-email.pl: Log the arguments
3556
3557 2015-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3558 * server-src/dumper.c: Change message
3559
3560 2015-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3561 * recover-src/amrecover.c: Use the amanda-client.conf hostname setting
3562
3563 2015-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3564 * common-src/conffile.c: Add amanda-client 'hostname' global setting
3565 * common-src/conffile.h: Add CNF_HOSTNAME
3566 * perl/Amanda/Config.swg: Add CNF_HOSTNAME
3567 * man/xml-source/amanda-client.conf.5.xml: Document hostname
3568
3569 2015-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3570 * server-src/dumper.c: Use getstatefname()
3571
3572 2015-12-04 Jean-Louis Martineau <martineau@zmanda.com>
3573 * common-src/amutil.c (get_fsusage): New function to the filesystem
3574 usage
3575 * common-src/amutil.h (get_fsusage): Add prototype.
3576 common-src/amxml.c: Cleanup
3577 * server-src/diskfile.c (xml_optionstr_disk, xml_estimate_disk,
3578 xml_application_disk): New functions to return anxnl string
3579 * server-src/diskfile.h (xml_optionstr_disk, xml_estimate_disk,
3580 xml_application_disk): Add prototypes
3581 * perl/Amanda/Disklist.swg (xml_optionstr_disk, xml_application_disk,
3582 xml_estimate_disk): Swig these functions
3583 * perl/Amanda/Logfile.swg (log_start_multiline, log_end_multiline):
3584 Swig these functions
3585 * perl/Amanda/Util.swg (amxml_format_tag, get_fsusage,
3586 get_time_from_timestamp): Swig these functions
3587
3588 2015-12-ouis Martineau <martineau@zmanda.com>
3589 * common-src/amfeatures.h: Add fe_restore_prev_next_level
3590 * common-src/amfeatures.c: Add fe_restore_prev_next_level
3591 * server-src/amfetchdump.pl: Add --prev-level and --next-level
3592 arguments
3593 * man/xml-source/amfetchdump.8.xml: Document --prev-level and
3594 --next-level argument
3595 * perl/Amanda/Extract.pm (run_scripts): New method to run scripts
3596 * perl/Amanda/FetchDump.pm: Keep copy of prev-level and next-level
3597 * perl/Amanda/FetchDump/Application.pm: Fix race
3598 * perl/Amanda/FetchDump/ClientApplication.pm: Send PREV-NEXT-LEVEL to
3599 client, fix race
3600 * perl/Amanda/Restore.pm: Call feedback run_pre_scripts and
3601 run_post_scripts
3602 * perl/Amanda/Service/Restore.pm: Get PREV-NEXT-LEVEL from server,
3603 call $extract->run_scripts() to run the scrips
3604
3605 2015-11-30 Jean-Louis Martineau <martineau@zmanda.com>
3606 * common-src/amfeatures.h (fe_restore_include,
3607 fe_restore_include_glob, fe_restore_exclude,
3608 fe_restore_exclude_glob): New amfeature to send include/exclude to
3609 the restore service
3610 * common-src/amfeatures.c: Add new amfeature
3611 * server-src/amfetchdump.pl: New arguments: --include-file,
3612 --include-list, --include-list-glob, --exclude-file, --exclude-list,
3613 --exclude-list-glob
3614 * man/xml-source/amfetchdump.8.xml: Document new arguments.
3615 * perl/Amanda/Extract.pm: Add the various include/exclude arguments to
3616 the restore_argv
3617 * perl/Amanda/FetchDump.pm: Keep local copy of the include/exclude
3618 arguments
3619 * perl/Amanda/FetchDump/Application.pm: Pass the include/exclude
3620 arguments to the Extract module
3621 * perl/Amanda/FetchDump/ClientApplication.pm: Send include/exclude
3622 arguments to the restore service
3623 * perl/Amanda/Service/Restore.pm: Get include/exclude from the server,
3624 Pass them to the Extract module
3625
3626 2015-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3627 * perl/Amanda/Restore.pm: Fix typo
3628
3629 2015-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3630 * perl/Amanda/Restore.pm: Fix Message handling
3631
3632 2015-11-27 Jean-Louis Martineau <martineau@zmanda.com>
3633 * server-src/amindex.c (getstatefname): New functionto return the name
3634 of the state file
3635 * server-src/amindex.h (getstatefname): Add prototype
3636 * perl/Amanda/Logfile.swg: swig getstatefname
3637 * perl/Amanda/Extract.pm: Get the state file name as argument
3638 * perl/Amanda/FetchDump/Application.pm (transmit_state_file):
3639 Uncompress de state file is required
3640 * perl/Amanda/FetchDump/ClientApplication.pm: Use getstatefname and
3641 some fix
3642 * perl/Amanda/Restore.pm: Call start_read_dar after
3643 notify_start_backup
3644 * perl/Amanda/Service/Amidxtaped.pm: Use getstatefname
3645 * perl/Amanda/Service/Restore.pm (transmit_dar): Fix
3646
3647 2015-11-26 Jean-Louis Martineau <martineau@zmanda.com>
3648 * common-src/amanda.h: Remove define of _LARGEFILE64_SOURCE
3649
3650 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3651 * config/amanda/syshacks.m4: Define _XOPEN_SOURCE and
3652 _XOPEN_SOURCE_EXTENDED on solaris to get correct type for
3653 'struct iovec'
3654
3655 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3656 * perl/Amanda/Report/human.pm: Fix crash if orig_size == 0
3657
3658 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3659 * perl/Makefile.am: Install perl/Amanda/FetchDump files
3660
3661 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3662 * perl/Amanda/Extract.pm: Correctly check if program_path is an
3663 Amanda::Message
3664
3665 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3666 * perl/Amanda/Service/Restore.pm: Remove unused code
3667
3668 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3669 * common-src/conffile.c: Log which conffile is read
3670
3671 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3672 * perl/Makefile.am: Typo
3673
3674 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3675 * perl/Amanda/Util.swg: swig quote_string_always
3676
3677 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3678 * perl/Amanda/Rest/Runs.pm: Use new FetchDump API
3679
3680 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3681 * perl/Amanda/Extract.pm (set_validate_argv): New function
3682
3683 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3684 * perl/Amanda/Disklist.swg: Add all auth option to the host class
3685
3686 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3687 * common-src/ammessage.c: Add new message
3688 * perl/Amanda/Message.pm: Add new message
3689
3690 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3691 * common-src/amfeatures.c, common-src/amfeatures.h: Add new amfeatures
3692 for amrecover/amidxtaped protocol change and for the new restore
3693 service
3694
3695 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3696 * client-src/senddiscover.c: use MSG_ERROR instead of 16
3697
3698 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3699 * amandad-src/amandad.c: Add the restore service
3700
3701 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3702 * man/xml-source/amservice.8.xml: Document new amservice options
3703
3704 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3705 * installcheck/Amanda_Rest_Services_senddiscover.pl,
3706 installcheck/ambsdtar.pl, installcheck/amcheckdump.pl,
3707 installcheck/amfetchdump.pl,
3708 installcheck/amidxtaped.pl: Fix for changes
3709
3710 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3711 * server-src/planner.c: Fix for security API fix
3712
3713 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3714 * server-src/amfetchdump.pl: use Amanda::Fetchdump subclass
3715 * perl/Amanda/FetchDump.pm: Generic class
3716 * perl/Amanda/FetchDump/Application.pm,
3717 perl/Amanda/FetchDump/ClientApplication.pm,
3718 perl/Amanda/FetchDump/Local.pm: Specific module for different
3719 destination, use Amanda::Restore
3720
3721 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3722 * client-src/restore.pl: New client service to restore on the client
3723 * client-src/Makefile.am: add restore.pl
3724 * perl/Amanda/Service/Restore.pm: Core of service, use Amanda::Restore
3725 * perl/Makefile.am: Add Amanda/Service/Restore.pm
3726
3727 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3728 * perl/Amanda/CheckDump.pm: Use Amanda::Restore module
3729 * server-src/amcheckdump.pl: Use Amanda::CheckDump
3730
3731 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3732 * xfer-src/dest-fd.c, xfer-src/filter-crc.c,
3733 xfer-src/filter-process.c, xfer-src/source-fd.c,
3734 xfer-src/xfer-element.h: Small fix
3735
3736 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3737 * perl/Amanda/Service/Amidxtaped.pm: New amidxtaped perl module, it
3738 use Amanda::Restore
3739 * server-src/amidxtaped.pl: Use Amanda::Service::Amidxtaped
3740 * recover-src/amrecover.c, recover-src/extract_list.c: improve
3741 amrecover-amidxtaped protocol
3742
3743 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3744 * perl/Amanda/Restore.pm: New module to to do a recovery, all program
3745 will use it.
3746 * perl/Makefile.am: Add Amanda/Restore.pm
3747
3748 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3749 * perl/Amanda/Amservice.pm: New perl module to execute amservive
3750 * perl/Makefile.am: Add Amanda/Amservice.pm
3751
3752 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3753 * common-src/amservice.c: Add --stream and --config option, use
3754 security_stream_write_async
3755
3756 2015-11-25 Jean-Louis Martineau <martineau@zmanda.com>
3757 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
3758 common-src/bsdudp-security.c, common-src/krb5-security.c,
3759 common-src/local-security.c, common-src/rsh-security.c,
3760 common-src/security-util.c, common-src/security-util.h,
3761 common-src/security.c, common-src/security.h,
3762 common-src/ssh-security.c,
3763 common-src/ssl-security.c: Fix security API and add
3764 security_stream_write_async and security_stream_close_async
3765
3766 2015-11-20 Jean-Louis Martineau <martineau@zmanda.com>
3767 * perl/Amanda/DB/Catalog.pm: Filter with the status
3768 * perl/Amanda/Recovery/Planner.pm: Pass the status to
3769 Amanda::DB::Catalog::get_dumps
3770 * perl/Amanda/FetchDump.pm, perl/Amanda/CheckDump.pm,
3771 perl/Amanda/Taper/Worker.pm, perl/Amanda/Vault.pm,
3772 server-src/amreindex.pl: Call Amanda::Recovery::Planner::make_plan
3773 with a "status => 'OK'" argument
3774
3775 2015-11-12 Jean-Louis Martineau <martineau@zmanda.com>
3776 * server-src/driver.c (handle_taper_result): Set job to NULL
3777 * server-src/driverio.c: Improve debugging
3778 * file server-src/planner.c (est_dump_queue): Fix crash
3779
3780 2015-11-11 Jean-Louis Martineau <martineau@zmanda.com>
3781 * common-src/amcryptsimple.pl: Use 'gpg-agent --use-standard-socket-p'
3782 to find if gpg-agent must be used
3783
3784 2015-11-09 Orion Poplawski
3785 * perl/Amanda/Vault.pm: Add missing parens
3786
3787 2015-11-05 Jean-Louis Martineau <martineau@zmanda.com>
3788 * installcheck/Amanda_Rest_Services_senddiscover.pl,
3789 * installcheck/Amanda_Rest_Services_senddiscover_amgtar.pl: Skip if
3790 client is not compiled
3791
3792 2015-11-05 Jean-Louis Martineau <martineau@zmanda.com>
3793 * installcheck/amvault.pl: Do not check the size, it varies on
3794 different machines
3795
3796 2015-11-05 Jean-Louis Martineau <martineau@zmanda.com>
3797 * server-src/amfetchdump.pl: Fix argument check
3798 * man/xml-source/amfetchdump.8.xml: Fix spacing
3799
3800 2015-11-05 Jean-Louis Martineau <martineau@zmanda.com>
3801 * installcheck/amgtar.pl: Ignore SIGPIPE
3802 * installcheck/Installcheck/Application.pm: Do not fail on SIGPIPE if
3803 allowed
3804
3805 2015-11-04 Orion Poplawski
3806 * perl/Amanda/Vault.pm: Output the size of each dump
3807 * installcheck/amvault.pl: Fix for new output
3808
3809 2015-11-04 Jean-Louis Martineau <martineau@zmanda.com>
3810 * installcheck/Amanda_Rest_Services_senddiscover_amgtar.pl:
3811 Workaround for File::Temp without newdir function
3812
3813 2015-11-03 Jean-Louis Martineau <martineau@zmanda.com>
3814 * perl/Amanda/Taper/Scribe.pm (_volume_cb): Release the old
3815 reservation when changing scribe
3816
3817 2015-10-29 Jean-Louis Martineau <martineau@zmanda.com>
3818 * perl/Amanda/Label.pm: Fix severity
3819 * perl/Amanda/Message.pm: Fix for code 1 or 2
3820 * server-src/amlabel.pl: Severity of ERROR is always a failure
3821
3822 2015-10-29 Jean-Louis Martineau <martineau@zmanda.com>
3823 * installcheck/amgtar.pl: Fix
3824
3825 2015-10-29 Jean-Louis Martineau <martineau@zmanda.com>
3826 * application-src/ambsdtar.c (restore): Exit with 1 if BSDTAR-PATH
3827 can't be executed
3828 * application-src/amgtar.c (amgtar_restore): Exit code of 1 is an
3829 error
3830 * config/amanda/dumpers.m4 (AMANDA_PROG_BSDTAR): Fix BSDTAR default
3831 value
3832 * installcheck/Installcheck/Application.pm (restore): Return the
3833 stderr of the application
3834 * installcheck/Makefile.am (client_tests): Add ambsdtar
3835 * installcheck/amgtar.pl: Add check
3836 * installcheck/ambsdtar.pl: New file to check ambsdtar behavior
3837
3838 2015-10-27 Jean-Louis Martineau <martineau@zmanda.com>
3839 * installcheck/Amanda_Rest_Services_senddiscover_amgtar.pl: Fix for
3840 maximumm length f a socket path.
3841
3842 2015-10-26 Jean-Louis Martineau <martineau@zmanda.com>
3843 * application-src/amgtar.c (amgtar_discover): Implement the discover
3844 API.
3845 * client-src/senddiscover.c: Pass --device only if device is provided.
3846 * common-src/ammessage.c: Add message for code 3100005, 3100006,
3847 3700012 and 3700013
3848 * perl/Amanda/Rest/Configs.pm: Improve documentation
3849 * perl/Amanda/Rest/Services.pm (discover): Many fixes
3850 * rest-server/bin/app.pl.in: discover service can be called for a
3851 config
3852 * rest-server/lib/Amanda/Rest.pm.in: discover service can be called
3853 for a config
3854 * installcheck/Amanda_Rest_Services_senddiscover.pl: Test the REST
3855 senddiscover service
3856 * installcheck/Amanda_Rest_Services_senddiscover_amgtar.pl: Test the
3857 amgtar REST senddiscover service
3858 * installcheck/Makefile.am (server_tests): Add
3859 Amanda_Rest_Services_senddiscover and
3860 Amanda_Rest_Services_senddiscover_amgtar
3861
3862 2015-10-21 Jean-Louis Martineau <martineau@zmanda.com>
3863 * common-src/amutil.c (swap): __builtin_bswap32 is defined only for
3864 GCC >= 4.3.0
3865
3866 2015-10-21 Jean-Louis Martineau <martineau@zmanda.com>
3867 * common-src/amutil.c (swap): Add missing function
3868
3869 2015-10-21 Jean-Louis Martineau <martineau@zmanda.com>
3870 * perl/Amanda/Changer/robot.pm (inventory_unlocked): Can returen all
3871 slot (even those not in use-slot)
3872 * perl/Amanda/Recovery/Scan.pm (find_volume): Use only allowed slot
3873
3874 2015-10-20 Jean-Louis Martineau <martineau@zmanda.com>
3875 * common-src/conffile.c: Do not free current_block
3876
3877 2015-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3878 * man/xml-source/amanda-devices.7.xml: Add STANDARD_IA storage_class
3879
3880 2015-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3881 * device-src/s3.h (StorageClass): Add S3_SC_STANDARD_IA.
3882 * device-src/s3.c: Fix for STANDARD_IA
3883 * server-src/amcheck.c: Fix message argument name.
3884
3885 2015-10-19 Jean-Louis Martineau <martineau@zmanda.com>
3886 * application-src/amgtar.c Default SPARSE value is NO if tar < 1.28
3887
3888 2015-10-16 Jean-Louis Martineau <martineau@zmanda.com>
3889 * application-src/ampgsql.pl: Use '--blocking-factor 64' when creating
3890 a tar file
3891
3892 2015-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3893 * common-src/ammessage.c: Change message for 2800217. Allow
3894 substitution in the hint field
3895 * common-src/amutil.c: Change the
3896 "running as user \"%s\" instead of \"%s\""" message
3897 * server-src/amcheck.c: Fix for running user
3898
3899 2015-10-15 Jean-Louis Martineau <martineau@zmanda.com>
3900 * perl/Amanda/FetchDump.pm: Do not look for storage when recovery is
3901 from a holding disk
3902
3903 2015-10-14 Jean-Louis Martineau <martineau@zmanda.com>
3904 * common-src/security-util.c: Add debugging
3905 * perl/Amanda/FetchDump.pm: Send the statefile earlier, trap error
3906
3907 2015-10-13 Jean-Louis Martineau <martineau@zmanda.com>
3908 * application-src/ampgsql.pl: Remember the level of the last
3909 backup and use it to find the corresponding statefile
3910
3911 2015-10-07 Jean-Louis Martineau <martineau@zmanda.com>
3912 * server-src/driver.c: Fix for taper crash
3913 * server-src/dumper.c: Fix compatibility issue
3914
3915 2015-10-07 Jean-Louis Martineau <martineau@zmanda.com>
3916 * perl/Amanda/FetchDump.pm: Filter /trailing garbage ignored/
3917
3918 2015-10-02 Jean-Louis Martineau <martineau@zmanda.com>
3919 * xfer-src/filter-process.c: gzip exit 2 is not an error
3920 * installcheck/Amanda_Xfer.pl: test it
3921
3922 2015-09-29 Jean-Louis Martineau <martineau@zmanda.com>
3923 Patch by Orion Poplawski
3924 * man/xml-source/tapelist.5.xml: Fix duplicate word
3925
3926 2015-09-28 Jean-Louis Martineau <martineau@zmanda.com>
3927 * ndmp-src/ndmjob_main_util.c: Always quote log message.
3928
3929 2015-09-23 Jean-Louis Martineau <martineau@zmanda.com>
3930 * perl/Amanda/Label.pm: Fix if the device can't be opened
3931
3932 2015-09-22 Jean-Louis Martineau <martineau@zmanda.com>
3933 * common-src/Makefile.am: Fix CFLAGS for compiling amcrc32c.c
3934
3935 2015-09-19 Jean-Louis Martineau <martineau@zmanda.com>
3936 * config/amanda/flags.m4: s/gcc/$CC/
3937
3938 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3939 * client-src/client_util.c: Fix compiler error
3940
3941 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3942 * common-src/amutil.c (make_crc_table): Remove a bogus fprintf
3943
3944 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3945 * common-src/amcrc32chw.c: Fix for 32 bits
3946
3947 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3948 * common-src/amcrc32chw.c: Qualify crc32vc_add_hw argument as
3949 G_GNUC_UNUSED
3950 * common-src/amutil.c: Define get_sse42 only if we use it
3951 * common-src/crc32-test.c: Fix if not in 64 bits mode
3952
3953 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3954 * client-src/client_util.c: Fix compiler warning
3955 * config/amanda/flags.m4: Fix egrep expresion for solaris
3956
3957 2015-09-18 Jean-Louis Martineau <martineau@zmanda.com>
3958 * common-src/amutil.c: Fix asm code on i386
3959
3960 2015-09-17 Jean-Louis Martineau <martineau@zmanda.com>
3961 * common-src/amutil.c: Use better asm code to detect sse4.2
3962
3963 2015-09-17 Jean-Louis Martineau <martineau@zmanda.com>
3964 * common-src/amutil.c (have_sse42): Do not declare static
3965 * common-src/amutil.h (have_sse42): Add extern declaration
3966 * common-src/crc32-test.c: Do not run hardware crc32 test if the cpu
3967 do not have sse4.2
3968
3969 2015-09-17 Jean-Louis Martineau <martineau@zmanda.com>
3970 * common-src/Makefile.am (noinst_HEADERS): Add amcrc32chw.h
3971
3972 2015-09-17 Jean-Louis Martineau <martineau@zmanda.com>
3973 * common-src/amcrc32chw.c: New file to compute crc32c with sse4.2
3974 instruction
3975 * common-src/amcrc32chw.h: New prototype file
3976 * common-src/Makefile.am: Code to build amcrc32chw
3977 * common-src/amanda.h: Define GCC_VERSION
3978 * common-src/amutil.c: Detect if processor hace sse4.2 and use it
3979 * common-src/crc32-test.c: Add test for hw version
3980 * config/amanda/amanda_configure.m4: Call AMANDA_CHECK_SSE42
3981 * config/amanda/flags.m4 (AMANDA_CHECK_SSE42) New macro to detext if
3982 gcc have -msse4.2
3983 * installcheck/chunker.pl, installcheck/taper.pl: Fix for crc32c
3984
3985 2015-09-17 Jean-Louis Martineau <martineau@zmanda.com>
3986 * common-src/amutil.c: Chagre the crc32 POLY to 0x82F63B78
3987
3988 2015-09-16 Jean-Louis Martineau <martineau@zmanda.com>
3989 * common-src/amutil.c (crc32_add): Use software improvement on big
3990 endian machine.
3991
3992 2015-09-15 Jean-Louis Martineau <martineau@zmanda.com>
3993 * common-src/amutil.c: Fix compilation
3994
3995 2015-09-15 Jean-Louis Martineau <martineau@zmanda.com>
3996 * common-src/amutil.c: Fix compilation
3997
3998 2015-09-15 Jean-Louis Martineau <martineau@zmanda.com>
3999 * common-src/amutil.c (crc32_add_16bytes): New faster algorith to
4000 compute crc 32
4001 * common-src/amutil.c (crc32_add): Call crc32_add_1byte or
4002 crc32_add_16bytes.
4003 * common-src/amutil.h (crc32_add_1byte, crc32_add_16bytes): Add new
4004 prototypes.
4005 * common-src/Makefile.am (TEST): Add crc32-test
4006 * common-src/crc32-test.c: New program to test crc32
4007
4008 2015-09-15 Jean-Louis Martineau <martineau@zmanda.com>
4009 * common-src/debug.c (debug_ressource_usage): New function to write
4010 the system ressource utilization to the debug file
4011 * common-src/debug.c (debug_close): Call debug_ressource_usage
4012
4013 2015-09-10 Jean-Louis Martineau <martineau@zmanda.com>
4014 * common-src/conffile.h (no_yes_all_t, priority_t, execute_where_t):
4015 New enum
4016 * common-src/conffile.c, server-src/amcheck.c, server-src/diskfile.c,
4017 server-src/server_util.c: Use ne enum constants.
4018 * perl/Amanda/Config.swg: Add more function to return enum value
4019 * installcheck/Amanda_Config.pl: Add tests
4020
4021 2015-09-09 Jean-Louis Martineau <martineau@zmanda.com>
4022 * perl/amglue/constants.swg (amglue_add_enum_and_string_tag_fns,
4023 amglue_add_constant_and_string): New macro
4024 * perl/Amanda/Config.swg: Add functions to return enum value from a
4025 string
4026 * installcheck/Amanda_Config.pl: Add tests
4027
4028 2015-09-09 Jean-Louis Martineau <martineau@zmanda.com>
4029 * server-src/driver.c (tape_action): Improvement
4030
4031 2015-09-09 Jean-Louis Martineau <martineau@zmanda.com>
4032 * server-src/dumper.c: Fix hang on failure
4033
4034 2015-09-03 Jean-Louis Martineau <martineau@zmanda.com>
4035 * ndmp-src/ndma_comm_dispatch.c: Send all LOG_MESSAGE
4036 * ndmp-src/ndmjob_main_util.c: Quote LOG_MESSAGE
4037 * perl/Amanda/Report/human.pm: Fix output
4038
4039 2015-09-01 Jean-Louis Martineau <martineau@zmanda.com>
4040 * rest-server/bin/app-dancer2.pl.in: Correctly load multiple
4041 applications.
4042 * server-src/amanda-rest-server.pl: Always load the same Dancer2
4043 script.
4044
4045 2015-08-31 Jean-Louis Martineau <martineau@zmanda.com>
4046 * perl/Amanda/FetchDump.pm: Fix perl warning
4047 * server-src/amcheck-device.pl: Fix
4048 * installcheck/Amanda_Rest_Amcheck.pl: Fix
4049
4050 2015-08-27 Jean-Louis Martineau <martineau@zmanda.com>
4051 * server-src/driver.c (tape_action): More improvement.
4052
4053 2015-08-27 Jean-Louis Martineau <martineau@zmanda.com>
4054 * server-src/planner.c: Improve message.
4055
4056 2015-08-24 Jean-Louis Martineau <martineau@zmanda.com>
4057 * application-src/amzfs-sendrecv.pl: Fix compratio parsing.
4058
4059 2015-08-20 Jean-Louis Martineau <martineau@zmanda.com>
4060 * server-src/amcheck.c: Add the check_host_setting count in the
4061 remote_errros when doing only the client check
4062
4063 2015-08-19 Jean-Louis Martineau <martineau@zmanda.com>
4064 * config/amanda/dumpers.m4: Default GNUTAR to /usr/bin/tar, STAR to
4065 /usr/bin/star, BSDTAR to /usr/bin/bsdtar, SUNTAR to /usr/sbin/tar,
4066 SAMBA_CLIENT to /usr/bin/smbclient.
4067 * config/amanda/progs.m4: Default SSH to /usr/bin/ssh
4068 * config/amanda/ssh-security.m4: Use AMANDA_PROG_SSH
4069
4070 2015-08-19 Jean-Louis Martineau <martineau@zmanda.com>
4071 * server-src/driver.c (tape_action): Fix to not send
4072 TAPE_ACTION_START_A_FLUSH if we can't guarantee a tape
4073 * server-src/driverio.h (struct taper_s): Add sent_first_write
4074
4075 2015-08-17 Jean-Louis Martineau <martineau@zmanda.com>
4076 * device-src/device.c (device_allow_take_scribe_from): New function
4077 to return the allow_take_scribe_from setting
4078 * device-src/device.h (struct Device): Add a gboolean
4079 allow_take_scribe_from
4080 * device-src/device.h (device_allow_take_scribe_from): Add new
4081 prototype
4082 * device-src/ndmp-device.c: allow_take_scribe_from is FALSE
4083 * perl/Amanda/Device.swg (device_allow_take_scribe_from): swig it
4084 * perl/Amanda/Taper/Protocol.pm (TAPER_OK): add allow_take_scribe_from
4085 * perl/Amanda/Taper/Scribe.pm: Pass the allow_take_scribe_from value
4086 to the callback
4087 * perl/Amanda/Taper/Worker.pm (_scribe_started_cb): Include the
4088 allow_take_scribe_from in the TAPER_OK reply
4089 * server-src/driver.c (handle_taper_result): Parse the
4090 *-TAKE-SCRIBE-FROM in the TAPER_OK reply
4091 * server-src/driver.c (tape_action): Do not return TAPE_ACTION_MOVE if
4092 the taper do not handle allow_take_scribe_from
4093 * server-src/driverio.h (struct wtaper_s): Add a gboolean
4094 allow_take_scribe_from
4095 * installcheck/taper.pl: Fix for *-TAKE-SCRIBE-FROM in TAPER-OK reply
4096
4097 2015-08-17 Jean-Louis Martineau <martineau@zmanda.com>
4098 * common-src/amutil.c (interruptible_accept): Take a timeout as
4099 argument
4100 * common-src/amutil.h (interruptible_accept): New prototype
4101 * common-src/stream.c (stream_client): Call interruptible_accept with
4102 the timeout argument
4103 * xfer-src/element-glue.c (do_directtcp_accept): Call
4104 interruptible_accept with the timeout argument
4105
4106 2015-08-11 Jean-Louis Martineau <martineau@zmanda.com>
4107 * perl/Amanda/Rest/Configs.pm: Allow 'expand_*' in query parameter
4108 * perl/Amanda/Rest/Dles.pm: Allow 'expand_*' in query parameter
4109 * installcheck/Amanda_Rest_Configs.pl: Fix installcheck
4110
4111 2015-08-11 Jean-Louis Martineau <martineau@zmanda.com>
4112 * application-src/ampgsql.pl: Use 'eq' instead of '==' for filename
4113
4114 2015-08-11 Jean-Louis Martineau <martineau@zmanda.com>
4115 * common-src/amcryptsimple.pl, common-src/amgpgcrypt.pl: Add sleep to
4116 allow gpg-agent to exit
4117 * server-src/amrestore.pl: Add a --continue-on-filter-error option
4118 * man/xml-source/amrestore.8.xml: Document --continue-on-filter-error
4119
4120 2015-08-11 Jean-Louis Martineau <martineau@zmanda.com>
4121 * perl/Amanda/Rest/Configs.pm (_fields): Must not load the config.
4122
4123 2015-08-10 Jean-Louis Martineau <martineau@zmanda.com>
4124 * man/xml-source/amrestore.8.xml: Document that -r do not decrypt dump
4125
4126 2015-08-10 Jean-Louis Martineau <martineau@zmanda.com>
4127 * perl/Amanda/Report/human.pm: Fix compression computation.
4128
4129 2015-08-10 Jean-Louis Martineau <martineau@zmanda.com>
4130 * perl/Amanda/Report/human.pm: Fix compression computation.
4131
4132 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4133 * installcheck/Amanda_Rest_Configs.pl: Take MAILER form config
4134
4135 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4136 * rest-server/bin/app.pl.in: Undo bad change.
4137
4138 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4139 * perl/Amanda/Rest/Configs.pm: Typo.
4140 * installcheck/Amanda_Rest_Configs.pl: Fix check.
4141
4142 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4143 * client-src/selfcheck.c, common-src/amanda.h, common-src/match.c,
4144 common-src/security-util.c, server-src/driver.c,
4145 server-src/dumper.c: Coverity cleanup.
4146
4147 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4148 * rest-server/bin/app.pl.in, rest-server/lib/Amanda/Rest.pm.in:
4149 Remove 'use Amanda::Rest::Changers;'
4150
4151 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4152 * perl/Makefile.am (AmandaRest_DATA): Remove Amanda/Rest/Changers.pm
4153
4154 2015-08-07 Jean-Louis Martineau <martineau@zmanda.com>
4155 * common-src/conffile.c (*_key_to_name, *getconf_human,
4156 custom_escape): New function
4157 * common-src/conffile.h (*_key_to_name, *getconf_human,
4158 custom_escape): Add prototypes
4159 * perl/Amanda/Config.swg: Add amglue_add_enum_list(*_key)
4160 * perl/Amanda/Config.swg (val_t_to_print): Function to convert a
4161 val_t to a printable format for human
4162 * perl/Amanda/Config.swg (*_key_to_name): Add declarations
4163 * perl/Amanda/Config.swg (*_getconf_human): Similar to *_getconf but
4164 use val_t_to_print to return a human printable structure
4165 * perl/Amanda/Config.swg: Add messages 1500022 to 1500058
4166 * perl/Amanda/Disklist.swg: Add message 1400010
4167 * perl/Amanda/Rest/Configs.pm: Add API to return the list of section
4168 and all fields of a named section
4169 * perl/Amanda/Rest/Dles.pm: Add API to return the list and setting
4170 of Dles
4171 * perl/Amanda/Rest/Changers.pm: Remove file (API moved to Configs.pm).
4172 * perl/Amanda/Rest/Storages.pm: Remove some API (moved to Configs.pm).
4173 * perl/amglue/constants.swg (amglue_add_enum_list): New macro to
4174 return an array of values
4175 * rest-server/bin/app.pl.in: Add new API
4176 * rest-server/lib/Amanda/Rest.pm.in: Add new API
4177 * server-src/diskfile.c: Use custom_escape to create custom name.
4178 * installcheck/Amanda_Rest_Changers.pl: Remove file
4179 * installcheck/Amanda_Rest_Configs.pl: Add many checks
4180 * installcheck/Amanda_Rest_Storages.pl: Remove some checks
4181 * installcheck/Makefile.am: Remove Amanda_Rest_Changers.pl
4182
4183 2015-08-06 Jean-Louis Martineau <martineau@zmanda.com>
4184 * device-src/s3-device.c, device-src/s3-device.h: Change default value
4185 for S3-MULTI-DELETE
4186 * man/xml-source/amanda-devices.7.xml: Document it
4187
4188 2015-08-03 Jean-Louis Martineau <martineau@zmanda.com>
4189 * perl/Amanda/Amdump.pm: Improve debugging.
4190
4191 2015-08-03 Jean-Louis Martineau <martineau@zmanda.com>
4192 * common-src/ammessage.c: Add message 2800233 and 2800234
4193 * server-src/amcheck.c: Validate tag
4194 * server-src/driver.c: Validate tag
4195
4196 2015-07-15 Jean-Louis Martineau <martineau@zmanda.com>
4197 * server-src/dumper.c (process_dumpline): Use full_write instead of
4198 write and check the result.
4199
4200 2015-07-15 Jean-Louis Martineau <martineau@zmanda.com>
4201 * amandad-src/amandad.c: Add krb5 to exit_on_qlength
4202 * application-src/amgtar.c: Improve debugging
4203 * perl/Amanda/FetchDump.pm: Uncompress the state file
4204 * server-src/amidxtaped.pl: Uncompress the state file
4205 * server-src/dumper.c: Compress the state file
4206 * xfer-src/dest-application.c: Improve XMSG
4207 * xfer-src/filter-process.c: Improve XMSG
4208
4209 2015-07-14 Jean-Louis Martineau <martineau@zmanda.com>
4210 * server-src/driver.c (dump_match_selection): A dle without tag must
4211 go on all storages
4212
4213 2015-07-14 Jean-Louis Martineau <martineau@zmanda.com>
4214 * application-src/ampgsql.pl: chown of archive dir when restoring an
4215 incr.
4216
4217 2015-07-13 Jean-Louis Martineau <martineau@zmanda.com>
4218 * server-src/driver.c: Start backup event if tape is not ready in
4219 CNF_RESERVE == 0;
4220
4221 2015-07-13 Jean-Louis Martineau <martineau@zmanda.com>
4222 * application-src/ampgsql.pl: Add FULL-WAL property.
4223 * man/xml-source/ampgsql.8.xml: Document FULL-WAL property.
4224
4225 2015-07-13 Jean-Louis Martineau <martineau@zmanda.com>
4226 * application-src/ampgsql.pl: Add 'File shrank by \d* bytes; padding
4227 with zeros' as normal message from tar.
4228
4229 2015-07-07 Jean-Louis Martineau <martineau@zmanda.com>
4230 * device-src/rait-device.c, device-src/tape-device.c,
4231 device-src/vfs-device.c: Typo.
4232
4233 2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
4234 * perl/Amanda/Util.swg: disable setenv_init.
4235
4236 2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
4237 * device-src/xfer-source-device.c (pull_buffer_impl): Call
4238 device_read_block with a goot max_block value
4239 * perl/Amanda/Device.swg (verify_random_from_device): Call
4240 device_read_block with a max_block of -1
4241
4242 2015-06-23 Jean-Louis Martineau <martineau@zmanda.com>
4243 * application-src/amgtar.c: Use g_ascii_strtoull.
4244
4245 2015-06-22 Jean-Louis Martineau <martineau@zmanda.com>
4246 * perl/Amanda/Xfer.swg: break potential reference loop
4247
4248 2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4249 * server-src/amidxtaped.pl: Temporary fix for protocol bug.
4250
4251 2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4252 * recover-src/extract_list.c: Fix if not an application
4253
4254 2015-06-19 Jean-Louis Martineau <martineau@zmanda.com>
4255 * ndmp-src/ndma_data.c: Undo patch.
4256 * recover-src/extract_list.c: Fix compilation
4257
4258 2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
4259 * server-src/dumper.c: Fix compilation
4260
4261 2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
4262 * xfer-src/source-file.c: Fix compilation
4263
4264 2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
4265 * xfer-src/dest-application.c, xfer-src/source-file.c: Add files
4266
4267 2015-06-18 Jean-Louis Martineau <martineau@zmanda.com>
4268 * Implement DAR (Direct Access Recovery)
4269
4270 2015-06-16 Jean-Louis Martineau <martineau@zmanda.com>
4271 * perl/Amanda/Changer/robot.pm (verify_unlocked): Reload the state and
4272 use eject_unload
4273
4274 2015-06-15 Jean-Louis Martineau <martineau@zmanda.com>
4275 * application-src/ampgsql.pl: Take another tar of ./pg_tblspc by
4276 keeping the symlink.
4277
4278 2015-06-10 Jean-Louis Martineau <martineau@zmanda.com>
4279 * device-src/ndmp-device.c: On recovery, set initial window to (0, -1)
4280 * installcheck/Installcheck/Mock.pm: Set verbose to YES
4281
4282 2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4283 * device-src/ndmp-device.c: Set initial window correctly on recovery
4284
4285 2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4286 * common-src/amssl.pl: SSL_VERIFY_NONE is not defined on older
4287 IO::Socket::SSL
4288
4289 2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4290 * common-src/security-util.h (struct tcp_conn): Remove meth.
4291 * common-src/ssl-security.c: Do not use temporary variable for the
4292 method.
4293
4294 2015-06-09 Jean-Louis Martineau <martineau@zmanda.com>
4295 * server-src/amcheck.c: s/check_auth/check_host_setting/g, check
4296 maxdumps is the same for all DLEs of a host
4297 * common-src/ammessage.c: Add message 2800232
4298
4299 2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4300 * common-src/krb5-security.c (krb5_tcpm_recv_token): Remove the fd
4301 argument.
4302
4303 2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4304 * man/Makefile.am: Typo.
4305
4306 2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4307 Add ssl auth.
4308 * config/amanda/amanda_configure.m4: Load AMANDA_SSL_SECURITY
4309 * config/amanda/ssl-security.m4 (AMANDA_SSL_SECURITY): Add
4310 --with-ssl-security
4311 * amandad-src/amandad.c: Add code to support ssl auth,
4312 * common-src/Makefile.am (libamanda_la_SOURCES): Add ssl-security.c
4313 * common-src/Makefile.am (sbin_SCRIPTS_PERL): Add amssl
4314 * common-src/amgetconf.pl: Remove useless space
4315 * common-src/amssl.pl: New amssl program
4316 * common-src/conffile.c: Add CONF_SSL_FINGERPRINT_FILE,
4317 CONF_SSL_CERT_FILE, CONF_SSL_KEY_FILE, CONF_SSL_CA_CERT_FILE,
4318 CONF_SSL_CIPHER_LIST, CONF_SSL_CHECK_HOST,
4319 CONF_SSL_CHECK_CERTIFICATE_HOST, CONF_SSL_CHECK_FINGERPRINT and
4320 CONF_SSL_DIR
4321 * common-src/conffile.h: Add CNF_SSL_FINGERPRINT_FILE,
4322 CNF_SSL_CERT_FILE, CNF_SSL_KEY_FILE, CNF_SSL_CA_CERT_FILE,
4323 CNF_SSL_CIPHER_LIST, CNF_SSL_CHECK_HOST,
4324 CNF_SSL_CHECK_CERTIFICATE_HOST, CNF_SSL_DIR and
4325 DUMPTYPE_SSL_FINGERPRINT_FILE, DUMPTYPE_SSL_CERT_FILE,
4326 DUMPTYPE_SSL_KEY_FILE, DUMPTYPE_SSL_CA_CERT_FILE,
4327 DUMPTYPE_SSL_CIPHER_LIST, DUMPTYPE_SSL_CHECK_HOST,
4328 DUMPTYPE_SSL_CHECK_CERTIFICATE_HOST, DUMPTYPE_SSL_CHECK_FINGERPRINT
4329 * common-src/glib-util.c: Load openssl.
4330 * common-src/security-util.c (generic_data_write, generic_data_read):
4331 New functions.
4332 * common-src/security-util.h (generic_data_write, generic_data_read):
4333 Add prototypes.
4334 * common-src/security.c: Load ssl_security_driver.
4335 * common-src/security.h (struct security_driver): Add data_write and
4336 data_read method.
4337 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
4338 common-src/bsdudp-security.c, common-src/krb5-security.c,
4339 common-src/local-security.c, common-src/rsh-security.c,
4340 common-src/ssh-security.c: Add generic_data_write and
4341 generic_data_read
4342 * common-src/ssl-security.c: New ssl auth code
4343 * man/Makefile.am (COMMON_MAN_PAGES): Add amanda-auth-ssl.7 and
4344 amssl.8
4345 * man/xml-source/amanda-auth-ssl.7.xml: New man page
4346 * man/xml-source/amanda-auth.7.xml: Link to amanda-auth-ssl
4347 * man/xml-source/amanda.8.xml: Link to amanda-auth-ssl
4348 * man/xml-source/amssl.8.xml: New man page
4349 * perl/Amanda/Config.swg: Add CNF_SSL_FINGERPRINT_FILE,
4350 CNF_SSL_CERT_FILE, CNF_SSL_KEY_FILE, CNF_SSL_CA_CERT_FILE,
4351 CNF_SSL_CIPHER_LIST, CNF_SSL_CHECK_HOST,
4352 CNF_SSL_CHECK_CERTIFICATE_HOST, CNF_SSL_DIR
4353 * server-src/diskfile.h (struct disk_s): Add ssl setting
4354 * server-src/diskfile.c: Load ssl setting
4355 * server-src/driverio.c: Pass ssl setting.
4356 * server-src/dumper.c: Use ssl specific setting.
4357 * server-src/server_util.c (amhost_get_security_conf): Add
4358 ssl setting.
4359
4360 2015-06-08 Jean-Louis Martineau <martineau@zmanda.com>
4361 * example/amanda.conf.in: Fix typo.
4362 * common-src/amgetconf.pl, man/xml-source/amanda-auth.7.xml,
4363 man/xml-source/amgetconf.8.xml, perl/Amanda/Constants.pm.in.src:
4364 Remove krb4 setting.
4365 * perl/Amanda/Amdump.pm, perl/Amanda/Amflush.pm,
4366 perl/Amanda/CheckDump.pm, perl/Amanda/Chunker/Controller.pm,
4367 perl/Amanda/Chunker/Protocol.pm, perl/Amanda/FetchDump.pm,
4368 perl/Amanda/Label.pm, perl/Amanda/Message.pm,
4369 perl/Amanda/Taper/Controller.pm: Remove useles @PERL@ and
4370 @amperldir@;
4371
4372 2015-06-06 Jean-Louis Martineau <martineau@zmanda.com>
4373 * rest-server/bin/app-dancer2.pl.in,
4374 rest-server/bin/app.pl.in: Use @PERL@
4375
4376 2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4377 * perl/Amanda/Vault.pm: Time::HiRes is not available everywhere.
4378
4379 2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4380 * perl/Amanda/Report/human.pm: Set total_time to the time of amvault
4381 on an amvault run.
4382 * perl/Amanda/Report.pm: Parse amvault FINISH line.
4383 * perl/Amanda/Vault.pm: Log a FINISH line.
4384
4385 2015-06-02 Jean-Louis Martineau <martineau@zmanda.com>
4386 * common-src/ammessage.c: Improve hint on message 2800231.
4387
4388 2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
4389 * oldrecover-src/extract_list.c: More fix if SAMBA_CLIENT is not
4390 defined.
4391
4392 2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
4393 * recover-src/extract_list.c: More fix if SAMBA_CLIENT is not defined.
4394
4395 2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
4396 * perl/Amanda/Tests.swg: #include "glib-util.h"
4397 * client-src/selfcheck.c, common-src/ammessage.c,
4398 recover-src/extract_list.c, server-src/driver.c: Fix bug found by
4399 coverity.
4400
4401 2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
4402 * ndmp-src/ndmpconnobj.c: #include "glib-util.h",
4403 * ndmp-src/ndmpconnobj.c (ndmp_connection_mover_connect): return a
4404 gboolean.
4405 * perl/Amanda/Tests.swg: #include "glib-init.h"
4406 * perl/Amanda/Util.swg: #include "match.h"
4407 * perl/Amanda/Util.swg: rename crc32 to crc32_add.
4408
4409 2015-06-01 Jean-Louis Martineau <martineau@zmanda.com>
4410 * config/compile, config/config.guess, config/config.sub,
4411 config/depcomp, config/install-sh, config/missing,
4412 config/test-driver, config/ylwrap: Newer version of files.
4413
4414 2015-05-29 Jean-Louis Martineau <martineau@zmanda.com>
4415 * server-src/amcheck.c: Check auth on both local and client check.
4416
4417 2015-05-28 Jean-Louis Martineau <martineau@zmanda.com>
4418 * common-src/ammessage.c: Improve message 2800231.
4419 * server-src/amcheck.c: message 2800231 is an MSG_ERROR.
4420
4421 2015-05-27 Jean-Louis Martineau <martineau@zmanda.com>
4422 * device-src/ndmp-device.c: Fix previous patch.
4423
4424 2015-05-27 Jean-Louis Martineau <martineau@zmanda.com>
4425 * device-src/ndmp-device.c: Call ndmp_connection_mover_read with the
4426 header size as the offset.
4427
4428 2015-05-22 Jean-Louis Martineau <martineau@zmanda.com>
4429 * server-src/amcheck.c: Check all dles of a host have the same auth.
4430 * common-src/ammessage.c: Add message 2800231.
4431
4432 2015-05-22 Jean-Louis Martineau <martineau@zmanda.com>
4433 * perl/Amanda/Taper/Worker.pm: Fix $failure_from.
4434
4435 2015-05-21 Jean-Louis Martineau <martineau@zmanda.com>
4436 * rest-server/bin/app.pl.in: confdir is in amlibexecdir.
4437
4438 2015-05-21 Jean-Louis Martineau <martineau@zmanda.com>
4439 * rest-server/Makefile.am: Install the rest-server in amlibexecdir.
4440 * server-src/amanda-rest-server.pl, installcheck/Installcheck/Rest.pm:
4441 rest-server installed in amlibexecdir.
4442
4443 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4444 * rest-server/Makefile.am (EXTRA_DIST): Add the *.in files
4445
4446 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4447 * rest-server/Makefile.am: typo.
4448
4449 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4450 * rest-server/Makefile.am (EXTRA_DIST): Add rest server.
4451
4452 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4453 * rest-server/Makefile.am: Missing \
4454
4455 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4456 * rest-server/Makefile.in, rest-server/Makefile,
4457 rest-server/lib/Amanda/Rest.pm, rest-server/bin/app-dancer2.pl,
4458 rest-server/bin/app.pl: Remove files.
4459
4460 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4461 * perl/Makefile.am: Fix.
4462
4463 2015-05-20 Jean-Louis Martineau <martineau@zmanda.com>
4464 * rest-server/*: Moved the rest-server
4465 * Makefile.am (SUBDIRS): Add rest-server
4466 * configure.in (AC_CONFIG_FILES): add rest-server/Makefile
4467 * server-src/amanda-rest-server.pl: Add --dancer and --dancer2 option.
4468
4469 2015-05-19 Jean-Louis Martineau <martineau@zmanda.com>
4470 * perl/Amanda/Script_App.pm (print_to_server_and_die): Always FAILURE
4471
4472 2015-05-15 Jean-Louis Martineau <martineau@zmanda.com>
4473 * common-src/conffile.h: Add CNF_REST_SSL_CERT and CNF_REST_SSL_KEY
4474 * common-src/conffile.c: Parse rest-ssl-cert and rest-ssl-key
4475 * perl/Amanda/Config.swg: Add CNF_REST_SSL_CERT and CNF_REST_SSL_KEY
4476 * server-src/amanda-rest-server.pl: Start the REST server with
4477 '--enable-ssl --ssl-cert $ssl_cert --ssl-key $ssl_key' if
4478 CNF_REST_SSL_CERT and CNF_REST_SSL_KEY are set.
4479 * man/xml-so: Document the rest-api-port, rest-ssl-cert and
4480 rest-ssl-key setting form /etc/amanda/amanda.conf
4481
4482 2015-05-13 Jean-Louis Martineau <martineau@zmanda.com>
4483 * perl/Amanda/FetchDump.pm: Do not pass a changer
4484 * perl/Amanda/Recovery/Planner.pm (make_plan): Accept storage instead
4485 of changer
4486 * perl/Amanda/Vault.pm: Use src_storage_name and dest_storage_name
4487 * server-src/amvault.pl: Add --src-storage and --dest-storage
4488 arguments
4489 * man/xml-source/amvault.8.xml: Document --src-storage and
4490 --dest-storage
4491 * installcheck/Amanda_Recovery_Planner.pl: Fix for new api
4492
4493 2015-05-13 Jean-Louis Martineau <martineau@zmanda.com>
4494 * perl/Amanda/Status.pm: Parse 'requeue write' line, set storage
4495 will_retry.
4496 * server-src/driver.c: Write 'requeue write' line.
4497 * server-src/driver.c: Fix vaulting.
4498 * server-src/driverio.c (startup_dump_tape_process,
4499 startup_vault_tape_process): New function to replace
4500 startup_tape_process.
4501 * server-src/driverio.h (startup_dump_tape_process,
4502 startup_vault_tape_process): Add prototype.
4503 * installcheck/Amanda_Rest_Runs.pl: Add 'will_retry' in status result.
4504 * installcheck/Installcheck/Dumpcache.pm: Force level when doing
4505 backup.
4506
4507 2015-05-12 Jean-Louis Martineau <martineau@zmanda.com>
4508 * common-src/amgetconf.pl: Do not load the disklist if a config is not
4509 set.
4510 * common-src/conffile.c: load the cwd amanda.conf only if it exist.
4511
4512 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4513 * perl/Amanda/Rest/Amanda/config.yml: Remove Dancer2 setting.
4514
4515 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4516 * perl/Makefile.am: Typo
4517
4518 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4519 * config/automake/scripts.am: Fix checking SCRIPTS_PERL_NO_CHECK.
4520 * perl/Makefile.am (SCRIPTS_PERL_NO_CHECK): Add Amanda/Rest.pm
4521
4522 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4523 * perl/Amanda/Rest.pm: Remove
4524 * perl/Amanda/Rest.pm.in: Server for Dancer2
4525 * perl/Amanda/Rest/Amanda/bin/app-dancer2.pl.in: Start script for
4526 using Dancer2
4527 * perl/Amanda/Rest/Amanda/config.yml: Add config for Dancer2
4528 * perl/Makefile.am: Install new files
4529 * server-src/amanda-rest-server.pl: Use Dancer2 if available
4530 * installcheck/Installcheck/Rest.pm: Use Dancer2 if available
4531
4532 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4533 * perl/Amanda/Message.pm (TO_JSON): New method.
4534 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Expect a status in function
4535 result.
4536 * perl/Amanda/Rest/Amcheck.pm, perl/Amanda/Rest/Changers.pm,
4537 perl/Amanda/Rest/Configs.pm, perl/Amanda/Rest/Dles.pm,
4538 perl/Amanda/Rest/Dumps.pm, perl/Amanda/Rest/Labels.pm,
4539 perl/Amanda/Rest/Report.pm, perl/Amanda/Rest/Runs.pm,
4540 perl/Amanda/Rest/Services.pm, perl/Amanda/Rest/Status.pm,
4541 perl/Amanda/Rest/Storages.pm, perl/Amanda/Rest/Storages/Labels.pm,
4542 perl/Amanda/Rest/Version.pm: Function return status and array of
4543 Message.
4544
4545 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4546 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Parse request body for POST
4547 and DELETE request.
4548
4549 2015-05-11 Jean-Louis Martineau <martineau@zmanda.com>
4550 * perl/Amanda/Status.pm: Improve worker output.
4551
4552 2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
4553 * application-src/ampgsql.pl: check ARCHIVEDIR is not inside DATADIR.
4554
4555 2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
4556 * server-src/amanda-rest-server.pl: Add a --development option
4557 * man/xml-source/amanda-rest-server.8.xml: Document --development
4558
4559 2015-05-07 Jean-Louis Martineau <martineau@zmanda.com>
4560 * perl/Amanda/Status.pm: More fix.
4561
4562 2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
4563 * installcheck/Amanda_Rest_Runs.pl: Add retry, retry_level and
4564 will_retry.
4565
4566 2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
4567 * perl/Amanda/Status.pm: VAULT-WRITE must reset the retry flag.
4568
4569 2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
4570 * server-src/driver.c: Add a 'requeue' line to the amdump log file.
4571 * perl/Amanda/Status.pm: Better handling of retry.
4572
4573 2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
4574 * application-src/amgtar.c, client-src/rundump.c,
4575 client-src/runtar.c, client-src/selfcheck.c,
4576 client-src/sendbackup.c, client-src/senddiscover.c,
4577 xfer-src/filter-process.c: Always free the result of safe_env.
4578
4579 2015-05-06 Jean-Louis Martineau <martineau@zmanda.com>
4580 * client-src/amandates.c, client-src/sendsize.c,
4581 common-src/ammessage.c: Fix bug found by coverity.
4582 * device-src/ndmp-device.c (ndmp_device_eject): Call open_connection.
4583
4584 2015-05-05 Jean-Louis Martineau <martineau@zmanda.com>
4585 * client-src/sendbackup.c: Cleanup.
4586
4587 2015-04-30 Jean-Louis Martineau <martineau@zmanda.com>
4588 * perl/Amanda/Cleanup.pm: Log the notes
4589 * perl/Amanda/Report.pm: Parse amcleanup log line
4590 * perl/Amanda/Report/human.pm (PROGRAM_ORDER): Add amcleanup
4591 * perl/Amanda/Rest/Runs.pmi (kill): Accept notes argument
4592 * server-src/amcleanup.pl: Add --note argument
4593 * server-src/logfile.h (logtype_e): Add P_AMCLEANUP
4594 * server-src/logfile.c (logtype_str): Add "amcleanup"
4595 * perl/Amanda/Logfile.swg: Add P_AMCLEANUP
4596 * man/xml-source/amcleanup.8.xml: Document --note argument
4597
4598 2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
4599 * device-src/s3-device.c: Fix progress_func and set timeout to 0.
4600
4601 2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
4602 * NEWS: ADD NEARLINE storage.
4603 * man/xml-source/amanda-devices.7.xml: Document NEARLINE storage.
4604
4605 2015-04-29 Jean-Louis Martineau <martineau@zmanda.com>
4606 * device-src/s3-device.c (progress_function): Fail on timeout.
4607 * device-src/s3-device.h (_S3_by_thread): Add tiemout.
4608 * device-src/s3.c (RESULT_HANDLING_ALWAYS_RETRY): Add
4609 CURLE_ABORTED_BY_CALLBACK.
4610
4611 2015-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4612 * common-src/conffile.c: Fix wrong variable.
4613
4614 2015-04-28 Jean-Louis Martineau <martineau@zmanda.com>
4615 * application-src/ampgsql.pl (backup): Create an archive directory
4616 with the same permission as the data directory.
4617
4618 2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4619 * perl/Amanda/Status.pm: Fix status.
4620
4621 2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4622 * perl/Amanda/Changer.pm: Add new messages.
4623 * perl/Amanda/Changer/multi.pm (update): Allow 'error' for the slot
4624 range.
4625 * perl/Amanda/Changer/robot.pm (update): Allow 'error' for the slot
4626 range.
4627 * installcheck/Amanda_Changer_robot.pl: Fix.
4628 * server-src/amtape.pl: Fix for new messages.
4629 * man/xml-source/amanda-changers.7.xml: Add error keyword.
4630
4631 2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4632 * perl/Amanda/Changer/robot.pm (set_error_to_unknown): New function
4633 that allow the tapescan to reset all slots with given error.
4634
4635 2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4636 * perl/Amanda/Vault.pm: Create timer once.
4637
4638 2015-04-27 Jean-Louis Martineau <martineau@zmanda.com>
4639 * recover-src/extract_list.c: Abort a restore if application fail.
4640
4641 2015-04-23 Jean-Louis Martineau <martineau@zmanda.com>
4642 * perl/Amanda/Status.pm: Improve parsing if a line is misquoted.
4643
4644 2015-04-22 Xu Han <xhan@zmanda.com>
4645 * server-src/amanda-rest-server.pl: exit code 1 when start fails
4646
4647 2015-04-22 Jean-Louis Martineau <martineau@zmanda.com>
4648 * common-src/amflock.c: Cleanup
4649 * server-src/cmdfile.c: Retry lock on 1.
4650
4651 2015-04-22 Jean-Louis Martineau <martineau@zmanda.com>
4652 * installcheck/Installcheck/Config.pm: Set inparallel to 2.
4653 * installcheck/Amanda_Rest_Configs.pl: Fix for inparallel value.
4654
4655 2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4656 * device-src/s3.c: Retry on 429 or 503 error.
4657
4658 2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4659 * perl/Amanda/Report.pm: Set $dumper->{status} to 'retry' on L_RETRY
4660
4661 2015-04-21 Jean-Louis Martineau <martineau@zmanda.com>
4662 * installcheck/Installcheck/Dumpcache.pm: Use --no-taper
4663
4664 2015-04-20 Jean-Louis Martineau <martineau@zmanda.com>
4665 * perl/Amanda/Rest/Runs.pm: use File::Glob qw( :glob );
4666
4667 2015-04-15 Jean-Louis Martineau <martineau@zmanda.com>
4668 * server-src/driver.c: Do not send CLOSE_VOLUME request if the worker
4669 have no volume.
4670
4671 2015-04-06 Jean-Louis Martineau <martineau@zmanda.com>
4672 * server-src/driverio.c, server-src/planner.c: Fix bug found by
4673 coverity.
4674
4675 2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
4676 * installcheck/Amanda_Rest_Dumps.pl: Do not hardcoded path
4677 * installcheck/amoverview.pl: Increase --diskwidth to 200
4678
4679 2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
4680 * server-src/driver.c: Fix compilation
4681
4682 2015-04-03 Jean-Louis Martineau <martineau@zmanda.com>
4683 driver can do vault.
4684 * common-src/conffile.c: s/CONF_AMVAULT_STORAGE/CONF_VAULT_STORAGE/,
4685 add CONF_VAULT
4686 * common-src/conffile.h: Add vault_list_t and CONFTYPE_VAULT_LIST
4687 * device-src/xfer-dest-taper-cacher.c: Improve debugging statement
4688 * device-src/xfer-dest-taper-directtcp.c: Improve debugging statement
4689 * device-src/xfer-dest-taper-splitter.c: Improve debugging statement
4690 * device-src/xfer-source-recovery.c: Improve debugging statement
4691 * server-src/xfer-dest-holding.c: Improve debugging statement
4692 * man/xml-source/amanda.conf.5.xml: Document storage and vault-storage
4693 * perl/Amanda/Amflush.pm: s/storage_dest/dst_storage/
4694 * perl/Amanda/Changer/disk.pm: Check $self->{'dir'} is defined
4695 * perl/Amanda/Changer/robot.pm: Check $info->{'state'} is defined
4696 * perl/Amanda/Cmdfile.swg: Change some field names.
4697 * perl/Amanda/Config.swg: Add CONFTYPE_VAULT_LIST.
4698 * perl/Amanda/DB/Catalog.pm (_load_tapelist): Always load.
4699 * perl/Amanda/Recovery/Clerk.pm (close_volume): New method
4700 * perl/Amanda/Recovery/Scan.pmA: Fix message
4701 * perl/Amanda/Report.pm: Fix for vault.
4702 * perl/Amanda/Report/human.pm: Fix for vault.
4703 * perl/Amanda/Status.pm: Fix for vault.
4704 * perl/Amanda/Taper/Controller.pm: Add msg_VAULT_WRITE and
4705 msg_CLOSE_SOURCE_VOLUME
4706 * perl/Amanda/Taper/Protocol.pm: Add VAULT_WRITE, CLOSED_VOLUME,
4707 OPENED_SOURCE_VOLUME, CLOSE_SOURCE_VOLUME, CLOSED_SOURCE_VOLUME
4708 * perl/Amanda/Taper/Scan.pm: Remove unused code
4709 * perl/Amanda/Taper/Scribe.pm (close_volume): Fix
4710 * perl/Amanda/Taper/Scribe.pm (close_source_volume): New method.
4711 * perl/Amanda/Taper/Worker.pm: Add VAULT_WRITE, CLOSE_SOURCE_VOLUME,
4712 recovery_clerk_notif_open_volume, recovery_clerk_notif_close_volume.
4713 * perl/Amanda/Taper/Worker.pm: Add vault operation.
4714 * perl/Amanda/Vault.pm: Fix for multiple vault_storage.
4715 * server-src/amcheck-device.pl: Fix.
4716 * server-src/amcheck.c: s/up/status/
4717 * server-src/amvault.pl: Fix message.
4718 * server-src/cmdfile.c: Change a few names
4719 * server-src/cmdfile.h: Change a few names, many fixes
4720 * server-src/diskfile.c: Set status.
4721 * server-src/diskfile.h: Remove up, add status.
4722 * server-src/driver.c: Data struct change, handle vault command.
4723 * server-src/driverio.c: Add new taper commands.
4724 * server-src/driverio.h: Change many struct.
4725 * server-src/planner.c: Change many struct.
4726 * server-src/server_util.c: Add "VAULT-WRITE", "CLOSED-VOLUME",
4727 "OPENED-SOURCE-VOLUME", "CLOSE-SOURCE-VOLUME" and
4728 "CLOSED-SOURCE-VOLUME"
4729 * server-src/server_util.h: Add VAULT_WRITE, CLOSED_VOLUME,
4730 OPENED_SOURCE_VOLUME, CLOSE_SOURCE_VOLUME, CLOSED_SOURCE_VOLUME.
4731 * server-src/tapefile.c: Fix retention.
4732 * installcheck/Amanda_Rest_Amcheck.pl: Fix
4733 * installcheck/Amanda_Rest_Dumps.pl: Fix sort.
4734 * installcheck/Installcheck/Dumpcache.pm: Force a FULL.
4735 * installcheck/amoverview.pl: Fix.
4736 * installcheck/amvault.pl: Fix.
4737 * installcheck/pp-scripts.pl: Fix.
4738
4739 2015-03-26 Jean-Louis Martineau <martineau@zmanda.com>
4740 * installcheck/Amanda_Rest_Runs.pl: Check the {head}->{exit_status}
4741
4742 2015-03-26 Jean-Louis Martineau <martineau@zmanda.com>
4743 * server-src/driver.c: Send QUIT to chunker after receiving
4744 ABORT-FINISHED.
4745
4746 2015-03-25 Jean-Louis Martineau <martineau@zmanda.com>
4747 * perl/Amanda/Report.pm (get_exit_status): New method
4748 * perl/Amanda/Report/json.pm: Add {head}->{exit_status}
4749
4750 2015-03-25 Jean-Louis Martineau <martineau@zmanda.com>
4751 * config/amanda/tape.m4: Add include for bsd.
4752 * device-src/device.c: Improve message
4753
4754 2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
4755 * perl/Amanda/Report/json.pm: Add a timestamp in the head section.
4756 * installcheck/Amanda_Rest_Runs.pl: Add timestamp.
4757
4758 2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
4759 * perl/Amanda/Status.pm: Report all size as bytes.
4760 * installcheck/Amanda_Rest_Runs.pl,
4761 * server-src/amstatus.pl,
4762 installcheck/Amanda_Rest_Runs.pl: Fix for bytes size.
4763
4764 2015-03-24 Jean-Louis Martineau <martineau@zmanda.com>
4765 * installcheck/Amanda_Rest_Runs.pl, perl/Amanda/Status.pm,
4766 server-src/amstatus.pl, server-src/driver.c:
4767 s/free_kps/network_free_kps/
4768 s/free_space/holding_free_space/
4769
4770 2015-03-23 Jean-Louis Martineau <martineau@zmanda.com>
4771 * installcheck/Makefile.am: Do not run the gnutar installcheck
4772
4773 2015-03-20 Jean-Louis Martineau <martineau@zmanda.com>
4774 * perl/Amanda/Status.pm: Improve documentation.
4775
4776 2015-03-19 Jean-Louis Martineau <martineau@zmanda.com>
4777 * device-src/s3-device.c: Fix double g_mutex_unlock.
4778
4779 2015-03-17 Jean-Louis Martineau <martineau@zmanda.com>
4780 * server-src/amindexd.c: Fix LISTHOST command.
4781
4782 2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
4783 * server-src/tapefile.c (compute_storage_retention): Fix retentionfor
4784 retention_days.
4785 * installcheck/Amanda_Tapelist.pl: Add many installcheck for
4786 list_retention, list_no_retention, list_new_tapes and
4787 volume_is_reusable
4788
4789 2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
4790 * server-src/amstatus.pl: One line by worker.
4791
4792 2015-03-06 Jean-Louis Martineau <martineau@zmanda.com>
4793 * server-src/tapefile.c (list_retention, list_no_retention): Do not
4794 list datestamp==0 or not in a listed storage.
4795
4796 2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
4797 * common-src/conffile.c, perl/Amanda/Policy.pm,
4798 perl/Amanda/Taper/Scan.pm,
4799 server-src/tapefile.c: retention_tapes default to tapecycle-1.
4800 * man/xml-source/amanda.conf.5.xml: Document it.
4801 * installcheck/Amanda_Taper_Scan.pl,
4802 installcheck/Amanda_Taper_Scan_lexical.pl,
4803 installcheck/Amanda_Taper_Scan_oldest.pl,
4804 installcheck/Amanda_Taper_Scan_traditional.pl: Fix.
4805
4806 2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
4807 * server-src/tapefile.c (list_retention, list_no_retention): Fix.
4808
4809 2015-03-05 Jean-Louis Martineau <martineau@zmanda.com>
4810 * installcheck/Amanda_Config.pl: Fix: Remove append keyword.
4811
4812 2015-03-04 Jean-Louis Martineau <martineau@zmanda.com>
4813 * common-src/conffile.c: Fix parsing dump-selection (remove append).
4814 * man/xml-source/amanda.conf.5.xml: Document change.
4815
4816 2015-02-26 Jean-Louis Martineau <martineau@zmanda.com>
4817 * common-src/conffile.c (config_print_errors_as_message): Fix message.
4818
4819 2015-02-18 Jean-Louis Martineau <martineau@zmanda.com>
4820 * man/xml-source/amadmin.8.xml: Document tape --days.
4821 * server-src/amadmin.c: Fix --days intape command.
4822
4823 2015-02-17 Jean-Louis Martineau <martineau@zmanda.com>
4824 * common-src/bsdtcp-security.c, common-src/krb5-security.c,
4825 * common-src/local-security.c, common-src/rsh-security.c,
4826 * common-src/ssh-security.c: Fix bug found by coverity.
4827
4828 2015-02-17 Jean-Louis Martineau <martineau@zmanda.com>
4829 * server-src/amadmin.c: Fix crash in tape command.
4830
4831 2015-02-15 Jean-Louis Martineau <martineau@zmanda.com>
4832 * perl/Amanda/Xfer.swg: Fix for swig-3.0.5
4833
4834 2015-02-13 Jean-Louis Martineau <martineau@zmanda.com>
4835 * packaging/common/post_inst_functions.sh: Use 'command -v' instead of
4836 which.
4837
4838 2015-02-13 Jean-Louis Martineau <martineau@zmanda.com>
4839 * packaging/common/post_inst_functions.sh: fix for gpg2 and gpg-agent
4840
4841 2015-02-12 Jean-Louis Martineau <martineau@zmanda.com>
4842 * packaging/common/common_functions.sh: Use systemctl to restart
4843 xinetd.
4844
4845 2015-02-12 Jean-Louis Martineau <martineau@zmanda.com>
4846 * perl/Amanda/Status.pm: Fix previous patch.
4847
4848 2015-02-11 Jean-Louis Martineau <martineau@zmanda.com>
4849 * perl/Amanda/Status.pm: Fix race.
4850
4851 2015-02-11 Jean-Louis Martineau <martineau@zmanda.com>
4852 * perl/Amanda/Amdump.pm: Remove amdump file older than 30 days if
4853 there is no corresponding log file.
4854 * server-src/amtrmlog.c: Remove amdump file when removing log file.
4855
4856 2015-02-10 Jean-Louis Martineau <martineau@zmanda.com>
4857 * Makefile.am: Fix for Solaris find.
4858
4859 2015-02-04 Jean-Louis Martineau <martineau@zmanda.com>
4860 * common-src/ssh-security.c (ssh_connect): Use the name from the
4861 disklist, no need to find the canonical name.
4862
4863 2015-02-03 Jean-Louis Martineau <martineau@zmanda.com>
4864 * device-src/s3-util.c: Fix memory allocation issue.
4865
4866 2015-02-03 Jean-Louis Martineau <martineau@zmanda.com>
4867 * application-src/amstar.c: Support include in backup mode.
4868
4869 2015-01-30 Jean-Louis Martineau <martineau@zmanda.com>
4870 * perl/Amanda/Changer/robot.pm: Fix state file update.
4871
4872 2015-01-29 Jean-Louis Martineau <martineau@zmanda.com>
4873 * device-src/s3-device.c: Parse new AWS4 STORAGE-API.
4874 * device-src/s3-util.c (s3_compute_sha256_hash_ba,
4875 s3_compute_sha256_hash, EncodeHMACSHA256, s3_tohex): New function.
4876 * device-src/s3-util.h (s3_compute_sha256_hash_ba,
4877 s3_compute_sha256_hash, EncodeHMACSHA256, s3_tohex): New prototypes.
4878 * device-src/s3.c: Compute signature for AWS4.
4879 * device-src/s3.h (S3_api): Add S3_API_UNKNOWN and S3_API_AWS4.
4880 * man/xml-source/amanda-devices.7.xml (STORAGE_API): Document AWS4.
4881 * server-src/amtape.pl: Fix perl warning.
4882
4883 2015-01-29 Jean-Louis Martineau <martineau@zmanda.com>
4884 * server-src/dumper.c: Fix retry handling.
4885
4886 2015-01-28 Jean-Louis Martineau <martineau@zmanda.com>
4887 * client-src/selfcheck.c: (print_platform): Do not execute
4888 /usr/bin/sw_vers if it doesn't exists.
4889 * common-src/amutil.c: Fix debugging statement.
4890
4891 2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
4892 * installcheck/Amanda_Rest_Runs.pl, installcheck/amreport.pl,
4893 perl/Amanda/Amdump.pm, perl/Amanda/Amflush.pm,
4894 perl/Amanda/CheckDump.pm, perl/Amanda/DB/Catalog.pm,
4895 perl/Amanda/FetchDump.pm, perl/Amanda/Logfile.swg,
4896 perl/Amanda/Process.pm, perl/Amanda/Rest/Report.pm,
4897 perl/Amanda/Rest/Runs.pm, perl/Amanda/Status.pm,
4898 perl/Amanda/Vault.pm, server-src/amstatus.pl,
4899 server-src/driver.c: CNF_LOGIDR can be relative.
4900
4901 2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
4902 * client-src/selfcheck.c (print_platform): Detect BSD variant.
4903
4904 2015-01-27 Jean-Louis Martineau <martineau@zmanda.com>
4905 * server-src/planner.c: Remove useless line.
4906
4907 2015-01-26 Jean-Louis Martineau <martineau@zmanda.com>
4908 * config/compile, config/config.guess,
4909 config/config.sub, config/missing,
4910 config/test-driver: Upgrade to automake 1.14.1
4911
4912 2015-01-26 Jean-Louis Martineau <martineau@zmanda.com>
4913 * perl/Amanda/Cmdline.swg, perl/Amanda/Device.swg,
4914 perl/Amanda/MainLoop.swg, perl/Amanda/NDMP.swg,
4915 perl/Amanda/Util.swg: Fix linking issue.
4916
4917 2015-01-16 Jean-Louis Martineau <martineau@zmanda.com>
4918 * perl/Amanda/Status.pm: Fix perl warning.
4919
4920 2015-01-14 Jean-Louis Martineau <martineau@zmanda.com>
4921 * config/amanda/components.m4: Remove AMANDA_JSON_SERVER and
4922 WANT_JSON_SERVER.
4923 * config/amanda/json.m4: Remove file
4924 * perl/Amanda/JSON/*: Remove directory.
4925 * perl/Amanda/JSON.pm: Remove module.
4926 * perl/Makefile.am: Remove Amanda/JSON.pm and Amanda/JSON/*
4927 * server-src/Makefile.am: Remove amanda.psgi
4928 * server-src/amanda.psgi.pl: Remove file.
4929
4930 2015-01-13 Jean-Louis Martineau <martineau@zmanda.com>
4931 * perl/Amanda/Vault.pm: Remove bogus print statement.
4932
4933 2015-01-13 Jean-Louis Martineau <martineau@zmanda.com>
4934 * server-src/amvault.pl: Add --src-labelstr argument.
4935 * perl/Amanda/DB/Catalog.pm: Match the labelstr.
4936 * perl/Amanda/Recovery/Planner.pm: Match the labelstr.
4937 * perl/Amanda/Util.swg (match_labelstr_expr): New method.
4938 * perl/Amanda/Vault.pm: Match the labelstr.
4939 * NEWS: Add new amvault --src-labelstr argument.
4940
4941 2015-01-07 Jean-Louis Martineau <martineau@zmanda.com>
4942 * common-src/amfeatures.h: Add fe_sendbackup_rep_retry.
4943 * common-src/amfeatures.c: Add fe_sendbackup_rep_retry.
4944 * server-src/dumper.c: Accept a RETRY in the REP packet.
4945
4946 2015-01-06 Jean-Louis Martineau <martineau@zmanda.com>
4947 * perl/Amanda/Changer/ndmp.pm: Remove bogus confess.
4948
4949 2015-01-06 Jean-Louis Martineau <martineau@zmanda.com>
4950 * common-src/debug.c: Add the pid of the process on each line.
4951 * perl/Amanda/Changer/disk.pm: Print the pid of the process using the
4952 drive.
4953 * perl/Amanda/Report/human.pm: Fix perl warning.
4954
4955 2015-01-05 Jean-Louis Martineau <martineau@zmanda.com>
4956 * common-src/conffile.c: bumpdays can be 0.
4957
4958 2015-01-03 Jean-Louis Martineau <martineau@zmanda.com>
4959 * perl/Amanda/Status.pm: Fix bad status error.
4960
4961 2015-01-02 Jean-Louis Martineau <martineau@zmanda.com>
4962 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Die if loading an extensions
4963 fail.
4964
4965 2014-12-22 Jean-Louis Martineau <martineau@zmanda.com>
4966 * server-src/cmdfile.c (cmdfile_holding_file): Check it is a CMD_FLUSH
4967
4968 2014-12-19 Jean-Louis Martineau <martineau@zmanda.com>
4969 * perl/Amanda/Report/human.pm: Report all FAIL.
4970 * perl/Amanda/Report/postscript.pm: Fix perl warning.
4971 * installcheck/amreport.pl: Change message.
4972
4973 2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
4974 * server-src/dumper.c: Fix RETRY line.
4975
4976 2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
4977 * perl/Amanda/Report.pm: Set dumper filed on RETRY.
4978 * perl/Amanda/Report/human.pm: Print RETRY line.
4979
4980 2014-12-18 Jean-Louis Martineau <martineau@zmanda.com>
4981 * perl/Amanda/Status.pm: Fix perl warning.
4982
4983 2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
4984 * perl/Amanda/Curinfo/Info.pm (read_infofile_perfs): Report correct
4985 error if $skip_blanks fail.
4986
4987 2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
4988 * perl/Amanda/Curinfo/Info.pm (read_infofile): Handle empty file.
4989
4990 2014-12-17 Jean-Louis Martineau <martineau@zmanda.com>
4991 * perl/Amanda/DB/Catalog.pm: set $dumps{$dumpkey} on partnum==1.
4992
4993 2014-12-16 Jean-Louis Martineau <martineau@zmanda.com>
4994 * perl/Amanda/Vault.pm: Get interactivity.
4995 * server-src/amvault.pl: Add --no-interactivity
4996 * man/xml-source/amvault.8.xml: Document --no-interactivity argument.
4997
4998 2014-12-16 Jean-Louis Martineau <martineau@zmanda.com>
4999 * perl/Amanda/Rest/Runs.pm (list): Do not fail on empty file.
5000
5001 2014-12-15 Jean-Louis Martineau <martineau@zmanda.com>
5002 * perl/Amanda/Status.pm: Set $sle->{'status'} on taper eof.
5003 * server-src/driverio.h (taper_t): Add down field.
5004 * server-src/driverio.c (startup_tape_process): Set down to false.
5005 * server-src/driver.c (start_some_dumps): Do not use a taper if it is
5006 down.
5007 * server-src/driver.c (handle_taper_result): Set it to down on BOGUS.
5008
5009 2014-12-15 Jean-Louis Martineau <martineau@zmanda.com>
5010 * application-src/amgtar.c (support): Output
5011 "MESSAGE-SELFCHECK-JSON YES".
5012 * client-src/client_util.c (run_client_scripts): Output script output
5013 in meesage form.
5014 * client-src/client_util.h (run_client_scripts): Change proptotype.
5015 * client-src/selfcheck.c: Add fprint_message argument to
5016 run_client_scripts.
5017 * common-src/amfeatures.c: Add fe_sendsize_message,
5018 fe_sendbackup_message.
5019 * common-src/amfeatures.h: Add fe_sendsize_message,
5020 fe_sendbackup_message.
5021 * common-src/ammessage.c: Add error code 4600000 and 4600001.
5022 * perl/Amanda/Message.pm: Add many code range.
5023 * client-src/sendbackup.c: Add NULL argument to run_client_scripts.
5024 * client-src/sendsize.c: Add NULL argument to run_client_scripts.
5025 * recover-src/extract_list.c: Add NULL argument to run_client_scripts.
5026
5027 2014-12-12 Jean-Louis Martineau <martineau@zmanda.com>
5028 * server-src/dumper.c: Print 'data in sum CRC' to debug file.
5029
5030 2014-12-12 Jean-Louis Martineau <martineau@zmanda.com>
5031 * common-src/ammessage.c: Fix memory allocation.
5032
5033 2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
5034 * perl/Amanda/Vault.pm: Continue to next dump if src device fail.
5035
5036 2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
5037 * common-src/ammessage.c: Fix.
5038 * perl/Amanda/Logfile.swg: Include "amindex.h"
5039
5040 2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
5041 * application-src/amgtar.c: Fix message memory leak.
5042 * client-src/client_util.c: Fix message memory leak.
5043 * common-src/ammessage.c: Fix memory leak, fix for older glib2.
5044
5045 2014-12-11 Jean-Louis Martineau <martineau@zmanda.com>
5046 * perl/Amanda/Rest/Dles.pm: allow set and unset command at the same
5047 time.
5048
5049 2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
5050 * common-src/security-util.c: Change debuging level.
5051
5052 2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
5053 * common-src/ammessage.c: Fix for older glib2.
5054
5055 2014-12-10 Jean-Louis Martineau <martineau@zmanda.com>
5056 * client-src/senddiscover.c: fix json formating.
5057 * common-src/ammessage.c: Parse hash and array in message.
5058
5059 2014-12-09 Jean-Louis Martineau <martineau@zmanda.com>
5060 * perl/Amanda/Process.pm (which_process_running): New method to return
5061 the list of pid of the running amanda processes.
5062 * perl/Amanda/Cleanup.pm (message 3400002): Include the list of pid
5063 running.
5064
5065 2014-12-09 Jean-Louis Martineau <martineau@zmanda.com>
5066 * perl/Amanda/Status.pm: Fix status.
5067
5068 2014-12-08 Jean-Louis Martineau <martineau@zmanda.com>
5069 * client-src/senddiscover.c: Parse application stdout
5070 * common-src/ammessage.c: handle null in json message.
5071
5072 2014-12-04 Jean-Louis Martineau <martineau@zmanda.com>
5073 * perl/Amanda/Changer/robot.pm: Use tapelist label only if the slot is
5074 in SLOT_UNKNOWN state.
5075
5076 2014-12-04 Jean-Louis Martineau <martineau@zmanda.com>
5077 * perl/Amanda/Taper/Scribe.pm: Keep an $self->{'oldsize'}.
5078 * perl/Amanda/Taper/Scribe.pm (get_bytes_written): Return
5079 $self->{'oldsize'} if the xfer is done.
5080 * perl/Amanda/Taper/Worker.pm: Truncate the status file after writting
5081 to it.
5082
5083 2014-12-02 Jean-Louis Martineau <martineau@zmanda.com>
5084 * server-src/amcheck-device.pl: s/writablility/writability/.
5085
5086 2014-11-28 Jean-Louis Martineau <martineau@zmanda.com>
5087 * common-src/amflock.c: Set errno.
5088 * perl/Amanda/Changer.pm: Print error on lock error.
5089
5090 2014-11-27 Jean-Louis Martineau <martineau@zmanda.com>
5091 * amandad-src/amandad.c: Check with getuid since we are not root
5092 there.
5093 * common-src/krb5-security.c: Drop root privileges, fix typos.
5094
5095 2014-11-26 Jean-Louis Martineau <martineau@zmanda.com>
5096 * perl/Amanda/Status.pm: fix status.
5097
5098 2014-11-24 Jean-Louis Martineau <martineau@zmanda.com>
5099 * Makefile.am: 'cp -av' => 'cp -fpR' ,-av are not valid on solaris.
5100
5101 2014-11-24 Jean-Louis Martineau <martineau@zmanda.com>
5102 * amar-src/amar.c (amar_attr_add_data_fd_thread): Close the file
5103 descriptor when there is nothing more to read from.
5104 * client-src/sendbackup.c (check_result): Fix a race bug. sendbackup
5105 do not always report the exit status of the application.
5106 Once amvmware close its socket, an immediate call to waitpid(-1,)
5107 might not trap it exited.
5108 The patch check all pid we forked until they exit (max 5 seconds),
5109 after that they are killed.
5110
5111 2014-11-21 Jean-Louis Martineau <martineau@zmanda.com>
5112 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Convert request from utf-8 to
5113 user locale.
5114
5115 2014-11-21 Jean-Louis Martineau <martineau@zmanda.com>
5116 * perl/Amanda/Message.pm: Convert reply from user locale to utf-8.
5117
5118 2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
5119 * config/amanda/flags.m4: subst AMANDA_FILE_CFLAGS do that in generate
5120 the basename of the file.
5121 * amandad-src/Makefile.am, amar-src/Makefile.am,
5122 application-src/Makefile.am, client-src/Makefile.am,
5123 common-src/Makefile.am, device-src/Makefile.am,
5124 ndmp-src/Makefile.am, oldrecover-src/Makefile.am,
5125 perl/Makefile.am, recover-src/Makefile.am,
5126 server-src/Makefile.am, xfer-src/Makefile.am (AM_CFLAGS):
5127 Add $(AMANDA_FILE_CFLAGS)
5128 * application-src/amgtar.c, client-src/client_util.c,
5129 client-src/selfcheck.c, client-src/senddiscover.c,
5130 common-src/conffile.c, server-src/amcheck.c: Use AMANDA_FILE in
5131 build_message
5132
5133 2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
5134 * config/test-driver: New file for automake-1.14
5135 * config/missing, config/ylwrap, config/install-sh,
5136 config/mkinstalldirs, config/depcomp, config/compile,
5137 config/config.guess, config/config.sub: Update to automake-1.14
5138
5139 2014-11-19 Jean-Louis Martineau <martineau@zmanda.com>
5140 * Makefile.am: Add '-I /usr/share/aclocal' to ACLOCAL_AMFLAGS
5141
5142 2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
5143 * perl/Amanda/Message.pm: Fix code number attribution.
5144
5145 2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
5146 * common-src/amservice.c: Set remote_errors on "ERROR" from the
5147 client. To get an exit code with error.
5148
5149 2014-11-18 Jean-Louis Martineau <martineau@zmanda.com>
5150 * perl/Amanda/Rest/Services.pm: Add a waitpid of the amservice
5151 process.
5152 * perl/Amanda/Service.pm: Add messages code.
5153
5154 2014-11-14 Jean-Louis Martineau <martineau@zmanda.com>
5155 * perl/Amanda/Process.pm: '<defunct>' process are dead, process can be
5156 "starman".
5157 * perl/Amanda/Rest/Runs.pm: Call process_alive with the $pname.
5158
5159 2014-11-13 Jean-Louis Martineau <martineau@zmanda.com>
5160 * amar-src/amar.c (amar_attr_add_data_fd): write eoa on size==0.
5161
5162 2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
5163 * autogen: Add "-I /usr/share/aclocal" to includes
5164
5165 2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
5166 * perl/Amanda/Amdump.pm (run): set $self->{'pid'}
5167 * perl/Amanda/Amflush.pm (run): set $self->{'pid'}
5168 * perl/Amanda/CheckDump.pm (run): set $self->{'pid'}
5169 * perl/Amanda/Rest/Runs.pm: Log "fork" line.
5170 * perl/Amanda/Vault.pm: Small fix.
5171 * server-src/amflush.pl: Log "fork" line.
5172 * server-src/amvault.pl: s/config_name/config/g
5173
5174 2014-11-12 Jean-Louis Martineau <martineau@zmanda.com>
5175 * perl/Amanda/Status.pm: Fix perl warning.
5176
5177 2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
5178 * xfer-src/filter-process.c (get_err_fd): Remove prototype.
5179 * xfer-src/xfer-element.h (get_err_fd): Add prototype.
5180 * perl/Amanda/Cmdline.swg: #include "match.h"
5181
5182 2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
5183 * perl/Amanda/Changer/robot.pm: Fix BROKEN-DRIVE-LOADED-SLOT.
5184
5185 2014-11-08 Jean-Louis Martineau <martineau@zmanda.com>
5186 * perl/Amanda/Script_App.pm (print_to_server): Print enssage to debug
5187 file.
5188 * server-src/amfetchdump.pl: Add severity to messages.
5189
5190 2014-11-07 Jean-Louis Martineau <martineau@zmanda.com>
5191 * perl/Amanda/Changer/robot.pm: Fix BROKEN-DRIVE-LOADED-SLOT.
5192 * installcheck/Amanda_Changer_robot.pl: Fix test.
5193
5194 2014-11-07 Jean-Louis Martineau <martineau@zmanda.com>
5195 * perl/Amanda/Changer/robot.pm: Add a BROKEN-DRIVE-LOADED-SLOT
5196 property.
5197 * man/xml-source/amanda-changers.7.xml: Document it.
5198
5199 2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
5200 * installcheck/amrmtape.pl: Fix diskpath.
5201
5202 2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
5203 * common-src/conffile.c: Generate an error if fopen of config fail.
5204
5205 2014-11-06 Jean-Louis Martineau <martineau@zmanda.com>
5206 * server-src/amtrmidx.c: Do not delete index file newer than 7 days.
5207 * installcheck/amrmtape.pl: Fix check.
5208
5209 2014-11-05 Jean-Louis Martineau <martineau@zmanda.com>
5210 * perl/Amanda/Script_App.pm (do) : Set action with special command.
5211
5212 2014-11-04 Jean-Louis Martineau <martineau@zmanda.com>
5213 * server-src/logfile.c: Do no create the log symlink for a
5214 checkdump or fetchdump run.
5215
5216 2014-11-04 Jean-Louis Martineau <martineau@zmanda.com>
5217 * perl/Amanda/Report.pm: Parse checkdump and fetchdump line. new
5218 return an Amanda::Message on error.
5219 * perl/Amanda/Rest/Report.pm: Handle Amanda::Report->new returning an
5220 Amanda::Message.
5221 * server-src/amreport.pl: Handle Amanda::Report->new returning an
5222 Amanda::Message.
5223 * server-src/logfile.c: Parse checkdump and fetchdump line.
5224
5225 2014-11-03 Jean-Louis Martineau <martineau@zmanda.com>
5226 * amar-src/amar.c: Fix hang on eof.
5227 * common-src/ammessage (ammessage_encode_json): Improve encoding.
5228 * perl/Amanda/Cleanup.pm: Remove trailing '\n'.
5229 * perl/Amanda/Rest/Runs.pm: Fix Message module
5230 * perl/Amanda/Status.pm: Fix.
5231 * server-src/amstatus.pl: Set $pwd before changing the cwd.
5232
5233 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5234 * perl/Amanda/Cleanup.pm: Add message 34000010.
5235 * perl/Amanda/Process.pm: Return Message if can't open the trace_log.
5236 * perl/Amanda/Rest/Runs.pm: Accept multiple trace_log.
5237
5238 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5239 * perl/Amanda/Rest/Changers.pm, perl/Amanda/Rest/Configs.pm,
5240 perl/Amanda/Rest/Storages.pm: Do not accept comma in fields.
5241 * perl/Amanda/Rest/Storages/Labels.pm: Do not accept comma in labels.
5242 * installcheck/Amanda_Rest_Changers.pl,
5243 installcheck/Amanda_Rest_Configs.pl,
5244 installcheck/Amanda_Rest_Storages.pl: Do not use comma.
5245
5246 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5247 * perl/Amanda/Status.pm (new): Return error if it can't open the
5248 amdump_log file.
5249 * perl/Amanda/Rest/Status.pm, server-src/amstatus.pl: Handle error.
5250
5251 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5252 * perl/Amanda/Status.pm: Fix perl warnings.
5253
5254 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5255 * perl/Amanda/Rest/Changers.pm, perl/Amanda/Rest/Configs.pm,
5256 perl/Amanda/Rest/Storages.pm: Parse multiple fields.
5257
5258 2014-10-31 Jean-Louis Martineau <martineau@zmanda.com>
5259 * application-src/amgtar.c: Always set argument.host
5260
5261 2014-10-30 Jean-Louis Martineau <martineau@zmanda.com>
5262 * common-src/ammessage.c: Improve JSON escaping code.
5263
5264 2014-10-29 Jean-Louis Martineau <martineau@zmanda.com>
5265 * application-src/ambsdtar.c: Handle 'x ' lines on stderr for bsdtar
5266 restore.
5267
5268 2014-10-28 Jean-Louis Martineau <martineau@zmanda.com>
5269 * perl/Amanda/Message.pm: Add Amanda::Extensions::Message
5270
5271 2014-10-28 Jean-Louis Martineau <martineau@zmanda.com>
5272 * perl/Amanda/FetchDump.pm: log pid-done line.
5273 * perl/Amanda/Rest/Runs.pm: Handle fork from rest server.
5274 * server-src/logfile.c: log pid line with pname.
5275
5276 2014-10-28 Jean-Louis Martineau <martineau@zmanda.com>
5277 * perl/Amanda/Curinfo/Info.pm: Fix perl warning.
5278
5279 2014-10-28 Jean-Louis Martineau <martineau@zmanda.com>
5280 * perl/Amanda/Status.pm: Fix perl warning.
5281
5282 2014-10-27 Jean-Louis Martineau <martineau@zmanda.com>
5283 * perl/Amanda/Curinfo.pm (get_dle_info): New method.
5284 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
5285 get '/amanda/v1.0/configs/:CONF/dles/hosts/:HOST'
5286 * perl/Amanda/Rest/Dles.pm (info): New method.
5287
5288 2014-10-21 Jean-Louis Martineau <martineau@zmanda.com>
5289 * server-src/amanda-rest-server.pl: Typo.
5290 * perl/Amanda/Status.pm: Fix.
5291
5292 2014-10-21 Jean-Louis Martineau <martineau@zmanda.com>
5293 * perl/Amanda/Status.pm: Set nb_tape to 0.
5294 * server-src/amanda-rest-server.pl: print "Stoped the Amanda Rest
5295 Server".
5296
5297 2014-10-17 Jean-Louis Martineau <martineau@zmanda.com>
5298 * perl/Amanda/FetchDump.pm: $self->{'message_file'}->autoflush,
5299 Return $params{'finished_cb'}->(1);
5300 * perl/Amanda/Rest/Runs.pm: Add '=' to dumpspec argument.
5301
5302 2014-10-17 Jean-Louis Martineau <martineau@zmanda.com>
5303 * perl/Amanda/Status.pm, server-src/amstatus.pl: Fix perl warning.
5304
5305 2014-10-17 Jean-Louis Martineau <martineau@zmanda.com>
5306 * perl/Amanda/Rest/Runs.pm, perl/Amanda/CheckDump.pm,
5307 perl/Amanda/Device.swg, perl/Amanda/Cleanup.pm,
5308 perl/Amanda/Changer/diskflat.pm, perl/Amanda/Changer.pm,
5309 perl/Amanda/Vault.pm, perl/Amanda/Index.pm,
5310 perl/Amanda/Disklist.swg: Add severity to messages.
5311
5312 2014-10-16 Jean-Louis Martineau <martineau@zmanda.com>
5313 * perl/Amanda/Status.pm: Set write_size, and $dle->{'dsize'}.
5314
5315 2014-10-16 Jean-Louis Martineau <martineau@zmanda.com>
5316 * server-src/amcleanup.pl: Some fixes.
5317
5318 2014-10-16 Jean-Louis Martineau <martineau@zmanda.com>
5319 * client-src/selfcheck.c: Fix compilation if SAMBA_CLIENT is not
5320 defined.
5321 * common-src/ammessage.c: Add Message 3600087.
5322
5323 2014-10-15 Jean-Louis Martineau <martineau@zmanda.com>
5324 * perl/Amanda/CheckDump.pm: Set severity on Message.
5325
5326 2014-10-15 Jean-Louis Martineau <martineau@zmanda.com>
5327 * server-src/amcheck.c: Use g_strdup.
5328
5329 2014-10-15 Jean-Louis Martineau <martineau@zmanda.com>
5330 * application-src/amgtar.c: Output message for selfcheck
5331 * client-src/client_util.c (backup_support_option): Parse
5332 "MESSAGE-JSON".
5333 * client-src/client_util.h (backup_support_option_s): Add message_json.
5334 * client-src/selfcheck.c: Parse message from application.
5335 * common-src/ammessage.c: Add amgtar message.
5336 * perl/Amanda/Extract.pm (BSU): parse message-json
5337 * perl/Amanda/Message.pm: Add amgtar message (3700000).
5338 * server-src/amcheck.c: Remove unused code, small cleanup.
5339 * installcheck/Installcheck/Application.pm (selfcheck_message):
5340 execute application selfcheck with '--message json'.
5341 * installcheck/amgtar.pl: Call selfcheck_message.
5342
5343 2014-10-15 Jean-Louis Martineau <martineau@zmanda.com>
5344 * common-src/ammessage.h: #ifndef AMMESSAGE_H
5345
5346 2014-10-15 Jean-Louis Martineau <martineau@zmanda.com>
5347 * common-src/ammessage.c: Do not use g_ptr_array_new_full.
5348 * server-src/amcheck.c: g_ptr_array_free(message_array, TRUE);
5349
5350 2014-10-14 Jean-Louis Martineau <martineau@zmanda.com>
5351 * device-src/s3.c (rfc3339_date): Use full_write and fill_read.
5352
5353 2014-10-14 Jean-Louis Martineau <martineau@zmanda.com>
5354 * common-src/amfeatures.c: Add fe_selfcheck_message.
5355 * common-src/amfeatures.h: Add fe_selfcheck_message.
5356 * client-src/client_util.c (check_access_message, check_file_message,
5357 check_dir_message, check_suid_message): New function that return a
5358 message_t.
5359 * client-src/client_util.h: Add prototype.
5360 * client-src/selfcheck.c: Return message to server.
5361 * common-src/ammessage.c: Many improvement.
5362 * common-src/ammessage.c (delete_message_gpointer,
5363 get_quoted_message, message_get_code, message_get_severity,
5364 message_get_argument, message_add_argument, parse_json_message):
5365 New function.
5366 * common-src/ammessage.h: Add prototype.
5367 * common-src/amservice.c: Take a --features argument.
5368 * perl/Amanda/Message.pm: selfcheck message are 3600000
5369 * server-src/amcheck.c: Parse message from selfcheck.
5370 * installcheck/Amanda_Rest_Amcheck.pl: Fix message.
5371 * installcheck/amservice.pl: Test --features argument.
5372
5373 2014-10-11 Jean-Louis Martineau <martineau@zmanda.com>
5374 * config/amanda/device.m4: AC_SUBST(AMANDA_DEVICES)
5375 * perl/Amanda/Constants.pm.in.src: Add AMANDA_DEVICES.
5376 * installcheck/Amanda_Device.pl: Do not check dvdrw device if it is
5377 not compiled in.
5378
5379 2014-10-10 Jean-Louis Martineau <martineau@zmanda.com>
5380 * installcheck/Installcheck/Rest.pm: Check if Dancer is installed.
5381
5382 2014-10-10 Jean-Louis Martineau <martineau@zmanda.com>
5383 * perl/Amanda/Rest/Amcheck.pm, perl/Amanda/Rest/Report.pm,
5384 perl/Amanda/Rest/Runs.pm, perl/Amanda/Rest/Services.pm,
5385 perl/Amanda/Rest/Status.pm, perl/Amanda/Rest/Version.pm:
5386 * installcheck/Amanda_Rest_Amcheck.pl: Call set_pname.
5387 installcheck/Amanda_Rest_Runs.pl: Fix process.
5388
5389 2014-10-10 Jean-Louis Martineau <martineau@zmanda.com>
5390 * perl/Amanda/Config.swg: Fix message.
5391
5392 2014-10-10 Jean-Louis Martineau <martineau@zmanda.com>
5393 * application-src/ampgsql.pl: Tag 'File removed before we read it' as
5394 GOOD.
5395
5396 2014-10-09 Jean-Louis Martineau <martineau@zmanda.com>
5397 * common-src/ammessage.c: Fix some messages.
5398 * perl/Amanda/CheckDump.pm: Use errnostr. Decode use base64 xml encoding
5399 * perl/Amanda/FetchDump.pm: Use errnostr. Decode use base64 xml encoding
5400 * perl/Amanda/Label.pm: Use errnostr.
5401 * perl/Amanda/Message.pm: Set errnostr.
5402 * perl/Amanda/Rest/Runs.pm: Fix open.
5403 * server-src/amreindex.pl: Decode use base64 xml encoding.
5404 * installcheck/Amanda_Rest_Configs.pl: Add errnostr.
5405
5406 2014-10-06 Jean-Louis Martineau <martineau@zmanda.com>
5407 * perl/Amanda/FetchDump.pm: Set severity on many message.
5408 * perl/Amanda/Rest/Runs.pm: Fix setting message_filename.
5409
5410 2014-10-06 Jean-Louis Martineau <martineau@zmanda.com>
5411 * perl/Amanda/Report/human.pm: Fix perl format.
5412
5413 2014-10-03 Jean-Louis Martineau <martineau@zmanda.com>
5414 * installcheck/Makefile.am: Amanda_Rest_Amcheck must be run only if
5415 client and sewrver are installed.
5416
5417 2014-10-03 Jean-Louis Martineau <martineau@zmanda.com>
5418 * common-src/bsdtcp-security.c: Free res.
5419 * common-src/bsdudp-security.c: Free res.
5420 * server-src/tapefile.c: Remove unused allocation.
5421
5422 2014-10-03 Jean-Louis Martineau <martineau@zmanda.com>
5423 * amar-src/amar.c: Fix loop.
5424 * common-src/bsdtcp-security.c: Free res.
5425 * common-src/bsdudp-security.c: Free res.
5426 * recover-src/extract_list.c: Remove duplicate code.
5427 * server-src/amindexd.c: Remove unused allocation.
5428 * server-src/dumper.c: Remove always TRUE check.
5429 * server-src/tapefile.c: Remove unused allocation.
5430
5431 2014-10-03 Jean-Louis Martineau <martineau@zmanda.com>
5432 * perl/Amanda/Cleanup.pm: Add it.
5433
5434 2014-10-03 Jean-Louis Martineau <martineau@zmanda.com>
5435 * perl/Amanda/Cleanup.pm: new perl module for amcleanup
5436 functionnality.
5437 * perl/Makefile.am: Add Amanda/Cleanup.pm.
5438 * server-src/amcleanup.pl: Use Amanda::Cleanup
5439 * perl/Amanda/Holding.pm (_walk): Do not list 'pid' file.
5440 * perl/Amanda/Message.pm: Add Amanda::Cleanup::Message and
5441 Amanda::Process::Message.
5442 * perl/Amanda/Process.pm: Send Amanda::Message.
5443 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
5444 DELETE /amanda/v1.0/config/:CONF/runs
5445 * perl/Amanda/Rest/Runs.pm: Add kill functionnality.
5446
5447 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5448 * server-src/amcheck.c: Fix type casting.
5449
5450 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5451 * perl/Amanda/Rest/Amcheck.pm: Fix unshift.
5452 * perl/Amanda/Rest/Configs.pm: Fix severity.
5453
5454 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5455 * client-src/sendbackup.c: Fix small bug found by coverity.
5456 * common-src/ammessage.c: typo.
5457 * server-src/amcheck.c: typo, remove unused variable.
5458
5459 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5460 * common-src/ammessage.c : Print severity as name.
5461 * perl/Amanda/Message.pm: severity constant are name.
5462 * installcheck/Amanda_Rest_Amcheck.pl,
5463 installcheck/Amanda_Rest_Changers.pl,
5464 installcheck/Amanda_Rest_Configs.pl,
5465 installcheck/Amanda_Rest_Dles.pl,
5466 installcheck/Amanda_Rest_Dumps.pl,
5467 installcheck/Amanda_Rest_Labels.pl,
5468 installcheck/Amanda_Rest_Runs.pl,
5469 installcheck/Amanda_Rest_Storages.pl,
5470 installcheck/Amanda_Rest_Storages_Labels.pl,
5471 installcheck/Amanda_Rest_Version.pl: Use symbol for the severity.
5472
5473 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5474 * common-src/ammessage.h: Change severity values.
5475 * perl/Amanda/Message.pm: Change severity values.
5476 * perl/Amanda/Changer.pm, perl/Amanda/Changer/disk.pm,
5477 * perl/Amanda/Changer/diskflat.pm, perl/Amanda/Changer/multi.pm,
5478 perl/Amanda/Changer/robot.pm, perl/Amanda/Curinfo.pm,
5479 perl/Amanda/Curinfo/Info.pm, perl/Amanda/Label.pm,
5480 perl/Amanda/Recovery/Scan.pm, perl/Amanda/Rest/Amcheck.pm,
5481 perl/Amanda/Rest/Changers.pm, perl/Amanda/Rest/Configs.pm,
5482 perl/Amanda/Rest/Dles.pm, perl/Amanda/Rest/Dumps.pm,
5483 perl/Amanda/Rest/Labels.pm, perl/Amanda/Rest/Report.pm,
5484 perl/Amanda/Rest/Runs.pm, perl/Amanda/Rest/Services.pm,
5485 perl/Amanda/Rest/Storages.pm, perl/Amanda/Rest/Storages/Labels.pm,
5486 perl/Amanda/Rest/Version.pm, perl/Amanda/Status.pm,
5487 perl/Amanda/Storage.pm, perl/Amanda/Tapelist.swg,
5488 perl/Amanda/Vault.pm, server-src/amcheck.c: Set severity.
5489 * installcheck/Amanda_Rest_Amcheck.pl,
5490 installcheck/Amanda_Rest_Changers.pl,
5491 installcheck/Amanda_Rest_Configs.pl,
5492 installcheck/Amanda_Rest_Dles.pl,
5493 installcheck/Amanda_Rest_Dumps.pl,
5494 installcheck/Amanda_Rest_Labels.pl,
5495 installcheck/Amanda_Rest_Runs.pl,
5496 installcheck/Amanda_Rest_Storages.pl,
5497 installcheck/Amanda_Rest_Storages_Labels.pl,
5498 installcheck/Amanda_Rest_Version.pl: Change for new severity values.
5499
5500 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5501 * common-src/ammessage.c: Change API. Add all messages for amcheck.
5502 * common-src/ammessage.h: Change prototype.
5503 * server-src/amcheck.c, client-src/senddiscover.c: Use new API.
5504 * perl/Amanda/Message.pm: Add message code 2850000.
5505 * perl/Amanda/Rest/Amcheck.pm: Add a message with exit_status of
5506 amcheck
5507 * installcheck/Amanda_Rest_Amcheck.pl: Fix for new message.
5508
5509 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5510 * perl/Amanda/Rest/Runs.pm (/amanda/v1.0/configs/:CONF/runs/messages):
5511 change from post to get method.
5512
5513 2014-10-02 Jean-Louis Martineau <martineau@zmanda.com>
5514 * perl/Amanda/Rest/Amanda/bin/app.pl.in
5515 (/amanda/v1.0/configs/:CONF/runs/messages): change from post to get
5516 method.
5517
5518 2014-10-01 Jean-Louis Martineau <martineau@zmanda.com>
5519 * perl/Amanda/Status.pm: Fix perl warning.
5520 * server-src/amstatus.pl: Fix perl warning.
5521
5522 2014-10-01 Jean-Louis Martineau <martineau@zmanda.com>
5523 * perl/Amanda/Rest/Labels.pm, perl/Amanda/Rest/Storages/Labels.pm
5524 (list): add filter on datestamp.
5525
5526 2014-09-30 Jean-Louis Martineau <martineau@zmanda.com>
5527 * common-src/file.c (debug_agets): Fix parsing of comment.
5528
5529 2014-09-30 Jean-Louis Martineau <martineau@zmanda.com>
5530 * perl/Amanda/Taper/Scan/lexical.pm,
5531 perl/Amanda/Taper/Scan/oldest.pm (last_use_label): Fix for empty
5532 tapelist.
5533
5534 2014-09-29 Jean-Louis Martineau <martineau@zmanda.com>
5535 * installcheck/Amanda_Rest_Dles.pl: Fix for new message format.
5536
5537 2014-09-29 Jean-Louis Martineau <martineau@zmanda.com>
5538 * common-src/ammessage.c: Set component and module.
5539 * common-src/amutil.c (set_pcomponent, get_pcomponent, set_pmodule,
5540 get_pmodule, push_component_module, pop_component_module):
5541 New functions.
5542 * common-src/amutil.h: Add prototype.
5543 * perl/Amanda/Changer.pm: Call push_component_module and
5544 pop_component_module.
5545 * perl/Amanda/Message.pm: Set component and module.
5546 * server-src/amcheck.c: Set component and module.
5547 * application-src/ambsdtar.c, application-src/amgtar.c
5548 application-src/amstar.c: Call set_pcomponent and set_pmodule,
5549 * perl/Amanda/Util.swg (setup_application): Call set_pcomponent and
5550 set_pmodule.
5551 * client-src/amdump_client.pl, common-src/amgetconf.pl,
5552 device-src/amdevcheck.pl, device-src/amtapetype.pl,
5553 perl/Amanda/Rest/Amanda/bin/app.pl.in, perl/Amanda/Script_App.pm,
5554 server-src/amadmin_perl.pl, server-src/amanda-rest-server.pl,
5555 server-src/amanda.psgi.pl, server-src/amcheck-device.pl,
5556 server-src/amcheckdump.pl, server-src/amcleanup.pl,
5557 server-src/amcleanupdisk.pl, server-src/amdump.pl,
5558 server-src/amdumpd.pl, server-src/amfetchdump.pl,
5559 server-src/amflush.pl, server-src/amidxtaped.pl,
5560 server-src/amlabel.pl, server-src/amlogroll.pl,
5561 server-src/amreindex.pl, server-src/amreport.pl,
5562 server-src/amrestore.pl, server-src/amrmtape.pl,
5563 server-src/amserverconfig.pl, server-src/amstatus.pl,
5564 server-src/amtape.pl, server-src/amvault.pl,
5565 server-src/chunker.pl,
5566 server-src/taper.pl: Call setup_application with component and module.
5567 * installcheck/Amanda_Rest_Amcheck.pl,
5568 installcheck/Amanda_Rest_Changers.pl,
5569 installcheck/Amanda_Rest_Configs.pl,
5570 installcheck/Amanda_Rest_Dumps.pl,
5571 installcheck/Amanda_Rest_Labels.pl,
5572 installcheck/Amanda_Rest_Runs.pl,
5573 installcheck/Amanda_Rest_Storages.pl,
5574 installcheck/Amanda_Rest_Storages_Labels.pl,
5575 installcheck/Amanda_Rest_Version.pl: Fix for new message format.
5576
5577
5578 2014-09-25 Jean-Louis Martineau <martineau@zmanda.com>
5579 * common-src/conffile.c (get_running_on): new function.
5580 * common-src/conffile.h (get_running_on): add prototype.
5581 * perl/Amanda/Config.swg (get_running_on): swig it.
5582 * common-src/ammessage.c, perl/Amanda/Changer.pm,
5583 perl/Amanda/Message.pm,
5584 server-src/amcheck.c: Add process and running_on in message.
5585 * perl/Amanda/Rest/Changers.pm, perl/Amanda/Rest/Configs.pm,
5586 perl/Amanda/Rest/Dles.pm, perl/Amanda/Rest/Dumps.pm,
5587 perl/Amanda/Rest/Labels.pm, perl/Amanda/Rest/Runs.pm,
5588 perl/Amanda/Rest/Storages.pm, perl/Amanda/Rest/Storages/Labels.pm,
5589 perl/Amanda/Rest/Version.pm: call Amanda::Util::set_pname.
5590 * installcheck/Amanda_Rest_Amcheck.pl,
5591 installcheck/Amanda_Rest_Changers.pl,
5592 installcheck/Amanda_Rest_Configs.pl,
5593 installcheck/Amanda_Rest_Dles.pl,
5594 installcheck/Amanda_Rest_Dumps.pl,
5595 installcheck/Amanda_Rest_Labels.pl,
5596 installcheck/Amanda_Rest_Runs.pl,
5597 installcheck/Amanda_Rest_Storages.pl,
5598 installcheck/Amanda_Rest_Storages_Labels.pl,
5599 installcheck/Amanda_Rest_Version.pl: Fix for new field in message.
5600
5601 2014-09-25 Jean-Louis Martineau <martineau@zmanda.com>
5602 * perl/Amanda/Taper/Scan/traditional.pm: Check for
5603 DEVICE_STATUS_VOLUME_UNLABELED without volume_header.
5604
5605 2014-09-24 Jean-Louis Martineau <martineau@zmanda.com>
5606 * perl/Amanda/Rest/*.pm, perl/Amanda/Rest/Storages/Labels.pm: Fix for
5607 html generated pages.
5608 * perl/Makefile.am (html): Do not remove html-tmp.
5609
5610 2014-09-24 Jean-Louis Martineau <martineau@zmanda.com>
5611 * device-src/diskflat-device.c: Error is DEVICE_STATUS_VOLUME_UNLABELED
5612 if the file do not exists.
5613 * device-src/vfs-device.c (vfs_device_read_label): Do not reset an
5614 error when it is set.
5615 * installcheck/Amanda_Rest_Storages.pl: Fix fo device change.
5616 * perl/Amanda/Changer/diskflat.pm: Fix perl warning.
5617 * perl/Amanda/CheckDump.pm ,perl/Amanda/FetchDump.pm: Create a
5618 log.<timestamp>.0 file can a checkdump.<timestamp> or
5619 fetchdump.<timestamp>
5620 * perl/Amanda/Rest/Runs.pm: Do not create the checkdump.$$ or
5621 fetchdump.$$. list also list checkdump and fetchdump run.
5622
5623 2014-09-24 Jean-Louis Martineau <martineau@zmanda.com>
5624 * perl/Amanda/Taper/Scribe.pm: Fix perl warning.
5625 * perl/Amanda/Taper/Worker.pm (TAKE_SCRIBE_FROM): Set
5626 scribe1->{'cancelled'} to 0.
5627
5628 2014-09-23 Jean-Louis Martineau <martineau@zmanda.com>
5629 * server-src/amanda-rest-server.pl: Add '--max-requests 1' to starman
5630 arguments.
5631
5632 2014-09-22 Jean-Louis Martineau <martineau@zmanda.com>
5633 * application-src/amgtar.c (amgtar_restore): Exit on error if tar fail.
5634 * perl/Amanda/Changer/diskflat.pm: fix.
5635 * perl/Amanda/FetchDump.pm: New perl module to fetch a dump.
5636 * perl/Amanda/Message.pm (full_message): New function.
5637 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
5638 post /amanda/v1.0/configs/:CONF/runs/fetchdump
5639 * perl/Amanda/Rest/Runs.pm (fetchdump): New function.
5640 * perl/Makefile.am: Add Amanda/FetchDump.pm
5641 * server-src/amfetchdump.pl: Use new perl Amanda::Fetchdump module.
5642 * server-src/amidxtaped.pl: Use new perl Amanda::Fetchdump module.
5643 * installcheck/amfetchdump.pl: Fix for module use.
5644
5645 2014-09-22 Jean-Louis Martineau <martineau@zmanda.com>
5646 * installcheck/Amanda_Rest_Storages_Labels.pl: Fix.
5647
5648 2014-09-19 Jean-Louis Martineau <martineau@zmanda.com>
5649 * device-src/diskflat-device.c: Unlink file on erase.
5650 * perl/Amanda/Changer.pm: Add message 1100066
5651 * perl/Amanda/Changer/diskflat.pm: Do not create files if slot not
5652 used.
5653 * perl/Amanda/Label.pm: Fix.
5654 * installcheck/Amanda_Rest_Storages.pl: Fix.
5655 * installcheck/Amanda_Rest_Storages_Labels.pl: Fix.
5656
5657 2014-09-18 Jean-Louis Martineau <martineau@zmanda.com>
5658 * perl/Amanda/Taper/Scan/traditional.pm: Continue on invalid.
5659
5660 2014-09-16 Jean-Louis Martineau <martineau@zmanda.com>
5661 * perl/Amanda/Changer.pm (verify): Failure to read the label is not an
5662 error.
5663 * perl/Amanda/Changer.pm: Add message for code 1100065.
5664
5665 2014-09-16 Jean-Louis Martineau <martineau@zmanda.com>
5666 * common-src/security-util.c: Compute and print crc32 of each packet if
5667 debug_auth >= 6.
5668
5669 2014-09-10 Xu Han <xhan@carbonite.com>
5670 * packaging/rpm/amanda.spec.src: CentOS 7 packaging.
5671
5672 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5673 * installcheck/gnutar.pl: Fix for rhel7.
5674
5675 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5676 * config/amanda/amanda_configure.m4: Fix,
5677 s/AMANDA_EXTENSIONS_HOOK/AMANDA_REST_EXTENSIONS/g
5678
5679 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5680 * config/amanda/rest-extensions.m4: Fix,
5681 s/EXTENSIONS_HOOK_DIR/REST_EXTENSIONS_DIR/g
5682
5683 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5684 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add changers URL.
5685 * installcheck/Amanda_Rest_Changers.pl: Typo
5686
5687 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5688 * config/amanda/amanda_configure.m4:
5689 s/AMANDA_REST_HOOK/AMANDA_EXTENSIONS_HOOK/
5690 * config/amanda/rest-hook.m4: remove file
5691 * perl/Amanda/Constants.pm.in.src:
5692 s/AMANDA_REST_HOOK/AMANDA_EXTENSIONS_HOOK/
5693 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Use REST_EXTENSIONS_DIR
5694 * config/amanda/rest-extensions.m4: Copy of rest-hook.m4, rename
5695 AMANDA_REST_HOOK to AMANDA_EXTENSIONS_HOOK, define REST_EXTENSIONS_DIR
5696 instead of REST_HOOK_DIR.
5697
5698 2014-09-10 Jean-Louis Martineau <martineau@zmanda.com>
5699 * common-src/conffile.c (get_changer_list): New function.
5700 * common-src/conffile.h (get_changer_list): Add protoype.
5701 * perl/Amanda/Config.swg (get_changer_list) Swig it.
5702 * perl/Amanda/Config.swg: Add new message.
5703 * perl/Amanda/Changer.pm: Fix typo.
5704 * perl/Amanda/Rest/Storages.pm: Fix typo.
5705 * perl/Makefile.am: Add Amanda/Rest/Changers.pm
5706 * perl/Amanda/Rest/Changers.pm: Add new REST API
5707 * installcheck/Makefile.am: Add Amanda_Rest_Changers
5708 * installcheck/Amanda_Rest_Changers.pl: Test the new REST API.
5709
5710 2014-09-08 Jean-Louis Martineau <martineau@zmanda.com>
5711 * perl/Amanda/Status.pm: Fix for dump to tape.
5712 * installcheck/Amanda_Rest_Runs.pl: Fix.
5713
5714 2014-09-08 Jean-Louis Martineau <martineau@zmanda.com>
5715 * perl/Amanda/ScanInventory.pm: Can changer set_error_to_unknown if a
5716 slot previously in error succeed.
5717 * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
5718 Scan one slot for each error message.
5719 * perl/Amanda/Changer/multi.pm (set_error_to_unknown): new function to
5720 mark as unknown all slot with a given error message.
5721
5722 2014-09-03 Jean-Louis Martineau <martineau@zmanda.com>
5723 * device-src/dvdrw-device.c: dvdrw_growisofs_command,
5724 dvdrw_mount_command and dvdrw_umount_command property are
5725 G_TYPE_STRING.
5726 * installcheck/Amanda_Device.pl: Test parsing dvd properties.
5727
5728 2014-09-03 Jean-Louis Martineau <martineau@zmanda.com>
5729 * device-src/s3.c (get_openstack_swift_api_v2_setting): Set
5730 hdl->x_auth_token to NULL.
5731
5732 2014-09-02 Jean-Louis Martineau <martineau@zmanda.com>
5733 * server-src/amcheck.c: Fix mailto allocation.
5734
5735 2014-09-02 Jean-Louis Martineau <martineau@zmanda.com>
5736 * device-src/rait-device.c: Use int value instead of pointer value.
5737
5738 2014-08-28 Jean-Louis Martineau <martineau@zmanda.com>
5739 * perl/Amanda/Message.pm: 32xxxxx are for amanda-extensions.
5740
5741 2014-08-27 Jean-Louis Martineau <martineau@zmanda.com>
5742 * device-src/xfer-dest-taper-cacher.c: Cast pointer.
5743
5744 2014-08-27 Jean-Louis Martineau <martineau@zmanda.com>
5745 * common-src/security-util.c (check_user_amandahosts): Proceed to next
5746 line if host and user match but not the service.
5747
5748 2014-08-27 Jean-Louis Martineau <martineau@zmanda.com>
5749 Patch by Bill Blough <devel@blough.us>
5750 * ndmp-src/ndmjob_args.c, device-src/tape-device.c,
5751 server-src/amindexd.c, man/xml-source/amanda.conf.5.xml,
5752 man/xml-source/amanda-auth.7.xml, man/xml-source/amzfs-sendrecv.8.xml,
5753 man/xml-source/amanda-changers.7.xml,
5754 man/xml-source/amzfs-snapshot.8.xml,
5755 common-src/amutil.c: Fix typos.
5756
5757 2014-08-27 Jean-Louis Martineau <martineau@zmanda.com>
5758 * config/amanda/syshacks.m4: Define NEED_LD_LIBRARY_PATH_ENV on hpux.
5759 * common-src/alloc.c (safe_env_full): Add LD_LIBRARY_PATH.
5760 * amar-src/amar.c, common-src/ipc-binary.h, device-src/ndmp-device.c,
5761 device-src/xfer-dest-device.c, device-src/xfer-dest-taper-cacher.c,
5762 device-src/xfer-dest-taper-splitter.c: Change so gpointer to gchar*
5763 because hpux compiler can't do arithmetic on gpointer.
5764
5765
5766 2014-08-12 Jean-Louis Martineau <martineau@zmanda.com>
5767 * common-src/amservice.c: Print arguments to the debug file.
5768 * common-src/conffile.c: Add ctimeout to client config file.
5769 * perl/Amanda/Rest/Configs.pm: Fix parsing of config_overrides.
5770 * perl/Amanda/Rest/Services.pm: Pass config_overrides to amservice.
5771
5772 2014-08-11 Jean-Louis Martineau <martineau@zmanda.com>
5773 * client-src/senddiscover.c: Fix memory use.
5774
5775 2014-08-11 Jean-Louis Martineau <martineau@zmanda.com>
5776 * perl/Amanda/Rest/Amanda/config.yml: Add log_path
5777
5778 2014-08-07 Jean-Louis Martineau <martineau@zmanda.com>
5779 * example/inetd.conf.amandaclient.in,
5780 example/inetd.conf.amandaserver.in
5781 example/xinetd.amandaclient.in,
5782 example/xinetd.amandaserver.in: Add senddicover service.
5783
5784 2014-08-06 Jean-Louis Martineau <martineau@zmanda.com>
5785 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Set log_path to
5786 "@AMANDA_DBGDIR@/amanda-rest-server-log"
5787 * perl/Amanda/Rest/Amanda/config.yml: Set appname to "amanda".
5788 * perl/Makefile.am: Do not create ../Rest/Amanda/logs
5789
5790 2014-08-05 Jean-Louis Martineau <martineau@zmanda.com>
5791 * perl/Amanda/Script_App.pm (print_to_server): print CRITICAL message
5792 in [].
5793
5794 2014-08-04 Jean-Louis Martineau <martineau@zmanda.com>
5795 * client-src/senddiscover.c: fllush(stdout)
5796 * perl/Amanda/Service.pm: Add error code 3100005.
5797
5798 2014-08-04 Jean-Louis Martineau <martineau@zmanda.com>
5799 * client-src/senddiscover.c: Add the --device argument.
5800 * perl/Amanda/Rest/Services.pm: Do not read a config, set diskdevice
5801 and esxpass property.
5802
5803 2014-08-01 Jean-Louis Martineau <martineau@zmanda.com>
5804 * perl/Makefile.am: Remove duplicate entry.
5805
5806 2014-08-01 Jean-Louis Martineau <martineau@zmanda.com>
5807 * client-src/senddiscover.c: Fix.
5808 * common-src/ammessage.c: Fix json output.
5809 * perl/Amanda/Message.pm: Add Amanda::Service::Message.
5810 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
5811 /amanda/v1.0/services/discover URL
5812 * perl/Makefile.am: Add Amanda/Service.pm and Amanda/Rest/Services.pm
5813 * perl/Amanda/Service.pm: New perl module
5814 * perl/Amanda/Rest/Services.pm: REST API for deicover service.
5815
5816 2014-08-01 Jean-Louis Martineau <martineau@zmanda.com>
5817 * perl/Amanda/Application.swg (known_commands: Add discover.
5818 * perl/Amanda/Message.pm: Add Amanda::Amvmware::Message.
5819
5820 2014-07-31 Jean-Louis Martineau <martineau@zmanda.com>
5821 * common-src/ammessage.c: Fix typedef.
5822
5823 2014-07-31 Jean-Louis Martineau <martineau@zmanda.com>
5824 * config/amanda/amanda_configure.m4: Call AMANDA_REST_HOOK
5825 * perl/Amanda/Constants.pm.in.src: Add $REST_HOOK_DIR.
5826 * config/amanda/rest-hook.m4 (AMANDA_REST_HOOK): --with-rest-hook
5827 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Load rest-hook
5828
5829 2014-07-31 Jean-Louis Martineau <martineau@zmanda.com>
5830 * common-src/conffile.c, server-src/amcheck.c: Fix bug found by
5831 coverity.
5832
5833 2014-07-31 Jean-Louis Martineau <martineau@zmanda.com>
5834 * amandad-src/amandad.c: Handle senddiscover service.
5835 * client-src/Makefile.am: Build senddiscover.
5836 * client-src/client_util.c: Parse DISCOVER backup support option.
5837 * client-src/client_util.h (backup_support_option_t): Add discover.
5838 * client-src/senddiscover.c: New client service.
5839 * common-src/Makefile.am: Add ammessage.
5840 * common-src/ammessage.c: Add struct and function to handle Message
5841 and print them in JSON format.
5842 * common-src/ammessage.h: Add prototype.
5843 * common-src/conffile.c: Fix json indentation.
5844 * perl/Amanda/Message.pm: Add senddiscover.
5845
5846 2014-07-31 Jean-Louis Martineau <martineau@zmanda.com>
5847 * config/amanda/dumpers.m4: Improve error message for bsdtar.
5848
5849 2014-07-30 Jean-Louis Martineau <martineau@zmanda.com>
5850 * common-src/conffile.c (config_print_errors_as_message): New function.
5851 * common-src/conffile.h (config_print_errors_as_message): New
5852 prototype.
5853 * perl/Amanda/Config.swg: Add error 1500016.
5854 * server-src/amanda-rest-server.pl: s/Amadna/Amanda/
5855 * server-src/amcheck.c: Use printf_message instead of error.
5856
5857 2014-07-30 Jean-Louis Martineau <martineau@zmanda.com>
5858 * perl/Amanda/Rest/Amcheck.pm: Use '-c' for client check.
5859
5860 2014-07-29 Jean-Louis Martineau <martineau@zmanda.com>
5861 * config/amanda/bsd-security.m4: USE_AMANDAHOSTS must be defined even
5862 without bsd security (for bsdudp and bsdtcp).
5863
5864 2014-07-29 Jean-Louis Martineau <martineau@zmanda.com>
5865 Patch by Nathan Stratton Treadway
5866 * man/xml-source/amgtar.8.xml:
5867 Add ": directory is on a different filesystem; not dumped".
5868 * man/xml-source/amanda-devices.7.xml: Add amanda-changers man page.
5869 * man/xml-source/ambsdtar.8.xml: Typo.
5870 * man/xml-source/amanda.conf.5.xml: Typo.
5871
5872 2014-07-28 Jean-Louis Martineau <martineau@zmanda.com>
5873 * server-src/amanda-rest-server.pl: Use Amanda::Paths::AMANDA_DBGDIR
5874 instead of CNF_LOGDIR for the rest-api-pid file.
5875
5876 2014-07-24 Jean-Louis Martineau <martineau@zmanda.com>
5877 * common-src/security-util.c (check_security): service is
5878 unused in some compilation path.
5879
5880 2014-07-24 Jean-Louis Martineau <martineau@zmanda.com>
5881 * common-src/bsd-security.c, common-src/bsdtcp-security.c,
5882 common-src/bsdudp-security.c, common-src/krb5-security.c:
5883 Remove "\n" in security_seterror error message.
5884 * server-src/amanda-rest-server.pl: Improve error detection.
5885
5886 2014-07-24 Jean-Louis Martineau <martineau@zmanda.com>
5887 * common-src/conffile.c (config_is_initialized): Fix declaration.
5888 * common-src/conffile.h: Comment typo.
5889
5890 2014-07-24 Jean-Louis Martineau <martineau@zmanda.com>
5891 * common-src/conffile.h (config_is_initialized): Fix prototype.
5892
5893 2014-07-23 Jean-Louis Martineau <martineau@zmanda.com>
5894 * common-src/security-util.c (check_security): Take a new service
5895 argument.
5896 * common-src/amanda.h (check_security): Change prototype.
5897 * common-src/conffile.c (config_is_initialized): New functionto return
5898 if the config is initialized.
5899 * common-src/conffile.h (config_is_initialized): New prototype.
5900 * common-src/debug.c: (debug_unlink_old): Return if config is not
5901 initialized.
5902 * server-src/amidxtaped.pl: Add "amidxtaped" as argument to
5903 check_bsd_security.
5904 * server-src/amindexd.c: Add "amindexd" as argument to check_security.
5905 * perl/Amanda/Util.swg (check_security_fd): Take a new service
5906 argument, pass it to check_security.
5907 * perl/Amanda/ClientService.pm (check_bsd_security): Take a new
5908 service argument, pass it to Amanda::Util::check_security.
5909
5910 2014-07-14 Jean-Louis Martineau <martineau@zmanda.com>
5911 * ndmp-src/Makefile.am: Fix for building out of tree.
5912
5913 2014-07-14 Jean-Louis Martineau <martineau@zmanda.com>
5914 * ndmp-src/Makefile.am: Fix for building out of tree.
5915
5916 2014-07-11 Jean-Louis Martineau <martineau@zmanda.com>
5917 Patch by Orion Poplawski <orion@cora.nwra.com>
5918 * ndmp-src/Makefile.am: Fix for building out of tree.
5919
5920 2014-07-10 Jean-Louis Martineau <martineau@zmanda.com>
5921 * application-src/script-email.pl: Remove $args.
5922
5923 2014-07-09 Jean-Louis Martineau <martineau@zmanda.com>
5924 * application-src/script-email.pl: Accept all characters in mailto.
5925
5926 2014-07-09 Jean-Louis Martineau <martineau@zmanda.com>
5927 * device-src/s3.c: Fix curl version check for
5928 CURLE_SSL_CACERT_BADFILE.
5929
5930 2014-07-09 Jean-Louis Martineau <martineau@zmanda.com>
5931 * installcheck/Amanda_Rest_Amcheck.pl: Fix for --without-client.
5932
5933 2014-07-09 Jean-Louis Martineau <martineau@zmanda.com>
5934 * amandad-src/amandad.c: Use '.
5935 * server-src/amcheck.c: Encode " and / in json reply.
5936
5937 2014-07-08 Jean-Louis Martineau <martineau@zmanda.com>
5938 * perl/Amanda/Disklist.swg: Fix perl warning.
5939
5940 2014-07-08 Jean-Louis Martineau <martineau@zmanda.com>
5941 * installcheck/Amanda_Rest_Runs.pl: Fix.
5942
5943 2014-07-08 Jean-Louis Martineau <martineau@zmanda.com>
5944 * perl/Amanda/Rest/*.pm: Improve html formating.
5945
5946 2014-07-08 Jean-Louis Martineau <martineau@zmanda.com>
5947 * common-src/conffile.c: s/"/'/
5948 * installcheck/Amanda_Config.pl: Check '.
5949 * installcheck/Amanda_Rest_Configs.pl: Check '.
5950 * installcheck/Amanda_Rest_Dles.pl: Check '.
5951 * installcheck/Amanda_Rest_Runs.pl: Check Amanda::Rest::Runs module.
5952 * installcheck/Makefile.am (server_tests): Add Amanda_Rest_Runs.
5953 * perl/Amanda/Amdump.pm: Small Improvement.
5954 * perl/Amanda/Amflush.pm: Small Improvement.
5955 * perl/Amanda/Rest/Runs.pm: Add list method.
5956 * perl/Amanda/Status.pm: Improve documentation.
5957 * perl/Amanda/Vault.pm: Remove debugging statement.
5958 * server-src/amflush.pl: log pid-done line.
5959 * server-src/planner.c: s/--exact_match/--exact-match/
5960
5961 2014-07-08 Jean-Louis Martineau <martineau@zmanda.com>
5962 * device-src/s3-device.c: Move some declaration to s3-device.h
5963 * device-src/s3-device.h: New file.
5964 * device-src/Makefile.am: Add s3-device.h.
5965
5966 2014-07-04 Jean-Louis Martineau <martineau@zmanda.com>
5967 * installcheck/Amanda_Rest_Amcheck.pl: Fix.
5968
5969 2014-07-04 Jean-Louis Martineau <martineau@zmanda.com>
5970 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add Amcheck module.
5971
5972 2014-07-03 Jean-Louis Martineau <martineau@zmanda.com>
5973 * perl/Amanda/Message.pm: Add amcheck message.
5974 * perl/Amanda/Rest/Amcheck.pm: Rest API endpoint to execute amcheck.
5975 * perl/Makefile.am (AmandaRest_DATA): Add Amanda/Rest/Amcheck.pm.
5976 * server-src/diskfile.c (match_disklist): return a GPtrArray.
5977 * server-src/diskfile.h (match_disklist): Change prototype.
5978 * server-src/driver.c, server-src/dumper.c: Fix argv0.
5979 * server-src/amadmin.c, server-src/planner.c: Use newest
5980 match_disklist function.
5981 * server-src/amcheck.c, server-src/amcheck-device.pl: new --message
5982 argument to format the output in json.
5983 * installcheck/Amanda_Rest_Amcheck.pl: Check the Amcheckrest api.
5984 * installcheck/Makefile.am: Add Amanda_Rest_Amcheck.
5985
5986 2014-07-03 Jean-Louis Martineau <martineau@zmanda.com>
5987 * server-src/driver.c (handle_dumper_result): Call dumper_taper_result
5988 if we already get the taper result.
5989
5990 2014-07-02 Jean-Louis Martineau <martineau@zmanda.com>
5991 * server-src/driverio.c (update_info_dumper): Do not update if size or
5992 csize is 0.
5993 * server-src/server_util.c: Do not uses history if size is 0.
5994
5995 2014-06-26 Strong Liang <strong@zmanda.com>
5996 * server-src/driver.c: Updated copyright-info.
5997 * ChangeLog: trimed trailing spaces.
5998
5999 2014-06-26 Jean-Louis Martineau <martineau@zmanda.com>
6000 * Makefile.am: Use ${MKDIR_P}
6001 * device-src/Makefile.am, ndmp-src/Makefile.am, xfer-src/Makefile.am:
6002 Use ${SED}
6003
6004 2014-06-25 Jean-Louis Martineau <martineau@zmanda.com>
6005 * server-src/driver.c: Remove useless space.
6006
6007 2014-06-19 Jean-Louis Martineau <martineau@zmanda.com>
6008 * device-src/Makefile.am, ndmp-src/Makefile.am,
6009 xfer-src/Makefile.am: Fix install-build-dependencies.
6010
6011 2014-06-18 Jean-Louis Martineau <martineau@zmanda.com>
6012 * common-src/bsdtcp-security.c: Use bloking connect.
6013
6014 2014-06-17 Jean-Louis Martineau <martineau@zmanda.com>
6015 * Makefile.am (install-build-dependencies): Copy include and config
6016 for client.
6017
6018 2014-06-16 Jean-Louis Martineau <martineau@zmanda.com>
6019 * Makefile.am: Create the directory.
6020
6021 2014-06-16 Jean-Louis Martineau <martineau@zmanda.com>
6022 * Makefile.am: Fix for client/server install-build-dependencies
6023 target.
6024
6025 2014-06-16 Jean-Louis Martineau <martineau@zmanda.com>
6026 * Makefile.am, common-src/Makefile.am, device-src/Makefile.am,
6027 ndmp-src/Makefile.am, xfer-src/Makefile.am: Add
6028 install-build-dependencies target.
6029
6030 2014-06-13 Jean-Louis Martineau <martineau@zmanda.com>
6031 * installcheck/Amanda_Rest_Dumps.pl: Sort dumps in reply.
6032
6033 2014-06-12 Jean-Louis Martineau <martineau@zmanda.com>
6034 * installcheck/taper.pl: Accept some log lines in varying order.
6035
6036 2014-06-11 Jean-Louis Martineau <martineau@zmanda.com>
6037 * configure.in: Split in two files.
6038 * config/amanda/amanda_configure.m4: All global settings.
6039 * device-src/s3-util.h: Undef _
6040
6041 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6042 * installcheck/Installcheck/Rest.pm (): Better error if starman can't
6043 be forked.
6044 * installcheck/Amanda_Rest_Configs.pl,
6045 installcheck/Amanda_Rest_Dles.pl,
6046 installcheck/Amanda_Rest_Dumps.pl,
6047 installcheck/Amanda_Rest_Labels.pl,
6048 installcheck/Amanda_Rest_Storages.pl,
6049 installcheck/Amanda_Rest_Storages_Labels.pl,
6050 installcheck/Amanda_Rest_Version.pl: Improve error message.
6051
6052 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6053 * installcheck/Installcheck/Rest.pm (remove_source_line): Function to
6054 remove the source_line from all Message of a json reply.
6055 * installcheck/Amanda_Rest_Configs.pl,
6056 installcheck/Amanda_Rest_Dles.pl,
6057 installcheck/Amanda_Rest_Dumps.pl,
6058 installcheck/Amanda_Rest_Labels.pl,
6059 installcheck/Amanda_Rest_Storages.pl,
6060 installcheck/Amanda_Rest_Storages_Labels.pl,
6061 installcheck/Amanda_Rest_Version.pl: Use remove_source_line.
6062
6063 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6064 * installcheck/Installcheck/Rest.pm: Improve rest server startup.
6065
6066 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6067 * device-src/diskflat-device.c: Fix erase method.
6068 * perl/Amanda/Changer.pm: Many new Amanda::Changer::Message.
6069 * perl/Amanda/Label.pm: Allow to assign comment.
6070 * perl/Amanda/Rest/Storages/Labels.pm: Allow to assign comment.
6071 * installcheck/Amanda_Rest_Storages.pl: source_line change.
6072 * installcheck/Amanda_Rest_Storages_Labels.pl: Check The
6073 storages/:STORAGE/labels endpoint.
6074 * installcheck/Installcheck/Rest.pm: Allow DELETE, improve rest
6075 server startup.
6076 * installcheck/Makefile.am: Add Amanda_Rest_Storages_Labels.
6077
6078 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6079 * installcheck/Amanda_Rest_Dumps.pl: More typos.
6080
6081 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6082 * installcheck/Amanda_Rest_Dumps.pl,
6083 installcheck/Amanda_Rest_Storages.pl: Typos.
6084
6085 2014-06-09 Jean-Louis Martineau <martineau@zmanda.com>
6086 * installcheck/Amanda_Rest_Storages.pl,
6087 installcheck/Amanda_Rest_Dumps.pl: Add files.
6088
6089 2014-06-06 Jean-Louis Martineau <martineau@zmanda.com>
6090 * installcheck/Amanda_Rest_Dumps.pl: Check the Dumps endpoint
6091 * installcheck/Amanda_Rest_Storages.pl: Check the Storages endpoint
6092 * installcheck/Installcheck/Config.pm: Add policy and storage.
6093 * installcheck/Makefile.am: Add Amanda_Rest_Dumps and
6094 Amanda_Rest_Storages.
6095 * perl/Amanda/Changer.pm, perl/Amanda/Changer/diskflat.pm,
6096 perl/Amanda/Storage.pm: Change many Amanda::Changer::Error to be
6097 Amanda::Message compliant.
6098 * perl/Amanda/Rest/Storages.pm: Pass the tapelist to the storage.
6099
6100 2014-06-05 Jean-Louis Martineau <martineau@zmanda.com>
6101 * server-src/amfetchdump.pl: Pass the tapelist to the Storage.
6102
6103 2014-06-04 Jean-Louis Martineau <martineau@zmanda.com>
6104 * perl/Amanda/Report.pm: Fix exit_status.
6105 * installcheck/Amanda_Report.pl: Add check for exit_status.
6106 * installcheck/amreport.pl: Fix exit_status check.
6107
6108 2014-06-02 Jean-Louis Martineau <martineau@zmanda.com>
6109 * installcheck/Amanda_Rest_Configs.pl: Fix line number.
6110
6111 2014-06-02 Jean-Louis Martineau <martineau@zmanda.com>
6112 * installcheck/Amanda_Rest_Configs.pl: Fix.
6113 * perl/Amanda/Rest/Configs.pm: Fix perl warning.
6114 * perl/Amanda/Rest/Labels.pm: Fix perl warning.
6115
6116 2014-06-02 Jean-Louis Martineau <martineau@zmanda.com>
6117 * application-src/amgtar.c: Add 'directory is on a different
6118 filesystem; not dumped' as a normal message.
6119
6120 2014-05-30 Jean-Louis Martineau <martineau@zmanda.com>
6121 * perl/Amanda/Rest/Amanda/bin/app.pl.in:
6122 Remove 'use Data::Structure::Util'.
6123
6124 2014-05-30 Jean-Louis Martineau <martineau@zmanda.com>
6125 * installcheck/gnutar.pl: Fix for SunOS
6126 * perl/Amanda/Interactivity.pm: Do not die if ->new return undef.
6127 * perl/Amanda/Interactivity/stdin.pm: Add debugging if can't read
6128 STDIN.
6129
6130 2014-05-29 Jean-Louis Martineau <martineau@zmanda.com>
6131 * installcheck/Amanda_Rest_Version.pl.
6132 installcheck/Amanda_Rest_Configs.pl.
6133 installcheck/Amanda_Rest_Dles.pl,
6134 installcheck/Amanda_Rest_Labels.pl: Typo.
6135
6136 2014-05-29 Jean-Louis Martineau <martineau@zmanda.com>
6137 * installcheck/Amanda_Rest_Configs.pl,
6138 installcheck/Amanda_Rest_Dles.pl,
6139 installcheck/Amanda_Rest_Labels.pl,
6140 installcheck/Amanda_Rest_Version.pl,
6141 installcheck/Installcheck/Rest.pm: Use port 5001.
6142 * installcheck/amadmin.pl: Fix sort
6143 * perl/Amanda/Disklist.swg: Fix sort.
6144
6145 2014-05-29 Jean-Louis Martineau <martineau@zmanda.com>
6146 * installcheck/Installcheck/Rest.pm: Retrun error if can't fork
6147 starman.
6148 * installcheck/Amanda_Rest_Configs.pl,
6149 installcheck/Amanda_Rest_Dles.pl,
6150 installcheck/Amanda_Rest_Labels.pl,
6151 installcheck/Amanda_Rest_Version.pl: SKIP test if forking starman
6152 failed.
6153
6154 2014-05-29 Jean-Louis Martineau <martineau@zmanda.com>
6155 * installcheck/Installcheck/Rest.pm: Fix to send starman stderr to the
6156 debug file.
6157
6158 2014-05-29 Jean-Louis Martineau <martineau@zmanda.com>
6159 * installcheck/Amanda_Rest_Configs.pl: Fix.
6160
6161 2014-05-28 Jean-Louis Martineau <martineau@zmanda.com>
6162 * perl/Amanda/Changer.pm: Sort to get repeatable result.
6163 * perl/Amanda/Disklist.swg: Sort to get repeatable result.
6164 * perl/Amanda/Report.pm: Sort to get repeatable result.
6165 * perl/Amanda/Report/human.pm: Sort to get repeatable result.
6166 * installcheck/amadmin.pl: Fix for new order.
6167 * installcheck/catalogs/filesystemstaped.cat: Fix for new order.
6168
6169 2014-05-28 Jean-Louis Martineau <martineau@zmanda.com>
6170 * perl/amglue/integers.swg: Fix compiler warnings.
6171 * installcheck/Makefile.am: Add Installcheck/Rest.pm
6172
6173 2014-05-28 Jean-Louis Martineau <martineau@zmanda.com>
6174 * installcheck/Amanda_Rest_Configs.pl, installcheck/Amanda_Rest_Dles.pl,
6175 installcheck/Amanda_Rest_Labels.pl,
6176 installcheck/Amanda_Rest_Version.pl: Skip test if WWW::Curl::Easy is
6177 not available.
6178
6179 2014-05-27 Jean-Louis Martineau <martineau@zmanda.com>
6180 * perl/Amanda/Rest/Runs.pm: Remove Data::Structure::Util dependencies.
6181
6182 2014-05-27 Jean-Louis Martineau <martineau@zmanda.com>
6183 * installcheck/Amanda_Rest_Configs.pl: Check Amanda::Rest::Configs
6184 * installcheck/Amanda_Rest_Dles.pl: Check Amanda::Rest:Dles
6185 * installcheck/Amanda_Rest_Labels.pl: Check Amanda::Rest::Labels
6186 * installcheck/Amanda_Rest_Version.pl: Check Amanda::Rest::Version
6187 * installcheck/Amanda_Tapelist.pl: Fix for reuse.
6188 * installcheck/Installcheck/Dumpcache.pm: Fix for 0_setupcache
6189 * installcheck/Installcheck/Rest.pm: New perl modules to start/stop
6190 the Rest server.
6191 * installcheck/Makefile.am: Add Amanda_Rest_Configs, Amanda_Rest_Dles,
6192 Amanda_Rest_Labels and Amanda_Rest_Version
6193 * perl/Amanda/Config.swg: Small fix.
6194 * perl/Amanda/Curinfo.pm: Add message code 1300030 and 1300031
6195 * perl/Amanda/Curinfo/Info.pm: Fix perl warning.
6196 * perl/Amanda/Disklist.swg: Add message code 1400009
6197 * perl/Amanda/Paths.pm.in: Add amperldir.
6198 * perl/Amanda/Rest/Dles.pm: Add check and generate message code
6199 1400009, 1300030 and 1300031
6200 * perl/Amanda/Rest/Labels.pm: fix for defined $params.
6201 * perl/Amanda/Tapelist.swg: Set reuse to 0.
6202
6203 2014-05-26 Jean-Louis Martineau <martineau@zmanda.com>
6204 * perl/Amanda/CheckDump.pm: New perl module for checkdump.
6205 * server-src/amcheckdump.pl: Use new Amanda::Checkdump module.
6206 * perl/Amanda/JSON/Amdump.pm: Typo.
6207 * perl/Amanda/Message.pm: Add Amanda::CheckDump::Message
6208 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add
6209 /amanda/v1.0/configs/:CONF/runs/checkdump
6210 /amanda/v1.0/configs/:CONF/runs/messages
6211 * perl/Amanda/Rest/Runs.pm: Add checkdump and messages methods.
6212 * perl/Makefile.am: Add Amanda/CheckDump.pm
6213
6214 2014-05-21 Jean-Louis Martineau <martineau@zmanda.com>
6215 * server-src/amtape.pl: Add relabeled case.
6216
6217 2014-05-12 Jean-Louis Martineau <martineau@zmanda.com>
6218 * packaging/rpm/amanda.spec.src: Add amazon.
6219
6220 2014-05-09 Jean-Louis Martineau <martineau@zmanda.com>
6221 * client-src/sendsize.c: Fix compiler warning.
6222
6223 2014-05-08 Jean-Louis Martineau <martineau@zmanda.com>
6224 * installcheck/Amanda_Changer_diskflat.pl: Use File::Path::rmtree.
6225
6226 2014-05-08 Jean-Louis Martineau <martineau@zmanda.com>
6227 * device-src/diskflat-device.c: Check result of ftruncate.
6228
6229 2014-05-08 Jean-Louis Martineau <martineau@zmanda.com>
6230 * server-src/amrmtape.pl: Add --external-copy argument.
6231 * man/xml-source/amrmtape.8.xml: Document --external-copy argument.
6232 * perl/Amanda/Label.pm: Implement external_copy argument.
6233 * perl/Amanda/Rest/Storages/Labels.pm: Ditto.
6234
6235 2014-05-08 Jean-Louis Martineau <martineau@zmanda.com>
6236 * device-src/diskflat-device.c (erase): Add method.
6237 * perl/Amanda/Changer/diskflat.pm: New chg-diskflat changer.
6238 * perl/Amanda/Changer.pm (label_to_slot): New method.
6239 * perl/Makefile.am: Add Amanda/Changer/diskflat.pm.
6240 * installcheck/Amanda_Changer_diskflat.pl: Test chg-diskflat.
6241 * installcheck/Makefile.am: Add Amanda_Changer_diskflat.
6242 * server-src/amreport.pl: Remove degugging.
6243
6244 2014-05-08 Jean-Louis Martineau <martineau@zmanda.com>
6245 * config/amanda/libs.m4: Search pkg-config in /opt/csw/bin.
6246
6247 2014-05-07 Jean-Louis Martineau <martineau@zmanda.com>
6248 * server-src/xfer-source-holding.c: Allow to rad s SPINT_DUMPFILE
6249 from holding disk.
6250
6251 2014-05-07 Jean-Louis Martineau <martineau@zmanda.com>
6252 * packaging/sun-pkg/buildpkg: gmake is in /opt/csw/bin
6253
6254 2014-05-06 Jean-Louis Martineau <martineau@zmanda.com>
6255 * packaging/sun-pkg/buildpkg: Use /usr/csw/bin/gmake if available.
6256
6257 2014-05-05 Jean-Louis Martineau <martineau@zmanda.com>
6258 * server-src/driver.c (start_some_dumps): Fix if a disk is moved to
6259 directq.
6260
6261 2014-05-05 Jean-Louis Martineau <martineau@zmanda.com>
6262 * perl/Amanda/Interactivity/stdin.pm, server-src/amcheckdump.pl,
6263 server-src/amfetchdump.pl, server-src/amvault.pl: Disable
6264 interactivity if STDIN can't be read.
6265
6266 2014-05-01 Jean-Louis Martineau <martineau@zmanda.com>
6267 * server-src/dumper.c (xml_check_options): Set dumper_kencrypt.
6268
6269 2014-04-30 Jean-Louis Martineau <martineau@zmanda.com>
6270 * perl/Amanda/ScanInventory.pm: Reload the tapelist at every scan.
6271
6272 2014-04-30 Jean-Louis Martineau <martineau@zmanda.com>
6273 * common-src/security-util.c: Improve error message.
6274
6275 2014-04-29 Jean-Louis Martineau <martineau@zmanda.com>
6276 * perl/Amanda/Changer/robot.pm: Fix lock.
6277 * perl/Amanda/Changer/robot.pm (_get_state): Return "failed".
6278 * server-src/amlabel.pl (user_msg): Fix for string.
6279
6280 2014-04-25 Jean-Louis Martineau <martineau@zmanda.com>
6281 * recover-src/uparse.y: Remove unused variable.
6282
6283 2014-04-25 Jean-Louis Martineau <martineau@zmanda.com>
6284 * amar-src/amar.c (amar_read_cb): Handle eof correctly.
6285
6286 2014-04-25 Jean-Louis Martineau <martineau@zmanda.com>
6287 * config/amanda/config.m4 (AMANDA_CONFIGURE_ARGS): New macro to set
6288 CONFIGURE_ARGS.
6289 * configure.in: Call AMANDA_CONFIGURE_ARGS
6290 * common-src/genversion.c: Print CONFIGURE_ARGS.
6291
6292 2014-04-24 Jean-Louis Martineau <martineau@zmanda.com>
6293 * server-src/amcheck-device.pl: Typo.
6294
6295 2014-04-24 Jean-Louis Martineau <martineau@zmanda.com>
6296 * common-src/bsdtcp-security.c: Retry all IPs on connection refused.
6297 * common-src/security-util.h (struct sec_handle): Add res, next_res,
6298 connect_callback, connect_arg, src_ip and port.
6299 * common-src/stream.c (stream_client_addr): New function to open a
6300 connection to a 'struct addrinfo'.
6301 * common-src/stream.h (stream_client_addr): Add prototype.
6302
6303 2014-04-23 Jean-Louis Martineau <martineau@zmanda.com>
6304 * perl/Amanda/Interactivity/email.pm: Check permission of the
6305 check-file.
6306
6307 2014-04-23 Jean-Louis Martineau <martineau@zmanda.com>
6308 * perl/Amanda/Interactivity/email.pm: Do not call remove if
6309 resend_delay is 0.
6310
6311 2014-04-23 Jean-Louis Martineau <martineau@zmanda.com>
6312 * server-src/amcheck-device.pl: Fix output from tape scan.
6313
6314 2014-04-17 Jean-Louis Martineau <martineau@zmanda.com>
6315 * amar-src/amar.c (read_done): Call done_cb withthe error.
6316 * amar-src/amar.c (amar_read_cb): Call read_done on error.
6317 * amar-src/amar.h (amar_done_callback_t): Add error in prototype.
6318 * perl/Amanda/Archive.swg: (read_done_cb): Get error.
6319
6320 2014-04-16 Jean-Louis Martineau <martineau@zmanda.com>
6321 * amar-src/amar.c (amar_read_cb): Call amar_stop_read.
6322 * amar-src/amar.c (set_amar_read_cb): Call amar_start_read.
6323
6324 2014-04-15 Jean-Louis Martineau <martineau@zmanda.com>
6325 * common-src/conffile.c: Fix compiler warning.
6326 * config/amanda/syshacks.m4: Compile on s390x-8-linux-*
6327
6328 2014-04-10 Jean-Louis Martineau <martineau@zmanda.com>
6329 * perl/Amanda/Tapelist.swg: Fix perl warning.
6330
6331 2014-04-10 Jean-Louis Martineau <martineau@zmanda.com>
6332 * perl/Amanda/Changer/robot.pm: Fix.
6333 * perl/Amanda/Interactivity/email.pm: Try to fix memory leak.
6334 * perl/Amanda/ScanInventory.pm: Abort the scan on inventory error.
6335
6336 2014-04-10 Jean-Louis Martineau <martineau@zmanda.com>
6337 * amar-src/amar.c: Do not use newer glib function.
6338
6339 2014-04-07 Jean-Louis Martineau <martineau@zmanda.com>
6340 * installcheck/Amanda_Taper_Scribe.pl (set_write_timestamp): Add method.
6341 * perl/Amanda/Taper/Scan.pm: Fix perl warning.
6342
6343 2014-04-07 Jean-Louis Martineau <martineau@zmanda.com>
6344 * perl/Amanda/Tapelist.swg (lookup_by_barcode): New method to return a
6345 tle from a barcode.
6346
6347 2014-04-07 Jean-Louis Martineau <martineau@zmanda.com>
6348 * perl/Amanda/Changer/robot.pm (_get_state): Lookupo label in tapelist
6349 file if it is not availbale in bc2lb.
6350
6351 2014-04-01 Jean-Louis Martineau <martineau@zmanda.com>
6352 * perl/Amanda/Taper/Scan.pm: Do not se the same tape twice in the same
6353 run.
6354 * perl/Amanda/Taper/Scribe.pm: Set taperscan write_timestamp.
6355
6356 2014-03-31 Jean-Louis Martineau <martineau@zmanda.com>
6357 * amar-src/amar.c (amar_read, set_amar_read_cb): Add a done_cb.
6358 * amar-src/amar.c (amar_set_error): New function to set an error.
6359 * amar-src/amar.h: New prototype.
6360 * amar-src/amarchiver.c: Use NULL done_cb.
6361 * amar-src/amar-test.c: Pass a NULL done_cb.
6362 * installcheck/Amanda_Archive.pl: Test set_read_cb with done_cb.
6363 * perl/Amanda/Archive.swg: Handle done_cb and error.
6364 * perl/Amanda/MainLoop.swg (run_until_empty): Remove method.
6365
6366 2014-03-28 Jean-Louis Martineau <martineau@zmanda.com>
6367 * amar-src/amar.c: Stop processing input file on stopped mode.
6368
6369 2014-03-28 Jean-Louis Martineau <martineau@zmanda.com>
6370 * amar-src/amar.c: Fix memory leak.
6371
6372 2014-03-28 Jean-Louis Martineau <martineau@zmanda.com>
6373 * amar-src/amar.c (amar_stop_read, amar_start_read): New function.
6374 * amar-src/amar.h (amar_stop_read, amar_start_read): Add prototype.
6375 * perl/Amanda/Archive.swg: Swig them.
6376
6377 2014-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6378 * application-src/ampgsql.pl: Do not close STDIN and STDERR.
6379
6380 2014-03-27 Jean-Louis Martineau <martineau@zmanda.com>
6381 * amar-src/amar.c: Add read function that use the mainloop.
6382 * amar-src/amar.h: Add read function that use the mainloop.
6383 * amar-src/amarchiver.c: Use new event interface.
6384 * perl/Amanda/Archive.swg: Swig new event interface.
6385 * perl/Amanda/MainLoop.swg (run_until_empty): New method.
6386
6387 2014-03-25 Jean-Louis Martineau <martineau@zmanda.com>
6388 * common-src/conffile.c: Add CNF_REST_API_PORT
6389 * common-src/conffile.h: Add CNF_REST_API_PORT
6390 * perl/Amanda/Config.swg: Add CNF_REST_API_PORT
6391 * server-src/amanda-rest-server.pl: New script to start/stop the rest
6392 server.
6393 * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amanda-rest-server.
6394 * man/xml-source/amanda-rest-server.8.xml: New man page.
6395 * man/Makefile.am (SERVER_MAN_PAGES): Add amanda-rest-server.8
6396
6397 2014-03-25 Jean-Louis Martineau <martineau@zmanda.com>
6398 * amar-src/amar.c (amar_file_size, amar_attr_size): New function to
6399 return file and attribute size.
6400 * amar-src/amar.h (amar_file_size, amar_attr_size): Add prototype.
6401 * perl/Amanda/Archive.swg: Make them available to perl.
6402 * perl/Amanda/Archive.pod: Document them.
6403 * installcheck/Amanda_Archive.pl: Test the new method.
6404
6405 2014-03-24 Jean-Louis Martineau <martineau@zmanda.com>
6406 * server-src/amtrmidx.c, server-src/planner.c: Fix memmory leak.
6407
6408 2014-03-24 Jean-Louis Martineau <martineau@zmanda.com>
6409 * server-src/amcheck.c: Warn if tapecycle <= runtapes.
6410
6411 2014-03-24 Jean-Louis Martineau <martineau@zmanda.com>
6412 * installcheck/taper.pl: Fix count of test.
6413
6414 2014-03-21 Jean-Louis Martineau <martineau@zmanda.com>
6415 * amar-src/amarchiver.c: Create parent directory on extraction.
6416
6417 2014-03-14 Jean-Louis Martineau <martineau@zmanda.com>
6418 * server-src/driver.c: Do not try to find holding space when no
6419 holding disk are used.
6420
6421 2014-03-12 Jean-Louis Martineau <martineau@zmanda.com>
6422 * common-src/bsdtcp-security.c: Make a non blocking connection.
6423
6424 2014-03-12 Jean-Louis Martineau <martineau@zmanda.com>
6425 * perl/Amanda/Taper/Scribe.pm: Log empty part.
6426 * server-src/amreport.pl: Fix.
6427 * installcheck/Amanda_Taper_Scribe.pl: Fix for Scribe change.
6428 * installcheck/taper.pl: Fix for Scribe change.
6429
6430 2014-03-11 Jean-Louis Martineau <martineau@zmanda.com>
6431 * amar-src/amar.h: Fix constant.
6432 * amar-src/amarchiver.c: Do not append attribute id (16) to filename
6433 on extraction.
6434 * installcheck/Amanda_Archive.pl: Add check.
6435 * installcheck/amarchiver.pl: Add check.
6436 * perl/Amanda/Archive.swg: Document and export attribute id.
6437
6438 2014-03-05 Jean-Louis Martineau <martineau@zmanda.com>
6439 * device-src/diskflat-device.c: Check lseek result.
6440
6441 2014-03-05 Jean-Louis Martineau <martineau@zmanda.com>
6442 * perl/Amanda/Util.swg (setup_application): Call glib_init.
6443
6444 2014-03-04 Jean-Louis Martineau <martineau@zmanda.com>
6445 * server-src/diskfile.h (struct disk_s): Add orig_holdingdisk.
6446 * server-src/diskfile.c: Set orig_holdingdisk.
6447 * server-src/driver.c: Use orig_holdingdisk to report error.
6448 * server-src/planner.c: Improve message.
6449
6450 2014-03-03 Jean-Louis Martineau <martineau@zmanda.com>
6451 * device-src/Makefile.am: Add diskflat-device.c and diskflat-device.h
6452 * device-src/device.c: Call diskflat_device_register
6453 * device-src/diskflat-device.c: New diskflat device.
6454 * device-src/diskflat-device.h: New diskflat device header file.
6455 * device-src/vfs-device.c: Refactoring.
6456 * device-src/vfs-device.h: Refactoring.
6457 * installcheck/Amanda_Device.pl: Check the diskflat device.
6458 * man/xml-source/amanda-devices.7.xml: Document the diskflat device.
6459
6460 2014-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6461 * device-src/ndmp-device.c, device-src/s3-device.c,
6462 device-src/tape-device.c, device-src/xfer-dest-device.c,
6463 device-src/xfer-source-device.c, device-src/xfer-source-recovery.c,
6464 xfer-src/element-glue.c,
6465 xfer-src/filter-crc.c: Correctly report memory allocation error for
6466 large buffer.
6467
6468 2014-02-28 Jean-Louis Martineau <martineau@zmanda.com>
6469 * perl/Amanda/Taper/Protocol.pm: Add READY Message.
6470 * perl/Amanda/Taper/Scribe.pm: Call
6471 $self->{'feedback'}->scribe_ready();
6472 * perl/Amanda/Taper/Worker.pm (scribe_ready): New method to send the
6473 READY message.
6474 * perl/Amanda/Vault.pm (scribe_ready): New method that do nothing.
6475 * server-src/driver.c: Send dumper result to taper only after it sent
6476 the READY message.
6477 * server-src/driverio.h (wtaper_t): Add ready.
6478 * server-src/server_util.c (cmdstr): Add READY.
6479 * server-src/server_util.h (enum): Add READY.
6480 * installcheck/Amanda_Taper_Scribe.pl,
6481 installcheck/taper.pl: Fix check.
6482
6483 2014-02-25 Jean-Louis Martineau <martineau@zmanda.com>
6484 * common-src/Makefile.am: Do not fail if ../perl/Amanda already
6485 exists.
6486
6487 2014-02-25 Jean-Louis Martineau <martineau@zmanda.com>
6488 * perl/Makefile.am: Fix intallation in DESTDIR.
6489
6490 2014-02-14 Jean-Louis Martineau <martineau@zmanda.com>
6491 * device-src/dvdrw-device.c: Fix.
6492
6493 2014-02-14 Jean-Louis Martineau <martineau@zmanda.com>
6494 * common-src/amflock.c: Check return value of truncate.
6495
6496 2014-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6497 * common-src/amfeatures.c, common-src/amfeatures.h,
6498 perl/Amanda/Logfile.swg: Add fe_sendbackup_retry,
6499 fe_sendbackup_retry_delay, fe_sendbackup_retry_level,
6500 fe_sendbackup_retry_message.
6501 * perl/Amanda/Report.pm: Handle RETRY line from dumper.
6502 * perl/Amanda/Report/human.pm: Handle RETRY line from dumper.
6503 * perl/Amanda/Status.pm: Handle RETRY line from dumper.
6504 * server-src/amstatus.pl: Remove unneeded print statement.
6505 * server-src/driver.c: Handle RETRY result from dumper.
6506 * server-src/dumper.c: Handle 'sendbackup: retry' line.
6507 * server-src/logfile.c, server-src/logfile.h: Add L_RETRY
6508 * server-src/server_util.c, server-src/server_util.h: Add RETRY
6509
6510 2014-02-13 Jean-Louis Martineau <martineau@zmanda.com>
6511 * server-src/dumper.c: Check the size section of the CRC.
6512
6513 2014-02-12 Jean-Louis Martineau <martineau@zmanda.com>
6514 * common-src/amflock.c: Detect failure to write the file and ftruncate
6515 it to 0.
6516 * perl/Amanda/Changer.pm: Detect failure to read the state file and do
6517 like if it was empty.
6518
6519 2014-02-06 Jean-Louis Martineau <martineau@zmanda.com>
6520 * amar-src/amar.c, application-src/ambsdtar.c: Coverity fix.
6521
6522 2014-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6523 * perl/Amanda/Amflush.pm: Fix message.
6524 * perl/Amanda/Rest/Runs.pm: Add amdump and amflush
6525 * perl/Amanda/Rest/Storages.pm: Fix documentation.
6526 * perl/Amanda/Rest/Storages/Labels.pm: Fix documentation.
6527 * perl/Amanda/Rest/Amanda/bin/app.pl.in: Add many methods.
6528
6529 2014-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6530 * perl/Amanda/Report/human.pm (divzero, divzero_wide, divzero_col,
6531 hrmn, mnsc): Function must be dalled from the package.
6532 * perl/Amanda/Report/json.pm (divzero, divzero_wide, divzero_col,
6533 hrmn, mnsc): Add functions in package.
6534 * perl/Amanda/Rest/Amanda/config.yml: Add allow_nonref
6535 * perl/Amanda/Rest/Report.pm: Fix documentation.
6536
6537 2014-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6538 * perl/Amanda/Rest/Status.pm: Fix documentation.
6539
6540 2014-02-05 Jean-Louis Martineau <martineau@zmanda.com>
6541 * perl/Amanda/Rest/Dumps.pm: Fix documentation.
6542
6543 2014-02-04 Jean-Louis Martineau <martineau@zmanda.com>
6544 * device-src/ndmp-device.c, ndmp-src/ndmpconnobj.c,
6545 ndmp-src/ndmpconnobj.h: Undo previous patch.
6546 * device-src/ndmp-device.c: ndmp_connection_wait_for_notify_with_cond
6547 returning 1 is a valid result.
6548
6549 2014-02-04 Jean-Louis Martineau <martineau@zmanda.com>
6550 * device-src/ndmp-device.c: Call ndmp_connection_mover_get_state
6551 before calling ndmp_connection_wait_for_notify_with_cond to verify
6552 the mover state.
6553 * ndmp-src/ndmpconnobj.c (ndmp_connection_mover_get_state): Return
6554 pause_reason and halt_reason
6555 * ndmp-src/ndmpconnobj.h (ndmp_connection_mover_get_state): Change
6556 prototype.
6557
6558 2014-02-03 Jean-Louis Martineau <martineau@zmanda.com>
6559 * installcheck/amlabel.pl: Fix.
6560
6561 2014-02-03 Jean-Louis Martineau <martineau@zmanda.com>
6562 * common-src/conffile.c (get_storage_list): New function.
6563 * common-src/conffile.h (get_storage_list): Add prototype.
6564 * perl/Amanda/Config.swg (get_storage_list): Swig function.
6565 * perl/Amanda/Changer/aggregate.pm,
6566 perl/Amanda/Changer/multi.pm
6567 perl/Amanda/Changer/robot.pm: Fix for some arguments.
6568 * perl/Amanda/Curinfo/Info.pm: Fix.
6569 * perl/Amanda/DB.pm: New module.
6570 * perl/Amanda/Label.pm: Add messages.
6571 * perl/Amanda/Message.pm: Add messages.
6572 * perl/Amanda/Rest.pm: New module.
6573 * perl/Amanda/Rest/Amdump.pm: Fix message.
6574 * perl/Amanda/Rest/Configs.pm, perl/Amanda/Rest/Dles.pm,
6575 perl/Amanda/Rest/Dumps.pm, perl/Amanda/Rest/Labels.pm,
6576 perl/Amanda/Rest/Runs.pm, perl/Amanda/Rest/Status.pm,
6577 perl/Amanda/Rest/Storages.pm, perl/Amanda/Rest/Storages/Labels.pm,
6578 perl/Amanda/Rest/Version.pm: Implement REST API and document it.
6579 * perl/Amanda/ScanInventory.pm: Fix.
6580 * perl/Amanda/Tapelist.swg: Fix messages.
6581 * perl/Makefile.am: Add Amanda/DB.pm and Amanda/Rest.pm.
6582
6583 2014-01-30 Jean-Louis Martineau <martineau@zmanda.com>
6584 * perl/Amanda/Rest/Storages.pm: Fix update command.
6585 * perl/Makefile.am: Fix installation of Amanda/Rest/Amanda/config.yml
6586
6587 2014-01-29 Jean-Louis Martineau <martineau@zmanda.com>
6588 * common-src/Makefile.am, perl/Makefile.am: Fix build.
6589
6590 2014-01-29 Jean-Louis Martineau <martineau@zmanda.com>
6591 * perl/Makefile.am (EXTRA_DIST): Add Amanda/Constants.pm.in.src
6592
6593 2014-01-29 Jean-Louis Martineau <martineau@zmanda.com>
6594 * device-src/device.c (device_create): New function.
6595 * device-src/device.h (device_create): Add prototype.
6596 * device-src/s3-device.c (s3_device_create): New function.
6597 * perl/Amanda/Device.swg: Swig device_create.
6598 * perl/Amanda/Changer.pm (create): New method.
6599 * perl/Amanda/Changer/disk.pm (create): New create method.
6600 * perl/Amanda/Changer/multi.pm (create): New create method.
6601 * perl/Amanda/JSON/Changer.pm: Add create method.
6602 * perl/Amanda/Rest/Storages.pm (create): Add method to the Rest API.
6603 * perl/Amanda/Rest/Storages/Labels.pm: Remove debugging message.
6604 * perl/Amanda/Storage.pm: Add no_validate argument.
6605 * server-src/amtape.pl: Add create subcommand that call the changer
6606 create method.
6607 * man/xml-source/amtape.8.xml: Document create subcommand.
6608
6609 2014-01-28 Jean-Louis Martineau <martineau@zmanda.com>
6610 * client-src/selfcheck.c: fix for /usr/bin/lsb_release
6611
6612 2014-01-28 Jean-Louis Martineau <martineau@zmanda.com>
6613 * recover-src/extract_list.c: Do not uncompress/decrypt if server do not
6614 have fe_amrecover_receive_unfiltered.
6615
6616 2014-01-28 Jean-Louis Martineau <martineau@zmanda.com>
6617 * client-src/selfcheck.c: Fix distro.
6618
6619 2014-01-28 Jean-Louis Martineau <martineau@zmanda.com>
6620 * perl/Makefile.am: Fix check and installation of dancer module
6621
6622 2014-01-28 Jean-Louis Martineau <martineau@zmanda.com>
6623 * client-src/calcsize.c: Take root privilege to call get_fs_usage.
6624
6625 2014-01-27 Jean-Louis Martineau <martineau@zmanda.com>
6626 * perl/Makefile.am: Install Dancer generated file only.
6627
6628 2014-01-27 Jean-Louis Martineau <martineau@zmanda.com>
6629 * common-src/Makefile.am: Make perl/Amanda/Constants.pm.in from
6630 perl/Amanda/Constants.pm.in.src
6631 * config/amanda/config.m4: Set BUILT_REV and BUILR_BRANCH
6632 * perl/Amanda/Constants.pm.in: Removed
6633 * perl/Amanda/Constants.pm.in.src: New file
6634 * perl/Amanda/Rest/Version.pm: Return BYUILT_DARA, BUILT_REV and
6635 BUILT_BRANCH.
6636 * perl/Makefile.am: Make perl/Amanda/Constants.pm.in from
6637 perl/Amanda/Constants.pm.in.src
6638
6639 2014-01-27 Jean-Louis Martineau <martineau@zmanda.com>
6640 * common-src/conffile.c (config_init_with_global): New function.
6641 * common-src/conffile.h: Add CONFIG_INIT_GLOBAL and
6642 config_init_with_global prototype.
6643 * man/xml-source/amanda.conf.5.xml: Document /etc/amanda/amanda.conf
6644 is loaded.
6645 * perl/Amanda/Config.swg: Swig CONFIG_INIT_GLOBAL and
6646 config_init_with_global.
6647 * installcheck/Amanda_Config.pl: Use CONFIG_INIT_GLOBAL and/or
6648 config_init_with_global.
6649 * installcheck/amgetconf.pl: Fix for amandates.
6650 * */*.c, */*.pl: Use CONFIG_INIT_GLOBAL and/or
6651 config_init_with_global.
6652
6653 2014-01-22 Jean-Louis Martineau <martineau@zmanda.com>
6654 * Amanda/Rest/Amanda/bin/app.pl.in: Replace app.pl with substituted
6655 value.
6656 * Amanda/Rest/Amanda/bin/app.pl: Remove
6657 * Amanda/Rest/Amanda/logs/deployment.log: Remove
6658 * Amanda/Rest/Dumps.pm: Fix.
6659
6660 2014-01-22 Jean-Louis Martineau <martineau@zmanda.com>
6661 * server-src/amvault.pl: Use the perl Amanda::Vault Module.
6662 * perl/Amanda/Vault.pm: New module for vaulting.
6663 * perl/Amanda/Report/human.pm: Fix for vaulting.
6664 * perl/Amanda/Message.pm: Add Message number for Amanda::Vault.
6665 * perl/Amanda/Amflush.pm: Remove unused module.
6666 * perl/Amanda/Label.pm: Fix typo.
6667 * perl/Amanda/Status.pm: Fix for vaulting.
6668 * perl/Amanda/Config.swg: Add messages.
6669 * perl/Amanda/Rest/*: The new REST-API
6670 * perl/Amanda/JSON/Config.pm: Add list.
6671 * perl/Amanda/JSON/Label.pm: Fix typo.
6672 * perl/Makefile.am: Add Amanda/Rest
6673 * installcheck/amvault.pl: Fix for stdout/stderr change.
6674 * installcheck/Installcheck/Run.pm: Add run_out.
6675
6676 2014-01-16 Jean-Louis Martineau <martineau@zmanda.com>
6677 * client-src/selfcheck.c (print_platform): Run /usr/bin/lsb_release if
6678 it exist.
6679
6680 2014-01-14 Jean-Louis Martineau <martineau@zmanda.com>
6681 * man/xml-source/amcleanup.8.xml: Add amvault.
6682 * server-src/amcleanup.pl: Add amvault.
6683
6684 2014-01-11 Jean-Louis Martineau <martineau@zmanda.com>
6685 * common-src/glib-util.c: Fix for curl and gnutls.
6686
6687 2014-01-10 Jean-Louis Martineau <martineau@zmanda.com>
6688 * perl/Amanda/Changer/robot.pm: Retry on MTX 'No Sense'.
6689
6690 2014-01-09 Jean-Louis Martineau <martineau@zmanda.com>
6691 * amar-src/amar.c, amar-src/amar.h, perl/Amanda/Archive.pod,
6692 perl/Amanda/Archive.swg: Add amar_size and
6693 amar_attr_add_data_fd_in_thread
6694 * installcheck/Amanda_Archive.pl: Test amar_size.
6695
6696 2014-01-06 Jean-Louis Martineau <martineau@zmanda.com>
6697 * gnulib/group-member.c, gnulib/xalloc-oversized.h,
6698 gnulib/euidaccess.c, gnulib/getgroups.c, gnulib/root-uid.h,
6699 config/gnulib/getgroups.m4, config/gnulib/group-member.m4,
6700 config/gnulib/euidaccess.m4: Missing file gnulib euidaccess.
6701
6702 2014-01-03 Jean-Louis Martineau <martineau@zmanda.com>
6703 * application-src/amgtar.c: Check gnutar_listdir before uid to 0.
6704 * client-src/client_util.c: Use EUIDACCESS.
6705 * common-src/amanda.h: Define EUIDACCESS.
6706 * configure.in: Check for euidaccess and eaccess.
6707 * config/gnulib/euidaccess.m4, config/gnulib/getgroups.m4,
6708 config/gnulib/gnulib-cache.m4, config/gnulib/gnulib-comp.m4,
6709 config/gnulib/group-member.m4, gnulib/Makefile.am,
6710 gnulib/euidaccess.c, gnulib/getgroups.c, gnulib/group-member.c,
6711 gnulib/regenerate/regenerate, gnulib/root-uid.h,
6712 gnulib/xalloc-oversized.h: Add euidaccess module.
6713
6714 2014-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6715 * server-src/planner.c: Use server estimate on estimate timeout.
6716
6717 2014-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6718 * installcheck/catalogs/chunker-partial.cat,
6719 installcheck/catalogs/normal.cat, installcheck/catalogs/quoted.cat,
6720 installcheck/catalogs/taper-parallel-write.cat: Fix for maxdumps in
6721 PORT-DUMP line.
6722
6723 2014-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6724 * perl/Amanda/Status.pm: Fix for maxdumps in PORT-DUMP line.
6725
6726 2014-01-02 Jean-Louis Martineau <martineau@zmanda.com>
6727 * server-src/driverio.c: Send maxdumps to dumper.
6728 * server-src/dumper.c: Parse maxdumps, add maxdumps in REQ packet.
6729
6730 2013-12-30 Jean-Louis Martineau <martineau@zmanda.com>
6731 * server-src/amcheck.c: Do not report DATA-PATH error if a device is
6732 not found.
6733
6734 2013-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6735 * application-src/ambsdtar.c: Add a trailling '/' on directory entry
6736 in the index.
6737 * man/xml-source/ambsdtar.8.xml: Say that restore never remove files.
6738
6739 2013-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6740 * perl/Amanda/Changer/multi.pm: Get current slot from
6741 current_slot_csc.
6742 * server-src/driver.c: Correctly parse PARTDONE message.
6743
6744 2013-12-20 Jean-Louis Martineau <martineau@zmanda.com>
6745 * device-src/s3.c: Fix for CURLE_SSL_CACERT_BADFILE.
6746
6747 2013-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6748 * client-src/selfcheck.c: Run sw_vers to find Mac platform.
6749
6750 2013-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6751 * perl/Amanda/Changer/robot.pm: Change state if now loaded.
6752 * server-src/amtape.pl (inventory): Print empty slot.
6753
6754 2013-12-18 Jean-Louis Martineau <martineau@zmanda.com>
6755 * application-src/ambsdtar.c: Some fixes.
6756
6757 2013-12-16 Jean-Louis Martineau <martineau@zmanda.com>
6758 * application-src/Makefile.am: Add ambsdtar.
6759 * application-src/ambsdtar.c: New application script for BSD tar
6760 * application-src/amgtar.c: Call dbclose()
6761 * application-src/amstar.c: Call dbclose()
6762 * client-src/calcsize.c: Handle BSDTAR
6763 * config/amanda/dumpers.m4 (AMANDA_PROG_BSDTAR): function to find
6764 bsdtar binary.
6765 * configure.in: Call AMANDA_PROG_BSDTAR
6766 * man/Makefile.am: Add ambsdtar.8
6767 * man/entities/global.entities.in: Add bsdtar.
6768 * man/xml-source/ambsdtar.8.xml: New ambsdtar man page
6769 * perl/Amanda/Constants.pm.in: Add $BSDTAR
6770 * NEWS, ReleaseNotes: Add ambsdtar
6771
6772 2013-12-16 Jean-Louis Martineau <martineau@zmanda.com>
6773 * client-src/client_util.c (backup_support_option): Do pass pass the
6774 --config, --host, --disk and --device
6775 * client-src/client_util.h (backup_support_option): Change prototype.
6776 * client-src/selfcheck.c, client-src/sendbackup.c,
6777 client-src/sendsize.c, recover-src/extract_list.c: Use new
6778 backup_support_option arguments.
6779
6780 2013-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6781 * server-src/amfetchdump.pl: Fix if header have only one
6782 application property.
6783
6784 2013-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6785 * recover-src/extract_list.c: Fix read from applicaiton stderr.
6786
6787 2013-12-12 Jean-Louis Martineau <martineau@zmanda.com>
6788 * server-src/disk_history.c: Fix storage setting.
6789
6790 2013-12-06 Jean-Louis Martineau <martineau@zmanda.com>
6791 * server-src/driverio.c(update_info_taper): Log a message if label is
6792 not set.
6793
6794 2013-12-06 Jean-Louis Martineau <martineau@zmanda.com>
6795 * server-src/amflush.pl: Fix parsing of letter argument.
6796
6797 2013-11-27 Jean-Louis Martineau <martineau@zmanda.com>
6798 * device-src/s3-device.c: Always use the prefix when accessing the
6799 bucket.
6800 * device-src/s3.c (s3_is_bucket_exists): Add prefix as argument.
6801 * device-src/s3.h (s3_is_bucket_exists): Change prototype.
6802
6803 2013-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6804 * perl/Amanda/Changer/robot.pm, perl/Amanda/Changer,
6805 perl/Amanda/JSON/Changer.pm: s/look to be/looks to be/.
6806
6807 2013-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6808 * server-src/amindexd.c: Fix bug found by coverity.
6809
6810 2013-11-21 Jean-Louis Martineau <martineau@zmanda.com>
6811 * perl/Amanda/Changer/robot.pm: Speedup by checking all devices.
6812
6813 2013-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6814 * perl/Amanda/Changer.pm: Add message 1100025
6815 * perl/Amanda/Changer/robot.pm (verify): Report drive error.
6816 * server-src/amtape.pl: Handle message 1100025.
6817
6818 2013-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6819 * perl/Amanda/Changer.pm: Add message 1100024
6820 * perl/Amanda/Changer/robot.pm (verify): Report non-existant drive.
6821 * server-src/amtape.pl: Handle message 1100024.
6822
6823 2013-11-20 Jean-Louis Martineau <martineau@zmanda.com>
6824 * server-src/amfetchdump.pl: Allow multiple values for the one
6825 property.
6826
6827 2013-11-18 Dan Locks <dwlocks@zmanda.com>
6828 * example/Makefile.am: update xml file names
6829 * example/amandaclient-tcp.xml.in: rename this
6830 * example/amandaclient.xml.in: to this
6831 * example/amandaserver-tcp.xml.in: rename this
6832 * example/amandaserver.xml.in: to this
6833
6834 2013-11-18 Dan Locks <dwlocks@zmanda.com>
6835 * example/Makefile.am: include new files in dist tarball
6836 * example/amandaclient-tcp.xml.in, example/amandaserver-tcp.xml.in:
6837 smf manifests for solaris >= 10
6838
6839 2013-11-18 Jean-Louis Martineau <martineau@zmanda.com>
6840 * config/amanda/progs.m4: AC_SUBST(SORT_PATH)
6841 * perl/Amanda/Constants.pm.in: Add SORT_PATH
6842 * perl/Amanda/Logfile.swg: Add getindexfname
6843 * perl/Amanda/Message.pm: Add Amanda::Index::Message
6844 * perl/Amanda/Status.pm:: s/Message/Amanda::Status::Message/
6845 * perl/Amanda/Index.pm: New perl module to return index file and
6846 header from index directory.
6847 * perl/Amanda/JSON/Index.pm: New JSON module.
6848 * perl/Amanda/JSON.pm: Add missing JSON modules.
6849 * perl/Makefile.am: Add Amanda/JSON/Index.pm and Amanda/Index.pm
6850 * server-src/amanda.psgi.pl: Add Amanda::JSON::Index::* methods.
6851
6852 2013-11-15 Jean-Louis Martineau <martineau@zmanda.com>
6853 * application-src/amgtar.c, application-src/ampgsql.pl,
6854 * application-src/amraw.pl, application-src/amsamba.pl,
6855 * application-src/amstar.c, application-src/amsuntar.pl,
6856 * application-src/amzfs-sendrecv.pl: Implement index command.
6857 * perl/Amanda/Application.swg: Enable index command
6858 * server-src/amcheckdump.pl, server-src/amreindex.pl: Pass --config,
6859 --host, --disk, --device and --level to the application.
6860
6861 2013-11-15 Jean-Louis Martineau <martineau@zmanda.com>
6862 * common-src/fileheader.c (parse_heredoc): print message to debug if
6863 end of heredoc is not found.
6864 * server-src/amfetchdump.pl: Trap failure on XML::Simple::XMLin.
6865
6866 2013-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6867 * perl/Amanda/Curinfo/Info.pm: Small fix.
6868
6869 2013-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6870 * server-src/amreindex.pl: Compress the index file if compress-index
6871 is set.
6872
6873 2013-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6874 * NEWS: Add erase-on-full And many missing storage setting.
6875 * common-src/conffile.c: Add CONF_ERASE_ON_FULL in storage.
6876 * common-src/conffile.h: Add STORAGE_ERASE_ON_FULL.
6877 * device-src/device.c: Add device_reset(), device_write_block() now
6878 return DeviceWriteResult.
6879 * device-src/device.h: Add DeviceWriteResult and prototype.
6880 * device-src/ndmp-device.c, device-src/null-device.c,
6881 device-src/rait-device.c, device-src/s3-device.c,
6882 device-src/tape-device.c (*_device_write_block): return WRITE_FAILED
6883 or WRITE_SUCCEED.
6884 * device-src/vfs-device.c (vfs_device_write_block): return
6885 WRITE_FAILED, WRITE_SUCCEED, WRITE_FULL or WRITE_SPACE.
6886 * device-src/xfer-dest-device.c, device-src/xfer-dest-taper-cacher.c:
6887 Handle new return value from device_write_block.
6888 * device-src/xfer-dest-taper-splitter.c: Also handle WRITE_FULL or
6889 WRITE_SPACE.
6890 * device-src/xfer-dest-taper.c (xfer_dest_taper_new_space_available):
6891 New method
6892 * device-src/xfer-dest-taper.h: Add prototype
6893 * man/xml-source/amanda.conf.5.xml: Document erase-on-full storage
6894 setting
6895 * perl/Amanda/Changer/aggregate.pm: Add slot_in_same_changer method.
6896 * perl/Amanda/Changer/disk.pm: Set global_space to 1.
6897 * perl/Amanda/Config.swg: Add STORAGE_ERASE_ON_FULL.
6898 * perl/Amanda/Device.swg: Add device_reset().
6899 * perl/Amanda/Curinfo/Info.pm: Fix.
6900 * perl/Amanda/Label.pm: Some fix.
6901 * perl/Amanda/Storage.pm: Set erase_on_full.
6902 * perl/Amanda/Taper/Scribe.pm: Handle XMSG_NO_SPACE, try to erase
6903 volume and call element new_space_available method.
6904 * perl/Amanda/Xfer.swg: Add XMSG_NO_SPACE.
6905 * perl/Amanda/XferServer.swg: Add xfer_dest_taper_new_space_available
6906 * server-src/tapefile.c (read_tapelist): Set retention_computed=FALSE
6907 * xfer-src/xmsg.c (xmsg_repr): Add XMSG_NO_SPACE
6908 * xfer-src/xmsg.h (xmsg_type): Add XMSG_NO_SPACE
6909
6910 2013-11-14 Jean-Louis Martineau <martineau@zmanda.com>
6911 * server-src/amtrmidx.c: Do not use temporary files.
6912 * server-src/dumper.c: Always compress the index if required.
6913
6914 2013-11-13 Jean-Louis Martineau <martineau@zmanda.com>
6915 * server-src/amindexd.c: Fix gcc warnings.
6916
6917 2013-11-13 Jean-Louis Martineau <martineau@zmanda.com>
6918 * perl/Amanda/Changer.pm: Fix pod.
6919
6920 2013-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6921 * server-src/amindexd.c: More fix.
6922
6923 2013-11-11 Jean-Louis Martineau <martineau@zmanda.com>
6924 * server-src/amindexd.c: Fix typo.
6925
6926 2013-11-08 Jean-Louis Martineau <martineau@zmanda.com>
6927 * application-src/amgtar.c: Implement the index command.
6928 * man/Makefile.am: Add amreindex.8
6929 * man/xml-source/amanda.8.xml: Add amreindex.8
6930 * man/xml-source/amreindex.8.xml: Document the new amreindex program.
6931 * perl/Amanda/Logfile.swg: Add getindex_*_fname and getheaderfname
6932 methods.
6933 * server-src/Makefile.am: Add amreindex.
6934 * server-src/amreindex.pl: New program to reindex dumps.
6935 * server-src/amtrmidx.c: Unlink a few more index files.
6936
6937 2013-11-08 Jean-Louis Martineau <martineau@zmanda.com>
6938 * common-src/conffile.c: Add compress-index and sort-index
6939 * common-src/conffile.h: Add CNF_COMPRESS_INDEX and CNF_SORT_INDEX
6940 * perl/Amanda/Config.swg: Add CNF_COMPRESS_INDEX and CNF_SORT_INDEX
6941 * man/xml-source/amanda.conf.5.xml: Document compress-index and
6942 sort-index
6943 * server-src/amindex.c (getindex_unsorted_fname,
6944 getindex_unsorted_gz_fname,
6945 getindex_sorted_fname,
6946 getindex_sorted_gz_fname): New methods to
6947 retrieve the various names of the index files.
6948 * server-src/amindex.h: Add prototype.
6949 * server-src/amindexd.c: Read un/sorted un/compressed index file.
6950 * server-src/amtrmidx.c: sort and un/compress index files.
6951 * server-src/dumper.c: Do not compress the index stream if it must
6952 be sorted.
6953 * NEWS: Document it.
6954
6955 2013-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6956 * device-src/s3-device.c (delete_file): Check for no objects.
6957 * installcheck/Amanda_Device.pl: Use different bucket name for each
6958 test.
6959
6960 2013-11-06 Jean-Louis Martineau <martineau@zmanda.com>
6961 * perl/Amanda/Report/human.pm (USAGE BY TAPE): Add more space for the
6962 Time.
6963
6964 2013-11-05 Jean-Louis Martineau <martineau@zmanda.com>
6965 * device-src/s3-device.c: Check for S3_ERROR_NoSuchBucket error.
6966 * device-src/s3.c: Do not free hdl->user_token twice.
6967
6968 2013-11-05 Jean-Louis Martineau <martineau@zmanda.com>
6969 * */*.c: Cleanup found by cppcheck.
6970
6971 2013-11-04 Jean-Louis Martineau <martineau@zmanda.com>
6972 * installcheck/Amanda_Xfer.pl, installcheck/Installcheck/Mock.pm,
6973 installcheck/amvault.pl: installcheck do not do indirect ndmp.
6974
6975 2013-11-04 Jean-Louis Martineau <martineau@zmanda.com>
6976 * server-src/amcheck.c: Use full_write instead of write.
6977
6978 2013-11-01 Jean-Louis Martineau <martineau@zmanda.com>
6979 * server-src/amcheck.c: Check return value of fdopen,
6980 fclose(dev_outf).
6981 * server-src/driver.c, server-src/planner.c: Check return value of
6982 holding_file_get_dumpfile.
6983
6984 2013-10-31 Jean-Louis Martineau <martineau@zmanda.com>
6985 * server-src/find.c: Use hash table instead of re-scanning a list.
6986
6987 2013-10-31 Jean-Louis Martineau <martineau@zmanda.com>
6988 * server-src/amcheck-device.pl: Output DATA-PATH
6989 * server-src/amcheck.c: Check device data-path against dle data-path.
6990
6991 2013-10-30 Jean-Louis Martineau <martineau@zmanda.com>
6992 * device-src/ndmp-device.c: Unlock the abort_mutex when wait waiting
6993 for the wait_thread thread.
6994
6995 2013-10-29 Jean-Louis Martineau <martineau@zmanda.com>
6996 * device-src/ndmp-device.c: INDIRECT property default ot yes.
6997 * man/xml-source/amanda-devices.7.xml: Document it.
6998
6999 2013-10-28 Jean-Louis Martineau <martineau@zmanda.com>
7000 * common-src/amfeatures.h: Change features order to match 3.3 branch.
7001
7002 2013-10-28 Jean-Louis Martineau <martineau@zmanda.com>
7003 * perl/Amanda/Changer.pm: Fix perl warning.
7004 * perl/Amanda/ScanInventory.pm: Check for label not in tapelist.
7005
7006 2013-10-25 Jean-Louis Martineau <martineau@zmanda.com>
7007 * perl/Amanda/Changer.pm: amandaify property name.
7008
7009 2013-10-22 Jean-Louis Martineau <martineau@zmanda.com>
7010 * common-src/Makefile.am: Add dependencis for genversion.$(OBJEXT)
7011
7012 2013-10-16 Jean-Louis Martineau <martineau@zmanda.com>
7013 * application-src/ampgsql.pl: Tag 'file changed as we read it' as GOOD.
7014
7015 2013-10-16 Jean-Louis Martineau <martineau@zmanda.com>
7016 * server-src/amadmin.c: Do not load the config for version subcommand.
7017
7018 2013-10-16 Jean-Louis Martineau <martineau@zmanda.com>
7019 * common-src/amcryptsimple.pl: Fix for no gpg-agent or gpg2.
7020
7021 2013-10-15 Jean-Louis Martineau <martineau@zmanda.com>
7022 * installcheck/gnutar.pl: Fix for fc19.
7023
7024 2013-10-15 Jean-Louis Martineau <martineau@zmanda.com>
7025 Patch by Benjamin Kerensa
7026 * oldrecover-src/extract_list.c: Typo.
7027
7028 2013-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7029 * perl/Amanda/Process.pm: Use Amanda::Debug.
7030
7031 2013-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7032 * device-src/s3.c: Add SESSION-TOKEN property.
7033 * device-src/s3.h (s3_open): Add session_token argument.
7034 * device-src/s3-device.c: Add SESSION-TOKEN property.
7035 * man/xml-source/amanda-devices.7.xml: Document the new property.
7036
7037 2013-09-18 Jean-Louis Martineau <martineau@zmanda.com>
7038 * common-src/conffile.c: Fix parsing of config override.
7039
7040 2013-09-13 Jean-Louis Martineau <martineau@zmanda.com>
7041 * perl/Amanda/Amflush.pm: Fix.
7042 * perl/Amanda/Cmdfile.swg: Fix for newer swig.
7043 * server-src/cmdfile.c: Cleanup.
7044
7045 2013-09-13 Jean-Louis Martineau <martineau@zmanda.com>
7046 * perl/Amanda/Amflush.pm: Perl module with amflush functionnality.
7047 * perl/Amanda/JSON/Amflush.pm: New JSON module for running a flush.
7048 * perl/Amanda/Message.pm: Add Amanda::Amflush::Message.
7049 * perl/Makefile.am: Add Amanda/Amflush.pm, Amanda/JSON/Amflush.pm
7050 * server-src/amflush.c: Remove.
7051 * server-src/amflush.pl: New amflush programthat use the perl module.
7052 * server-src/Makefile.am: Add amflush perl script.
7053 * server-src/amanda.psgi.pl: Register Amanda::JSON::Amflush::run.
7054
7055 2013-09-13 Jean-Louis Martineau <martineau@zmanda.com>
7056 * perl/Amanda/Amdump.pm: Add message code 2000002.
7057 * perl/Amanda/Config.swg: Add message code 1500002.
7058 * perl/Amanda/JSON/Amdump.pm: Use message code 2000002.
7059 * perl/Amanda/JSON/Config.pm: Use message code 1500002.
7060 * perl/Amanda/Message.pm: Fix documentation.
7061
7062 2013-09-13 Jean-Louis Martineau <martineau@zmanda.com>
7063 * perl/Amanda/Disklist.swg: Fix.
7064
7065 2013-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7066 * perl/Amanda/Cmdfile.swg: Fix.
7067
7068 2013-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7069 * perl/amglue/integers.swg: Add pid_t.
7070
7071 2013-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7072 * perl/Amanda/Holding.pm: Typo.
7073
7074 2013-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7075 * perl/Amanda/Disklist.swg (match_disklist, reset_disklist,
7076 add_holding_to_disklist): New methods.
7077 * perl/Amanda/Disklist.pod: Document them.
7078 * installcheck/Amanda_Disklist.pl: Create a debug file.
7079
7080 2013-09-12 Jean-Louis Martineau <martineau@zmanda.com>
7081 * server-src/cmdfile.c (add_cmd_in_memory,
7082 cmdfile_get_ids_for_holding): New functions.
7083 * server-src/cmdfile.h (add_cmd_in_memory,
7084 cmdfile_get_ids_for_holding): Prototype for new functions.
7085 * perl/Amanda/Cmdfile.swg: Perlify server-src/cmdfile.c
7086 * perl/Amanda/Cmdfile.pod: Document it.
7087 * perl/Makefile.am: Add Cmdfile module.
7088
7089 2013-09-11 Jean-Louis Martineau <martineau@zmanda.com>
7090 * server-src/amstatus.pl: Handle displayunit,
7091 add --detail, --summary --stats and --locale-independent-date-format,
7092 remove --dumping, --waitdumping, --waittaper, --dumpingtape,
7093 --writingtape, --finished, --failed, --estimate, --gestimate
7094 * perl/Amanda/Status.pm: Set $self->{'starttime-locale-independent'}
7095 * man/xml-source/amstatus.8.xml: Document them.
7096
7097 2013-09-11 Jean-Louis Martineau <martineau@zmanda.com>
7098 * perl/Amanda/Label.pm: Fix.
7099 * server-src/tapefile.c: Speedup parsing.
7100
7101 2013-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7102 * server-src/driver.c: Fix use of NULL pointer.
7103
7104 2013-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7105 * perl/Amanda/Amdump.pm: cleanup.
7106 * server-src/amanda.psgi.pl: Add Amanda::JSON::Amdump::run
7107 * server-src/amdump.pl: cleanup.
7108
7109 2013-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7110 * server-src/amfetchdump.pl: Fix previous patch.
7111
7112 2013-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7113 * perl/Amanda/JSON/Report.pm: Take a trace_log as argument.
7114 * perl/Amanda/JSON/Status.pm: Take a amdump_log as argument.
7115 * perl/Amanda/Message.pod: Amndmp use 200000 message code.
7116 * perl/Makefile.am: Add perl/Amanda/Amdump.pm and
7117 perl/Amanda/JSON/Amdump.pm
7118 * server-src/amdump.pl: Move all codes to a perl module.
7119 * perl/Amanda/Amdump.pm: New module for running a dump.
7120 * perl/Amanda/JSON/Amdump.pm: New JSON module for running a dump.
7121
7122 2013-09-05 Jean-Louis Martineau <martineau@zmanda.com>
7123 * server-src/amfetchdump.pl: Parse header without dle_str.
7124
7125 2013-09-04 Jean-Louis Martineau <martineau@zmanda.com>
7126 * perl/Amanda/Label.pm: Merge Label.pod.
7127 * perl/Amanda/Message.pm: Merge Message.pod.
7128 * perl/Amanda/Label.pod, perl/Amanda/Message.pod: Remove files.
7129 * perl/Makefile.am (EXTRA_DIST): Remove Label.pod and Message.pod.
7130
7131 2013-09-03 Jean-Louis Martineau <martineau@zmanda.com>
7132 * server-src/amvault.pl: Add the "ST:storage" in many taper log lines.
7133
7134 2013-08-30 Jean-Louis Martineau <martineau@zmanda.com>
7135 * device-src/s3-device.c: Remove double increment of count.
7136 * server-src/amcheck.c: Do not set pw which is never used.
7137 * server-src/find.c: Do not set dp which is never used.
7138
7139 2013-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7140 * server-src/amrmtape.pl, server-src/taper.pl: Remove useless
7141 debugging.
7142
7143 2013-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7144 * common-src/conffile.c: Fix STORAGE_DEVICE_OUTPUT_BUFFER_SIZE init.
7145 * device-src/xfer-dest-taper-splitter.c: Abort with better message if
7146 memory allocation fail.
7147 * server-src/amcheck.c: Check device-output-buffer-size is nmot larger
7148 than physical memory.
7149
7150 2013-08-28 Jean-Louis Martineau <martineau@zmanda.com>
7151 * perl/Amanda/Message.pm: Add a 'severity' to a message.
7152 * perl/Amanda/Message.pod: Document severity.
7153 * perl/Amanda/Tapelist.swg (new): Return an array of two elements,
7154 The first is the Amanda::Tapelist object, the second is a message.
7155 * server-src/amadmin_perl.pl, server-src/amtape.pl: Handle new return
7156 value of Amanda::Tapelist->new, continue if it is a warning
7157 severity.
7158 * perl/Amanda/DB/Catalog.pm, perl/Amanda/JSON/Tapelist.pm,
7159 perl/Amanda/Recovery/Planner.pm, perl/Amanda/Report/human.pm,
7160 perl/Amanda/Report/json.pm, server-src/amcheck-device.pl,
7161 server-src/amcheckdump.pl, server-src/amidxtaped.pl,
7162 server-src/amlabel.pl, server-src/amreport.pl,
7163 server-src/amrestore.pl, server-src/amrmtape.pl,
7164 server-src/amvault.pl, server-src/taper.pl: Handle new return
7165 value of Amanda::Tapelist->new, abort on any message.
7166 * installcheck/Amanda_Changer.pl, installcheck/Amanda_Logfile.pl,
7167 installcheck/Amanda_Recovery_Clerk.pl,
7168 installcheck/Amanda_Tapelist.pl, installcheck/Amanda_Taper_Scan.pl,
7169 installcheck/Amanda_Taper_Scan_lexical.pl,
7170 installcheck/Amanda_Taper_Scan_oldest.pl,
7171 installcheck/Amanda_Taper_Scan_traditional.pl,
7172 installcheck/amlabel.pl, installcheck/amrmtape.pl,
7173 installcheck/amtape.pl: Handle new return value of
7174 Amanda::Tapelist->new.
7175
7176 2013-08-27 Jean-Louis Martineau <martineau@zmanda.com>
7177 * perl/Amanda/Changer/robot.pm: Check error result from _get_state.
7178
7179 2013-08-26 Jean-Louis Martineau <martineau@zmanda.com>
7180 * xfer-src/element-glue.c (do_directtcp_connect): Do not free
7181 unallocated memory.
7182
7183 2013-08-23 Jean-Louis Martineau <martineau@zmanda.com>
7184 * server-src/amvault.pl: s/g_debug/debug/
7185
7186 2013-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7187 * server-src/amvault.pl: Print progress to debug file if not on a tty.
7188
7189 2013-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7190 * application-src/amsamba.pl: Add REGEX-MATCH property.
7191 * man/xml-source/amsamba.8.xml: Document REGEX-MATCH property.
7192
7193 2013-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7194 * server-src/amvault.pl: Print progress status.
7195
7196 2013-08-21 Jean-Louis Martineau <martineau@zmanda.com>
7197 * server-src/driver.c (start_some_dumps): Set dumper->job and
7198 wtaper->job for dup direct to tape.
7199
7200 2013-08-19 Jean-Louis Martineau <martineau@zmanda.com>
7201 * client-src/selfcheck.c: fix double free.
7202
7203 2013-08-14 Jean-Louis Martineau <martineau@zmanda.com>
7204 * device-src/tape-device.c: Fix for not supported platform.
7205
7206 2013-08-14 Jean-Louis Martineau <martineau@zmanda.com>
7207 * application-src/amgtar.c, client-src/client_util.c,
7208 client-src/selfcheck.c, client-src/sendbackup.c,
7209 client-src/sendsize.c, common-src/conffile.c,
7210 server-src/diskfile.c, server-src/driver.c,
7211 server-src/driverio.c: Fix memory leak.
7212
7213 2013-08-14 Jean-Louis Martineau <martineau@zmanda.com>
7214 * device-src/tape-device.c: Get in error state if the tape drive is in
7215 fixed block size and it is different than the tapetype size.
7216
7217 2013-08-12 Jean-Louis Martineau <martineau@zmanda.com>
7218 * server-src/amfetchdump.pl: Print applicationstdout to debug file and
7219 stderr.
7220
7221 2013-08-12 Jean-Louis Martineau <martineau@zmanda.com>
7222 * perl/Amanda/Process.pm: Be less scrict on perl binary name.
7223
7224 2013-08-09 Jean-Louis Martineau <martineau@zmanda.com>
7225 * server-src/cmdfile.c (cmdfile_write): Cast pid_t to int for printf.
7226
7227 2013-08-09 Jean-Louis Martineau <martineau@zmanda.com>
7228 * device-src/tape-device.c (tape_device_check_writable): Declare get
7229 conditionaly.
7230
7231 2013-08-09 Jean-Louis Martineau <martineau@zmanda.com>
7232 * application-src/amgtar.c, server-src/holding.c: Cast getpid() to int
7233 before printing it.
7234
7235 2013-08-09 Jean-Louis Martineau <martineau@zmanda.com>
7236 * server-src/holding.c: s/g_slist_free_full/slist_free_full/
7237
7238 2013-08-05 Jean-Louis Martineau <martineau@zmanda.com>
7239 * application-src/amgtar.c, common-src/conffile.c,
7240 perl/Amanda/Header.swg, perl/Amanda/Logfile.swg, server-src/dumper.c,
7241 server-src/find.c, server-src/holding.c,
7242 server-src/planner.c: Fix memory leak.
7243
7244 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7245 * server-src/amindexd.c: Initialize invalid_stotage to NULL.
7246
7247 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7248 * common-src/amfeatures.h: Add fe_amindexd_STORAGE.
7249 * common-src/amfeatures.c: Add fe_amindexd_STORAGE.
7250 * recover-src/amrecover.h (add_storage_value, set_storage): Add
7251 prototype.
7252 * recover-src/help.c: Add storage command.
7253 * recover-src/set_commands.c (add_storage_value, set_storage): New
7254 function.
7255 * recover-src/uparse.y: Parse storage command.
7256 * recover-src/uscan.l: Parse storage keyword,
7257 * server-src/amadmin.c (find): Add new 's' sort order for storage.
7258 * server-src/amidxtaped.pl: Fix filter issue.
7259 * server-src/amindexd.c: Accept STORAGE command from amrecover.
7260 * server-src/disk_history.c: Check storage.
7261 * server-src/find.c: Sort by storage.
7262 * server-src/find.h (DEFAULT_SORT_ORDER): Now "hkdlspbfw".
7263 * man/xml-source/amadmin.8.xml (find): Add new 's' sort order.
7264 * man/xml-source/amrecover.8.xml: Add new storage command.
7265
7266 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7267 * perl/Amanda/Changer/aggregate.pm: Small fix.
7268 * server-src/amadmin_perl.pl: Do not use XML::Simple.
7269
7270 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7271 * perl/Amanda/Disklist.swg: Fix perl warning.
7272 * perl/Amanda/Report.pm: Set the storage.
7273 * perl/Amanda/Report/human.pm: Fix perl warning.
7274 * perl/Amanda/Status.pm: Fix perl warning.
7275 * server-src/amstatus.pl: Fix perl warning.
7276 * installcheck/Amanda_Curinfo.pl: Fix perl warning.
7277 * installcheck/Amanda_Report.pl: Add the storage.
7278 * installcheck/catalogs/filesystemstaped.cat,
7279 installcheck/catalogs/multi-taper.cat.
7280 installcheck/catalogs/normal.cat: Add the storage in taper DONE.
7281
7282 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7283 * server-src/driver.c (handle_chunker_result): Remove dumper variable.
7284
7285 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7286 Add a job_t struct tolink dumper/chunker and taper.
7287 * server-src/driver.c: Use it.
7288 * server-src/driverio.c: Use it.
7289 * server-src/driverio.h: Define job_t.
7290
7291 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7292 * perl/Amanda/Changer.pm (show): fix.
7293 * perl/Amanda/Changer/robot.pm: Set slot on some error.
7294
7295 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7296 * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
7297 perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm,
7298 perl/Amanda/Changer/rait.pm, perl/Amanda/Changer/robot.pm,
7299 perl/Amanda/Changer/single.pm: info can return the slots list.
7300 * perl/Amanda/Changer.pm (show): Use the slot list returned by info.
7301
7302 2013-08-01 Jean-Louis Martineau <martineau@zmanda.com>
7303 * perl/Amanda/Status.pm: Some fix.
7304
7305 2013-07-31 Jean-Louis Martineau <martineau@zmanda.com>
7306 * perl/Amanda/Changer.pm: Set storage_name to "NO-STORAGE" if there is
7307 no storage.
7308 * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
7309 perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/robot.pm:
7310 Keep a current slot by config/storage/changer.
7311
7312 2013-07-31 Jean-Louis Martineau <martineau@zmanda.com>
7313 * perl/Amanda/Taper/Scribe.pm (set_dump_cb): New method.
7314 * perl/Amanda/Taper/Worker.pm: return FAILED if
7315 $self->{'xfer_source'}->get_addrs failed.
7316 * server-src/driver.c: Accept a FAILED immediately after a PORT-WRITE.
7317
7318 2013-07-30 Jean-Louis Martineau <martineau@zmanda.com>
7319 * server-src/amanda.psgi.pl: Add missing JSON method.
7320
7321 2013-07-30 Jean-Louis Martineau <martineau@zmanda.com>
7322 * perl/Amanda/Report/json.pm: Fix doc formating.
7323
7324 2013-07-30 Jean-Louis Martineau <martineau@zmanda.com>
7325 * perl/Amanda/JSON.pm: Add missing Amanda::JSON modules.
7326
7327 2013-07-30 Jean-Louis Martineau <martineau@zmanda.com>
7328 * perl/amglue/bigint.c (amglue_Sv*): Theses functions take a new err
7329 argument to be able to return error message.
7330 * perl/amglue/amglue.h (amglue_Sv*): Change prototypes.
7331 * perl/amglue/integers.swg: Add new amglue_Sv* argument and croak on
7332 error.
7333 * perl/Amanda/Device.swg (set_gvalue_from_sv): return FALSE if
7334 amglue_Sv* return an error.
7335 * perl/Amanda/NDMP.swg: Use new amglue_SvU64 err argument.
7336
7337 2013-07-29 Jean-Louis Martineau <martineau@zmanda.com>
7338 * perl/Amanda/JSON/Report.pm: add it.
7339
7340 2013-07-29 Jean-Louis Martineau <martineau@zmanda.com>
7341 * perl/Amanda/JSON/Device.pm, perl/Amanda/JSON/Dle.pm,
7342 perl/Amanda/JSON/Label.pm, perl/Amanda/JSON/Status.pm: Fix Copyright
7343 to 2013.
7344 * perl/Amanda/JSON/RPC/Dispatcher.pm: Use pretty json output.
7345 * perl/Amanda/JSON/Report.pm: New perl module.
7346 * perl/Amanda/Message.pod: Report use 190000 message code.
7347 * perl/Amanda/Report.pm: Add Amanda::Report::Message.
7348 * perl/Amanda/Report/human.pm: Use new
7349 Amanda::Tapelist::list_new_tapes output.
7350 * perl/Amanda/Report/json.pm: Document json format, add a
7351 generate_report method, jsonify the output_tapeinfo method.
7352 * perl/Amanda/Tapelist.swg: New binding for list_new_tapes.
7353 * perl/Makefile.am: Add Amanda/JSON/Report.pm
7354 * server-src/amadmin.c: Use new list_new_tapes output.
7355 * server-src/tapefile.c (list_new_tapes): Output an array of string.
7356 * server-src/tapefile.h: new prototype for list_new_tapes.
7357
7358 2013-07-29 Jean-Louis Martineau <martineau@zmanda.com>
7359 * perl/Amanda/Status.pm, server-src/amstatus.pl: Fix for perl 5.10
7360
7361 2013-07-29 Jean-Louis Martineau <martineau@zmanda.com>
7362 * server-src/amfetchdump.pl: Run application after filters.
7363
7364 2013-07-29 Jean-Louis Martineau <martineau@zmanda.com>
7365 * application-src/amsuntar.pl (command_estimate): Change order for
7366 reading the pipe. Fix perl warnings.
7367
7368 2013-07-25 Jean-Louis Martineau <martineau@zmanda.com>
7369 * server-src/amstatus.pl: Use Amanda::Status module
7370 * perl/Amanda/Status.pm: New perl module, rewrite of amstatus.
7371 * perl/Amanda/Config.swg: require Amanda::Config::FoldingHash.
7372 * perl/Amanda/Config/FoldingHash.pm: s/use/require/
7373 * perl/Amanda/JSON/RPC/Dispatcher.pm: Handle streaming reply.
7374 * perl/Amanda/JSON/Status.pm: New JSON perl module.
7375 * perl/Amanda/Message.pod: 1800000 Amanda::Status::Message
7376 * perl/Amanda/Taper/Protocol.pm: Add taper_name and storage on
7377 START-TAPER.
7378 * perl/Amanda/Taper/Worker.pm (new): Taper taper_name as argument.
7379 * perl/Amanda/Taper/Controller.pm: Add taper_name argument to
7380 Controller.
7381 * perl/Makefile.am: Add Amanda/Status.pm and Amanda/JSON/Status.pm
7382 * server-src/amanda.psgi.pl: Register Amanda::JSON::Status::current
7383 * server-src/amflush.c: Add storage in FLUSH line.
7384 * server-src/planner.c: Add storage in FLUSH line.
7385 * server-src/driver.c: Add more date in stdout file.
7386 * server-src/driverio.c: Add taper and storage in START-TAPER line.
7387 * installcheck/amstatus.pl: Fix for new amstatus output.
7388 * installcheck/catalogs/chunker-partial.cat,
7389 installcheck/catalogs/normal.cat,
7390 installcheck/catalogs/taper-parallel-write.cat,
7391 installcheck/catalogs/quoted.cat: Fix for new amdump.X format.
7392 * installcheck/taper.pl: Fx for new amdump.X format.
7393
7394 2013-07-18 Jean-Louis Martineau <martineau@zmanda.com>
7395 * device-src/s3.c: Undo previous patch.
7396 * device-src/s3-device.c: Verify the bucket can be used as a subdomain
7397 if S3-SUBDOMAIN is set.
7398
7399 2013-07-17 Jean-Louis Martineau <martineau@zmanda.com>
7400 * device-src/s3.c: lowercase the bucket for the auth_string.
7401
7402 2013-07-16 Jean-Louis Martineau <martineau@zmanda.com>
7403 * perl/Amanda/JSON/*: json server interface.
7404 * perl/Amanda/*: Add many functionnalities of the servewr program.
7405 Modified to return Amanda::Message
7406 * server-src/*: Mv functionalities to perl Modules.
7407 * installcheck/*: Change for modified interface.
7408
7409 2013-07-04 Jean-Louis Martineau <martineau@zmanda.com>
7410 * device-src/device.c: register types at initialization.
7411
7412 2013-07-03 Jean-Louis Martineau <martineau@zmanda.com>
7413 * server-src/planner.c: Remove from correct queue.
7414
7415 2013-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7416 * NEWS, ReleaseNotes: Changes in 3.3.4
7417
7418 2013-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7419 * server-src/dumper.c: Fix use of NULL dereference.
7420
7421 2013-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7422 * server-src/holding.c (holding_cleanup_dir): fclose pid_FILE.
7423
7424 2013-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7425 * server-src/holding.c: Fix.
7426
7427 2013-06-28 Jean-Louis Martineau <martineau@zmanda.com>
7428 * perl/Amanda/Changer/multi.pm: Keep a current_slot by config.
7429
7430 2013-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7431 * perl/Amanda/Changer/rait.pm: Fix perl warning.
7432
7433 2013-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7434 * perl/Amanda/Changer/rait.pm: Set barcode in a reservation.
7435
7436 2013-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7437 * perl/Amanda/Changer/rait.pm: Set chg in a reservation.
7438
7439 2013-06-27 Jean-Louis Martineau <martineau@zmanda.com>
7440 * config/amanda/progs.m4: Set LPRFLAG.
7441
7442 2013-06-26 Jean-Louis Martineau <martineau@zmanda.com>
7443 * server-src/amflush.c, server-src/planner.c: Call holding_cleanup.
7444 * server-src/holding.c: ignore tmp file, add pid file in holding disk
7445 to prevent parallel use.
7446
7447 2013-06-25 Jean-Louis Martineau <martineau@zmanda.com>
7448 * server-src/amreport.pl: Fix send-amreport-on.
7449
7450 2013-06-25 Jean-Louis Martineau <martineau@zmanda.com>
7451 * perl/Amanda/Changer/robot.pm: Always get a status initially.
7452
7453 2013-06-17 Jean-Louis Martineau <martineau@zmanda.com>
7454 * common-src/glib-util.c, device-src/s3-device.c, device-src/s3.c,
7455 ndmp-src/ndmpconnobj.h, perl/Amanda/Util.swg, server-src/amflush.c,
7456 server-src/driver.c, server-src/holding.c, server-src/tapefile.c:
7457 Fix memory leak.
7458
7459 2013-06-13 Jean-Louis Martineau <martineau@zmanda.com>
7460 * server-src/dumper.c: Fail with good error message if the
7461 dataport-list is empty.
7462
7463 2013-06-13 Jean-Louis Martineau <martineau@zmanda.com>
7464 * perl/Amanda/Changer/ndmp.pm: s/destiation/destination/
7465 * perl/Amanda/Changer/robot.pm: (eject) Return an error if the drive
7466 is empty.
7467
7468 2013-06-13 Jean-Louis Martineau <martineau@zmanda.com>
7469 * xfer-src/filter-process.c (xfer_filter_process): Add must_drain,
7470 cancel_on_success and ignore_broken_pipe flag).
7471 * xfer-src/filter-process.c (child_watch_callback): Send XMSG_INFO.
7472 * xfer-src/xfer-element.c: Initialize new flags.
7473 * xfer-src/xfer-element.h (XferElement): Add must_drain, drain_mode,
7474 cancel_on_success and ignore_broken_pipe.
7475 * xfer-src/element-glue.c: Handle new flags.
7476 * perl/Amanda/Xfer.swg (xfer_filter_process): Add new flags.
7477 * installcheck/Amanda_Xfer.pl: Test new flags.
7478 * server-src/amcheckdump.pl: Use new flags.
7479 * server-src/amfetchdump.pl: Use new flags.
7480 * server-src/amidxtaped.pl: Use new flags.
7481 * server-src/amrestore.pl: Use new flags.
7482
7483 2013-06-12 Jean-Louis Martineau <martineau@zmanda.com>
7484 * common-src/conffile.c: Global changerfile is deprecated.
7485 * device-src/vfs-device.c: Add USE-DATA property.
7486 * device-src/vfs-device.h (VfsDevice): Add use_data.
7487 * man/xml-source/amanda-devices.7.xml: Document USE-DATA property.
7488 * man/xml-source/amanda.conf.5.xml: Global changerfile is deprecated.
7489 * perl/Amanda/Changer.pm: Do not set changerfile from global.
7490 * perl/Amanda/Changer/disk.pm: Do not create symlink.
7491 * perl/Amanda/Changer/multi.pm: Use global changerfile.
7492 * installcheck/Amanda_Changer_disk.pl,
7493 * installcheck/Amanda_Changer_multi.pl,
7494 * installcheck/Amanda_Changer_rait.pl,
7495 * installcheck/Amanda_Taper_Scan_traditional.pl,
7496 * installcheck/amdevcheck.pl: Fixes for changes.
7497
7498 2013-06-12 Jean-Louis Martineau <martineau@zmanda.com>
7499 * device-src/s3.c: Call
7500 curl_easy_setopt(hdl->curl, CURLOPT_NOSIGNAL, TRUE)))
7501
7502 2013-06-11 Jean-Louis Martineau <martineau@zmanda.com>
7503 * device-src/s3-device.c: Do not save catalog if not label or header.
7504 * perl/Amanda/Changer/multi.pm (reset): Remove th slots hash.
7505
7506 2013-06-11 Jean-Louis Martineau <martineau@zmanda.com>
7507 * common-src/glib-util.c: Undo previous patch, debugging is not
7508 yet enabled.
7509 * device-src/s3-device.c: Do it here.
7510
7511 2013-06-11 Jean-Louis Martineau <martineau@zmanda.com>
7512 * common-src/glib-util.c: Print to debug the ssl version amanda is
7513 compiled for.
7514
7515 2013-06-11 Jean-Louis Martineau <martineau@zmanda.com>
7516 * installcheck/catalogs/*.cat: Fix for previous change.
7517
7518 2013-06-10 Jean-Louis Martineau <martineau@zmanda.com>
7519 * perl/Amanda/Report/human.pm: Center 'DUMPER STATS'.
7520
7521 2013-06-07 Jean-Louis Martineau <martineau@zmanda.com>
7522 * server-src/find.c: Do not enqueue_disk, add_disk already do it.
7523
7524 2013-06-07 Jean-Louis Martineau <martineau@zmanda.com>
7525 * server-src/driver.c: Degraded dles only for degraded storage.
7526 * server-src/driverio.c: Set default degraded_mode.
7527 * server-src/driverio.h (taper_t): Add degraded_mode.
7528
7529 2013-06-06 Jean-Louis Martineau <martineau@zmanda.com>
7530 * device-src/ndmp-device.c, device-src/null-device.c,
7531 device-src/rait-device.c, device-src/s3-device.c,
7532 device-src/tape-device.c, device-src/vfs-device.c
7533 (*device__finish_file): Set in_file even when already on error.
7534 * device-src/xfer-dest-taper-directtcp.c: Always call
7535 device_finish_file().
7536
7537 2013-06-05 Jean-Louis Martineau <martineau@zmanda.com>
7538 * perl/Amanda/Changer.pm (make_new_tape_label): Return a not_fatal bit
7539 for some error.
7540 * perl/Amanda/ScanInventory.pm: Continue the scan on not_fatal
7541 make_new_tape_label error.
7542
7543 2013-06-05 Jean-Louis Martineau <martineau@zmanda.com>
7544 * server-src/amrmtape.pl: Use the itapelist pool to find the storage
7545 if the storage is not in the tapelist.
7546
7547 2013-06-05 Jean-Louis Martineau <martineau@zmanda.com>
7548 * installcheck/Amanda_Taper_Scan_lexical.pl,
7549 installcheck/Amanda_Taper_Scan_oldest.pl,
7550 installcheck/Amanda_Taper_Scan_traditional.pl: Quit the storage.
7551 * perl/Amanda/Report/human.pm: Fix perl warning.
7552 * perl/Amanda/Storage.pm: Do not create the storage on failure.
7553 * perl/Amanda/Taper/Controller.pm: Keep the storage, quit the storage.
7554 * perl/Amanda/Taper/Worker.pm: Use controller's storage.
7555 * server-src/amcheck-device.pl, server-src/amidxtaped.pl,
7556 server-src/amlabel.pl, server-src/amrmtape.pl,
7557 server-src/amtape.pl, server-src/amvault.pl: Quit the Storage.
7558
7559 2013-06-05 Jean-Louis Martineau <martineau@zmanda.com>
7560 * common-src/conffile.c: Add ERASE_ON_FAILURE storage setting.
7561 * common-src/conffile.h: Add STORAGE_ERASE_ON_FAILURE.
7562 * man/xml-source/amanda.conf.5.xml: add erase-on-failure.
7563 * perl/Amanda/Config.swg: Add STORAGE_ERASE_ON_FAILURE.
7564 * perl/Amanda/Report.pm: Parse new taper line, add storage in %part.
7565 * perl/Amanda/Report/human.pm: Take care of storage.
7566 * perl/Amanda/Storage.pm: Set erase_on_failure.
7567 * perl/Amanda/Taper/Scribe.pm: Erase a volume if nothing good written
7568 to it.
7569 * perl/Amanda/Util.swg (marshal_tapespec): Fix storage.
7570 * server-src/driver.c: Fix to not do two flush in parallel.
7571 * server-src/driverio.c: Add comment.
7572 * installcheck/Amanda_Report.pl: Fix for new report format.
7573
7574 2013-06-03 Jean-Louis Martineau <martineau@zmanda.com>
7575 * server-src/diskfile.c (unload_disklist): New function.
7576 * server-src/diskfile.h (unload_disklist): New prototype.
7577 * perl/Amanda/Disklist.swg: swig unload_disklist.
7578 * server-src/amadmin.c, server-src/amtrmidx.c,
7579 server-src/amtrmlog.c: Call unload_disklist().
7580 * installcheck/Amanda_Disklist.pl: Test unload_disklist.
7581
7582 2013-05-31 Jean-Louis Martineau <martineau@zmanda.com>
7583 * device-src/s3-device.c: Add TIMEOUT property.
7584 * device-src/s3.c: Set CURLOPT_TIMEOUT with timeout value.
7585 * device-src/s3.h (s3_open): Add timeout argument.
7586 * man/xml-source/amanda-devices.7.xml: Add TIMEOUT property.
7587
7588 2013-05-30 Jean-Louis Martineau <martineau@zmanda.com>
7589 * application-src/ampgsql.pl: Add --dereference to all gtar command.
7590
7591 2013-05-29 Jean-Louis Martineau <martineau@zmanda.com>
7592 * common-src/tapelist.c: Do not use g_strcmp0.
7593
7594 2013-05-29 Jean-Louis Martineau <martineau@zmanda.com>
7595 * installcheck/Amanda_Util.pl, installcheck/amidxtaped.pl: Fix.
7596
7597 2013-05-29 Jean-Louis Martineau <martineau@zmanda.com>
7598 * common-src/amfeatures.h: Add fe_amrecover_storage_in_marshall and
7599 fe_amrecover_storage_in_marshall amfeatures.
7600 * common-src/amfeatures.c: Add fe_amrecover_storage_in_marshall and
7601 fe_amrecover_storage_in_marshall amfeatures.
7602 * common-src/tapelist.h (tapelist_t): Add storage.
7603 * common-src/tapelist.h: Many prototy change for storage.
7604 * common-src/tapelist.c: Marshall and unmarshall storage.
7605 * oldrecover-src/extract_list.c: Handle storage in marshall list.
7606 * recover-src/extract_list.c: Handle storage in marshall list.
7607 * perl/Amanda/Chunker/Scribe.pm: Typo.
7608 * perl/Amanda/DB/Catalog.pm: handle storage.
7609 * perl/Amanda/Logfile.swg (find_result_t): Add storage.
7610 * perl/Amanda/Recovery/Planner.pm (make_plan): Add storage_list,
7611 all_copy and only_in_storage parameters.
7612 * perl/Amanda/Recovery/Scan.pm: Handle Storage in log line.
7613 * perl/Amanda/Report.pm: Handle Storage in log lines.
7614 * perl/Amanda/Storage.pm: Add DESTROY method.
7615 * perl/Amanda/Taper/Scribe.pm: Typo.
7616 * perl/Amanda/Taper/Worker.pm: Add Storage to log lines.
7617 * perl/Amanda/Util.swg (marshal_tapespec, unmarshal_tapespec): Handle
7618 storage, new with_storage argument.
7619 * server-src/amcheckdump.pl: Check the dumps on all storages.
7620 * server-src/amfetchdump.pl: Fetch from the specified storage.
7621 * server-src/amidxtaped.pl: Fetch from the specified storage.
7622 * server-src/amindexd.c: Send storage to amrecover.
7623 * server-src/disk_history.h (DUMP_ITEM): Add storage.
7624 * server-src/disk_history.c: Handle storage.
7625 * server-src/find.c: Return storage, print storage.
7626 * server-src/find.h (find_result_t): Add storage and storage_id.
7627 * installcheck/Amanda_DB_Catalog.pl,
7628 installcheck/Amanda_Recovery_Planner.pl,
7629 installcheck/Amanda_Report.pl,
7630 installcheck/Amanda_Util.pl,
7631 installcheck/Installcheck/Catalogs.pm,
7632 installcheck/amidxtaped.pl,
7633 installcheck/catalogs/amflush.cat,
7634 installcheck/catalogs/bigdb.cat,
7635 installcheck/catalogs/bigestimate.cat,
7636 installcheck/catalogs/doublefailure.cat,
7637 installcheck/catalogs/filesystemstaped.cat,
7638 installcheck/catalogs/flush-noorigsize.cat,
7639 installcheck/catalogs/flush-origsize.cat,
7640 installcheck/catalogs/longstrange.cat,
7641 installcheck/catalogs/multi-taper.cat,
7642 installcheck/catalogs/normal.cat,
7643 installcheck/catalogs/resultsmissing.cat,
7644 installcheck/catalogs/retried-nofinish.cat,
7645 installcheck/catalogs/retried-strange.cat,
7646 installcheck/catalogs/retried.cat,
7647 installcheck/catalogs/shortstrange.cat,
7648 installcheck/catalogs/skipped.cat,
7649 installcheck/catalogs/spanned.cat,
7650 installcheck/catalogs/strontium.cat,
7651 installcheck/taper.pl: Change for new log format and API.
7652
7653 2013-05-24 Jean-Louis Martineau <martineau@zmanda.com>
7654 * server-src/driver.c (start_some_dumps): Fix when multiple storage in
7655 use.
7656
7657 2013-05-23 Jean-Louis Martineau <martineau@zmanda.com>
7658 * ndmp-src/ndmpconnobj.c: Fix SU_SET_PORT argument.
7659
7660 2013-05-22 Jean-Louis Martineau <martineau@zmanda.com>
7661 * application-src/ampgsql.pl: Parse psql version with four numbers.
7662
7663 2013-05-21 Jean-Louis Martineau <martineau@zmanda.com>
7664 * installcheck/gnutar.pl: Fix for fc18.
7665
7666 2013-05-21 Jean-Louis Martineau <martineau@zmanda.com>
7667 * device-src/ndmp-device.c: Parse the LEOM property.
7668
7669 2013-05-17 Jean-Louis Martineau <martineau@zmanda.com>
7670 * perl/Amanda/Changer/ndmp.pm (get_device): Return the
7671 Amanda::Changer::Error on error.
7672
7673 2013-05-17 Jean-Louis Martineau <martineau@zmanda.com>
7674 * device-src/s3.c (s3_make_bucket): Init add_create to FALSE.
7675
7676 2013-05-17 Jean-Louis Martineau <martineau@zmanda.com>
7677 * server-src/amrmtape.pl: Try to locate the label in all storage if
7678 the storage is not in the tapelist.
7679
7680 2013-05-17 Jean-Louis Martineau <martineau@zmanda.com>
7681 * device-src/s3-device.c: Do not abort partial upload if
7682 multi-part-upload is not set.
7683 * device-src/s3.c: Handle DURABLE_REDUCED_AVAILABILITY for OAUTH2.
7684 * man/xml-source/amanda-devices.7.xml: Document
7685 DURABLE_REDUCED_AVAILABILITY for google storage.
7686
7687 2013-05-16 Jean-Louis Martineau <martineau@zmanda.com>
7688 * server-src/amidxtaped.pl: untaint input variable.
7689
7690 2013-05-16 Jean-Louis Martineau <martineau@zmanda.com>
7691 * application-src/ampgsql.pl: Add a VERBOSE property.
7692 * man/xml-source/ampgsql.8.xml: Document VERBOSE property.
7693
7694 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7695 * config/amanda/ps.m4: use one AC_MSG_RESULT.
7696
7697 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7698 * config/amanda/json.m4: Improve check for perl module.
7699
7700 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7701 * xfer-src/element-glue.c: Add debugging statement.
7702
7703 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7704 * perl/Amanda/Taper/Scribe.pm: Do not confess if device not available.
7705 * perl/Amanda/Taper/Worker.pm: Fix device_errors.
7706
7707 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7708 * server-src/dumper.c: Fix data_host memory handling.
7709
7710 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7711 * server-src/tapefile.c: Memory leak.
7712
7713 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7714 * server-src/cmdfile.c: Memory leak.
7715
7716 2013-05-15 Jean-Louis Martineau <martineau@zmanda.com>
7717 * man/xml-source/ampgsql.8.xml: Add disklist example.
7718
7719 2013-05-13 Jean-Louis Martineau <martineau@zmanda.com>
7720 * application-src/amsuntar.pl: Remove perl warning.
7721
7722 2013-05-13 Jean-Louis Martineau <martineau@zmanda.com>
7723 * amandad-src/amandad.c: Check return value of system calls.
7724 * oldrecover-src/extract_list.c: Check return value of system calls.
7725 * oldrecover-src/amrecover.c: Call dbrename after config is set.
7726
7727 2013-05-13 Jean-Louis Martineau <martineau@zmanda.com>
7728 * gnulib/*, config/gnulib/*: upgrade gnulib to
7729 3fe906e98202a591a6a14010aec1538adfd821b6.
7730
7731 2013-05-08 Jean-Louis Martineau <martineau@zmanda.com>
7732 * man/xml-source/amanda.conf.5.xml: Add that both flush-threshold-dumped
7733 and flush-threshold-scheduled must be met.
7734
7735 2013-05-08 Jean-Louis Martineau <martineau@zmanda.com>
7736 * perl/Amanda/Recovery/Planner.pm (make_plan): Handle latest_fulls.
7737 * server-src/amvault.pl: Add --latest-fulls option, pass latest_fulls
7738 to Amanda::Recovery::Planner::make_plan().
7739 * man/xml-source/amvault.8.xml: Document --latest-fulls option.
7740
7741 2013-05-07 Jean-Louis Martineau <martineau@zmanda.com>
7742 * man/xml-source/ampgsql.8.xml: Add an example.
7743
7744 2013-05-06 Jean-Louis Martineau <martineau@zmanda.com>
7745 * server-src/amcheck.c: Cleanup.
7746
7747 2013-04-29 Jean-Louis Martineau <martineau@zmanda.com>
7748 * perl/Amanda/Config.swg (val_t_to_sv): Do not set tag if not set.
7749 * installcheck/Amanda_Config.pl: Fix for tag not set instead of undef.
7750
7751 2013-04-29 Jean-Louis Martineau <martineau@zmanda.com>
7752 * config/automake/scripts.am: Add SCRIPTS_PERL_NO_CHECK
7753 * config/amanda/json.m4: Define AMANDA_JSON_SERVER. Add --with-json-server, check for json-server
7754 and check perl module rependencies.
7755 * config/amanda/components.m4: Invoke AMANDA_JSON_SERVER
7756 * perl/Makefile.am: Check json server module conditionally.
7757 * server-src/Makefile.am: Check amanda.psgi conditionally.
7758 * perl/Amanda/JSON/RPC/Dispatcher.pm,
7759 perl/Amanda/JSON/RPC/Dispatcher/App.pm,
7760 perl/Amanda/JSON/RPC/Dispatcher/Procedure.pm,
7761 server-src/amanda.psgi.pl: Undo previous patches.
7762
7763 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7764 * perl/Amanda/JSON/RPC/Dispatcher/Procedure.pm: Do not require Moose.
7765
7766 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7767 * perl/Amanda/JSON/RPC/Dispatcher.pm: Do not require Moose.
7768
7769 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7770 * server-src/amanda.psgi.pl: Do not require Dispacher.pm
7771
7772 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7773 * device-src/s3.c: CURLE_SSL_CACERT_BADFILE is not defined on older
7774 curl.
7775
7776 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7777 * perl/Amanda/JSON/RPC/Dispatcher.pm: Do not require Log::Any.
7778 * perl/Amanda/JSON/RPC/Dispatcher/App.pm: Do not require Dispatcher.pm.
7779
7780 2013-04-26 Jean-Louis Martineau <martineau@zmanda.com>
7781 * perl/Amanda/JSON/RPC/Dispatcher.pm: Do not require Plack::Request
7782 at compile time.
7783
7784 2013-04-25 Jean-Louis Martineau <martineau@zmanda.com>
7785 * device-src/s3.c: Retry on CURLE_SSL_CACERT_BADFILE.
7786
7787 2013-04-25 Jean-Louis Martineau <martineau@zmanda.com>
7788 * perl/Amanda/JSON/Config.pm, perl/Amanda/JSON/Changer.pm: Remove
7789 dependency of Digest/SHA1.
7790
7791 2013-04-24 Jean-Louis Martineau <martineau@zmanda.com>
7792 * server-src/amvault.pl: Add --incrs-only argument.
7793 * man/xml-source/amvault.8.xml: Document --incrs-only argument.
7794
7795 2013-04-23 Jean-Louis Martineau <martineau@zmanda.com>
7796 * amandad-src/amandad.c: Do not hopelessly wait 5 seconds if waitpid
7797 return -1.
7798
7799 2013-04-19 Jean-Louis Martineau <martineau@zmanda.com>
7800 * server-src/amvault.pl: Use DLE allow-split and device LEOM property.
7801
7802 2013-04-18 Jean-Louis Martineau <martineau@zmanda.com>
7803 * common-src/conffile.c: Fix parsing command overwrite with '-'.
7804 Fix small --print-source bug.
7805
7806 2013-04-15 Jean-Louis Martineau <martineau@zmanda.com>
7807 * server-src/amdump.pl: Keep amflush as a relative symlink.
7808 * server-src/logfile.c: Keep log as a relative symlink.
7809
7810 2013-04-13 Dan Locks <dwlocks@zmanda.com>
7811 * packaging/sun-pkg/buildpkg: remove "use warnings" for solaris 8 compatibility
7812
7813 2013-04-12 Jean-Louis Martineau <martineau@zmanda.com>
7814 * man/xml-source/amanda.conf.5.xml: Document many storage setting.
7815
7816 2013-04-12 Jean-Louis Martineau <martineau@zmanda.com>
7817 * installcheck/Amanda_Config.pl: Add append keyword for dump-selection check.
7818
7819 2013-04-12 Jean-Louis Martineau <martineau@zmanda.com>
7820 * common-src/conffile.c: Add APPEND keyword to tag and dump-selection.
7821 * man/xml-source/amanda.conf.5.xml: Document tag and dump-selection.
7822
7823 2013-04-12 Jean-Louis Martineau <martineau@zmanda.com>
7824 * common-src/conffile.c: Parse erase-volume in a storage.
7825 * common-src/conffile.h: Add STORAGE_ERASE_VOLUME.
7826 * man/xml-source/amanda.conf.5.xml: Document erase-volume.
7827 * perl/Amanda/Config.swg: Add STORAGE_ERASE_VOLUME.
7828 * perl/Amanda/Changer.pm: Fix warning when meta not set.
7829 * perl/Amanda/IPC/LineProtocol.pm:Allow delayed start of reading.
7830 * perl/Amanda/Storage.pm: New erase_no_retention method.
7831 * perl/Amanda/Taper/Controller.pm: Call $storage->erase_no_retention().
7832 * perl/Amanda/Taper/Scan.pm: Use Debug qw( debug ).
7833 * server-src/amrmtape.pl: hanlde multiple storage.
7834
7835 2013-04-12 Jean-Louis Martineau <martineau@zmanda.com>
7836 * server-src/amadmin.c: Add force-level-1 command.
7837 * man/xml-source/amadmin.8.xml: Document force-level-1 command.
7838 * server-src/infofile.h: Add FORCE_LEVEL_1.
7839 * server-src/planner.c: Handle FORCE_LEVEL_1.
7840
7841 2013-04-11 Jean-Louis Martineau <martineau@zmanda.com>
7842 * common-src/conffile.c, common-src/conffile.h: Add tag in dumptype
7843 and dump-selection in storage.
7844 * perl/Amanda/Config.swg: Add new configuration setting.
7845 * installcheck/Amanda_Config.pl: Check parsing dump-selection.
7846 * server-src/diskfile.h: Add tags to disk_t.
7847 * server-src/diskfile.c: set disk_t->tags.
7848 * server-src/driver.c: Use tags and dump-selection.
7849 * perl/Amanda/Storage.pm: Set $self->{'dump_selection'}.
7850
7851 2013-04-09 Jean-Louis Martineau <martineau@zmanda.com>
7852 * perl/Amanda/Taper/Scribe.pm: Add await_device method and handle
7853 cancelling a dump before the device is set.
7854 * perl/Amanda/Taper/Worker.pm: Call scribe wait_device before starting
7855 the dump.
7856
7857 2013-04-09 Jean-Louis Martineau <martineau@zmanda.com>
7858 * ndmp-src/Makefile.am: Fix for solaris sed.
7859 * packaging/sun-pkg/buildpkg: Do not run rpcgen, just remove the file
7860 and let make do it.
7861
7862 2013-04-08 Jean-Louis Martineau <martineau@zmanda.com>
7863 * server-src/planner.c: Declare flush_ptr locally.
7864
7865 2013-04-08 Jean-Louis Martineau <martineau@zmanda.com>
7866 * server-src/amflush.c
7867 server-src/planner.c: NULL terminate the flush_ptr array.
7868
7869 2013-04-08 Jean-Louis Martineau <martineau@zmanda.com>
7870 * common-src/conffile.c,
7871 common-src/conffile.h: Change val_t.size to be a size_t.
7872
7873 2013-04-08 Jean-Louis Martineau <martineau@zmanda.com>
7874 * client-src/sendbackup.c, common-src/amutil.c,
7875 common-src/amutil.h, device-src/xfer-dest-taper-cacher.c,
7876 device-src/xfer-dest-taper-splitter.c,
7877 device-src/xfer-source-recovery.c, recover-src/extract_list.c,
7878 server-src/dumper.c, server-src/xfer-dest-holding.c,
7879 server-src/xfer-source-holding.c, xfer-src/dest-null.c,
7880 xfer-src/element-glue.c,
7881 xfer-src/filter-crc.c: Rename crc32 to crc32_add.
7882
7883 2013-04-05 Jean-Louis Martineau <martineau@zmanda.com>
7884 * common-src/glib-util.c: Use g_list_alloc.
7885
7886 2013-04-05 Jean-Louis Martineau <martineau@zmanda.com>
7887 * server-src/amflush.c, server-src/cmdfile.c,
7888 server-src/planner.c: Do not use g_ptr_array_new_full.
7889
7890 2013-03-28 Jean-Louis Martineau <martineau@zmanda.com>
7891 * common-src/conffile.c: Add set-no-reuse in the storage.
7892 * common-src/conffile.h: Add STORAGE_SET_NO_REUSE and
7893 storage_get_set_no_reuse.
7894 * perl/Amanda/Config.swg: Add STORAGE_SET_NO_REUSE.
7895 * perl/Amanda/Storage.pm: Set $self->{'set_no_reuse'}.
7896 * perl/Amanda/Taper/Scribe.pm: Mark the tape as no-reuse and call the
7897 changer no_reuse method if set-no-reuse is set in the storage.
7898
7899 2013-03-28 Jean-Louis Martineau <martineau@zmanda.com>
7900 * device-src/s3-device.c: Print the curl version to the debug file.
7901 * common-src/conffile.c, server-src/amcheck.c,
7902 server-src/cmdfile.c, server-src/diskfile.c,
7903 server-src/driver.c: Fix bug found by coverity.
7904
7905 2013-03-27 Jean-Louis Martineau <martineau@zmanda.com>
7906 * Many files: Add eject-volume, device-output-buffer-size,
7907 autoflush, flush-threshold-dumped, flush-threshold-scheduled,
7908 taperflush, report-use-media, report-next-media and interactivity to
7909 the storage section.
7910 * perl/Amanda/Taper/Worker.pm: Add the storage name to the START
7911 log line.
7912
7913 2013-03-25 Jean-Louis Martineau <martineau@zmanda.com>
7914 * server-src/cmdfile.c, server-src/cmdfile.h: Add files.
7915
7916 2013-03-25 Jean-Louis Martineau <martineau@zmanda.com>
7917 * NEWS, common-src/amflock.c, common-src/conffile.c,
7918 * common-src/conffile.h, common-src/glib-util.c,
7919 * common-src/glib-util.h, common-src/match.c,
7920 * installcheck/Amanda_Changer.pl, installcheck/Amanda_Taper_Scan.pl,
7921 * installcheck/Installcheck/Dumpcache.pm
7922 * installcheck/amcheck-device.pl, installcheck/amcheckdump.pl
7923 * installcheck/amreport.pl, installcheck/amrmtape.pl,
7924 * installcheck/catalogs/chunker-partial.cat,
7925 * installcheck/catalogs/normal.cat, installcheck/catalogs/quoted.cat,
7926 * installcheck/catalogs/taper-parallel-write.cat,
7927 * installcheck/taper.pl, perl/Amanda/Config.swg,
7928 * perl/Amanda/Disklist.swg, perl/Amanda/Report.pm,
7929 * perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm,
7930 * perl/Amanda/Storage.pm, perl/Amanda/Tapelist.swg,
7931 * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
7932 * perl/Amanda/Taper/Worker.pm, server-src/Makefile.am,
7933 * server-src/amadmin.c, server-src/amcheck-device.pl,
7934 * server-src/amcheck.c, server-src/amflush.c,
7935 * server-src/amindexd.c, server-src/amreport.pl,
7936 * server-src/amstatus.pl, server-src/amtrmidx.c,
7937 * server-src/cmdfile.c, server-src/cmdfile.h,
7938 * server-src/diskfile.c, server-src/diskfile.h,
7939 * server-src/driver.c, server-src/driverio.c,
7940 * server-src/driverio.h, server-src/planner.c,
7941 * server-src/server_util.c, server-src/server_util.h,
7942 * server-src/tapefile.c, server-src/tapefile.h,
7943 * server-src/taper.pl: Set multiple storage.
7944 Use a 'command_file' in the config directory to keep track of what
7945 must be done.
7946
7947
7948 2013-03-21 Jean-Louis Martineau <martineau@zmanda.com>
7949 * server-src/amadmin_perl.pl: Add pool, storage and config arguments
7950 to the add_tapelabel method.
7951
7952 2013-03-19 Jean-Louis Martineau <martineau@zmanda.com>
7953 * perl/Amanda/Changer.pm: Improve error message,
7954 * perl/Amanda/Config.swg, perl/Amanda/Util.swg: EXTEND stack when
7955 returning an array.
7956
7957 2013-03-18 Jean-Louis Martineau <martineau@zmanda.com>
7958 * common-src/glib-util.c: Checkrunning version of glib instaed of
7959 compiled version.
7960
7961 2013-03-13 Jean-Louis Martineau <martineau@zmanda.com>
7962 * perl/Amanda/Report/human.pm: typo.
7963
7964 2013-03-13 Jean-Louis Martineau <martineau@zmanda.com>
7965 * server-src/amstatus.pl: Parse CRC in amdump file.
7966
7967 2013-03-08 Jean-Louis Martineau <martineau@zmanda.com>
7968 * installcheck/taper.pl: PARTIAL reply can compute the CRC from
7969 varying size.
7970
7971 2013-03-07 Jean-Louis Martineau <martineau@zmanda.com>
7972 * installcheck/taper.pl: PARTIAL reply can compute the CRC from
7973 varying size.
7974
7975 2013-03-06 Jean-Louis Martineau <martineau@zmanda.com>
7976 * common-src/amutil.c: Renamed from common-src/util.c
7977 * common-src/amutil.h: Renamed from common-src/util.h
7978 To avoid conflich with perl util.h
7979 * *.*: #include "amutil.h"
7980
7981 2013-03-06 Jean-Louis Martineau <martineau@zmanda.com>
7982 * perl/Amanda/Storage.pm: Add file.
7983 * perl/Amanda/Policy.pm: Add file.
7984
7985 2013-03-06 Jean-Louis Martineau <martineau@zmanda.com>
7986 * Too many files to list them.
7987 * tape pool
7988 label are assigned to a tape pool,
7989 the 'labelstr' is used only for tape that are not in a pool.
7990 * retention policies
7991 amanda will never rewrite a tape if it is required to satisfy a
7992 retention policies.
7993 * storage, include many global setting.
7994 * tapelist file: include POOL, STORAGE and CONFIG.
7995
7996 2013-03-06 Jean-Louis Martineau <martineau@zmanda.com>
7997 * common-src/amanda.h: Remove the debug variable.
7998 * common-src/util.c: Use maxint_t to parse the crc size.
7999
8000 2013-03-05 Jean-Louis Martineau <martineau@zmanda.com>
8001 * ndmp-src/ndmjob_job.c: Call jndex_merge_environment() after reading
8002 the index file.
8003
8004 2013-03-05 Jean-Louis Martineau <martineau@zmanda.com>
8005 * device-src/device.c: Add the device_sync_catalog function.
8006 * device-src/device.h: Add prototype for the sync_catalog function.
8007 * device-src/property.c: Add global properties
8008 * device-src/property.h: Add global properties
8009 * device-src/s3-device.c: Remove local properties.
8010 * device-src/xfer-dest-taper-splitter.c: indentation fix.
8011 * perl/Amanda/Changer.pm: Add the sync_catalog method.
8012 * perl/Amanda/Changer/multi.pm:Add the sync_catalog method.
8013 * perl/Amanda/Device.swg: Add the sync_catalog method.
8014 * server-src/amrmtape.pl: Do not die if erase() fail.
8015 * server-src/amtape.pl: Add the sync-catalog subcommand.
8016 * man/xml-source/amtape.8.xml: Document the sync-catalog subcommand.
8017
8018 2013-03-04 Jean-Louis Martineau <martineau@zmanda.com>
8019 * installcheck/taper.pl: PARTIAL reply can compute the CRC from
8020 varying size.
8021
8022 2013-02-26 Jean-Louis Martineau <martineau@zmanda.com>
8023 * perl/Amanda/ScanInventory.pm: Remove leading and trailing space in
8024 message from interactivity module. Use $self->{'chg'} instead of
8025 $self->{'changer'},
8026 * perl/Amanda/Taper/Scribe.pm: Fix perl warning.
8027
8028 2013-02-25 Jean-Louis Martineau <martineau@zmanda.com>
8029 * perl/Amanda/Changer/single.pm: Keep an inventory.
8030 * perl/Amanda/Interactivity/email.pm: Some fix.
8031 * perl/Amanda/Recovery/Scan.pm: Update the changer if required.
8032 * perl/Amanda/ScanInventory.pm: Update the changer if required.
8033 * installcheck/Amanda_Changer_single.pl: Test changes.
8034 * installcheck/Amanda_Recovery_Scan.pl: Test changes.
8035
8036 2013-02-25 Jean-Louis Martineau <martineau@zmanda.com>
8037 * server-src/diskfile.c: Do not empties what is al;ready read when
8038 doing an includefile in the disklist.
8039
8040 2013-02-22 Jean-Louis Martineau <martineau@zmanda.com>
8041 * device-src/tape-device.c: Do not retry if !self->leom.
8042 * perl/Amanda/Taper/Protocol.pm: PARTIAL reply include de server-crc.
8043
8044 2013-02-22 Jean-Louis Martineau <martineau@zmanda.com>
8045 * server-src/logfile.c (make_logname): Fix race.
8046
8047 2013-02-22 Jean-Louis Martineau <martineau@zmanda.com>
8048 * client-src/sendbackup.c: close(compout).
8049
8050 2013-02-22 Jean-Louis Martineau <martineau@zmanda.com>
8051 * client-src/sendbackup.c: Add debugging statement.
8052 * common-src/sockaddr-util.c (str_sockaddr_r, str_sockaddr_no_port_r):
8053 New thread safe function.
8054 * common-src/sockaddr-util.h (str_sockaddr_r, str_sockaddr_no_port_r):
8055 New prototype.
8056 * server-src/dumper.c: Open indirecttcp connection.
8057 * xfer-src/element-glue.c (do_directtcp_connect): Open indirecttcp
8058 connection.
8059
8060 2013-02-22 Jean-Louis Martineau <martineau@zmanda.com>
8061 * server-src/driver.c: Handle holdingdisk NEVER and taperflush > 0.
8062
8063 2013-02-20 Jean-Louis Martineau <martineau@zmanda.com>
8064 * common-src/amfeatures.c: Add fe_sendbackup_state amfeature.
8065 * common-src/amfeatures.h: Add fe_sendbackup_state amfeature.
8066 * client-src/client_util.c: Parse RECOVER-DUMP-STATE-FILE application
8067 feature.
8068 * ndmp-src/ndma_noti_calls.c (ndma_send_logmsg): return if !from_conn.
8069 * perl/Amanda/Extract.pm: Parse recover-dump-state-file application
8070 feature.
8071 * server-src/amfetchdump.pl: Pass --recover-dump-state-file to
8072 application.
8073 * server-src/driver.c (short_dump_state): Add directq.
8074 * server-src/dumper.c: Parse 'sendbackup state' line and put them in
8075 the dump state file.
8076
8077 2013-02-18 Jean-Louis Martineau <martineau@zmanda.com>
8078 * gnulib/regenerate/regenerate: Add the nanosleep module.
8079 * config/gnulib/dup2.m4, config/gnulib/gnulib-cache.m4,
8080 config/gnulib/gnulib-comp.m4, config/gnulib/nanosleep.m4,
8081 config/gnulib/select.m4, config/gnulib/sigaction.m4,
8082 config/gnulib/signalblocking.m4,
8083 config/gnulib/sys_select_h.m4: New config files.
8084 * gnulib/Makefile.am: Update for new modules.
8085 * gnulib/alloca.c, gnulib/dup2.c, gnulib/intprops.h,
8086 gnulib/nanosleep.c, gnulib/select.c, gnulib/sig-handler.c,
8087 gnulib/sig-handler.h, gnulib/sigaction.c, gnulib/sigprocmask.c,
8088 gnulib/sys_select.in.h: New files.
8089
8090 2013-02-13 Jean-Louis Martineau <martineau@zmanda.com>
8091 * server-src/dumper.c: Do not crash if stdin if closed while a backup
8092 is running.
8093
8094 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8095 * server-src/logfile.c (get_logname): Return a new allocated string.
8096 * server-src/logfile.c (set_logname): Store a new allocated string.
8097
8098 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8099 * server-src/logfile.c: Check return of symlink.
8100
8101 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8102 * server-src/driver.c: Check return of ftruncate.
8103
8104 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8105 * common-src/conffile.c: Deprecate usetimestamps, it is always "yes"
8106 * example/amanda.conf.in: Remove usetimestamps.
8107 * example/template.d/advanced.conf.in: Remove usetimestamps.
8108 * man/xml-source/amanda.conf.5.xml: Deprecate usetimestamps.
8109 * server-src/logfile.c (make_logname, get_logname, set_logname) New
8110 function.
8111 * server-src/logfile.h (make_logname, get_logname, set_logname) Add
8112 prototype.
8113 * perl/Amanda/Logfile.swg (make_logname, get_logname, set_logname) Add
8114 function.
8115 * server-src/amdump.pl, server-src/amflush.c, server-src/amvault.pl:
8116 Create a log.<datastamps>.0 file and use it. Do not check for a
8117 'log' file.
8118 * server-src/amcheck.c: Do not check for a 'log' file.
8119 * server-src/driverio.c: Pass --log-filename argument to sub process.
8120 * server-src/driverio.h: add log_filename variable.
8121 * server-src/chunker.pl, server-src/driver.c,
8122 server-src/dumper.c, server-src/planner.c,
8123 server-src/taper.pl: Use logfile from --log-filename argument.
8124 * installcheck/Amanda_Config.pl, installcheck/Amanda_Logfile.pl,
8125 installcheck/amdump.pl, installcheck/chunker.pl,
8126 installcheck/taper.pl: Fix.
8127
8128 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8129 * Many Files: Compute CRC on backup and verify it on restore.
8130
8131 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8132 * autogen: Invoke automake with --add-missing.
8133 * config/compile, config/config.guess, config/config.sub,
8134 * config/depcomp, config/install-sh, config/missing,
8135 * config/mkinstalldirs, config/ylwrap: Upgrade from automake-1.11.6
8136
8137 2013-02-11 Jean-Louis Martineau <martineau@zmanda.com>
8138 * perl/Amanda/Changer/disk.pm: Return slot with invalid slot.
8139 * perl/Amanda/Changer/robot.pm: Return slot with invalid slot.
8140 * server-src/amtape.pl: Continue on invalid slot.
8141
8142 2013-02-07 Jean-Louis Martineau <martineau@zmanda.com>
8143 * client-src/amdump_client.pl: Pass the -o arguments to amservice.
8144
8145 2013-02-06 Jean-Louis Martineau <martineau@zmanda.com>
8146 * installcheck/0_setupcache.pl: Rename from =setupcache.pl
8147 * installcheck/Makefile.am: Ditto.
8148
8149 2013-02-05 Jean-Louis Martineau <martineau@zmanda.com>
8150 * device-src/s3.c: s/g_slist_free_full/slist_free_full/
8151
8152 2013-01-29 Jean-Louis Martineau <martineau@zmanda.com>
8153 * application-src/amraw.pl: Check return value of POSIX::open.
8154
8155 2013-01-25 Jean-Louis Martineau <martineau@zmanda.com>
8156 * device-src/s3-device.c: Fix memory leak and check return value of
8157 mkdir.
8158 * device-src/s3.c: Fix dereferencing NULL pointer.
8159
8160 2013-01-25 Jean-Louis Martineau <martineau@zmanda.com>
8161 * gnulib/regenerate/regenerate, config/gnulib/gnulib-cache.m4,
8162 config/gnulib/gnulib-comp.m4, gnulib/Makefile.am: Remove ftruncate.
8163
8164 2013-01-25 Jean-Louis Martineau <martineau@zmanda.com>
8165 * config/snippet: Add directory.
8166
8167 2013-01-25 Jean-Louis Martineau <martineau@zmanda.com>
8168 * gnulib/* config/gnulib/*: UPgrade gnulib to
8169 09b8fa6cb737f6e091931c494cbd56d12b3ad08d.
8170 * gnulib/regenerate/regenerate: Remove ftruncate module.
8171 * ndmp-src/Makefile.am: Workaround to '#include "config.h"' in
8172 ndmp?_xdr.c
8173
8174 2013-01-24 Jean-Louis Martineau <martineau@zmanda.com>
8175 * amandad-src/amandad.c: Use nanosleep.
8176
8177 2013-01-24 Jean-Louis Martineau <martineau@zmanda.com>
8178 * server-src/amadmin.c: Add a --prepend-prefix argument.
8179 * common-src/conffile.c (config_dir_relative): Prepend prepend-prefix
8180 to path.
8181 * common-src/conffile.h: extern char *prepend_prefix;
8182
8183 2013-01-24 Jean-Louis Martineau <martineau@zmanda.com>
8184 * application-src/ampgsql.pl: Do not use a default DB.
8185
8186 2013-01-23 Jean-Louis Martineau <martineau@zmanda.com>
8187 * perl/Makefile.am: Amanda/Feature.c depend on
8188 ../common-src/amfeatures.h
8189
8190 2013-01-22 Jean-Louis Martineau <martineau@zmanda.com>
8191 * device-src/s3-device.c: Check result of fgets.
8192
8193 2013-01-22 Jean-Louis Martineau <martineau@zmanda.com>
8194 * installcheck/Installcheck/Dumpcache.pm: Fix for exit status of
8195 amdump.
8196
8197 2013-01-22 Jean-Louis Martineau <martineau@zmanda.com>
8198 * server-src/amdump.pl: Exit with the ored value of the exit code of
8199 all subprocess.
8200
8201 2013-01-21 Jean-Louis Martineau <martineau@zmanda.com>
8202 * device-src/s3-device.c: Keep a catalog of the labels.
8203 New READ-FROM-GLACIER and TRANSITION-TO-GLACIER properties.
8204 Implement set_reuse and set_no_reuse to remove/add lifecycle.
8205 * device-src/device.c: New device_have_set_reuse and device_set_reuse
8206 functions.
8207 * device-src/device.h: new set_reuse and set_no_reuse.
8208 * device-src/s3.c: Implement init_restore, get and set lifecycle.
8209 * device-src/s3.h: Lifecycle.
8210 * man/xml-source/amanda-devices.7.xml: Document new READ-FROM-GLACIER
8211 and TRANSITION-TO-GLACIER S3 properties.
8212 * perl/Amanda/Changer.pm: Add set_reuse and set_no_reuse method.
8213 * perl/Amanda/Changer/multi.pm: Implement set_reuse and set_no_reuse.
8214 * perl/Amanda/Device.swg: Add set_reuse and set_no_reuse method.
8215 * server-src/Makefile.am (amlibexec_SCRIPTS_PERL) Add amadmin_perl.
8216 * server-src/amadmin.c: Call perl program for the reuse and no-reuse
8217 commands.
8218 * server-src/amadmin_perl.pl: Implementthe reuse and no-reuse commands
8219 of amadmin.
8220
8221 2013-01-21 Jean-Louis Martineau <martineau@zmanda.com>
8222 * application-src/amraw.pl: Correctly parse the --directory argument.
8223
8224 2013-01-16 Jean-Louis Martineau <martineau@zmanda.com>
8225 * common-src/security-util.h (struct tcp_conn): Add child_watch.
8226 * common-src/rsh-security.c: Add a child_watch for the rsh process.
8227 * common-src/ssh-security.c: Add a child_watch for the ssh process.
8228
8229 2013-01-15 Jean-Louis Martineau <martineau@zmanda.com>
8230 * device-src/s3.c: Fix for chunked transfer-encoding.
8231
8232 2013-01-15 Jean-Louis Martineau <martineau@zmanda.com>
8233 * device-src/s3.h: Add all S3 error.
8234 * perl/Amanda/ScanInventory.pm: Set err.
8235
8236 2013-01-14 Jean-Louis Martineau <martineau@zmanda.com>
8237 * common-src/conffile.c: Add CONF_REPORT_FORMAT.
8238 * common-src/conffile.h: Add CNF_REPORT_FORMAT.
8239 * man/xml-source/amanda.conf.5.xml: Document report-foramt.
8240 * man/xml-source/amreport.8.xml: Document new --format argument.
8241 * perl/Amanda/Config.swg: Add CNF_REPORT_FORMAT.
8242 * perl/Amanda/Report.pm (xml_output): Remove function.
8243 * perl/Amanda/Report/human.pm: change api
8244 * perl/Amanda/Report/json.pm: New report format.
8245 * perl/Amanda/Report/json_raw.pm: New report format.
8246 * perl/Amanda/Report/xml.pm: Change api
8247 * perl/Makefile.am (AmandaReport_DATA): Add Amanda/Report/json.pm and
8248 Amanda/Report/json_raw.pm
8249 * server-src/amreport.pl: New --format argument, change API to call
8250 module.
8251
8252 2013-01-11 Jean-Louis Martineau <martineau@zmanda.com>
8253 * application-src/Makefile.am, client-src/Makefile.am,
8254 installcheck/Makefile.am, server-src/Makefile.am: Use '+=' to set
8255 DISTCLEANFILES
8256 * gnulib/regenerate/no-error.patch: Improved patch.
8257 * gnulib/Makefile.am: Applied patch.
8258
8259 2013-01-11 Jean-Louis Martineau <martineau@zmanda.com>
8260 * perl/Amanda/Extract.pm: Change Zmanda licensing to GPLv2+.
8261
8262 2013-01-10 Jean-Louis Martineau <martineau@zmanda.com>
8263 * perl/Amanda/JSON/Config.pm: Fix perl warning.
8264
8265 2013-01-08 Jean-Louis Martineau <martineau@zmanda.com>
8266 * ndmp-src/ndmjob_args.c: Handle more than 1000 arguments.
8267
8268 2013-01-07 Jean-Louis Martineau <martineau@zmanda.com>
8269 * common-src/conffile.c: Set labelstr template from autolabel.
8270 * perl/Amanda/ScanInventory.pm: Use the labelstr template.
8271 * perl/Amanda/Taper/Scan.pm: Check for match_labelstr.
8272
8273 2013-01-07 Jean-Louis Martineau <martineau@zmanda.com>
8274 * perl/Amanda/Taper/Scan.pm (oldest_reusable_volume): Check the
8275 labelstr.
8276 * installcheck/Amanda_Taper_Scan.pl: Test it.
8277
8278 2013-01-04 Jean-Louis Martineau <martineau@zmanda.com>
8279 * server-src/amrmtape.pl: Do not check the 'log' file.
8280
8281 2013-01-03 Jean-Louis Martineau <martineau@zmanda.com>
8282 * perl/Amanda/Changer/robot.pm: Return slot in error for:
8283 the requested volume is in drive $drive, which this
8284 changer instance cannot access
8285 * perl/Amanda/Taper/Scan/traditional.pm: Continue scan if this error.
8286 * perl/Amanda/Taper/Scribe.pm: log message.
8287 * installcheck/Amanda_Taper_Scan_lexical.pl,
8288 installcheck/Amanda_Taper_Scan_oldest.pl,
8289 installcheck/Amanda_Taper_Scan_traditional.pl: Check it.
8290
8291 2013-01-03 Jean-Louis Martineau <martineau@zmanda.com>
8292 * device-src/s3-device.c, device-src/s3.c: hanlde chunked
8293 transfer-encoding,
8294 * device-src/s3.h (s3_upload): Add chunked argument.
8295 * man/xml-source/amanda-devices.7.xml: Document new CHUNKER s3
8296 device-property.
8297
8298 2013-01-03 Jean-Louis Martineau <martineau@zmanda.com>
8299 * recover-src/extract_list.c: Display the size restored.
8300
8301 2012-12-27 Jean-Louis Martineau <martineau@zmanda.com>
8302 * server-src/amrmtape.pl: Add the pid on the temporary filename.
8303
8304 2012-12-27 Jean-Louis Martineau <martineau@zmanda.com>
8305 * common-src/util.c (make_amanda_tmpdir): New function to create the
8306 AMANDA_TMPDIR directory.
8307 * common-src/util.h (make_amanda_tmpdir): Add prototype.
8308 * common-src/debug.c (debug_open): Call make_amanda_tmpdir().
8309
8310
8311 2012-12-24 Jean-Louis Martineau <martineau@zmanda.com>
8312 * server-src/driver.c (tape_action): Do not count free tape space if
8313 exceed max-dle-by-volume.
8314
8315 2012-12-19 Jean-Louis Martineau <martineau@zmanda.com>
8316 * common-src/conffile.c: Add a new RETRY-DUMP setting in a dumptype.
8317 * common-src/conffile.h: Define DUMPTYPE_RETRY_DUMP.
8318 * man/xml-source/amanda.conf.5.xml: Document it
8319 * perl/Amanda/Config.swg: Add DUMPTYPE_RETRY_DUMP.
8320 * server-src/diskfile.h (disk_t): Add retry_dump.
8321 * server-src/diskfile.c: Set disk->retry_dump.
8322 * server-src/driver.c: Use retry_dump
8323 * NEWS: Add it.
8324
8325 2012-12-19 Jean-Louis Martineau <martineau@zmanda.com>
8326 * NEWS: Add MATCH-AUTOLABEL labelstr.
8327
8328 2012-12-19 Jean-Louis Martineau <martineau@zmanda.com>
8329 * common-src/conffile.c: labelstr can be the MATCH-AUTOLABEL keyword.
8330 Add all hook to handle the new labelstr_t typedef.
8331 * common-src/conffile.h: Add new labelstr_t typedef.
8332 * perl/Amanda/Config.swg: Handle new labelstr_t typedef.
8333 * common-src/match.c (match_labelstr): New method. The labelstr
8334 template can have all autolabel variable.
8335 * common-src/match.h (match_labelstr): Add prototype.
8336 * perl/Amanda/Util.swg: Add match_labelstr and the required typemap.
8337 * installcheck/Amanda_Changer.pl: Remove test for emoved Changer method
8338 volume_is_labelable
8339 * man/xml-source/amanda.conf.5.xml: Explain new labelstr setting
8340 * perl/Amanda/Changer.pm: Remove volume_is_labelable method, handle
8341 new autolabel setting, use match_labelstr.
8342 * perl/Amanda/Changer/disk.pm: Add meta to the reservation.
8343 * perl/Amanda/ScanInventory.pm, perl/Amanda/Taper/Scan/lexical.pm,
8344 * perl/Amanda/Taper/Scan/oldest.pm,
8345 * perl/Amanda/Taper/Scan/traditional.pm, server-src/amlabel.pl,
8346 * server-src/amtape.pl, server-src/tapefile.c: Handle new autolabel
8347 setting, use match_labelstr.
8348
8349 2012-12-18 Jean-Louis Martineau <martineau@zmanda.com>
8350 * perl/Amanda/Changer/robot.pm: Fix for older perl.
8351
8352 2012-12-18 Jean-Louis Martineau <martineau@zmanda.com>
8353 * NEWS, ReleaseNotes: Changes in 3.3.3
8354
8355 2012-12-18 Jean-Louis Martineau <martineau@zmanda.com>
8356 * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONE/FAILED messages.
8357
8358 2012-12-14 Jean-Louis Martineau <martineau@zmanda.com>
8359 * perl/Amanda/Changer.pm: Pass the %params to changer.
8360 * perl/Amanda/Changer/aggregate.pm: Pass the %params to child changer.
8361 * perl/Amanda/Changer/aggregate.pm (make_new_tape_label,
8362 make_new_meta_label): Call the child changer.
8363
8364 2012-12-14 Jean-Louis Martineau <martineau@zmanda.com>
8365 * server-src/amtape.pl: Add a verify subcommand.
8366 * man/xml-source/amtape.8.xml: Document the verify subcommand.
8367 * perl/Amanda/Changer.pm: Add default verify method.
8368 * perl/Amanda/Changer/robot.pm (verify): Verify the drive and device
8369 matches.
8370 * perl/Amanda/Device.pod: Typo.
8371
8372 2012-12-13 Dan Locks <dwlocks@zmanda.com>
8373 * packaging/common/post_inst_functions.sh: revoke rw permissions for
8374 group and other
8375 * packaging/common/post_rm_functions.sh: fix function name to match
8376 usage.
8377 * packaging/common/test_sh_libs.sh: update test.
8378
8379 2012-12-13 Jean-Louis Martineau <martineau@zmanda.com>
8380 * server-src/amrmtape.pl: Die if opening CURINFO for writing fail.
8381
8382 2012-12-12 Dan Locks <dwlocks@zmanda.com>
8383 * packaging/common/post_inst_functions.sh: don't use uuencode -m for
8384 solaris 8 compatibility.
8385
8386 2012-12-11 Jean-Louis Martineau <martineau@zmanda.com>
8387 * perl/Amanda/Changer/multi.pm, server-src/amcheck-device.pl: Fix perl
8388 warning.
8389
8390 2012-12-10 Jean-Louis Martineau <martineau@zmanda.com>
8391 * server-src/logfile.c (log_rename): Donot abort if the log do not
8392 exists.
8393
8394 2012-12-10 Jean-Louis Martineau <martineau@zmanda.com>
8395 * man/xml-source/amanda-devices.7.xml: Typo, s/SWITF/SWIFT/.
8396
8397 2012-12-10 Jean-Louis Martineau <martineau@zmanda.com>
8398 * perl/Amanda/Taper/Scribe.pm: Log FAILED if nothing is written to
8399 tape.
8400 * server-src/amstatus.pl: Check ntape is defined.
8401
8402 2012-12-07 Dan Locks <dwlocks@zmanda.com>
8403 * packaging/common/post_inst_functions.sh: use amandausers's .gnupg/
8404 instead of installing user's, and suppress warnings about
8405 permissions.
8406
8407 2012-12-07 Dan Locks <dwlocks@zmanda.com>
8408 * common_z/post_inst_functions.sh: head and tail invocation may only
8409 use "-#", not "-n #" for solaris 8 compatibility
8410
8411 2012-12-07 Jean-Louis Martineau <martineau@zmanda.com>
8412 * contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of
8413 tapedev.
8414
8415 2012-12-07 Jean-Louis Martineau <martineau@zmanda.com>
8416 * server-src/driver.c: Fix 32 bits overflow.
8417
8418 2012-12-06 Dan Locks <dwlocks@zmanda.com>
8419 * packaging/common/post_inst_functions.sh: use --passphrase-fd to
8420 support older versions of gpg.
8421
8422 2012-12-06 Jean-Louis Martineau <martineau@zmanda.com>
8423 * server-src/amstatus.pl: Parse new PORT-DUMP format.
8424
8425 2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
8426 * server-src/amstatus.pl: Fix exit status.
8427 * installcheck/amstatus.pl: Fix for previous patch.
8428
8429 2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
8430 * server-src/amstatus.pl: Show taping status after dump failure.
8431
8432 2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
8433 * installcheck/taper.pl: Add check for previous patch.
8434
8435 2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
8436 * perl/Amanda/Taper/Worker.pm: Do it at the right place.
8437
8438 2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
8439 * perl/Amanda/Taper/Worker.pm: Use header is_partial to get dump
8440 status for FILE-WRITE.
8441
8442 2012-12-04 Dan Locks <dwlocks@zmanda.com>
8443 * common_z/post_inst_functions.sh: in get_random_lines(): fix line padding, use dd instead of
8444 head -c
8445 * common_z/test_common.sh: fix quoting so blank test condition is
8446 still printed.
8447
8448 2012-12-04 Jean-Louis Martineau <martineau@zmanda.com>
8449 * client-src/client_util.c: print script output for backup with the
8450 "| " prefix.
8451
8452 2012-12-04 Jean-Louis Martineau <martineau@zmanda.com>
8453 * server-src/amvault.pl: Missing return statement.
8454
8455 2012-12-03 Dan Locks <dwlocks@zmanda.com>
8456 * packaging/common/post_inst_functions.sh: add get_random_lines() and
8457 use it to generate random passwords
8458 * packaging/common/test_sh_libs.sh: test and use get_random_lines(),
8459 use static log file name, enforce order on tests using
8460 (get_random_lines, create_gnupg, create_ampassphrase, and
8461 create_amkey.
8462 * packaging/deb/postinst.src, packaging/rpm/amanda.spec.src,
8463 packaging/sun-pkg/client/postinstall.src: use command -v instead of
8464 unportable which.
8465
8466 2012-12-03 Jean-Louis Martineau <martineau@zmanda.com>
8467 * server-src/logfile.c (get_logline): Parse each line separately.
8468
8469 2012-11-28 Jean-Louis Martineau <martineau@zmanda.com>
8470 * common-src/conffile.c: Add a SRC-IP in the interface section.
8471 * common-src/conffile.h: Define INTER_SRC_IP.
8472 * man/xml-source/amanda.conf.5.xml: Add src-ip.
8473 * common-src/sockaddr-util.h: Define SU_SET_INADDR.
8474 * common-src/stream.c (stream_client_internal, stream_client_privileged,
8475 stream_client_internal): Add a src_ip argument.
8476 * common-src/stream.h: Changed prototype,
8477 * client-src/sendbackup.c, common-src/bsd-security.c,
8478 common-src/bsdtcp-security.c, common-src/security-util.c,
8479 oldrecover-src/amrecover.c, oldrecover-src/extract_list.c: Use new
8480 stream_client.
8481 * server-src/driverio.c (dumper_cmd): Add src-ip in PORT-WRITE command.
8482 * server-src/dumper.c: Parse src-ip.
8483 * server-src/server_util.c (amhost_get_security_conf): Return src-ip.
8484
8485 2012-11-28 Jean-Louis Martineau <martineau@zmanda.com>
8486 * device-src/s3.c: Force new connection after RequestTimeout.
8487
8488 2012-11-24 Dan Locks <dwlocks@zmanda.com>
8489 * packaging/rpm/amanda.spec.src: fix comparison operator
8490
8491 2012-11-23 Jean-Louis Martineau <martineau@zmanda.com>
8492 * installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
8493 installcheck/Installcheck/Config.pm, perl/Amanda/Report/human.pm,
8494 perl/Amanda/Taper/Worker.pm, server-src/amtape.pl: Fix perl warning.
8495
8496 2012-11-23 Dan Locks <dwlocks@zmanda.com>
8497 * packaging/rpm/amanda.spec.src: fix awk SuSE detection syntax
8498
8499 2012-11-23 Dan Locks <dwlocks@zmanda.com>
8500 * common_z/post_inst_functions.sh: add --no-use-agent option to gpg
8501 invocation to avoid problems with uninitialized gpg keyrings.
8502
8503 2012-11-23 Jean-Louis Martineau <martineau@zmanda.com>
8504 * device-src/null-device.c: Return DEVICE_STATUS_VOLUME_UNLABELED |
8505 DEVICE_STATUS_VOLUME_ERROR on open for reading.
8506 * installcheck/amdevcheck.pl: Fix.
8507
8508 2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
8509 * config/amanda/flags.m4: Swig is always compiled with
8510 -Wno-deprecated-declarations
8511 * common-src/amflock.h: s/file_lock_/file_lock/
8512 * device-src/directtcp-connection.h:
8513 s/DirectTCPConnection_/DirectTCPConnection/
8514 * ndmp-src/ndmpconnobj.h: s/NDMPConnection_/NDMPConnection/
8515 * server-src/cmdline.h: s/dumpspec_s/dumpspec_t/
8516
8517 2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
8518 * perl/Amanda/Cmdline.swg: Undo previous patch.
8519
8520 2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
8521 * config/amanda/libs.m4: remove deprecated warning for glib > 2.34.0
8522 * perl/Amanda/Cmdline.swg: s/dumpspec_t/dumpspec_s/
8523
8524 2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
8525 * perl/Amanda/Changer/robot.pm: return 'all slots are empty'.
8526 * perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on error.
8527
8528 2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
8529 * perl/Amanda/Changer/robot.pm: Keep a different current_slot for each
8530 config.
8531
8532 2012-11-21 Jean-Louis Martineau <martineau@zmanda.com>
8533 * common-src/bsd-security.c (stream_read_callback): Do not cancel the
8534 event in case of successful read.
8535 * common-src/security-util.c: Typo.
8536
8537 2012-11-15 Jean-Louis Martineau <martineau@zmanda.com>
8538 * server-src/amfetchdump.pl: Add --init --no-restore arguments.
8539 * man/xml-source/amfetchdump.8.xml: Document them.
8540
8541 2012-11-15 Jean-Louis Martineau <martineau@zmanda.com>
8542 * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
8543 perl/Amanda/Changer/multi.pm,
8544 perl/Amanda/Changer/robot.pm: Add LOCK-TIMEOUT property.
8545 * perl/Amanda/Changer.pm: Handle lock-timeout property.
8546 * man/xml-source/amanda-changers.7.xml: Document new LOCK-TIMEOUT
8547 properties.
8548
8549 2012-11-14 Jean-Louis Martineau <martineau@zmanda.com>
8550 * application-src/amsamba.pl: Password can be encoded.
8551
8552 2012-11-14 Jean-Louis Martineau <martineau@zmanda.com>
8553 * perl/Amanda/Report/human.pm: Do not print failure for config
8554 setting.
8555 * perl/Amanda/Taper/Worker.pm: Send TAPE-CONFIG.
8556 * server-src/amflush.c: Do not add L_DISK if nothing to flush.
8557 * server-src/amstatus.pl: Parse TAPE-CONFIG and print appropriate
8558 message.
8559 * server-src/driver.c: Parse TAPE-CONFIG.
8560 * installcheck/taper.pl: Check new TAPE-CONFIG in protocol.
8561 * installcheck/catalogs/amflush.cat: Fix for new format.
8562
8563 2012-11-05 Jean-Louis Martineau <martineau@zmanda.com>
8564 * man/xml-source/amanda-devices.7.xml: Add 'OAUTH2' and 'CASTOR' for
8565 value of the storage-api property.
8566
8567 2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
8568 * common-src/event.c: Disable -Wmissing-field-initializers when using
8569 G_STATIC_MUTEX_INIT because of warning with glib-2.32.
8570
8571 2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
8572 * man/xml-source/amfetchdump.8.xml: Document --extract, --directory,
8573 --data-path and --application-property.
8574
8575 2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
8576 * common-src/event.c: Use a GStaticMutex.
8577
8578 2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
8579 * ndmp-src/ndmpconnobj.c: Use a GStaticMutex.
8580
8581 2012-10-24 Jean-Louis Martineau <martineau@zmanda.com>
8582 * installcheck/Amanda_Device.pl: Fix count.
8583
8584 2012-10-23 Jean-Louis Martineau <martineau@zmanda.com>
8585 * ndmp-src/ndmpconnobj.c: Use event_create and event_activate.
8586 Create static notify_data_t.
8587
8588 2012-10-23 Jean-Louis Martineau <martineau@zmanda.com>
8589 * common-src/event.c (event_create, event_activate): New function, it
8590 split event_register in two.
8591 * common-src/event.h (event_create, event_activate): New prototype.
8592
8593 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8594 * device-src/device.c (device_accept, device_connect,
8595 device_write_from_connection, device_read_to_connection): They take
8596 (int *, GMutex *, GCond *) new arguments to be able to interupt
8597 them.
8598 * device-src/device.h: Change prototype.
8599 * device-src/ndmp-device.c: Implement new functionnality.
8600 * device-src/xfer-dest-taper-directtcp.c,
8601 device-src/xfer-source-recovery.c: Use the new API.
8602 * installcheck/Amanda_Device.pl: Remove directtcp test.
8603 * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
8604 Allow to be cancelled.
8605 * ndmp-src/ndmpconnobj.h: Change prototype.
8606 * perl/Amanda/Device.swg: Remove accept, connect,
8607 write_from_connection and read-to_connection.
8608
8609 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8610 * perl/Amanda/Taper/Scribe.pm (abort_setup): New method.
8611 * perl/Amanda/Taper/Scribe.pm (_dump_done): Return if $dump_cb is not
8612 set.
8613 * perl/Amanda/Taper/Worker.pm: Call abort_setup if setup failed.
8614
8615 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8616 * server-src/amfetchdump.pl: typo, remove '.' in argv.
8617
8618 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8619 * server-src/dumper.c (do_dump): Make the header file only
8620 HEADER_DONE.
8621
8622 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8623 * perl/Amanda/Taper/Controller.pm: Reverse taper/driver in log.
8624
8625 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8626 * ndmp-src/ndmjob_args.c (handle_long_option): Close the fd.
8627
8628 2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
8629 * common-src/event.c: Make the code thread safe.
8630
8631 2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
8632 * common-src/match.c: Handle '=' as first characters of expression.
8633 * man/xml-source/amanda-match.7.xml: Document new '=' as first
8634 character of expression.
8635 * man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
8636 * man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
8637 * man/xml-source/amflush.8.xml, man/xml-source/amrestore.8.xml,
8638 * man/xml-source/amvault.8.xml: Document new '--exact-match' argument.
8639 * perl/Amanda/Cmdline.swg: Add CMDLINE_EXACT_MATCH
8640 * server-src/diskfile.c (match_disklist, match_dumpfile):
8641 New exact_match argument.
8642 * server-src/diskfile.h (match_disklist, match_dumpfile):
8643 Change prototype.
8644 * server-src/cmdline.c (cmdline_parse_dumpspecs): CMDLINE_EXACT_MATCH.
8645 * server-src/cmdline.h: New CMDLINE_EXACT_MATCH.
8646 * server-src/amadmin.c, server-src/amcheck.c,
8647 server-src/amdump.pl, server-src/amfetchdump.pl,
8648 server-src/amflush.c, server-src/amrestore.pl,
8649 server-src/amvault.pl, server-src/planner.c: Add --exact-match
8650 argument.
8651 * installcheck/Amanda_Cmdline.pl: Check '='.
8652 * installcheck/amadmin.pl: Check --exact-match and '='.
8653
8654 2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
8655 * server-src/amfetchdump.pl: Fix for compressed dump.
8656
8657 2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
8658 * server-src/amfetchdump.pl: Add [--extract --directory directory
8659 [--data-path (amanda|directtcp)]
8660 [--application-property='NAME=VALUE']*]
8661 * man/xml-source/amfetchdump.8.xml: Document them.
8662 * perl/Amanda/Extract.pm: New utilities torun application from perl.
8663 * perl/Makefile.am: Add Amanda/Extract.pm
8664 * perl/Amanda/Recovery/Clerk.pm: Small fix.
8665
8666 2012-10-18 Jean-Louis Martineau <martineau@zmanda.com>
8667 * All files: Change Zmanda licensing to GPLv2+ and LGPLv2+, Add Zmanda
8668 copyright to files modified by Zmanda.
8669
8670 2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
8671 * common-src/conffile.c: New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA.
8672 * common-src/conffile.h: And CNF_REPORT_USE_MEDIA and
8673 CNF_REPORT_NEXT_MEDIA
8674 * man/xml-source/amanda.conf.5.xml: Document REPORT-USE-MEDIA and
8675 REPORT-NEXT-MEDIA.
8676 * perl/Amanda/Config.swg: Add CNF_REPORT_USE_MEDIA and
8677 CNF_REPORT_NEXT_MEDIA.
8678 * perl/Amanda/Report/human.pm: Use them.
8679
8680 2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
8681 * device-src/device.c (device_init_seek_file): New method to do setup
8682 before a seek_file.
8683 * device-src/device.h (init_seek_file): Add method.
8684 * perl/Amanda/Device.pod (init_seek_file): Document it.
8685 * perl/Amanda/Device.swg (init_seek_file): New method.
8686
8687 2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
8688 * device-src/device.c: Load a device driver at run time.
8689
8690 2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
8691 * ndmp-src/ndma_comm_session.c, perl/Amanda/Util.swg: Use inet_ntop
8692 instead of inet_ntoa.
8693
8694 2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
8695 * common-src/amanda.h: Remove MAX_DUMPERS.
8696 * common-src/conffile.c (validate_inparallel): Remov function.
8697 * example/amanda.conf.in: Remove comment for MAX_DUMPERS.
8698 * server-src/driverio.c: Allocation dynamic table for dmptable and
8699 chktable.
8700 * server-src/driverio.h (init_driverio): New prototype.
8701 * server-src/driver.c: Use new init_driverio.
8702
8703 2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
8704 * server-src/amstatus.pl (showtime): Use calandar days.
8705
8706 2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
8707 * device-src/s3.c: Always set CURLOPT_CAINFO.
8708
8709 2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
8710 * perl/Amanda/Taper/Worker.pm: Add data_path to %splitting_args.
8711 * perl/Amanda/Taper/Scribe.pm: Correctly set part_* for DIRECTTCP
8712 data_path.
8713
8714 2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
8715 * amandad-src/amandad.c: Add a timeout.
8716 * common-src/event.c: List all event in debug mode.
8717 * common-src/security-util.c: Call the accept_fn on connection close.
8718
8719 2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
8720 * common-src/amcryptsimple.pl: Add '-z 0' to gpg argument when
8721 encrypting.
8722
8723 2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
8724 * common-src/amservice.c, device-src/ndmp-device.c,
8725 server-src/dumper.c, xfer-src/xfer-test.c: Fix bug found by Coverity.
8726
8727 2012-10-10 Jean-Louis Martineau <martineau@zmanda.com>
8728 * */*.c: Fix bug found by Coverity.
8729
8730 2012-10-10 Jean-Louis Martineau <martineau@zmanda.com>
8731 * */*.c: Fix bug found by Coverity.
8732
8733 2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
8734 * oldrecover-src/amrecover.c: Solaris do not have sa_restorer.
8735
8736 2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
8737 * amandad-src/amandad.c, amar-src/amarchiver.c,
8738 client-src/selfcheck.c, common-src/bsd-security.c,
8739 common-src/util.c, device-src/device.c,
8740 device-src/ndmp-device.c, device-src/s3.c,
8741 device-src/tape-device.c, oldrecover-src/amrecover.c,
8742 recover-src/extract_list.c, recover-src/set_commands.c,
8743 server-src/diskfile.c, server-src/driver.c,
8744 server-src/planner.c: Fix bug found by Coverity.
8745
8746 2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
8747 * example/Makefile.am: Build amanda-CAStor.conf from
8748 amanda-CAStor.conf.in
8749 * example/template.d/amanda-CAStor.conf: Remove
8750 * example/template.d/amanda-CAStor.conf.in: New file.
8751
8752 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8753 * common-src/security-util.c: Change the security_stream_read callback
8754 to not release the event if the read succeed.
8755 * amandad-src/amandad.c, common-src/amservice.c,
8756 recover-src/extract_list.c, server-src/dumper.c: Do not restart
8757 security_stream_read if the read succeeded.
8758 * server-src/dumper.c: Handle timeout without starting too much event.
8759
8760 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8761 * device-src/tape-device.c: Solaris do not have GMT_WR_PROT.
8762
8763 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8764 * device-src/device.c (device_check_writable): New method.
8765 * device-src/device.h (device_check_writable): Prototype.
8766 * device-src/tape-device.c (tape_device_check_writable): Implement new
8767 method.
8768 * perl/Amanda/Device.swg (check_writable): New method.
8769 * server-src/amcheck-device.pl: Call check_writable.
8770 * server-src/amtape.pl: Call check_writable.
8771
8772 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8773 * server-src/driver.c (tape_action): Fix handling of
8774 taper-parallel-write.
8775 * server-src/driver.c: Go in degraded mode only after all taper failed.
8776
8777 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8778 * server-src/amstatus.pl: Fix for TAKE-SCRIBE-FROM command, handle
8779 multiple taper status files.
8780
8781 2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
8782 * server-src/planner.c: Missing space.
8783
8784 2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
8785 * device-src/s3.c, device-src/s3-device.c: Typo.
8786
8787 2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
8788 * device-src/s3-device.c: Handle multi-part write
8789 * device-src/s3.c: Handle multi-part write
8790 * device-src/s3.h: Handle multi-part write
8791 * man/xml-source/amanda-devices.7.xml: Document new
8792 S3_MULTI_PART_UPLOAD property.
8793 * perl/Amanda/Recovery/Clerk.pm: do not call seek_file two times.
8794
8795 2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
8796 * server-src/amstatus.pl: Fix for (eof) from dumper/chunker or taper.
8797
8798 2012-09-27 Dan Locks <dwlocks@zmanda.com>
8799 * Bug reported by Jon LaBadie for fedora 17: spurious requirement
8800 of libtermcap.so.2.
8801 * packaging/rpm/amanda.spec.src: massage fedora detection to remove
8802 spurious requirement
8803
8804 2012-09-27 Jean-Louis Martineau <martineau@zmanda.com>
8805 * device-src/s3-device.c: Fix reps and reps_bucket name.
8806
8807 2012-09-26 Jean-Louis Martineau <martineau@zmanda.com>
8808 * common-src/conffile.c (get_multiplier): Fix for for CONF_END.
8809
8810 2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
8811 * device-src/xfer-dest-taper-splitter.c: Do not increase partnum if
8812 the size is 0.
8813 * installcheck/Amanda_Xfer.pl: Fix partnum check.
8814 * perl/Amanda/Taper/Scribe.pm: Improve debugging.
8815
8816 2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
8817 * common-src/amflock.c, common-src/util.c,
8818 perl/Amanda/Header.swg, perl/Amanda/Taper/Worker.pm,
8819 perl/Amanda/Util.swg,
8820 server-src/xfer-dest-holding.c: Fix small memory leak.
8821
8822 2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
8823 * perl/Amanda/Taper/Scan/lexical.pm,
8824 perl/Amanda/Taper/Scan/oldest.pm: Fix perl warning.
8825
8826 2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
8827 * perl/Amanda/Changer/robot.pm: Fix for header not read.
8828
8829 2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
8830 * man/xml-source/amanda.conf.5.xml (part-size): Improve documentation.
8831
8832 2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
8833 * perl/Amanda/Taper/Scribe.pm (device_started): Can get non-numeric
8834 result.
8835
8836 2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
8837 * man/xml-source/tapelist.5.xml: Add BLOCKSIZE.
8838
8839 2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
8840 * perl/Amanda/Tapelist.swg: die() if tapelist is not valid.
8841 * server-src/tapefile.c: exit if tapelist is not valid.
8842 * installcheck/Amanda_Tapelist.pl: Add more check.
8843 * perl/Amanda/Changer.pm: Add $err->device
8844 * perl/Amanda/Changer/robot.pm: Return error if barcode do not match
8845 with tapelist.
8846 * server-src/amtape.pl (inventory): Print if barcode do not match.
8847
8848 2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
8849 * installcheck/Makefile.am (catalogs): Add
8850 catalogs/taper-parallel-write.cat.
8851
8852 2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
8853 * device-src/s3.c: Fix date_sync_regex.
8854
8855 2012-09-20 Jean-Louis Martineau <martineau@zmanda.com>
8856 * server-src/amstatus.pl: Fix for taper-parallel-write > 1.
8857 * installcheck/amstatus.pl: Checkit.
8858 * installcheck/catalogs/taper-parallel-write.cat: New catalog.
8859
8860 2012-09-19 Jean-Louis Martineau <martineau@zmanda.com>
8861 * device-src/s3.c: Castor require libcurl 7.19.1.
8862
8863 2012-09-18 Jean-Louis Martineau <martineau@zmanda.com>
8864 * device-src/s3-device.c, device-src/s3.c: Castor require libcurl
8865 7.19.1.
8866
8867 2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
8868 * device-src/s3-device.c, device-src/s3.c
8869 device-src/s3.h: Add CASTOR S3_API.
8870 * example/template.d/amanda-CAStor.conf: Example config for castor.
8871
8872 2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
8873 * application-src/amgtar.c: Set gnutar_listdir after the config for
8874 the backup set is read.
8875
8876 2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
8877 * common-src/amxml.c (amstart_element): Set data_user->dle->property.
8878
8879 2012-09-05 Jean-Louis Martineau <martineau@zmanda.com>
8880 * server-src/amcheckdump.pl: s/correclty/correctly/g
8881
8882 2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
8883 * perl/Amanda/Changer/robot.pm: Correctly set f_type and device_error
8884 in state.
8885 * perl/Amanda/ScanInventory.pm (volume_is_labelable): Set labelstr for
8886 does_not_match_labelstr.
8887 * perl/Amanda/Taper/Scan/lexical.pm,
8888 perl/Amanda/Taper/Scan/oldest.pm (analyze): Check label match
8889 labelstr.
8890 * server-src/amcheck-device.pl (_user_msg_fn): print message when res
8891 is not set.
8892 * server-src/amtape.pl: Fix for device returning empty error.
8893 * installcheck/Amanda_Changer_ndmp.pl,
8894 installcheck/Amanda_Changer_robot.pl: Fix for f_type set.
8895
8896 2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
8897 * installcheck/gnutar.pl: fc17 gnutar is like fc15.
8898
8899 2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
8900 * installcheck/Amanda_Device.pl: Print error if nc, nc6 or netcat is
8901 not installed.
8902
8903 2012-08-23 Jean-Louis Martineau <martineau@zmanda.com>
8904 * perl/Amanda/Changer/disk.pm: Use the changerfile for the statefile.
8905
8906 2012-08-22 Jean-Louis Martineau <martineau@zmanda.com>
8907 * server-src/amdump.pl: Create amdump.<timestamp>, amdump and amdump.1
8908 are maintained as symlink.
8909
8910 2012-08-21 Jean-Louis Martineau <martineau@zmanda.com>
8911 * server-src/planner.c (handle_result): Correctly log some error.
8912
8913 2012-07-24 Jean-Louis Martineau <martineau@zmanda.com>
8914 * device-src/s3-device.c: New REUSE-CONNECTION property.
8915 * device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is
8916 FALSE.
8917 * device-src/s3.h (s3_open): New reuse_connection argument.
8918 * man/xml-source/amanda-devices.7.xml: Document REUSE-CONNECTION
8919 property.
8920 * ReleaseNotes, NEWS: Add REUSE-CONNECTION.
8921
8922 2012-07-24 Jean-Louis Martineau <martineau@zmanda.com>
8923 * device-src/s3-device.c: Fix a big memory leak.
8924
8925 2012-07-23 Jean-Louis Martineau <martineau@zmanda.com>
8926 * man/xml-source/amanda.conf.5.xml: Typo.
8927
8928 2012-07-23 Jean-Louis Martineau <martineau@zmanda.com>
8929 * ReleaseNotes, NEWS: Add new features in 3.3.2.
8930
8931 2012-07-20 Dan Locks <dwlocks@zmanda.com>
8932 * perl/Amanda/Feature.pod, perl/Amanda/MainLoop.swg,
8933 perl/Amanda/Script.pm, perl/Amanda/NDMP.pod,
8934 perl/Amanda/Logfile.swg, perl/Amanda/Curinfo.pm,
8935 perl/Amanda/Changer.pm, perl/Amanda/Tests.pod,
8936 perl/Amanda/Application.pod, perl/Amanda/Debug.swg,
8937 perl/Amanda/Disklist.swg, perl/Amanda/Report.pm,
8938 perl/Amanda/Config.pod, perl/Amanda/Header.swg,
8939 perl/Amanda/Feature.swg, perl/Amanda/BigIntCompat.pm,
8940 perl/Amanda/NDMP.swg, perl/Amanda/Recovery/Scan.pm,
8941 perl/Amanda/Recovery/Planner.pm, perl/Amanda/Recovery/Clerk.pm,
8942 perl/Amanda/Util.pod, perl/Amanda/Tests.swg,
8943 perl/Amanda/Archive.pod, perl/Amanda/Application.swg,
8944 perl/Amanda/Config.swg, perl/Amanda/Curinfo/Info.pm,
8945 perl/Amanda/Tapelist.pod, perl/Amanda/Changer/disk.pm,
8946 perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm,
8947 perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
8948 perl/Amanda/Changer/single.pm,
8949 perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/aggregate.pm,
8950 perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm,
8951 perl/Amanda/Report/xml.pm, perl/Amanda/IPC/Binary.swg,
8952 perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/IPC/Binary.pod,
8953 perl/Amanda/XferServer.pod, perl/Amanda/Util.swg,
8954 perl/Amanda/ScanInventory.pm, perl/Amanda/Script_App.pm,
8955 perl/Amanda/Device.pod, perl/Amanda/Archive.swg,
8956 perl/Amanda/Tapelist.swg, perl/Amanda/Xfer.pod,
8957 perl/Amanda/DB/Catalog.pm, perl/Amanda/Process.pm,
8958 perl/Amanda/XferServer.swg, perl/Amanda/Constants.pm.in,
8959 perl/Amanda/Cmdline.pod, perl/Amanda/Device.swg,
8960 perl/Amanda/Interactivity/stdin.pm,
8961 perl/Amanda/Interactivity/email.pm,
8962 perl/Amanda/Interactivity/tty_email.pm,
8963 perl/Amanda/Interactivity/tty.pm, perl/Amanda/MainLoop.pod,
8964 perl/Amanda/Holding.pm, perl/Amanda/Paths.pm.in,
8965 perl/Amanda/Logfile.pod, perl/Amanda/Application/Zfs.pm,
8966 perl/Amanda/Xfer.swg, perl/Amanda/Debug.pod,
8967 perl/Amanda/Disklist.pod, perl/Amanda/Interactivity.pm,
8968 perl/Amanda/Header.pod, perl/Amanda/Cmdline.swg,
8969 perl/Amanda/ClientService.pm, perl/Amanda/Taper/Protocol.pm,
8970 perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Scan.pm,
8971 perl/Amanda/Taper/Scribe.pm, perl/Amanda/Taper/Scan/oldest.pm,
8972 perl/Amanda/Taper/Scan/traditional.pm,
8973 perl/Amanda/Taper/Scan/lexical.pm,
8974 perl/Amanda/Taper/Worker.pm, perl/amglue/objwrap.c,
8975 perl/amglue/bigint.c, perl/amglue/amglue.h,
8976 perl/amglue/dumpspecs.swg, perl/amglue/exports.swg,
8977 perl/amglue/amglue.swg, perl/amglue/constants.swg,
8978 perl/amglue/glib.swg, perl/amglue/filehandles.swg,
8979 perl/amglue/integers.swg, perl/amglue/xferwrap.c,
8980 perl/amglue/directtcp.swg, perl/amglue/source.c,
8981 perl/amglue/ghashtable.c, perl/make_html.pl,
8982 installcheck/amoverview.pl, installcheck/Amanda_Holding.pl,
8983 installcheck/Amanda_Disklist.pl,
8984 installcheck/Amanda_Taper_Scan_oldest.pl,
8985 installcheck/amlabel.pl, installcheck/Amanda_NDMP.pl,
8986 installcheck/amflush.pl, installcheck/Amanda_ClientService.pl,
8987 installcheck/run-ndmp.pl, installcheck/amstatus.pl,
8988 installcheck/Amanda_Taper_Scribe.pl,
8989 installcheck/Amanda_Recovery_Scan.pl,
8990 installcheck/Amanda_Curinfo.pl, installcheck/Amanda_Changer.pl,
8991 installcheck/Amanda_Changer_single.pl,
8992 installcheck/Amanda_Taper_Scan_traditional.pl,
8993 installcheck/bigint.pl, installcheck/Amanda_Cmdline.pl,
8994 installcheck/Amanda_Changer_robot.pl, installcheck/amservice.pl,
8995 installcheck/Amanda_Recovery_Clerk.pl,
8996 installcheck/Amanda_Taper_Scan_lexical.pl,
8997 installcheck/amarchiver.pl, installcheck/amrecover.pl,
8998 installcheck/Amanda_Changer_ndmp.pl,
8999 installcheck/Installcheck/ClientService.pm,
9000 installcheck/Installcheck/Application.pm,
9001 installcheck/Installcheck/Run.pm,
9002 installcheck/Installcheck/Config.pm,
9003 installcheck/Installcheck/Changer.pm,
9004 installcheck/Installcheck/Dumpcache.pm,
9005 installcheck/Installcheck/Mock.pm,
9006 installcheck/Installcheck/Catalogs.pm, installcheck/example.pl,
9007 installcheck/gnutar.pl, installcheck/amrestore.pl,
9008 installcheck/amgetconf.pl, installcheck/pp-scripts.pl,
9009 installcheck/Amanda_IPC_LineProtocol.pl, installcheck/amtape.pl,
9010 installcheck/amraw.pl, installcheck/amserverconfig.pl,
9011 installcheck/amgtar.pl, installcheck/taper.pl,
9012 installcheck/Amanda_Util.pl,
9013 installcheck/Amanda_Recovery_Planner.pl,
9014 installcheck/mock/mail.pl, installcheck/mock/mtx.pl,
9015 installcheck/mock/lpr.pl, installcheck/Amanda_IPC_Binary.pl,
9016 installcheck/=setupcache.pl, installcheck/amcheckdump.pl,
9017 installcheck/amdump_client.pl, installcheck/Amanda_Tapelist.pl,
9018 installcheck/Amanda_Debug.pl, installcheck/Amanda_Changer_rait.pl,
9019 installcheck/amcheck-device.pl, installcheck/Amanda_Header.pl,
9020 installcheck/amdevcheck.pl, installcheck/Amanda_Device.pl,
9021 installcheck/Amanda_Changer_null.pl, installcheck/ampgsql.pl,
9022 installcheck/Installcheck.pm, installcheck/amadmin.pl,
9023 installcheck/amvault.pl,
9024 installcheck/Amanda_Report.pl, installcheck/amidxtaped.pl,
9025 installcheck/mock_mtx.pl, installcheck/Amanda_Changer_disk.pl,
9026 installcheck/Amanda_Logfile.pl,
9027 installcheck/Amanda_Changer_multi.pl,
9028 installcheck/amdump.pl, installcheck/catalogs/bigdb.cat,
9029 installcheck/amreport.pl, installcheck/amcheck.pl,
9030 installcheck/Amanda_Feature.pl, installcheck/amfetchdump.pl,
9031 installcheck/chunker.pl, installcheck/Amanda_Xfer.pl,
9032 installcheck/amrmtape.pl, installcheck/Amanda_Config.pl,
9033 installcheck/amtapetype.pl, installcheck/noop.pl,
9034 installcheck/Amanda_Config_FoldingHash.pl,
9035 installcheck/Amanda_Process.pl,
9036 installcheck/Amanda_MainLoop.pl, installcheck/Amanda_DB_Catalog.pl,
9037 installcheck/Amanda_Archive.pl, amar-src/amar.c,
9038 amar-src/amarchiver.c, amar-src/amar.h,
9039 config/automake/scripts.am, config/automake/vars.am,
9040 config/macro-archive/docbook-xslt.m4,
9041 config/macro-archive/docbook-dtd.m4,
9042 config/macro-archive/docbook-xslt-min.m4,
9043 config/macro-archive/xsltproc.m4,
9044 common-src/directtcp.h, common-src/amgetconf.pl,
9045 common-src/sockaddr-util.c, common-src/sockaddr-util.h,
9046 common-src/glib-util.c, common-src/glib-util.h,
9047 common-src/ipc-binary.c, common-src/event-test.c,
9048 common-src/ipc-binary.h, common-src/match-test.c,
9049 common-src/amsemaphore-test.c, common-src/simpleprng.c,
9050 common-src/simpleprng.h, common-src/amsemaphore.c,
9051 common-src/quoting-test.c, common-src/fileheader-test.c,
9052 common-src/amsemaphore.h, common-src/amcryptsimple.pl,
9053 common-src/amaespipe.sh, common-src/testutils.c,
9054 common-src/match.h, common-src/testutils.h,
9055 common-src/amgpgcrypt.pl, application-src/script-email.pl,
9056 application-src/amsuntar.pl, application-src/amzfs-snapshot.pl,
9057 application-src/amlog-script.pl, application-src/amsamba.pl,
9058 application-src/ampgsql.pl, application-src/amraw.pl,
9059 application-src/amzfs-sendrecv.pl, contrib/amreport.rnc,
9060 client-src/amdump_client.pl, ndmp-src/ndmpconnobj.c,
9061 ndmp-src/ndmpconnobj.h, device-src/xfer-device.h,
9062 device-src/s3-device.c, device-src/property.c,
9063 device-src/s3.c, device-src/property.h,
9064 device-src/xfer-dest-taper-directtcp.c, device-src/s3.h,
9065 device-src/rait-device.c, device-src/device.c,
9066 device-src/amtapetype.pl, device-src/device.h,
9067 device-src/null-device.c, device-src/xfer-dest-taper.c,
9068 device-src/directtcp-connection.c,
9069 device-src/xfer-dest-taper-splitter.c,
9070 device-src/xfer-dest-taper.h, device-src/amdevcheck.pl,
9071 device-src/directtcp-connection.h, device-src/tape-device.c,
9072 device-src/ndmp-device.c, device-src/vfs-device.c,
9073 device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-device.c,
9074 device-src/xfer-source-recovery.c, device-src/xfer-source-device.c,
9075 device-src/s3-util.c, device-src/vfs-device.h,
9076 device-src/s3-util.h, packaging/rpm/amanda.spec.src,
9077 xfer-src/xfer-element.h, xfer-src/filter-process.c,
9078 xfer-src/xfer.c, xfer-src/dest-directtcp-connect.c,
9079 xfer-src/dest-buffer.c, xfer-src/source-directtcp-connect.c,
9080 xfer-src/dest-null.c, xfer-src/xfer.h,
9081 xfer-src/dest-directtcp-listen.c, xfer-src/source-pattern.c,
9082 xfer-src/source-directtcp-listen.c, xfer-src/source-random.c,
9083 xfer-src/xmsg.c, xfer-src/xfer-test.c,
9084 xfer-src/xmsg.h, xfer-src/element-glue.c,
9085 xfer-src/dest-fd.c, xfer-src/amxfer.h,
9086 xfer-src/source-fd.c, xfer-src/element-glue.h,
9087 xfer-src/filter-xor.c, xfer-src/xfer-element.c,
9088 server-src/amcheckdump.pl, server-src/amoverview.pl,
9089 server-src/amdumpd.pl, server-src/amcheck-device.pl,
9090 server-src/amlogroll.pl, server-src/xfer-source-holding.c,
9091 server-src/amlabel.pl, server-src/amvault.pl,
9092 server-src/amcleanupdisk.pl, server-src/amidxtaped.pl,
9093 server-src/cmdline.c, server-src/amdump.pl,
9094 server-src/xfer-server.h, server-src/cmdline.h,
9095 server-src/amreport.pl, server-src/amfetchdump.pl,
9096 server-src/amrestore.pl, server-src/amcleanup.pl,
9097 server-src/amaddclient.pl, server-src/amrmtape.pl,
9098 server-src/amtape.pl, server-src/amserverconfig.pl,
9099 server-src/taper.pl: update copyright dates
9100
9101 2012-07-20 Jean-Louis Martineau <martineau@zmanda.com>
9102 * common-src/timestamp.c (get_time_from_timestamp): Initialize to 0.
9103
9104 2012-07-19 Jean-Louis Martineau <martineau@zmanda.com>
9105 Patch by crocket.
9106 * perl/Makefile.am: Fix cygwin build.
9107
9108 2012-07-18 Jean-Louis Martineau <martineau@zmanda.com>
9109 * device-src/s3.c: Parse application/json reply from cloudena.
9110
9111 2012-07-18 Jean-Louis Martineau <martineau@zmanda.com>
9112 * installcheck/Amanda_IPC_LineProtocol.pl: Add synchonization to fix
9113 race.
9114
9115 2012-07-17 Dan Locks <dwlocks@zmanda.com>
9116 * packaging/sun-pkg/buildpkg:
9117 * packaging/sun-pkg/client/postremove.src,
9118 packaging/sun-pkg/server/postremove.src: remove redundant usage of
9119 basedir.
9120 * packaging/sun-pkg/client/postinstall.src,
9121 packaging/sun-pkg/server/postinstall.src: same as above, plus fix
9122 case statement.
9123 * packaging/sun-pkg/server/preinstall.src,
9124 packaging/sun-pkg/client/preinstall.src: remove redundant basedir,
9125 use new check_user_* functions.
9126 * packaging/rpm/amanda.spec.src: refactor to use common functions
9127 * packaging/rpm/buildpkg: check for ./configure, and exit if
9128 substitute.pl fails.
9129 * packaging/deb/rules: use FULL_VERSION file to fill AMVER var, use
9130 * concatenation trick for postinst, rm trailing whitespace
9131 * packaging/deb/buildpkg: process postinst.src postrm.src preinst.src with substitute.pl
9132 * packaging/deb/postinst.src: refactor to use common functions.
9133 * packaging/deb/amanda-backup-server.postrm,
9134 packaging/deb/amanda-backup-client.postrm,
9135 packaging/deb/amanda-backup-client.postinst,
9136 packaging/deb/amanda-backup-server.postinst: delete everything, add
9137 variables pkg_type and other_pkg_type.
9138 * packaging/deb/preinst: moved to...
9139 * packaging/deb/preinst.src: here. refactor using common functions
9140 * packaging/deb/postrm: moved to...
9141 * packaging/deb/postrm.src: here. refactor using common functions.
9142 * packaging/common/common_functions.sh: remove trailing whitespace,
9143 remove redundant usage of ${BASEDIR} in solaris functions, avoid
9144 potentially non-portable test invocations.
9145 * packaging/common/test_sh_libs.sh: fix some log messages, redirect
9146 some unused output, split check_user_* tests into shorter testsr,
9147 add tests for supplemental groups, fix running single test.
9148 * packaging/common/mock_utils.sh: change id to error if any flags are
9149 given, add mock for groups.
9150 * packaging/common/post_inst_functions.sh: remove redundant leading /
9151 * packaging/common/post_rm_functions.sh: rm trailing whitespace.
9152 * packaging/common/pre_inst_functions.sh: use variable for user
9153 shell, clarify log messages regarding user accounts, split
9154 check_user into separate functions, mostly to ease testing, add
9155 check_user_supplemental_group.
9156
9157 2012-07-17 Jean-Louis Martineau <martineau@zmanda.com>
9158 * server-src/amcheckdump.pl: Wait for all filters to terminate before
9159 going to next image. Do not use '--ignore-zeros' for SMBCLIENT
9160 backup. Pass the dump size to $xfer->start().
9161 * server-src/amfetchdump.pl: Wait for all filters to terminate before
9162 going to next image.
9163
9164 2012-07-12 Jean-Louis Martineau <martineau@zmanda.com>
9165 * device-src/s3-device.c: Do not free ca_info if use_ssl is not set.
9166 * device-src/s3.c:: Set CURLOPT_CAINFO even if use_ssl is not set.
9167
9168 2012-07-10 Jean-Louis Martineau <martineau@zmanda.com>
9169 * server-src/amstatus.pl: Print 'dump done' if the dump succeeded.
9170
9171 2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
9172 * common-src/conffile.c (val_t_display_strs): Add a print_unit argument.
9173 * common-src/conffile.h (val_t_display_strs): Change prototype.
9174 * perl/Amanda/Config.swg (getconf_byname_strs): Use val_t_display_strs
9175 with a FALSE print_unit.
9176
9177 2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
9178 * common-src/conffile.c: Correctly parse byte suffix.
9179 * common-src/conffile.h: Add confunit_t.
9180 * installcheck/amgetconf.pl: Fix for byte parsing.
9181
9182 2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
9183 * server-src/driver.c (tape_action): Fix for flush_*.
9184 Change debug level.
9185
9186 2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
9187 * perl/Amanda/JSON.pm: Fix comment.
9188
9189 2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
9190 * perl/Amanda/Taper/Scan/traditional.pm,
9191 perl/Amanda/Taper/Scribe.pm: Correctly report error.
9192
9193 2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
9194 * configure.in: Small fix.
9195 * perl/Amanda/BigIntCompat.pm: Add TO_JSON to return anumber.
9196 * perl/Amanda/JSON.pm: documention
9197 * perl/Amanda/JSON/Changer.pm,
9198 perl/Amanda/JSON/Config.pm,
9199 perl/Amanda/JSON/DB/Catalog.pm,
9200 perl/Amanda/JSON/Tapelist.pm: amanda SON perl modules.
9201 * perl/Amanda/JSON/RPC/Dispatcher.pm
9202 perl/Amanda/JSON/RPC/Dispatcher/App.pm
9203 perl/Amanda/JSON/RPC/Dispatcher/Procedure.pm: perl modules for JSON.
9204 * perl/Amanda/Tapelist.swg: Set $datestamp to 0 if !defined.
9205 * perl/Makefile.am: Compile new modules.
9206 * server-src/Makefile.am: Compile amanda.psgi.
9207 * server-src/amanda.psgi.pl: The amanda psgi.
9208
9209 2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
9210 * common-src/glib-util.c: Remove debug statements.
9211
9212 2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
9213 * common-src/glib-util.c: Do not compile ssl initialization code if
9214 libcurl is not linked.
9215
9216 2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
9217 * device-src/s3.c: Fix compiler warning.
9218
9219 2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
9220 * common-src/glib-util.c: Fix for openssl and preprocessor.
9221
9222 2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
9223 * common-src/glib-util.c: Add initialization code for openssl and
9224 gnutls.
9225 * config/amanda/libs.m4: Detect ssl library used by libcurl.
9226
9227 2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
9228 * device-src/s3.c: Renew swift v2 x-auth-token before it expires, use
9229 glib if >= 2.26.
9230
9231 2012-06-27 Dan Locks <dwlocks@zmanda.com>
9232 * configure.in: update ac_prereq to 2.64
9233
9234 2012-06-27 Jean-Louis Martineau <martineau@zmanda.com>
9235 * device-src/s3.c: remove code to Renew swift v2 x-auth-token, it
9236 require glib 2.26.
9237
9238 2012-06-27 Jean-Louis Martineau <martineau@zmanda.com>
9239 * device-src/s3-device.c: New CREATE-BUCKET property.
9240 * device-src/s3.c: Improving error message parsing.
9241 * man/xml-source/amanda-devices.7.xml: document new CREATE-BUCKET
9242 property.
9243
9244 2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
9245 * device-src/s3.c: Remove bogus code.
9246
9247 2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
9248 * device-src/s3.c: Renew swift v2 x-auth-token before it expires.
9249
9250 2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
9251 * common-src/conffile.c: Fix crash when parsing an invalid config file.
9252
9253 2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
9254 * device-src/s3.c: Cloudena do not have xml_version of html tag in
9255 their reply.
9256
9257 2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
9258 * device-src/s3.c: Renew OAUTH2 token.
9259
9260 2012-06-21 Jean-Louis Martineau <martineau@zmanda.com>
9261 * 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
9262 * man/xml-source/amanda.conf.5.xml: Document new default columnspec.
9263 * installcheck/catalogs/bigestimate.cat,
9264 installcheck/catalogs/doublefailure.cat,
9265 installcheck/catalogs/filesystemstaped.cat,
9266 installcheck/catalogs/longstrange.cat,
9267 installcheck/catalogs/multi-taper.cat,
9268 installcheck/catalogs/normal.cat,
9269 installcheck/catalogs/plannerfail.cat,
9270 installcheck/catalogs/resultsmissing.cat,
9271 installcheck/catalogs/retried-nofinish.cat,
9272 installcheck/catalogs/retried-strange.cat,
9273 installcheck/catalogs/retried.cat,
9274 installcheck/catalogs/shortstrange.cat,
9275 installcheck/catalogs/skipped.cat,
9276 installcheck/catalogs/spanned.cat,
9277 installcheck/catalogs/strontium.cat: fix for new default columnspec.
9278
9279 2012-06-21 Jean-Louis Martineau <martineau@zmanda.com>
9280 * device-src/s3.c: OAUTH2 use 'max-keys'.
9281
9282 2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
9283 * perl/Amanda/Taper/Worker.pm: Fix update of the status file.
9284
9285 2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
9286 * common-src/security-util.c: Fix memory corruption.
9287
9288 2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
9289 * perl/Amanda/Taper/Scribe.pm: Cancel call dump_cb.
9290 * perl/Amanda/Taper/Worker.pm: Cancel the header xfer.
9291
9292 2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
9293 * server-src/planner.c: Fix 32 bits overflow.
9294
9295 2012-06-19 Jean-Louis Martineau <martineau@zmanda.com>
9296 * amandad-src/amandad.c, common-src/amxml.c,
9297 common-src/security-util.c, common-src/util.c,
9298 server-src/tapefile.c: Fix small memory leak.
9299 * perl/Amanda/Config.swg: Mark amandaify_property_name as %newobject
9300 * perl/Amanda/Header.swg: Mark C_from_string as %newobject
9301 * perl/Amanda/Tapelist.swg: Mark list_new_tapes as %newobject
9302 * perl/Amanda/Util.swg: Mark sanitise_filename, quote_string,
9303 unquote_string and split_quoted_strings as %newobject
9304 * xfer-src/xfer-element.c: lock elt->xfer->status_mutex before looking
9305 at elt->xfer->status.
9306 * device-src/device.h (Device): Add a GMutex device_mutex to protect
9307 method with concurent access.
9308 * device-src/device.c, device-src/ndmp-device.c,
9309 device-src/null-device.c, device-src/rait-device.c,
9310 device-src/s3-device.c, device-src/tape-device.c,
9311 device-src/vfs-device.c: Use the mutex to protext some Device field.
9312
9313 2012-06-18 Jean-Louis Martineau <martineau@zmanda.com>
9314 * server-src/planner.c: Coorectly delay full dump if it doesn't fit in
9315 the schedule.
9316
9317 2012-06-14 Dan Locks <dwlocks@zmanda.com>
9318 * packaging/common/mock_utils.sh: update id mock to handle -Gn flags,
9319 add groupadd mock, add usermod mock, correct silent errors in inetd
9320 and install mocks
9321 * packaging/common/pre_inst_functions.sh: add_group now attempts to
9322 create a potentially missing suppmemental group, add_group does not
9323 use -A or -a, instead generates a list of current groups from id -Gn,
9324 update error_group_member to use the name of the group passed to
9325 add_group.
9326 * packaging/common/test_sh_libs.sh: add 2 add_group unit tests, update
9327 check_user_group test.
9328
9329 2012-06-13 Jean-Louis Martineau <martineau@zmanda.com>
9330 * application-src/amgtar.c: Check gtar support --no-check-device.
9331
9332 2012-06-08 Jean-Louis Martineau <martineau@zmanda.com>
9333 * perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
9334 perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/rait.pm,
9335 perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
9336 perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm,
9337 perl/Amanda/Recovery/Clerk.pm, perl/Amanda/Recovery/Planner.pm,
9338 perl/Amanda/Recovery/Scan.pm, perl/Amanda/Report/human.pm,
9339 perl/Amanda/Taper/Scribe.pm,
9340 perl/Amanda/Taper/Worker.pm: Change many die by confess.
9341
9342 2012-06-07 Jean-Louis Martineau <martineau@zmanda.com>
9343 * device-src/s3.c: Parse message attribute in cloudena error reply.
9344 Parse details in HP error reply.
9345
9346 2012-06-04 Jean-Louis Martineau <martineau@zmanda.com>
9347 * server-src/amrestore.pl: Typo.
9348
9349 2012-06-01 Jean-Louis Martineau <martineau@zmanda.com>
9350 * server-src/amrestore.pl: Use the blocksize argument.
9351
9352 2012-06-01 Jean-Louis Martineau <martineau@zmanda.com>
9353 * perl/Amanda/Changer/robot.pm: Print to debug if bc2lb change the
9354 label for a barcode. Print to debug the mtx output.
9355 * perl/Amanda/Taper/Scribe.pm: Do not use a tape if the barcode from
9356 tapelist differ from the changer.
9357
9358 2012-05-28 Jean-Louis Martineau <martineau@zmanda.com>
9359 * application-src/amzfs-sendrecv.pl: fix print_to_server argument.
9360
9361 2012-05-24 Jean-Louis Martineau <martineau@zmanda.com>
9362 * application-src/amsamba.pl: Do not send a chomped line to index.
9363
9364 2012-05-24 Jean-Louis Martineau <martineau@zmanda.com>
9365 * perl/Amanda/Application.swg: Use IO::Handle to open mesgout.
9366
9367 2012-05-23 Jean-Louis Martineau <martineau@zmanda.com>
9368 * device-src/s3-device.c: Add project_id.
9369 * device-src/s3.c: Add project_id. Add x-goog-project-id and
9370 x-goo-api-version to headers.
9371 * device-src/s3.h (s3_make_bucket, s3_is_bucket_exists) Add project_id
9372 argument.
9373 * man/xml-source/amanda-devices.7.xml: Document project-id property.
9374
9375 2012-05-23 Jean-Louis Martineau <martineau@zmanda.com>
9376 * device-src/s3-device.c: Call s3_open2 after setting properties.
9377 * device-src/s3.c (s3_open2): New function.
9378 * device-src/s3.h (s3_open2): Prototype.
9379
9380 2012-05-17 Dan Locks <dwlocks@zmanda.com>
9381 * packaging/sun-pkg/buildpkg: add missing --with-libcurl= for server
9382
9383 2012-05-17 Jean-Louis Martineau <martineau@zmanda.com>
9384 * common-src/event.c: Add missing "\n" in debugging.
9385 * perl/Amanda/Application.swg: Make mesgout autoflush.
9386
9387 2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
9388 * installcheck/Amanda_Device.pl: Correctly count NDMP test.
9389
9390 2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
9391 * server-src/amvault.pl: Abort if log file already exists.
9392
9393 2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
9394 * server-src/find.c: Fix crash when log are corrupted.
9395
9396 2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
9397 * perl/Amanda/Recovery/Planner.pm (make_plan_from_filelist): Use the
9398 changer inventory to try to use an already available dump.
9399 * server-src/amidxtaped.pl: Pass the changer to make_plan.
9400
9401 2012-05-14 Jean-Louis Martineau <martineau@zmanda.com>
9402 * common-src/util.c, device-src/s3.c: Fix for pragma and gcc-4.5.2.
9403
9404 2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
9405 * perl/Amanda/Taper/Worker.pm (FAILED): Do it correctly.
9406
9407 2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
9408 * server-src/amstatus.pl: Improve output on taper error.
9409
9410 2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
9411 * perl/Amanda/Taper/Worker.pm (FAILED): Ignore if dump is already
9412 cancelled.
9413
9414 2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
9415 * common-src/event.c: Improve debugging.
9416 * server-src/dumper.c: Close data output in stop_dump.
9417
9418 2012-05-10 Jean-Louis Martineau <martineau@zmanda.com>
9419 * perl/Amanda/Constants.pm.in: Add NC, NC6 and NETCAT.
9420
9421 2012-05-10 Dan Locks <dwlocks@zmanda.com>
9422 * configure.in: update AC_INIT usage, specify tar-ustar and minimum
9423 automake version.
9424 * config/amanda/version.m4: create new AMANDA_INIT_VERSION macro to
9425 read FULL_VERSION or VERSION before AC_INIT.
9426
9427 2012-05-10 Jean-Louis Martineau <martineau@zmanda.com>
9428 * config/amanda/progs.m4: Define AMANDA_PROG_NC, set NC, NC6 and
9429 NETCAT.
9430 * configure.in: use AMANDA_PROG_NC.
9431 * installcheck/Amanda_Device.pl: Use them.
9432
9433 2012-05-10 Dan Locks <dwlocks@zmanda.com>
9434 * Makefile.am: update required automake version
9435
9436 2012-05-08 Jean-Louis Martineau <martineau@zmanda.com>
9437 * installcheck/Amanda_Device.pl: sleep to allow other process the time
9438 to start listening.
9439
9440 2012-05-08 Jean-Louis Martineau <martineau@zmanda.com>
9441 * common-src/amflock.c, common-src/match.c, common-src/util.c,
9442 device-src/s3.c: Fix for deprecated G_STATIC_MUTEX_INIT.
9443
9444 2012-05-08 Jean-Louis Martineau <martineau@zmanda.com>
9445 * client-src/sendbackup.c: Handle indirect tcp.
9446 * device-src/ndmp-device.c: Add INDIRECT property.
9447 * installcheck/Amanda_Device.pl: Test indirect tcp.
9448 * man/xml-source/amanda-devices.7.xml: Document INDIRECT property.
9449 * ndmp-src/ndmp4_translate.c: remove debugging statement.
9450
9451 2012-05-08 Jean-Louis Martineau <martineau@zmanda.com>
9452 * application-src/amzfs-snapshot.pl: Typo.
9453
9454 2012-05-02 Jean-Louis Martineau <martineau@zmanda.com>
9455 * installcheck/*.pl: use lib '@amperldir@';
9456
9457 2012-05-01 Jean-Louis Martineau <martineau@zmanda.com>
9458 * man/xml-source/amfetchdump.8.xml: Add --decrypt, --no-decrypt,
9459 --server-decrypt, --client-decrypt, --compress, --no-compress,
9460 --server-compress, --client-compress.
9461 * server-src/amfetchdump.pl: Document new options.
9462
9463 2012-05-01 Jean-Louis Martineau <martineau@zmanda.com>
9464 * config/amanda/s3-device.m4: Improve output.
9465 * config/amanda/device.m4: Add AMANDA_CHECK_DEVICES and
9466 AMANDA_SHOW_DEVICES_SUMMARY
9467 * config/amanda/summary.m4: Use AMANDA_SHOW_DEVICES_SUMMARY.
9468 * configure.in: Use AMANDA_CHECK_DEVICES.
9469
9470 2012-04-25 Jean-Louis Martineau <martineau@zmanda.com>
9471 * ndmp-src/ndmos.h: Define NDMOS_MACRO_FREE
9472 * ndmp-src/ndmos_glib.h: Define NDMOS_MACRO_FREE
9473 * ndmp-src/ndmp_translate.h: define CNVT_FREE.
9474 * ndmp-src/ndmp4_translate.c:#Add many free function.
9475
9476 2012-04-20 Jean-Louis Martineau <martineau@zmanda.com>
9477 * server-src/amfetchdump.pl: Fix.
9478
9479 2012-04-20 Jean-Louis Martineau <martineau@zmanda.com>
9480 * server-src/amadmin.c: Fix handling of optional arguments.
9481 * installcheck/amadmin.pl: Check it.
9482
9483 2012-04-19 Jean-Louis Martineau <martineau@zmanda.com>
9484 * client-src/amdump_client.pl: Fix warning.
9485
9486 2012-04-18 Jean-Louis Martineau <martineau@zmanda.com>
9487 * server-src/amfetchdump.pl: add --decompress and --decrypt options.
9488 * man/xml-source/amfetchdump.8.xml: Document new options.
9489
9490 2012-04-18 Jean-Louis Martineau <martineau@zmanda.com>
9491 * common-src/conffile.c: Parse MAX_WARNINGS in dumptype.
9492 * common-src/conffile.h: Add DUMPTYPE_MAX_WARNINGS and
9493 dumptype_get_max_warnings
9494 * man/xml-source/amanda.conf.5.xml: Document max_warning in dumptype.
9495 * perl/Amanda/Config.swg: Add DUMPTYPE_MAX_WARNINGS.
9496 * server-src/diskfile.c (add_disk): Copy max_warnings from dumptype.
9497 * server-src/diskfile.h: Add max_warnings in disk_t.
9498 * server-src/driverio.c (dumper_cmd): Send max_warnings to dumper.
9499 * server-src/dumper.c: Use max_warnings.
9500
9501 2012-04-18 Jean-Louis Martineau <martineau@zmanda.com>
9502 * ndmp-src/ndmpconnobj.c: Remove useless g_source_is_destroyed check.
9503
9504 2012-04-17 Jean-Louis Martineau <martineau@zmanda.com>
9505 * common-src/amgetconf.pl: Read the disklist.
9506 * common-src/conffile.h (seen_t): Add block.
9507 * common-src/conffile.c: Set seen.block
9508 * common-src/conffile.c (dump_configuration): New print_default and
9509 print_source arguments.
9510 * installcheck/Amanda_Config.pl: Fix dump_configuration call.
9511 * server-src/amadmin.c: Add --no-default and --print-source arguments
9512 for config and disklist command.
9513 * man/xml-source/amadmin.8.xml: Document new arguments.
9514 * perl/Amanda/Chunker/Scribe.pm: Do load Amanda::Device.
9515 * perl/Amanda/Config.swg: Fix for new dump_configuration arguments.
9516
9517 2012-04-16 Jean-Louis Martineau <martineau@zmanda.com>
9518 * application-src/amstar.c: Remove spurious space on directory entry.
9519
9520 2012-04-13 Jean-Louis Martineau <martineau@zmanda.com>
9521 * common-src/conffile.c: Add TMPDIR.
9522 * common-src/conffile.h: Add CNF_TMPDIR.
9523 * man/xml-source/amanda.conf.5.xml: Document TMPDIR.
9524 * perl/Amanda/Config.swg: Add CNF_TMPDIR.
9525 * server-src/amindexd.c: Use CNF_TMPDIR.
9526
9527 2012-04-12 Jean-Louis Martineau <martineau@zmanda.com>
9528 * application-src/amsamba.pl: Create incremental empty archive.
9529
9530 2012-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9531 * perl/Amanda/Changer.pm (make_new_tape_label): Fix error return.
9532 * perl/Amanda/Taper/Scribe.pm ($_user_msg_fn): Improve message if tape
9533 is relabeled with a new label.
9534 * perl/Amanda/ScanInventory.pm: Set relabeled.
9535 * installcheck/Amanda_Changer.pl: Fix for new message.
9536
9537 2012-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9538 Patch by Nathan Stratton Treadway
9539 * device-src/vfs-device.c: Improve message for MAX_VOLUME_USAGE.
9540 * installcheck/taper.pl: Fix.
9541
9542 2012-04-11 Jean-Louis Martineau <martineau@zmanda.com>
9543 * man/xml-source/amgtar.8.xml: s/APPLCIATION/APPLICATION/
9544
9545 2012-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9546 * application-src/ampgsql.pl: psql /could not connect to server/
9547 message result in STRANGE.
9548
9549 2012-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9550 * perl/Amanda/ScanInventory.pm: Fix for label not matching labelstr.
9551
9552 2012-04-06 Jean-Louis Martineau <martineau@zmanda.com>
9553 * device-src/device.c (device_get_bytes_written): New function.
9554 * device-src/device.h (device_get_bytes_written): New prototype.
9555 * device-src/ndmp-device.c, device-src/rait-device.c,
9556 device-src/s3-device.c, device-src/tape-device.c,
9557 device-src/vfs-device.c: Implement get_bytes_written.
9558 * device-src/xfer-dest-taper-cacher.c,
9559 device-src/xfer-dest-taper-splitter.c: Use device_get_bytes_written.
9560 * perl/Amanda/Device.swg: Swig device_get_bytes_written.
9561
9562 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9563 * device-src/s3-device.c: New CLIENT_ID, CLIENT_SECRET and
9564 REFRESH_TOKEN properties. Handle OAUTH2.
9565 * device-src/s3.c: Handle OAUTH2.
9566 * device-src/s3.h (S3_api): Add S3_API_OAUTH2.
9567 * man/xml-source/amanda-devices.7.xml: Document new CLIENT_ID,
9568 CLIENT_SECRET and REFRESH_TOKEN properties.
9569
9570 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9571 * man/xml-source/amfetchdump.8.xml: Document -l do not unencrypt.
9572
9573 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9574 * device-src/device.c (device_accept_with_cond,
9575 device_connect_with_cond): New functions.
9576 * device-src/device.h (device_accept_with_cond,
9577 device_connect_with_cond): New prototypes.
9578 * device-src/ndmp-device.c (accept_with_cond_impl,
9579 connect_with_cond_impl): new functions.
9580 * device-src/xfer-dest-taper-directtcp.c: Use device_accept_with_cond.
9581 * ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
9582 new function.
9583 * ndmp-src/ndmpconnobj.h (ndmp_connection_wait_for_notify_with_cond):
9584 new prototype.
9585 * perl/Amanda/Device.swg: swig accept_with_cond and connect_with_cond.
9586 * perl/Amanda/Taper/Worker.pm: Ignore duplicate DONe message.
9587 * server-src/driver.c (handle_dumper_result): Always send dumper
9588 result to taper.
9589 * server-src/dumper.c: Remove debugging statement.
9590 * xfer-src/element-glue.c: Add debugging statement.
9591 * xfer-src/xfer.c (xfer_cancel): Ignore duplicate cancel.
9592 * xfer-src/xfer.h (struct Xfer): Add cancelled field.
9593
9594 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9595 * common-src/amcryptsimple.pl: Use gpg if available.
9596 * common-src/amgpgcrypt.pl: Use gpg-agent and/or gpg2 if available.
9597 * server-src/dumper.c: Log compression/encryption executed.
9598
9599 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9600 * device-src/s3-device.c: New S3_MULTI_DELETE property.
9601 * device-src/s3.c: New S3_MULTI_DELETE property.
9602 * device-src/s3.h (s3_multi_delete): New prototype.
9603 * man/xml-source/amanda-devices.7.xml: Document new S3_MULTI_DELETE s3
9604 device property.
9605
9606 2012-04-05 Jean-Louis Martineau <martineau@zmanda.com>
9607 * device-src/s3-device.c: New PASSWORD, USERNAME, TENANT_ID,
9608 TENANT_NAME and STORAGE_API property. Handle SWIFT-2.
9609 * device-src/s3.c: Handle SWIFT-2.
9610 * device-src/s3.h (s3_open): New prototype.
9611 * device-src/s3.h (S3_api): New enum.
9612 * man/xml-source/amanda-devices.7.xml: Document new PASSWORD,
9613 USERNAME, TENANT_ID, TENANT_NAME and STORAGE_API S3 device
9614 properties.
9615
9616 2012-04-03 Jean-Louis Martineau <martineau@zmanda.com>
9617 * application-src/amsamba.pl: Do not set unc prematurely.
9618
9619 2012-03-29 Dan Locks <dwlocks@zmanda.com>
9620 * packaging/sun-pkg/buildpkg: add missing GLIB_LIBS variable to intel
9621 builds. Add flags to make invocation to reduce output.
9622
9623 2012-03-29 Jean-Louis Martineau <martineau@zmanda.com>
9624 * server-src/driver.c: Fix hang if taper crash.
9625
9626 2012-03-29 Jean-Louis Martineau <martineau@zmanda.com>
9627 * device-src/s3.c: Retry on {500, S3_ERROR_None} error.
9628 Improving debugging.
9629
9630 2012-03-28 Jean-Louis Martineau <martineau@zmanda.com>
9631 * server-src/amadmin.c: Fix bumpsize.
9632
9633 2012-03-22 Jean-Louis Martineau <martineau@zmanda.com>
9634 * common-src/fileheader.c: header type for non-amanda header is
9635 F_WEIRD.
9636 * server-src/amcheck-device.pl,
9637 server-src/amtape.pl: Improve output for non-Amanda volume.
9638
9639 2012-03-22 Jean-Louis Martineau <martineau@zmanda.com>
9640 * perl/Amanda/Chunker/Scribe.pm: do not call _start_chunk if the
9641 transfer is finished.
9642 * server-src/driver.c: Fix hang.
9643
9644 2012-03-19 Jean-Louis Martineau <martineau@zmanda.com>
9645 * application-src/amgtar.c: Use "TAR-BLOCKSIZE" on restore.
9646
9647 2012-03-16 Jean-Louis Martineau <martineau@zmanda.com>
9648 * application-src/ampgsql.pl: Use statefile to find end_wal on
9649 estimate.
9650
9651 2012-03-15 Jean-Louis Martineau <martineau@zmanda.com>
9652 * application-src/amgtar.c: Add IGNORE-ZEROS property.
9653 * man/xml-source/amgtar.8.xml: Document IGNORE-ZEROS property.
9654
9655 2012-03-13 Jean-Louis Martineau <martineau@zmanda.com>
9656 * perl/Makefile.am: touch $@
9657
9658 2012-03-13 Jean-Louis Martineau <martineau@zmanda.com>
9659 * application-src/ampgsql.pl: Do not Execute pg_start_backup for
9660 estimate.
9661
9662 2012-03-11 Jean-Louis Martineau <martineau@zmanda.com>
9663 * common-src/glib-util.c: g_thread_supported always return TRUE on
9664 newer version.
9665
9666 2012-03-10 Jean-Louis Martineau <martineau@zmanda.com>
9667 * common-src/glib-util.c, common-src/glib-util.h: Remove
9668 g_queue_free_full.
9669
9670 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9671 * common-src/Makefile.am, common-src/am_sl.c: typo.
9672
9673 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9674 * client-src/client_util.c, client-src/selfcheck.c,
9675 client-src/sendbackup-dump.c, client-src/sendbackup-gnutar.c,
9676 client-src/sendbackup.c, client-src/sendsize.c,
9677 common-src/amxml.c, common-src/amxml.h,
9678 recover-src/extract_list.c: s/level_t/am_level_t/g
9679 * client-src/calcsize.c, common-src/amxml.h,
9680 common-src/conffile.c, common-src/conffile.h,
9681 common-src/sl.c, common-src/sl.h,
9682 perl/Amanda/Header.swg: s/sl_t/am_sl_t/g
9683 * amandad-src/amandad.h, client-src/calcsize.c,
9684 client-src/client_util.h, common-src/Makefile.am: s/sl.h/am_sl.h
9685 * common-src/am_sl.h: renamed from common-src/sl.h
9686 * common-src/am_sl.c: renamed from common-src/sl.c
9687
9688 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9689 * server-src/amfetchdump.pl: Print progress.
9690 * device-src/device.c (device_get_bytes_read ): New API method.
9691 * device-src/device.h (Device): Add bytes_read.
9692 * device-src/device.h (_DeviceClass): Add get_bytes_read.
9693 * device-src/device.h (device_get_bytes_read): Add prototype.
9694 * device-src/ndmp-device.c: Set bytes_read.
9695 * device-src/rait-device.c: Set bytes_read.
9696 * device-src/s3-device.c: Use curl progress callback to set bytes_read.
9697 * device-src/s3.c: Set a progress callback.
9698 * device-src/tape-device.c: Set bytes_read.
9699 * device-src/vfs-device.c: Set bytes_read.
9700 * device-src/xfer-device.h (xfer_source_recovery_get_bytes_read): Add
9701 prototype.
9702 * device-src/xfer-source-recovery.c
9703 (xfer_source_recovery_get_bytes_read): new function.
9704 * perl/Amanda/Device.swg (device_get_bytes_read): New function.
9705 * perl/Amanda/Recovery/Clerk.pm: Call get_bytes_read.
9706 * perl/Amanda/XferServer.swg: (xfer_source_holding_get_bytes_read,
9707 * xfer_source_recovery_get_bytes_read): New prototypes.
9708 * server-src/xfer-server.h (xfer_source_holding_get_bytes_read): New
9709 protoype.
9710 * server-src/xfer-source-holding.c (xfer_source_holding_get_bytes_read):
9711 New function.
9712
9713 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9714 * perl/Amanda/Recovery/Scan.pm: Do not rescan the same slot
9715 indefinitely.
9716
9717 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9718 * perl/Amanda/Changer/multi.pm: Fix warning.
9719
9720 2012-03-09 Jean-Louis Martineau <martineau@zmanda.com>
9721 * device-src/s3-device.c: New PROXY property.
9722 * device-src/s3.c: Set CURLOPT_PROXY from PROXY property.
9723 * device-src/s3.h (s3_open): Add proxy argument.
9724 * man/xml-source/amanda-devices.7.xml: Document PROXY property.
9725
9726 2012-03-08 Jean-Louis Martineau <martineau@zmanda.com>
9727 * perl/Amanda/Header.swg (get_dle): Return undef if not set.
9728 * server-src/amidxtaped.pl: Check dle is set.
9729
9730 2012-03-08 Jean-Louis Martineau <martineau@zmanda.com>
9731 * server-src/amvault.pl: Use the write-timestamp, not the
9732 dump-timestamp.
9733
9734 2012-03-08 Jean-Louis Martineau <martineau@zmanda.com>
9735 * common-src/ssh-security.c: use default port if client-port is not
9736 set.
9737
9738 2012-03-07 Jean-Louis Martineau <martineau@zmanda.com>
9739 * application-src/amsamba.pl: Fix use of subdir for restore,
9740 prepend subdir on include for restore.
9741
9742 2012-03-07 Jean-Louis Martineau <martineau@zmanda.com>
9743 * ndmp-src/ndmjob_args.c: Add '-o D-agent-fd' argument.
9744
9745 2012-03-07 Jean-Louis Martineau <martineau@zmanda.com>
9746 * application-src/ampgsql.pl: Do not execute pg_start_backup and
9747 pg_stop_backup on selfcheck.
9748
9749 2012-02-23 Jean-Louis Martineau <martineau@zmanda.com>
9750 * man/xml-source/amzfs-sendrecv.8.xml: Typo.
9751
9752 2012-02-23 Jean-Louis Martineau <martineau@zmanda.com>
9753 * man/xml-source/disklist.5.xml: Document includefile directive.
9754
9755 2012-02-16 Jean-Louis Martineau <martineau@zmanda.com>
9756 * server-src/amadmin.c (disklist_one): print the filename.
9757 * server-src/diskfile.c: Add includefile directive.
9758 * server-src/diskfile.h (disk_t): Add filename.
9759
9760 2012-02-14 Jean-Louis Martineau <martineau@zmanda.com>
9761 * perl/Makefile.am: Add '--homeurl "$(POD_HOME_URL)"' to make_html
9762 * perl/make_html.pl: Improved modules list.
9763
9764 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9765 * perl/make_html.pl: Add link to index page.
9766
9767 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9768 * perl/make_html.pl: More fix.
9769
9770 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9771 * perl/make_html.pl: Make relative link.
9772
9773 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9774 * perl/make_html.pl: Fix for beta release.
9775
9776 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9777 * man/xml-source/amanda.conf.5.xml: Fix default netusage.
9778
9779 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9780 * perl/Amanda/Recovery/Clerk.pm: Typo.
9781
9782 2012-02-13 Jean-Louis Martineau <martineau@zmanda.com>
9783 * perl/make_html.pl: Fix html for relative link.
9784
9785 2012-02-10 Jean-Louis Martineau <martineau@zmanda.com>
9786 * device-src/s3.c: Do not print the data to the debug file.
9787
9788 2012-02-08 Jean-Louis Martineau <martineau@zmanda.com>
9789 * application-src/ampgsql.pl: Do not use temporary disk space while
9790 doing backup or recovery.
9791
9792 2012-02-08 Jean-Louis Martineau <martineau@zmanda.com>
9793 * perl/Amanda/DB/Catalog.pm: filenum must be sorted numerically.
9794
9795 2012-02-07 Jean-Louis Martineau <martineau@zmanda.com>
9796 * application-src/ampgsql.pl: pg_version 802000 => 80200.
9797
9798 2012-02-01 Jean-Louis Martineau <martineau@zmanda.com>
9799 * application-src/ampgsql.pl: Do not print normal
9800 pg_xlogfile_name_offset output to MESG stream.
9801
9802 2012-01-31 Dan Locks <dwlocks@zmanda.com>
9803 * packaging/deb/preinst, packaging/rpm/amanda.spec.src: change /bin/sh
9804 to /bin/bash.
9805
9806 2012-01-27 Jean-Louis Martineau <martineau@zmanda.com>
9807 * application-src/ampgsql.pl: Call pg_switch_xlog() only for backup.
9808
9809 2012-01-27 Jean-Louis Martineau <martineau@zmanda.com>
9810 * application-src/ampgsql.pl: Run pg_switch_xlog() and wait for the
9811 archived WAl before doing an incremental backup.
9812
9813 2012-01-26 Jean-Louis Martineau <martineau@zmanda.com>
9814 * device-src/s3.c: Fix compilation.
9815
9816 2012-01-23 Jean-Louis Martineau <martineau@zmanda.com>
9817 * device-src/s3.c: Set xmlns for IIJ.
9818
9819 2012-01-23 Jean-Louis Martineau <martineau@zmanda.com>
9820 * perl/Amanda/Taper/Scribe.pm, server-src/amlabel.pl:use the
9821 block_size instead of the header-block_size to write the BLOCK_SIZE
9822 in the tapelist.
9823
9824 2012-01-19 Jean-Louis Martineau <martineau@zmanda.com>
9825 * device-src/s3-device.c: Add support for openstack swift api.
9826 * device-src/s3.c: Add support for openstack swift api.
9827 * device-src/s3.h: Add support for openstack swift api.
9828 * man/xml-source/amanda-devices.7.xml: Add openstack-swift-api
9829 property.
9830
9831 2012-01-13 Jean-Louis Martineau <martineau@zmanda.com>
9832 * device-src/s3-device.c: Fix deleting files.
9833
9834 2012-01-09 Jean-Louis Martineau <martineau@zmanda.com>
9835 * server-src/amtape.pl: Fix amtape show for non numeric slot.
9836
9837 2012-01-04 Jean-Louis Martineau <martineau@zmanda.com>
9838 * recover-src/extract_list.c: Fix for compilation on AIX.
9839
9840 2012-01-04 Dan Locks <dwlocks@zmanda.com>
9841 * packaging/sun-pkg/buildpkg: Add GLIB_* flags to sun packages
9842 * config/amanda/libs.m4: fix "exit when explicit flags are given"
9843 error, and require all flags when one is given.
9844
9845 2012-01-03 Jean-Louis Martineau <martineau@zmanda.com>
9846 * device-src/s3-device.c: Report DEVICE ERROR if s3_is_bucket_exists
9847 response with curl error CURLE_COULDNT_CONNECT or
9848 CURLE_COULDNT_RESOLVE_HOST.
9849
9850 2012-01-02 Jean-Louis Martineau <martineau@zmanda.com>
9851 * perl/Amanda/Changer/multi.pm: Print the state filename to the debug
9852 file.
9853
9854 2012-01-02 Jean-Louis Martineau <martineau@zmanda.com>
9855 * perl/Amanda/ScanInventory.pm: Correctly set 'err'.
9856 * server-src/amtape.pl: quit the changer even on error.
9857
9858 2011-12-24 Dustin J. Mitchell <dustin@mozilla.com>
9859 Patch by Nathan Stratton Treadway.
9860 * man/xml-source/amgetconf.8.xml: a typo in the amgetconf.8 man page
9861
9862 2011-12-24 Dustin J. Mitchell <dustin@mozilla.com>
9863 Patch by Nathan Stratton Treadway.
9864 * common-src/conffile.c: minor problem with an error message in
9865 conffile.c, this time in the read_confline() function. It's just a
9866 mention of "APPLICATION-TOOL"/"SCRIPT-TOOL" that was missed in SVN
9867 revision 2028/git commit d0d9425b5d1e5a535719e754243c8f9f12a0ecf1 (in
9868 which those names were changed to "APPLICATION" and "SCRIPT" instead).
9869
9870 2011-12-23 Jean-Louis Martineau <martineau@zmanda.com>
9871 Patch by Nathan Stratton Treadway.
9872 * common-src/conffile.c (read_int_or_str): Fix error message.
9873
9874 2011-12-22 Jean-Louis Martineau <martineau@zmanda.com>
9875 * server-src/planner.c: Fix force-bump with overdue filesystem.
9876
9877 2011-12-22 Jean-Louis Martineau <martineau@zmanda.com>
9878 * server-src/amlabel.pl: --asign require --meta or --barcode.
9879
9880 2011-12-20 Jean-Louis Martineau <martineau@zmanda.com>
9881 * installcheck/amserverconfig.pl: Remove holding disk and vtapes.
9882
9883 2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
9884 * installcheck/Amanda_Xfer.pl: Load Amanda::Changer only with server
9885 component.
9886
9887 2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
9888 * installcheck/Installcheck/Run.pm (load_vtape): Use $sbindir to
9889 execute amtape.
9890
9891 2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
9892 * device-src/s3.c (s3_is_bucket_exists): Set max-keys=1.
9893
9894 2011-12-14 Jean-Louis Martineau <martineau@zmanda.com>
9895 * perl/Amanda/Recovery/Scan.pm (new): Return changer error.
9896
9897 2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
9898 * Makefile.am (SERVER_SUBDIRS): Remove changer-src.
9899 * changer-src: Remove subdirectoy.
9900 * configure.in (AC_CONFIG_FILES): Remove changer-src/Makefile.
9901 * man/xml-source/amanda-changers.7.xml: Remove all older changer api.
9902 * perl/Amanda/Changer.pm: Remove check for older changer api.
9903 * perl/Amanda/Changer/compat.pm: Remove file.
9904 * perl/Makefile.am (AmandaChanger_DATA): Remove Amanda/Changer/compat.pm
9905 * installcheck/Amanda_Changer.pl: Remove test of older changer api.
9906 * installcheck/Amanda_Changer_compat.pl: Remove file.
9907 * installcheck/Amanda_DB_Catalog.pl: Fix typo.
9908 * installcheck/Amanda_Recovery_Planner.pl: Fix typo.
9909 * installcheck/Amanda_Recovery_Scan.pl: Use new changer api.
9910 * installcheck/Amanda_Xfer.pl: Use new changer api.
9911 * installcheck/Installcheck/Run.pm: Remove code to create older vtapes.
9912 * installcheck/Makefile.am (server_tests): Remove Amanda_Changer_compat.
9913 * installcheck/amdevcheck.pl: Use new changer api.
9914 * installcheck/amlabel.pl: Use new changer api.
9915 * installcheck/amtape.pl: Use new changer api.
9916 * installcheck/amtapetype.pl: Use new changer api.
9917 * installcheck/taper.pl: Use new changer api.
9918
9919 2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
9920 * device-src/amdevcheck.pl: Use current slot.
9921
9922 2011-12-12 Jean-Louis Martineau <martineau@zmanda.com>
9923 * common-src/amfeatures.c: Add fe_dumptype_property.
9924 * common-src/amfeatures.h: Add fe_dumptype_property.
9925 * common-src/amxml.c: Parse dumptype properties.
9926 * common-src/amxml.h (dle_t): Add property field.
9927 * perl/Amanda/Disklist.swg: Add clean_dle_str_for_client.
9928 * perl/Amanda/Feature.pod: Add fe_dumptype_property.
9929 * perl/Amanda/Feature.swg: Add Amanda::Feature::Set::features
9930 * server-src/amidxtaped.pl: Call clean_dle_str_for_client.
9931 * server-src/diskfile.c (xml_dumptype_properties): New function toi
9932 return dumptype propertyes.
9933 * server-src/diskfile.h (xml_dumptype_properties) Add prototype.
9934 * server-src/driverio.c: Add xml_dumptype_properties to dumper cmd.
9935 * server-src/dumper.c: Call clean_dle_str_for_client.
9936
9937 2011-12-09 Jean-Louis Martineau <martineau@zmanda.com>
9938 * config/config.guess config/config.sub: new updates from FSF.
9939
9940 2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9941 * example/template.d/amanda-harddisk.conf.in: fix for installcheck.
9942
9943 2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9944 * NEWS, ReleaseNotes: Update for 3.3.1
9945
9946 2011-12-08 Jean-Louis Martineau <martineau@zmanda.com>
9947 * server-src/amindex.c (getheaderfname): New function.
9948 * server-src/amindex.h (getheaderfname): New prototype.
9949 * server-src/dumper.c: Wrtie header to a file in indexdir.
9950
9951 2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
9952 * example/template.d/amanda-S3.conf.in,
9953 example/template.d/amanda-harddisk.conf.in,
9954 example/template.d/amanda-single-tape.conf.in,
9955 example/template.d/amanda-tape-changer.conf.in: Use new changer api.
9956 * server-src/amserverconfig.pl: Use new changer api.
9957
9958 2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
9959 * man/xml-source/amvault.8.xml: Improve.
9960
9961 2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
9962 * perl/Amanda/ScanInventory.pm (volume_is_labelable): New method.
9963 * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm:
9964 Use volume_is_labelable from ScanInventory.
9965 * perl/Amanda/Taper/Scan/traditional.pm: Fix bad logging.
9966 * perl/Amanda/Taper/Scribe.pm: Print "autolabel disabled".
9967 * perl/Amanda/Taper/Worker.pm: Add debugging.
9968 * server-src/amvault.pl: Quit both changer, add debugging.
9969
9970 2011-12-07 Jean-Louis Martineau <martineau@zmanda.com>
9971 * server-src/amcleanup.pl, server-src/amcleanupdisk.pl: use
9972 Amanda::Debug.
9973
9974 2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
9975 Fix for previous patch.
9976 * application-src/amlog-script.pl, application-src/ampgsql.pl,
9977 application-src/amraw.pl, application-src/amsamba.pl,
9978 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
9979 application-src/amzfs-snapshot.pl,
9980 application-src/script-email.pl: Undo previous patch,
9981 * perl/Amanda/Script_App.pm: Do it here instead.
9982 server-src/amlogroll.pl, server-src/amvault.pl
9983 server-src/chunker.pl,
9984 server-src/taper.pl: Import the debug method.
9985 * server-src/amoverview.pl, server-src/amserverconfig.pl,
9986 server-src/amstatus.pl: Undo previous patch, they do not use the
9987 debug file.
9988
9989 2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
9990 * application-src/amlog-script.pl, application-src/ampgsql.pl,
9991 application-src/amraw.pl, application-src/amsamba.pl,
9992 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
9993 application-src/amzfs-snapshot.pl, application-src/script-email.pl,
9994 client-src/amdump_client.pl, common-src/amgetconf.pl,
9995 device-src/amdevcheck.pl, device-src/amtapetype.pl,
9996 server-src/amcheckdump.pl, server-src/amcleanup.pl,
9997 server-src/amcleanupdisk.pl, server-src/amdump.pl,
9998 server-src/amfetchdump.pl, server-src/amlabel.pl,
9999 server-src/amlogroll.pl, server-src/amoverview.pl,
10000 server-src/amreport.pl, server-src/amrestore.pl,
10001 server-src/amrmtape.pl, server-src/amserverconfig.pl,
10002 server-src/amstatus.pl, server-src/amtape.pl,
10003 server-src/amvault.pl, server-src/chunker.pl,
10004 server-src/taper.pl: Print command line arguments to debug file.
10005
10006 2011-12-05 Jean-Louis Martineau <martineau@zmanda.com>
10007 * device-src/device.c, device-src/ndmp-device.c,
10008 device-src/tape-device.c: Call device_set_error if setting a
10009 property fail.
10010 * perl/Amanda/Changer.pm: Use device error message.
10011
10012 2011-12-02 Jean-Louis Martineau <martineau@zmanda.com>
10013 * device-src/s3-device.c, device-src/vfs-device.c (*_device_erase):
10014 set the device state to unlabeled.
10015 * perl/Amanda/Changer/compat.pm, perl/Amanda/Changer/multi.pm
10016 (set_label): works with undefined label.
10017 * perl/Amanda/Changer/robot.pm: small cleanup.
10018 * server-src/amrmtape.pl: Call reservation set_label method to remove
10019 the label from the state.
10020
10021 2011-12-02 Jean-Louis Martineau <martineau@zmanda.com>
10022 * man/xml-source/amanda.conf.5.xml (autolabel): Document it must match
10023 labelstr.
10024
10025 2011-12-01 Jean-Louis Martineau <martineau@zmanda.com>
10026 * device-src/s3-device.c (delete_file): Use multiple threads.
10027
10028 2011-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10029 * device-src/xfer-dest-taper-splitter.c: Set the xmsg even if the xfer
10030 is cancelled.
10031 * perl/Amanda/Taper/Scribe.pm: result is PARTIAL|FAILED if
10032 !last_part_successful.
10033
10034 2011-11-30 Jean-Louis Martineau <martineau@zmanda.com>
10035 * device-src/xfer-source-recovery.c (pull_buffer_impl): Release lock
10036 before calling wait_until_xfer_cancelled.
10037
10038 2011-11-28 Jean-Louis Martineau <martineau@zmanda.com>
10039 * server-src/amfetchdump.pl: Fix usage.
10040 * man/xml-source/amfetchdump.8.xml: Fix synopsis.
10041
10042 2011-11-25 Jean-Louis Martineau <martineau@zmanda.com>
10043 * installcheck/Makefile.am: Fix typo.
10044
10045 2011-11-25 Jean-Louis Martineau <martineau@zmanda.com>
10046 * installcheck/gnutar.pl: Change expectations to an array that can be
10047 scanned in order, fix for tar-1.25 on fc15.
10048
10049 2011-11-22 Jean-Louis Martineau <martineau@zmanda.com>
10050 * installcheck/Makefile.am: rm with '-f'.
10051
10052 2011-11-22 Jean-Louis Martineau <martineau@zmanda.com>
10053 * device-src/s3.c (build_url): curl is G_GNUC_UNUSED.
10054
10055 2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
10056 * server-src/amtape.pl: Fix 'amtape show' with one slot.
10057 * installcheck/amtape.pl: Test it.
10058
10059 2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
10060 * server-src/amreport.pl: Check if executable before open3().
10061 * installcheck/amreport.pl: Fix for new message.
10062
10063 2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
10064 * server-src/amtape.pl: Add [slots] argument to amtape show.
10065 * man/xml-source/amtape.8.xml: Document it.
10066
10067 2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
10068 * device-src/s3.c: Disable the service_path if it is set to an empty
10069 string or '/', also remove trailing slash.
10070
10071 2011-11-21 Jean-Louis Martineau <martineau@zmanda.com>
10072 * server-src/amdump.pl: Log a 'START planner date' line on error'.
10073
10074 2011-11-15 Jean-Louis Martineau <martineau@zmanda.com>
10075 * device-src/s3.c: Use curl_easy_escape.
10076
10077 2011-11-15 Jean-Louis Martineau <martineau@zmanda.com>
10078 * amplot/Makefile.am, application-src/Makefile.am,
10079 client-src/Makefile.am, common-src/Makefile.am,
10080 device-src/Makefile.am, server-src/Makefile.am: Add $(SCRIPTS_PERL)
10081 $(SCRIPTS_SHELL) and $(SCRIPTS_AWK) to CLEANFILES.
10082 Add config.log to DISTCLEANFILES.
10083 * installcheck/Makefile.am: Add $(all_tests) $(mocks)
10084 $(noinst_SCRIPTS) to CLEANFILES. Add config.log to DISTCLEANFILES
10085 (installcheck-local): Remove $(CONFIG_DIR)/amanda-client.conf,
10086 $(CONFIG_DIR)/template.d/dumptypes and
10087 $(CONFIG_DIR)/template.d/tapetypes is they were not present.
10088
10089 2011-11-14 Jean-Louis Martineau <martineau@zmanda.com>
10090 * installcheck/gnutar.pl: Fix for fc16.
10091
10092 2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
10093 * installcheck/mock/mtx.pl: Fix qw.
10094
10095 2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
10096 * server-src/amstatus.pl: Use Getopt::Long
10097
10098 2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
10099 * device-src/s3.c: Use CURLOPT_MAX_RECV_SPEED_LARGE.
10100
10101 2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
10102 * perl/Amanda/Logfile.pod: Remove match_* functions
10103 * perl/Amanda/Logfile.swg: Remove match_* functions
10104 * perl/Amanda/Util.pod: Add match_* functions
10105 * perl/Amanda/Util.swg: Add match_* functions
10106 * client-src/amdump_client.pl, perl/Amanda/DB/Catalog.pm,
10107 server-src/amdumpd.pl, server-src/amidxtaped.pl,
10108 server-src/amvault.pl: Use match_* functions for Amanda::Util
10109
10110 2011-11-10 Jean-Louis Martineau <martineau@zmanda.com>
10111 * perl/Amanda/Report.pm: Always report the first 100 strange lines.
10112 * installcheck/catalogs/longstrange.cat: Fix test.
10113
10114 2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
10115 * server-src/amreport.pl: Fix for perl-5.14
10116 * installcheck/amreport.pl: Add test.
10117
10118 2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
10119 * installcheck/Installcheck/Changer.pm: Fix warnign for perl 5.14.
10120
10121 2011-11-09 Jean-Louis Martineau <martineau@zmanda.com>
10122 * application-src/ampgsql.pl: Print state filename to debug file.
10123
10124 2011-11-07 Jean-Louis Martineau <martineau@zmanda.com>
10125 * device-src/s3-device.c: Add S3_SERVER_SIDE_ENCRYPTION property.
10126 * device-src/s3.c: Add server_side_encryption.
10127 * device-src/s3.h: Add server_side_encryption.
10128 * man/xml-source/amanda-devices.7.xml: Document
10129 S3_SERVER_SIDE_ENCRYPTION property
10130
10131 2011-11-07 Jean-Louis Martineau <martineau@zmanda.com>
10132 * perl/Amanda/Changer.pm (release): Always call finished_cb.
10133 * installcheck/amcheck-device.pl: Add a check.
10134
10135 2011-10-12 Jean-Louis Martineau <martineau@zmanda.com>
10136 * server-src/driverio.c (update_info_dumper): Set date to 0 if
10137 datestamp is 0.
10138
10139 2011-10-07 Jean-Louis Martineau <martineau@zmanda.com>
10140 * application-src/ampgsql.pl: If datadir is not set, use the disk
10141 argument.
10142
10143 2011-10-07 Jean-Louis Martineau <martineau@zmanda.com>
10144 * common-src/conffile.c: Do not free cwd.
10145 * common-src/amgetconf.pl: Allow to get one property.
10146 * installcheck/amgetconf.pl: Test it.
10147
10148 2011-10-05 Jean-Louis Martineau <martineau@zmanda.com>
10149 * device-src/s3.c: Retry in case of CURLE_SSL_CONNECT_ERROR error.
10150
10151 2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
10152 * installcheck/gnutar.pl: Add support for fc14 and fc15.
10153
10154 2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
10155 * recover-src/extract_list.c: Do not crahs if amidxtaped close the
10156 connection.
10157
10158 2011-10-04 Jean-Louis Martineau <martineau@zmanda.com>
10159 * device-src/s3.c: Correctly set thunk->next_marker.
10160
10161 2011-09-30 Dan Locks <dwlocks@zmanda.com>
10162 * packaging/common/substitute.pl: fix PKG_REV missing message.
10163 * packaging/sun-pkg/buildpkg, packaging/deb/buildpkg,
10164 packaging/rpm/buildpkg: create PKG_REV file until the machinery to
10165 process svn tags for PKG_REV is in place
10166
10167 2011-09-29 Dan Locks <dwlocks@zmanda.com>
10168 * packaging/sun-pkg: sun package subdirectories
10169 * packaging/sun-pkg/buildpkg: sun package building script
10170 * packaging/common/mock_utils.sh: mocked utilities used by pre/post
10171 scripts
10172 * packaging/common/post_inst_functions.sh,
10173 packaging/common/post_rm_functions.sh,
10174 packaging/common/pre_inst_functions.sh,
10175 packaging/common/common_functions.sh: shared shell functions for
10176 pre/post scripts.
10177 * packaging/common/substitute.pl: update to handle sun packages and
10178 shell functions
10179 * packaging/common/test_sh_libs.sh: unit tests for shell functions
10180 * packaging/common/shunit2: unit test framework
10181 * packaging/Makefile.am: add sun package to dist tarball.
10182 * note: S3 device is not enabled; solaris compilation has me stumped.
10183
10184 2011-09-21 Jean-Louis Martineau <martineau@zmanda.com>
10185 Patch by Sam Stuck
10186 * man/xml-source/amanda-changers.7.xml: Typo.
10187
10188 2011-09-20 Jean-Louis Martineau <martineau@zmanda.com>
10189 * man/Makefile.am (SERVER_MAN_PAGES): Add amcleanupdisk.8
10190 * man/xml-source/amcleanup.8.xml:Add -r option.
10191 * man/xml-source/amcleanupdisk.8.xml: New man page.
10192 * perl/Amanda/Holding.pm (all_files, merge_all_files, rename_tmp):
10193 New methods.
10194 * server-src/Makefile.am (amlibexec_PROGRAMS): Remove amcleanupdisk.
10195 * server-src/Makefile.am (sbin_SCRIPTS_PERL): Add amcleanupdisk.
10196 * server-src/amcleanup.pl: Add -r option.
10197 * server-src/amcleanupdisk.c: Remove file
10198 * server-src/amcleanupdisk.pl: New perl version.
10199 * server-src/holding.c: Fix max level to 399.
10200
10201 2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
10202 * installcheck/Amanda_Device.pl: Check setting a property with an
10203 invalid name.
10204
10205 2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
10206 * perl/Amanda/Device.swg: Do not g_value_unset an uninitialized value.
10207
10208 2011-09-07 Jean-Louis Martineau <martineau@zmanda.com>
10209 * application-src/amzfs-sendrecv.pl: restore works without --device.
10210
10211 2011-09-06 Jean-Louis Martineau <martineau@zmanda.com>
10212 * common-src/amcryptsimple.pl: Do not use gpg-agent if it is not
10213 available.
10214
10215 2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
10216 * client-src/selfcheck.c (print_platform): Another fix.
10217
10218 2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
10219 * common-src/amcryptsimple.pl: Use gpg-agent.
10220
10221 2011-09-02 Jean-Louis Martineau <martineau@zmanda.com>
10222 * client-src/selfcheck.c (print_platform): Fix.
10223
10224 2011-09-01 Jean-Louis Martineau <martineau@zmanda.com>
10225 * server-src/amadmin.c (export) parse version without patch number.
10226
10227 2011-09-01 Jean-Louis Martineau <martineau@zmanda.com>
10228 * perl/Amanda/ScanInventory.pm: Get the meta label before
10229 calling make_new_tape_label.
10230 * perl/Amanda/Taper/Scan/traditional.pm: Get the meta label before
10231 calling make_new_tape_label.
10232 * perl/Amanda/Taper/Scribe.pm: Return the reservation on error.
10233 * server-src/amcheck-device.pl: Release the reservation on error.
10234 * server-src/amtape.pl: Release the reservation on error,
10235 change 'amtape taper' output to be the same as amcheck.
10236 * installcheck/amtape.pl: Fix for new amtape output.
10237
10238 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10239 * common-src/debug.c (debug_printf): Print a thread id.
10240 * device-src/xfer-dest-taper-cacher.c,
10241 device-src/xfer-dest-taper-directtcp.c,
10242 device-src/xfer-dest-taper-splitter.c,
10243 device-src/xfer-source-recovery.c,
10244 server-src/xfer-dest-holding.c: Remove printing of thread id.
10245
10246 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10247 * server-src/dumper.c: filter stderr make result strange,
10248 filter exit_code != 0 make it fail.
10249
10250
10251 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10252 * application-src/amgtar.c: Do not rename gnutar-list if record is not
10253 set.
10254
10255 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10256 * server-src/tapefile.h (struct tape_s): Add blocksize.
10257 * server-src/tapefile.c: Print and parse blocksize in tapelist file.
10258 * perl/Amanda/Tapelist.swg: Print and parse blocksize in tapelist file.
10259 * perl/Amanda/Taper/Scribe.pm: Add blocksize argument to add_tapelabel.
10260 * server-src/amlabel.pl: Add blocksize argument to add_tapelabel.
10261 * installcheck/Amanda_Tapelist.pl: Fix for tapelist file format.
10262 * installcheck/amlabel.pl: Fix for tapelist file format.
10263
10264 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10265 * device-src/device.h (struct Device): Add header_block_size.
10266 * device-src/null-device.c, device-src/rait-device.c,
10267 device-src/s3-device.c, device-src/tape-device.c,
10268 device-src/vfs-device.c: Set header_block_size.
10269 * perl/Amanda/Device.swg: Swig header_block_size.
10270
10271 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10272 * installcheck/Amanda_Device.pl: Fix number of skipped test for S3.
10273
10274 2011-08-31 Jean-Louis Martineau <martineau@zmanda.com>
10275 * server-src/planner.c: Print why a disk is skip if DS_NOINC.
10276
10277 2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
10278 * installcheck/Amanda_Device.pl: Check invalid location on s3 device.
10279
10280 2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
10281 * device-src/s3.c (s3_is_bucket_exists): Do not retry if bucket do
10282 not exists.
10283
10284 2011-08-30 Jean-Louis Martineau <martineau@zmanda.com>
10285 * device-src/s3.c (s3_is_bucket_exists): New function to check if a
10286 bucket exists.
10287 * device-src/s3.h (s3_is_bucket_exists): Prototype.
10288 * device-src/s3-device.c: Call s3_is_bucket_exists before
10289 s3_make_bucket.
10290
10291 2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
10292 * perl/Amanda/Changer/multi.pm: Keep the device_error in the state file.
10293 * perl/Amanda/Changer/robot.pm: Keep the device_error in the state file.
10294 * server-src/amtape.pl (inventory): Print inventory device error.
10295 * installcheck/Amanda_Changer_multi.pl,
10296 installcheck/Amanda_Changer_ndmp.pl,
10297 installcheck/Amanda_Changer_robot.pl: Fix for device_error in
10298 state file.
10299
10300 2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
10301 * perl/Amanda/Changer.pm: Fix warning.
10302
10303 2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
10304 * installcheck/Amanda_Changer_ndmp.pl,
10305 installcheck/Amanda_Changer_robot.pl: Fix for previous patch.
10306
10307 2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
10308 * perl/Amanda/Changer/robot.pm: return a reservation even on error.
10309
10310 2011-08-29 Jean-Louis Martineau <martineau@zmanda.com>
10311 Patch by Gunar Gunnarsson
10312 * server-src/amvault.pl: Cast $dump->{'kb'} to int.
10313
10314 2011-08-24 Jean-Louis Martineau <martineau@zmanda.com>
10315 * man/xml-source/amanda-devices.7.xml: Update S3 location url.
10316
10317 2011-08-24 Jean-Louis Martineau <martineau@zmanda.com>
10318 * common-src/match.c: Fix for 'Trailing backslash' error
10319 * common-src/match-test.c: Add test
10320
10321 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10322 * amandad-src/amandad.c, client-src/calcsize.c,
10323 client-src/killpgrp.c, client-src/noop.c,
10324 client-src/rundump.c, client-src/runtar.c,
10325 client-src/selfcheck.c, client-src/sendbackup.c,
10326 client-src/sendsize.c, ndmp-src/amndmjob_main.c,
10327 server-src/amcleanupdisk.c, server-src/amindexd.c,
10328 server-src/amtrmidx.c, server-src/amtrmlog.c,
10329 server-src/driver.c, server-src/dumper.c,
10330 server-src/planner.c: Add a --version argument.
10331
10332 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10333 * common-src/amservice.c, recover-src/amrecover.c,
10334 server-src/amflush.c: #include "getopt.h"
10335
10336 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10337 * application-src/ampgsql.pl: add ARCHIVEDIR, CLEANUPWAL, DB,
10338 HOST, MAX-WAL-WAIT, PASSFILE, PORT, PSQL-PATH and USER
10339 properties.
10340 * man/xml-source/ampgsql.8.xml: Document them.
10341
10342 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10343 * common-src/amservice.c, recover-src/amrecover.c,
10344 server-src/amcheck.c, server-src/amflush.c: Add a --version argument.
10345
10346 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10347 * client-src/selfcheck.c: Check return value of fgets.
10348
10349 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10350 * many */*.pl: add --version option.
10351
10352 2011-07-27 Jean-Louis Martineau <martineau@zmanda.com>
10353 * application-src/ampgsql.pl: print to debug file and server if unlink
10354 fail.
10355
10356 2011-07-25 Jean-Louis Martineau <martineau@zmanda.com>
10357 * man/xml-source/amgtar.8.xml, man/xml-source/amraw.8.xml,
10358 man/xml-source/amsamba.8.xml, man/xml-source/amstar.8.xml,
10359 man/xml-source/amsuntar.8.xml,
10360 man/xml-source/amzfs-sendrecv.8.xml: Document the diskdevice.
10361
10362 2011-07-25 Jean-Louis Martineau <martineau@zmanda.com>
10363 * server-src/amcheck.c: new '--client-verbose' option.
10364 * man/xml-source/amcheck.8.xml: Document --client-verbos
10365 * config/amanda/progs.m4 (AMANDA_PROG_UNAME): new macro to find uname
10366 path.
10367 * configure.in: call AMANDA_PROG_UNAME.
10368 * client-src/client_util.c (check_access, check_file, check_dir,
10369 check_suid): return a gboolean.
10370 * client-src/client_util.h: Change prototypes.
10371 * client-src/selfcheck.c: Print the platform.
10372 * common-src/util.c (get_first_line): new function to return the first
10373 output line of a command.
10374 * common-src/util.h (get_first_line): add prototype.
10375 * application-src/amgtar.c, application-src/ampgsql.pl,
10376 application-src/amraw.pl, application-src/amsamba.pl,
10377 application-src/amstar.c, application-src/amsuntar.pl,
10378 application-src/amzfs-sendrecv.pl: print version of program.
10379
10380 2011-07-22 Jean-Louis Martineau <martineau@zmanda.com>
10381 * perl/Amanda/Changer.pm: Fix warning if $s is not used.
10382
10383 2011-07-22 Jean-Louis Martineau <martineau@zmanda.com>
10384 * perl/Amanda/Changer.pm: Support minimun number of digit in $3s
10385 autolabel template.
10386 * man/xml-source/amanda.conf.5.xml: Document it.
10387
10388 2011-07-21 Jean-Louis Martineau <martineau@zmanda.com>
10389 * perl/Amanda/Changer/multi.pm (do_release): Support eject params.
10390 * perl/Amanda/Changer/single.pm (do_release): Do the eject correctly.
10391
10392 2011-07-21 Jean-Louis Martineau <martineau@zmanda.com>
10393 * man/xml-source/amanda-taperscan.7.xml: Typo.
10394
10395 2011-07-20 Jean-Louis Martineau <martineau@zmanda.com>
10396 * common-src/conffile.h: Add CONF_EJECT_VOLUME
10397 * common-src/conffile.c: Add CNF_EJECT_VOLUME
10398 * man/xml-source/amanda.conf.5.xml: Document eject-volume.
10399 * perl/Amanda/Config.swg: Add CNF_EJECT_VOLUME.
10400 * perl/Amanda/Changer/single.pm: Eject the device if the eject
10401 params is set in $res->release()
10402 * perl/Amanda/Taper/Scribe.pm (new): Get eject_volume params.
10403 * perl/Amanda/Taper/Scribe.pm (_release_reservation): Call
10404 $res->release with the eject params if needed.
10405 * perl/Amanda/Taper/Worker.pm: Make the Scribe with the eject_volume
10406 params set to $CNF_EJECT_VOLUME
10407
10408 2011-07-20 Jean-Louis Martineau <martineau@zmanda.com>
10409 * perl/Amanda/Changer.pm (make_error): callback is optional.
10410 * perl/Amanda/Changer/disk.pm: Check if disk is mounted before locking.
10411 * perl/Amanda/ScanInventory.pm (_scan): fail only on fatal error.
10412 * perl/Amanda/Taper/Controller.pm: Put error message in double quote.
10413 * perl/Amanda/Taper/Worker.pm: Put message in double quote.
10414
10415 2011-07-19 Jean-Louis Martineau <martineau@zmanda.com>
10416 * server-src/driver.c (tape_action): consider number of dle on volume
10417 and max-dle-by-volume for allowing use of new volume.
10418
10419 2011-07-15 Jean-Louis Martineau <martineau@zmanda.com>
10420 * man/xml-source/amanda-changers.7.xml: Add chg-single documentation.
10421
10422 2011-07-14 Jean-Louis Martineau <martineau@zmanda.com>
10423 * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 3GiB.
10424
10425 2011-07-14 Jean-Louis Martineau <martineau@zmanda.com>
10426 * device-src/s3-device.c:Increase S3_DEVICE_MAX_BLOCK_SIZE to 5TiB.
10427
10428 2011-07-13 Jean-Louis Martineau <martineau@zmanda.com>
10429 * common-src/conffile.c: Add CONF_MAX_DLE_BY_VOLUME.
10430 * common-src/conffile.h: Add CNF_MAX_DLE_BY_VOLUME.
10431 * man/xml-source/amanda.conf.5.xml: Document max-dle-by-volume.
10432 * perl/Amanda/Config.swg: Add CNF_MAX_DLE_BY_VOLUME.
10433 * perl/Amanda/Taper/Controller.pm: Add msg_CLOSE_VOLUME method.
10434 * perl/Amanda/Taper/Protocol.pm: Add CLOSE_VOLUME.
10435 * perl/Amanda/Taper/Scribe.pm: Add close_volume method, call
10436 _get_new_volume() is close_volume was called.
10437 * perl/Amanda/Taper/Worker.pm: Add CLOSE_VOLUME method.
10438 * server-src/driver.c: Send CLOSE_VOLUME command to taper if the
10439 number of dle on a volume is larger than max-dle-by-volume
10440 * server-src/driverio.c: Send CLOSE_VOLUME command.
10441 * server-src/driverio.h: Add nb_dle to taper_t.
10442 * server-src/server_util.c: Add "CLOSE-VOLUME" to cmdstr.
10443 * server-src/server_util.h: Add CLOSE_VOLUME.
10444
10445 2011-07-12 Jean-Louis Martineau <martineau@zmanda.com>
10446 * config/amanda/libs.m4: Fix use of AC_LINK_IFELSE.
10447
10448 2011-07-12 Jean-Louis Martineau <martineau@zmanda.com>
10449 * common-src/match.c (match_word): better matching for anchored
10450 expression.
10451 * common-src/match-test.c: Add new tests.
10452
10453 2011-07-11 Jean-Louis Martineau <martineau@zmanda.com>
10454 Add '$s' substitution to autolabel.
10455 * perl/Amanda/Changer.pm (make_new_tape_label): Handle $s.
10456 * perl/Amanda/Taper/Scan/lexical.pm, perl/Amanda/Taper/Scan/oldest.pm,
10457 perl/Amanda/Taper/Scribe.pm: Call make_new_tape_label with the slot.
10458 * man/xml-source/amanda.conf.5.xml: Document $s substitution.
10459
10460 2011-07-08 Jean-Louis Martineau <martineau@zmanda.com>
10461 * perl/Amanda/Changer.pm: Fix compuation of npercents and
10462 nexclamations.
10463
10464 2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
10465 * config/ltmain.sh, config/lt~obsolete.m4, config/ltoptions.m4,
10466 config/ltsugar.m4, config/ltversion.m4: Upgrade libtool to 2.4
10467
10468 2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
10469 * config/amanda/libs.m4: Fix for newer aclocal
10470 * config/libtool.m4: Upgrade for compatibility with newwe aclocal
10471
10472 2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
10473 * Many *.c files: Fix for gcc-4.6.0 warning: variable ‘NAME’ set but
10474 not used.
10475
10476 2011-07-07 Jean-Louis Martineau <martineau@zmanda.com>
10477 * perl/Amanda/Taper/Scribe.pm: Keep the barcode when relabeling a tape
10478
10479 2011-07-05 Jean-Louis Martineau <martineau@zmanda.com>
10480 * perl/Amanda/Changer/robot.pm: Retry up to 120 seconds if the sense
10481 key is 'Not Ready'
10482
10483 2011-07-05 Jean-Louis Martineau <martineau@zmanda.com>
10484 * perl/Amanda/Changer.pm: Add letter based sequence to autolabel
10485 and meta-autolabel.
10486 * man/xml-source/amanda.conf.5.xml: Document them.
10487
10488 2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
10489 * application-src/amstar.c: s/stralloc/g_strdup/
10490
10491 2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
10492 * application-src/amstar.c: typo.
10493
10494 2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
10495 * server-src/driver.c: Call short_dump_state on all state change.
10496
10497 2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
10498 Patch by p_michalczyk
10499 * application-src/amstar.c: Place command_options at the and of
10500 command line.
10501
10502 2011-06-29 Jean-Louis Martineau <martineau@zmanda.com>
10503 Replace semaphore by amsemaphore.
10504 * common-src/Makefile.am: Remove semaphore.*, add amsemaphore.*
10505 * common-src/amsemaphore-test.c: New copy of semaphore-test.c
10506 * common-src/amsemaphore.c: New copy of semaphore.c
10507 * common-src/amsemaphore.h: New copy of semaphore.h
10508 * common-src/semaphore-test.c: Removed file.
10509 * common-src/semaphore.c: Removed file.
10510 * common-src/semaphore.h: Removed file.
10511 * device-src/rait-device.c: s/semaphore_/amsemaphore_/g
10512 * xfer-src/element-glue.c: s/semaphore_/amsemaphore_/g
10513 * xfer-src/element-glue.h: s/semaphore_/amsemaphore_/g
10514
10515 2011-06-28 Jean-Louis Martineau <martineau@zmanda.com>
10516 * server-src/driver.c: Check holding file is in a holding directory.
10517
10518 2011-06-27 Jean-Louis Martineau <martineau@zmanda.com>
10519 * man/xml-source/amanda-devices.7.xml: s/Witout/Without/
10520
10521 2011-06-27 Jean-Louis Martineau <martineau@zmanda.com>
10522 * server-src/xfer-dest-holding.c: Check return value of ftruncate.
10523 * perl/Amanda/Logfile.swg: Remove debugging statement.
10524
10525 2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
10526 * common-src/amanda.h: Remove KAMANDA_SERVICE_NAME, SERVICE_SUFFIX,
10527 AMANDA_SERVICE_DEFAULT and KAMANDA_SERVICE_DEFAULT.
10528 * common-src/bsd-security.c: Use AMANDA_SERVICE_NAME.
10529 * common-src/bsdtcp-security.c: Use AMANDA_SERVICE_NAME.
10530 * common-src/bsdudp-security.c: Use AMANDA_SERVICE_NAME.
10531 * common-src/util.c: Use AMANDA_SERVICE_NAME.
10532 * config/amanda/debugging.m4: Remove AMANDA_WITH_TESTING
10533 * configure.in: Remove AMANDA_WITH_TESTING.
10534 * oldrecover-src/amrecover.c: Remove SERVICE_SUFFIX.
10535 * oldrecover-src/extract_list.c: Remove SERVICE_SUFFIX.
10536 * client-src/patch-system.sh: Set SERVICE_SUFFIX to "".
10537
10538 2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
10539 * server-src/chunker.c: Remove file.
10540 * server-src/chunker.pl: New perl chunker.
10541 * perl/Amanda/Chunker/Controller.pm,
10542 perl/Amanda/Chunker/Protocol.pm,
10543 perl/Amanda/Chunker/Scribe.pm: Perl object for chunker.
10544 * perl/Amanda/Logfile.swg (make_chunker_stats): New function.
10545 * perl/Amanda/XferServer.swg: Add Amanda::Xfer::Dest::Holding.
10546 * perl/Amanda/Xfer.pod: Document Amanda::Xfer::Dest::Holding.
10547 * perl/Amanda/Xfer.swg: Add XMSG_CHUNK_DONE and new xmsg arguments.
10548 * perl/Makefile.am: Add Amanda::Chunker::*
10549 * server-src/Makefile.am (amlibexec_PROGRAMS): Remove chunker.
10550 * server-src/Makefile.am (amlibexec_SCRIPTS_PERL): Add chunker.
10551 * server-src/driver.c: Fix for new protocol with chunker.
10552 * server-src/driverio.c: Fix for new protocol with chunker.
10553 * server-src/driverio.h: Add sendresult in chunker_t.
10554 * server-src/xfer-dest-holding.c: New xfer destination for holding disk
10555 * server-src/xfer-server.h: Add function for xfer_dest_holding.
10556 * xfer-src/xmsg.h: Add XMSG_CHUNK_DONE in xmsg_type.
10557 Add header_size, data_size and no_room in XMsg.
10558 * installcheck/chunker.pl: Check new chunker protocol.
10559
10560 2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
10561 * man/xml-source/amanda-client.conf.5.xml: Add amdump-server.
10562 * man/xml-source/amdump_client.8.xml: Fix doc.
10563
10564 2011-06-21 Jean-Louis Martineau <martineau@zmanda.com>
10565 * perl/Amanda/Taper/Scribe.pm: Fix add_tapelabel call.
10566
10567 2011-06-20 Jean-Louis Martineau <martineau@zmanda.com>
10568 * perl/Amanda/Taper/Scribe.pm: Correcly make label with meta and barcode
10569
10570 2011-06-20 Jean-Louis Martineau <martineau@zmanda.com>
10571 * man/xml-source/amrecover.8.xml: Document new settranslate command.
10572 * recover-src/amrecover.c: Add disk_tpath,
10573 * recover-src/amrecover.c (translate_octal): New function.
10574 * recover-src/amrecover.h: Add tpath to DIR_ITEM.
10575 * recover-src/display_commands.c: Set and use tpath.
10576 * recover-src/extract_list.c: Use tpath
10577 * recover-src/help.c: Add settranslate command.
10578 * recover-src/set_commands.c: Set and tpath.
10579 * recover-src/uparse.y: Parse settranslate command.
10580 * recover-src/uscan.l: Add SETTRANSLATE keyword.
10581
10582 2011-06-17 Jean-Louis Martineau <martineau@zmanda.com>
10583 * perl/Amanda/Changer/robot.pm, perl/Amanda/Recovery/Planner.pm,
10584 perl/Amanda/Recovery/Clerk.pm,
10585 perl/Amanda/Taper/Scribe.pm: Fix for qw syntax in perl 5.14.
10586
10587 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10588 * common-src/match.c: implement regex caching with two mutex-protected
10589 GHashTables (one for REG_NEWLINE, one for !REG_NEWLINE)
10590
10591 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10592 * common-src/match.c: rename do_validate_regex() to do_regex_compile()
10593
10594 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10595 * common-src/match.c: match_word(): earlier init of static data
10596
10597 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10598 * common-src/match.c: static corner case regex definitions for
10599 match_word()
10600
10601 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10602 * common-src/match.c: match_word(): push down nglob variable, rename it
10603 to glob_copy
10604
10605 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10606 * common-src/match.c: move word wrapping out of match_word() into new
10607 helper wrap_word()
10608
10609 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10610 * common-src/match.c: ambloc_to_regex(): calculate worst case expansion
10611 dynamically
10612
10613 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10614 * common-src/match.c: ambloc_to_regex(): pass beginning and end of regex
10615 as arguments
10616
10617 2011-06-13 Francis Galiegue <fgaliegue@gmail.com>
10618 * common-src/match.c: group functions logically together, add comments
10619
10620 2011-06-13 Jean-Louis Martineau <martineau@zmanda.com>
10621 * perl/Amanda/Taper/Worker.pm: s/messsage/message/.
10622
10623 2011-06-09 Dustin J. Mitchell <dustin@mozilla.com>
10624 * client-src/selfcheck.c: Push down tmpbuf and remove some duplicate
10625 code; fixes compiles with SAMBA_VERSION not defined
10626
10627 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10628 * gnulib/*: revert blind perl one-liner replacement of alloc to
10629 g_malloc, by doing the reverse transform exactly
10630
10631 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10632 * oldrecover-src/amrecover.c: fix one more wrong g_str_has_prefix()
10633 usage
10634
10635 2011-06-09 Jean-Louis Martineau <martineau@zmanda.com>
10636 * oldrecover-src/extract_list.c,
10637 recover-src/extract_list.c: Fix g_str_has_prefix.
10638 * server-src/amtrmlog.c: Revert g_str_has_prefix. fix.
10639
10640 2011-06-09 Jean-Louis Martineau <martineau@zmanda.com>
10641 * server-src/amindexd.c: Fix g_str_has_prefix.
10642
10643 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10644 * Many files (77): use g_str_equal() insteadl of strcmp(...) == 0 (and
10645 reverse),use g_str_has_prefix() instead of strncmp(...) == 0 (and
10646 reverse)
10647
10648 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10649 * common-src/alloc.c, common-src/amanda.h: goodbye vstrextend() and
10650 internal_vstralloc()
10651
10652 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10653 * server-src/tapefile.c: list_new_tapes(): replace vstrextend() usage
10654 with a GString; rework exit paths
10655
10656 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10657 * server-src/dumper.c: delay_one_dump(): replace vstrextend() with a
10658 GPtrArray/GString combination; create one local variable
10659
10660 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10661 * server-src/dumper.c: startup_dump(): replace vstrextend() with a
10662 GString; fix boolean usage
10663
10664 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10665 * server-src/driverio.c: dumper_cmd(): replace vstrextend() usage with a
10666 GPtrArray, and replace some g_strjoin() usages with g_strdup_printf()
10667
10668 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10669 * server-src/diskfile.c: match_disklist(): replace vstrextend() with a
10670 GString; fix spelling mistake
10671 * installcheck/amadmin.pl: account for spelling mistake
10672
10673 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10674 * server-src/diskfile.c: xml_scripts(): replace vstrextend() with a
10675 GString
10676
10677 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10678 * server-src/diskfile.c: xml_application(): replace vstrextend() with a
10679 GString
10680
10681 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10682 * server-src/diskfile.c: xml_property(): replace vstrextend() with a
10683 GString
10684
10685 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10686 * server-src/diskfile.c: xml_estimate(): replace vstrextend() with a
10687 GString
10688
10689 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10690 * server-src/diskfile.c: xml_optionstr(): replace vstrextend() with a
10691 GPtrArray and a GString
10692
10693 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10694 * server-src/diskfile.c: optionstr(): replace vstrextend() with a
10695 GPtrArray
10696
10697 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10698 * server-src/amindexd.c: main(): replace vstrextend() with a GString
10699
10700 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10701 * server-src/amcheck.c: start_host(): replace vstrextend() with a
10702 GString
10703
10704 2011-06-09 Francis Galiegue <fgaliegue@gmail.com>
10705 * recover-src/extract_list.c: read_amidxtaped_data(): replace
10706 vstrextend() with g_strdup_printf()
10707
10708 2011-06-07 Jean-Louis Martineau <martineau@zmanda.com>
10709 * application-src/amgtar.c: Do not check optarg, we know it is not null
10710 * common-src/conffile.c: Do not check key_ovr, we know it is not null
10711
10712 2011-06-06 Satya Ganga <gsat@zmanda.com>
10713 * perl/Amanda/Application/Zfs.pm: Use correct device name, we have to
10714 use user provided Disk device name.
10715
10716 2011-06-06 Jean-Louis Martineau <martineau@zmanda.com>
10717 * client-src/rundump.c: Fix cast of g_ptr_array_free to (gchar **).
10718
10719 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10720 * common-src/util.c: remove usage of vstrextend() by using a GString. No
10721 choice here, we have to peek into the GPtrArray.
10722
10723 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10724 * common-src/tapelist.c: remove usages of vstrextend() with a
10725 GPtrArray/GString combination
10726
10727 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10728 * common-src/pipespawn.c: remove usage of vstrextend() with a GPtrArray
10729
10730 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10731 * common-src/fileheader.c: remove usage of vstrextend() with a GPtrArray
10732
10733 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10734 * common-src/conffile.c: replace the third and final usage of vstrextend()
10735 in exinclude_display_str()
10736
10737 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10738 * common-src/conffile.c: replace the second usage of vstrextend() in
10739 proplist_display_str_foreach_fn() using a GPtrArray
10740
10741 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10742 * common-src/conffile.c: replace one usage of vstrextend() in
10743 val_t_display_strs() with a GString
10744
10745 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10746 * common-src/amservice.c: use a GString in replacement of vstrextend()
10747
10748 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10749 * server-src/planner.c: use a GPtrArray to collect client estimate
10750 strings
10751
10752 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10753 * server-src/planner.c: shortcut when no client estimates are to be done
10754 - one less indendation level
10755
10756 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10757 * server-src/planner.c: get text-based estimate string generation out of
10758 getsize()
10759
10760 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10761 * server-src/planner.c: remove variables qname and qdevice
10762
10763 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10764 * server-src/planner.c: push down variables qname and qdevice
10765
10766 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10767 * server-src/planner.c: use the previously create GString all along to
10768 append to the request
10769
10770 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10771 * server-src/planner.c: check for the number of estimates available
10772 rather than the string concatenation of them
10773
10774 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10775 * server-src/planner.c: push up optionstr() check
10776
10777 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10778 * server-src/planner.c: rework DLE estimate string generation in the non
10779 XML case
10780
10781 2011-06-04 Francis Galiegue <fgaliegue@gmail.com>
10782 * server-src/planner.c: extripate XML DLE estimate generation out of
10783 getsize() into a new helper function
10784
10785 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10786 * client-src/sendsize.c: remove the second usage of vstrextend() by
10787 using g_ptr_array_free(..., FALSE) and g_strjoinv() on an existing
10788 GPtrArray; avoid accessing its ->ptr member: you shouldn't do that
10789
10790 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10791 * client-src/sendsize.c: remove one usage of vstrextend() by using
10792 g_ptr_array_free(..., FALSE) and g_strjoinv() on an existing GPtrArray;
10793 avoid accessing its ->ptr member: you shouldn't do that
10794
10795 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10796 * client-src/selfcheck.c: build the command line using a GPtrArray
10797 instead of vstrextend(); don't peek into the original GPtrArray
10798
10799 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10800 * client-src/runtar.c: build the command line using a GPtrArray
10801 instead of vstrextend()
10802
10803 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10804 * client-src/rundump.c: build the command line using a GPtrArray
10805 instead of vstrextend()
10806
10807 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10808 * client-src/client_util.c: don't peek into the GPtrArray directly, but
10809 use g_ptr_array_free(..., FALSE) and g_strjoinv() instead; this
10810 removes a usage of vstrextend()
10811
10812 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10813 * application-src/amgtar.c: use a GString to build the error buffer
10814 instead of vstrextend()
10815
10816 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10817 * amandad-src/amandad.c: replace vstrextend() usage by using a GString
10818
10819 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10820 * server-src/planner.c: variable renaming and type change: "time_t
10821 estimates" is now "int total_estimates"; new local variable
10822 "estimates_for_client" as placeholder for "i" when appropriate
10823
10824 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10825 * server-src/planner.c: use g_strdup_printf() instead of g_strjoin() to
10826 build various strings; remove 4 local variables in the process
10827
10828 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10829 * server-src/planner.c: write the beginning of a request using a GString
10830 instead of using g_strjoin()
10831
10832 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10833 * server-src/planner.c: deal with noop first, jump to a new label
10834 "send", and reindent - one less indentation level
10835
10836 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10837 * server-src/planner.c: Define nb_client, nb_server and has_* earlier.
10838 This is a preparation for the next commit.
10839
10840 2011-06-03 Francis Galiegue <fgaliegue@gmail.com>
10841 * server-src/planner.c: remove two unused variables
10842
10843 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10844 * client-src/sendbackup-dump.c: fix compile error due to undeclared
10845 tmpbuf, remove tmpbuf entirely
10846
10847 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10848 * Many files (12): remove unndeeded uses of the temporary variable
10849 tmpbuf in the g_strdup_printf(e1, e2, ..., NULL) case
10850
10851 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10852 * Many files (15): remove unndeeded uses of the temporary variable
10853 tmpbuf in the g_strconcat(e1, e2, ..., NULL) case
10854
10855 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10856 * Many files (14): remove unndeeded uses of the temporary variable
10857 tmpbuf in the g_strconcat(e1, e2, NULL) case
10858
10859 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10860 * Many files (14): Get rid of newvstrallocf()
10861 * common-src/amanda.h, common-src/alloc.c: remove macro, prototypes,
10862 implementation
10863
10864 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10865 * Many files (20): Get rid of newvstralloc()
10866 * common-src/amanda.h, common-src/alloc.c: remove macro, prototypes,
10867 implementation
10868
10869 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10870 * Many files (6): Get rid of newstralloc2()
10871 * common-src/amanda.h: remove macro
10872
10873 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10874 * Many files (28): Get rid of stralloc2()
10875 * common-src/amanda.h: remove macro
10876
10877 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10878 * Many files (30): Get rid of newstralloc()
10879 * common-src/alloc.c, common-src/amanda.h: remove macros, prototypes,
10880 implementation
10881
10882 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10883 * client-src/getfsent.c: remove dev2rdev() and remnant artifacts in
10884 search_fstab() and samefile()
10885 * common-src/genversion.c, installcheck/catalogs/chunker-partial.cat:
10886 remove RDEV_PREFIX references
10887 * config/amanda/devprefix.m4: remove RDEV_PREFIX detection
10888
10889 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10890 * common-src/conffile.c: use execute_on_to_string() in
10891 val_t_display_strs()
10892
10893 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10894 * common-src/conffile.c: use execute_on_to_string() in
10895 val_t_display_strs()
10896
10897 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10898 * common-src/conffile.c: add execute_on_to_string() helper
10899
10900 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10901 * common-src/conffile.h: harden EXECUTE_ON_* macro definitions
10902
10903 2011-06-02 Francis Galiegue <fgaliegue@gmail.com>
10904 * server-src/dumper.c: fix a missing switch of default auth to BSDTCP
10905
10906 2011-06-01 Dustin J. Mitchell <dustin@mozilla.com>
10907 * perl/Amanda/Holding.pm: fix _is_datestamp regexp to be anchored and
10908 handle errors better (logging and ignoring)
10909
10910 2011-06-01 Francis Galiegue <fgaliegue@gmail.com>
10911 * server-src/diskfile.c: fix a memory leak in xml_scripts()
10912
10913 2011-06-01 Francis Galiegue <fgaliegue@gmail.com>
10914 * server-src/diskfile.c: fix a memory leak in xml_application()
10915
10916 2011-06-01 Francis Galiegue <fgaliegue@gmail.com>
10917 * server-src/cmdline.c: fix braino with g_strjoinv() usage,
10918 g_strjoinv("xx", { NULL, }) will return an empty string, not NULL
10919
10920 2011-05-31 Francis Galiegue <fgaliegue@gmail.com>
10921 * server-src/diskfile.[ch]: change method signature for
10922 validate_optionstr(), it now returns a gchar ** instead of a
10923 GPtrArray *, and the result is dynamicallu allocated
10924 * server-src/amcheck.c, server-src/amindexd.c, server-src/driver.c,
10925 server-src/planner.c: adapt call sites; fix memory leak for the two
10926 latter, and wrong behaviour for all of them (you cannot
10927 g_ptr_array_free(..., TRUE) on statically allocated members)
10928
10929 2011-05-31 Jean-Louis Martineau <martineau@zmanda.com>
10930 * configure.in: Move AMANDA_S3_DEVICE to do libcurl detection later.
10931
10932 2011-05-31 Jean-Louis Martineau <martineau@zmanda.com>
10933 * NEWS, ReleaseNotes: Update for 3.3.0 release.
10934
10935 2011-05-31 Francis Galiegue <fgaliegue@gmail.com>
10936 * server-src/diskfile.c: fix unbalanced tag in xml_estimate()
10937
10938 2011-05-31 Francis Galiegue <fgaliegue@gmail.com>
10939 * server-src/diskfile.c: avoid potential SIGSEGV by trying to assign to
10940 local variables "their_features" too soon in optionstr() and
10941 xml_optionstr(); also remove an unneeded local variable in both
10942 functions
10943
10944 2011-05-31 Francis Galiegue <fgaliegue@gmail.com>
10945 * server-src/diskfile.c: remove unneeded if(var) test in
10946 xml_optionstr(), the variable tested was never NULL
10947
10948 2011-05-30 Jean-Louis Martineau <martineau@zmanda.com>
10949 * server-src/list_dir.c: fix add_dir_list_item.
10950
10951 2011-05-27 Dan Locks <dwlocks@zmanda.com>
10952 * packaging/rpm/amanda.spec.src: replace enable-as-needed rpm macro
10953 with enable_as_needed.
10954
10955 2011-05-24 Dan Locks <dwlocks@zmanda.com>
10956 * packaging/deb/rules: use --enable-as-needed
10957 * packaging/rpm/amanda.spec.src: use --enable-as-needed except on
10958 sles9, where ld does not have the --as-needed flag.
10959
10960 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10961 * common-src/debug.c: debug_unlink_old(): the realloc was meant to
10962 happen each time the loop was entered and dbfilename was not NULL, fix
10963
10964 2011-05-24 Jean-Louis Martineau <martineau@zmanda.com>
10965 * application-src/ampgsql.pl: Parse and filter stdout/stderr of
10966 commands.
10967
10968 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10969 * common-src/conffile.c: the prototype for str_keyword() was defined
10970 twice, remove one definition
10971
10972 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10973 * common-src/krb5-security.c: use cpp's #error to signal the lack of
10974 atexit()
10975
10976 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10977 * common-src/genversion.c: use do { ... } while(0) to #define
10978 the startline() macro
10979
10980 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10981 * server-src/cmdline.c: [GLib] rewrite
10982 cmdline_format_dumpspec_components() using a GPtrArray and
10983 g_strjoinv()
10984
10985 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10986 * client-src/sendbackup-dump.c, common-src/debug.c,
10987 common-src/krb5-security.c, common-src/security-util.c,
10988 recover-src/amrecover.c, recover-src/extract_list.c,
10989 server-src/dumper.c, server-src/planner.c: use newstralloc() where
10990 possible instead of /^newvstrallocf?/()
10991
10992 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10993 * common-src/debug.c: remove tests for failled allocations and allocate
10994 directly, failed allocations would make the program abort anyway
10995
10996 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
10997 * common-src/amanda.h, common-src/alloc.c: remove dead function and
10998 prototypes of newalloc()
10999
11000 2011-05-23 Francis Galiegue <fgaliegue@gmail.com>
11001 * common-src/arglist.h: remove
11002 * common-src/amanda.h: define the arglist_{start,val,end} macros here
11003 * various *.[ch]: redeclare header/static function prototypes using
11004 G_GNUC_PRINTF()
11005
11006 2011-05-22 Dustin J. Mitchell <dustin@mozilla.com>
11007 * installchecks/Amanda_Config.pl: add columnspec validation tests
11008
11009 2011-05-22 Francis Galiegue <fgaliegue@gmail.com>
11010 * common-src/conffile.c: implement columnspec validation
11011 * server-src/amcheck.c: remove columnspec validation in
11012 start_server_check()
11013 * common-src/columnar.[ch]: remove; update Makefile.am accordingly
11014
11015 2011-05-18 Jean-Louis Martineau <martineau@zmanda.com>
11016 * Fix for default BSDTCP auth.
11017
11018 2011-05-18 Jean-Louis Martineau <martineau@zmanda.com>
11019 * amandad-src/amandad.c,
11020 common-src/conffile.c: Change default auth to bsdtcp.
11021 * NEWS, ReleaseNotes: Change default auth to bsdtcp.
11022 * example/amanda-client.conf.in,
11023 example/amanda.conf.in: Change default auth to bsdtcp.
11024 * man/xml-source/amanda-auth.7.xml,
11025 man/xml-source/amanda-client.conf.5.xml,
11026 man/xml-source/amanda.conf.5.xml,
11027 man/xml-source/amrecover.8.xml: Change default auth to bsdtcp.
11028
11029 2011-05-18 Dustin J. Mitchell <dustin@mozilla.com>
11030 * common-src/event.c common-src/event.h: add event_loop_run and
11031 event_loop_quit to mirror g_main_loop_run/quit
11032 * perl/Amanda/MainLoop.swg: use them from Amanda::MainLoop
11033
11034 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11035 * amandad-src/amandad.c: remove a stralloc() leftover :(
11036
11037 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11038 * amandad-src/amandad.c: use switch instead of if ... else if ... to
11039 handle error buffer appends
11040
11041 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11042 * amandad-src/amandad.c: append to errbuf when a read error occurs on
11043 errfd - the message was created but never used
11044
11045 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11046 * amandad-src/amandad.c: ensure NETWORK_BLOCK_BYTES are available to
11047 read replies
11048
11049 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11050 * amandad-src/amandad.c: factorize reply buffer offset handling, it is
11051 the same for n >= 0
11052
11053 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11054 * amandad-src/amandad.c: handle reply buffer extension in only one place
11055
11056 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11057 * common-src/file.c: GLib: rewrite sanitise_filename() as a simple
11058 wrapper over g_strdelimit()
11059
11060 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11061 * Many files (51): GLib: change vstralloc(...) for g_strjoin(NULL, ...)
11062 * common-src/alloc.c, common-src/amanda.h: remove prototypes/macros of
11063 vstralloc()
11064 * server-src/driverio.c: add one missing NULL to the list of arguments
11065 along the way
11066
11067 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11068 * Many files (31): GLib: change vstrallocf() for g_strdup_printf();
11069 change to a simple g_strup() when possible
11070 * common-src/alloc.c, common-src/amanda.h: remove prototypes/macros of
11071 vstrallocf()
11072
11073 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11074 * Many files (54): GLib: change alloc() for g_malloc()
11075 * common-src/alloc.c, common-src/amanda.h: remove prototypes/macros of
11076 alloc()
11077
11078 2011-05-18 Francis Galiegue <fgaliegue@gmail.com>
11079 * Many files (79): GLib: change stralloc() for g_strdup()
11080 * common-src/alloc.c, common-src/amanda.h: remove prototypes/macros of
11081 stralloc()
11082
11083 2011-05-17 Jean-Louis Martineau <martineau@zmanda.com>
11084 * installcheck/gnutar.pl: Fix gnutar pattern matching for gtar 1.25.
11085
11086 2011-05-17 Jean-Louis Martineau <martineau@zmanda.com>
11087 * device-src/ndmp-device.c: s/NDMP4_/NDMP9_/g
11088
11089 2011-05-17 Jean-Louis Martineau <martineau@zmanda.com>
11090 * man/xml-source/amrecover.8.xml: Add an AUTH section.
11091
11092 2011-05-13 Francis Galiegue <fgaliegue@gmail.com>
11093 * amandad-src/amandad.c: in recv_errfd(): two more NETWORK_BLOCK_BYTES
11094 usages and a fix: g_snprintf() conforms to C99 and the C99 standard
11095 states that the result string will always be nul terminated
11096
11097 2011-05-13 Francis Galiegue <fgaliegue@gmail.com>
11098 * amandad-src/amandad.c: in recv_errfd(): fix 'buf' local variable
11099 handling (you should write to buf, not &buf, and when n bytes have
11100 been read, you should zero byte[n], not byte[n+1])
11101
11102 2011-05-13 Francis Galiegue <fgaliegue@gmail.com>
11103 * amandad-src/amandad.c: use the NETWORK_BLOCK_BYTES constant to declare
11104 the size of local variable 'buf' in recv_errfd()
11105
11106 2011-05-13 Jean-Louis Martineau <martineau@zmanda.com>
11107 * perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Protocol.pm,
11108 perl/Amanda/Taper/Worker.pm: Remove uneeded '#! @PERL@' first line.
11109
11110 2011-05-12 Jean-Louis Martineau <martineau@zmanda.com>
11111 * server-src/amdump.pl: s/Catched/Caught/
11112
11113 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11114 * Many files (19): get rid of custom array size calculations, use
11115 GLib's G_N_ELEMENTS() instead; some minor cleanups along the way.
11116 NOTE: gnulib's sources UNTOUCHED
11117
11118 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11119 * Many files (63): get rid of the SIZEOF() macro, replace with sizeof()
11120 everywhere
11121
11122 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11123 * device-src/device.c: further simplify device name validation; the
11124 errmsg argument to validate_device_name() was not necessary anymore,
11125 remove and adapt device_open() accordingly
11126
11127 2011-05-12 Jean-Louis Martineau <martineau@zmanda.com>
11128 * server-src/amdump.pl: Trap ctrl-c while backup is running, resume by
11129 sending email and log rotation.
11130
11131 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11132 * server-src/chunker.c: in do_chunk(): full_read() error checking was
11133 done only after two calls to amclose(), which potentially sets errno;
11134 fix by using read_fully(), capture a possible read error, and check it
11135 at the correct place instead
11136
11137 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11138 * ndmp-src/amndma_tape_simulator.c: "full_read() vs read(2)" behavior
11139 confusion fix; check only for errors
11140
11141 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11142 * device-src/xfer-dest-taper-splitter.c: "full_read() vs read(2)"
11143 behavior confusion fix; ignore error checking
11144
11145 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11146 * amar-src/amar.c: fix "full_read() vs read(2)" behavior confusion,
11147 full_read does NOT return -1 on error. Rework the function as to
11148 avoid goto. Comment on the fact that we want to read as much as
11149 possible even if an error occurs.
11150
11151 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11152 * xfer-src/element-glue.c: use read_fully(), and modify error reporting.
11153 Since the read operation output can be captured straight on by
11154 read_fully(), use that opportunity here instead of grabbing a saved
11155 errno
11156
11157 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11158 * amar-src/amar.c, common-src/amflock.c,
11159 device-src/xfer-dest-taper-cacher.c, server-src/amcheck.c,
11160 server-src/chunker.c, server-src/driver.c, server-src/holding.c,
11161 server-src/xfer-source-holding.c, xfer-src/element-glue.c,
11162 xfer-src/xfer-element.c, xfer-src/xfer-test.c: straight replacement of
11163 full_read(...) with read_fully(..., NULL) since in these usages error
11164 checking was not done
11165
11166 2011-05-11 Francis Galiegue <fgaliegue@gmail.com>
11167 * common-src/file.[ch]: new read_fully() function, designed to replace
11168 usages of full_read() which, even though it shares its prototype with
11169 read(2), behaves very differently and leads (and has led) to
11170 convoluted codes in some places, and bugs in other places
11171
11172 2011-05-11 Jean-Louis Martineau <martineau@zmanda.com>
11173 * perl/Amanda/Script_App.pm: Call finish_application before exit,
11174 exit as last statement of the do method.
11175 * application-src/amlog-script.pl, application-src/ampgsql.pl,
11176 application-src/amraw.pl, application-src/amsamba.pl,
11177 application-src/amsuntar.pl, application-src/amzfs-sendrecv.pl,
11178 application-src/amzfs-snapshot.pl,
11179 application-src/script-email.pl: Add --version option, do not exit
11180 at end of command_* method.
11181
11182 2011-05-10 Jean-Louis Martineau <martineau@zmanda.com>
11183 * perl/Amanda/Taper/Scribe.pm: Call $device->finish() before
11184 $device->read_label(), A device must be in ACCESS_NULL for read_label.
11185
11186 2011-05-09 Francis Galiegue <fgaliegue@gmail.com>
11187 * device-src/device.c: rework full device name validation
11188
11189 2011-05-08 Francis Galiegue <fgaliegue@gmail.com>
11190 * device-src/device.c: add missing regfree() in case or regex compile
11191 failure
11192
11193 2011-05-07 Francis Galiegue <fgaliegue@gmail.com>
11194 * device-src/ndmp-device.c: fix gcc 4.5.x warnings with enums
11195
11196 2011-05-06 Jean-Louis Martineau <martineau@zmanda.com>
11197 * application-src/amgtar.c: Fix errors/warnings found by klocwork
11198 * application-src/amstar.c: Fix errors/warnings found by klocwork
11199
11200 2011-05-06 Jean-Louis Martineau <martineau@zmanda.com>
11201 * common-src/security-util.c: Fix klocwork bug.
11202
11203 2011-05-05 Jean-Louis Martineau <martineau@zmanda.com>
11204 * common-src/conffile.c: Do not crash on unterminated quoted string.
11205
11206 2011-05-05 Jean-Louis Martineau <martineau@zmanda.com>
11207 * application-src/amzfs-sendrecv.pl: Implement restore.
11208 Generate index with only '/'.
11209 * perl/Amanda/Application/Zfs.pm: Add $self->{filesystem} on some
11210 command, improve zfs_build_snapshotname.
11211 * server-src/list_dir.c (add_dir_list_item): Check if same dump.
11212
11213 2011-05-05 Jean-Louis Martineau <martineau@zmanda.com>
11214 * common-src/local-security.c: Call initgroups before executing amandad
11215
11216 2011-05-05 Jean-Louis Martineau <martineau@zmanda.com>
11217 * server-src/driver.c: Do not count dup to tape when checking space
11218 on holdingdisk.
11219
11220 2011-05-02 Jean-Louis Martineau <martineau@zmanda.com>
11221 Fix many errors/warnings found by klocwork
11222 * Many files.
11223
11224 2011-04-29 Jean-Louis Martineau <martineau@zmanda.com>
11225 * device-src/s3.c: Do not get "location" if bucket_location is not set.
11226
11227 2011-04-29 Jean-Louis Martineau <martineau@zmanda.com>
11228 * server-src/driver.c: Reply immediately a NO_NEW_TAPE if taper ask
11229 REQUEST_NEW_TAPE after it is in TAPER_STATE_DONE.
11230
11231 2011-04-27 Jean-Louis Martineau <martineau@zmanda.com>
11232 * perl/Amanda/Device.swg: Do not crash if an unknown device-property
11233 is set.
11234
11235 2011-04-26 Jean-Louis Martineau <martineau@zmanda.com>
11236 Fix many errors/warnings found by klocwork
11237 * Many files.
11238
11239 2011-04-26 Jean-Louis Martineau <martineau@zmanda.com>
11240 * device-src/s3-device.c: Split the threads property in
11241 nb_threads_backup and nb_treads_recovery.
11242 * man/xml-source/amanda-devices.7.xml: Document it.
11243
11244 2011-04-20 Jean-Louis Martineau <martineau@zmanda.com>
11245 * server-src/planner.c: Improve balancing if some dle have strategy
11246 noinc or a smaller dumpcycle.
11247
11248 2011-04-19 Jean-Louis Martineau <martineau@zmanda.com>
11249 * server-src/amidxtaped.pl: Do the uncompress if client can't do it.
11250
11251 2011-04-19 Jean-Louis Martineau <martineau@zmanda.com>
11252 * perl/Amanda/Changer.pm: new changer error: empty.
11253 * perl/Amanda/Changer/robot.pm: return empty slot.
11254 * perl/Amanda/Taper/Scan/traditional.pm: Handle empty slot.
11255
11256 2011-04-19 Jean-Louis Martineau <martineau@zmanda.com>
11257 Make s3 works with Eucalyptus.
11258 * device-src/s3-device.c: Add S3_HOST, S3_SERVICE_PATH and
11259 S3_SUBDOMAIN properties. Handle NoSuchEntity and
11260 BucketAlreadyOwnedByYou error.
11261 * device-src/s3.c: Build url from new properties.
11262 * device-src/s3.h: New s3_open prototype.
11263 * man/xml-source/amanda-devices.7.xml: Document S3_HOST,
11264 S3_SERVICE_PATH and S3_SUBDOMAIN properties.
11265
11266 2011-04-18 Jean-Louis Martineau <martineau@zmanda.com>
11267 * perl/Amanda/Changer.pm: Check generated label and meta-label.
11268
11269 2011-04-18 Jean-Louis Martineau <martineau@zmanda.com>
11270 * man/xml-source/amlabel.8.xml: Improve doc.
11271 * server-src/amlabel.pl: Remove spurious print.
11272
11273 2011-04-16 Jean-Louis Martineau <martineau@zmanda.com>
11274 * device-src/s3-device.c: Remove volative for s3.
11275
11276 2011-04-15 Jean-Louis Martineau <martineau@zmanda.com>
11277 * device-src/s3-device.c: Use multiple threads to do read ahead.
11278
11279 2011-04-12 Jean-Louis Martineau <martineau@zmanda.com>
11280 * server-src/amadmin.c: Do not free find result string.
11281 * server-src/find.c: Use GStringChunk to store all find_dump string.
11282
11283 2011-04-11 Jean-Louis Martineau <martineau@zmanda.com>
11284 * device-src/s3-device.c: Check NULL before freeing self->thread_pool,
11285 free self->thread_idle_mutex and self->thread_idle_cond.
11286
11287 2011-04-11 Jean-Louis Martineau <martineau@zmanda.com>
11288 * configure.in: Use AMANDA_AS_NEEDED.
11289 * config/amanda/as_needed.m4: Add --as-needed, set AS_NEEDED_FLAGS.
11290 * client-src/Makefile.am, amandad-src/Makefile.am,
11291 ndmp-src/Makefile.am, device-src/Makefile.am,
11292 application-src/Makefile.am, xfer-src/Makefile.am,
11293 server-src/Makefile.am, amar-src/Makefile.am,
11294 common-src/Makefile.am: Add AS_NEEDED_FLAGS to many *_LDFLAGS.
11295
11296 2011-04-11 Jean-Louis Martineau <martineau@zmanda.com>
11297 * device-src/s3-device.c: Call device_set_error only from main thread.
11298
11299 2011-04-11 Jean-Louis Martineau <martineau@zmanda.com>
11300 * device-src/s3-device.c: Add S3 "THREADS" property, use multiple
11301 threads to write to the s3 device.
11302 * man/xml-source/amanda-devices.7.xml: Document "THREADS" property for
11303 s3 device.
11304
11305 2011-04-11 Jean-Louis Martineau <martineau@zmanda.com>
11306 * perl/Amanda/DB/Catalog.pm: Parse negative kb and orig-kb.
11307 * perl/Amanda/Logfile.swg: Do not write negative orig-kb.
11308
11309 2011-04-06 Jean-Louis Martineau <martineau@zmanda.com>
11310 * man/xml-source/amanda-devices.7.xml: Typo.
11311
11312 2011-04-06 Jean-Louis Martineau <martineau@zmanda.com>
11313 * perl/Amanda/Interactivity.pm: Add documentation.
11314
11315 2011-04-06 Jean-Louis Martineau <martineau@zmanda.com>
11316 * server-src/driver.c: Fix Computation of data_lost on current and
11317 next tape.
11318
11319 2011-04-01 Jean-Louis Martineau <martineau@zmanda.com>
11320 * amplot/amplot.awk: Fix for new log format, fix small -t display,
11321 fix 'set key' syntax.
11322 * amplot/amplot.g: Fix 'set data' and 'plot' syntax.
11323
11324 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11325 * installcheck/taper.pl: Fix installcheck for 'splitting not enabled'.
11326
11327 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11328 * VERSION: 4.0.0alpha
11329
11330 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11331 * device-src/vfs-device.c: LEOM property default to TRUE.
11332
11333 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11334 * perl/Amanda/Taper/Scribe.pm: Log 'splitting not enabled' on write
11335 failure.
11336
11337 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11338 * NEWS, ReleaseNotes: Update for 3.3.0
11339
11340 2011-03-30 Jean-Louis Martineau <martineau@zmanda.com>
11341 * common-src/conffile.c: Add client-name option to application and
11342 script
11343 * common-src/conffile.h: Add client-name option to application and
11344 script
11345 * perl/Amanda/Config.swg: Add APPLICATION_CLIENT_NAME and
11346 PP_SCRIPT_CLIENT_NAME.
11347 * common-src/amfeatures.c: Add fe_application_client_name and
11348 fe_script_client_name.
11349 * common-src/amfeatures.h: Add fe_application_client_name and
11350 fe_script_client_name.
11351 * common-src/amxml.c: Pares client_name
11352 * common-src/amxml.h: Add application_client_nake in dle_t and
11353 client_name in script_t.
11354 * server-src/diskfile.c: Put client-name in xml output.
11355 * server-src/amcheck.c: Check client-name and fe_*_client_name.
11356 * client-src/client_util.c (merge_properties, merge_dles_properties):
11357 new function.
11358 * client-src/client_util.h (merge_properties, merge_dles_properties):
11359 new prototype.
11360 * client-src/selfcheck.c, client-src/sendbackup.c,
11361 client-src/sendsize.c: Call merge_dles_properties to merge properties
11362 * man/xml-source/amanda-client.conf.5.xml,
11363 man/xml-source/amanda.conf.5.xml: Document client-name.
11364 * recover-src/extract_list.c: merge properties.
11365 * NEWS: Add new features.
11366
11367 2011-03-28 Jean-Louis Martineau <martineau@zmanda.com>
11368 * application-src/amlog-script.pl: Remove warning of unused variable.
11369
11370 2011-03-28 Jean-Louis Martineau <martineau@zmanda.com>
11371 * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
11372 server-src/amidxtaped.pl, server-src/amrestore.pl: Use int().
11373
11374 2011-03-28 Jean-Louis Martineau <martineau@zmanda.com>
11375 * xfer-src/filter-process.c: Call g_critical if pipe() fail.
11376
11377 2011-03-28 Jean-Louis Martineau <martineau@zmanda.com>
11378 Change the Amanda:Xfer::Filter::Process api, it always create a pipe
11379 for the process stderr, the callers must read from it. Callers can send
11380 it to debug file, stderr or to amrecover.
11381 * installcheck/Amanda_Xfer.pl: Change for new AXF::Process API.
11382 * perl/Amanda/Xfer.pod: Document new AXF::Process API.
11383 * perl/Amanda/Xfer.swg: Change for new AXF::Process API.
11384 * server-src/amcheckdump.pl, server-src/amfetchdump.pl,
11385 server-src/amrestore.pl: Use new AXF::Process API, send it to stderr
11386 and debug file.
11387 * server-src/amidxtaped.pl: Use new AXF::Process API, send it to debug
11388 file and amrecover.
11389 * xfer-src/filter-process.c: Remove log_stderr argument of
11390 xfer_filter_process, add new get_err_fd method.
11391 * xfer-src/xfer-element.h: Change xfer_filter_process prototype.
11392
11393 2011-03-27 Dustin J. Mitchell <dustin@mozilla.com>
11394 * perl/Amanda/Util.swg: revert previous patch
11395 * gnulib/Makefile.am gnulib/fsusage.h
11396 gnulib/regenerate/fsusage-no-bool.patch gnulib/regenerate/regenerate:
11397 patch fsusage.h to not use stdbool
11398 * device-src/vfs-device.c: don't use 'false' and 'true' (from stdbool)
11399
11400 2011-03-26 Dustin J. Mitchell <dustin@mozilla.com>
11401 * perl/Amanda/Util.swg: include fsusage.h early in the generated C
11402 to avoid problems with SWIG #undefine-ing 'bool' on Mac OS X with
11403 the system-installed Perl
11404
11405 2011-03-25 Jan Görig <jgorig@redhat.com>
11406 * config/amanda/krb5-security.m4: fix linking against wrong libraries
11407 on systems where krb5 directory is libdir and amanda is installed
11408
11409 2011-03-25 Jean-Louis Martineau <martineau@zmanda.com>
11410 * server-src/driver.c: Fix iteration over a list it modify.
11411
11412 2011-03-22 Jean-Louis Martineau <martineau@zmanda.com>
11413 * application-src/amstar.c: read include_list and pass each line as
11414 argument for restore operation.
11415
11416 2011-03-22 Jean-Louis Martineau <martineau@zmanda.com>
11417 * application-src/amgtar.c: Cast with off_t.
11418 * application-src/amstar.c: Cast with off_t.
11419
11420 2011-03-21 Jean-Louis Martineau <martineau@zmanda.com>
11421 * application-src/amstar.c: Add ACL property.
11422 * man/xml-source/amstar.8.xml: Document ACL property.
11423
11424 2011-03-21 Jean-Louis Martineau <martineau@zmanda.com>
11425 * config/amanda/dumpers.m4: Add AMANDA_PROG_SUNTAR, --with-suntar=??
11426 * configure.in: Use AMANDA_PROG_SUNTAR.
11427 * perl/Amanda/Constants.pm.in: Define $Amanda::Constants::SUNTAR
11428 * application-src/amsuntar.pl: Use $Amanda::Constants::SUNTAR,
11429 Add SUNTAR-PATH property.
11430 * man/xml-source/amsuntar.8.xml: Document SUNTAR-PATH property.
11431
11432 2011-03-15 Jean-Louis Martineau <martineau@zmanda.com>
11433 * server-src/find.c: Compute maxparts from the list of part.
11434
11435 2011-03-11 Jean-Louis Martineau <martineau@zmanda.com>
11436 * perl/Amanda/Taper/Scribe.pm: If leom is supported by device,
11437 then the dle can be split.
11438 * perl/Amanda/Taper/Worker.pm: Send leom setting to
11439 get_splitting_args_from_config.
11440 * server-src/planner.c: dle can use more than one tape if allow-split
11441 is set, this is to handle leom device where splitsize can be 0.
11442
11443 2011-03-10 Jean-Louis Martineau <martineau@zmanda.com>
11444 * perl/Amanda/Changer/disk.pm: Use -l to check symlink existance.
11445
11446 2011-03-10 Jean-Louis Martineau <martineau@zmanda.com>
11447 * server-src/amadmin.c: export quote host and disk name, import parse
11448 quoted host and disk name.
11449
11450 2011-03-09 Jean-Louis Martineau <martineau@zmanda.com>
11451 * ReleaseNotes, NEWS: Add changes for 3.2.2 and 3.3.0.
11452
11453 2011-03-08 Jean-Louis Martineau <martineau@zmanda.com>
11454 * application-src/amsamba.pl: Use smbclient -TF for restore.
11455
11456 2011-03-07 Jean-Louis Martineau <martineau@zmanda.com>
11457 * server-src/amtrmidx.c: Fix memory leak.
11458
11459 2011-03-02 Jean-Louis Martineau <martineau@zmanda.com>
11460 * common-src/amservice.c; Moved from server-src/amservice.c
11461 * server-src/amservice.c: Moved to server-src/amservice.c
11462 * comm