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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
|
--- bsdgames-2.13.orig/atc/atc.6.in
+++ bsdgames-2.13/atc/atc.6.in
@@ -175,7 +175,7 @@
to be a command and is therefore not displayed. The following are
some possible information lines:
.Pp
-.Bd -literal -unfilled -offset indent
+.Bd -literal -offset indent
B4*A0: Circle @ b1
g7 E4: 225
.Ed
@@ -438,7 +438,7 @@
.Em exactly
diagonal.
.Ss "FIELD FILE EXAMPLE"
-.Bd -literal -unfilled
+.Bd -literal
# This is the default game.
update = 5;
--- bsdgames-2.13.orig/bcd/bcd.6
+++ bsdgames-2.13/bcd/bcd.6
@@ -50,7 +50,7 @@
.Op Fl ds Ar string ...
.Sh DESCRIPTION
The
-.Nm "" ,
+.Nm bcd ,
.Nm ppt
and
.Nm morse
--- bsdgames-2.13.orig/boggle/boggle/boggle.6
+++ bsdgames-2.13/boggle/boggle/boggle.6
@@ -99,7 +99,7 @@
.El
.Pp
Help is available during play by typing
-.Ic Sq ? .
+.Ic `?' .
More detailed information on the game is given there.
.Sh BUGS
If there are a great many words in the cube the final display of the words
--- bsdgames-2.13.orig/debian/control
+++ bsdgames-2.13/debian/control
@@ -0,0 +1,21 @@
+Source: bsdgames
+Section: games
+Priority: optional
+Build-Depends: debhelper (>= 4), libncurses5-dev, flex, bison, wenglish, wbritish, dpkg-dev (>= 1.9.0)
+Maintainer: Joey Hess <joeyh@debian.org>
+Standards-Version: 3.5.7.1
+
+Package: bsdgames
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, wenglish | wordlist
+Conflicts: bsdgames-nonfree (<< 2.5), suidmanager (<< 0.50)
+Replaces: bsdgames-nonfree (<< 2.5)
+Description: collection of text games from BSD systems
+ This is a collection of some of the text-based games and amusements that have
+ been enjoyed for decades on unix systems.
+ .
+ Includes these programs: adventure, arithmetic, atc, backgammon, battlestar,
+ bcd, boggle, caesar, canfield, countmail, cribbage, fish, gomoku, hangman,
+ hunt, mille, monop, morse, number, pig, phantasia, pom, ppt, primes, quiz,
+ random, rain, robots, sail, snake, tetris, trek, wargames, worm, worms,
+ wump, wtf
--- bsdgames-2.13.orig/debian/changelog
+++ bsdgames-2.13/debian/changelog
@@ -0,0 +1,566 @@
+bsdgames (2.13-11) unstable; urgency=low
+
+ * Fixed silly typo in wargames man page. Closes: #169307
+
+ -- Joey Hess <joeyh@debian.org> Sat, 16 Nov 2002 18:58:22 -0500
+
+bsdgames (2.13-10) unstable; urgency=low
+
+ * Updated to debhelper v4.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 1 Jun 2002 22:26:40 -0400
+
+bsdgames (2.13-9) unstable; urgency=low
+
+ * Moved wtf acronym list into /usr/share/games. Closes: #144804
+
+ -- Joey Hess <joeyh@debian.org> Wed, 22 May 2002 13:17:37 -0400
+
+bsdgames (2.13-8) unstable; urgency=low
+
+ * COrrected primes (really factor) man page. Closes: #144738
+
+ -- Joey Hess <joeyh@debian.org> Sat, 27 Apr 2002 11:00:25 -0400
+
+bsdgames (2.13-7) unstable; urgency=low
+
+ * Make sure boggle is always built with the same wordlist, and use the union
+ of wenglish and wbristish for that list. Building with web2 resulted in
+ too many scrabble-words..
+
+ -- Joey Hess <joeyh@debian.org> Sun, 7 Apr 2002 20:27:57 -0400
+
+bsdgames (2.13-6) unstable; urgency=low
+
+ * Fixed man page warnings, Closes: #139414
+
+ -- Joey Hess <joeyh@debian.org> Thu, 21 Mar 2002 22:24:53 -0500
+
+bsdgames (2.13-4) unstable; urgency=low
+
+ * Corrected hint => hints, Closes: #134120
+
+ -- Joey Hess <joeyh@debian.org> Fri, 15 Feb 2002 16:36:20 -0500
+
+bsdgames (2.13-3) unstable; urgency=low
+
+ * Added -m option to hangman to set MINLEN. Closes: #129998
+
+ -- Joey Hess <joeyh@debian.org> Sat, 19 Jan 2002 18:04:06 -0500
+
+bsdgames (2.13-2) unstable; urgency=low
+
+ * Fixed bad merge (that's why sail was broken).
+
+ -- Joey Hess <joeyh@debian.org> Sat, 29 Dec 2001 13:37:00 -0500
+
+bsdgames (2.13-1) unstable; urgency=low
+
+ * New upstream release.
+ * Patched sail/sync.c to build (lots of missing includes and other trivial
+ mistakes).
+
+ -- Joey Hess <joeyh@debian.org> Fri, 28 Dec 2001 18:15:41 -0500
+
+bsdgames (2.12-11) unstable; urgency=low
+
+ * Added menu hints for backgammon and gomoku, Closes: #121012, #121012
+ NB: holding off on changing menu titles until I see evidence it's really
+ necessary.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 25 Nov 2001 21:48:03 -0500
+
+bsdgames (2.12-10) unstable; urgency=low
+
+ * Fixed tetris on sun systems to not lag 3 keystrokes behind, patch from
+ upstream. Closes: #97033
+
+ -- Joey Hess <joeyh@debian.org> Sun, 18 Nov 2001 17:19:18 -0500
+
+bsdgames (2.12-9) unstable; urgency=low
+
+ * Corrected cost of slime. Closes: #110782
+ * Added '-' to character class, so wargames can launch moon-buggy.
+ This is clearly a vital fix, but I hesitate to increase the severity of
+ this upload. Closes: #93638
+
+ -- Joey Hess <joeyh@debian.org> Mon, 17 Sep 2001 00:51:07 -0400
+
+bsdgames (2.12-8) unstable; urgency=low
+
+ * Applied a patch from Igor Khavkine <i_khavki@alcor.concordia.ca> to
+ make the package build on the Hurd. Closes: #98562
+
+ -- Joey Hess <joeyh@debian.org> Wed, 23 May 2001 22:49:26 -0400
+
+bsdgames (2.12-7) unstable; urgency=low
+
+ * Modified all the rest of the menu items that need a pause after
+ running. Also fixed bashisms in the pause code..
+
+ -- Joey Hess <joeyh@debian.org> Fri, 11 May 2001 16:19:13 -0400
+
+bsdgames (2.12-6) unstable; urgency=low
+
+ * Pause after tetris-bsd exits when run from the menu, to give a chance
+ for the high scores to be seen. Closes: #96999
+
+ -- Joey Hess <joeyh@debian.org> Thu, 10 May 2001 21:49:37 -0400
+
+bsdgames (2.12-5) unstable; urgency=low
+
+ * Added AIUI, Closes: #90973
+
+ -- Joey Hess <joeyh@debian.org> Sat, 24 Mar 2001 14:27:16 -0800
+
+bsdgames (2.12-4) unstable; urgency=low
+
+ * Added real dependancy alternate (lintian).
+ * Debhelper v3.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 10 Feb 2001 00:24:27 -0800
+
+bsdgames (2.12-3) unstable; urgency=low
+
+ * Corrected snake's usage message, Closes: #84852
+ * Patch from Malcolm Parsons <malcolm@ivywell.screaming.net> to fix
+ snake scoring problem, Closes: #80549
+ * Statoverride transition.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 4 Feb 2001 14:06:28 -0800
+
+bsdgames (2.12-2) unstable; urgency=low
+
+ * Depends on wordlist, Closes: #76331
+
+ -- Joey Hess <joeyh@debian.org> Sun, 5 Nov 2000 15:25:06 -0800
+
+bsdgames (2.12-1) unstable; urgency=low
+
+ * New upstream release, fixing problems in battlestar. Closes: #70465
+
+ -- Joey Hess <joeyh@debian.org> Tue, 26 Sep 2000 09:21:22 -0700
+
+bsdgames (2.11-4) unstable; urgency=low
+
+ * Updated to debhelper v2.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 25 Sep 2000 14:14:51 -0700
+
+bsdgames (2.11-3) unstable; urgency=low
+
+ * Fixed a typo in bcd's man page.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 31 Aug 2000 21:33:33 -0700
+
+bsdgames (2.11-2) unstable; urgency=low
+
+ * Patch from pmaydell@chiark.greenend.org.uk to fix a segfault in
+ battlestar if you say "wear knfo" or similar nonsensical things.
+ (Patch also sent upstream.) Closes: #70465
+
+ -- Joey Hess <joeyh@debian.org> Mon, 28 Aug 2000 17:16:27 -0700
+
+bsdgames (2.11-1) unstable; urgency=low
+
+ * New upstream.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 19 Apr 2000 14:30:22 -0700
+
+bsdgames (2.10-3) unstable; urgency=low
+
+ * Modified asian capitals quiz with some corrections. Closes: #62078
+
+ -- Joey Hess <joeyh@debian.org> Sun, 9 Apr 2000 15:16:40 -0700
+
+bsdgames (2.10-2) unstable; urgency=low
+
+ * Fixed countmail man page, Closes: #61846
+
+ -- Joey Hess <joeyh@debian.org> Wed, 5 Apr 2000 13:42:58 -0700
+
+bsdgames (2.10-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 12 Feb 2000 16:35:11 -0800
+
+bsdgames (2.9-4) unstable; urgency=low
+
+ * Built with ncurses5, Closes: #55448
+
+ -- Joey Hess <joeyh@debian.org> Fri, 21 Jan 2000 15:26:56 -0800
+
+bsdgames (2.9-3) unstable; urgency=low
+
+ * Download directory update.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 11 Jan 2000 15:53:35 -0800
+
+bsdgames (2.9-2) unstable; urgency=low
+
+ * Build deps. Boggle is now forced to always build with wgenlish as it's
+ word list, for consitency. Unfortunatly, it cannot use the currnetly
+ install word list because it hashes it at install time.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 4 Dec 1999 00:13:01 -0800
+
+bsdgames (2.9-1) unstable; urgency=low
+
+ * New upstream version.
+ * Patch from Malcolm to fix tetris-bsd score formatting if there are more
+ than 10 scores. (Closes: #50031)
+ * Include /var/games/bsdgames/sail, (Closes: #50074)
+ * Fixed robots spelling mistake, (Closes: #50075)
+ * tetris-bsd now uses its name, (Closes: #50077)
+ * Fixed phantasia/characs permissions so it's not world-readable
+ (passwords) (Closes: #50076)
+
+ -- Joey Hess <joeyh@debian.org> Sat, 13 Nov 1999 14:14:34 -0800
+
+bsdgames (2.8-5) unstable; urgency=low
+
+ * Patch from Malcolm Parsons <malcolm@bits.bris.ac.uk> to fix robots -A
+ score problem. (Closes: #49894)
+ * Patch from Malcolm to fix robots so it asks if you want a new game after
+ each game. (Closes: #49897)
+
+ -- Joey Hess <joeyh@debian.org> Thu, 11 Nov 1999 11:28:52 -0800
+
+bsdgames (2.8-4) unstable; urgency=low
+
+ * Fixed rot13 test suite to work before the package is installed.
+ Closes: #48559
+
+ -- Joey Hess <joeyh@debian.org> Thu, 28 Oct 1999 11:35:49 -0700
+
+bsdgames (2.8-3) unstable; urgency=low
+
+ * Patch from William Brioschi to make random work on alpha. Closes: #47903
+ (forwared upstream)
+
+ -- Joey Hess <joeyh@debian.org> Sun, 24 Oct 1999 16:27:54 -0700
+
+bsdgames (2.8-2) unstable; urgency=low
+
+ * Corrected the capital of Monaco. (Closes: #46119)
+
+ -- Joey Hess <joeyh@debian.org> Mon, 27 Sep 1999 12:53:20 -0700
+
+bsdgames (2.8-1) unstable; urgency=low
+
+ * New upstream release.
+ * Updated copyright based on the updated COPYING file
+ * RUn the regression tests at build time.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 26 Sep 1999 14:30:06 -0700
+
+bsdgames (2.7-3) unstable; urgency=low
+
+ * FHS. This involves moving to /var/games for all game data. Score files
+ are moved to there in the postinst now.
+ * Removed bashisms in debian/rules
+
+ -- Joey Hess <joeyh@debian.org> Wed, 8 Sep 1999 17:02:12 -0700
+
+bsdgames (2.7-2) unstable; urgency=low
+
+ * Removed 2 patches I made that are no longer necessary.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 7 Apr 1999 14:53:52 -0700
+
+bsdgames (2.7-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 6 Apr 1999 23:50:51 -0700
+
+bsdgames (2.6-2) unstable; urgency=low
+
+ * Fixed backgammon to correctly calculate the game value, patch from
+ sjl@debian.lib.monash.edu.au (Stuart Lamble) (#35038)
+
+ -- Joey Hess <joeyh@debian.org> Thu, 25 Mar 1999 13:33:07 -0800
+
+bsdgames (2.6-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 20 Dec 1998 00:24:18 -0500
+
+bsdgames (2.5-4) frozen unstable; urgency=low
+
+ * Commented out a bogus sprintf prototype in sail/sync.c, makes sail
+ not segfault on startup. (#30246).
+
+ -- Joey Hess <joeyh@debian.org> Tue, 1 Dec 1998 12:52:14 -0800
+
+bsdgames (2.5-3) unstable; urgency=low
+
+ * Built with newest debhelper to change how sgid binaries are registered.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 27 Oct 1998 20:59:48 -0800
+
+bsdgames (2.5-2) unstable; urgency=low
+
+ * Removed bougs wordlist | wenglish dependancy.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 1 Oct 1998 12:59:53 -0700
+
+bsdgames (2.5-1) unstable; urgency=low
+
+ * New upstream release - boggle is now free.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 24 Sep 1998 17:17:32 -0700
+
+bsdgames (2.4-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 5 Sep 1998 15:49:53 -0700
+
+bsdgames (2.3-2) unstable; urgency=low
+
+ * Make NEWS be a symlink to the upstream changelog, so the file name is
+ preserved.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 20 Aug 1998 15:57:14 -0700
+
+bsdgames (2.3-1) unstable; urgency=low
+
+ * New upstream release, that fixes a file in /tmp security hole in sail
+ and also integrates many security fixes from OpenBSD intended to let the
+ games run sgid games.
+ * Given those fixes, I've re-enabled the sgid games bit on the games
+ that need it, and removed the README.Debian about this.
+ * Reworked how configure script is run, following the author's new docs in
+ PACKAGING.
+ * Applied patch from upstream to fix #25933, segfault in number if given a
+ negative value.
+ * Re-enabled bell in robots, it seems to work ok in an xterm now.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 19 Aug 1998 14:54:48 -0700
+
+bsdgames (2.1-8) unstable; urgency=low
+
+ * Use single = in postrm (#25512).
+
+ -- Joey Hess <joeyh@debian.org> Fri, 7 Aug 1998 12:14:35 -0700
+
+bsdgames (2.1-7) unstable; urgency=low
+
+ * Fixed menu file so adventure will show up.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 5 Aug 1998 14:21:20 -0700
+
+bsdgames (2.1-6) unstable; urgency=low
+
+ * Once more rebuilt with newer ncurses lib to fix worm and mille
+ segfaults. Why is ncusrses doing this to me?
+
+ -- Joey Hess <joeyh@debian.org> Wed, 22 Jul 1998 20:22:01 -0700
+
+bsdgames (2.1-5) unstable; urgency=low
+
+ * Rebuilt with fakeroot to fix libtricks breakage.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 16 Jul 1998 11:03:20 -0700
+
+bsdgames (2.1-4) unstable; urgency=low
+
+ * Fixed minor spelling error in quiz/europe (#24586), reported by Branden
+ Robinson.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 14 Jul 1998 23:02:23 -0700
+
+bsdgames (2.1-3) frozen unstable; urgency=medium
+
+ * Reluctantly removed all sgid bits from all games in the package.
+ I have found at least 2 easy exploits of a sgid bit that get you sgid
+ games shells, and there are probably many more. See the TODO, which has
+ a security audit as it's first priority, but explains the difficulties
+ of one.
+ * Added a README.Debian exaplaining this in greater detail.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 18 Jun 1998 10:06:54 -0700
+
+bsdgames (2.1-2) frozen unstable; urgency=low
+
+ * Just rebuilt with newer ncurses lib to fix worm and mille segfaults.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 7 Jun 1998 09:17:11 -0400
+
+bsdgames (2.1-1) frozen unstable; urgency=low
+
+ * New upstream bugfix release:
+ - adds man page for wargames to upstream source.
+ - uses .Bstar for battlestar save game file (a change I made long ago to
+ the debian version)
+ - changes to build process that don't affect us.
+ - bugfixes.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 30 Mar 1998 12:03:30 -0800
+
+bsdgames (2.0-4) unstable; urgency=low
+
+ * No high score files are conffiles now.
+ * For phantasia's "monsters" and "void" files, which cannot be simply
+ touched in the postinst, I now copy them over from
+ /usr/share/games/bsdgames/phantasia in the postinst, if they don't
+ already exist.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 10 Mar 1998 18:08:51 -0800
+
+bsdgames (2.0-3) unstable; urgency=low
+
+ * Added a man page for wargames. (Wow, never thought my movie guide book
+ would be useful in debian development!)
+
+ -- Joey Hess <joeyh@debian.org> Sun, 22 Feb 1998 18:42:17 -0800
+
+bsdgames (2.0-2) unstable; urgency=low
+
+ * Updated standards-version.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 9 Feb 1998 15:09:56 -0800
+
+bsdgames (2.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * Sail works again now, added back to package. Now all games are properly
+ working with libc6, at last.
+ * Removed hunt from the debian menu - for now, you need to manually run
+ huntd, and then hunt.
+
+ -- Joey Hess <joeyh@debian.org> Fri, 26 Dec 1997 13:34:34 -0500
+
+bsdgames (1.5-4) unstable; urgency=low
+
+ * Sparc fixes:
+ - Removed strcpy(), strncpy() prototypes.
+ - Modified snake/snake/move.c to not redefine raw().
+ - Modified worms.c to not redefine random.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 11 Dec 1997 12:10:17 -0500
+
+bsdgames (1.5-3) unstable; urgency=low
+
+ * Fixed adventure to work again, and added it back into the package.
+ Thanks, Culus!
+ * Moved screen savers into Screen/Save/Text menu.
+
+ -- Joey Hess <joeyh@debian.org> Fri, 21 Nov 1997 16:22:14 -0500
+
+bsdgames (1.5-2) unstable; urgency=low
+
+ * Removed the factor program, which is also in shellutils (#14676).
+ * Modified primes.6 man page, so it only documents the primes program
+ (used to document factor and primes).
+ * Install factor.6 as primes.6, instead of making a symlink.
+ * Use debhelper.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 9 Nov 1997 14:13:05 -0500
+
+bsdgames (1.5-1) unstable; urgency=low
+
+ * New upstream release.
+ - new games: adventure, phantasia, pig, quiz, random.
+ - updated other games to new versions.
+ * Libc6 at last.
+ - however, adventure and sail are currently broken under libc6,
+ and not included in the binary package.
+ * Changed how the configure script is run during building, new method
+ is more robust.
+ * Fixed menu file entry for go fish to pause after end of game so the user
+ can see who won.
+ * Make tetris-bsd score file a conffile.
+ * Use pristine upstream source.
+
+ -- Joey Hess <joeyh@debian.org> Sat, 19 Jul 1997 12:25:03 -0400
+
+bsdgames (1.4-1) unstable; urgency=low
+
+ * New upstream release, incorporates many of the changes I made for
+ debian.
+ * No longer have to delete bog and paranioa out of the upstream source,
+ they have been split out into a bsdgames-nonfree package.
+ * Tetris is now part of the upstream source, no need for tetris.shar.
+ * /usr/games/tetris renamed to /usr/games/tetris-bsd
+ * /usr/share used for arch-independant data.
+ * Reccommends: wordlist | wenglish; closes #8487
+
+ -- Joey Hess <joeyh@debian.org> Thu, 1 May 1997 23:07:46 -0400
+
+bsdgames (1.3-8) unstable; urgency=low
+
+ * Removed fortune from descrition, as fortune is not included in this
+ package (#9168).
+ * Converted menufile to menu-1 format.
+
+ -- Joey Hess <joeyh@debian.org> Mon, 28 Apr 1997 13:25:24 -0400
+
+bsdgames (1.3-7) frozen unstable; urgency=low
+
+ * Fixed problem with including tetris in the source package. Tetris is now
+ included as a shar archive.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 16 Apr 1997 18:39:31 -0400
+
+bsdgames (1.3-6) frozen unstable; urgency=low
+
+ * Fixed segfault in backgammon if any command line options were given.
+ * Use backgammon -pb in the debian menu file.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 15 Apr 1997 14:27:04 -0400
+
+bsdgames (1.3-5) frozen unstable; urgency=low
+
+ * Hacked around in mille to fix bug #8556.
+
+ -- Joey Hess <joeyh@debian.org> Tue, 8 Apr 1997 20:03:23 -0400
+
+bsdgames (1.3-4) unstable; urgency=low
+
+ * Fixed sparse files problem (#8488) -- the package should install in much
+ less space now.
+ * Routine update of debian/rules:
+ Run dpkg-gencontrol after debstd, and delete substvars during clean.
+
+ -- Joey Hess <joeyh@debian.org> Fri, 4 Apr 1997 19:48:12 -0500
+
+bsdgames (1.3-3) unstable; urgency=low
+
+ * Fixed problems in source package:
+ * Removed binaries in hangman directory.
+ * dpkg-source -x would not work with version 1.3-2. Fixed this.
+ * Corrected typo in hangman's man page.
+
+ -- Joey Hess <joeyh@debian.org> Wed, 26 Mar 1997 14:02:24 -0500
+
+bsdgames (1.3-2) unstable; urgency=low
+
+ * robots: if player cannot move, don't print junk characters in xterm when
+ trying to beep.
+ * Routine update of debian/rules:
+ Run dpkg-gencontrol after debstd, and delete substvars during clean.
+ * Added tetris, thanks to David Frey <david@eos.lugs.ch>.
+
+ -- Joey Hess <joeyh@debian.org> Sun, 23 Mar 1997 18:05:41 -0500
+
+bsdgames (1.3-1) unstable; urgency=low
+
+ * First release.
+ * Link with -ncurses instead of -termcap.
+ * "rm -r bog paranioa" to remove them from the source package. Their
+ copyright doesn't let them be in debian.
+ * Many changes to get it all to compile.
+ * More changes for debian packaging; moved score files into /var, made
+ some programs sgid games so they could write to score files, etc.
+ * Fixed up man pages.
+ * battlestar: renamed save file to ~/.Bstar
+ * cribbage: display help properly even if PAGER is not set to an absolute
+ pathname of the pager.
+ * snscore: don't segfault if the score file is empty.
+ * snscore: don't give "too many players" error.
+
+ -- Joey Hess <joeyh@debian.org> Thu, 20 Mar 1997 23:31:16 -0500
--- bsdgames-2.13.orig/debian/compat
+++ bsdgames-2.13/debian/compat
@@ -0,0 +1 @@
+4
--- bsdgames-2.13.orig/debian/copyright
+++ bsdgames-2.13/debian/copyright
@@ -0,0 +1,9 @@
+This is a Debian prepackaged version of the BSD games package.
+
+This package was put together by Joey Hess <joeyh@debian.org>, using
+sources from:
+ ftp://sunsite.unc.edu/pub/Linux/games/
+
+Here is the full text of the COPYING file:
+
+
--- bsdgames-2.13.orig/debian/menu
+++ bsdgames-2.13/debian/menu
@@ -0,0 +1,53 @@
+?package(bsdgames):needs="text" section="Apps/Educational" \
+ title="Arithmetic Quiz" command="sh -c '/usr/games/arithmetic;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Simulation" \
+ title="Air Traffic Controller" \
+ command="sh -c '/usr/games/atc ; echo;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Adventure" \
+ title="Battlestar" command="sh -c '/usr/games/battlestar;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Card" \
+ title="Canfield" command="/usr/games/canfield"
+?package(bsdgames):needs="text" section="Games/Card" \
+ title="Cribbage" command="/usr/games/cribbage"
+?package(bsdgames):needs="text" section="Games/Card" \
+ title="Go Fish" \
+ command="sh -c '/usr/games/fish;echo;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Card" \
+ title="Mille Bournes" command="/usr/games/mille"
+?package(bsdgames):needs="text" section="Games/Board" \
+ title="Monopoly" command="/usr/games/monop"
+?package(bsdgames):needs="text" section="Games/Board" hints="Backgammon" \
+ title="Backgammon" command="/usr/games/backgammon -pb"
+?package(bsdgames):needs="text" section="Screen/Save/Text" \
+ title="Rain" command="/usr/games/rain"
+?package(bsdgames):needs="text" section="Games/Arcade" \
+ title="Robots" command="/usr/games/robots"
+?package(bsdgames):needs="text" section="Games/Simulation" \
+ title="Sail" command="/usr/games/sail"
+?package(bsdgames):needs="text" section="Games/Arcade" \
+ title="Snake" command="sh -c '/usr/games/snake;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Arcade" \
+ title="Star Trek" command="/usr/games/trek"
+?package(bsdgames):needs="text" section="Games/Arcade" \
+ title="Worm" command="sh -c '/usr/games/worm;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Screen/Save/Text" \
+ title="Worms" command="/usr/games/worms"
+?package(bsdgames):needs="text" section="Games/Adventure" \
+ title="Hunt the Wumpus" command="/usr/games/wump"
+?package(bsdgames):needs="text" section="Games/Tetris-like" \
+ title="Bsd Tetris" \
+ command="sh -c '/usr/games/tetris-bsd;echo;echo PRESS ENTER;read line'"
+?package(bsdgames):needs="text" section="Games/Board" hints="Go" \
+ title="Gomoku" \
+ command="/usr/games/gomoku"
+?package(bsdgames):needs="text" section="Games/Adventure" \
+ title="Phantasia" \
+ command="/usr/games/phantasia"
+?package(bsdgames):needs="text" section="Games/Adventure" \
+ title="Adventure" \
+ command="/usr/games/adventure"
+?package(bsdgames):needs="text" section="Games/Puzzles" \
+ title="Hangman" command="/usr/games/hangman"
+?package(bsdgames):needs="text" section="Games/Puzzles" \
+ title="Boggle" \
+ command=/usr/games/boggle
--- bsdgames-2.13.orig/debian/postinst
+++ bsdgames-2.13/debian/postinst
@@ -0,0 +1,46 @@
+#!/bin/sh -e
+
+SCOREFILES="
+ /var/games/bsdgames/atc_score
+ /var/games/bsdgames/battlestar.log
+ /var/games/bsdgames/cfscores
+ /var/games/bsdgames/criblog
+ /var/games/bsdgames/robots_roll
+ /var/games/bsdgames/saillog
+ /var/games/bsdgames/snake.log
+ /var/games/bsdgames/snakerawscores
+ /var/games/bsdgames/tetris-bsd.scores
+ /var/games/bsdgames/phantasia/characs
+ /var/games/bsdgames/phantasia/gold
+ /var/games/bsdgames/phantasia/lastdead
+ /var/games/bsdgames/phantasia/mess
+ /var/games/bsdgames/phantasia/motd
+ /var/games/bsdgames/phantasia/scoreboard
+ /var/games/bsdgames/phantasia/void
+ /var/games/bsdgames/phantasia/monsters"
+
+# These files cannot just be zero-byte files:
+if [ ! -e /var/games/bsdgames/phantasia/void ]; then
+ cp /usr/share/games/bsdgames/phantasia/void \
+ /var/games/bsdgames/phantasia/void
+fi
+if [ ! -e /var/games/bsdgames/phantasia/monsters ] ; then
+ cp /usr/share/games/bsdgames/phantasia/monsters \
+ /var/games/bsdgames/phantasia/monsters
+fi
+
+touch $SCOREFILES
+chown root.games $SCOREFILES
+chmod 664 $SCOREFILES
+
+# These files may not be world-readable as they have passwords
+# in them.
+chmod 660 /var/games/bsdgames/phantasia/characs
+
+# I have to make this directory here, because older version of this package
+# always deleted it in their postrm. Oops.
+mkdir -p /var/games/bsdgames/sail
+chown root.games /var/games/bsdgames/sail
+chmod g+rws /var/games/bsdgames/sail
+
+#DEBHELPER#
--- bsdgames-2.13.orig/debian/postrm
+++ bsdgames-2.13/debian/postrm
@@ -0,0 +1,29 @@
+#!/bin/sh -e
+
+SCOREFILES="
+ /var/games/bsdgames/atc_score
+ /var/games/bsdgames/battlestar.log
+ /var/games/bsdgames/cfscores
+ /var/games/bsdgames/criblog
+ /var/games/bsdgames/robots_roll
+ /var/games/bsdgames/saillog
+ /var/games/bsdgames/snake.log
+ /var/games/bsdgames/snakerawscores
+ /var/games/bsdgames/tetris-bsd.scores
+ /var/games/bsdgames/phantasia/characs
+ /var/games/bsdgames/phantasia/gold
+ /var/games/bsdgames/phantasia/lastdead
+ /var/games/bsdgames/phantasia/mess
+ /var/games/bsdgames/phantasia/motd
+ /var/games/bsdgames/phantasia/scoreboard
+ /var/games/bsdgames/phantasia/void
+ /var/games/bsdgames/phantasia/monsters"
+
+# Remove high score files on purge.
+if [ "$1" = "purge" ]; then
+ rm -f $SCOREFILES
+ rmdir /var/games/bsdgames/phantasia /var/games/bsdgames/sail \
+ /var/games/bsdgames /var/games 2>/dev/null || true
+fi
+
+#DEBHELPER#
--- bsdgames-2.13.orig/debian/preinst
+++ bsdgames-2.13/debian/preinst
@@ -0,0 +1,55 @@
+#!/bin/sh -e
+
+SCOREFILES="
+ /var/games/bsdgames/atc_score
+ /var/games/bsdgames/battlestar.log
+ /var/games/bsdgames/cfscores
+ /var/games/bsdgames/criblog
+ /var/games/bsdgames/saillog
+ /var/games/bsdgames/snake.log
+ /var/games/bsdgames/snakerawscores
+ /var/games/bsdgames/tetris-bsd.scores
+ /var/games/bsdgames/phantasia/characs
+ /var/games/bsdgames/phantasia/gold
+ /var/games/bsdgames/phantasia/lastdead
+ /var/games/bsdgames/phantasia/mess
+ /var/games/bsdgames/phantasia/motd
+ /var/games/bsdgames/phantasia/scoreboard
+ /var/games/bsdgames/phantasia/void
+ /var/games/bsdgames/phantasia/monsters"
+
+# We used to keep score files in /var/lib/games, and if files are there,
+# move them into the new location.
+if [ -d /var/lib/games ]; then
+
+ # Have to set up directory hierarchy, since this is running as a
+ # preinst.
+ mkdir -p /var/games/bsdgames/phantasia
+ chown root.games /var/games/bsdgames \
+ /var/games/bsdgames/phantasia
+ chmod g+rws /var/games/bsdgames \
+ /var/games/bsdgames/phantasia
+
+ for file in $SCOREFILES; do
+ oldfile=`echo $file | sed s:/var/games/:/var/lib/games/:`
+ if [ -e $oldfile ]; then
+ if [ ! -e $file ]; then
+ mv -f $oldfile $file
+ else
+ rm -f $oldfile
+ fi
+ fi
+ done
+
+ # Delete the old directory hierarchy.
+ rm -rf /var/lib/games/bsdgames
+fi
+
+# I didn't move robots_roll above, because the version used by old bsdgames has
+# a different file format. Make sure that if I'm ugrading from pre 2.8 days,
+# the old file is deleted.
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt 2.8; then
+ rm -rf /var/games/bsdgames/robots_roll
+fi
+
+#DEBHELPER#
--- bsdgames-2.13.orig/debian/rules
+++ bsdgames-2.13/debian/rules
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+
+build: build-stamp
+build-stamp:
+ dh_testdir
+
+ # Set up wordlist
+ cat /usr/share/dict/american-english /usr/share/dict/british-english | \
+ sort | uniq > temp-dictionary
+
+ ./configure
+ $(MAKE)
+ $(MAKE) test
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ dh_clean temp-dictionary
+ -$(MAKE) -i distclean
+
+binary-indep: build
+
+binary-arch: build
+ dh_testdir
+ dh_testroot
+ dh_clean
+ dh_installdirs usr/share/doc/bsdgames \
+ usr/share/games/bsdgames/phantasia
+
+ $(MAKE) install
+ cp atc/BUGS debian/bsdgames/usr/share/doc/bsdgames/BUGS.atc
+ cp hunt/README debian/bsdgames/usr/share/doc/bsdgames/README.hunt
+ cp hunt/README.linux debian/bsdgames/usr/share/doc/bsdgames/README.linux.hunt
+ cp phantasia/README debian/bsdgames/usr/share/doc/bsdgames/README.phantasia
+ cp boggle/README debian/bsdgames/usr/share/doc/bsdgames/README.boggle
+ cp boggle/README.linux debian/bsdgames/usr/share/doc/bsdgames/README.linux.boggle
+ # Since factor is not installed, and primes.6 is a symlink to
+ # factor.6, I need to change that to the actual man page.
+ -rm -f debian/bsdgames/usr/share/man/man6/factor.6.gz \
+ debian/bsdgames/usr/share/man/man6/primes.6
+ cp factor/factor.6 debian/bsdgames/usr/share/man/man6/primes.6
+ # Move phantasia's binary state files into /usr, they are copied
+ # back to /var in the postinst.
+ mv debian/bsdgames/var/games/bsdgames/phantasia/monsters \
+ debian/bsdgames/var/games/bsdgames/phantasia/void \
+ debian/bsdgames/usr/share/games/bsdgames/phantasia/
+
+ dh_installdocs ChangeLog ChangeLog.0 TODO README \
+ trek/USD.doc/trek.me SECURITY THANKS AUTHORS BUGS YEAR2000
+ cat COPYING >> debian/bsdgames/usr/share/doc/bsdgames/copyright
+ dh_installexamples
+ dh_installmenu
+ dh_installcron
+ dh_installchangelogs -k NEWS
+ dh_strip
+ dh_compress
+ dh_fixperms
+
+ chmod -R u+rw debian/bsdgames/usr/
+ # Games with score files need to be set up sgid games.
+ chown root.games debian/bsdgames/usr/games/atc \
+ debian/bsdgames/usr/games/battlestar \
+ debian/bsdgames/usr/games/canfield \
+ debian/bsdgames/usr/games/cribbage \
+ debian/bsdgames/usr/games/robots \
+ debian/bsdgames/usr/games/snake \
+ debian/bsdgames/usr/games/tetris-bsd \
+ debian/bsdgames/usr/games/phantasia \
+ debian/bsdgames/usr/games/sail
+ chmod g+s debian/bsdgames/usr/games/atc \
+ debian/bsdgames/usr/games/battlestar \
+ debian/bsdgames/usr/games/canfield \
+ debian/bsdgames/usr/games/cribbage \
+ debian/bsdgames/usr/games/robots \
+ debian/bsdgames/usr/games/snake \
+ debian/bsdgames/usr/games/tetris-bsd \
+ debian/bsdgames/usr/games/phantasia \
+ debian/bsdgames/usr/games/sail
+ # The game directories need to be sgid too, and let's
+ # remove all the zero byte score files in them.
+ chown root.games debian/bsdgames/var/games/bsdgames/ \
+ debian/bsdgames/var/games/bsdgames/sail \
+ debian/bsdgames/var/games/bsdgames/phantasia
+ chmod g+rws debian/bsdgames/var/games/bsdgames/ \
+ debian/bsdgames/var/games/bsdgames/sail \
+ debian/bsdgames/var/games/bsdgames/phantasia
+ find debian/bsdgames/var/games/bsdgames -size 0 -exec rm {} \;
+
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
--- bsdgames-2.13.orig/debian/watch
+++ bsdgames-2.13/debian/watch
@@ -0,0 +1,2 @@
+version=2
+ftp://sunsite.unc.edu/pub/Linux/games/bsd-games-([0-9]+.*).tar.gz
--- bsdgames-2.13.orig/factor/factor.6
+++ bsdgames-2.13/factor/factor.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: factor.6,v 1.6 2001/04/02 22:42:38 wiz Exp $
+.\" $NetBSD: factor.6,v 1.5 1997/10/10 12:51:27 lukem Exp $
.\"
.\" Copyright (c) 1989, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -42,13 +42,12 @@
.\" chongo <for a good prime call: 391581 * 2^216193 - 1> /\oo/\
.\"
.Dd May 31, 1993
-.Dt FACTOR 6
+.Dt PRIMES 6
.Os
.Sh NAME
-.Nm factor ,
.Nm primes
.Nd
-factor a number, generate primes
+generate primes
.Sh SYNOPSIS
.Nm
.Op Ar number ...
@@ -57,32 +56,6 @@
.Op Ar start Op Ar stop
.Sh DESCRIPTION
The
-.Nm
-utility will factor integers between -2147483648 and 2147483647 inclusive.
-When a number is factored, it is printed, followed by a
-.Dq \: ,
-and the list of factors on a single line.
-Factors are listed in ascending order, and are preceded by a space.
-If a factor divides a value more than once, it will be printed
-more than once.
-.Pp
-When
-.Nm
-is invoked with one or more arguments,
-each argument will be factored.
-.Pp
-When
-.Nm
-is invoked with no arguments,
-.Nm
-reads numbers, one per line, from standard input, until end of file or error.
-Leading white-space and empty lines are ignored.
-Numbers may be preceded by a single - or +.
-Numbers are terminated by a non-digit character (such as a newline).
-After a number is read, it is factored.
-Input lines must not be longer than 255 characters.
-.Pp
-The
.Nm primes
utility prints primes in ascending order, one per line, starting at or above
.Ar start
@@ -113,14 +86,6 @@
.Ar start
value is terminated by a non-digit character (such as a newline).
The input line must not be longer than 255 characters.
-.Sh DIAGNOSTICS
-Out of range or invalid input results in
-.Sq ouch
-being written to standard error.
.Sh BUGS
-.Nm
-cannot handle the
-.Dq 10 most wanted
-factor list,
.Nm primes
won't get you a world record.
--- bsdgames-2.13.orig/hangman/extern.c
+++ bsdgames-2.13/hangman/extern.c
@@ -61,6 +61,7 @@
};
int Errors, Wordnum = 0;
+unsigned int Minlen = MINLEN;
double Average = 0.0;
--- bsdgames-2.13.orig/hangman/getword.c
+++ bsdgames-2.13/hangman/getword.c
@@ -64,7 +64,7 @@
if (fgets(Word, BUFSIZ, inf) == NULL)
continue;
Word[strlen(Word) - 1] = '\0';
- if (strlen(Word) < MINLEN)
+ if (strlen(Word) < Minlen)
continue;
for (wp = Word; *wp; wp++)
if (!islower(*wp))
--- bsdgames-2.13.orig/hangman/hangman.6.in
+++ bsdgames-2.13/hangman/hangman.6.in
@@ -42,6 +42,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl d Ar wordlist
+.Op Fl m Ar minlen
.Sh DESCRIPTION
In
.Nm "" ,
@@ -55,6 +56,8 @@
Use the specified
.Ar wordlist
instead of the default one named below.
+.It Fl m
+Set the minimum word length to use. The default is 6 letters.
.El
.Sh FILES
.Bl -tag -width @hangman_wordsfile@ -compact
--- bsdgames-2.13.orig/hangman/hangman.h
+++ bsdgames-2.13/hangman/hangman.h
@@ -73,6 +73,7 @@
extern const char *const Noose_pict[];
extern int Errors, Wordnum;
+extern unsigned int Minlen;
extern double Average;
--- bsdgames-2.13.orig/hangman/main.c
+++ bsdgames-2.13/hangman/main.c
@@ -62,14 +62,21 @@
/* Revoke setgid privileges */
setregid(getgid(), getgid());
- while ((ch = getopt(argc, argv, "d:")) != -1) {
+ while ((ch = getopt(argc, argv, "m:d:")) != -1) {
switch (ch) {
case 'd':
Dict_name = optarg;
break;
+ case 'm':
+ Minlen = atoi(optarg);
+ if (Minlen < 2) {
+ fprintf(stderr, "minlen too short\n");
+ exit(1);
+ }
+ break;
case '?':
default:
- (void)fprintf(stderr, "usage: hangman [-d wordlist]\n");
+ (void)fprintf(stderr, "usage: hangman [-d wordlist] [-m minlen]\n");
exit(1);
}
}
--- bsdgames-2.13.orig/hunt/hunt/hunt.6.in
+++ bsdgames-2.13/hunt/hunt/hunt.6.in
@@ -164,13 +164,13 @@
.It Ic @
Throw biggest bomb (Takes 441 charges)
.It Ic o
-Throw small slime (Takes 15 charges)
+Throw small slime (Takes 5 charges)
.It Ic O
-Throw big slime (Takes 30 charges)
+Throw big slime (Takes 10 charges)
.It Ic p
-Throw bigger slime (Takes 45 charges)
+Throw bigger slime (Takes 15 charges)
.It Ic P
-Throw biggest slime (Takes 60 charges)
+Throw biggest slime (Takes 20 charges)
.It Ic s
Scan (show where other players are) (Takes 1 charge)
.It Ic c
--- bsdgames-2.13.orig/phantasia/Makefrag
+++ bsdgames-2.13/phantasia/Makefrag
@@ -41,11 +41,11 @@
$(INSTALL_SCORE_GAME) phantasia/phantasia $(INSTALL_PREFIX)$(GAMESDIR)/phantasia
$(HIDE_GAME) phantasia
(set -e; for f in $(phantasia_VFILES1); do \
- cp phantasia/$$f $(PHANTASIA_DIR)/$$f; \
+ cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; \
$(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/$$f; done)
(set -e; for f in $(phantasia_VFILES2); do \
if [ ! -e $(PHANTASIA_DIR)/$$f ]; then \
- cp phantasia/$$f $(PHANTASIA_DIR)/$$f; fi; done; \
+ cp phantasia/$$f $(INSTALL_PREFIX)$(PHANTASIA_DIR)/$$f; fi; done; \
$(INSTALL_SCORE_FILE) $(PHANTASIA_DIR)/scoreboard; \
$(INSTALL_SCORE_FILE) -p $(PHANTASIA_DIR)/characs)
$(INSTALL_MANUAL) phantasia/phantasia.6
--- bsdgames-2.13.orig/tetris/screen.c
+++ bsdgames-2.13/tetris/screen.c
@@ -292,6 +292,8 @@
newtt = oldtt;
newtt.c_lflag &= ~(ICANON|ECHO);
newtt.c_oflag &= ~OXTABS;
+ newtt.c_cc[VMIN] = 1; /* don't lag behind 3 keystrokes on sun */
+ newtt.c_cc[VTIME] = 0; /* systems -- JEH */
if (tcsetattr(0, TCSADRAIN, &newtt) < 0)
stop("tcsetattr() fails");
ospeed = cfgetospeed(&newtt);
--- bsdgames-2.13.orig/trek/trek.6.in
+++ bsdgames-2.13/trek/trek.6.in
@@ -81,7 +81,7 @@
.Sh AUTHOR
Eric Allman
.Sh SEE ALSO
-.Pa /usr/share/doc/usd/31.trek
+.Pa /usr/share/doc/bsdgames/trek.me.gz
.Sh COMMAND SUMMARY
.Bl -item -compact
.It
--- bsdgames-2.13.orig/wargames/wargames.6
+++ bsdgames-2.13/wargames/wargames.6
@@ -44,6 +44,6 @@
resulting is much smaller....
.Sh SEE ALSO
.Sy Wargames ,
-the movie (an MGM production, PGP 13, directed by John Badham, 1983).
+the movie (an MGM production, PG 13, directed by John Badham, 1983).
.Sh AUTHOR
This manual page was written by Joey Hess <joeyh@kitenet.net>.
--- bsdgames-2.13.orig/AUTHORS
+++ bsdgames-2.13/AUTHORS
@@ -8,7 +8,7 @@
1997; I divided it into bsd-games and bsd-games-non-free according to
the established (DFSG/OSD) definition, following the division used for
the Debian package of 1.3. Much of the packaging has been written or
-extensively modified by myself. Joey Hess <joeyh@master.debian.org>
+extensively modified by myself. Joey Hess <joeyh@debian.org>
wrote the manpages for wargames and paranoia.
Based on the source and manpages, here are the details of the people
--- bsdgames-2.13.orig/THANKS
+++ bsdgames-2.13/THANKS
@@ -12,7 +12,7 @@
For recent work (since 1.3), thanks to:
-Joey Hess <joeyh@master.debian.org>
+Joey Hess <joeyh@debian.org>
For the Debian patches, which covered what was needed to make the games
compile with current libraries, provided many bug fixes and showed
--- bsdgames-2.13.orig/config.params
+++ bsdgames-2.13/config.params
@@ -0,0 +1,40 @@
+# This file is read by configure and is used during the build of the
+# Debian package.
+
+# Don't run configure interactively.
+bsd_games_cfg_non_interactive=y
+
+# Install into here for building the package.
+bsd_games_cfg_install_prefix=`pwd`/debian/bsdgames
+
+# Do not build or install these games:
+bsd_games_cfg_no_build_dirs="dm banner fortune factor"
+
+# Keep huntd in /usr/sbin as it was in the past. I may
+# change this later.
+bsd_games_cfg_sbindir=/usr/sbin
+
+# Debian doesn't like cluttering up the /usr/*/games/ dirs too much,
+# use a subdir. /var too.
+bsd_games_cfg_usrlibdir=/usr/lib/games/bsdgames
+bsd_games_cfg_sharedir=/usr/share/games/bsdgames
+bsd_games_cfg_varlibdir=/var/games/bsdgames
+
+# Do not do chown now, we arn't running as root.
+bsd_games_cfg_do_chown=n
+
+# Debian perfers symlinks for manpages.
+bsd_games_cfg_use_dot_so=symlinks
+
+# I'll handle manpage compressing.
+bsd_games_cfg_gzip_manpages=n
+
+# Policy says to use /usr/bin/pager by default.
+bsd_games_cfg_pager=/usr/bin/pager
+
+# Always use the same wordlist for boggle, and don't use web2, it's too
+# big. Instead, use the union of the wenglish and wbritish wordlists.
+bsd_games_cfg_dictionary_src=`pwd`/temp-dictionary
+
+# Put it in /usr/share/games with the rest of the games data.
+bsd_games_cfg_wtf_acronymfile=/usr/share/games/bsdgames/acronyms
|