-
Notifications
You must be signed in to change notification settings - Fork 5
/
Buildquirks.pm
3004 lines (2785 loc) · 89.3 KB
/
Buildquirks.pm
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
# get build over incompatible source changes with minimal effort
# Copyright (c) 2018-2024 Alexander Bluhm <[email protected]>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package Buildquirks;
use strict;
use warnings;
use Carp;
use Date::Parse;
use POSIX;
use parent 'Exporter';
our @EXPORT= qw(quirks quirk_patches quirk_commands quirk_releases
quirk_index2letters);
#### Quirks ####
my %quirks = (
# OpenBSD 6.2, newvers 2017-10-04Z
'2017-10-04T03:27:49Z' => {
comment => "OpenBSD/amd64 6.2 release",
release => '6.2',
},
# cvs has a bug and cannot check out vendor branches between commits
'2017-10-04T21:45:15Z' => {
comment => "fix cvs vendor branch checkout",
updatecommands => [
"cvs -qR up -PdC -rOPENBSD_6_2_BASE gnu/usr.bin/cvs",
],
patches => { 'cvs-vendor' => patch_cvs_vendor() },
buildcommands => [
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper install",
],
},
'2017-10-04T21:45:16Z' => {
comment => "clang update LLVM to 5.0.0",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2017-11-13T11:30:11Z' => {
comment => "pfctl pf packet rate matching",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
'2017-11-28T16:05:47Z' => {
comment => "pfctl pf divert type",
updatedirs => [ "sys", "sbin/pfctl" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
'2017-12-11T05:27:40Z' => {
comment => "sysctl struct vfsconf",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/sysctl" ],
},
'2017-12-25T12:09:20Z' => {
comment => "clang update LLVM to 5.0.1",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2017-11-16T18:12:27Z' => {
comment => "move kernel source file dwiic.c",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2018-02-06T23:44:48Z' => {
comment => "pfctl pf syncookies",
updatedirs => [ "sys", "sbin/pfctl" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
# OpenBSD 6.3, 2018-03-24Z, newvers 2018-03-27Z
'2018-03-24T20:27:40Z' => {
comment => "OpenBSD/amd64 6.3 release",
release => '6.3',
},
'2018-04-05T03:32:39Z' => {
comment => "pfctl remove PF_TRANS_ALTQ",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
# cvs has a bug and cannot check out vendor branches between commits
'2018-04-07T10:05:05Z' => {
comment => "fix cvs vendor branch checkout",
updatecommands => [
"cvs -qR up -PdC -rOPENBSD_6_3_BASE gnu/usr.bin/cvs",
],
patches => { 'cvs-vendor' => patch_cvs_vendor() },
buildcommands => [
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper install",
],
},
'2018-04-07T10:05:06Z' => {
comment => "clang update LLVM to 6.0.0",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2018-04-27T15:19:32Z' => {
comment => "retpoline for kernel",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2018-05-02T13:20:12Z' => {
comment => "revert remaining puc commit for com",
updatedirs => [ "sys" ],
patches => { 'sys-puc' => patch_sys_puc() },
},
'2018-05-14T12:31:21Z' => {
comment => "top systat report CPU spinning time",
updatedirs => [ "sys", "usr.bin/top", "usr.bin/systat" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "usr.bin/top", "usr.bin/systat" ],
},
'2018-05-16T14:53:43Z' => {
comment => "sysctl add kern.witnesswatch",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/sysctl" ],
},
'2018-06-03T21:30:38Z' => {
comment => "clang add ret protector options as no-ops",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2018-06-06T00:14:29Z' => {
comment => "clang add retguard",
updatedirs => [ "share/mk", "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "share/mk", "gnu/usr.bin/clang" ],
},
'2018-07-10T09:28:27Z' => {
comment => "pfctl pf generic packet delay",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
'2018-07-12T22:09:04Z' => {
comment => "patch some garbage in GENERIC.MP",
updatedirs => [ "sys/arch/amd64/conf/GENERIC.MP" ],
patches => { 'sys-garbage' => patch_sys_garbage() },
},
'2018-07-13T05:25:24Z' => {
comment => "zap some garbage in GENERIC.MP",
updatedirs => [ "sys/arch/amd64/conf/GENERIC.MP" ],
},
'2018-07-26T13:20:53Z' => {
comment => "binutils infrastructure to install lld",
updatedirs => [
"share/mk",
"gnu/usr.bin/clang/lld",
"gnu/usr.bin/binutils-2.17",
],
builddirs => [
"share/mk",
"gnu/usr.bin/clang/lld",
],
buildcommands => [
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper install",
],
},
'2018-08-12T17:07:00Z' => {
comment => "clang refactor retguard",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
# OpenBSD 6.4, 2018-10-11Z, newvers 2018-09-29Z
'2018-10-11T19:37:31Z' => {
comment => "OpenBSD/amd64 6.4 release",
release => '6.4',
},
'2018-10-16T18:20:58Z' => {
comment => "prepare kernel for lld linker",
updatedirs => [ "sys" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2018-10-22T15:18:50Z' => {
comment => "cvs vendor branch checkout",
updatedirs => [ "gnu/usr.bin/cvs" ],
buildcommands => [
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/cvs -f Makefile.bsd-wrapper install",
],
},
'2018-10-22T19:31:30Z' => {
comment => "use lld as default linker",
updatedirs => [ "share/mk" ],
builddirs => [ "share/mk" ],
},
'2018-10-24T21:19:03Z' => {
comment => "clang with final lld fixes",
updatedirs => [ "gnu/llvm" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2018-12-30T23:08:05Z' => {
comment => "clang turns on retpoline by default",
updatedirs => [ "sys", "gnu/llvm" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2019-01-12T23:36:35Z' => {
comment => "clang builds itself without retpoline",
updatedirs => [ "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2019-01-27T17:29:36Z' => {
comment => "clang update LLVM to 7.0.1",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2019-01-30T03:08:12Z' => {
comment => "clang implement save function arguments",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
patches => { 'llvm-save-func' => patch_llvm_save_func() },
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2019-02-03T10:58:51Z' => {
comment => "save function arguments for ddb traces",
updatedirs => [ "sys" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2019-02-18T13:11:44Z' => {
comment => "pfctl pf len ioctl get states",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
'2019-03-01T16:46:11Z' => {
comment => "binutils for libLLVM",
updatedirs => [ "gnu/usr.bin/binutils", "gnu/usr.bin/binutils-2.17" ],
buildcommands => [
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper install",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper install",
],
},
'2019-03-05T14:01:08Z' => {
comment => "clang with libLLVM",
updatedirs => [ "share/mk", "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "share/mk", "gnu/usr.bin/clang" ],
},
'2019-04-02T03:02:47Z' => {
comment => "clang no stack protector if retguard",
updatedirs => [ "share/mk", "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "share/mk", "gnu/usr.bin/clang" ],
},
# OpenBSD 6.5, newvers 2019-04-13Z
'2019-04-13T20:56:59Z' => {
comment => "OpenBSD/amd64 6.5 release",
release => '6.5',
},
'2019-05-08T23:53:40Z' => {
comment => "add ucrcom to files",
updatedirs => [ "sys" ],
patches => { 'sys-ucrcom' => patch_sys_files_ucrcom() },
},
'2019-06-17T22:31:48Z' => {
comment => "libcxx update libc++, libc++abi, libunwind to 8.0.0",
updatedirs => [ "lib/libcxx", "lib/libcxxabi", "lib/libunwind" ],
cleandirs => [ "lib/libcxx", "lib/libcxxabi" ],
builddirs => [ "lib/libcxx", "lib/libcxxabi" ],
},
'2019-06-23T17:18:50Z' => {
comment => "sysctl kinfo_proc add p_pledge",
updatedirs => [ "sys", "lib/libkvm", "bin/ps" ],
prebuildcommands => [ "make includes" ],
builddirs => [
"lib/libkvm",
"bin/ps",
"usr.bin/pkill",
"usr.bin/systat",
"usr.bin/top",
],
},
'2019-06-23T22:21:06Z' => {
comment => "clang update LLVM to 8.0.0",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2019-06-25T14:08:57Z' => {
comment => "sysctl kinfo_proc move p_pledge",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [
"lib/libkvm",
"bin/ps",
"usr.bin/pkill",
"usr.bin/systat",
"usr.bin/top",
],
},
'2019-08-02T02:17:35Z' => {
comment => "per-process itimers, missing part of commit",
updatedirs => [ "sys" ],
patches => { 'sys-time' => patch_sys_sys_time() },
},
'2019-08-28T22:39:09Z' => {
comment => "uhci PCI ACPI attach fail",
updatedirs => [ "sys" ],
patches => { 'sys-uhci' => patch_sys_uhci_activate() },
},
'2019-09-01T16:40:03Z' => {
comment => "clang update LLVM to 8.0.1",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
# OpenBSD 6.6, newvers 2019-10-12Z
'2019-10-12T17:05:22Z' => {
comment => "OpenBSD/amd64 6.6 release",
release => '6.6',
},
'2019-11-03T20:16:01Z' => {
comment => "sys_shmctl fix copyin",
updatedirs => [ "sys" ],
patches => { 'sys-shm' => patch_sys_shm_copyin() },
},
'2019-11-27T01:13:04Z' => {
comment => "kernel provides msyscall as a noop",
updatedirs => [ "sys" ],
prebuildcommands => [
"make includes",
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
commands => [ "reboot" ],
},
# Reboot to kernel with dummy syscall msyscall before ld.so quirk.
'2019-11-29T06:34:46Z' => {
comment => "ld.so uses msyscall to permit syscalls",
updatedirs => [ "libexec/ld.so" ],
builddirs => [ "libexec/ld.so" ],
},
# OpenBSD 6.7, newvers 2020-05-07Z
'2020-05-07T17:20:22Z' => {
comment => "OpenBSD/amd64 6.7 release",
release => '6.7',
},
'2020-06-08T04:48:12Z' => {
comment => "update drm moves kernel source files",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2020-07-06T13:33:09Z' => {
comment => "kernel provides timecounting in userland",
updatedirs => [ "sys" ],
prebuildcommands => [
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
commands => [ "reboot" ],
},
'2020-07-08T09:17:48Z' => {
comment => "libc uses timecounting in userland",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "lib/libc" ],
},
'2020-07-17T06:33:07Z' => {
comment => "include toeplitz.h in ixgbe.h",
updatedirs => [ "sys" ],
patches => { 'sys-ix-toeplitz' => patch_sys_ix_toeplitz() },
},
'2020-07-17T07:40:35Z' => {
comment => "include toeplitz.h in ixgbe.h and backout in if_ix.c",
updatedirs => [ "sys" ],
patches => {
'sys-ix-toeplitz' => patch_sys_ix_toeplitz(),
'sys-ix-toeplitz-bad' => patch_sys_ix_toeplitz_bad(),
},
},
'2020-07-17T07:49:49Z' => {
comment => "backout bad include of toeplitz.h in if_ix.c",
updatedirs => [ "sys" ],
patches => { 'sys-ix-toeplitz-bad' => patch_sys_ix_toeplitz_bad() },
},
'2020-07-23T14:53:48Z' => {
comment => "binutils bfd fixes strip after clang 10",
updatedirs => [ "gnu/usr.bin/binutils-2.17" ],
buildcommands => [
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper install",
],
},
'2020-08-03T15:29:25Z' => {
comment => "clang update LLVM to 10.0.0",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2020-08-09T15:56:55Z' => {
comment => "clang update LLVM to 10.0.1",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [
"gnu/usr.bin/clang",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [ "gnu/usr.bin/clang" ],
},
'2020-09-12T07:47:27Z' => {
comment => "move asmc.c kernel source file",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2020-10-01T14:02:08Z' => {
comment => "pfctl routing domain check",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
patches => { 'sys-pf-rdomain' => patch_sys_pf_rdomain() },
},
# OpenBSD 6.8, 2020-09-27Z, newvers 2020-09-30Z
'2020-10-05T00:22:38Z' => {
comment => "OpenBSD/amd64 6.8 release",
release => '6.8',
},
'2021-02-08T11:20:04Z' => {
comment => "softraid_raid1c.c was not added in commit",
updatecommands => [
"cvs -qR up -p -r1.1 sys/dev/softraid_raid1c.c ".
">sys/dev/softraid_raid1c.c",
],
},
'2021-02-08T11:21:53Z' => {
comment => "replace softraid_raid1c.c copy with commit",
updatecommands => [
"rm -f sys/dev/softraid_raid1c.c",
"cvs -qR up -C -r1.1 sys/dev/softraid_raid1c.c",
],
},
# OpenBSD 6.9, newvers 2021-04-18Z
'2021-04-19T16:48:56Z' => {
comment => "OpenBSD/amd64 6.9 release",
release => '6.9',
},
'2021-04-28T13:07:33Z' => {
comment => "clang, libc++, and libc++abi update LLVM to 11.1.0",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
cleandirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
},
'2021-05-21T16:52:42Z' => {
comment => "futex ABI change in libc and librthread",
updatedirs => [ "lib/libc", "lib/librthread" ],
builddirs => [ "lib/libc", "lib/librthread" ],
},
'2021-06-13T21:11:54Z' => {
comment => "futex full syscall stub and save errno",
cleandirs => [ "lib/libc" ],
updatedirs => [ "lib/libc", "lib/librthread" ],
builddirs => [ "lib/libc", "lib/librthread" ],
},
'2021-06-28T08:55:06Z' => {
comment => "btrace includes userland in kstack",
updatedirs => [ "usr.sbin/btrace" ],
builddirs => [ "usr.sbin/btrace" ],
},
'2021-07-07T02:38:38Z' => {
comment => "update drm moves kernel source files",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2021-09-01T13:37:14Z' => {
comment => "clang lfence after ret in retpoline",
updatedirs => [ "gnu/llvm", "gnu/usr.bin/clang" ],
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
builddirs => [ "gnu/usr.bin/clang" ],
},
# OpenBSD 7.0, newvers 2021-09-22Z
'2021-09-30T20:34:00Z' => {
comment => "OpenBSD/amd64 7.0 release",
release => '7.0',
},
'2021-10-21T22:59:08Z' => {
comment => "remove dangling crypto noqueue, missing part of commit",
updatedirs => [ "sys" ],
patches => { 'sys-softraid-crypto' => patch_sys_softraid_crypto() },
},
'2021-11-23T10:30:08Z' => {
comment => "install bsd.own.mk with ar variable",
updatedirs => [ "share/mk" ],
builddirs => [ "share/mk" ],
},
'2021-12-17T14:55:47Z' => {
comment => "clang, libc++, and libc++abi update LLVM to 13.0.0",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
cleandirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
},
'2021-12-23T18:50:59Z' => {
comment => "kernel removes padding from syscalls",
updatedirs => [
"sys",
"lib/libc",
"libexec/ld.so",
],
prebuildcommands => [
"make includes",
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
commands => [ "reboot" ],
},
'2022-01-14T06:53:17Z' => {
comment => "update drm moves kernel source files",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2022-02-22T17:26:04Z' => {
comment => "maxcomlen include",
updatedirs => [ "sys", "sbin/sysctl", "usr.sbin/btrace" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/sysctl", "usr.sbin/btrace" ],
},
'2022-02-22T17:42:52Z' => {
comment => "param include",
updatedirs => [
"lib/libkvm",
"bin/ps",
"usr.bin/kdump",
"usr.bin/ktrace",
"usr.bin/systat",
"usr.bin/tmux",
"usr.bin/top",
"usr.bin/vmstat",
"usr.bin/w",
"usr.sbin/procmap",
"usr.sbin/pstat",
"usr.sbin/sa",
"usr.sbin/tcpdump",
],
builddirs => [
"lib/libkvm",
"bin/ps",
"usr.bin/kdump",
"usr.bin/ktrace",
"usr.bin/systat",
"usr.bin/tmux",
"usr.bin/top",
"usr.bin/vmstat",
"usr.bin/w",
"usr.sbin/procmap",
"usr.sbin/pstat",
"usr.sbin/sa",
"usr.sbin/tcpdump",
],
},
'2022-03-23T14:36:01Z' => {
comment => "revert scsi link commit, panic during boot",
updatedirs => [ "sys" ],
patches => { 'sys-scsi-link' => patch_sys_scsi_link() },
},
# OpenBSD 7.1, newvers 2022-04-05Z
'2022-04-12T00:10:09Z' => {
comment => "OpenBSD/amd64 7.1 release",
release => '7.1',
},
'2022-09-22T04:57:08Z' => {
comment => "libc RDTSCP for tsc and usertc",
updatedirs => [ "sys", "include", "lib/libc" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "lib/libc" ],
},
# OpenBSD 7.2, newvers 2022-09-27Z
'2022-09-27T18:03:44Z' => {
comment => "OpenBSD/amd64 7.2 release",
release => '7.2',
},
'2022-10-07T15:00:12Z' => {
comment => "kernel provides mimmutable system call",
updatedirs => [ "sys" ],
prebuildcommands => [
"make includes",
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
commands => [ "reboot" ],
},
'2022-10-07T15:04:52Z' => {
comment => "llvm and binutils create openbsd mutable section",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/binutils",
"gnu/usr.bin/binutils-2.17",
],
builddirs => [ "gnu/usr.bin/clang" ],
buildcommands => [
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper obj",
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper all",
"make -C gnu/usr.bin/binutils -f Makefile.bsd-wrapper install",
"make -C gnu/usr.bin/binutils-2.17 -f Makefile.bsd-wrapper install",
],
},
'2022-10-07T15:21:04Z' => {
comment => "libc provides mimmutable stub",
updatedirs => [ "lib/libc", "lib/librthread" ],
builddirs => [ "lib/libc", "lib/librthread" ],
},
'2022-11-09T10:41:18Z' => {
comment => "revert replace SRP with SMR in the if_idxmap",
updatedirs => [ "sys" ],
patches => { 'sys-if-srp-smr' => patch_sys_if_srp_smr() },
},
'2022-11-09T19:50:25Z' => {
comment => "ld.so uses mimmutable",
updatedirs => [ "libexec/ld.so" ],
builddirs => [ "libexec/ld.so" ],
},
'2022-11-09T22:15:50Z' => {
comment => "update fixed revert replace SRP with SMR",
updatedirs => [ "sys" ],
},
'2022-11-09T22:25:08Z' => {
comment => "fix build in kern pledge",
updatedirs => [ "sys" ],
patches => { 'sys-pledge-nodelay' => patch_sys_pledge_nodelay() },
},
'2022-11-09T23:00:00Z' => {
comment => "simplify expiration of once rules",
updatedirs => [ "sys", "sbin/pfctl" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
patches => { 'sys-pledge-nodelay' => patch_sys_pledge_nodelay() },
},
'2022-11-10T00:14:11Z' => {
comment => "update fixed kern pledge",
updatedirs => [ "sys" ],
},
'2022-11-11T10:55:48Z' => {
comment => "remove struct pf_state from pfvar.h",
updatedirs => [ "sys", "sbin/pfctl" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
'2022-11-11T12:29:32Z' => {
comment => "fix build in pfvar priv header",
updatedirs => [ "sys" ],
patches => { 'sys-pfvar-annotations' => patch_sys_pfvar_annotations() },
},
'2022-11-11T12:36:05Z' => {
comment => "update fixed pfvar priv header",
updatedirs => [ "sys" ],
},
'2022-11-11T16:12:08Z' => {
comment => "pf purge without netlock, fix hang in ixgbe ioctl",
updatedirs => [ "sys" ],
patches => { 'sys-pf-purge' => patch_sys_pf_purge() },
},
'2022-11-25T03:45:39Z' => {
comment => "update fixed pf purge without netlock",
updatedirs => [ "sys" ],
},
'2022-11-25T18:03:53Z' => {
comment => "backout pf purge without netlock",
updatedirs => [ "sys" ],
patches => { 'sys-pf-purge-backout' => patch_sys_pf_purge_backout() },
},
'2022-11-25T20:27:53Z' => {
comment => "backout pf purge commit",
updatedirs => [ "sys" ],
},
'2023-01-01T01:35:00Z' => {
comment => "update drm moves kernel source files",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2023-02-07T17:58:43Z' => {
comment => "change icmp fields of struct pf_rule in pfvar.h",
updatedirs => [ "sys", "sbin/pfctl" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "sbin/pfctl" ],
},
# OpenBSD 7.3, newvers 2023-03-25Z
'2023-03-25T16:42:45' => {
comment => "OpenBSD/amd64 7.3 release",
release => '7.3',
},
'2023-03-25T15:22:06Z' => {
comment => "libc malloc chunk sizes fine grained",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
cleandirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-04-01T18:47:51Z' => {
comment => "libc malloc check chunks in delayed free list",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-04-05T06:25:38Z' => {
comment => "libc malloc variation in location of junked bytes",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-04-16T19:46:17Z' => {
comment => "libc malloc dump leak info using utrace",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-04-16T23:57:59Z' => {
comment => "build gapdummy without cf-protection branch",
updatedirs => [ "sys" ],
prebuildcommands => [
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
patches => { 'sys-amd64-cfgap' => patch_sys_amd64_cfgap() },
},
'2023-04-26T06:52:45Z' => {
comment => "sendsyslog declared in syslog.h",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
},
'2023-04-26T15:13:59Z' => {
comment => "vmm kernel source files moved",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2023-04-27T23:16:18Z' => {
comment => "use __size_t in sys/syslog.h",
updatedirs => [ "sys" ],
prebuildcommands => [ "make includes" ],
},
'2023-05-10T07:58:06Z' => {
comment => "libc malloc mmap unlocked, away with unlock-lock dance",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-05-10T12:07:17Z' => {
comment => "netstat TSO counter",
updatedirs => [ "sys", "usr.bin/netstat" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "usr.bin/netstat" ],
},
'2023-05-23T09:16:16Z' => {
comment => "netstat LRO counter",
updatedirs => [ "sys", "usr.bin/netstat" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "usr.bin/netstat" ],
},
'2023-05-27T04:33:00Z' => {
comment => "libc malloc remove interposition",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "lib/libc" ],
},
'2023-06-04T06:58:33Z' => {
comment => "libc malloc thorough write-after-free checks",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-06-30T06:24:58Z' => {
comment => "libc malloc deeper callers for leak reports",
updatedirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-07-31T04:01:07Z' => {
comment => "kernel eIBRS disable retpoline",
updatedirs => [ "sys" ],
prebuildcommands => [
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
# OpenBSD 7.4, newvers 2023-10-04Z
'2023-10-10T15:08:35Z' => {
comment => "OpenBSD/amd64 7.4 release",
release => '7.4',
},
'2023-10-25T20:05:43Z' => {
comment => "patch fix unveil patchfile",
updatedirs => [ "usr.bin/patch" ],
builddirs => [ "usr.bin/patch" ],
},
'2023-10-26T17:59:16Z' => {
comment => "libc malloc micro optimizations",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
cleandirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-11-12T14:41:41Z' => {
comment => "login.conf bump datasize for clang",
updatedirs => [ "etc/etc.amd64" ],
commands => [ "cp /usr/src/etc/etc.amd64/login.conf /etc/" ],
},
'2023-11-20T10:11:03Z' => {
comment => "clang, libc++, and libc++abi update LLVM to 16.0.6",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
cleandirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
},
'2023-12-04T07:01:45Z' => {
comment => "libc malloc backtrace",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
cleandirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-12-04T14:24:29Z' => {
comment => "clang fixes after LLVM update",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/clang",
"gnu/lib/libcxx",
"gnu/lib/libcxxabi",
],
cleandirs => [
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [
"gnu/usr.bin/clang",
],
},
'2023-12-07T14:00:16Z' => {
comment => "kernel pinsyscalls stub",
updatedirs => [
"sys",
"lib/libc",
"libexec/ld.so",
],
prebuildcommands => [
"make includes",
"make -C sys/arch/amd64/compile/GENERIC.MP config",
"make -C sys/arch/amd64/compile/GENERIC.MP clean",
],
builddirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
commands => [ "reboot" ],
},
'2023-12-19T06:59:28Z' => {
comment => "libc malloc bytes cleanup",
updatedirs => [ "sys", "lib/libc" ],
prebuildcommands => [ "make includes" ],
cleandirs => [ "lib/libc" ],
builddirs => [ "lib/libc" ],
},
'2023-12-22T23:01:50Z' => {
comment => "backout always allocate if counters",
updatedirs => [ "sys" ],
patches => {
'sys-if-counters-backout' => patch_sys_if_counters_backout()
},
},
'2023-12-23T10:52:55Z' => {
comment => "backout if counters commit",
updatedirs => [ "sys" ],
},
'2024-01-16T23:38:14Z' => {
comment => "update drm moves kernel source files",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2024-02-03T18:51:59Z' => {
comment => "softdep kernel source files removed",
cleandirs => [ "sys/arch/amd64/compile/GENERIC.MP" ],
},
'2024-02-05T23:16:39Z' => {
comment => "netstat route cache counter",
updatedirs => [ "sys", "usr.bin/netstat" ],
prebuildcommands => [ "make includes" ],
builddirs => [ "usr.bin/netstat" ],
},
'2024-02-19T14:08:58Z' => {
comment => "clang disable retpoline",
updatedirs => [
"gnu/llvm",
"gnu/usr.bin/clang",
],
cleandirs => [
"sys/arch/amd64/compile/GENERIC.MP",
],
builddirs => [
"gnu/usr.bin/clang",
],
},
# OpenBSD 7.5, newvers 2024-03-12Z
'2024-03-20T21:54:47Z' => {
comment => "OpenBSD/amd64 7.5 release",
release => '7.5',
},
'2024-03-29T06:47:05Z' => {
comment => "kernel removes msyscall check",
updatedirs => [ "sys" ],