-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChangeLog
More file actions
1176 lines (688 loc) · 32.1 KB
/
ChangeLog
File metadata and controls
1176 lines (688 loc) · 32.1 KB
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
2007-12-14 Junichi Uekawa <dancer@debian.org>
* dsh.c (do_echoing_back_process): set line-buffering.
2007-08-15 Junichi Uekawa <dancer@debian.org>
* dsh.1.ja.po: new file
* Makefile.am (dsh.1.ja.po): makefile.
* parameter.c: hide-machine-names
* dsh.ja.1: document
* dsh.1: document.
* dsh.spec: add contributed spec file.
2007-05-18 Junichi Uekawa <dancer@debian.org>
* Makefile.am (upload-dist-all): change from viper to aegis.
* parameter.c: fix forklimit parameter option thinko.
2006-08-11 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.7
2005-07-10 Junichi Uekawa <dancer@debian.org>
* dsh.1: updated manual page to use \- rather than - in places.
2005-04-08 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.6
* dsh.c: move around signal.h inclusion
to really fix solaris build failure.
HAVE_SIGNAL_H should be used after config.h is read.
2005-03-16 Junichi Uekawa <dancer@debian.org>
* tests/param-f-with-space.sh (d): updated test
* tests/param-f.sh: updated test
* tests/param-cn4.sh: updated test
* tests/param-m.sh): updated test
* parameter.c (parse_options): reverse the list to make proper
order for machinelist
* debian/copyright (Copyright): update
* NEWS: update
* configure.ac: 0.25.4.cvs.2
* Makefile.am: add new test
* tests/machinelist-order.sh: new test
2005-03-12 Junichi Uekawa <dancer@debian.org>
* TODO: solaris compilation error is fixed, close.
2005-01-04 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.4.cvs.1
* parameter.c (print_version): update copyright for 2005
* dsh.c: update copyright for 2005.
2004-12-03 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.4
* dsh.c: include signal.h if it exists.
* configure.ac (localedir): add check for signal.h
2004-11-13 Junichi Uekawa <dancer@debian.org>
* TODO: Update todo file.
2004-11-10 Junichi Uekawa <dancer@debian.org>
* debian/copyright (Copyright): update copyright year.
* parameter.c (print_version): update copyright info to say 2004.
* AUTHORS: remove dancer@mikilab.doshisha.ac.jp from mail address.
No longer valid.
2004-06-06 Junichi Uekawa <dancer@debian.org>
* debian/control (Build-Depends): add versioned dependency on libdshconfig for versioned symbols.
* configure.ac: 0.25.3
2004-05-30 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.2.1.cvs.2
* Makefile.am (EXTRA_DIST): add
(TESTS): add test.
* tests/machinelist-comment.txt: test data
* tests/machinelist-comment-test.sh: test
* NEWS: Add notes
* THANKS: update
* parameter.c (stripwhitespace): Add code contributed from Alexander
Zangerl <az@snafu.priv.at> bug: 249794
* dsh.1: update documentation.
2004-05-27 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.25.2.1.cvs.1
* dsh.spec: Appended
* Makefile.am (EXTRA_DIST): add dsh spec file.
2004-04-25 Junichi Uekawa <dancer@debian.org>
* configure.ac: re-dist 0.25.2.1
2004-04-20 Junichi Uekawa <dancer@debian.org>
* configure.ac (DSHVERSION): 0.25.2
* dsh.c (run_input_forking_child_processes_process): Add comment on the
relevant part of code, that this routine has limitations.
* NEWS: add news item
* dsh.ja.1: update.
* dsh.1: Note the limitation in current implementation
2004-04-16 Junichi Uekawa <dancer@debian.org>
* TODO: Add note on the TODO item.
2004-04-15 Junichi Uekawa <dancer@debian.org>
* NEWS: update news
* configure.ac: 0.25.1.cvs.1
* dsh.c (run_input_forking_child_processes_process): add a comment
on what the problem area is.
2004-01-21 Junichi Uekawa <dancer@debian.org>
* dsh.c (run_input_forking_child_processes_process): Add some kind of message.
"Process terminated (before write)." message should be eliminated somewhere in the
future.
* NEWS: update news.
* configure.ac: 0.25.0.cvs.2
* tests/segv-catcher.sh: passes now.
TODO: when in ssh, 'exit' does not immediately terminate the process,
the next input will. This is a bug.
* dsh.c (run_input_forking_child_processes_process): add error handling and signal handling in
write.
* Makefile.am (TESTS): add test segv-catcher.sh
* tests/segv-catcher.sh: add new to check the assertion failed message.
dsh: dsh.c:573: do_shell: Assertion `((((__extension__ ({ union { __typeof(childstatus) __in; int __i; } __u; __u.__in = (childstatus); __u.__i; }))) & 0x7f) == 0)' failed.
* dsh.c (do_shell): exit code 2 if signal received.
update copyright for 2004
* dsh.1: update doc.
* tests/param-i.sh (c): some output
2003-09-18 Junichi Uekawa <dancer@debian.org>
* drshd.c: create a file template for the program, not much content included yet.
* parameter.c (parse_options): sanity checking moved to its own function.
(sanity_checking): new function for sanity checking of options.
* configure.ac: 0.25.0.cvs.1
* parameter.c (parse_options): reword.
2003-09-17 Junichi Uekawa <dancer@debian.org>
* NEWS: update.
* configure.ac: 0.25.0
* debian/control (Description): update description to
explain that this thing has window-limit.
* dsh.c (execute_rsh_single): check that this routine works;
waitpid with WAIT_ANY on forklimit.
* dsh.ja.1: update.
* dsh.1: reworded.
* TODO: udpate, connection limit is implemented. remove.
2003-09-16 Junichi Uekawa <dancer@debian.org>
* tests/param-F-forklimit.sh: show time.
modify the test to be apparent.
* tests/param-F-invalid.sh: fix bug.
* dsh.c (execute_rsh_single): wait for ANY when wait_shell is not.
* Makefile.am (TESTS): add the test here.
* dsh.c (execute_rsh_single): add debug verbose message.
* tests/param-F-forklimit.sh: new test for visually checking.
* tests/param-f-fail.sh: fixed a bug in script.
* Makefile.am (TESTS): add test.
* tests/param-F-invalid.sh: create check for param-F-invalid.sh
* configure.ac (DSHVERSION): 0.24.2.cvs.1
* dsh.c (execute_rsh_single): check forklimit.
Declare currentforkcount as "dsh.c" static variable.
* parameter.c (parse_options): --forklimit and -F
(print_help): -F
(parse_options): add sanity checking.
* dsh.ja.1: document -F
* dsh.1: document -F
* dsh.conf.ja.5: update.
* parameter.c (load_configfile): forklimit
* dsh.conf.5: document forklimit
* TODO: update Todo file adding my wishlists.
2003-08-30 Junichi Uekawa <dancer@debian.org>
* TODO: update TODO file.
2003-08-26 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.24.2
* Makefile.am (TESTS): add test
* tests/test-bufferoverflow.sh (HOME): add check for buffer-overflow which does not exist.
2003-08-05 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.24.0
2003-07-30 Junichi Uekawa <dancer@debian.org>
* NEWS: update
* configure.ac: 0.23.12.cvs.1
* parameter.c: include netgroup.h conditionally.
* configure.ac (localedir): check for netgroup.h, which netbsd seems to have, and conditionally include netgroup.h for checking setnetgrent.
2003-07-26 Junichi Uekawa <dancer@debian.org>
* NEWS: 0.23.12
* configure.ac: Fix the checking message for libdshconfig.h
2003-07-20 Junichi Uekawa <dancer@debian.org>
* NEWS: Add notes that Tru64 UNIX and HP-UX are now supported
* configure.ac: Include unistd.h for netdb.h checking.
Tru64 Unix defines setnetgrent in netdb.h, and setnetgrent returns void.
0.23.11.cvs.2
2003-07-19 Junichi Uekawa <dancer@debian.org>
* configure.ac: cvs.1
2003-06-12 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.11
Improve libdshconfig check. Use AC_COMPILE_IFELSE rather than
AC_CHECK_HEDAERS (which only check for system headers)
* Makefile.am (TESTS_ENVIRONMENT): add version to strings to pass to
test scripts.
* tests/news-okay.sh: check for version mismatch
* NEWS: update the news file.
2003-06-10 Junichi Uekawa <dancer@debian.org>
* configure.ac: error out when dshconfig.h is not available.
Reported from Tomo Hiroyasu.
0.23.10.cvs.2
2003-06-09 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.10.cvs.1
* Makefile.am (build-man/dsh.conf.5): reorder things so that
it does not error-out on solaris.
It was verified that it builds on cygwin fine, by
Tomo Hiroyasu.
2003-06-08 Junichi Uekawa <dancer@debian.org>
* THANKS: create file to list people who have reported bugs on
dsh.
* configure.ac: 0.23.10
* README: modify the contents so that it contains some information
rather than unhelpful pointer.
* parameter.c (read_machinenetgroup): check for setnetgrent
and do dummy action when not available.
* TODO: update TODO file.
* configure.ac: 0.23.9.cvs.2
check for funcs setnetgrent getnetgrent endnetngrent which seem not
to be available on cygwin.
reported by Tomo Hiroyasu <tomo@is.doshisha.ac.jp>
2003-06-07 Junichi Uekawa <dancer@debian.org>
* Makefile.am (build-man/dsh.conf.5):
(build-man/dsh.1): do not use $<, which is not supported on AIX
and SunOS make.
Tomo Hiroyasu <tomo@is.doshisha.ac.jp>
* configure.ac: add libdshconfig.h check, reported from
Tomo Hiroyasu <tomo@is.doshisha.ac.jp>
* dsh.c (dsh_update_exit_code): use EXIT_SUCCESS instead of 0.
* configure.ac: 0.23.9.cvs.1
* dsh.c (run_input_forking_child_processes_process): add error message for forking
* tests/param-i.sh: change to support getopt which does not support -rhoge
style command-line specification.
added extra test, to see what is giving warnings.
* parameter.c: update docs.
(print_version): update copyright statement.
(read_machinenetgroup): update doc; duplicates are removed.
* linkedlist.c: update docs.
* parameter.h: fix doc strings.
* configure.ac: 0.23.9
* NEWS: update
* dsh.c (fork_and_pipe_echoing_routine): and re-revert to use it as the
parent process; and return the child exit-code to the parent.
* dsh.conf (verbose): change default to not show machinenames.
* tests/param-r-invalid.sh: add more checks
* dsh.c (fork_and_pipe_echoing_routine): child process
is the one who does echoing back process, not the parent process.
Changing the way around.
I don't know if it will cause problems, but return-code handling is much better now.
2003-06-06 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.8.cvs.1
* NEWS: mark so that 0.23.8 had broken tests, skip that version.
2003-06-05 Junichi Uekawa <dancer@debian.org>
* dsh.c (execute_rsh_single): assert that thing is child is exited.
* configure.ac: 0.23.8
* NEWS: update news.
* Makefile.am (viper): remove rules for mikilab
* configure.ac: 0.23.7.cvs.5
* dsh.ja.1: update
* dsh.1: update docs on exit code.
* dsh.c (dsh_update_exit_code): use the first non-zero exit
code as return code.
* Makefile.am (TESTS): add param-r-invalid
* tests/param-r-invalid.sh: create new test for -rinvalid-exec-file
* dsh.c (do_echoing_back_process): more translation
* parameter.c (parse_options): update doc.
* tests/param-f-fail.sh: explicitly check for return code value.
* configure.ac: 0.23.7.cvs.4
* dsh.c: define dsh_exit_code, default to 0.
(do_shell): return dsh_exit_code instead of '0'.
update file copyright.
(dsh_update_exit_code): create a template for adding full features.
I'd add things later.
2003-06-04 Junichi Uekawa <dancer@debian.org>
* Makefile.am (install-data-local): typo in install location of
dsh.conf.5
* debian/compat: define compat version of 3.
* configure.ac: 0.23.7.cvs.3 -- passes make distcheck
* Makefile.am (install-data-local): add missing ${srcdir}
(uninstall-local): add uninstall target.
* configure.ac: 0.23.7.cvs.2
* NEWS: update.
* dsh.ja.1: fix wording.
* Makefile.am (install-data-local): support @sysconfdir@
manual pages are installed properly, including localized ones.
* dsh.conf.ja.5: use @sysconfdir@
* dsh.conf.5: ditto
* Makefile.am (install-data-local): try and make a i18n build script.
* dsh.ja.1: use @sysconfdir@ instead of hard-coding.
* dsh.1: use @sysconfdir@ instead of hard-coding.
2003-05-29 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.7.cvs.1
* ja pages were not included in the distribution, include as
EXTRA_DIST
* configure.ac: 0.23.7
* NEWS: created file, added info on this release of dsh.
* Makefile.am (noinst_dist_man_MANS): Japanese translation are
noinst targets for now, since automake doesn't install them to
proper places.
* dsh.conf.ja.5: created new file.
* Makefile.am (dist_man_MANS): add files.
* dsh.conf.5: created new file.
* dsh.ja.1: create japanese translation.
* dsh.1: update docs, mention remsh.
2003-01-24 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.6
* Makefile.am (TESTS): add the test
* tests/param-b-0.sh: new test to check buffer size param functionality
* parameter.c (parse_options): check that buffersize is not 0 or
any silly value.
2002-11-27 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.5
2002-11-12 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.4.cvs.3
* dsh.1: update documentation to include -i.
2002-10-22 Junichi Uekawa <dancer@debian.org>
* TODO: update TODO file with beautification.
* configure.ac: 0.23.4.cvs.2
* dsh.1: update manual page
* configure.ac: 0.23.4.cvs.1
* Makefile.am (TESTS): update
(EXTRA_DIST): add test.space.file
* tests/param-f-with-space.sh: test with reading file with space
to make sure that:
#165746: dsh.updatelist generates invalid /etc/dsh/machines.list
is not happening.
* tests/list.space.file: file with space.
2002-10-21 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.4
* debian/rules (binary-arch): add upstream changelog.
2002-10-19 Junichi Uekawa <dancer@debian.org>
* parameter.c (parse_options): fail on error.
* dsh.c (execute_rsh_multiple): add some error checking.
* configure.ac: 0.23.3
* linkedlist.c (lladd): fix typo.
* configure.ac: 0.23.2.cvs.2
* autogen.sh: remove ./configure from autogen script.
* linkedlist.c (lladd): add error checking in lladd routine.
add gettext related includes.
2002-10-09 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.2.cvs.1
change version so that we know.
2002-10-07 Junichi Uekawa <dancer@debian.org>
* debian/rules (DSH): remove unneeded definitions
* debian/control (Standards-Version): update standards-version to 3.5.7
2002-10-02 Junichi Uekawa <dancer@debian.org>
* configure.ac: spelling mistake in configure script. fix.
2002-10-01 Junichi Uekawa <dancer@debian.org>
* dcp.sh: trying to create an implementation of dcp.
2002-09-30 Junichi Uekawa <dancer@debian.org>
* parameter.c (parse_options): move index_point to inside the
HAVE_GETOPT_LONG, because index_point is used with getopt_long only.
* configure.ac: 0.23.2
Compiles and works on AIX.
* tests/param-unknown.sh: add -u to check.
along with --unknown-parameter.
* dsh.c (do_echoing_back_process): use size_t for getline argument.
* configure.ac: 0.23.1.aix.2
* parameter.c (read_machinenetgroup):
work around AIX and work around void function.
* configure.ac: check for setnetgrent
(SETNETGRENT_RETURNS_VOID): check for setnetgrent which
returns void (AIX is possibly broken in this respect, so
work around it).
* parameter.c (read_machinelist): use size_t instead of int,
because getline parameter is in size_t, and AIX likes
size_t to be a long.
(parse_options): change ifdef statement because AIX
cpp barfs on #ifdef outside of function.
move config.h inclusion to start.
* configure.ac: change gettext check to be warning.
version 0.23.1.aix.1
* configure.ac: version 0.23.1, translation is updated,
and more checks are in place.
* configure.ac: add checks that are recommended by
autoconf. They aren't really handled right now, but you know
configure is barfing, at least.
2002-09-29 Junichi Uekawa <dancer@debian.org>
* add doc++ rule.
2002-09-28 Junichi Uekawa <dancer@debian.org>
* configure.ac: remove changequote.
remove AH_TEMPLATE and use AC_DEFINE third param
2002-09-25 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.23.0, introducing new code to make dsh perform with POSIXly correct getopt behavior.
* Makefile.am (TESTS): added the new test.
* tests/param-gnu-getopt.sh: check for the GNU getopt hackery.
* parameter.c (parse_options): add GNU getopt hackery to make it work with POSIX manner.
* configure.ac: use @<:@@:>@ autoconf quadrigraph
Check that getopt is a GNU getopt, and allow for escapes.
* Makefile.am (TESTS_ENVIRONMENT): add environment for LC_ALL and LANG
2002-09-24 Junichi Uekawa <dancer@debian.org>
* configure.ac: add AC_PROG_MAKE_SET as advised by info page for using SUBDIR
2002-09-23 Junichi Uekawa <dancer@debian.org>
* debian/dsh.updatelist: update the machines list to use ${CLUSTERXML} format
instead of using hard-coded cluster.xml location.
* Makefile.am (TESTS): add it to the tests list.
* tests/param-i.sh: new test to check whether the -i option works.
* tests/param-cn4.sh: use ${bindir} variable, because full path of dsh changes
* Makefile.am (TESTS_ENVIRONMENT): specify bindir=$(bindir) for use.
* Makefile.am (SUBDIRS): remove tests from SUBDIRS
(EXTRA_DIST): extra dist for tests is done with the main Makefile.am
* configure.ac: remove tests/Makefile.
* tests/param-cn4.sh: check the -cn4 option is working.
* tests/Makefile.am (EXTRA_DIST): add
* Makefile.am (TESTS): add
* tests/param-unknown.sh: add test for unknown param
* Makefile.am (TESTS): add
* tests/Makefile.am (EXTRA_DIST): add.
* parameter.c (parse_options): handle unknown option parameter properly.
(parse_options): abort on wrong option.
2002-09-22 Junichi Uekawa <dancer@debian.org>
* tests/Makefile.am (EXTRA_DIST): dist target
* Makefile.am (TESTS): add to test target
* tests/param-f-fail.sh: add new test to check failure to -f.
* parameter.c (read_machinelist): fail on error to
open the file.
(read_machinenetgroup): fail on error.
exit(1) on failure.
* Makefile.am (SUBDIRS): add support for tests.
(check_PROGRAMS): add dsh to check_PROGRAMS as well
* tests/list.file: file list to use with -f option.
* tests/param-m.sh: test -m option.
* tests/param-f.sh: test -f option.
* configure.ac: add tests/Makefile
* tests/Makefile.am (EXTRA_DIST): create testsuite.
* configure.ac: 0.22.0
some new features are being added. Bump up the version.
start debugging those features :)
* dsh.1: document that multiple specification of
same machine will not be valued, and be merged into one.
* parameter.c (machinelist_lladd): implement using llmatch.
This fixes Debian BUG
Bug#161845: dsh: Weak parsing of /etc/dsh/dsh.conf, and of options
Philippe Troin <phil@fifi.org>
Duplicate machine entries are ignored.
* linkedlist.h: add definition of llmatch
* linkedlist.c (llmatch): string-matching routine.
* parameter.c
(split_machines_list_and_add_machines, read_machinenetgroup)
(read_machinelist): use machinelist_lladd instead of lladd
(machinelist_lladd): new function.
2002-09-21 Junichi Uekawa <dancer@debian.org>
* dsh.c (execute_rsh_single): add notes on when NOT to fork.
2002-09-20 Junichi Uekawa <dancer@debian.org>
* parameter.h (do_shell): move over a function declaration to
parameter.h so that checks will exist, from parameter.c
* dsh.1: document the new feature, the "," delimiter for -m
option.
* parameter.c (split_machines_list_and_add_machines): new function,
allow specifying of -m host1,host2 kind of parameter.
(parse_options): use the split_machines_list_and_add_machines
2002-09-19 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.21.3
The main problem seems to have been addressed. Yay!
* parameter.c (stripwhitespace): change stripn to stripwhitespace
and strip whitespace while we are at it.
(read_machinelist): strip whitespace when reading config file.
(read_machinelist): properly ignore blank lines.
(stripwhitespace): fix typo.
(stripwhitespace): fix reverse-logic.
(stripwhitespace): fix typo.
* dsh.c (run_input_forking_child_processes_process): trying to debug the thing now.
(run_input_forking_child_processes_process): I made a mistake.
0 is a end-of-file for read(). Treat it like that, and it should be all happy now.
(run_input_forking_child_processes_process): close the output fd in the parent process.
2002-09-18 Junichi Uekawa <dancer@debian.org>
* dsh.c (main): add error checking for bindtextdomain, and textdomain calls.
(main): some proper handling.
* configure.ac: 0.21.2
with even more minor cosmetic bugfixes, which does not address the main problem.
* dsh.c (run_input_forking_child_processes_process): call open_devnull for default case.
* parameter.h (open_devnull): define
* parameter.c (open_devnull): make this symbol public
* configure.ac: 0.21.1
* dsh.c (run_input_forking_child_processes_process): exit from process, not just break from the case
statement!
Make distributed copy work.
2002-09-16 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.21.0
* dsh.c (run_input_forking_child_processes_process): properly close fd when process terminates.
* linkedlist.c: add include for parameter.h
* dsh.1: document -b.
* parameter.c (print_help): document -i and -b
(parse_options): add -b handling.
* parameter.h: add declaration for malloc_with_error
* parameter.c (malloc_with_error): make the static function public.
Remove the same function from linkedlist.c
* dsh.1: document --duplicate-input
* parameter.c (parse_options): add -i --duplicate-input option.
* dsh.c: define buffer_size; default is 1024.
* parameter.h: define buffer_size;
* dsh.c (run_input_forking_child_processes_process): implement the writing out.
(do_shell): call the run_input_forking_child_processes_process.
* parameter.c (parse_options), and other places: change var name to pipe_option.
* parameter.h: change show_machine_names to pipe_option
* dsh.c (main): remove call to open_devnull
change name of show_machine_names to pipe_option.
* parameter.c (open_devnull): move from dsh.c to parameter.c
(parse_options): sanity check.
(parse_options): call open_devnull.
* dsh.c (do_execute_with_optional_pipe): use PIPE_OPTION_OUTPUT instead of hardcoding
(execute_rsh_single): add partial PIPE_OPTION_INPUT handling routine.
* parameter.c (parse_options): use PIPE_OPTION_OUTPUT instead of hardcoding 1.
* dsh.h (PIPE_OPTION_INPUT): add constant for options..
* debian/control (Description): add upstream URL in description line.
2002-09-14 Junichi Uekawa <dancer@debian.org>
* dsh.c (do_echoing_back_process): change the function name, to clarify that this is a process..
(do_shell): add error message
(do_shell): return value
(execute_rsh): return value
(execute_rsh_multiple): return value
(execute_rsh_single): return value
* configure.ac: 0.20.4
* parameter.c (parse_options): add notes on what is problematic about it.
* dsh.c (main): note the plan; when show_machine_names &2 == 1,
it should read input and duplicate the value to all other
processes.
(execute_rsh_multiple): simplify code with "-n 4" to "-n4" kind of
parameter passing.
(do_execute_with_optional_pipe): add the hook to do things properly
later.
(fork_and_pipe_echoing_routine): return -1 instead of exit(EXIT_FAILURE)
(do_execute_with_optional_pipe): changed implementation to use
fork_and_pipe_echoing_routine.
(do_execute_with_optional_pipe): fix typo
(execute_rsh_multiple): pass -r option to other end when doing -nX. !!!
It was missing from previous releases.
* parameter.c (parse_options): change show_machine_names = 1 to
|= 1.
(load_configfile): change logic to do |= 1
* dsh.c (do_execute_with_optional_pipe): unify the code path
for pipe option, and other.
* linkedlist.c (llexec): document functions.
* dsh.c: some updates to documentation
2002-09-11 Junichi Uekawa <dancer@debian.org>
* dsh.c: include locale.h
* autogen.sh: call aclocal -I m4
* configure.ac: 0.20.3
* parameter.c (parse_options): update and mark for translation
* Makefile.am (dsh_CFLAGS): add localedir to defines.
(SUBDIRS): add po
* dsh.c: include gettext.h
(do_execute_with_optional_pipe): gettextize string.
(main): add setlocale, bindtextdomain, textdomain.
* Makefile.am (dsh_SOURCES): add gettext.h
* gettext.h: add from gettext.
* configure.ac: AM_GNU_GETTEXT([external]);
(localedir): add localedir definition, ALL_LINGUAS definition, and
gettext function checking.
2002-09-11 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): New variable.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add config.rpath.
* configure.ac (AC_OUTPUT): Add po/Makefile.in,
2002-09-06 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.20.2
2002-08-14 Junichi Uekawa <dancer@debian.org>
* Makefile.am: define DSH_COMMANDLINE to be bindir/PACKAGE
* dsh.c (execute_rsh_multiple): use DSH_COMMANDLINE instead of PACKAGE.
2002-07-24 Junichi Uekawa <dancer@debian.org>
* configure.ac: 0.20.1
* Makefile.am: modify dist targets updated from dmachinemon sources.
2002-06-25 Junichi Uekawa <dancer@debian.org>
* configure.ac: update for autoconf1.5, change to ac.
probably requires automake 1.6
version 0.0.19.8
change to version 0.20.0
2002-06-23 Junichi Uekawa <dancer@debian.org>
* dsh.h: fix typo.
* configure.in: look for asprintf
version 0.0.19.7
2002-06-19 Junichi Uekawa <dancer@debian.org>
* Makefile.am (man_MANS): remove dsh_LDFLAGS, it's set in configure.
2002-06-15 Junichi Uekawa <dancer@debian.org>
* configure.in: emit error if dshconfig is not found.
version 0.0.19.6
2002-06-14 Junichi Uekawa <dancer@debian.org>
* configure.in: 0.0.19.5
* parameter.c (print_version): update copyright information.
* dsh.h: add prototype for asprintf.
* configure.in: 0.0.19.4
* debian/rules (configure-stamp): fix up configure script to
put files in /etc/dsh, and mandir in /usr/share/man
* Makefile.am (EXTRA_DIST): add autogen.sh to dist target
(EXTRA_DIST): add sysconf_DATA
* parameter.c (parse_options): use DSHCONFDIR instead of hardcoding /etc/dsh
* Makefile.am (dsh_CFLAGS): add -DDSHCONFDIR to dsh_CFLAGS
* AUTHORS: updated authors list to add notes on solaris port
* Makefile.am (EXTRA_DIST): add dsh.conf to EXTRA_DIST target.
* dsh.c:
* linkedlist.c:
* parameter.c: reorder includes to get dsh.h earlier, and remove reference to config.h
* dsh.h (getline): add declaration for getline function, if it doesn't exist.
include config.h here.
* dsh.c: remove unnecessary getopt.
(getline): remove the static declaration.
* configure.in: 0.0.19.3
* parameter.c, dsh.c, linkedlist.c: revert use of <config.h> to use "config.h".
someone else is providing config.h somewhere, breaking my build.
* parameter.c: add ifdef for HAVE_GETOPT_H, and getopt_long
Thanks to Petter Reinholdtsen <pere@hungry.com>
* dsh.c (asprintf): add asprintf definition.
Thanks to Petter Reinholdtsen <pere@hungry.com>
(getline): copy getline definition from libdshconfig.
* configure.in: add AC_CHECK_HEDAERS/FUNCS for getopt
Thanks to Petter Reinholdtsen <pere@hungry.com>
2002-06-13 Junichi Uekawa <dancer@debian.org>
* configure.in: 0.0.19.2
* debian/rules (binary-arch): removed the installman specifics, because
the upstream makefile will handle it.
* Makefile.am (man_MANS): add dsh.1 to man_MANS, and EXTRA_DIST
Thanks to Petter Reinholdtsen <pere@hungry.com>
* configure.in: check libdshconfig for open_dshconfig
* linkedlist.c, parameter.c, dsh.c: #include <config.h> instead of "config.h"
2002-06-12 Junichi Uekawa <dancer@debian.org>
* configure.in: version 0.0.19.1