forked from zmanda/amanda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
15264 lines (12494 loc) · 652 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2012-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* contrib/convert-zd-mtx-to-robot.sh: set tpchanger instead of
tapedev.
2012-12-07 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c: Fix 32 bits overflow.
2012-12-06 Dan Locks <dwlocks@zmanda.com>
* packaging/common/post_inst_functions.sh: use --passphrase-fd to
support older versions of gpg.
2012-12-06 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Parse new PORT-DUMP format.
2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Fix exit status.
* installcheck/amstatus.pl: Fix for previous patch.
2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Show taping status after dump failure.
2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/taper.pl: Add check for previous patch.
2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: Do it at the right place.
2012-12-05 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: Use header is_partial to get dump
status for FILE-WRITE.
2012-12-04 Dan Locks <dwlocks@zmanda.com>
* common_z/post_inst_functions.sh: in get_random_lines(): fix line padding, use dd instead of
head -c
* common_z/test_common.sh: fix quoting so blank test condition is
still printed.
2012-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* client-src/client_util.c: print script output for backup with the
"| " prefix.
2012-12-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amvault.pl: Missing return statement.
2012-12-03 Dan Locks <dwlocks@zmanda.com>
* packaging/common/post_inst_functions.sh: add get_random_lines() and
use it to generate random passwords
* packaging/common/test_sh_libs.sh: test and use get_random_lines(),
use static log file name, enforce order on tests using
(get_random_lines, create_gnupg, create_ampassphrase, and
create_amkey.
* packaging/deb/postinst.src, packaging/rpm/amanda.spec.src,
packaging/sun-pkg/client/postinstall.src: use command -v instead of
unportable which.
2012-12-03 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/logfile.c (get_logline): Parse each line separately.
2012-11-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Add a SRC-IP in the interface section.
* common-src/conffile.h: Define INTER_SRC_IP.
* man/xml-source/amanda.conf.5.xml: Add src-ip.
* common-src/sockaddr-util.h: Define SU_SET_INADDR.
* common-src/stream.c (stream_client_internal, stream_client_privileged,
stream_client_internal): Add a src_ip argument.
* common-src/stream.h: Changed prototype,
* client-src/sendbackup.c, common-src/bsd-security.c,
common-src/bsdtcp-security.c, common-src/security-util.c,
oldrecover-src/amrecover.c, oldrecover-src/extract_list.c: Use new
stream_client.
* server-src/driverio.c (dumper_cmd): Add src-ip in PORT-WRITE command.
* server-src/dumper.c: Parse src-ip.
* server-src/server_util.c (amhost_get_security_conf): Return src-ip.
2012-11-28 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Force new connection after RequestTimeout.
2012-11-24 Dan Locks <dwlocks@zmanda.com>
* packaging/rpm/amanda.spec.src: fix comparison operator
2012-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Config.pl, installcheck/Amanda_DB_Catalog.pl,
installcheck/Installcheck/Config.pm, perl/Amanda/Report/human.pm,
perl/Amanda/Taper/Worker.pm, server-src/amtape.pl: Fix perl warning.
2012-11-23 Dan Locks <dwlocks@zmanda.com>
* packaging/rpm/amanda.spec.src: fix awk SuSE detection syntax
2012-11-23 Dan Locks <dwlocks@zmanda.com>
* common_z/post_inst_functions.sh: add --no-use-agent option to gpg
invocation to avoid problems with uninitialized gpg keyrings.
2012-11-23 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/null-device.c: Return DEVICE_STATUS_VOLUME_UNLABELED |
DEVICE_STATUS_VOLUME_ERROR on open for reading.
* installcheck/amdevcheck.pl: Fix.
2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/flags.m4: Swig is always compiled with
-Wno-deprecated-declarations
* common-src/amflock.h: s/file_lock_/file_lock/
* device-src/directtcp-connection.h:
s/DirectTCPConnection_/DirectTCPConnection/
* ndmp-src/ndmpconnobj.h: s/NDMPConnection_/NDMPConnection/
* server-src/cmdline.h: s/dumpspec_s/dumpspec_t/
2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Cmdline.swg: Undo previous patch.
2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* config/amanda/libs.m4: remove deprecated warning for glib > 2.34.0
* perl/Amanda/Cmdline.swg: s/dumpspec_t/dumpspec_s/
2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: return 'all slots are empty'.
* perl/Amanda/Taper/Scan/traditional.pm: Call _user_msg on error.
2012-11-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Keep a different current_slot for each
config.
2012-11-21 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/bsd-security.c (stream_read_callback): Do not cancel the
event in case of successful read.
* common-src/security-util.c: Typo.
2012-11-15 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfetchdump.pl: Add --init --no-restpre arguments.
* man/xml-source/amfetchdump.8.xml: Document them.
2012-11-15 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
perl/Amanda/Changer/multi.pm,
perl/Amanda/Changer/robot.pm: Add LOCK-TIMEOUT property.
* perl/Amanda/Changer.pm: Handle lock-timeout property.
* man/xml-source/amanda-changers.7.xml: Document new LOCK-TIMEOUT
properties.
2012-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amsamba.pl: Password can be encoded.
2012-11-14 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Report/human.pm: Do not print failure for config
setting.
* perl/Amanda/Taper/Worker.pm: Send TAPE-CONFIG.
* server-src/amflush.c: Do not add L_DISK if nothing to flush.
* server-src/amstatus.pl: Parse TAPE-CONFIG and print appropriate
message.
* server-src/driver.c: Parse TAPE-CONFIG.
* installcheck/taper.pl: Check new TAPE-CONFIG in protocol.
* installcheck/catalogs/amflush.cat: Fix for new format.
2012-11-05 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda-devices.7.xml: Add 'OAUTH2' and 'CASTOR' for
value of the storage-api property.
2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/event.c: Disable -Wmissing-field-initializers when using
G_STATIC_MUTEX_INIT because of warning with glib-2.32.
2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amfetchdump.8.xml: Document --extract, --directory,
--data-path and --application-property.
2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/event.c: Use a GStaticMutex.
2012-10-25 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndmpconnobj.c: Use a GStaticMutex.
2012-10-24 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Fix count.
2012-10-23 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndmpconnobj.c: Use event_create and event_activate.
Create static notify_data_t.
2012-10-23 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/event.c (event_create, event_activate): New function, it
split event_register in two.
* common-src/event.h (event_create, event_activate): New prototype.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c (device_accept, device_connect,
device_write_from_connection, device_read_to_connection): They take
(int *, GMutex *, GCond *) new arguments to be able to interupt
them.
* device-src/device.h: Change prototype.
* device-src/ndmp-device.c: Implement new functionnality.
* device-src/xfer-dest-taper-directtcp.c,
device-src/xfer-source-recovery.c: Use the new API.
* installcheck/Amanda_Device.pl: Remove directtcp test.
* ndmp-src/ndmpconnobj.c (ndmp_connection_wait_for_notify_with_cond):
Allow to be cancelled.
* ndmp-src/ndmpconnobj.h: Change prototype.
* perl/Amanda/Device.swg: Remove accept, connect,
write_from_connection and read-to_connection.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm (abort_setup): New method.
* perl/Amanda/Taper/Scribe.pm (_dump_done): Return if $dump_cb is not
set.
* perl/Amanda/Taper/Worker.pm: Call abort_setup if setup failed.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfetchdump.pl: typo, remove '.' in argv.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/dumper.c (do_dump): Make the header file only
HEADER_DONE.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Controller.pm: Reverse taper/driver in log.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndmjob_args.c (handle_long_option): Close the fd.
2012-10-22 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/event.c: Make the code thread safe.
2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/match.c: Handle '=' as first characters of expression.
* man/xml-source/amanda-match.7.xml: Document new '=' as first
character of expression.
* man/xml-source/amadmin.8.xml, man/xml-source/amcheck.8.xml,
* man/xml-source/amdump.8.xml, man/xml-source/amfetchdump.8.xml,
* man/xml-source/amflush.8.xml, man/xml-source/amrestore.8.xml,
* man/xml-source/amvault.8.xml: Document new '--exact-match' argument.
* perl/Amanda/Cmdline.swg: Add CMDLINE_EXACT_MATCH
* server-src/diskfile.c (match_disklist, match_dumpfile):
New exact_match argument.
* server-src/diskfile.h (match_disklist, match_dumpfile):
Change prototype.
* server-src/cmdline.c (cmdline_parse_dumpspecs): CMDLINE_EXACT_MATCH.
* server-src/cmdline.h: New CMDLINE_EXACT_MATCH.
* server-src/amadmin.c, server-src/amcheck.c,
server-src/amdump.pl, server-src/amfetchdump.pl,
server-src/amflush.c, server-src/amrestore.pl,
server-src/amvault.pl, server-src/planner.c: Add --exact-match
argument.
* installcheck/Amanda_Cmdline.pl: Check '='.
* installcheck/amadmin.pl: Check --exact-match and '='.
2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfetchdump.pl: Fix for compressed dump.
2012-10-19 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amfetchdump.pl: Add [--extract --directory directory
[--data-path (amanda|directtcp)]
[--application-property='NAME=VALUE']*]
* man/xml-source/amfetchdump.8.xml: Document them.
* perl/Amanda/Extract.pm: New utilities torun application from perl.
* perl/Makefile.am: Add Amanda/Extract.pm
* perl/Amanda/Recovery/Clerk.pm: Small fix.
2012-10-18 Jean-Louis Martineau <martineau@zmanda.com>
* All files: Change Zmanda licensing to GPLv2+ and LGPLv2+, Add Zmanda
copyright to files modified by Zmanda.
2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: New REPORT-USE-MEDIA and REPORT-NEXT-MEDIA.
* common-src/conffile.h: And CNF_REPORT_USE_MEDIA and
CNF_REPORT_NEXT_MEDIA
* man/xml-source/amanda.conf.5.xml: Document REPORT-USE-MEDIA and
REPORT-NEXT-MEDIA.
* perl/Amanda/Config.swg: Add CNF_REPORT_USE_MEDIA and
CNF_REPORT_NEXT_MEDIA.
* perl/Amanda/Report/human.pm: Use them.
2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c (device_init_seek_file): New method to do setup
before a seek_file.
* device-src/device.h (init_seek_file): Add method.
* perl/Amanda/Device.pod (init_seek_file): Document it.
* perl/Amanda/Device.swg (init_seek_file): New method.
2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c: Load a device driver at run time.
2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
* ndmp-src/ndma_comm_session.c, perl/Amanda/Util.swg: Use inet_ntop
instead of inet_ntoa.
2012-10-15 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amanda.h: Remove MAX_DUMPERS.
* common-src/conffile.c (validate_inparallel): Remov function.
* example/amanda.conf.in: Remove comment for MAX_DUMPERS.
* server-src/driverio.c: Allocation dynamic table for dmptable and
chktable.
* server-src/driverio.h (init_driverio): New prototype.
* server-src/driver.c: Use new init_driverio.
2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl (showtime): Use calandar days.
2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Always set CURLOPT_CAINFO.
2012-10-12 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: Add data_path to %splitting_args.
* perl/Amanda/Taper/Scribe.pm: Correctly set part_* for DIRECTTCP
data_path.
2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
* amandad-src/amandad.c: Add a timeout.
* common-src/event.c: List all event in debug mode.
* common-src/security-util.c: Call the accept_fn on connection close.
2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amcryptsimple.pl: Add '-z 0' to gpg argument when
encrypting.
2012-10-11 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amservice.c, device-src/ndmp-device.c,
server-src/dumper.c, xfer-src/xfer-test.c: Fix bug found by Coverity.
2012-10-10 Jean-Louis Martineau <martineau@zmanda.com>
* */*.c: Fix bug found by Coverity.
2012-10-10 Jean-Louis Martineau <martineau@zmanda.com>
* */*.c: Fix bug found by Coverity.
2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
* oldrecover-src/amrecover.c: Solaris do not have sa_restorer.
2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
* amandad-src/amandad.c, amar-src/amarchiver.c,
client-src/selfcheck.c, common-src/bsd-security.c,
common-src/util.c, device-src/device.c,
device-src/ndmp-device.c, device-src/s3.c,
device-src/tape-device.c, oldrecover-src/amrecover.c,
recover-src/extract_list.c, recover-src/set_commands.c,
server-src/diskfile.c, server-src/driver.c,
server-src/planner.c: Fix bug found by Coverity.
2012-10-09 Jean-Louis Martineau <martineau@zmanda.com>
* example/Makefile.am: Build amanda-CAStor.conf from
amanda-CAStor.conf.in
* example/template.d/amanda-CAStor.conf: Remove
* example/template.d/amanda-CAStor.conf.in: New file.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/security-util.c: Change the security_stream_read callback
to not release the event if the read succeed.
* amandad-src/amandad.c, common-src/amservice.c,
recover-src/extract_list.c, server-src/dumper.c: Do not restart
security_stream_read if the read succeeded.
* server-src/dumper.c: Handle timeout without starting too much event.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/tape-device.c: Solaris do not have GMT_WR_PROT.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/device.c (device_check_writable): New method.
* device-src/device.h (device_check_writable): Prototype.
* device-src/tape-device.c (tape_device_check_writable): Implement new
method.
* perl/Amanda/Device.swg (check_writable): New method.
* server-src/amcheck-device.pl: Call check_writable.
* server-src/amtape.pl: Call check_writable.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c (tape_action): Fix handling of
taper-parallel-write.
* server-src/driver.c: Go in degraded mode only after all taper failed.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Fix for TAKE-SCRIBE-FROM command, handle
multiple taper status files.
2012-10-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Missing space.
2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c, device-src/s3-device.c: Typo.
2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Handle multi-part write
* device-src/s3.c: Handle multi-part write
* device-src/s3.h: Handle multi-part write
* man/xml-source/amanda-devices.7.xml: Document new
S3_MULTI_PART_UPLOAD property.
* perl/Amanda/Recovery/Clerk.pm: do not call seek_file two times.
2012-10-02 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Fix for (eof) from dumper/chunker or taper.
2012-09-27 Dan Locks <dwlocks@zmanda.com>
* Bug reported by Jon LaBadie for fedora 17: spurious requirement
of libtermcap.so.2.
* packaging/rpm/amanda.spec.src: massage fedora detection to remove
spurious requirement
2012-09-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Fix reps and reps_bucket name.
2012-09-26 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c (get_multiplier): Fix for for CONF_END.
2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/xfer-dest-taper-splitter.c: Do not increase partnum if
the size is 0.
* installcheck/Amanda_Xfer.pl: Fix partnum check.
* perl/Amanda/Taper/Scribe.pm: Improve debugging.
2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amflock.c, common-src/util.c,
perl/Amanda/Header.swg, perl/Amanda/Taper/Worker.pm,
perl/Amanda/Util.swg,
server-src/xfer-dest-holding.c: Fix small memory leak.
2012-09-25 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scan/lexical.pm,
perl/Amanda/Taper/Scan/oldest.pm: Fix perl warning.
2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Fix for header not read.
2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml (part-size): Improve documentation.
2012-09-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm (device_started): Can get non-numeric
result.
2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/tapelist.5.xml: Add BLOCKSIZE.
2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Tapelist.swg: die() if tapelist is not valid.
* server-src/tapefile.c: exit if tapelist is not valid.
* installcheck/Amanda_Tapelist.pl: Add more check.
* perl/Amanda/Changer.pm: Add $err->device
* perl/Amanda/Changer/robot.pm: Return error if barcode do not match
with tapelist.
* server-src/amtape.pl (inventory): Print if barcode do not match.
2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Makefile.am (catalogs): Add
catalogs/taper-parallel-write.cat.
2012-09-21 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Fix date_sync_regex.
2012-09-20 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Fix for taper-parallel-write > 1.
* installcheck/amstatus.pl: Checkit.
* installcheck/catalogs/taper-parallel-write.cat: New catalog.
2012-09-19 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Castor require libcurl 7.19.1.
2012-09-18 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c, device-src/s3.c: Castor require libcurl
7.19.1.
2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c, device-src/s3.c
device-src/s3.h: Add CASTOR S3_API.
* example/template.d/amanda-CAStor.conf: Example config for castor.
2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Set gnutar_listdir after the config for
the backup set is read.
2012-09-17 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/amxml.c (amstart_element): Set data_user->dle->property.
2012-09-05 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheckdump.pl: s/correclty/correctly/g
2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Correctly set f_type and device_error
in state.
* perl/Amanda/ScanInventory.pm (volume_is_labelable): Set labelstr for
does_not_match_labelstr.
* perl/Amanda/Taper/Scan/lexical.pm,
perl/Amanda/Taper/Scan/oldest.pm (analyze): Check label match
labelstr.
* server-src/amcheck-device.pl (_user_msg_fn): print message when res
is not set.
* server-src/amtape.pl: Fix for device returning empty error.
* installcheck/Amanda_Changer_ndmp.pl,
installcheck/Amanda_Changer_robot.pl: Fix for f_type set.
2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/gnutar.pl: fc17 gnutar is like fc15.
2012-08-24 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Print error if nc, nc6 or netcat is
not installed.
2012-08-23 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/disk.pm: Use the changerfile for the statefile.
2012-08-22 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amdump.pl: Create amdump.<timestamp>, amdump and amdump.1
are maintained as symlink.
2012-08-21 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c (handle_result): Correctly log some error.
2012-07-24 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: New REUSE-CONNECTION property.
* device-src/s3.c: Do not reuse connection if REUSE-CONNECTION is
FALSE.
* device-src/s3.h (s3_open): New reuse_connection argument.
* man/xml-source/amanda-devices.7.xml: Document REUSE-CONNECTION
property.
* ReleaseNotes, NEWS: Add REUSE-CONNECTION.
2012-07-24 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Fix a big memory leak.
2012-07-23 Jean-Louis Martineau <martineau@zmanda.com>
* man/xml-source/amanda.conf.5.xml: Typo.
2012-07-23 Jean-Louis Martineau <martineau@zmanda.com>
* ReleaseNotes, NEWS: Add new features in 3.3.2.
2012-07-20 Dan Locks <dwlocks@zmanda.com>
* perl/Amanda/Feature.pod, perl/Amanda/MainLoop.swg,
perl/Amanda/Script.pm, perl/Amanda/NDMP.pod,
perl/Amanda/Logfile.swg, perl/Amanda/Curinfo.pm,
perl/Amanda/Changer.pm, perl/Amanda/Tests.pod,
perl/Amanda/Application.pod, perl/Amanda/Debug.swg,
perl/Amanda/Disklist.swg, perl/Amanda/Report.pm,
perl/Amanda/Config.pod, perl/Amanda/Header.swg,
perl/Amanda/Feature.swg, perl/Amanda/BigIntCompat.pm,
perl/Amanda/NDMP.swg, perl/Amanda/Recovery/Scan.pm,
perl/Amanda/Recovery/Planner.pm, perl/Amanda/Recovery/Clerk.pm,
perl/Amanda/Util.pod, perl/Amanda/Tests.swg,
perl/Amanda/Archive.pod, perl/Amanda/Application.swg,
perl/Amanda/Config.swg, perl/Amanda/Curinfo/Info.pm,
perl/Amanda/Tapelist.pod, perl/Amanda/Changer/disk.pm,
perl/Amanda/Changer/multi.pm, perl/Amanda/Changer/null.pm,
perl/Amanda/Changer/ndmp.pm, perl/Amanda/Changer/rait.pm,
perl/Amanda/Changer/single.pm,
perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/aggregate.pm,
perl/Amanda/Report/human.pm, perl/Amanda/Report/postscript.pm,
perl/Amanda/Report/xml.pm, perl/Amanda/IPC/Binary.swg,
perl/Amanda/IPC/LineProtocol.pm, perl/Amanda/IPC/Binary.pod,
perl/Amanda/XferServer.pod, perl/Amanda/Util.swg,
perl/Amanda/ScanInventory.pm, perl/Amanda/Script_App.pm,
perl/Amanda/Device.pod, perl/Amanda/Archive.swg,
perl/Amanda/Tapelist.swg, perl/Amanda/Xfer.pod,
perl/Amanda/DB/Catalog.pm, perl/Amanda/Process.pm,
perl/Amanda/XferServer.swg, perl/Amanda/Constants.pm.in,
perl/Amanda/Cmdline.pod, perl/Amanda/Device.swg,
perl/Amanda/Interactivity/stdin.pm,
perl/Amanda/Interactivity/email.pm,
perl/Amanda/Interactivity/tty_email.pm,
perl/Amanda/Interactivity/tty.pm, perl/Amanda/MainLoop.pod,
perl/Amanda/Holding.pm, perl/Amanda/Paths.pm.in,
perl/Amanda/Logfile.pod, perl/Amanda/Application/Zfs.pm,
perl/Amanda/Xfer.swg, perl/Amanda/Debug.pod,
perl/Amanda/Disklist.pod, perl/Amanda/Interactivity.pm,
perl/Amanda/Header.pod, perl/Amanda/Cmdline.swg,
perl/Amanda/ClientService.pm, perl/Amanda/Taper/Protocol.pm,
perl/Amanda/Taper/Controller.pm, perl/Amanda/Taper/Scan.pm,
perl/Amanda/Taper/Scribe.pm, perl/Amanda/Taper/Scan/oldest.pm,
perl/Amanda/Taper/Scan/traditional.pm,
perl/Amanda/Taper/Scan/lexical.pm,
perl/Amanda/Taper/Worker.pm, perl/amglue/objwrap.c,
perl/amglue/bigint.c, perl/amglue/amglue.h,
perl/amglue/dumpspecs.swg, perl/amglue/exports.swg,
perl/amglue/amglue.swg, perl/amglue/constants.swg,
perl/amglue/glib.swg, perl/amglue/filehandles.swg,
perl/amglue/integers.swg, perl/amglue/xferwrap.c,
perl/amglue/directtcp.swg, perl/amglue/source.c,
perl/amglue/ghashtable.c, perl/make_html.pl,
installcheck/amoverview.pl, installcheck/Amanda_Holding.pl,
installcheck/Amanda_Disklist.pl,
installcheck/Amanda_Taper_Scan_oldest.pl,
installcheck/amlabel.pl, installcheck/Amanda_NDMP.pl,
installcheck/amflush.pl, installcheck/Amanda_ClientService.pl,
installcheck/run-ndmp.pl, installcheck/amstatus.pl,
installcheck/Amanda_Taper_Scribe.pl,
installcheck/Amanda_Recovery_Scan.pl,
installcheck/Amanda_Curinfo.pl, installcheck/Amanda_Changer.pl,
installcheck/Amanda_Changer_single.pl,
installcheck/Amanda_Taper_Scan_traditional.pl,
installcheck/bigint.pl, installcheck/Amanda_Cmdline.pl,
installcheck/Amanda_Changer_robot.pl, installcheck/amservice.pl,
installcheck/Amanda_Recovery_Clerk.pl,
installcheck/Amanda_Taper_Scan_lexical.pl,
installcheck/amarchiver.pl, installcheck/amrecover.pl,
installcheck/Amanda_Changer_ndmp.pl,
installcheck/Installcheck/ClientService.pm,
installcheck/Installcheck/Application.pm,
installcheck/Installcheck/Run.pm,
installcheck/Installcheck/Config.pm,
installcheck/Installcheck/Changer.pm,
installcheck/Installcheck/Dumpcache.pm,
installcheck/Installcheck/Mock.pm,
installcheck/Installcheck/Catalogs.pm, installcheck/example.pl,
installcheck/gnutar.pl, installcheck/amrestore.pl,
installcheck/amgetconf.pl, installcheck/pp-scripts.pl,
installcheck/Amanda_IPC_LineProtocol.pl, installcheck/amtape.pl,
installcheck/amraw.pl, installcheck/amserverconfig.pl,
installcheck/amgtar.pl, installcheck/taper.pl,
installcheck/Amanda_Util.pl,
installcheck/Amanda_Recovery_Planner.pl,
installcheck/mock/mail.pl, installcheck/mock/mtx.pl,
installcheck/mock/lpr.pl, installcheck/Amanda_IPC_Binary.pl,
installcheck/=setupcache.pl, installcheck/amcheckdump.pl,
installcheck/amdump_client.pl, installcheck/Amanda_Tapelist.pl,
installcheck/Amanda_Debug.pl, installcheck/Amanda_Changer_rait.pl,
installcheck/amcheck-device.pl, installcheck/Amanda_Header.pl,
installcheck/amdevcheck.pl, installcheck/Amanda_Device.pl,
installcheck/Amanda_Changer_null.pl, installcheck/ampgsql.pl,
installcheck/Installcheck.pm, installcheck/amadmin.pl,
installcheck/amvault.pl,
installcheck/Amanda_Report.pl, installcheck/amidxtaped.pl,
installcheck/mock_mtx.pl, installcheck/Amanda_Changer_disk.pl,
installcheck/Amanda_Logfile.pl,
installcheck/Amanda_Changer_multi.pl,
installcheck/amdump.pl, installcheck/catalogs/bigdb.cat,
installcheck/amreport.pl, installcheck/amcheck.pl,
installcheck/Amanda_Feature.pl, installcheck/amfetchdump.pl,
installcheck/chunker.pl, installcheck/Amanda_Xfer.pl,
installcheck/amrmtape.pl, installcheck/Amanda_Config.pl,
installcheck/amtapetype.pl, installcheck/noop.pl,
installcheck/Amanda_Config_FoldingHash.pl,
installcheck/Amanda_Process.pl,
installcheck/Amanda_MainLoop.pl, installcheck/Amanda_DB_Catalog.pl,
installcheck/Amanda_Archive.pl, amar-src/amar.c,
amar-src/amarchiver.c, amar-src/amar.h,
config/automake/scripts.am, config/automake/vars.am,
config/macro-archive/docbook-xslt.m4,
config/macro-archive/docbook-dtd.m4,
config/macro-archive/docbook-xslt-min.m4,
config/macro-archive/xsltproc.m4,
common-src/directtcp.h, common-src/amgetconf.pl,
common-src/sockaddr-util.c, common-src/sockaddr-util.h,
common-src/glib-util.c, common-src/glib-util.h,
common-src/ipc-binary.c, common-src/event-test.c,
common-src/ipc-binary.h, common-src/match-test.c,
common-src/amsemaphore-test.c, common-src/simpleprng.c,
common-src/simpleprng.h, common-src/amsemaphore.c,
common-src/quoting-test.c, common-src/fileheader-test.c,
common-src/amsemaphore.h, common-src/amcryptsimple.pl,
common-src/amaespipe.sh, common-src/testutils.c,
common-src/match.h, common-src/testutils.h,
common-src/amgpgcrypt.pl, application-src/script-email.pl,
application-src/amsuntar.pl, application-src/amzfs-snapshot.pl,
application-src/amlog-script.pl, application-src/amsamba.pl,
application-src/ampgsql.pl, application-src/amraw.pl,
application-src/amzfs-sendrecv.pl, contrib/amreport.rnc,
client-src/amdump_client.pl, ndmp-src/ndmpconnobj.c,
ndmp-src/ndmpconnobj.h, device-src/xfer-device.h,
device-src/s3-device.c, device-src/property.c,
device-src/s3.c, device-src/property.h,
device-src/xfer-dest-taper-directtcp.c, device-src/s3.h,
device-src/rait-device.c, device-src/device.c,
device-src/amtapetype.pl, device-src/device.h,
device-src/null-device.c, device-src/xfer-dest-taper.c,
device-src/directtcp-connection.c,
device-src/xfer-dest-taper-splitter.c,
device-src/xfer-dest-taper.h, device-src/amdevcheck.pl,
device-src/directtcp-connection.h, device-src/tape-device.c,
device-src/ndmp-device.c, device-src/vfs-device.c,
device-src/xfer-dest-taper-cacher.c, device-src/xfer-dest-device.c,
device-src/xfer-source-recovery.c, device-src/xfer-source-device.c,
device-src/s3-util.c, device-src/vfs-device.h,
device-src/s3-util.h, packaging/rpm/amanda.spec.src,
xfer-src/xfer-element.h, xfer-src/filter-process.c,
xfer-src/xfer.c, xfer-src/dest-directtcp-connect.c,
xfer-src/dest-buffer.c, xfer-src/source-directtcp-connect.c,
xfer-src/dest-null.c, xfer-src/xfer.h,
xfer-src/dest-directtcp-listen.c, xfer-src/source-pattern.c,
xfer-src/source-directtcp-listen.c, xfer-src/source-random.c,
xfer-src/xmsg.c, xfer-src/xfer-test.c,
xfer-src/xmsg.h, xfer-src/element-glue.c,
xfer-src/dest-fd.c, xfer-src/amxfer.h,
xfer-src/source-fd.c, xfer-src/element-glue.h,
xfer-src/filter-xor.c, xfer-src/xfer-element.c,
server-src/amcheckdump.pl, server-src/amoverview.pl,
server-src/amdumpd.pl, server-src/amcheck-device.pl,
server-src/amlogroll.pl, server-src/xfer-source-holding.c,
server-src/amlabel.pl, server-src/amvault.pl,
server-src/amcleanupdisk.pl, server-src/amidxtaped.pl,
server-src/cmdline.c, server-src/amdump.pl,
server-src/xfer-server.h, server-src/cmdline.h,
server-src/amreport.pl, server-src/amfetchdump.pl,
server-src/amrestore.pl, server-src/amcleanup.pl,
server-src/amaddclient.pl, server-src/amrmtape.pl,
server-src/amtape.pl, server-src/amserverconfig.pl,
server-src/taper.pl: update copyright dates
2012-07-20 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/timestamp.c (get_time_from_timestamp): Initialize to 0.
2012-07-19 Jean-Louis Martineau <martineau@zmanda.com>
Patch by crocket.
* perl/Makefile.am: Fix cygwin build.
2012-07-18 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Parse application/json reply from cloudena.
2012-07-18 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_IPC_LineProtocol.pl: Add synchonization to fix
race.
2012-07-17 Dan Locks <dwlocks@zmanda.com>
* packaging/sun-pkg/buildpkg:
* packaging/sun-pkg/client/postremove.src,
packaging/sun-pkg/server/postremove.src: remove redundant usage of
basedir.
* packaging/sun-pkg/client/postinstall.src,
packaging/sun-pkg/server/postinstall.src: same as above, plus fix
case statement.
* packaging/sun-pkg/server/preinstall.src,
packaging/sun-pkg/client/preinstall.src: remove redundant basedir,
use new check_user_* functions.
* packaging/rpm/amanda.spec.src: refactor to use common functions
* packaging/rpm/buildpkg: check for ./configure, and exit if
substitute.pl fails.
* packaging/deb/rules: use FULL_VERSION file to fill AMVER var, use
* concatenation trick for postinst, rm trailing whitespace
* packaging/deb/buildpkg: process postinst.src postrm.src preinst.src with substitute.pl
* packaging/deb/postinst.src: refactor to use common functions.
* packaging/deb/amanda-backup-server.postrm,
packaging/deb/amanda-backup-client.postrm,
packaging/deb/amanda-backup-client.postinst,
packaging/deb/amanda-backup-server.postinst: delete everything, add
variables pkg_type and other_pkg_type.
* packaging/deb/preinst: moved to...
* packaging/deb/preinst.src: here. refactor using common functions
* packaging/deb/postrm: moved to...
* packaging/deb/postrm.src: here. refactor using common functions.
* packaging/common/common_functions.sh: remove trailing whitespace,
remove redundant usage of ${BASEDIR} in solaris functions, avoid
potentially non-portable test invocations.
* packaging/common/test_sh_libs.sh: fix some log messages, redirect
some unused output, split check_user_* tests into shorter testsr,
add tests for supplemental groups, fix running single test.
* packaging/common/mock_utils.sh: change id to error if any flags are
given, add mock for groups.
* packaging/common/post_inst_functions.sh: remove redundant leading /
* packaging/common/post_rm_functions.sh: rm trailing whitespace.
* packaging/common/pre_inst_functions.sh: use variable for user
shell, clarify log messages regarding user accounts, split
check_user into separate functions, mostly to ease testing, add
check_user_supplemental_group.
2012-07-17 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amcheckdump.pl: Wait for all filters to terminate before
going to next image. Do not use '--ignore-zeros' for SMBCLIENT
backup. Pass the dump size to $xfer->start().
* server-src/amfetchdump.pl: Wait for all filters to terminate before
going to next image.
2012-07-12 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Do not free ca_info if use_ssl is not set.
* device-src/s3.c:: Set CURLOPT_CAINFO even if use_ssl is not set.
2012-07-10 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Print 'dump done' if the dump succeeded.
2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c (val_t_display_strs): Add a print_unit argument.
* common-src/conffile.h (val_t_display_strs): Change prototype.
* perl/Amanda/Config.swg (getconf_byname_strs): Use val_t_display_strs
with a FALSE print_unit.
2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Correctly parse byte suffix.
* common-src/conffile.h: Add confunit_t.
* installcheck/amgetconf.pl: Fix for byte parsing.
2012-07-09 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/driver.c (tape_action): Fix for flush_*.
Change debug level.
2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/JSON.pm: Fix comment.
2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scan/traditional.pm,
perl/Amanda/Taper/Scribe.pm: Correctly report error.
2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* configure.in: Small fix.
* perl/Amanda/BigIntCompat.pm: Add TO_JSON to return anumber.
* perl/Amanda/JSON.pm: documention
* perl/Amanda/JSON/Changer.pm,
perl/Amanda/JSON/Config.pm,
perl/Amanda/JSON/DB/Catalog.pm,
perl/Amanda/JSON/Tapelist.pm: amanda SON perl modules.
* perl/Amanda/JSON/RPC/Dispatcher.pm
perl/Amanda/JSON/RPC/Dispatcher/App.pm
perl/Amanda/JSON/RPC/Dispatcher/Procedure.pm: perl modules for JSON.
* perl/Amanda/Tapelist.swg: Set $datestamp to 0 if !defined.
* perl/Makefile.am: Compile new modules.
* server-src/Makefile.am: Compile amanda.psgi.
* server-src/amanda.psgi.pl: The amanda psgi.
2012-06-29 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/glib-util.c: Remove debug statements.
2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/glib-util.c: Do not compile ssl initialization code if
libcurl is not linked.
2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Fix compiler warning.
2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/glib-util.c: Fix for openssl and preprocessor.
2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/glib-util.c: Add initialization code for openssl and
gnutls.
* config/amanda/libs.m4: Detect ssl library used by libcurl.
2012-06-28 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Renew swift v2 x-auth-token before it expires, use
glib if >= 2.26.
2012-06-27 Dan Locks <dwlocks@zmanda.com>
* configure.in: update ac_prereq to 2.64
2012-06-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: remove code to Renew swift v2 x-auth-token, it
require glib 2.26.
2012-06-27 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: New CREATE-BUCKET property.
* device-src/s3.c: Improving error message parsing.
* man/xml-source/amanda-devices.7.xml: document new CREATE-BUCKET
property.
2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Remove bogus code.
2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Renew swift v2 x-auth-token before it expires.
2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/conffile.c: Fix crash when parsing an invalid config file.
2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Cloudena do not have xml_version of html tag in
their reply.
2012-06-26 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Renew OAUTH2 token.
2012-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* 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
* man/xml-source/amanda.conf.5.xml: Document new default columnspec.
* installcheck/catalogs/bigestimate.cat,
installcheck/catalogs/doublefailure.cat,
installcheck/catalogs/filesystemstaped.cat,
installcheck/catalogs/longstrange.cat,
installcheck/catalogs/multi-taper.cat,
installcheck/catalogs/normal.cat,
installcheck/catalogs/plannerfail.cat,
installcheck/catalogs/resultsmissing.cat,
installcheck/catalogs/retried-nofinish.cat,
installcheck/catalogs/retried-strange.cat,
installcheck/catalogs/retried.cat,
installcheck/catalogs/shortstrange.cat,
installcheck/catalogs/skipped.cat,
installcheck/catalogs/spanned.cat,
installcheck/catalogs/strontium.cat: fix for new default columnspec.
2012-06-21 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: OAUTH2 use 'max-keys'.
2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm: Fix update of the status file.
2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/security-util.c: Fix memory corruption.
2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Scribe.pm: Cancel call dump_cb.
* perl/Amanda/Taper/Worker.pm: Cancel the header xfer.
2012-06-20 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Fix 32 bits overflow.
2012-06-19 Jean-Louis Martineau <martineau@zmanda.com>
* amandad-src/amandad.c, common-src/amxml.c,
common-src/security-util.c, common-src/util.c,
server-src/tapefile.c: Fix small memory leak.
* perl/Amanda/Config.swg: Mark amandaify_property_name as %newobject
* perl/Amanda/Header.swg: Mark C_from_string as %newobject
* perl/Amanda/Tapelist.swg: Mark list_new_tapes as %newobject
* perl/Amanda/Util.swg: Mark sanitise_filename, quote_string,
unquote_string and split_quoted_strings as %newobject
* xfer-src/xfer-element.c: lock elt->xfer->status_mutex before looking
at elt->xfer->status.
* device-src/device.h (Device): Add a GMutex device_mutex to protect
method with concurent access.
* device-src/device.c, device-src/ndmp-device.c,
device-src/null-device.c, device-src/rait-device.c,
device-src/s3-device.c, device-src/tape-device.c,
device-src/vfs-device.c: Use the mutex to protext some Device field.
2012-06-18 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/planner.c: Coorectly delay full dump if it doesn't fit in
the schedule.
2012-06-14 Dan Locks <dwlocks@zmanda.com>
* packaging/common/mock_utils.sh: update id mock to handle -Gn flags,
add groupadd mock, add usermod mock, correct silent errors in inetd
and install mocks
* packaging/common/pre_inst_functions.sh: add_group now attempts to
create a potentially missing suppmemental group, add_group does not
use -A or -a, instead generates a list of current groups from id -Gn,
update error_group_member to use the name of the group passed to
add_group.
* packaging/common/test_sh_libs.sh: add 2 add_group unit tests, update
check_user_group test.
2012-06-13 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amgtar.c: Check gtar support --no-check-device.
2012-06-08 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/aggregate.pm, perl/Amanda/Changer/disk.pm,
perl/Amanda/Changer/ndmp.pm perl/Amanda/Changer/rait.pm,
perl/Amanda/Changer/robot.pm, perl/Amanda/Changer/single.pm,
perl/Amanda/Chunker/Controller.pm, perl/Amanda/Chunker/Scribe.pm,
perl/Amanda/Recovery/Clerk.pm, perl/Amanda/Recovery/Planner.pm,
perl/Amanda/Recovery/Scan.pm, perl/Amanda/Report/human.pm,
perl/Amanda/Taper/Scribe.pm,
perl/Amanda/Taper/Worker.pm: Change many die by confess.
2012-06-07 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3.c: Parse message attribute in cloudena error reply.
Parse details in HP error reply.
2012-06-04 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amrestore.pl: Typo.
2012-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amrestore.pl: Use the blocksize argument.
2012-06-01 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Changer/robot.pm: Print to debug if bc2lb change the
label for a barcode. Print to debug the mtx output.
* perl/Amanda/Taper/Scribe.pm: Do not use a tape if the barcode from
tapelist differ from the changer.
2012-05-28 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amzfs-sendrecv.pl: fix print_to_server argument.
2012-05-24 Jean-Louis Martineau <martineau@zmanda.com>
* application-src/amsamba.pl: Do not send a chomped line to index.
2012-05-24 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Application.swg: Use IO::Handle to open mesgout.
2012-05-23 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Add project_id.
* device-src/s3.c: Add project_id. Add x-goog-project-id and
x-goo-api-version to headers.
* device-src/s3.h (s3_make_bucket, s3_is_bucket_exists) Add project_id
argument.
* man/xml-source/amanda-devices.7.xml: Document project-id property.
2012-05-23 Jean-Louis Martineau <martineau@zmanda.com>
* device-src/s3-device.c: Call s3_open2 after setting properties.
* device-src/s3.c (s3_open2): New function.
* device-src/s3.h (s3_open2): Prototype.
2012-05-17 Dan Locks <dwlocks@zmanda.com>
* packaging/sun-pkg/buildpkg: add missing --with-libcurl= for server
2012-05-17 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/event.c: Add missing "\n" in debugging.
* perl/Amanda/Application.swg: Make mesgout autoflush.
2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
* installcheck/Amanda_Device.pl: Correctly count NDMP test.
2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amvault.pl: Abort if log file already exists.
2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/find.c: Fix crash when log are corrupted.
2012-05-15 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Recovery/Planner.pm (make_plan_from_filelist): Use the
changer inventory to try to use an already available dump.
* server-src/amidxtaped.pl: Pass the changer to make_plan.
2012-05-14 Jean-Louis Martineau <martineau@zmanda.com>
* common-src/util.c, device-src/s3.c: Fix for pragma and gcc-4.5.2.
2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* perl/Amanda/Taper/Worker.pm (FAILED): Do it correctly.
2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>
* server-src/amstatus.pl: Improve output on taper error.
2012-05-11 Jean-Louis Martineau <martineau@zmanda.com>