head 1.469; access; symbols netbsd-10-0-RELEASE:1.466.2.1 netbsd-10-0-RC6:1.466.2.1 netbsd-10-0-RC5:1.466.2.1 netbsd-10-0-RC4:1.466.2.1 netbsd-10-0-RC3:1.466.2.1 netbsd-10-0-RC2:1.466.2.1 netbsd-10-0-RC1:1.466.2.1 netbsd-10:1.466.0.2 netbsd-10-base:1.466 netbsd-9-3-RELEASE:1.438.2.2 cjep_sun2x-base1:1.450 cjep_sun2x:1.450.0.2 cjep_sun2x-base:1.450 cjep_staticlib_x-base1:1.450 netbsd-9-2-RELEASE:1.438.2.2 cjep_staticlib_x:1.449.0.2 cjep_staticlib_x-base:1.449 netbsd-9-1-RELEASE:1.438.2.2 phil-wifi-20200421:1.443 phil-wifi-20200411:1.443 is-mlppp:1.441.0.2 is-mlppp-base:1.441 phil-wifi-20200406:1.443 netbsd-8-2-RELEASE:1.428.2.1 netbsd-9-0-RELEASE:1.438.2.2 netbsd-9-0-RC2:1.438.2.2 netbsd-9-0-RC1:1.438.2.2 phil-wifi-20191119:1.441 netbsd-9:1.438.0.2 netbsd-9-base:1.438 phil-wifi-20190609:1.438 netbsd-8-1-RELEASE:1.428.2.1 netbsd-8-1-RC1:1.428.2.1 pgoyette-compat-merge-20190127:1.432.2.4 pgoyette-compat-20190127:1.438 pgoyette-compat-20190118:1.438 pgoyette-compat-1226:1.437 pgoyette-compat-1126:1.437 pgoyette-compat-1020:1.437 pgoyette-compat-0930:1.436 pgoyette-compat-0906:1.433 netbsd-7-2-RELEASE:1.421 pgoyette-compat-0728:1.433 netbsd-8-0-RELEASE:1.428.2.1 phil-wifi:1.433.0.2 phil-wifi-base:1.433 pgoyette-compat-0625:1.433 netbsd-8-0-RC2:1.428.2.1 pgoyette-compat-0521:1.433 pgoyette-compat-0502:1.433 pgoyette-compat-0422:1.433 netbsd-8-0-RC1:1.428.2.1 pgoyette-compat-0415:1.433 pgoyette-compat-0407:1.433 pgoyette-compat-0330:1.432 pgoyette-compat-0322:1.432 pgoyette-compat-0315:1.432 netbsd-7-1-2-RELEASE:1.421 pgoyette-compat:1.432.0.2 pgoyette-compat-base:1.432 netbsd-7-1-1-RELEASE:1.421 matt-nb8-mediatek:1.428.2.1.0.2 matt-nb8-mediatek-base:1.428.2.1 perseant-stdc-iso10646:1.431.0.2 perseant-stdc-iso10646-base:1.431 netbsd-8:1.428.0.2 netbsd-8-base:1.428 prg-localcount2-base3:1.427 prg-localcount2-base2:1.427 prg-localcount2-base1:1.427 prg-localcount2:1.427.0.2 prg-localcount2-base:1.427 pgoyette-localcount-20170426:1.427 bouyer-socketcan-base1:1.427 pgoyette-localcount-20170320:1.427 netbsd-7-1:1.421.0.8 netbsd-7-1-RELEASE:1.421 netbsd-7-1-RC2:1.421 netbsd-7-nhusb-base-20170116:1.421 bouyer-socketcan:1.426.0.4 bouyer-socketcan-base:1.426 pgoyette-localcount-20170107:1.426 netbsd-7-1-RC1:1.421 pgoyette-localcount-20161104:1.426 netbsd-7-0-2-RELEASE:1.421 localcount-20160914:1.426 netbsd-7-nhusb:1.421.0.6 netbsd-7-nhusb-base:1.421 pgoyette-localcount-20160806:1.426 pgoyette-localcount-20160726:1.426 pgoyette-localcount:1.426.0.2 pgoyette-localcount-base:1.426 netbsd-7-0-1-RELEASE:1.421 netbsd-7-0:1.421.0.4 netbsd-7-0-RELEASE:1.421 netbsd-7-0-RC3:1.421 netbsd-7-0-RC2:1.421 netbsd-7-0-RC1:1.421 netbsd-5-2-3-RELEASE:1.359.2.6.6.1 netbsd-5-1-5-RELEASE:1.359.2.6.2.1 netbsd-6-0-6-RELEASE:1.396.2.2 netbsd-6-1-5-RELEASE:1.396.2.2 netbsd-7:1.421.0.2 netbsd-7-base:1.421 yamt-pagecache-base9:1.413 yamt-pagecache-tag8:1.392.2.5 netbsd-6-1-4-RELEASE:1.396.2.2 netbsd-6-0-5-RELEASE:1.396.2.2 tls-earlyentropy:1.412.0.2 tls-earlyentropy-base:1.420 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.412 riastradh-drm2-base3:1.412 netbsd-6-1-3-RELEASE:1.396.2.2 netbsd-6-0-4-RELEASE:1.396.2.2 netbsd-5-2-2-RELEASE:1.359.2.6 netbsd-5-1-4-RELEASE:1.359.2.6 netbsd-6-1-2-RELEASE:1.396.2.2 netbsd-6-0-3-RELEASE:1.396.2.2 netbsd-5-2-1-RELEASE:1.359.2.6 netbsd-5-1-3-RELEASE:1.359.2.6 netbsd-6-1-1-RELEASE:1.396.2.2 riastradh-drm2-base2:1.409 riastradh-drm2-base1:1.409 riastradh-drm2:1.409.0.4 riastradh-drm2-base:1.409 netbsd-6-1:1.396.2.2.0.4 netbsd-6-0-2-RELEASE:1.396.2.2 netbsd-6-1-RELEASE:1.396.2.2 khorben-n900:1.409.0.2 netbsd-6-1-RC4:1.396.2.2 netbsd-6-1-RC3:1.396.2.2 agc-symver:1.406.0.4 agc-symver-base:1.406 netbsd-6-1-RC2:1.396.2.2 netbsd-6-1-RC1:1.396.2.2 yamt-pagecache-base8:1.402 netbsd-5-2:1.359.2.6.0.6 netbsd-6-0-1-RELEASE:1.396.2.2 yamt-pagecache-base7:1.401 netbsd-5-2-RELEASE:1.359.2.6 netbsd-5-2-RC1:1.359.2.6 matt-nb6-plus-nbase:1.396.2.2 yamt-pagecache-base6:1.398 netbsd-6-0:1.396.2.2.0.2 netbsd-6-0-RELEASE:1.396.2.2 netbsd-6-0-RC2:1.396.2.2 tls-maxphys:1.398.0.2 tls-maxphys-base:1.421 matt-nb6-plus:1.396.2.1.0.2 matt-nb6-plus-base:1.396.2.2 netbsd-6-0-RC1:1.396.2.1 yamt-pagecache-base5:1.396 yamt-pagecache-base4:1.396 netbsd-6:1.396.0.2 netbsd-6-base:1.396 netbsd-5-1-2-RELEASE:1.359.2.6 netbsd-5-1-1-RELEASE:1.359.2.6 yamt-pagecache-base3:1.393 yamt-pagecache-base2:1.393 yamt-pagecache:1.392.0.2 yamt-pagecache-base:1.392 cherry-xenmp:1.390.0.2 cherry-xenmp-base:1.390 bouyer-quota2-nbase:1.387 bouyer-quota2:1.384.0.2 bouyer-quota2-base:1.387 matt-mips64-premerge-20101231:1.384 matt-nb5-mips64-premerge-20101231:1.359.2.3.4.2 matt-nb5-pq3:1.359.2.6.0.4 matt-nb5-pq3-base:1.359.2.6 netbsd-5-1:1.359.2.6.0.2 netbsd-5-1-RELEASE:1.359.2.6 netbsd-5-1-RC4:1.359.2.6 matt-nb5-mips64-k15:1.359.2.3.4.2 netbsd-5-1-RC3:1.359.2.6 netbsd-5-1-RC2:1.359.2.6 netbsd-5-1-RC1:1.359.2.6 netbsd-5-0-2-RELEASE:1.359.2.3.2.1 matt-nb5-mips64-premerge-20091211:1.359.2.3.4.1 matt-premerge-20091211:1.376 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.359.2.3.4.1 matt-nb4-mips64-k7-u2a-k9b:1.359.2.3 matt-nb5-mips64-u1-k1-k5:1.359.2.3 matt-nb5-mips64:1.359.2.3.0.4 netbsd-5-0-1-RELEASE:1.359.2.3 jym-xensuspend-nbase:1.366 netbsd-5-0:1.359.2.3.0.2 netbsd-5-0-RELEASE:1.359.2.3 netbsd-5-0-RC4:1.359.2.3 netbsd-5-0-RC3:1.359.2.2 netbsd-5-0-RC2:1.359.2.2 jym-xensuspend:1.363.0.2 jym-xensuspend-base:1.366 netbsd-5-0-RC1:1.359.2.2 mjf-devfs2-base2:1.362 netbsd-5:1.359.0.2 netbsd-5-base:1.359 matt-mips64-base2:1.359 matt-mips64:1.345.0.6 netbsd-4-0-1-RELEASE:1.337.2.2 wrstuden-revivesa-base-3:1.358 wrstuden-revivesa-base-2:1.358 wrstuden-fixsa-newbase:1.337.2.4 wrstuden-revivesa-base-1:1.355 yamt-pf42-base4:1.355 yamt-pf42-base3:1.355 hpcarm-cleanup-nbase:1.352 yamt-pf42-baseX:1.350 yamt-pf42-base2:1.352 wrstuden-revivesa:1.351.0.2 wrstuden-revivesa-base:1.355 yamt-pf42:1.350.0.2 yamt-pf42-base:1.350 mjf-devfs2:1.348.0.8 mjf-devfs2-base:1.358 keiichi-mipv6:1.348.0.6 keiichi-mipv6-base:1.349 mjf-devfs:1.348.0.4 mjf-devfs-base:1.348 matt-armv6-nbase:1.349 matt-armv6-prevmlocking:1.345 wrstuden-fixsa-base-1:1.337.2.2 netbsd-4-0:1.337.2.2.0.4 netbsd-4-0-RELEASE:1.337.2.2 cube-autoconf:1.348.0.2 cube-autoconf-base:1.348 netbsd-4-0-RC5:1.337.2.2 netbsd-4-0-RC4:1.337.2.2 netbsd-4-0-RC3:1.337.2.2 netbsd-4-0-RC2:1.337.2.2 netbsd-4-0-RC1:1.337.2.2 matt-armv6:1.345.0.4 matt-armv6-base:1.348 matt-mips64-base:1.345 hpcarm-cleanup:1.345.0.2 hpcarm-cleanup-base:1.348 netbsd-3-1-1-RELEASE:1.306.2.10 netbsd-3-0-3-RELEASE:1.306.2.8 wrstuden-fixsa:1.337.2.2.0.2 wrstuden-fixsa-base:1.337.2.4 abandoned-netbsd-4-base:1.334 abandoned-netbsd-4:1.334.0.2 netbsd-3-1:1.306.2.10.0.2 netbsd-3-1-RELEASE:1.306.2.10 netbsd-3-0-2-RELEASE:1.306.2.8 netbsd-3-1-RC4:1.306.2.10 netbsd-3-1-RC3:1.306.2.10 netbsd-3-1-RC2:1.306.2.10 netbsd-3-1-RC1:1.306.2.9 netbsd-4:1.337.0.2 netbsd-4-base:1.337 netbsd-3-0-1-RELEASE:1.306.2.8 netbsd-3-0:1.306.2.8.0.2 netbsd-3-0-RELEASE:1.306.2.8 netbsd-3-0-RC6:1.306.2.8 netbsd-3-0-RC5:1.306.2.8 netbsd-3-0-RC4:1.306.2.8 netbsd-3-0-RC3:1.306.2.8 netbsd-3-0-RC2:1.306.2.8 netbsd-3-0-RC1:1.306.2.8 netbsd-2-0-3-RELEASE:1.284.2.1 netbsd-2-1:1.284.2.1.2.1.0.2 netbsd-2-1-RELEASE:1.284.2.1.2.1 netbsd-2-1-RC6:1.284.2.1.2.1 netbsd-2-1-RC5:1.284.2.1.2.1 netbsd-2-1-RC4:1.284.2.1.2.1 netbsd-2-1-RC3:1.284.2.1.2.1 netbsd-2-1-RC2:1.284.2.1.2.1 netbsd-2-1-RC1:1.284.2.1.2.1 netbsd-2-0-2-RELEASE:1.284.2.1 netbsd-3:1.306.0.2 netbsd-3-base:1.306 netbsd-2-0-1-RELEASE:1.284.2.1 netbsd-2:1.284.2.1.0.2 netbsd-2-base:1.284.2.1 netbsd-2-0-RELEASE:1.284.2.1 netbsd-2-0-RC5:1.284.2.1 netbsd-2-0-RC4:1.284.2.1 netbsd-2-0-RC3:1.284.2.1 netbsd-2-0-RC2:1.284.2.1 netbsd-2-0-RC1:1.284.2.1 netbsd-2-0:1.284.0.2 netbsd-2-0-base:1.284 netbsd-1-6-PATCH002-RELEASE:1.219.2.4 netbsd-1-6-PATCH002:1.219.2.4 netbsd-1-6-PATCH002-RC4:1.219.2.4 netbsd-1-6-PATCH002-RC3:1.219.2.4 netbsd-1-6-PATCH002-RC2:1.219.2.4 netbsd-1-6-PATCH002-RC1:1.219.2.4 netbsd-1-6-PATCH001:1.219.2.4 netbsd-1-6-PATCH001-RELEASE:1.219.2.4 netbsd-1-6-PATCH001-RC3:1.219.2.4 netbsd-1-6-PATCH001-RC2:1.219.2.4 netbsd-1-6-PATCH001-RC1:1.219.2.4 fvdl_fs64_base:1.239 netbsd-1-6-RELEASE:1.219.2.3 netbsd-1-6-RC3:1.219.2.3 netbsd-1-6-RC2:1.219.2.3 netbsd-1-6-RC1:1.219.2.3 netbsd-1-6:1.219.0.2 netbsd-1-6-base:1.219 netbsd-1-5-PATCH003:1.154.2.9 netbsd-1-5-PATCH002:1.154.2.9 netbsd-1-5-PATCH001:1.154.2.9 netbsd-1-5-RELEASE:1.154.2.9 netbsd-1-5-BETA2:1.154.2.9 netbsd-1-5-BETA:1.154.2.7 netbsd-1-4-PATCH003:1.112.2.8 netbsd-1-5-ALPHA2:1.154 netbsd-1-5:1.154.0.2 netbsd-1-5-base:1.154 minoura-xpg4dl:1.150.0.2 minoura-xpg4dl-base:1.150 netbsd-1-4-PATCH002:1.112.2.6 wrstuden-devbsize-19991221:1.129 wrstuden-devbsize:1.125.0.2 wrstuden-devbsize-base:1.129 comdex-fall-1999:1.128.0.2 comdex-fall-1999-base:1.128 netbsd-1-4-PATCH001:1.112.2.5 netbsd-1-4-RELEASE:1.112.2.4 netbsd-1-4:1.112.0.2 netbsd-1-4-base:1.112 netbsd-1-3-PATCH003:1.78.2.6 netbsd-1-3-PATCH003-CANDIDATE2:1.78.2.6 netbsd-1-3-PATCH003-CANDIDATE1:1.78.2.6 netbsd-1-3-PATCH003-CANDIDATE0:1.78.2.6 netbsd-1-3-PATCH002:1.78.2.5 netbsd-1-3-PATCH001:1.78.2.5 netbsd-1-3-RELEASE:1.78.2.5 netbsd-1-3-BETA:1.78.2.4 netbsd-1-3:1.78.0.2 netbsd-1-3-base:1.78 cjs-build-against-obj-dir:1.70.0.2 netbsd-1-2-PATCH001:1.51.4.1 lite-2:1.1.1.3 lite-1:1.1.1.2 CSRG:1.1.1 netbsd-1-2-RELEASE:1.51.4.1 netbsd-1-2-BETA:1.51.4.1 netbsd-1-2-base:1.51 netbsd-1-2:1.51.0.4 netbsd-1-1-PATCH001:1.49.2.1 netbsd-1-1-RELEASE:1.49.2.1 netbsd-1-1:1.49.0.2 netbsd-1-1-base:1.49 netbsd-1-0-PATCH06:1.48 netbsd-1-0-PATCH05:1.48 netbsd-1-0-PATCH04:1.48 netbsd-1-0-PATCH03:1.48 netbsd-1-0-PATCH02:1.48 netbsd-1-0-PATCH1:1.48 netbsd-1-0-PATCH0:1.48 netbsd-1-0-RELEASE:1.48 netbsd-1-0:1.48.0.2 netbsd-1-0-base:1.48 netbsd-0-9-RELEASE:1.23 netbsd-0-9-BETA:1.23 netbsd-0-9-ALPHA2:1.23 netbsd-0-9-ALPHA:1.23 netbsd-0-9:1.23.0.2 netbsd-0-9-base:1.23 netbsd-0-8:1.15 netbsd-alpha-1:1.15 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @# @; 1.469 date 2023.11.10.20.44.58; author christos; state Exp; branches; next 1.468; commitid z3vhRiiiPUDyA6ME; 1.468 date 2023.11.08.13.02.03; author christos; state Exp; branches; next 1.467; commitid 4mntXJnv3vbT5OLE; 1.467 date 2023.08.26.05.27.14; author riastradh; state Exp; branches; next 1.466; commitid 3DdQpQm7IK3mXfCE; 1.466 date 2022.08.21.07.10.03; author lukem; state Exp; branches 1.466.2.1; next 1.465; commitid 0Ie3kKNxYR5noIQD; 1.465 date 2022.06.06.10.56.28; author nia; state Exp; branches; next 1.464; commitid ROwwhwdBzXrG6YGD; 1.464 date 2022.05.30.15.06.55; author rin; state Exp; branches; next 1.463; commitid GVUeTtYLg8nxI5GD; 1.463 date 2022.05.28.14.31.11; author nia; state Exp; branches; next 1.462; commitid n49xx9MowLgiAPFD; 1.462 date 2022.05.28.12.36.56; author nia; state Exp; branches; next 1.461; commitid k9HWxsFncUjvXOFD; 1.461 date 2022.05.28.11.17.35; author nia; state Exp; branches; next 1.460; commitid CY4aOUqgdUjhwOFD; 1.460 date 2022.05.25.21.25.46; author nia; state Exp; branches; next 1.459; commitid ggt7LwNyohnQYtFD; 1.459 date 2022.05.25.10.18.29; author nia; state Exp; branches; next 1.458; commitid 4bzcMhxQ7Q3NhqFD; 1.458 date 2022.01.05.01.46.28; author kre; state Exp; branches; next 1.457; commitid t6ZvgzEVWHGrWnnD; 1.457 date 2022.01.02.20.09.03; author christos; state Exp; branches; next 1.456; commitid wUxhBJoQXEXn96nD; 1.456 date 2021.12.29.22.22.13; author christos; state Exp; branches; next 1.455; commitid dxK9tLnPPfH11BmD; 1.455 date 2021.12.23.14.50.59; author christos; state Exp; branches; next 1.454; commitid YjC2EHtCrNEJHMlD; 1.454 date 2021.12.20.20.20.35; author christos; state Exp; branches; next 1.453; commitid 2K4N0z96Wj8rDqlD; 1.453 date 2021.12.20.14.41.26; author christos; state Exp; branches; next 1.452; commitid LsSWzwsT8xmcKolD; 1.452 date 2021.09.26.15.52.40; author maya; state Exp; branches; next 1.451; commitid 74XbefKeHR5PStaD; 1.451 date 2021.09.25.08.54.30; author maya; state Exp; branches; next 1.450; commitid BGRNzDrS01VoBjaD; 1.450 date 2021.05.26.20.22.28; author christos; state Exp; branches; next 1.449; commitid 0tYdqLuynH8BkHUC; 1.449 date 2020.12.29.16.46.44; author martin; state Exp; branches 1.449.2.1; next 1.448; commitid LA54dGawmGHuTEBC; 1.448 date 2020.09.09.12.06.02; author jmcneill; state Exp; branches; next 1.447; commitid RJYtZaKI5xQ6UmnC; 1.447 date 2020.09.03.18.59.33; author jakllsch; state Exp; branches; next 1.446; commitid yussLgcejwUaoDmC; 1.446 date 2020.06.01.01.41.40; author jmcneill; state Exp; branches; next 1.445; commitid n07jvC0IGUxCFsaC; 1.445 date 2020.05.18.21.19.34; author jmcneill; state Exp; branches; next 1.444; commitid LEg8TRe3NPw0DL8C; 1.444 date 2020.04.27.01.07.27; author christos; state Exp; branches; next 1.443; commitid FjKKZcMYoFhBBX5C; 1.443 date 2020.04.05.00.36.25; author christos; state Exp; branches; next 1.442; commitid VgqxdjoyxhpM883C; 1.442 date 2020.04.04.19.50.53; author christos; state Exp; branches; next 1.441; commitid Hc1NwvvC6JIRx63C; 1.441 date 2019.10.02.11.16.00; author maya; state Exp; branches; next 1.440; commitid 7L8j32uFc906EhFB; 1.440 date 2019.09.22.13.08.10; author gson; state Exp; branches; next 1.439; commitid VGmnvP5j6zOkB0EB; 1.439 date 2019.07.31.18.35.58; author martin; state Exp; branches; next 1.438; commitid FTfJAeQfnpv17exB; 1.438 date 2019.01.12.17.25.09; author roy; state Exp; branches 1.438.2.1; next 1.437; commitid 8KSPlTHiIvQy9w7B; 1.437 date 2018.10.01.09.47.34; author martin; state Exp; branches; next 1.436; commitid Dstr7UJ4LDXNVeUA; 1.436 date 2018.09.29.06.10.01; author martin; state Exp; branches; next 1.435; commitid uwdxbppWDs51NXTA; 1.435 date 2018.09.29.01.12.22; author kre; state Exp; branches; next 1.434; commitid TH9FMZnAypyQ8WTA; 1.434 date 2018.09.28.15.11.36; author martin; state Exp; branches; next 1.433; commitid SPmDWgsKkbf6PSTA; 1.433 date 2018.04.01.04.35.02; author ryo; state Exp; branches 1.433.2.1; next 1.432; commitid Rbo0y8tEIcKr5HwA; 1.432 date 2018.01.09.03.31.14; author christos; state Exp; branches 1.432.2.1; next 1.431; commitid nhHsbnoK9vzLm9mA; 1.431 date 2017.06.19.20.10.18; author christos; state Exp; branches; next 1.430; commitid 1CHcYXU7WKnfs1Wz; 1.430 date 2017.06.18.02.43.43; author christos; state Exp; branches; next 1.429; commitid YimxqqqbR7ldHNVz; 1.429 date 2017.06.18.01.03.30; author christos; state Exp; branches; next 1.428; commitid 0M3fWxDPK7UO8NVz; 1.428 date 2017.05.21.15.28.38; author riastradh; state Exp; branches 1.428.2.1; next 1.427; commitid qFvwLLy2KgFGNgSz; 1.427 date 2017.02.07.21.18.05; author christos; state Exp; branches; next 1.426; commitid xWZm9FOUd9zc44Fz; 1.426 date 2015.12.20.02.35.34; author christos; state Exp; branches 1.426.2.1 1.426.4.1; next 1.425; commitid JefKoPbbqM5tcDNy; 1.425 date 2015.12.19.23.37.43; author christos; state Exp; branches; next 1.424; commitid PWq7etw5DesqdCNy; 1.424 date 2015.08.31.06.08.07; author uebayasi; state Exp; branches; next 1.423; commitid VvKrCkUdZrudWnzy; 1.423 date 2015.07.23.08.03.25; author mrg; state Exp; branches; next 1.422; commitid nfGa2DVpEPUUPnuy; 1.422 date 2014.11.30.15.53.29; author uebayasi; state Exp; branches; next 1.421; commitid bXy2o4AuUrNyZd0y; 1.421 date 2014.08.10.05.56.36; author matt; state Exp; branches; next 1.420; commitid lrtMg50VTUc5hMLx; 1.420 date 2014.08.06.11.41.18; author apb; state Exp; branches; next 1.419; commitid Ol7sBBEcKbd5kiLx; 1.419 date 2014.08.06.10.37.30; author apb; state Exp; branches; next 1.418; commitid vRySGDKeS8swXhLx; 1.418 date 2014.08.05.15.43.50; author apb; state Exp; branches; next 1.417; commitid PNMySzwsx3H6HbLx; 1.417 date 2014.08.05.15.40.59; author apb; state Exp; branches; next 1.416; commitid 1Qp6Y0KwxUnrGbLx; 1.416 date 2014.08.03.09.19.34; author apb; state Exp; branches; next 1.415; commitid Fkd0SP9bzxdECTKx; 1.415 date 2014.06.30.15.34.57; author martin; state Exp; branches; next 1.414; commitid vnMd43df5xaQNyGx; 1.414 date 2014.06.14.12.26.26; author apb; state Exp; branches; next 1.413; commitid 2QeXcJruSdxehuEx; 1.413 date 2014.05.05.19.10.00; author martin; state Exp; branches; next 1.412; commitid TIGgqdYim0L6Nnzx; 1.412 date 2014.01.27.21.37.17; author apb; state Exp; branches 1.412.2.1; next 1.411; commitid SgiF2B7757TFKNmx; 1.411 date 2014.01.16.01.15.33; author christos; state Exp; branches; next 1.410; commitid eohV5AOa1lR3mhlx; 1.410 date 2013.08.19.16.34.29; author matt; state Exp; branches; next 1.409; commitid eNGkuCzXTKTKf52x; 1.409 date 2013.05.01.15.57.44; author agc; state Exp; branches; next 1.408; 1.408 date 2013.05.01.15.55.53; author agc; state Exp; branches; next 1.407; 1.407 date 2013.04.06.13.00.31; author uebayasi; state Exp; branches; next 1.406; 1.406 date 2013.02.24.03.06.13; author jmmv; state Exp; branches; next 1.405; 1.405 date 2013.02.05.16.39.26; author matt; state Exp; branches; next 1.404; 1.404 date 2013.02.05.07.32.44; author matt; state Exp; branches; next 1.403; 1.403 date 2013.01.29.20.21.02; author christos; state Exp; branches; next 1.402; 1.402 date 2013.01.14.20.05.42; author mlelstv; state Exp; branches; next 1.401; 1.401 date 2012.12.03.13.53.28; author apb; state Exp; branches; next 1.400; 1.400 date 2012.11.04.11.09.14; author apb; state Exp; branches; next 1.399; 1.399 date 2012.11.04.11.04.10; author apb; state Exp; branches; next 1.398; 1.398 date 2012.08.17.16.59.26; author riz; state Exp; branches 1.398.2.1; next 1.397; 1.397 date 2012.07.14.04.01.11; author christos; state Exp; branches; next 1.396; 1.396 date 2012.01.22.03.53.33; author tsutsui; state Exp; branches 1.396.2.1; next 1.395; 1.395 date 2012.01.15.17.36.55; author joerg; state Exp; branches; next 1.394; 1.394 date 2012.01.14.22.56.31; author jmcneill; state Exp; branches; next 1.393; 1.393 date 2011.11.02.16.39.23; author yamt; state Exp; branches; next 1.392; 1.392 date 2011.08.22.18.54.05; author jym; state Exp; branches 1.392.2.1; next 1.391; 1.391 date 2011.06.30.18.15.13; author matt; state Exp; branches; next 1.390; 1.390 date 2011.04.17.13.07.18; author martin; state Exp; branches; next 1.389; 1.389 date 2011.04.11.21.49.13; author martin; state Exp; branches; next 1.388; 1.388 date 2011.04.11.20.03.45; author martin; state Exp; branches; next 1.387; 1.387 date 2011.02.16.16.22.13; author uebayasi; state Exp; branches; next 1.386; 1.386 date 2011.02.16.16.20.06; author uebayasi; state Exp; branches; next 1.385; 1.385 date 2011.02.16.15.52.51; author uebayasi; state Exp; branches; next 1.384; 1.384 date 2010.12.27.03.38.52; author christos; state Exp; branches 1.384.2.1; next 1.383; 1.383 date 2010.12.08.23.56.01; author njoly; state Exp; branches; next 1.382; 1.382 date 2010.10.04.13.55.39; author tsutsui; state Exp; branches; next 1.381; 1.381 date 2010.08.22.18.56.20; author rmind; state Exp; branches; next 1.380; 1.380 date 2010.02.05.09.44.23; author roy; state Exp; branches; next 1.379; 1.379 date 2010.02.04.21.01.16; author roy; state Exp; branches; next 1.378; 1.378 date 2010.01.12.04.44.06; author dholland; state Exp; branches; next 1.377; 1.377 date 2010.01.10.06.13.25; author dholland; state Exp; branches; next 1.376; 1.376 date 2009.12.11.15.22.33; author he; state Exp; branches; next 1.375; 1.375 date 2009.12.05.19.14.39; author pooka; state Exp; branches; next 1.374; 1.374 date 2009.11.30.16.13.22; author uebayasi; state Exp; branches; next 1.373; 1.373 date 2009.09.29.23.56.27; author tsarna; state Exp; branches; next 1.372; 1.372 date 2009.09.08.07.08.01; author skrll; state Exp; branches; next 1.371; 1.371 date 2009.09.07.19.34.30; author mrg; state Exp; branches; next 1.370; 1.370 date 2009.07.25.16.20.10; author mbalmer; state Exp; branches; next 1.369; 1.369 date 2009.07.21.00.48.29; author mrg; state Exp; branches; next 1.368; 1.368 date 2009.07.21.00.28.35; author mrg; state Exp; branches; next 1.367; 1.367 date 2009.06.23.17.58.23; author tron; state Exp; branches; next 1.366; 1.366 date 2009.04.23.11.29.29; author apb; state Exp; branches; next 1.365; 1.365 date 2009.02.26.19.43.39; author joerg; state Exp; branches; next 1.364; 1.364 date 2009.02.25.20.38.30; author sketch; state Exp; branches; next 1.363; 1.363 date 2009.01.19.07.08.27; author jmmv; state Exp; branches 1.363.2.1; next 1.362; 1.362 date 2008.12.05.18.52.59; author cube; state Exp; branches; next 1.361; 1.361 date 2008.11.12.12.35.52; author ad; state Exp; branches; next 1.360; 1.360 date 2008.11.09.23.02.28; author mrg; state Exp; branches; next 1.359; 1.359 date 2008.10.19.22.05.20; author apb; state Exp; branches 1.359.2.1; next 1.358; 1.358 date 2008.08.28.07.21.49; author lukem; state Exp; branches; next 1.357; 1.357 date 2008.07.27.19.31.03; author joerg; state Exp; branches; next 1.356; 1.356 date 2008.07.23.01.57.19; author dyoung; state Exp; branches; next 1.355; 1.355 date 2008.05.24.19.39.30; author joerg; state Exp; branches; next 1.354; 1.354 date 2008.05.23.13.06.40; author wiz; state Exp; branches; next 1.353; 1.353 date 2008.05.22.14.09.27; author lukem; state Exp; branches; next 1.352; 1.352 date 2008.05.07.21.30.26; author gdt; state Exp; branches; next 1.351; 1.351 date 2008.04.30.16.48.53; author ad; state Exp; branches 1.351.2.1; next 1.350; 1.350 date 2008.03.22.12.02.59; author lukem; state Exp; branches 1.350.2.1; next 1.349; 1.349 date 2008.03.16.07.25.57; author lukem; state Exp; branches; next 1.348; 1.348 date 2007.11.21.16.23.30; author njoly; state Exp; branches 1.348.4.1 1.348.6.1 1.348.8.1; next 1.347; 1.347 date 2007.11.19.18.27.27; author minskim; state Exp; branches; next 1.346; 1.346 date 2007.11.12.15.02.57; author jmmv; state Exp; branches; next 1.345; 1.345 date 2007.07.14.19.53.52; author adrianp; state Exp; branches 1.345.4.1; next 1.344; 1.344 date 2007.07.01.11.04.31; author xtraeme; state Exp; branches; next 1.343; 1.343 date 2007.04.11.20.46.09; author bouyer; state Exp; branches; next 1.342; 1.342 date 2007.03.16.21.12.17; author bad; state Exp; branches; next 1.341; 1.341 date 2007.03.06.21.59.40; author bouyer; state Exp; branches; next 1.340; 1.340 date 2007.03.03.06.36.01; author apb; state Exp; branches; next 1.339; 1.339 date 2007.02.26.20.44.03; author apb; state Exp; branches; next 1.338; 1.338 date 2007.02.04.14.44.34; author rpaulo; state Exp; branches; next 1.337; 1.337 date 2006.09.18.22.39.37; author hubertf; state Exp; branches 1.337.2.1; next 1.336; 1.336 date 2006.09.14.13.01.31; author pavel; state Exp; branches; next 1.335; 1.335 date 2006.08.13.14.11.36; author jmmv; state Exp; branches; next 1.334; 1.334 date 2006.08.05.13.07.30; author jmmv; state Exp; branches 1.334.2.1; next 1.333; 1.333 date 2006.07.23.11.44.55; author lukem; state Exp; branches; next 1.332; 1.332 date 2006.07.12.13.12.03; author lukem; state Exp; branches; next 1.331; 1.331 date 2006.07.03.05.37.00; author lukem; state Exp; branches; next 1.330; 1.330 date 2006.06.27.12.34.54; author christos; state Exp; branches; next 1.329; 1.329 date 2006.06.19.15.44.35; author gdamore; state Exp; branches; next 1.328; 1.328 date 2006.06.09.12.09.46; author tron; state Exp; branches; next 1.327; 1.327 date 2006.06.08.11.05.31; author tron; state Exp; branches; next 1.326; 1.326 date 2006.05.30.00.40.22; author christos; state Exp; branches; next 1.325; 1.325 date 2006.03.20.04.03.21; author christos; state Exp; branches; next 1.324; 1.324 date 2006.02.17.22.09.33; author dsl; state Exp; branches; next 1.323; 1.323 date 2006.02.15.21.59.08; author dsl; state Exp; branches; next 1.322; 1.322 date 2006.02.11.20.56.29; author dsl; state Exp; branches; next 1.321; 1.321 date 2006.02.08.19.02.58; author agc; state Exp; branches; next 1.320; 1.320 date 2006.01.29.14.03.59; author apb; state Exp; branches; next 1.319; 1.319 date 2006.01.28.21.37.11; author apb; state Exp; branches; next 1.318; 1.318 date 2006.01.22.20.19.52; author dsl; state Exp; branches; next 1.317; 1.317 date 2006.01.04.15.27.12; author apb; state Exp; branches; next 1.316; 1.316 date 2005.10.22.05.46.06; author hubertf; state Exp; branches; next 1.315; 1.315 date 2005.10.07.17.22.12; author jmc; state Exp; branches; next 1.314; 1.314 date 2005.08.30.10.58.33; author tron; state Exp; branches; next 1.313; 1.313 date 2005.05.22.14.34.20; author lukem; state Exp; branches; next 1.312; 1.312 date 2005.04.17.15.15.48; author lukem; state Exp; branches; next 1.311; 1.311 date 2005.03.28.03.13.39; author lukem; state Exp; branches; next 1.310; 1.310 date 2005.03.25.20.15.20; author tron; state Exp; branches; next 1.309; 1.309 date 2005.03.24.20.23.55; author tron; state Exp; branches; next 1.308; 1.308 date 2005.03.24.09.07.17; author martin; state Exp; branches; next 1.307; 1.307 date 2005.03.21.23.09.39; author tron; state Exp; branches; next 1.306; 1.306 date 2005.03.08.07.39.30; author martin; state Exp; branches 1.306.2.1; next 1.305; 1.305 date 2005.03.04.16.16.00; author christos; state Exp; branches; next 1.304; 1.304 date 2005.02.23.02.10.33; author lukem; state Exp; branches; next 1.303; 1.303 date 2005.02.22.14.40.01; author peter; state Exp; branches; next 1.302; 1.302 date 2005.01.15.18.18.18; author fredb; state Exp; branches; next 1.301; 1.301 date 2005.01.10.02.49.46; author lukem; state Exp; branches; next 1.300; 1.300 date 2005.01.10.01.17.25; author lukem; state Exp; branches; next 1.299; 1.299 date 2005.01.06.00.47.34; author lukem; state Exp; branches; next 1.298; 1.298 date 2004.11.16.03.51.30; author christos; state Exp; branches; next 1.297; 1.297 date 2004.11.16.02.33.21; author christos; state Exp; branches; next 1.296; 1.296 date 2004.11.15.16.33.41; author he; state Exp; branches; next 1.295; 1.295 date 2004.11.15.00.28.16; author christos; state Exp; branches; next 1.294; 1.294 date 2004.11.14.20.28.28; author yamt; state Exp; branches; next 1.293; 1.293 date 2004.11.14.11.26.43; author yamt; state Exp; branches; next 1.292; 1.292 date 2004.07.28.11.35.44; author he; state Exp; branches; next 1.291; 1.291 date 2004.06.28.14.03.02; author lukem; state Exp; branches; next 1.290; 1.290 date 2004.06.22.18.21.55; author itojun; state Exp; branches; next 1.289; 1.289 date 2004.06.20.21.30.26; author christos; state Exp; branches; next 1.288; 1.288 date 2004.05.17.07.00.16; author lukem; state Exp; branches; next 1.287; 1.287 date 2004.05.16.09.53.09; author lukem; state Exp; branches; next 1.286; 1.286 date 2004.05.12.16.56.41; author cl; state Exp; branches; next 1.285; 1.285 date 2004.04.13.12.43.12; author lukem; state Exp; branches; next 1.284; 1.284 date 2004.03.08.05.46.44; author cgd; state Exp; branches 1.284.2.1; next 1.283; 1.283 date 2004.02.25.15.00.59; author agc; state Exp; branches; next 1.282; 1.282 date 2004.02.13.23.48.10; author enami; state Exp; branches; next 1.281; 1.281 date 2004.02.07.07.59.17; author lukem; state Exp; branches; next 1.280; 1.280 date 2004.02.06.15.36.52; author itohy; state Exp; branches; next 1.279; 1.279 date 2004.01.31.15.40.42; author lukem; state Exp; branches; next 1.278; 1.278 date 2004.01.30.08.46.19; author lukem; state Exp; branches; next 1.277; 1.277 date 2004.01.27.15.55.42; author he; state Exp; branches; next 1.276; 1.276 date 2004.01.27.04.19.06; author lukem; state Exp; branches; next 1.275; 1.275 date 2004.01.27.01.52.06; author lukem; state Exp; branches; next 1.274; 1.274 date 2004.01.11.04.21.18; author tls; state Exp; branches; next 1.273; 1.273 date 2004.01.08.02.37.16; author lukem; state Exp; branches; next 1.272; 1.272 date 2004.01.06.07.25.40; author lukem; state Exp; branches; next 1.271; 1.271 date 2004.01.06.03.46.27; author lukem; state Exp; branches; next 1.270; 1.270 date 2004.01.06.02.10.43; author lukem; state Exp; branches; next 1.269; 1.269 date 2004.01.05.04.05.06; author lukem; state Exp; branches; next 1.268; 1.268 date 2004.01.05.00.12.01; author lukem; state Exp; branches; next 1.267; 1.267 date 2004.01.04.23.55.11; author lukem; state Exp; branches; next 1.266; 1.266 date 2004.01.04.13.29.16; author lukem; state Exp; branches; next 1.265; 1.265 date 2004.01.01.12.28.22; author lukem; state Exp; branches; next 1.264; 1.264 date 2003.12.19.06.04.16; author lukem; state Exp; branches; next 1.263; 1.263 date 2003.12.15.09.46.51; author lukem; state Exp; branches; next 1.262; 1.262 date 2003.11.15.08.50.26; author jdolecek; state Exp; branches; next 1.261; 1.261 date 2003.10.26.23.34.29; author cl; state Exp; branches; next 1.260; 1.260 date 2003.10.26.07.25.34; author lukem; state Exp; branches; next 1.259; 1.259 date 2003.10.25.03.55.26; author ross; state Exp; branches; next 1.258; 1.258 date 2003.10.24.22.39.51; author ross; state Exp; branches; next 1.257; 1.257 date 2003.10.24.20.12.04; author jdolecek; state Exp; branches; next 1.256; 1.256 date 2003.08.22.19.03.03; author dsl; state Exp; branches; next 1.255; 1.255 date 2003.07.18.08.26.03; author lukem; state Exp; branches; next 1.254; 1.254 date 2003.07.10.10.34.17; author lukem; state Exp; branches; next 1.253; 1.253 date 2003.06.08.23.49.21; author lukem; state Exp; branches; next 1.252; 1.252 date 2003.05.18.08.28.05; author lukem; state Exp; branches; next 1.251; 1.251 date 2003.04.18.05.41.47; author thorpej; state Exp; branches; next 1.250; 1.250 date 2003.04.02.14.38.26; author perry; state Exp; branches; next 1.249; 1.249 date 2003.03.15.08.44.16; author jdolecek; state Exp; branches; next 1.248; 1.248 date 2003.03.08.00.22.29; author lukem; state Exp; branches; next 1.247; 1.247 date 2003.02.22.03.20.46; author lukem; state Exp; branches; next 1.246; 1.246 date 2003.02.20.11.40.28; author lukem; state Exp; branches; next 1.245; 1.245 date 2003.02.16.00.22.37; author lukem; state Exp; branches; next 1.244; 1.244 date 2003.01.09.16.57.45; author mrg; state Exp; branches; next 1.243; 1.243 date 2003.01.06.14.47.28; author lukem; state Exp; branches; next 1.242; 1.242 date 2003.01.04.15.49.29; author lukem; state Exp; branches; next 1.241; 1.241 date 2003.01.03.15.34.36; author lukem; state Exp; branches; next 1.240; 1.240 date 2003.01.03.14.27.54; author lukem; state Exp; branches; next 1.239; 1.239 date 2002.12.23.06.52.49; author lukem; state Exp; branches; next 1.238; 1.238 date 2002.12.21.15.54.51; author lukem; state Exp; branches; next 1.237; 1.237 date 2002.12.19.23.04.26; author lukem; state Exp; branches; next 1.236; 1.236 date 2002.12.19.20.03.46; author jdolecek; state Exp; branches; next 1.235; 1.235 date 2002.12.19.12.35.01; author lukem; state Exp; branches; next 1.234; 1.234 date 2002.12.17.15.54.59; author jdolecek; state Exp; branches; next 1.233; 1.233 date 2002.12.02.13.18.03; author lukem; state Exp; branches; next 1.232; 1.232 date 2002.11.18.07.09.46; author lukem; state Exp; branches; next 1.231; 1.231 date 2002.10.23.20.35.45; author perry; state Exp; branches; next 1.230; 1.230 date 2002.10.23.19.50.30; author perry; state Exp; branches; next 1.229; 1.229 date 2002.10.16.02.30.48; author lukem; state Exp; branches; next 1.228; 1.228 date 2002.10.05.15.23.19; author grant; state Exp; branches; next 1.227; 1.227 date 2002.09.16.02.35.04; author perry; state Exp; branches; next 1.226; 1.226 date 2002.09.16.02.30.29; author perry; state Exp; branches; next 1.225; 1.225 date 2002.09.03.00.56.08; author wiz; state Exp; branches; next 1.224; 1.224 date 2002.07.28.01.21.07; author bjh21; state Exp; branches; next 1.223; 1.223 date 2002.07.06.18.19.31; author fredette; state Exp; branches; next 1.222; 1.222 date 2002.06.11.16.12.51; author lukem; state Exp; branches; next 1.221; 1.221 date 2002.05.30.21.40.47; author itojun; state Exp; branches; next 1.220; 1.220 date 2002.05.30.09.49.22; author itojun; state Exp; branches; next 1.219; 1.219 date 2002.05.04.19.43.57; author jdolecek; state Exp; branches 1.219.2.1; next 1.218; 1.218 date 2002.05.02.22.13.31; author sommerfeld; state Exp; branches; next 1.217; 1.217 date 2002.05.02.15.09.40; author lukem; state Exp; branches; next 1.216; 1.216 date 2002.04.26.16.23.14; author lukem; state Exp; branches; next 1.215; 1.215 date 2002.04.26.15.43.39; author lukem; state Exp; branches; next 1.214; 1.214 date 2002.04.21.00.06.03; author lukem; state Exp; branches; next 1.213; 1.213 date 2002.04.15.03.01.31; author perry; state Exp; branches; next 1.212; 1.212 date 2002.04.10.15.12.37; author lukem; state Exp; branches; next 1.211; 1.211 date 2002.04.10.14.57.45; author lukem; state Exp; branches; next 1.210; 1.210 date 2002.04.10.12.05.20; author lukem; state Exp; branches; next 1.209; 1.209 date 2002.04.09.18.07.24; author matt; state Exp; branches; next 1.208; 1.208 date 2002.04.07.15.52.27; author wiz; state Exp; branches; next 1.207; 1.207 date 2002.04.01.17.32.19; author bjh21; state Exp; branches; next 1.206; 1.206 date 2002.03.31.16.07.53; author bjh21; state Exp; branches; next 1.205; 1.205 date 2002.03.29.04.45.37; author matt; state Exp; branches; next 1.204; 1.204 date 2002.03.05.03.51.21; author lukem; state Exp; branches; next 1.203; 1.203 date 2002.03.01.06.22.09; author chs; state Exp; branches; next 1.202; 1.202 date 2002.02.09.11.09.29; author lukem; state Exp; branches; next 1.201; 1.201 date 2002.01.27.06.49.22; author lukem; state Exp; branches; next 1.200; 1.200 date 2002.01.27.01.44.02; author lukem; state Exp; branches; next 1.199; 1.199 date 2001.12.12.00.07.46; author tv; state Exp; branches; next 1.198; 1.198 date 2001.12.07.02.30.22; author jmc; state Exp; branches; next 1.197; 1.197 date 2001.11.30.18.50.09; author thorpej; state Exp; branches; next 1.196; 1.196 date 2001.11.29.22.45.53; author thorpej; state Exp; branches; next 1.195; 1.195 date 2001.11.25.18.19.14; author thorpej; state Exp; branches; next 1.194; 1.194 date 2001.11.24.21.41.12; author perry; state Exp; branches; next 1.193; 1.193 date 2001.11.20.16.07.59; author thorpej; state Exp; branches; next 1.192; 1.192 date 2001.11.19.05.05.06; author perry; state Exp; branches; next 1.191; 1.191 date 2001.11.13.17.14.27; author tv; state Exp; branches; next 1.190; 1.190 date 2001.10.31.02.58.58; author jmc; state Exp; branches; next 1.189; 1.189 date 2001.10.29.22.18.28; author perry; state Exp; branches; next 1.188; 1.188 date 2001.10.29.01.19.19; author perry; state Exp; branches; next 1.187; 1.187 date 2001.10.26.06.45.33; author jmc; state Exp; branches; next 1.186; 1.186 date 2001.10.24.02.43.13; author tv; state Exp; branches; next 1.185; 1.185 date 2001.10.19.15.07.48; author tv; state Exp; branches; next 1.184; 1.184 date 2001.10.13.14.22.11; author lukem; state Exp; branches; next 1.183; 1.183 date 2001.10.12.05.18.23; author lukem; state Exp; branches; next 1.182; 1.182 date 2001.10.10.06.58.56; author chs; state Exp; branches; next 1.181; 1.181 date 2001.10.09.05.19.04; author enami; state Exp; branches; next 1.180; 1.180 date 2001.10.04.16.46.22; author tv; state Exp; branches; next 1.179; 1.179 date 2001.08.23.14.37.02; author mrg; state Exp; branches; next 1.178; 1.178 date 2001.08.05.03.37.37; author matt; state Exp; branches; next 1.177; 1.177 date 2001.08.04.18.41.18; author tsutsui; state Exp; branches; next 1.176; 1.176 date 2001.01.21.15.03.22; author itojun; state Exp; branches; next 1.175; 1.175 date 2001.01.14.06.08.24; author christos; state Exp; branches; next 1.174; 1.174 date 2001.01.14.05.31.36; author christos; state Exp; branches; next 1.173; 1.173 date 2001.01.09.02.13.54; author simonb; state Exp; branches; next 1.172; 1.172 date 2000.12.02.18.04.45; author jlam; state Exp; branches; next 1.171; 1.171 date 2000.11.30.11.31.05; author simonb; state Exp; branches; next 1.170; 1.170 date 2000.11.09.20.01.54; author jdolecek; state Exp; branches; next 1.169; 1.169 date 2000.10.30.21.48.20; author thorpej; state Exp; branches; next 1.168; 1.168 date 2000.10.29.05.16.53; author jmc; state Exp; branches; next 1.167; 1.167 date 2000.10.23.01.50.37; author jmc; state Exp; branches; next 1.166; 1.166 date 2000.10.19.17.53.41; author garbled; state Exp; branches; next 1.165; 1.165 date 2000.10.16.13.18.36; author simonb; state Exp; branches; next 1.164; 1.164 date 2000.10.14.16.45.42; author hubertf; state Exp; branches; next 1.163; 1.163 date 2000.10.01.22.31.04; author thorpej; state Exp; branches; next 1.162; 1.162 date 2000.10.01.05.51.09; author lukem; state Exp; branches; next 1.161; 1.161 date 2000.09.11.21.53.30; author hubertf; state Exp; branches; next 1.160; 1.160 date 2000.08.23.20.48.42; author jhawk; state Exp; branches; next 1.159; 1.159 date 2000.08.21.23.03.10; author lukem; state Exp; branches; next 1.158; 1.158 date 2000.08.06.18.10.48; author fvdl; state Exp; branches; next 1.157; 1.157 date 2000.08.03.13.00.02; author kleink; state Exp; branches; next 1.156; 1.156 date 2000.08.02.14.40.45; author hubertf; state Exp; branches; next 1.155; 1.155 date 2000.07.25.19.07.39; author thorpej; state Exp; branches; next 1.154; 1.154 date 2000.06.20.06.00.28; author thorpej; state Exp; branches 1.154.2.1; next 1.153; 1.153 date 2000.06.12.06.23.21; author fredb; state Exp; branches; next 1.152; 1.152 date 2000.06.03.23.53.17; author perry; state Exp; branches; next 1.151; 1.151 date 2000.06.02.22.54.08; author fvdl; state Exp; branches; next 1.150; 1.150 date 2000.05.13.08.07.01; author lukem; state Exp; branches 1.150.2.1; next 1.149; 1.149 date 2000.05.06.07.52.19; author sjg; state Exp; branches; next 1.148; 1.148 date 2000.05.03.11.37.16; author itojun; state Exp; branches; next 1.147; 1.147 date 2000.05.03.10.55.19; author itojun; state Exp; branches; next 1.146; 1.146 date 2000.05.03.00.10.33; author sjg; state Exp; branches; next 1.145; 1.145 date 2000.05.02.06.41.44; author sjg; state Exp; branches; next 1.144; 1.144 date 2000.05.01.05.29.34; author thorpej; state Exp; branches; next 1.143; 1.143 date 2000.04.30.21.45.55; author perry; state Exp; branches; next 1.142; 1.142 date 2000.04.08.23.02.53; author tsarna; state Exp; branches; next 1.141; 1.141 date 2000.03.28.00.39.17; author thorpej; state Exp; branches; next 1.140; 1.140 date 2000.03.10.11.59.35; author lukem; state Exp; branches; next 1.139; 1.139 date 2000.03.01.16.48.35; author joda; state Exp; branches; next 1.138; 1.138 date 2000.03.01.11.21.13; author itojun; state Exp; branches; next 1.137; 1.137 date 2000.02.26.18.42.31; author mycroft; state Exp; branches; next 1.136; 1.136 date 2000.02.20.03.32.37; author mycroft; state Exp; branches; next 1.135; 1.135 date 2000.02.20.03.10.50; author mycroft; state Exp; branches; next 1.134; 1.134 date 2000.02.14.18.37.39; author erh; state Exp; branches; next 1.133; 1.133 date 2000.02.09.08.15.12; author tron; state Exp; branches; next 1.132; 1.132 date 2000.02.05.18.25.01; author jlam; state Exp; branches; next 1.131; 1.131 date 2000.02.04.09.24.08; author veego; state Exp; branches; next 1.130; 1.130 date 2000.02.03.17.51.51; author veego; state Exp; branches; next 1.129; 1.129 date 99.12.13.10.19.32; author christos; state Exp; branches; next 1.128; 1.128 date 99.11.05.11.31.40; author mycroft; state Exp; branches 1.128.2.1; next 1.127; 1.127 date 99.10.20.17.57.55; author perry; state Exp; branches; next 1.126; 1.126 date 99.09.26.21.40.13; author mjl; state Exp; branches; next 1.125; 1.125 date 99.09.16.00.30.06; author sommerfeld; state Exp; branches 1.125.2.1; next 1.124; 1.124 date 99.08.21.06.27.29; author simonb; state Exp; branches; next 1.123; 1.123 date 99.07.22.20.10.16; author is; state Exp; branches; next 1.122; 1.122 date 99.07.21.06.51.30; author mycroft; state Exp; branches; next 1.121; 1.121 date 99.07.04.22.11.06; author fvdl; state Exp; branches; next 1.120; 1.120 date 99.07.02.09.28.16; author itojun; state Exp; branches; next 1.119; 1.119 date 99.06.30.18.42.03; author ross; state Exp; branches; next 1.118; 1.118 date 99.05.21.03.45.50; author gwr; state Exp; branches; next 1.117; 1.117 date 99.04.27.03.08.02; author simonb; state Exp; branches; next 1.116; 1.116 date 99.04.10.04.41.52; author fair; state Exp; branches; next 1.115; 1.115 date 99.04.08.08.24.44; author fair; state Exp; branches; next 1.114; 1.114 date 99.04.04.09.57.11; author fair; state Exp; branches; next 1.113; 1.113 date 99.04.03.09.40.38; author fair; state Exp; branches; next 1.112; 1.112 date 99.03.29.16.40.44; author perry; state Exp; branches 1.112.2.1; next 1.111; 1.111 date 99.03.28.21.31.11; author simonb; state Exp; branches; next 1.110; 1.110 date 99.03.27.05.17.08; author mrg; state Exp; branches; next 1.109; 1.109 date 99.03.24.20.12.21; author drochner; state Exp; branches; next 1.108; 1.108 date 99.03.14.14.04.40; author drochner; state Exp; branches; next 1.107; 1.107 date 99.03.10.19.10.15; author scottr; state Exp; branches; next 1.106; 1.106 date 99.03.08.02.37.56; author cjs; state Exp; branches; next 1.105; 1.105 date 99.03.05.07.21.44; author mycroft; state Exp; branches; next 1.104; 1.104 date 99.02.19.05.58.40; author itohy; state Exp; branches; next 1.103; 1.103 date 99.02.18.19.42.51; author fair; state Exp; branches; next 1.102; 1.102 date 99.02.18.19.03.44; author fair; state Exp; branches; next 1.101; 1.101 date 99.02.13.02.54.19; author lukem; state Exp; branches; next 1.100; 1.100 date 99.02.11.22.48.11; author cjs; state Exp; branches; next 1.99; 1.99 date 99.02.11.18.19.21; author cjs; state Exp; branches; next 1.98; 1.98 date 99.02.09.19.55.58; author cjs; state Exp; branches; next 1.97; 1.97 date 99.02.07.06.51.41; author cjs; state Exp; branches; next 1.96; 1.96 date 99.02.05.03.01.49; author cjs; state Exp; branches; next 1.95; 1.95 date 99.01.22.01.41.19; author mycroft; state Exp; branches; next 1.94; 1.94 date 99.01.16.14.25.47; author lukem; state Exp; branches; next 1.93; 1.93 date 99.01.06.06.08.37; author abs; state Exp; branches; next 1.92; 1.92 date 98.12.25.22.18.19; author perry; state Exp; branches; next 1.91; 1.91 date 98.11.19.19.53.33; author tron; state Exp; branches; next 1.90; 1.90 date 98.11.02.03.32.22; author kim; state Exp; branches; next 1.89; 1.89 date 98.10.29.20.24.56; author bad; state Exp; branches; next 1.88; 1.88 date 98.09.05.14.48.38; author lukem; state Exp; branches; next 1.87; 1.87 date 98.07.22.16.37.54; author perry; state Exp; branches; next 1.86; 1.86 date 97.12.22.05.58.58; author mikel; state Exp; branches; next 1.85; 1.85 date 97.12.18.06.31.33; author mikel; state Exp; branches; next 1.84; 1.84 date 97.12.17.22.41.05; author perry; state Exp; branches; next 1.83; 1.83 date 97.12.02.06.52.14; author mrg; state Exp; branches; next 1.82; 1.82 date 97.11.24.02.03.44; author perry; state Exp; branches; next 1.81; 1.81 date 97.11.20.08.53.06; author mrg; state Exp; branches; next 1.80; 1.80 date 97.11.11.04.37.17; author jonathan; state Exp; branches; next 1.79; 1.79 date 97.10.23.22.53.30; author chuck; state Exp; branches; next 1.78; 1.78 date 97.10.19.15.27.25; author hubertf; state Exp; branches 1.78.2.1; next 1.77; 1.77 date 97.10.08.10.47.42; author mycroft; state Exp; branches; next 1.76; 1.76 date 97.09.12.17.42.08; author mycroft; state Exp; branches; next 1.75; 1.75 date 97.09.07.10.08.31; author mycroft; state Exp; branches; next 1.74; 1.74 date 97.08.29.09.28.50; author veego; state Exp; branches; next 1.73; 1.73 date 97.07.30.22.17.55; author perry; state Exp; branches; next 1.72; 1.72 date 97.06.21.06.07.38; author mikel; state Exp; branches; next 1.71; 1.71 date 97.05.31.21.21.16; author cjs; state Exp; branches; next 1.70; 1.70 date 97.05.26.03.55.43; author cjs; state Exp; branches 1.70.2.1; next 1.69; 1.69 date 97.04.02.05.23.49; author perry; state Exp; branches; next 1.68; 1.68 date 97.03.24.18.10.00; author perry; state Exp; branches; next 1.67; 1.67 date 97.03.13.04.32.11; author perry; state Exp; branches; next 1.66; 1.66 date 97.02.25.07.37.19; author mikel; state Exp; branches; next 1.65; 1.65 date 97.02.21.08.14.08; author mikel; state Exp; branches; next 1.64; 1.64 date 97.02.10.00.19.08; author pk; state Exp; branches; next 1.63; 1.63 date 97.01.22.04.10.42; author mikel; state Exp; branches; next 1.62; 1.62 date 97.01.16.23.10.43; author perry; state Exp; branches; next 1.61; 1.61 date 97.01.09.06.38.16; author thorpej; state Exp; branches; next 1.60; 1.60 date 97.01.08.23.59.50; author mrg; state Exp; branches; next 1.59; 1.59 date 96.11.29.16.31.55; author jtk; state Exp; branches; next 1.58; 1.58 date 96.11.20.04.33.24; author lukem; state Exp; branches; next 1.57; 1.57 date 96.10.26.08.12.09; author ragge; state Exp; branches; next 1.56; 1.56 date 96.10.18.02.37.51; author thorpej; state Exp; branches; next 1.55; 1.55 date 96.10.16.01.30.11; author perry; state Exp; branches; next 1.54; 1.54 date 96.10.15.23.59.32; author perry; state Exp; branches; next 1.53; 1.53 date 96.06.05.21.55.13; author cgd; state Exp; branches; next 1.52; 1.52 date 96.05.22.01.27.34; author mrg; state Exp; branches; next 1.51; 1.51 date 95.11.01.13.52.40; author pk; state Exp; branches 1.51.4.1; next 1.50; 1.50 date 95.10.17.08.58.11; author thorpej; state Exp; branches; next 1.49; 1.49 date 95.10.08.04.09.06; author tls; state Exp; branches 1.49.2.1; next 1.48; 1.48 date 94.06.28.21.48.46; author deraadt; state Exp; branches; next 1.47; 1.47 date 94.06.19.04.40.28; author cgd; state Exp; branches; next 1.46; 1.46 date 94.06.16.18.59.14; author deraadt; state Exp; branches; next 1.45; 1.45 date 94.06.15.04.28.06; author cgd; state Exp; branches; next 1.44; 1.44 date 94.05.24.06.09.47; author deraadt; state Exp; branches; next 1.43; 1.43 date 94.04.18.05.15.36; author glass; state Exp; branches; next 1.42; 1.42 date 94.04.06.20.54.01; author cgd; state Exp; branches; next 1.41; 1.41 date 94.03.05.08.06.41; author cgd; state Exp; branches; next 1.40; 1.40 date 94.02.19.11.04.45; author cgd; state Exp; branches; next 1.39; 1.39 date 94.02.19.08.08.30; author cgd; state Exp; branches; next 1.38; 1.38 date 94.02.17.00.12.56; author cgd; state Exp; branches; next 1.37; 1.37 date 94.02.10.23.23.34; author cgd; state Exp; branches; next 1.36; 1.36 date 94.02.09.07.32.23; author cgd; state Exp; branches; next 1.35; 1.35 date 94.02.09.07.29.36; author cgd; state Exp; branches; next 1.34; 1.34 date 94.02.06.06.48.46; author cgd; state Exp; branches; next 1.33; 1.33 date 94.02.05.07.26.19; author cgd; state Exp; branches; next 1.32; 1.32 date 94.02.05.02.01.49; author jtc; state Exp; branches; next 1.31; 1.31 date 94.01.28.00.50.31; author jtc; state Exp; branches; next 1.30; 1.30 date 94.01.08.03.09.05; author jtc; state Exp; branches; next 1.29; 1.29 date 94.01.08.00.27.42; author jtc; state Exp; branches; next 1.28; 1.28 date 94.01.07.23.55.00; author jtc; state Exp; branches; next 1.27; 1.27 date 94.01.07.23.29.07; author jtc; state Exp; branches; next 1.26; 1.26 date 93.12.11.07.49.52; author mycroft; state Exp; branches; next 1.25; 1.25 date 93.10.26.18.07.31; author jtc; state Exp; branches; next 1.24; 1.24 date 93.08.01.05.46.37; author mycroft; state Exp; branches; next 1.23; 1.23 date 93.07.17.14.17.24; author cgd; state Exp; branches; next 1.22; 1.22 date 93.05.31.02.04.42; author cgd; state Exp; branches; next 1.21; 1.21 date 93.05.28.09.22.20; author cgd; state Exp; branches; next 1.20; 1.20 date 93.05.28.09.10.43; author cgd; state Exp; branches; next 1.19; 1.19 date 93.05.25.09.16.14; author deraadt; state Exp; branches; next 1.18; 1.18 date 93.05.21.14.45.16; author cgd; state Exp; branches; next 1.17; 1.17 date 93.05.17.06.01.15; author cgd; state Exp; branches; next 1.16; 1.16 date 93.04.30.05.18.53; author cgd; state Exp; branches; next 1.15; 1.15 date 93.04.13.16.17.59; author cgd; state Exp; branches; next 1.14; 1.14 date 93.04.13.16.15.29; author cgd; state Exp; branches; next 1.13; 1.13 date 93.04.13.16.12.56; author cgd; state Exp; branches; next 1.12; 1.12 date 93.04.12.09.44.53; author cgd; state Exp; branches; next 1.11; 1.11 date 93.04.10.20.20.21; author cgd; state Exp; branches; next 1.10; 1.10 date 93.04.10.20.11.57; author cgd; state Exp; branches; next 1.9; 1.9 date 93.04.10.20.08.35; author cgd; state Exp; branches; next 1.8; 1.8 date 93.04.10.11.46.28; author cgd; state Exp; branches; next 1.7; 1.7 date 93.04.10.11.11.40; author cgd; state Exp; branches; next 1.6; 1.6 date 93.04.04.06.14.47; author cgd; state Exp; branches; next 1.5; 1.5 date 93.04.03.01.12.21; author glass; state Exp; branches; next 1.4; 1.4 date 93.04.02.07.54.01; author cgd; state Exp; branches; next 1.3; 1.3 date 93.04.02.07.18.23; author glass; state Exp; branches; next 1.2; 1.2 date 93.03.30.00.07.40; author cgd; state Exp; branches; next 1.1; 1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches 1.1.1.1; next ; 1.466.2.1 date 2023.09.04.17.33.28; author martin; state Exp; branches; next ; commitid 2TUS7rO7f7zuGtDE; 1.449.2.1 date 2021.05.31.22.06.55; author cjep; state Exp; branches; next ; commitid eWz9SBW0XqKjJlVC; 1.438.2.1 date 2019.08.07.10.18.13; author martin; state Exp; branches; next 1.438.2.2; commitid MQSFGgvQsM3I85yB; 1.438.2.2 date 2019.11.17.07.04.38; author martin; state Exp; branches; next ; commitid fmdLX9M716eYMaLB; 1.433.2.1 date 2019.06.10.21.42.39; author christos; state Exp; branches; next 1.433.2.2; commitid jtc8rnCzWiEEHGqB; 1.433.2.2 date 2020.04.08.14.03.56; author martin; state Exp; branches; next 1.433.2.3; commitid Qli2aW9E74UFuA3C; 1.433.2.3 date 2020.04.13.07.45.38; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.432.2.1 date 2018.04.07.04.11.58; author pgoyette; state Exp; branches; next 1.432.2.2; commitid ZMkKSYuBapz7LsxA; 1.432.2.2 date 2018.09.30.01.45.07; author pgoyette; state Exp; branches; next 1.432.2.3; commitid SQ44grEPCeKPh4UA; 1.432.2.3 date 2018.10.20.06.58.18; author pgoyette; state Exp; branches; next 1.432.2.4; commitid mTSoqZEZ4arHnFWA; 1.432.2.4 date 2019.01.18.08.48.34; author pgoyette; state Exp; branches; next ; commitid Lmlzg3OVT2cd6f8B; 1.428.2.1 date 2017.07.18.19.13.07; author snj; state Exp; branches; next ; commitid xwp7839uh5fpcKZz; 1.426.2.1 date 2017.03.20.06.52.12; author pgoyette; state Exp; branches; next ; commitid jjw7cAwgyKq7RfKz; 1.426.4.1 date 2017.04.21.16.51.17; author bouyer; state Exp; branches; next ; commitid dUG7nkTKALCadqOz; 1.412.2.1 date 2014.08.10.07.03.06; author tls; state Exp; branches; next ; commitid AUhmcW8XWqOOEMLx; 1.398.2.1 date 2012.11.20.02.57.55; author tls; state Exp; branches; next 1.398.2.2; 1.398.2.2 date 2013.02.25.00.24.48; author tls; state Exp; branches; next 1.398.2.3; 1.398.2.3 date 2013.06.23.06.26.21; author tls; state Exp; branches; next 1.398.2.4; commitid OnlO1cBgtQRcIHUw; 1.398.2.4 date 2014.08.19.23.45.49; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.396.2.1 date 2012.08.17.20.50.51; author martin; state Exp; branches 1.396.2.1.2.1; next 1.396.2.2; 1.396.2.2 date 2012.09.17.19.00.34; author riz; state Exp; branches 1.396.2.2.2.1 1.396.2.2.4.1; next 1.396.2.3; 1.396.2.3 date 2016.08.27.13.20.19; author bouyer; state Exp; branches; next ; commitid 9Ity4N47Cu7yHWjz; 1.396.2.1.2.1 date 2012.11.01.16.44.53; author matt; state Exp; branches; next ; 1.396.2.2.2.1 date 2016.08.27.13.21.44; author bouyer; state Exp; branches; next ; commitid nTh8slmFLAC1IWjz; 1.396.2.2.4.1 date 2016.08.27.13.23.05; author bouyer; state Exp; branches; next ; commitid O6mr3QEd6KBuIWjz; 1.392.2.1 date 2011.11.10.14.31.21; author yamt; state Exp; branches; next 1.392.2.2; 1.392.2.2 date 2012.04.17.00.02.56; author yamt; state Exp; branches; next 1.392.2.3; 1.392.2.3 date 2012.10.30.18.48.58; author yamt; state Exp; branches; next 1.392.2.4; 1.392.2.4 date 2013.01.16.05.26.13; author yamt; state Exp; branches; next 1.392.2.5; 1.392.2.5 date 2013.01.23.00.04.29; author yamt; state Exp; branches; next 1.392.2.6; 1.392.2.6 date 2014.05.22.11.27.18; author yamt; state Exp; branches; next ; commitid spVi6gj5ReXSGwBx; 1.384.2.1 date 2011.02.17.11.57.24; author bouyer; state Exp; branches; next ; 1.363.2.1 date 2009.05.13.19.18.02; author jym; state Exp; branches; next ; 1.359.2.1 date 2008.11.15.22.05.12; author snj; state Exp; branches; next 1.359.2.2; 1.359.2.2 date 2008.12.06.22.00.31; author snj; state Exp; branches; next 1.359.2.3; 1.359.2.3 date 2009.03.27.14.50.35; author msaitoh; state Exp; branches 1.359.2.3.2.1 1.359.2.3.4.1; next 1.359.2.4; 1.359.2.4 date 2009.09.15.06.01.40; author snj; state Exp; branches; next 1.359.2.5; 1.359.2.5 date 2009.10.14.20.05.08; author sborrill; state Exp; branches; next 1.359.2.6; 1.359.2.6 date 2010.01.30.19.21.15; author snj; state Exp; branches 1.359.2.6.2.1 1.359.2.6.6.1; next 1.359.2.7; 1.359.2.7 date 2014.11.07.07.58.37; author msaitoh; state Exp; branches; next ; commitid 35MmIWmjBCUu6eXx; 1.359.2.3.2.1 date 2009.10.15.08.21.05; author sborrill; state Exp; branches; next ; 1.359.2.3.4.1 date 2009.09.09.02.09.15; author matt; state Exp; branches; next 1.359.2.3.4.2; 1.359.2.3.4.2 date 2010.04.21.05.21.22; author matt; state Exp; branches; next 1.359.2.3.4.3; 1.359.2.3.4.3 date 2013.12.19.01.15.09; author matt; state Exp; branches; next ; commitid 2kw4Wb0W5N0zfGhx; 1.359.2.6.2.1 date 2014.11.07.08.05.14; author msaitoh; state Exp; branches; next ; commitid xCUH6yoS9ZML8eXx; 1.359.2.6.6.1 date 2014.11.07.08.03.09; author msaitoh; state Exp; branches; next ; commitid G6t4jxdlkxs38eXx; 1.351.2.1 date 2008.06.23.04.29.01; author wrstuden; state Exp; branches; next 1.351.2.2; 1.351.2.2 date 2008.09.18.04.41.08; author wrstuden; state Exp; branches; next ; 1.350.2.1 date 2008.05.18.12.29.47; author yamt; state Exp; branches; next 1.350.2.2; 1.350.2.2 date 2008.06.04.02.03.21; author yamt; state Exp; branches; next ; 1.348.4.1 date 2007.11.21.16.23.30; author mjf; state dead; branches; next 1.348.4.2; 1.348.4.2 date 2008.02.18.22.07.01; author mjf; state Exp; branches; next ; 1.348.6.1 date 2008.03.24.07.14.40; author keiichi; state Exp; branches; next ; 1.348.8.1 date 2008.02.21.20.44.54; author mjf; state Exp; branches; next 1.348.8.2; 1.348.8.2 date 2008.04.03.13.54.11; author mjf; state Exp; branches; next 1.348.8.3; 1.348.8.3 date 2008.06.02.13.21.19; author mjf; state Exp; branches; next 1.348.8.4; 1.348.8.4 date 2008.10.05.20.11.18; author mjf; state Exp; branches; next 1.348.8.5; 1.348.8.5 date 2009.01.17.20.43.41; author mjf; state Exp; branches; next ; 1.345.4.1 date 2008.01.09.01.29.49; author matt; state Exp; branches; next 1.345.4.2; 1.345.4.2 date 2008.03.23.00.23.48; author matt; state Exp; branches; next ; 1.337.2.1 date 2007.03.09.06.59.41; author riz; state Exp; branches; next 1.337.2.2; 1.337.2.2 date 2007.04.06.18.47.19; author bouyer; state Exp; branches 1.337.2.2.2.1; next 1.337.2.3; 1.337.2.3 date 2008.02.01.14.45.14; author riz; state Exp; branches; next 1.337.2.4; 1.337.2.4 date 2008.02.02.03.37.16; author riz; state Exp; branches; next ; 1.337.2.2.2.1 date 2008.06.03.20.47.00; author skrll; state Exp; branches; next ; 1.334.2.1 date 2006.08.25.12.31.11; author tron; state Exp; branches; next ; 1.306.2.1 date 2005.04.06.21.15.11; author tron; state Exp; branches; next 1.306.2.2; 1.306.2.2 date 2005.04.06.22.16.02; author tron; state Exp; branches; next 1.306.2.3; 1.306.2.3 date 2005.04.06.22.20.04; author tron; state Exp; branches; next 1.306.2.4; 1.306.2.4 date 2005.04.06.22.21.00; author tron; state Exp; branches; next 1.306.2.5; 1.306.2.5 date 2005.04.06.22.24.00; author tron; state Exp; branches; next 1.306.2.6; 1.306.2.6 date 2005.04.20.11.14.59; author tron; state Exp; branches; next 1.306.2.7; 1.306.2.7 date 2005.09.04.19.57.50; author tron; state Exp; branches; next 1.306.2.8; 1.306.2.8 date 2005.10.07.11.56.16; author tron; state Exp; branches; next 1.306.2.9; 1.306.2.9 date 2006.08.06.11.50.27; author tron; state Exp; branches; next 1.306.2.10; 1.306.2.10 date 2006.08.25.11.28.54; author ghen; state Exp; branches; next 1.306.2.11; 1.306.2.11 date 2007.06.06.15.41.02; author liamjfoy; state Exp; branches; next ; 1.284.2.1 date 2004.07.28.21.35.29; author jmc; state Exp; branches 1.284.2.1.2.1; next ; 1.284.2.1.2.1 date 2005.05.05.19.21.44; author riz; state Exp; branches; next 1.284.2.1.2.2; 1.284.2.1.2.2 date 2007.04.05.20.48.36; author bouyer; state Exp; branches; next ; 1.219.2.1 date 2002.05.30.14.03.58; author tv; state Exp; branches; next 1.219.2.2; 1.219.2.2 date 2002.05.30.23.59.12; author tv; state Exp; branches; next 1.219.2.3; 1.219.2.3 date 2002.06.11.16.15.57; author lukem; state Exp; branches; next 1.219.2.4; 1.219.2.4 date 2002.11.24.15.47.37; author tron; state Exp; branches; next ; 1.154.2.1 date 2000.06.20.06.00.28; author lukem; state dead; branches; next 1.154.2.2; 1.154.2.2 date 2000.08.23.11.58.13; author lukem; state Exp; branches; next 1.154.2.3; 1.154.2.3 date 2000.10.01.21.53.31; author hubertf; state Exp; branches; next 1.154.2.4; 1.154.2.4 date 2000.10.01.22.32.15; author thorpej; state Exp; branches; next 1.154.2.5; 1.154.2.5 date 2000.10.02.03.06.38; author lukem; state Exp; branches; next 1.154.2.6; 1.154.2.6 date 2000.10.16.21.25.51; author tv; state Exp; branches; next 1.154.2.7; 1.154.2.7 date 2000.10.20.17.01.14; author tv; state Exp; branches; next 1.154.2.8; 1.154.2.8 date 2000.10.21.18.12.35; author tv; state Exp; branches; next 1.154.2.9; 1.154.2.9 date 2000.10.24.04.20.01; author tv; state Exp; branches; next ; 1.150.2.1 date 2000.06.23.15.45.55; author minoura; state Exp; branches; next ; 1.128.2.1 date 99.11.05.11.31.40; author mycroft; state dead; branches; next 1.128.2.2; 1.128.2.2 date 99.11.05.11.31.41; author mycroft; state Exp; branches; next ; 1.125.2.1 date 99.12.27.18.28.49; author wrstuden; state Exp; branches; next ; 1.112.2.1 date 99.04.04.09.28.35; author fair; state Exp; branches; next 1.112.2.2; 1.112.2.2 date 99.04.04.10.27.38; author fair; state Exp; branches; next 1.112.2.3; 1.112.2.3 date 99.04.08.08.28.08; author fair; state Exp; branches; next 1.112.2.4; 1.112.2.4 date 99.04.10.04.43.50; author fair; state Exp; branches; next 1.112.2.5; 1.112.2.5 date 99.06.21.03.44.00; author perry; state Exp; branches; next 1.112.2.6; 1.112.2.6 date 99.11.27.16.16.31; author he; state Exp; branches; next 1.112.2.7; 1.112.2.7 date 2000.07.09.21.34.13; author he; state Exp; branches; next 1.112.2.8; 1.112.2.8 date 2000.10.25.16.59.09; author he; state Exp; branches; next ; 1.78.2.1 date 97.10.23.22.42.40; author chuck; state Exp; branches; next 1.78.2.2; 1.78.2.2 date 97.11.12.01.47.38; author mellon; state Exp; branches; next 1.78.2.3; 1.78.2.3 date 97.11.20.09.00.28; author mrg; state Exp; branches; next 1.78.2.4; 1.78.2.4 date 97.11.24.02.04.06; author perry; state Exp; branches; next 1.78.2.5; 1.78.2.5 date 97.12.15.06.11.25; author mellon; state Exp; branches; next 1.78.2.6; 1.78.2.6 date 98.07.20.15.22.21; author mellon; state Exp; branches; next ; 1.70.2.1 date 97.06.17.19.43.06; author cjs; state Exp; branches; next 1.70.2.2; 1.70.2.2 date 97.09.18.21.47.16; author cjs; state Exp; branches; next 1.70.2.3; 1.70.2.3 date 97.09.18.22.04.48; author cjs; state Exp; branches; next 1.70.2.4; 1.70.2.4 date 97.09.22.00.12.03; author cjs; state Exp; branches; next ; 1.51.4.1 date 96.06.05.21.57.30; author cgd; state Exp; branches; next ; 1.49.2.1 date 95.11.01.14.00.44; author pk; state Exp; branches; next ; 1.1.1.1 date 93.03.21.09.45.37; author cgd; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 97.02.15.05.27.37; author mikel; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 97.02.25.07.12.22; author mikel; state Exp; branches; next ; desc @@ 1.469 log @Add missing backslash (Jan-Benedict Glaw) @ text @# $NetBSD: Makefile,v 1.468 2023/11/08 13:02:03 christos Exp $ # from: @@(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: # DESTDIR must be set before anything in this file will work. # RELEASEDIR is where the tarred up stuff for a snapshot or # release will be placed. # # Environment variables with default values: # LOCALTIME will set the default local time for the system you # build; it determines what /etc/localtime is symlink'd to. # KERNSRCDIR points to kernel source; it is set by default to ../sys, # but can be overridden. # KERNOBJDIR is the kernel build directory, it defaults to # ${KERNSRCDIR}/arch/${MACHINE}/compile, but can be overridden. # KERNCONFDIR is where the configuration files for kernels are found; # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden. # MKPOSTFIX; if not `no', install postfix configuration # MKUNPRIVED; if not `no', allow non-root installs. # MKUPDATE; if not `no', don't do a 'make clean' before kernel compile # # Targets: # distribution: makes a full NetBSD distribution in DESTDIR. If # INSTALL_DONE is set, it will not do a `make install.' # if DISTRIBUTION_DONE is set, it will not do anything. # distrib-dirs: creates an empty NetBSD directory tree in DESTDIR. # Called by distribution. # snapshot: calls distribution, above, and then tars up the files # into a release(7) format in RELEASEDIR/${RELEASEMACHINEDIR}. # Any port-dependent stuff for this target is found in # etc.${MACHINE}/Makefile.inc. # release: a synonym for `snapshot' # # For MK* vars .include .include # For KERNSRCDIR, KERNOBJDIR, ... .include # For TARGET_ENDIANNESS .MAKEOVERRIDES+= USETOOLS TZDIR= /usr/share/zoneinfo LOCALTIME?= UTC CKSUM?= ${TOOL_CKSUM} MAKESUMS= MAKE=${MAKE:Q} CKSUM=${CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh GZIP_FLAGS= -9 ${GZIP_N_FLAG} # Flags for creating ISO CDROM image # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrtools # Note: At least mkisofs 2.0 should be used. # .if !defined(MKISOFS) MKISOFS!= (which mkisofs || echo true) 2>/dev/null .endif DISTRIBREV!= ${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh -s # ISO 9660 volume ID. Note that this can only contain [A-Z0-9_]. ISO_VOLID!= echo NETBSD_${DISTRIBREV} | tr a-z A-Z MKISOFS_FLAGS+= -J -l -hide-joliet-trans-tbl -r -T \ -V ${ISO_VOLID} \ -publisher "The NetBSD Project" \ -m "${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom" .if ${MKISOFS_FLAGS:N-v} MKISOFS_FLAGS+= -quiet .endif # Reproducible build parameters .if ${MKREPRO:Uno} == "no" BUILDER!= echo $${USER-root}@@$$(hostname) .else BUILDER= builder@@localhost.NetBSD.org .endif .if ${MKREPRO_TIMESTAMP:Uno} == "no" PAX_TIMESTAMP= BUILD_DATE!= date -u .else PAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}" BUILD_DATE!= ${TOOL_DATE} -u -r "${MKREPRO_TIMESTAMP}" .endif # MD Makefile.inc may append MD targets to BIN[123]. Make sure all # are empty, to preserve the old semantics of setting them below with "+=". # BIN1= BIN2= BIN3= # Directories to build in ${RELEASEDIR}/${RELEASEMACHINEDIR}. # MD Makefile.inc files can add to this. # NOTE: Parent directories must be listed before subdirectories. # INSTALLATION_DIRS= binary binary/sets binary/kernel installation .if exists(etc.${RELEASEMACHINE}/Makefile.inc) .include "etc.${RELEASEMACHINE}/Makefile.inc" .endif # -rw-r--r-- BINOWN= root BINGRP= wheel UTMPGRP= utmp BIN1+= auto_master bootptab changelist csh.cshrc csh.login \ csh.logout daily daily.conf dm.conf envsys.conf floppytab ftpchroot \ ftpusers gettytab gpio.conf group hosts hosts.lpd inetd.conf \ locate.conf login.conf mailer.conf man.conf monthly monthly.conf \ mrouted.conf named.conf netconfig networks newsyslog.conf \ nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \ profile protocols rbootd.conf rc rc.conf rc.local rc.subr \ rc.shutdown remote rpc security security.conf services shells \ shrc sysctl.conf syslog.conf weekly weekly.conf wscons.conf # Use machine-specific disktab if it exists, or the MI one otherwise .if exists(etc.${MACHINE}/disktab) BIN1+= etc.${MACHINE}/disktab .else BIN1+= disktab .endif .if exists(etc.${MACHINE}/ld.so.conf) && \ empty(MACHINE_ARCH:M*arm*hf*) && empty(MACHINE_ARCH:Maarch64*) && \ ${MACHINE_ARCH} != "powerpc64" BIN1+= etc.${MACHINE}/ld.so.conf .endif .if exists(etc.${MACHINE}/ttyaction) BIN1+= etc.${MACHINE}/ttyaction .endif # -rw-rw-r-- BIN2+= motd FILESBUILD_motd= YES # -rw------- BIN3+= hosts.equiv wpa_supplicant.conf SYSPKG= etc ETC_PKG=-T etc_pkg BASE_PKG=-T base_pkg ETC_INSTALL_FILE=cd ${.CURDIR} && ${INSTALL_FILE} ${ETC_PKG} ETC_INSTALL_OBJ_FILE=cd ${.OBJDIR} && ${INSTALL_FILE} ${ETC_PKG} .if ${TARGET_ENDIANNESS} == "1234" PWD_MKDB_ENDIAN= -L .elif ${TARGET_ENDIANNESS} == "4321" PWD_MKDB_ENDIAN= -B .else PWD_MKDB_ENDIAN= .endif # distribution -- # Build a distribution # distribution: .PHONY .MAKE check_DESTDIR distrib-dirs .if !defined(DISTRIBUTION_DONE) .if !defined(INSTALL_DONE) ${MAKEDIRTARGET} ${NETBSDSRCDIR} include _DISTRIB= ${MAKEDIRTARGET} ${NETBSDSRCDIR} install _DISTRIB= .endif # !INSTALL_DONE ${MAKEDIRTARGET} . install-debugkernels ${MAKEDIRTARGET} . install-etc-files . if ${MKX11} != "no" ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/mit/xorg distribution . endif ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets makesetfiles .endif # !DISTRIBUTION_DONE # motd is copied from a different ${MOTD_SOURCE} depending on DISTRIBVER # .if !empty(DISTRIBVER:M*.99.*) MOTD_SOURCE= motd.current .elif !empty(DISTRIBVER:M*BETA*) MOTD_SOURCE= motd.beta .elif !empty(DISTRIBVER:M*RC*) MOTD_SOURCE= motd.rc .else MOTD_SOURCE= motd.default .endif CLEANFILES+= motd motd: ${.CURDIR}/${MOTD_SOURCE} ${_NETBSD_VERSION_DEPENDS} ${_MKTARGET_CREATE} ${HOST_INSTALL_FILE} ${.CURDIR}/${MOTD_SOURCE} ${.TARGET} CLEANFILES+= MAKEDEV MAKEDEV_MACHINE=${"${MACHINE_CPU}" == "aarch64":?${MACHINE_CPU}:${MACHINE}} MAKEDEV: ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ ${.CURDIR}/etc.${MAKEDEV_MACHINE}/MAKEDEV.conf ${_MKTARGET_CREATE} MACHINE=${MAKEDEV_MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ NETBSDSRCDIR=${NETBSDSRCDIR:Q} \ ${TOOL_AWK} -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ > ${.TARGET} .include "${NETBSDSRCDIR}/etc/Makefile.params" CLEANFILES+= etc-release etc-release: .EXEC .MAKE ${_MKTARGET_CREATE} @@( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \ echo ; \ cat ${NETBSDSRCDIR}/sys/conf/copyright; \ echo ; \ echo "Build information:"; \ printf "%20s %s\n" "Build date" "${BUILD_DATE}"; \ printf "%20s %s\n" "Built by" "${BUILDER}"; \ if [ -n "${BUILDID}" ]; then \ printf "%20s %s\n" "Build ID" "${BUILDID}" ; \ fi ; \ if [ -n "${BUILDINFO}" ]; then \ echo ; \ info="$$(printf "%b" ${BUILDINFO:Q})" ; \ printf "%s\n" "$${info}" \ | ${TOOL_SED} -e 's/^/ /' ; \ fi ; \ echo ; \ echo "Build settings:"; \ echo ; \ ${PRINT_PARAMS} ; \ ) >${.OBJDIR}/${.TARGET} install-etc-release: .PHONY etc-release ${_MKMSG_INSTALL} etc/release ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 444 \ etc-release ${DESTDIR}/etc/release FILESDIR= /etc CONFIGFILES= CONFIGSYMLINKS= .for file in ${BIN1} CONFIGFILES+= ${file} FILESMODE_${file:T}= 644 .endfor .for file in ${BIN2} CONFIGFILES+= ${file} FILESMODE_${file:T}= 664 .endfor .for file in ${BIN3} CONFIGFILES+= ${file} FILESMODE_${file:T}= 600 .endfor .if (${MKPOSTFIX} != "no") CONFIGFILES+= aliases FILESDIR_aliases= /etc/mail FILESMODE_aliases= 644 .endif CONFIGFILES+= MAKEDEV.local FILESDIR_MAKEDEV.local= /dev FILESMODE_MAKEDEV.local=${BINMODE} CONFIGFILES+= crontab FILESDIR_crontab= /var/cron/tabs FILESNAME_crontab= root FILESMODE_crontab= 600 CONFIGFILES+= minfree FILESDIR_minfree= /var/crash FILESMODE_minfree= 600 CONFIGSYMLINKS+= ${TZDIR}/${LOCALTIME} /etc/localtime \ /usr/sbin/rmt /etc/rmt # install-etc-files -- # Install etc (config) files; not performed by "make build" # install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV ${_MKMSG_INSTALL} ${DESTDIR}/etc/master.passwd ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ master.passwd ${DESTDIR}/etc ${TOOL_PWD_MKDB} -p ${PWD_MKDB_ENDIAN} -d ${DESTDIR}/ \ ${DESTDIR}/etc/master.passwd .if ${MKUNPRIVED} != "no" ( \ mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ done; \ ) | ${METALOG.add} .endif # MKUNPRIVED != no ${_MKMSG_INSTALL} ${DESTDIR}/etc/ttys .if exists(${.CURDIR}/etc.${MACHINE}/ttys) ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE}/ttys ${DESTDIR}/etc .else ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE_CPU}/ttys ${DESTDIR}/etc .endif .if exists(etc.${MACHINE}/boot.cfg) ${_MKMSG_INSTALL} ${DESTDIR}/boot.cfg ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE}/boot.cfg ${DESTDIR}/ .endif ${_MKMSG_INSTALL} ${DESTDIR}/dev/MAKEDEV ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV ${DESTDIR}/dev .for owner group mode file in \ ${BINOWN} operator 664 /etc/dumpdates \ ${BINOWN} operator 600 /etc/skeykeys \ root wheel 600 /var/at/at.deny \ root wheel 644 /var/db/locate.database \ ${BINOWN} ${BINGRP} 600 /var/log/authlog \ root wheel 600 /var/log/cron \ ${BINOWN} ${UTMPGRP} 664 /var/log/lastlog \ ${BINOWN} ${UTMPGRP} 664 /var/log/lastlogx \ ${BINOWN} ${BINGRP} 640 /var/log/lpd-errs \ ${BINOWN} ${BINGRP} 600 /var/log/maillog \ ${BINOWN} ${BINGRP} 644 /var/log/messages \ ${BINOWN} ${BINGRP} 600 /var/log/secure \ ${BINOWN} ${UTMPGRP} 664 /var/log/wtmp \ ${BINOWN} ${UTMPGRP} 664 /var/log/wtmpx \ ${BINOWN} ${BINGRP} 600 /var/log/xferlog \ daemon staff 664 /var/msgs/bounds \ ${BINOWN} ${UTMPGRP} 664 /var/run/utmp \ ${BINOWN} ${UTMPGRP} 664 /var/run/utmpx \ games games 664 /var/games/atc_score \ games games 664 /var/games/battlestar.log \ games games 664 /var/games/cfscores \ games games 664 /var/games/criblog \ games games 660 /var/games/hackdir/perm \ games games 660 /var/games/hackdir/record \ games games 664 /var/games/larn/llog12.0 \ games games 664 /var/games/larn/lscore12.0 \ games games 664 /var/games/larn/playerids \ games games 664 /var/games/robots_roll \ games games 664 /var/games/rogue.scores \ games games 664 /var/games/saillog \ games games 664 /var/games/snakerawscores \ games games 664 /var/games/snake.log \ games games 664 /var/games/tetris.scores ${_MKMSG_INSTALL} ${DESTDIR}${file} if [ ! -e ${DESTDIR}${file} -o -s ${DESTDIR}${file} ]; then \ ${ETC_INSTALL_FILE} -o ${owner} -g ${group} -m ${mode} \ /dev/null ${DESTDIR}${file}; \ else true; fi .endfor .for subdir in . defaults autofs bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh ${MAKEDIRTARGET} ${subdir} configinstall .endfor ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/dhcpcd/sbin/dhcpcd configinstall ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/mail configinstall ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.sbin/certctl configinstall .if (${MKPF} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.sbin/pf configinstall .endif ${MAKEDIRTARGET} ${NETBSDSRCDIR}/crypto/external/bsd/openssh/bin configinstall .if (${MKPOSTFIX} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/ibm-public/postfix configinstall .endif .if (${MKATF} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/atf/etc/atf configinstall .endif .if (${MKKYUA} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/kyua-cli/etc/kyua configinstall .endif # install-obsolete-lists -- # Install var/db/obsolete set lists; this is performed by "make build" # OBSOLETE.dir= ${.OBJDIR}/obsolete.dir OBSOLETE.files= base comp etc games gpufw man misc rescue text .if ${MKDEBUG} != "no" OBSOLETE.files+= debug .endif .if ${MKDTB} != "no" OBSOLETE.files+= dtb .endif .if ${MKKMOD} != "no" OBSOLETE.files+= modules .endif .if ${MKATF} != "no" OBSOLETE.files+= tests .endif .if ${MKX11} != "no" OBSOLETE.files+= xbase xcomp xetc xfont xserver .if ${MKDEBUG} != "no" OBSOLETE.files+= xdebug .endif .endif # XXX make "makeobsolete" set wise; then generate files respectively install-obsolete-lists: .PHONY .MAKE mkdir -p ${OBSOLETE.dir} .if ${MKX11} != "no" (cd ${NETBSDSRCDIR}/distrib/sets && \ AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) .else (cd ${NETBSDSRCDIR}/distrib/sets && \ AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) .endif .for file in ${OBSOLETE.files} ${_MKMSG_INSTALL} ${DESTDIR}/var/db/obsolete/${file} if [ ! -e ${DESTDIR}/var/db/obsolete/${file} ] || \ ! cmp -s ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete/${file}; then \ ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete; \ else true; fi .endfor # distrib-dirs -- # Populate $DESTDIR with directories needed by NetBSD # distrib-dirs: .PHONY check_DESTDIR cd ${NETBSDSRCDIR}/etc/mtree && ${MAKE} distrib-dirs COMPRESS_PROGRAM=${"${USE_XZ_SETS:Uno}"!="no":?${TOOL_XZ}:${TOOL_GZIP}} XZ_OPT=-9 TAR_SUFF=${"${USE_XZ_SETS:Uno}"!="no":?tar.xz:tgz} # release, snapshot -- # Build a full distribution including kernels & install media. # release snapshot: .PHONY .MAKE check_DESTDIR check_RELEASEDIR snap_md_post ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets sets ${MAKESUMS} -A -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets \ ${KERNEL_SETS:@@.SETS.@@kern-${.SETS.}.${TAR_SUFF}@@} ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel '*.gz' # iso-image -- # Standalone target to create a CDROM image after the release # was composed. Should be run after "make release" in src and xsrc. # The do-iso-image is to be called from etc.$MACHINE/Makefile.inc # # Note: At least mkisofs 2.0 should be used. # CDROM_NAME_ADD?= CDROM_IMAGE?=${RELEASEDIR}/images/NetBSD-${DISTRIBVER}-${MACHINE}.iso CDROM.dir= ${.OBJDIR}/cdrom.dir CDROM.pathlist= ${.OBJDIR}/cdrom.pathlist iso-image: .if ${MKISOFS} != true do-iso-image: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-post ${MAKESUMS} -t ${RELEASEDIR}/images/ '*.iso' @@echo "iso-image created as: ${CDROM_IMAGE}" .else do-iso-image: @@echo iso-image: mkisofs not found .endif iso-image-setup: .PHONY check_RELEASEDIR rm -f ${CDROM.pathlist} .for extra in README SOURCE_DATE source .if exists(${RELEASEDIR}/${extra}) echo "${extra}=${RELEASEDIR}/${extra}" >> ${CDROM.pathlist} .endif .endfor echo "${MACHINE}/=${RELEASEDIR}/${RELEASEMACHINEDIR}/" >> ${CDROM.pathlist} mkdir -p ${CDROM.dir} check_imagedir: mkdir -p ${RELEASEDIR}/images # iso-image-mi -- # Create the image after the MD operations have completed. # iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-pre check_imagedir @@if ! ${MKISOFS} --version; then \ echo "install pkgsrc/sysutils/cdrtools and run 'make iso-image'." ; \ false; \ fi ${MKISOFS} ${MKISOFS_FLAGS} -graft-points -path-list ${CDROM.pathlist} \ -o ${CDROM_IMAGE} ${CDROM.dir} # iso-image-md-pre -- # Setup ${CDROM.dir} to produce a bootable CD image. # Overridden by etc.$MACHINE/Makefile.inc # iso-image-md-pre: .PHONY check_DESTDIR check_RELEASEDIR iso-image-setup # (empty -- look in the machine-dependent Makefile.inc) # iso-image-md-post -- # Fixup the CD-image to be bootable. # Overridden by etc.$MACHINE/Makefile.inc # iso-image-md-post: .PHONY check_DESTDIR check_RELEASEDIR iso-image-mi # (empty -- look in the machine-dependent Makefile.inc) # live-image -- # Standalone target to create live images after the release was composed. # Should be run after "make release" in src and xsrc. # LIVEIMG_RELEASEDIR specifies where to install live images and # it can be set in MD etc.${MACHINE}/Makefile.inc. # LIVEIMG_RELEASEDIR?= ${RELEASEDIR}/images live-image: .PHONY check_DESTDIR check_RELEASEDIR ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib live_image \ LIVEIMG_RELEASEDIR=${LIVEIMG_RELEASEDIR} ${MAKESUMS} -t ${LIVEIMG_RELEASEDIR} '*.img.gz' # install-image -- # Standalone target to create installation images # after the release was composed. # Should be run after "make release" in src and xsrc. # INSTIMG_RELEASEDIR specifies where to install live images and # it can be set in MD etc.${MACHINE}/Makefile.inc. # INSTIMG_RELEASEDIR?= ${RELEASEDIR}/images install-image: .PHONY check_DESTDIR check_RELEASEDIR ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib install_image \ INSTIMG_RELEASEDIR=${INSTIMG_RELEASEDIR} ${MAKESUMS} -t ${INSTIMG_RELEASEDIR} '*.img.gz' # snap_pre -- # Create ${RELEASEDIR} and necessary subdirectories. # snap_pre: .PHONY check_DESTDIR check_RELEASEDIR distribution ${INSTALL} -d -m 755 ${RELEASEDIR} .if ${MKUPDATE} == "no" # Could be a mount point, ignore the errors -/bin/rm -rf ${RELEASEDIR}/${RELEASEMACHINEDIR} .endif ${INSTALL} -d -m 755 ${RELEASEDIR}/${RELEASEMACHINEDIR} .for dir in ${INSTALLATION_DIRS} ${INSTALL} -d -m 755 ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} .endfor # snap_post -- # Build the install media and notes from distrib # snap_post: .PHONY .MAKE build_kernelsets build_releasekernels .if ${MKUPDATE} == "no" cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir .endif cd ${NETBSDSRCDIR}/distrib && ${MAKE} depend && ${MAKE} && \ ${MAKE} release # build kernels -- # This target builds the kernels specified by each port. # A port may specify the following kernels: # # KERNEL_SETS The list of kernels that will be # packaged into sets, named # kern-${kernel}.tgz (or .tar.xz). # These kernels are also placed in the # binary/kernel area of the release package # as netbsd-${kernel}.gz. # # EXTRA_KERNELS Additional kernels to place in the # binary/kernel area of the release # package as netbsd-${kernel}.gz, but # which are not placed into sets. This # allows a port to provide e.g. a netbootable # installation kernel containing a ramdisk. # # BUILD_KERNELS Additional kernels to build which are # not placed into sets nor into the # binary/kernel area of the release # package. These are typically kernels # that are built for inclusion only in # installation disk/CD-ROM/tape images. # # A port may also specify KERNEL_SUFFIXES, which is an optional list # of filename suffixes for kernels to include in the kernel sets and # in the binary/kernel area of the release package (e.g. "netbsd" vs. # "netbsd.ecoff" and "netbsd.srec"). It is not an error if kernels # with these suffixes do not exist in the kernel build directory. # # # A list of all the kernels to build, which can be overridden from # external sources (such as make(1)'s environment or command line) # ALL_KERNELS?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS} .export ALL_KERNELS GETKERNELAWK= ${TOOL_AWK} '/^config/ {print $$2; found=1} \ END{ if (found == 0) print "netbsd"; }' build_kernels: .PHONY # Configure & compile kernels listed in ${ALL_KERNELS} # .if !defined(KERNELS_DONE) # { .for configfile in ${ALL_KERNELS:O:u} # { build_kernels: kern-${configfile} kern-${configfile}: .PHONY .MAKE umask 022 && \ cd ${KERNCONFDIR} && ${TOOL_CONFIG} ${CONFIGOPTS} -s ${KERNSRCDIR} \ ${MKDEBUGKERNEL == "yes" :? -DDEBUG=-g :} \ -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} .if ${MKUPDATE} == "no" ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} distclean .endif ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} depend && \ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} && \ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} debuginstall .endfor # ALL_KERNELS # } .endif # KERNELS_DONE # } build_kernelsets: .PHONY # Create kernel sets from ${KERNEL_SETS} into # ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets # .for configfile in ${KERNEL_SETS:O:u} # { .for configsel in ${ALL_KERNELS:O:u} .if ${configfile} == ${configsel} build_kernelsets: kernset-${configfile} kernset-${configfile}: .PHONY build_kernels snap_pre @@kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile}); \ kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \ kernsuffixes="${KERNEL_SUFFIXES:S/^/./}"; \ kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.${TAR_SUFF}; \ pax_cmd="GZIP=${GZIP_FLAGS:Q} XZ_OPT=${XZ_OPT:Q} ${TOOL_PAX} ${PAX_TIMESTAMP} --use-compress-program ${COMPRESS_PROGRAM:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ umask 022 && \ cd $${kerndir} && { \ kernels=; newest=; \ for kernel in $${kernlist}; do \ for s in "" $${kernsuffixes}; do \ ks="$${kernel}$${s}"; \ [ -f $${ks} ] || continue; \ kernels="$${kernels} $${ks}"; \ [ -z "$${newest}" -o $${ks} \ -nt "$${newest}" ] && newest=$${ks}; \ [ ${MKDEBUGKERNEL} = "no" -o \ ! -f $${ks}.gdb ] && continue; \ kernels="$${kernels} $${ks}.gdb"; \ done; \ done; \ [ $${kern_tgz} -nt "$${newest}" ] || { \ echo "echo $${kernels} | $${pax_cmd}"; \ if [ ${KERNEL_DIR} = "yes" ]; then \ tmpdir=kernel$$; \ trap "rm -fr $${tmpdir}" 0 1 2 3 15; \ mkdir -p $${tmpdir}/netbsd; \ d=./netbsd; \ cd $${tmpdir}; \ else \ d=.; \ fi; \ ( echo "/set uname=${BINOWN} gname=${BINGRP}"; \ echo ". type=dir optional"; \ if [ ${KERNEL_DIR} = "yes" ]; then \ echo "./netbsd type=dir optional"; \ fi; \ for kernel in $${kernels}; do \ if [ ${KERNEL_DIR} = "yes" ]; then \ newname=$$(echo $${kernel} | \ ${TOOL_SED} -e s/netbsd/kernel/); \ ln ../$${kernel} ./netbsd/$${newname}; \ else \ newname=$${kernel}; \ fi; \ echo "$${d}/$${newname} type=file"; \ done ) | eval $${pax_cmd}; \ if [ ${KERNEL_DIR} = "yes" ]; then \ mv $${kern_tgz} ..; \ fi; \ } \ } .endif .endfor .endfor # KERNEL_SETS # } build_releasekernels: .PHONY # Build kernel.gz from ${KERNEL_SETS} ${EXTRA_KERNELS} into # ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel # .for configfile in ${KERNEL_SETS:O:u} ${EXTRA_KERNELS:O:u} # { .for configsel in ${ALL_KERNELS:O:u} .if ${configfile} == ${configsel} build_releasekernels: releasekern-${configfile} releasekern-${configfile}: .PHONY build_kernels snap_pre @@kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}); \ kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \ kernsuffixes="${KERNEL_SUFFIXES:S/^/./}"; \ dest="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel"; \ umask 022 && \ cd $${kerndir} && { \ for kernel in $${kernlist}; do \ for s in "" $${kernsuffixes}; do \ ks="$${kernel}$${s}"; \ [ ! -f $${ks} ] && continue; \ knl_gz="$${dest}/$${kernel}-${configfile:C/.*\///}$${s}.gz"; \ [ $${knl_gz} -nt $${ks} ] && continue; \ rm -f $${knl_gz}; \ echo "${TOOL_GZIP} ${GZIP_FLAGS} -c < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} ${GZIP_FLAGS} -c < $${ks} > $${knl_gz}; \ done; \ done; \ } .endif .endfor .endfor # KERNEL_SETS EXTRA_KERNELS # } # install-debugkernels: # Create fake kernel debug files to satisfy the sets requirements # They will be later replaced with the real ones if we are building # kernels. This mess is needed because checkflist runs before the # kernels are built. It should really run before the sets are build. install-debugkernels: .if ${MKDEBUG:Uno} == "yes" @@for i in $$(${NETBSDSRCDIR}/distrib/sets/makeflist debug | \ ${TOOL_GREP} -E '^./usr/libdata/debug/(nfs)?netbsd-'); do \ echo touch ${DESTDIR}/$$i; \ touch ${DESTDIR}/$$i; \ done . for k in ${ALL_KERNELS} install-debugkernels: ${DESTDIR}${DEBUGDIR}/netbsd-${k}.debug ${DESTDIR}${DEBUGDIR}/netbsd-${k}.debug: ${_MKTARGET_INSTALL} touch ${.TARGET} . endfor .endif # snap_md_post -- # Machine dependent distribution media operations. # Overridden by etc.$MACHINE/Makefile.inc # snap_md_post: .PHONY check_DESTDIR check_RELEASEDIR snap_post # (empty -- look in the machine-dependent Makefile.inc) clean: -rm -rf ${CDROM.dir} ${CDROM.pathlist} ${OBSOLETE.dir} SUBDIR= defaults rc.d mtree .include .include test: @@echo ${OBSOLETE.files} @ 1.468 log @add umask for kernel creation consistency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.467 2023/08/26 05:27:14 riastradh Exp $ d592 1 a592 1 umask 022 d619 1 a619 1 umask 022; d682 1 a682 1 umask 022; \ @ 1.467 log @certctl(8): New tool for managing OpenSSL CA certificates. Same command-line syntax as FreeBSD, clearer semantics about which parts are config and which parts are cache. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.466 2022/08/21 07:10:03 lukem Exp $ d592 1 d619 1 d682 1 @ 1.466 log @Deprecate extsrc/, EXTSRCSRCDIR, MKEXTSRC Remove support for building extsrc/: 1. Makefile: remove do-extsrc target. 2. build.sh: remove options -y and -Y extsrcdir. 3. distrib/sets: remove support for extsrc in various tools including the options -L ext and -y, and the extsrc sets. 4. doc/BUILDING.mdoc: remove docs for extsrc/, EXTSRCSRCDIR, MKEXTSRC (etc) 5. bsd.own.mk and various Makefiles: remove support for extsrc/, EXTSRCSRCDIR, MKEXTSRC. As proposed on tech-kern and tech-userlevel on 2022-01-07 and followed up on 2022-08-21. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.465 2022/06/06 10:56:28 nia Exp $ d351 1 @ 1.466.2.1 log @Pull up following revision(s) (requested by riastradh in ticket #343): external/mpl/mozilla-certdata/dist/certdata.txt: revision 1.1.1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Assured_ID_Root_G3.pem: revision 1.1 distrib/sets/lists/man/mi: revision 1.1764 external/mpl/mozilla-certdata/share/certs/ACCVRAIZ1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TUBITAK_Kamu_SM_SSL_Kok_Sertifikasi_-_Surum_1.pem: revision 1.1 tests/usr.sbin/certctl/certs4/DigiCert_Global_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Sectigo_Public_Server_Authentication_Root_R46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Secure_Mail_Root_E45.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_Root_Certification_Authority_ECC.pem: revision 1.1 tests/usr.sbin/certctl/certs3/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.1.pem: revision 1.1 tests/usr.sbin/certctl/certs2/GTS_Root_R1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/BJCA_Global_Root_CA1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Izenpe.com.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Amazon_Root_CA_2.pem: revision 1.1 tests/usr.sbin/certctl/certs4/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/Global_Chambersign_Root_-_2008.pem: revision 1.1 distrib/sets/lists/etc/mi: revision 1.272 external/mpl/mozilla-certdata/share/certs/ISRG_Root_X1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TunTrust_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/D-TRUST_BR_Root_CA_1_2020.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_Root_Certification_Authority_RSA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certum_EC-384_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Security_Communication_RootCA3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/IdenTrust_Public_Sector_Root_CA_1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Entrust_Root_Certification_Authority_-_EC1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Global_Root_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SZAFIR_ROOT_CA2.pem: revision 1.1 tests/usr.sbin/certctl/t_certctl.sh: revision 1.1 external/mpl/mozilla-certdata/share/certs/UCA_Global_G2_Root.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/HARICA_Client_ECC_Root_CA_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/COMODO_ECC_Certification_Authority.pem: revision 1.1 tests/usr.sbin/certctl/t_certctl.sh: revision 1.2 tests/usr.sbin/certctl/certs1/DigiCert_Global_Root_CA.pem: revision 1.1 tests/usr.sbin/certctl/t_certctl.sh: revision 1.3 external/mpl/mozilla-certdata/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/DIGITALSIGN_GLOBAL_ROOT_RSA_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GTS_Root_R2.pem: revision 1.1 usr.sbin/certctl/certctl.sh: revision 1.1 tests/usr.sbin/certctl/t_certctl.sh: revision 1.4 external/mpl/mozilla-certdata/share/certs/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SwissSign_Silver_CA_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Starfield_Class_2_CA.pem: revision 1.1 usr.sbin/certctl/certctl.sh: revision 1.2 tests/usr.sbin/certctl/t_certctl.sh: revision 1.5 usr.sbin/certctl/certctl.sh: revision 1.3 tests/usr.sbin/certctl/t_certctl.sh: revision 1.6 usr.sbin/certctl/certctl.sh: revision 1.4 tests/usr.sbin/certctl/t_certctl.sh: revision 1.7 external/mpl/mozilla-certdata/share/certs/Hellenic_Academic_and_Research_Institutions_RootCA_2015.pem: revision 1.1 tests/usr.sbin/certctl/t_certctl.sh: revision 1.8 external/mpl/mozilla-certdata/share/certs/Sectigo_Public_Server_Authentication_Root_E46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Hongkong_Post_Root_CA_3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Entrust_Root_Certification_Authority_-_G4.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Security_Communication_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Go_Daddy_Root_Certificate_Authority_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/ANF_Secure_Server_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Chambers_of_Commerce_Root_-_2008.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Go_Daddy_Class_2_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/USERTrust_RSA_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Trustwave_Global_ECC_P384_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certdata.awk: revision 1.1 external/mpl/mozilla-certdata/share/certs/HARICA_TLS_ECC_Root_CA_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Atos_TrustedRoot_Root_CA_ECC_G2_2020.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Sectigo_Public_Email_Protection_Root_R46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TrustCor_ECA-1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_ECC_Root_CA_-_R5.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_TLS_ECC_Root_CA_2022.pem: revision 1.1 usr.sbin/Makefile: revision 1.292 external/mpl/mozilla-certdata/share/certs/AffirmTrust_Premium.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/CA_Disig_Root_R2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/emSign_Root_CA_-_C1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Root_CA_-_R6.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Trusted_Root_G4.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Atos_TrustedRoot_Root_CA_RSA_G2_2020.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/vTrus_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/T-TeleSec_GlobalRoot_Class_2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Root_R46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TrustCor_RootCert_CA-2.pem: revision 1.1 etc/mtree/special: revision 1.176 external/mpl/mozilla-certdata/share/certs/USERTrust_ECC_Certification_Authority.pem: revision 1.1 etc/mtree/special: revision 1.177 etc/mtree/special: revision 1.178 external/mpl/mozilla-certdata/share/certs/AffirmTrust_Premium_ECC.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/vTrus_ECC_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_TLS_ECC_P384_Root_G5.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/NAVER_Global_Root_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/server.trust: revision 1.1 external/mpl/mozilla-certdata/share/certs/SecureTrust_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/code.trust: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_TLS_RSA_Root_CA_2022.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Amazon_Root_CA_4.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_TLS_RSA4096_Root_G5.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Assured_ID_Root_G2.pem: revision 1.1 tests/usr.sbin/certctl/certs1/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/Sectigo_Public_Email_Protection_Root_E46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TWCA_Global_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_SMIME_RSA4096_Root_G5.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Hellenic_Academic_and_Research_Institutions_ECC_RootCA_2015.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_Client_ECC_Root_CA_2022.pem: revision 1.1 share/man/man7/hier.7: revision 1.141 external/mpl/mozilla-certdata/share/certs/Certigna.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/certSIGN_Root_CA_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certigna_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Amazon_Root_CA_1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Entrust.net_Premium_2048_Secure_Server_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GTS_Root_R4.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/T-TeleSec_GlobalRoot_Class_3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Telia_Root_CA_v2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/QuoVadis_Root_CA_3_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/emSign_ECC_Root_CA_-_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Security_Communication_RootCA2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TWCA_Root_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Buypass_Class_2_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/emSign_ECC_Root_CA_-_C3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_EV_Root_Certification_Authority_RSA_R2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GTS_Root_R1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_Client_RSA_Root_CA_2022.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Assured_ID_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/HiPKI_Root_CA_-_G1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Starfield_Root_Certificate_Authority_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SwissSign_Gold_CA_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/OISTE_WISeKey_Global_Root_GB_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/AffirmTrust_Networking.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.1.pem: revision 1.1 tests/usr.sbin/certctl/Makefile.inc: revision 1.1 external/mpl/mozilla-certdata/share/certs/COMODO_RSA_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certum_Trusted_Network_CA_2.pem: revision 1.1 tests/usr.sbin/certctl/certs2/GlobalSign_Root_CA_-_R3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/OISTE_WISeKey_Global_Root_GC_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/D-TRUST_Root_Class_3_CA_2_EV_2009.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/AffirmTrust_Commercial.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Buypass_Class_3_Root_CA.pem: revision 1.1 distrib/sets/lists/tests/mi: revision 1.1292 external/mpl/mozilla-certdata/share/certs/UCA_Extended_Validation_Root.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Trustwave_Global_ECC_P256_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certum_Trusted_Network_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/QuoVadis_Root_CA_2.pem: revision 1.1 external/mpl/mozilla-certdata/share/email.trust: revision 1.1 external/mpl/mozilla-certdata/share/certs/Atos_TrustedRoot_2011.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certum_Trusted_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/D-TRUST_EV_Root_CA_1_2020.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/ePKI_Root_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DIGITALSIGN_GLOBAL_ROOT_ECDSA_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_ECC_Root_CA_-_R4.pem: revision 1.1 tests/usr.sbin/certctl/certs2/Makefile: revision 1.1 tests/usr.sbin/Makefile: revision 1.8 external/mpl/mozilla-certdata/share/certs/Trustwave_Global_Certification_Authority.pem: revision 1.1 tests/usr.sbin/certctl/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/IdenTrust_Commercial_Root_CA_1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_SMIME_ECC_P384_Root_G5.pem: revision 1.1 tests/usr.sbin/certctl/certs1/Explicitly_Distrust_DigiNotar_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TrustCor_RootCert_CA-1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Staat_der_Nederlanden_Root_CA_-_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/QuoVadis_Root_CA_3.pem: revision 1.1 external/mpl/mozilla-certdata/share/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/Makefile: revision 1.2 external/mpl/mozilla-certdata/share/certs/Microsec_e-Szigno_Root_CA_2009.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/BJCA_Global_Root_CA2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/HARICA_Client_RSA_Root_CA_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GDCA_TrustAUTH_R5_ROOT.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Amazon_Root_CA_3.pem: revision 1.1 tests/usr.sbin/certctl/certs4/AC_RAIZ_FNMT-RCM.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/ISRG_Root_X2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Global_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/D-TRUST_Root_CA_3_2013.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Microsoft_RSA_Root_Certificate_Authority_2017.pem: revision 1.1 etc/mtree/NetBSD.dist.base: revision 1.252 external/mpl/mozilla-certdata/share/certs/CFCA_EV_ROOT.pem: revision 1.1 etc/mtree/NetBSD.dist.base: revision 1.253 external/mpl/mozilla-certdata/share/certs/Starfield_Services_Root_Certificate_Authority_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_Global_Root_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/emSign_Root_CA_-_G1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Microsoft_ECC_Root_Certificate_Authority_2017.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Explicitly_Distrust_DigiNotar_Root_CA.pem: revision 1.1 usr.sbin/certctl/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/Security_Communication_ECC_RootCA1.pem: revision 1.1 usr.sbin/certctl/Makefile: revision 1.2 usr.sbin/certctl/Makefile: revision 1.3 external/mpl/mozilla-certdata/share/certs/GTS_Root_R3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/AC_RAIZ_FNMT-RCM_SERVIDORES_SEGUROS.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/e-Szigno_Root_CA_2017.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/certSIGN_ROOT_CA.pem: revision 1.1 doc/3RDPARTY: revision 1.1949 external/mpl/mozilla-certdata/share/certs/Certainly_Root_R1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/TeliaSonera_Root_CA_v1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/HARICA_TLS_RSA_Root_CA_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Entrust_Root_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/NetLock_Arany_Class_Gold.pem: revision 1.1 usr.sbin/postinstall/postinstall.in: revision 1.53 usr.sbin/postinstall/postinstall.in: revision 1.54 tests/usr.sbin/certctl/certs3/Autoridad_de_Certificacion_Firmaprofesional_CIF_A62634068.pem: revision 1.1 etc/Makefile: revision 1.467 usr.sbin/postinstall/postinstall.in: revision 1.55 tests/usr.sbin/certctl/certs3/Makefile: revision 1.1 external/mpl/mozilla-certdata/share/certs/GLOBALTRUST_2020.pem: revision 1.1 etc/mtree/NetBSD.dist.tests: revision 1.200 external/mpl/mozilla-certdata/share/certs/QuoVadis_Root_CA_1_G3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Root_CA_-_R3.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Actalis_Authentication_Root_CA.pem: revision 1.1 distrib/sets/lists/base/mi: revision 1.1326 distrib/sets/lists/base/mi: revision 1.1327 external/mpl/mozilla-certdata/share/certs/SecureSign_RootCA11.pem: revision 1.1 distrib/sets/lists/base/mi: revision 1.1328 external/mpl/mozilla-certdata/share/certs/Comodo_AAA_Services_root.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Entrust_Root_Certification_Authority_-_G2.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/QuoVadis_Root_CA_2_G3.pem: revision 1.1 distrib/sets/lists/base/mi: revision 1.1329 external/mpl/mozilla-certdata/share/certs/COMODO_Certification_Authority.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certum_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/DigiCert_High_Assurance_EV_Root_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Secure_Mail_Root_R45.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Secure_Global_CA.pem: revision 1.1 usr.sbin/certctl/certctl.8: revision 1.1 external/mpl/mozilla-certdata/share/certs/XRamp_Global_CA_Root.pem: revision 1.1 external/mpl/Makefile: revision 1.5 usr.sbin/certctl/certctl.8: revision 1.2 external/mpl/mozilla-certdata/share/certs/D-TRUST_Root_Class_3_CA_2_2009.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Baltimore_CyberTrust_Root.pem: revision 1.1 usr.sbin/certctl/certs.conf: revision 1.1 external/mpl/mozilla-certdata/share/certs/LAWtrust_Root_CA2_4096.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/AC_RAIZ_FNMT-RCM.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Atos_TrustedRoot_Root_CA_ECC_TLS_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/OISTE_WISeKey_Global_Root_GA_CA.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Certainly_Root_E1.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/GlobalSign_Root_E46.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/Atos_TrustedRoot_Root_CA_RSA_TLS_2021.pem: revision 1.1 external/mpl/mozilla-certdata/share/certs/SSL.com_EV_Root_Certification_Authority_ECC.pem: revision 1.1 certctl(8): New tool for managing OpenSSL CA certificates. Same command-line syntax as FreeBSD, clearer semantics about which parts are config and which parts are cache. mozilla-certdata: Record in doc/3RDPARTY. mozilla-certdata: Makefile infrastructure. mozilla-certdata: regen (actually, just `gen', this first time) mozilla-certdata: Connect it up to the build. postinstall(8): Add opensslcerts item to regen /etc/openssl/certs. Works only with destdir /, since it relies on running openssl(1), which is not available as a tool or required in the cross-build environment. certctl(8): Add xfail test for missing certs.conf. Command should fail, i.e., exit with nonzero status, but it exits with zero instead. certctl(8): Exit nonzero on missing certs.conf. certctl(8): Test prepopulated /etc/openssl/certs. This is the scenario when you have previously populated /etc/openssl/certs manually, or with a package like mozilla-rootcerts or mozilla-rootcerts-openssl, and you update to a version of NetBSD with certctl(8). In this case, certctl(8) should avoid destroying your work. While here, also test some related but less likely edge cases: - nonexistent - symlink - regular file certctl(8): Avoid clobbering prepopulated /etc/openssl/certs. Also avoid clobbering some other edge cases like symlinks or non-directories there. This way, we have the following transitions on system updates: - If /etc/openssl/certs is empty (as in default NetBSD<10 installs): quietly populated on rehash. - If /etc/openssl/certs is nonempty (you've added things to it, e.g. by hand or with mozilla-rootcerts) and has never been managed by certctl(8): left alone on rehash, with an error message to explain what you need to do. - If /etc/openssl/certs has been managed by certctl(8): quietly updated on rehash. Note: This means current installations made since certctl(8) was added will be treated like /etc/openssl/certs is nonempty and has never been managed by certctl(8). To work around this, you can just delete /etc/openssl/certs and rerun `certctl rehash'. postinstall(8): Fail if `certctl rehash' fails. Not using `set -e' here, evidently (maybe we should), so the separate return 0 suppressed the error. distrib/sets/lists: certs.conf belongs in etc, not in base. Oops. certctl(8): Set certs.conf 644 and add it to etc/mtree/special. Now that we have /etc/openssl/certs.conf mentioned here, also list /etc/openssl. hier(7): Document /etc/openssl. certctl(8): Minor man page clarifications. - Specify exactly what /etc/openssl/certs gets populated with. - Change HTTPS to TLS. - Specify the permitted character class in certs.conf. (Maybe more conservative than strictly needed; but let's stay on the safe side.) certctl(8): Fix some bugs with evil pathnames. certctl(8): Fix quoting and whitespace style in evilpath test. No functional change intended. etc/mtree/special: Fix spaces/tabs. No functional change intended. mozilla-certdata: Install relative symlinks. Slightly more compact this way, and you can examine them in a destdir without chrooting. Not terribly important, but a minor convenience. certctl(8): Test more evil pathnames. certctl(8): Install certs.conf in /usr/share/examples too. This way postinstall(8) can refer to the default one when you've done an upgrade without etcupdate or similar to pull in new config files from etc.tgz. Not great -- we should do this systematically for all config files in /etc, but this one-off hack is less risky for 10. postinstall(8): Handle various certs.conf scenarios gracefully. Tested the following scenarios: 1. fresh install empty /etc/openssl/certs default /etc/openssl/certs.conf - opensslcertsconf [x] check: pass [x] fix: pass -- nothing - opensslcertsrehash [x] check: fail -- needs rehash [x] fix: pass -- quietly rehash successfully (go to 4) 2. fresh upgrade empty /etc/openssl/certs no /etc/openssl/certs.conf - opensslcertsconf [x] check: fail -- complain missing /etc/openssl/certs.conf [x] fix: pass -- install default /etc/openssl/certs.conf (go to 1) - opensslcertsrehash [x] check: fail -- complain missing /etc/openssl/certs.conf - [x] fix: fail -- complain missing /etc/openssl/certs.conf 3. upgrade from certctl, changes to certs certctl-managed /etc/openssl/certs default /etc/openssl/certs.conf - opensslcertsconf [x] check: pass [x] fix: pass -- nothing - opensslcertsrehash [x] check: fail -- needs rehash [x] fix: pass -- quietly rehash successfully (go to 4) 4. upgrade from certctl, no changes to certs certctl-managed /etc/openssl/certs default /etc/openssl/certs.conf - opensslcertsconf [x] check: pass [x] fix: pass -- nothing - opensslcertsrehash [x] check: pass [x] fix: pass -- quietly rehash successfully (go to 4) 5. upgrade from mozilla-rootcerts populated /etc/openssl/certs no /etc/openssl/certs.conf - opensslcertsconf: [x] check: fail -- complain missing /etc/openssl/certs.conf [x] fix: pass -- install manual /etc/openssl/certs.conf (go to 7) - opensslcertsrehash: [x] check: fail -- complain missing /etc/openssl/certs.conf [x] fix: fail -- complain missing /etc/openssl/certs.conf 6. upgrade from mozilla-rootcerts with etcupdate naively populated /etc/openssl/certs default /etc/openssl/certs.conf - opensslcertsconf: [x] check: pass [x] fix: pass -- nothing - opensslcertsrehash: [x] check: fail -- complain mismatched certs/ and certs.conf [x] fix: fail -- complain mismatched certs/ and certs.conf 7. upgrade from mozilla-rootcerts with etcupdate manually populated /etc/openssl/certs manual /etc/openssl/certs.conf - opensslcertsconf: [x] check: pass [x] fix: pass -- nothing - opensslcertsrehash: [x] check: pass [x] fix: pass -- skip rehash because manual (go to 7) XXX Someone should draft automatic tests for postinstall. It has a very good track record, but it sure would be nice to automate this testing rather than redo it each time I make a tiny change. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.466 2022/08/21 07:10:03 lukem Exp $ a350 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.sbin/certctl configinstall @ 1.465 log @build system: Revert all the recent additions of MK[...] knobs that allow conditionally disabling the building of certain user space programs in the 'base' set. There is not enough consensus that this is the right way and a few people had strong objections, see source-changes-d@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.458 2022/01/05 01:46:28 kre Exp $ a166 3 . if ${MKEXTSRC} != "no" ${MAKEDIRTARGET} ${NETBSDSRCDIR}/extsrc distribution . endif @ 1.464 log @Introduce libc_aligned.so for evbppc-powerpc32, which provides strictly-aligned versions of memcmp(3), bcopy(3), memcpy(3), and memmove(3). This is used for 403 by ld.so.conf with machdep.no_unaligned variable. With this library, unaligned memory accesses are significantly reduced for 403 (from several hundreds to few tens per sec under heavy load); only ld.elf_so (typically few times per fork) and statically-linked binaries do such access. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.463 2022/05/28 14:31:11 nia Exp $ d108 2 a109 2 named.conf netconfig networks newsyslog.conf \ nsswitch.conf passwd.conf pkgpath.conf phones printcap \ a113 8 .if ${MKMROUTING} != "no" BIN1+= mrouted.conf .endif .if ${MKNTP} != "no" BIN1+= ntp.conf .endif @ 1.463 log @mk: Add MKFINGER, MKTALK flags for not building talk, talkd, finger, fingerd. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.461 2022/05/28 11:17:35 nia Exp $ d130 2 a131 1 empty(MACHINE_ARCH:M*arm*hf*) && empty(MACHINE_ARCH:Maarch64*) @ 1.462 log @Fix typo. Hopefully this didn't break anyone's build, sorry. @ text @@ 1.461 log @mk: Add MKNTP, MKTCPDUMP knobs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.460 2022/05/25 21:25:46 nia Exp $ d119 1 a119 1 BIN1+= ntpd.conf @ 1.460 log @mk: Rename the MKMBONE option to MKMROUTING for greater accuracy and to match the related kernel config option. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.459 2022/05/25 10:18:29 nia Exp $ d109 1 a109 1 nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \ d118 4 @ 1.459 log @mk: Allow building base without the MBONE applications by setting MKMBONE=no in mk.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.458 2022/01/05 01:46:28 kre Exp $ d114 1 a114 1 .if ${MKMBONE} != "no" @ 1.458 log @ Install the missing sh syntax element in the MKDEBUGKERNEL = no test, so that "continue" is a command as intended, and not an invalid last arg to the '[' command (the last arg is required to be ']'). Sometime the proverbial someone should go through this and remove all the obsolete test -o and -a operators, and probably do something with test's usage of ! as well. Not today, or not by me anyway. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.457 2022/01/02 20:09:03 christos Exp $ d108 1 a108 1 mrouted.conf named.conf netconfig networks newsyslog.conf \ d114 4 @ 1.457 log @Create empty files for the "extra" kernels. Grr I should fix this properly (run checkflists after building the kernels) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.456 2021/12/29 22:22:13 christos Exp $ d629 1 a629 1 ! -f $${ks}.gdb ] continue; \ @ 1.456 log @Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.455 2021/12/23 14:50:59 christos Exp $ d705 5 @ 1.455 log @Put back the code to add DEBUG=-g in config and to add the debug kernels in the kernel sets. Having the .gdb kernels in the EXTRA_KERNELS does not work, since we only walk through the standard kernels in the Makefile. Also doing DEBUG=-g in config twice does not hurt. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.453 2021/12/20 14:41:26 christos Exp $ d161 1 d600 2 a601 1 ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} d698 16 @ 1.454 log @Revert previous, not needed MKKDEBUG does it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.452 2021/09/26 15:52:40 maya Exp $ d593 1 d626 3 @ 1.453 log @PR/55557: Andreas Gustafsson" Introduce a new variable MKDEBUGKERNEL which as the name implies, includes a netbsd.gdb inside each kernel set: $ tar -tzvf kern-GENERIC.tgz -rwxr-xr-x 0 root wheel 29398264 Dec 19 12:50 ./netbsd -rwxr-xr-x 0 root wheel 208125880 Dec 19 12:50 ./netbsd.gdb @ text @a592 1 ${MKDEBUGKERNEL == "yes" :? -DDEBUG=-g :} \ a624 3 [ ${MKDEBUGKERNEL} = "no" -o \ ! -f $${ks}.gdb ] continue; \ kernels="$${kernels} $${ks}.gdb"; \ @ 1.452 log @Restore MKNOUVEAUFIRMWARE and MKRADEONFIRMWARE and make gpufw set unconditional Simplifies logic. (Second commit - first one was partial) Restoring MK* requested by mrg on tech-kern discussion https://mail-index.netbsd.org/tech-kern/2021/09/25/msg027695.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.451 2021/09/25 08:54:30 maya Exp $ d593 1 d626 3 @ 1.451 log @Move DRM-driver firmware from base to its own set, gpufw This set is only installed on amd64,i386,evbarm. This set is installed on minimal installs and on install media, in case someone needs it for basic driver functionality. Comments: Switched to a single MK tunable for it - that is probably unneeded. An upcoming DRM update will include even fatter firmware, and we'd like to minimize the impact of it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.450 2021/05/26 20:22:28 christos Exp $ d371 1 a371 1 OBSOLETE.files= base comp etc games man misc rescue text a377 3 .if ${MKGPUFIRMWARE} != "no" OBSOLETE.files+= gpufw .endif @ 1.450 log @use the date tool @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.449 2020/12/29 16:46:44 martin Exp $ d378 3 @ 1.449 log @If MKX11 and MKDEBUG, add the xdebug set to the obsolete file handling. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.448 2020/09/09 12:06:02 jmcneill Exp $ d80 1 a80 1 BUILD_DATE!= date -u -r "${MKREPRO_TIMESTAMP}" @ 1.449.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.450 2021/05/26 20:22:28 christos Exp $ d80 1 a80 1 BUILD_DATE!= ${TOOL_DATE} -u -r "${MKREPRO_TIMESTAMP}" @ 1.448 log @Get rid of 'sync' after each kernel build. It adds a noticeable delay to builds on modern systems and seems to have been added as a workaround for some 2004-era Linux NFS bug. Guessing that the issue has been sorted out in the meantime. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.447 2020/09/03 18:59:33 jakllsch Exp $ d386 3 @ 1.447 log @Treat aarch64 and aarch64eb identically with regard to ld.so.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.446 2020/06/01 01:41:40 jmcneill Exp $ a584 4 # The 'sync' is so that all writes during the build are pushed back # to the disk. Not having it causes problems on some host systems # (e.g. Linux) when building on NFS. # a595 1 sync @ 1.446 log @Use the default motd for stable builds @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.445 2020/05/18 21:19:34 jmcneill Exp $ d122 1 a122 1 empty(MACHINE_ARCH:M*arm*hf*) && ${MACHINE_ARCH} != "aarch64" @ 1.445 log @Separate devicetree .dts -> .dtb building from kernel builds. They are now part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This defaults to yes for earmv[67]* and aarch64, and no everywhere else. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.444 2020/04/27 01:07:27 christos Exp $ a179 2 .elif !empty(DISTRIBVER:M*STABLE*) MOTD_SOURCE= motd.stable @ 1.444 log @It is KERNEL_DIR @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.443 2020/04/05 00:36:25 christos Exp $ d377 3 a646 7 dtblist=$$(${MAKE} -v DTB); \ for dtb in $${dtblist}; do \ if [ ${KERNEL_DIR} = "yes" ]; then \ ln ../$${dtb} ./netbsd/$${dtb}; \ fi; \ echo "$${d}/$${dtb} type=file"; \ done; \ a679 9 dtblist=$$(${MAKE} -v DTB); \ for dtb in $${dtblist}; do \ [ ! -f $${dtb} ] && continue; \ dtb_gz="$${dest}/$${dtb}.gz"; \ [ $${dtb_gz} -nt $${dtb} ] && continue; \ rm -f $${dtb_gz}; \ echo "${TOOL_GZIP} ${GZIP_FLAGS} -c < $${kerndir}/$${dtb} > $${dtb_gz}"; \ ${TOOL_GZIP} ${GZIP_FLAGS} -c < $${dtb} > $${dtb_gz}; \ done; \ @ 1.443 log @us and them, then! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.442 2020/04/04 19:50:53 christos Exp $ d630 1 a630 1 if [ ${KERNELDIR} = "yes" ]; then \ @ 1.442 log @Infrastructure for putting kernel+modules in /netbsd/kernel and /netbsd/modules respectively instead of /netbsd and /stand///modules. This is only supported for x86, and is turned off by default. To try it, add KERNEL_DIR=yes in your /mk.conf and install a system from that build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.441 2019/10/02 11:16:00 maya Exp $ d630 1 a630 1 if [ ${KERNELDIR} = "yes" ]; them \ @ 1.441 log @Split out /rescue to its own set and adapt installers/images to add it. This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.440 2019/09/22 13:08:10 gson Exp $ d624 2 a625 2 [ -z "$${newest}" -o $${ks} -nt "$${newest}" ] && \ newest=$${ks}; \ d630 9 d641 3 d646 4 a649 1 echo "./$${dtb} type=file"; \ d652 8 a659 1 echo "./$${kernel} type=file"; \ d661 3 @ 1.440 log @Don't mix tabs and spaces @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.439 2019/07/31 18:35:58 martin Exp $ d373 1 a373 1 OBSOLETE.files= base comp etc games man misc text @ 1.439 log @PR kern/53590: remove -U DEBUG from config(1) invocation (that is: revert r1.413). DTrace needs the full symbol information. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.438 2019/01/12 17:25:09 roy Exp $ d346 1 a346 1 /dev/null ${DESTDIR}${file}; \ @ 1.438 log @Install /etc/wpa_supplicant.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.437 2018/10/01 09:47:34 martin Exp $ d593 1 a593 1 -U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} @ 1.438.2.1 log @Pull up following revision(s) (requested by hannken in ticket #26): etc/Makefile: revision 1.439 PR kern/53590: remove -U DEBUG from config(1) invocation (that is: revert r1.413). DTrace needs the full symbol information. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.438 2019/01/12 17:25:09 roy Exp $ d593 1 a593 1 -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} @ 1.438.2.2 log @Pull up following revision(s) (requested by maya in ticket #435): distrib/sets/maketars: revision 1.90 usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2 usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3 usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3 usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3 distrib/sun3/MakeInstTape: revision 1.3 usr.sbin/sysinst/util.c: revision 1.33 distrib/sets/lists/rescue/mi: revision 1.1 distrib/sets/lists/base/rescue.sun2: file removal usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3 distrib/sets/lists/base/rescue.ad.m68k.shl: file removal distrib/sets/regpkgset: revision 1.13 usr.sbin/sysinst/arch/i386/md.h: revision 1.7 distrib/sets/lists/base/rescue.sparc: file removal distrib/notes/mvme68k/xfer: revision 1.19 distrib/sets/sets.subr: revision 1.187 distrib/common/bootimage/Makefile.bootimage: revision 1.22 usr.sbin/sysinst/msg.mi.de: revision 1.16 usr.sbin/sysinst/arch/atari/md.h: revision 1.3 rescue/Makefile: revision 1.38 distrib/sets/lists/base/rescue.macppc: file removal usr.sbin/sysinst/arch/arc/md.h: revision 1.4 distrib/miniroot/install.sub: revision 1.49 usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3 usr.sbin/sysinst/arch/x68k/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3 usr.sbin/sysinst/arch/bebox/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2 distrib/sets/lists/base/rescue.shark: file removal usr.sbin/sysinst/arch/emips/md.h: revision 1.5 distrib/utils/embedded/mkimage: revision 1.70 usr.sbin/sysinst/arch/shark/md.h: revision 1.3 usr.sbin/sysinst/arch/pmax/md.h: revision 1.4 usr.sbin/sysinst/arch/amiga/md.h: revision 1.4 usr.sbin/sysinst/arch/hp300/md.h: revision 1.5 rescue/list.ldconfig: file removal distrib/sets/lists/base/rescue.ad.m68k: file removal usr.sbin/sysinst/arch/prep/md.h: revision 1.4 usr.sbin/sysinst/arch/cats/md.h: revision 1.4 usr.sbin/sysinst/arch/amd64/md.h: revision 1.7 usr.sbin/sysinst/msg.mi.es: revision 1.17 usr.sbin/sysinst/msg.mi.fr: revision 1.20 usr.sbin/sysinst/msg.mi.pl: revision 1.23 distrib/sets/lists/base/rescue.i386: file removal usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3 distrib/sets/lists/base/rescue.vax: file removal distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12 usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3 distrib/sets/lists/base/rescue.mi: file removal distrib/sets/README: revision 1.14 usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4 distrib/sets/lists/base/rescue.sparc64: file removal distrib/sets/lists/base/rescue.mi: revision 1.45 distrib/sets/lists/base/rescue.mi: revision 1.46 usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4 usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4 distrib/sets/lists/base/rescue.ad.arm: file removal distrib/sets/lists/base/rescue.mac68k: file removal usr.sbin/sysinst/defs.h: revision 1.45 usr.sbin/sysinst/arch/landisk/md.h: revision 1.2 distrib/notes/atari/xfer: revision 1.17 etc/Makefile: revision 1.441 usr.sbin/sysinst/msg.mi.en: revision 1.22 distrib/sun2/MakeInstTape: revision 1.2 Remove ldconfig from /rescue, and mark it MI obsolete. - ldconfig in netbsd refers to a.out binaries only. We've been ELF-only since NetBSD 2.0 or so, and having it in /rescue served little purpose even before that, as /rescue is standalone. - Using MI obsolete to avoid the need for MD set lists where ldconfig is the sole entry Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD rescue set list files. Split out /rescue to its own set and adapt installers/images to add it. This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.438.2.1 2019/08/07 10:18:13 martin Exp $ d373 1 a373 1 OBSOLETE.files= base comp etc games man misc rescue text @ 1.437 log @Redo xz vs. gzip selection via conditional make expressions, suggested by joerg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.436 2018/09/29 06:10:01 martin Exp $ d135 1 a135 1 BIN3+= hosts.equiv @ 1.436 log @Clarify comment, pointed out by maya: we do not expect bootloaders to understand xz compression, so the kernel.gz stay as they are, only the sets are moving to .tar.xz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.435 2018/09/29 01:12:22 kre Exp $ d413 1 a413 2 .if defined(USE_XZ_SETS) && ${USE_XZ_SETS} != "no" COMPRESS_PROGRAM=${TOOL_XZ} d415 1 a415 5 TAR_SUFF=tar.xz .else COMPRESS_PROGRAM=${TOOL_GZIP} TAR_SUFF=tgz .endif @ 1.435 log @ Only test USE_XZ_SETS if it is defined. This is probably not the correct fix, so someone else please do it correctly - either this is the wrong word, or it should be given a default value elsewhere. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.434 2018/09/28 15:11:36 martin Exp $ d551 4 a554 4 # kern-${kernel}.tgz. These kernels # are also placed in the binary/kernel # area of the release package as # netbsd-${kernel}.gz (or .tar.xz). @ 1.434 log @Prepare for .tar.xz sets @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.433 2018/04/01 04:35:02 ryo Exp $ d413 1 a413 1 .if ${USE_XZ_SETS} != "no" @ 1.433 log @Add initial support for ARMv8 (AARCH64) (by nisimura@@ and ryo@@) - sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@@) - add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@@, jmcneill@@) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.432 2018/01/09 03:31:14 christos Exp $ d413 8 d428 1 a428 1 ${KERNEL_SETS:@@.SETS.@@kern-${.SETS.}.tgz@@} d554 1 a554 1 # netbsd-${kernel}.gz. d620 2 a621 2 kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.tgz; \ pax_cmd="GZIP=${GZIP_FLAGS:Q} ${TOOL_PAX} ${PAX_TIMESTAMP} --use-compress-program ${TOOL_GZIP:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.433.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.438 2019/01/12 17:25:09 roy Exp $ d135 1 a135 1 BIN3+= hosts.equiv wpa_supplicant.conf a412 3 COMPRESS_PROGRAM=${"${USE_XZ_SETS:Uno}"!="no":?${TOOL_XZ}:${TOOL_GZIP}} XZ_OPT=-9 TAR_SUFF=${"${USE_XZ_SETS:Uno}"!="no":?tar.xz:tgz} d420 1 a420 1 ${KERNEL_SETS:@@.SETS.@@kern-${.SETS.}.${TAR_SUFF}@@} d543 4 a546 4 # kern-${kernel}.tgz (or .tar.xz). # These kernels are also placed in the # binary/kernel area of the release package # as netbsd-${kernel}.gz. d612 2 a613 2 kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.${TAR_SUFF}; \ pax_cmd="GZIP=${GZIP_FLAGS:Q} XZ_OPT=${XZ_OPT:Q} ${TOOL_PAX} ${PAX_TIMESTAMP} --use-compress-program ${COMPRESS_PROGRAM:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.433.2.2 log @Merge changes from current as of 20200406 @ text @d1 1 a1 1 # $NetBSD$ d624 2 a625 2 [ -z "$${newest}" -o $${ks} \ -nt "$${newest}" ] && newest=$${ks}; \ a629 9 if [ ${KERNELDIR} = "yes" ]; then \ tmpdir=kernel$$; \ trap "rm -fr $${tmpdir}" 0 1 2 3 15; \ mkdir -p $${tmpdir}/netbsd; \ d=./netbsd; \ cd $${tmpdir}; \ else \ d=.; \ fi; \ a631 3 if [ ${KERNEL_DIR} = "yes" ]; then \ echo "./netbsd type=dir optional"; \ fi; \ d634 1 a634 4 if [ ${KERNEL_DIR} = "yes" ]; then \ ln ../$${dtb} ./netbsd/$${dtb}; \ fi; \ echo "$${d}/$${dtb} type=file"; \ d637 1 a637 8 if [ ${KERNEL_DIR} = "yes" ]; then \ newname=$$(echo $${kernel} | \ ${TOOL_SED} -e s/netbsd/kernel/); \ ln ../$${kernel} ./netbsd/$${newname}; \ else \ newname=$${kernel}; \ fi; \ echo "$${d}/$${newname} type=file"; \ a638 3 if [ ${KERNEL_DIR} = "yes" ]; then \ mv $${kern_tgz} ..; \ fi; \ @ 1.433.2.3 log @Mostly merge changes from HEAD upto 20200411 @ text @d346 1 a346 1 /dev/null ${DESTDIR}${file}; \ d373 1 a373 1 OBSOLETE.files= base comp etc games man misc rescue text d593 1 a593 1 -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} @ 1.432 log @Merge autofs support from: Tomohiro Kusumi XXX: Does not work yet @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.431 2017/06/19 20:10:18 christos Exp $ d121 2 a122 1 .if exists(etc.${MACHINE}/ld.so.conf) && empty(MACHINE_ARCH:M*arm*hf*) @ 1.432.2.1 log @Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.433 2018/04/01 04:35:02 ryo Exp $ d121 1 a121 2 .if exists(etc.${MACHINE}/ld.so.conf) && \ empty(MACHINE_ARCH:M*arm*hf*) && ${MACHINE_ARCH} != "aarch64" @ 1.432.2.2 log @Ssync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.436 2018/09/29 06:10:01 martin Exp $ a412 8 .if defined(USE_XZ_SETS) && ${USE_XZ_SETS} != "no" COMPRESS_PROGRAM=${TOOL_XZ} XZ_OPT=-9 TAR_SUFF=tar.xz .else COMPRESS_PROGRAM=${TOOL_GZIP} TAR_SUFF=tgz .endif d420 1 a420 1 ${KERNEL_SETS:@@.SETS.@@kern-${.SETS.}.${TAR_SUFF}@@} d543 4 a546 4 # kern-${kernel}.tgz (or .tar.xz). # These kernels are also placed in the # binary/kernel area of the release package # as netbsd-${kernel}.gz. d612 2 a613 2 kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.${TAR_SUFF}; \ pax_cmd="GZIP=${GZIP_FLAGS:Q} XZ_OPT=${XZ_OPT:Q} ${TOOL_PAX} ${PAX_TIMESTAMP} --use-compress-program ${COMPRESS_PROGRAM:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.432.2.3 log @Sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.437 2018/10/01 09:47:34 martin Exp $ d413 2 a414 1 COMPRESS_PROGRAM=${"${USE_XZ_SETS:Uno}"!="no":?${TOOL_XZ}:${TOOL_GZIP}} d416 5 a420 1 TAR_SUFF=${"${USE_XZ_SETS:Uno}"!="no":?tar.xz:tgz} @ 1.432.2.4 log @Synch with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.432.2.3 2018/10/20 06:58:18 pgoyette Exp $ d135 1 a135 1 BIN3+= hosts.equiv wpa_supplicant.conf @ 1.431 log @use -v to get the expanded variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.430 2017/06/18 02:43:43 christos Exp $ d104 1 a104 1 BIN1+= bootptab changelist csh.cshrc csh.login \ d348 1 a348 1 .for subdir in . defaults bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh @ 1.430 log @no need for debug printing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.429 2017/06/18 01:03:30 christos Exp $ d628 1 a628 1 dtblist=$$(${MAKE} -V DTB); \ d655 1 a655 1 dtblist=$$(${MAKE} -V DTB); \ @ 1.429 log @put the dtb files with their kernels. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.428 2017/05/21 15:28:38 riastradh Exp $ d608 1 a608 1 @@ set -x; kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile}); \ d650 1 a650 1 @@ set -x; kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}); \ @ 1.428 log @Remove MKCRYPTO option. Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code. In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography. The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations. My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws. As proposed on tech-crypto, tech-security, and tech-userlevel to no objections: https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.427 2017/02/07 21:18:05 christos Exp $ d608 1 a608 1 @@ kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile}); \ d628 4 d650 1 a650 1 @@ kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}); \ d653 1 d655 9 d668 1 a668 1 knl_gz="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}$${s}.gz"; \ @ 1.428.2.1 log @Pull up following revision(s) (requested by jmcneill in ticket #114): sys/arch/arm/samsung/exynos_intr.h: revision 1.3 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1 distrib/utils/embedded/mkimage: revision 1.66 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7 sys/dev/gpio/gpio.c: revision 1.59 sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1 sys/conf/Makefile.kern.inc: revision 1.257 sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2 sys/conf/Makefile.kern.inc: revision 1.258 sys/arch/arm/fdt/psci_fdt.h: revision 1.1 sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1 sys/arch/evbarm/conf/files.sunxi: revision 1.1 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9 sys/arch/arm/samsung/files.exynos: revision 1.22 distrib/utils/embedded/conf/armv7.conf: revision 1.13 sys/arch/arm/samsung/files.exynos: revision 1.23 sys/arch/evbarm/conf/std.tegra: revision 1.15 distrib/utils/embedded/conf/armv7.conf: revision 1.14 sys/arch/arm/samsung/files.exynos: revision 1.24 distrib/utils/embedded/conf/armv7.conf: revision 1.15 sys/arch/evbarm/sunxi/genassym.cf: revision 1.1 sys/arch/arm/samsung/exynos_fdt.c: file removal sys/dev/fdt/fdt_pinctrl.c: revision 1.4 sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1 sys/dev/usb/ehci.c: revision 1.255 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1 sys/dev/ic/dwc_mmc.c: revision 1.11 sys/arch/arm/cortex/gic.c: revision 1.24 distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17 etc/etc.evbarm/Makefile.inc: revision 1.87 etc/etc.evbarm/Makefile.inc: revision 1.88 sys/arch/arm/fdt/gic_fdt.c: revision 1.5 etc/Makefile: revision 1.429 sys/arch/arm/fdt/gic_fdt.c: revision 1.6 sys/arch/arm/fdt/gic_fdt.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2 sys/arch/evbarm/conf/std.sunxi: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3 sys/arch/evbarm/conf/std.sunxi: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4 sys/arch/evbarm/conf/std.sunxi: revision 1.3 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1 sys/dev/gpio/gpiovar.h: revision 1.17 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8 sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.12 sys/dev/fdt/fdtvar.h: revision 1.21 sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.13 sys/dev/fdt/fdtvar.h: revision 1.22 sys/arch/evbarm/conf/SUNXI: revision 1.10 sys/dev/fdt/fdtvar.h: revision 1.23 sys/arch/evbarm/conf/SUNXI: revision 1.11 sys/dev/fdt/gpioleds.c: revision 1.1 sys/dev/fdt/fdtvar.h: revision 1.24 sys/arch/evbarm/conf/SUNXI: revision 1.12 sys/arch/evbarm/conf/SUNXI: revision 1.13 sys/arch/arm/cortex/gic.c: revision 1.30 sys/arch/evbarm/conf/SUNXI: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.16 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1 etc/Makefile: revision 1.430 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2 etc/Makefile: revision 1.431 sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4 sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6 sys/arch/arm/samsung/exynos_platform.c: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.29 sys/arch/arm/samsung/exynos_platform.c: revision 1.2 sys/arch/evbarm/conf/mk.vexpress: revision 1.3 sys/arch/arm/samsung/exynos_platform.c: revision 1.3 sys/arch/evbarm/conf/mk.vexpress: revision 1.4 sys/arch/arm/samsung/exynos_platform.c: revision 1.4 sys/arch/arm/arm/psci.h: revision 1.1 sys/arch/arm/samsung/exynos_platform.c: revision 1.5 sys/arch/arm/samsung/exynos_platform.c: revision 1.6 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10 external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12 sys/dev/fdt/files.fdt: revision 1.17 sys/dev/fdt/files.fdt: revision 1.18 sys/dev/fdt/files.fdt: revision 1.19 sys/arch/arm/samsung/exynos_sscom.c: revision 1.8 sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1 sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1 sys/arch/arm/samsung/exynos_sscom.c: revision 1.9 sys/arch/arm/conf/files.arm: revision 1.133 sys/arch/arm/samsung/mct_var.h: revision 1.5 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2 sys/arch/evbarm/conf/std.vexpress: revision 1.6 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.30 sys/arch/arm/sunxi/files.sunxi: revision 1.2 sys/dev/ofw/openfirm.h: revision 1.35 sys/arch/arm/sunxi/files.sunxi: revision 1.3 sys/dev/ofw/openfirm.h: revision 1.36 sys/arch/arm/sunxi/files.sunxi: revision 1.4 sys/arch/arm/sunxi/files.sunxi: revision 1.5 sys/arch/evbarm/exynos/exynos_machdep.c: file removal sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1 sys/arch/arm/samsung/sscom.c: revision 1.9 sys/arch/arm/sunxi/files.sunxi: revision 1.6 sys/dev/fdt/ohci_fdt.c: revision 1.1 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.7 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.8 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.9 sys/arch/arm/samsung/exynos_sscom.c: revision 1.10 sys/arch/evbarm/conf/mk.tegra: revision 1.5 sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4 sys/arch/evbarm/conf/mk.tegra: revision 1.6 sys/arch/evbarm/conf/EXYNOS: revision 1.15 sys/arch/evbarm/conf/EXYNOS: revision 1.16 sys/arch/evbarm/conf/EXYNOS: revision 1.17 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.19 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5 sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1 sys/arch/evbarm/conf/mk.sunxi: revision 1.1 sys/arch/evbarm/include/bootconfig.h: revision 1.7 sys/arch/evbarm/conf/TEGRA: revision 1.24 sys/arch/arm/arm/psci.c: revision 1.1 sys/dev/led.c: revision 1.1 sys/dev/led.c: revision 1.2 sys/arch/arm/arm/psci_arm.S: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2 sys/dev/fdt/ehci_fdt.c: revision 1.1 sys/dev/fdt/ehci_fdt.c: revision 1.2 sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.21 sys/arch/arm/sunxi/files.sunxi: revision 1.10 sys/arch/arm/sunxi/files.sunxi: revision 1.11 sys/dev/fdt/fdtbus.c: revision 1.14 sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1 sys/arch/arm/samsung/exynos5422_dma.c: file removal usr.bin/config/mkmakefile.c: revision 1.69 sys/conf/files: revision 1.1178 sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1 sys/arch/evbarm/exynos/exynos_start.S: revision 1.4 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12 sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2 sys/arch/evbarm/conf/SUNXI: revision 1.1 external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.2 sys/arch/arm/fdt/psci_fdt.c: revision 1.1 sys/arch/evbarm/conf/SUNXI: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.4 sys/arch/evbarm/conf/files.exynos: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.6 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1 sys/dev/fdt/fixedfactorclock.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.7 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.8 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3 sys/dev/ic/dwc_mmc_reg.h: revision 1.6 sys/dev/fdt/fdt_subr.c: revision 1.16 sys/arch/evbarm/conf/SUNXI: revision 1.9 usr.bin/config/mkmakefile.c: revision 1.70 sys/dev/fdt/fdt_phy.c: revision 1.1 sys/arch/evbarm/conf/ODROID-XU: file removal sys/arch/arm/fdt/arm_fdt.c: revision 1.4 sys/arch/arm/samsung/exynos_reg.h: revision 1.14 sys/conf/files: revision 1.1180 sys/arch/arm/samsung/exynos_reg.h: revision 1.15 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6 sys/dev/ic/dwc_mmc_var.h: revision 1.6 sys/arch/arm/samsung/exynos_combiner.c: revision 1.7 sys/arch/evbarm/exynos/platform.h: revision 1.2 sys/arch/arm/fdt/files.fdt: revision 1.12 sys/arch/evbarm/conf/std.exynos: revision 1.2 sys/arch/evbarm/conf/std.exynos: revision 1.3 sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6 sys/arch/arm/sunxi/sunxi_com.c: revision 1.1 sys/dev/led.h: revision 1.1 sys/arch/evbarm/conf/std.exynos: revision 1.5 sys/arch/arm/sunxi/sunxi_com.c: revision 1.2 sys/arch/evbarm/conf/files.evbarm: revision 1.26 usr.bin/config/defs.h: revision 1.99 sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6 sys/arch/arm/samsung/exynos_soc.c: revision 1.32 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2 sys/arch/arm/samsung/mct.c: revision 1.11 sys/arch/evbarm/conf/ODROID-U: file removal sys/arch/arm/samsung/mct.c: revision 1.12 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4 Get the EXYNOS kernel building again with recent FDT changes. Untested. Use arm_fdt_cpu_hatch and add mmu entry for DTB Fix exynos5 devmap, bootstrap, and implement early_putchar. Calculate UART frequency based on bootloader config. Fix KERNEL_BASE_PHYS (how did this ever work?) Avoid divide-by-zero for unconfigured PLLs Correctly initialize i2cbus attach args. Add delay and enable mct timecounter. Fix build w/o VERBOSE_INIT_ARM Remove ODROID-U and ODROID-XU kernel configs as they no longer work. - Replace CONSADDR with SSCOM2CONSOLE in example - Remove gtmr (Exynos5422 uses mct) - cinclude EXYNOS.local instead of TEGRA.local Use fdtbus_intr_establish to hook in block interrupts instead of intr_establish. Simplify MCT; just enable it and then attach an ARMv7 generic timer. Add support for building DTB files during kernel build, from christos. build vexpress-v2p-ca15-tc1.dtb with the kernel build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel Allow multiline makeoptions to work by quoting the newline.. Bump for quoting makeoptions with multiple lines. un-c99 bump required config version for multiline makeoptions feature Set DTS makeoption in kernel config Assign DTB files to a variable so we can make -V DTB put the dtb files with their kernels. no need for debug printing. Don't assume that CPU index = GIC CPU interface number. We can determine the current CPU interface number by reading from the read-only GICD_ITARGETSR0 through GICD_ITARGETSR7 registers. This gets interrupts working on Exynos 5422, where the boot processor has GIC CPU interface #4. use -v to get the expanded variable. Use -v to get the expanded variables. Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach. Fix PLL con0 register locations and add uart clocks Disable exyortc for now, it doesn't work. More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support. Update for new dwc_mmc driver Fix dmesg Add Exynos 5410 clock controller driver. Fix a few typos in clock parent names for mmc clocks. From jmcneill@@ Update for new dwc_mmc driver Implement platform reset for exynos5 Attach fdtbus to a /clocks node with no compatible string. Add support for ARM Power State Coordination Interface (PSCI). Support interrupt sharing. Add initial support for Allwinner H3 SoC. ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF, U-Boot on some platforms may use SGIs in this range for the PSCI implementation. Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert to ensure that we don't end up with a conflict. Add H3 MMC support SD/MMC clock fixes Add FDT PHY interface. Add glue for generic ehci/ohci bindings. Rename a variable, NFC. Support parents in different clock domains. Add USB stuff. Doesn't quite work yet. Synopsys DesignWare APB UART needs "options COM_AWIN" for now. Add i2c glue. Add RTC driver. PHY registers start at index 1. Now USB works. Don't allow sharing edge and level triggered interrupts. Add arm_fdt_memory_dump helper for dumping physical addresses from ddb Print clocks with aprint_debug Remove unused defines Add fdtbus_get_string helper Add of_search_compatible, which searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. This allows us to associate data with compatible strings. Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and later family SoCs. This is a port of my FreeBSD driver which has been confirmed to work on Allwinner H3, A83T, and A64 SoCs. Fix dmesg Add basic support for Allwinner A31. Add basic FDT GPIO support. Fix the pinctrl api to match the spec. A pinctrl config can have more than one xref, and an xref may have specifier data associated with it. Enable sunxi pinctrl support Adjust to new pinctrl API Add P2WI/RSB driver, based on awin_p2wi.c. Fix typo in a compat string. Configure pin defaults at attach No need to explicitly set pinctrl config 0 now Fix some register definitions. Disallow sharing between MPSAFE and non-MPSAFE handlers. Add of_match_compat_data. This routine searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based kernels. the extent code cannot use the full range of u_long, so ignore the last page before 4GB too. ok jmcneill@@ Copy install ramdisk to releasedir. Provide both a raw ffs and Legacy U-Boot version of it. Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb files for SUNXI and TEGRA kernels on the MSDOS partition. Let the controller provide a default name for pins. This makes pins easier to locate when we have multiple banks and a variable number of pins per bank. Attach gpio(4) to sunxigpio Test for kernel build directory before reading DTB list Add support for Allwinner A83T SoC. Add A83T files Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints. Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac Restore TX_INTERVAL_DEFAULT to 64 Drop the sunxi_emac_rx_batch feature. It was originally designed to reduce the amount of mutex unlock/lock cycles during the RX path on FreeBSD and if_input, but it is not required to drop the lock before calling if_percpuq_enqueue on NetBSD. Write back the data value instead of mask in sunxi_gpio_write Add a helper for exposing LED controls via sysctl. Add GPIO LED driver. add gpioleds Add misc. gates and resets driver, and explicitly enable PIO clocks at attach. Add fdtbus_get_string_index helper. Add driver for fixed-factor clocks. Add ffclock Remove the requirement for ehci to attach after companion devices. "go for it" - skrll@@ Remove the hack to find companion devices and just assume 1 companion if ETTF flag is not set. Remove pass numbers for ehci/ohci now that the attach order no longer matters Use unsigned char for ctype functions, suggested by christos Add : to body of populate_sunxi to appease bash. port-evbarm/52388: Fix number of args to a debug printf. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.428 2017/05/21 15:28:38 riastradh Exp $ d608 1 a608 1 @@kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile}); \ a627 4 dtblist=$$(${MAKE} -v DTB); \ for dtb in $${dtblist}; do \ echo "./$${dtb} type=file"; \ done; \ d646 1 a646 1 @@kernlist=$$(${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}); \ a648 1 dest="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel"; \ a649 9 dtblist=$$(${MAKE} -v DTB); \ for dtb in $${dtblist}; do \ [ ! -f $${dtb} ] && continue; \ dtb_gz="$${dest}/$${dtb}.gz"; \ [ $${dtb_gz} -nt $${dtb} ] && continue; \ rm -f $${dtb_gz}; \ echo "${TOOL_GZIP} ${GZIP_FLAGS} -c < $${kerndir}/$${dtb} > $${dtb_gz}"; \ ${TOOL_GZIP} ${GZIP_FLAGS} -c < $${dtb} > $${dtb_gz}; \ done; \ d654 1 a654 1 knl_gz="$${dest}/$${kernel}-${configfile:C/.*\///}$${s}.gz"; \ @ 1.427 log @Use make -C instead of cd && make; this is done to preserve the logical path for debugging info DW_AT_comp_dir @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.426 2015/12/20 02:35:34 christos Exp $ a17 1 # MKCRYPTO; if not `no', install crypto-related configuration a355 1 .if (${MKCRYPTO} != "no") a356 1 .endif @ 1.426 log @give the kernel pax invocating the MKREPRO_TIMESTAMP treatment. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.425 2015/12/19 23:37:43 christos Exp $ d594 1 a594 1 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean d596 2 a597 1 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE} @ 1.426.4.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.427 2017/02/07 21:18:05 christos Exp $ d594 1 a594 1 ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} distclean d596 1 a596 2 ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} depend && \ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} @ 1.426.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.427 2017/02/07 21:18:05 christos Exp $ d594 1 a594 1 ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} distclean d596 1 a596 2 ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} depend && \ ${MAKE} -C ${KERNOBJDIR}/${configfile:C/.*\///} @ 1.425 log @Freeze the BUILDER and the BUILD_DATE for repeatable builds @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.424 2015/08/31 06:08:07 uebayasi Exp $ d70 13 a200 10 .if ${MKREPRO:Uno} == "no" BUILDER!= echo $${USER-root}@@$$(hostname) .else BUILDER= builder@@localhost.NetBSD.org .endif .if ${MKREPRO_TIMESTAMP:Uno} == "no" BUILD_DATE!= date -u .else BUILD_DATE!= date -u -r "${MKREPRO_TIMESTAMP}" .endif d614 1 a614 1 pax_cmd="GZIP=${GZIP_FLAGS:Q} ${TOOL_PAX} --use-compress-program ${TOOL_GZIP:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.424 log @Exclude duplicate kernel config names in set generation. Suppress warnings of defining duplicate make(1) targets. @ text @d1 1 a1 1 # $NetBSD$ d188 11 d207 2 a208 2 printf "%20s %s\n" "Build date" "$$(date -u)"; \ printf "%20s %s\n" "Built by" "$${USER-root}@@$$(hostname)"; \ @ 1.423 log @remove the xfree86 reachover makefiles and the vast majority of the support in the rest of the source tree. X11 sets could use some cleaning up perhaps (just deletion, as we've never really marked the old X11R6 as obsolete for native xorg using platforms so far either.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.422 2014/11/30 15:53:29 uebayasi Exp $ d574 1 a574 1 .for configfile in ${ALL_KERNELS} # { d591 2 a592 2 .for configfile in ${KERNEL_SETS} # { .for configsel in ${ALL_KERNELS} d629 2 a630 2 .for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} # { .for configsel in ${ALL_KERNELS} @ 1.422 log @Add a new build make variable, CONFIGOPTS, which is passed to config(1) when building kernels. Revert "mkernel=*" and "mkernels" in favor of this option. Diff posted on source-changes-d@@, approved by (null). @ text @d1 1 a1 1 # $NetBSD$ a149 1 . if ${X11FLAVOUR} == "Xorg" a150 3 . else ${MAKEDIRTARGET} ${NETBSDSRCDIR}/x11 distribution . endif @ 1.421 log @Changes to existing files to enable building AARCH64 userland. evbarm64-el This is clang only. While gcc4.8 supports aarch64, no netbsd support has been written for aarch64 with gcc4.8. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.420 2014/08/06 11:41:18 apb Exp $ d581 1 a581 1 cd ${KERNCONFDIR} && ${TOOL_CONFIG} -s ${KERNSRCDIR} \ @ 1.420 log @To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program ${TOOL_GZIP}" on the command line, and refrain from passing "-z". If passed "-z", pax will use plain "gzip", ignoring --use-compress-program. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.419 2014/08/06 10:37:30 apb Exp $ d182 1 d184 1 a184 1 ${.CURDIR}/etc.${MACHINE}/MAKEDEV.conf d186 1 a186 1 MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ d284 1 d287 4 @ 1.419 log @Introduce and use GZIP_FLAGS variable, to fix a quoting error in the way we tried to use GZIP="-9 ${GZIP_N_FLAG}". For consistency, also use GZIP_FLAGS elesehere in this file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.418 2014/08/05 15:43:50 apb Exp $ d598 1 a598 1 pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP=${GZIP_FLAGS:Q} ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.418 log @Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n in the environmentto commands that invoke ${TOOL_GZIP}. This will allow them to use -nT instead of just -n with pigz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.417 2014/08/05 15:40:59 apb Exp $ d50 2 d598 1 a598 1 pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP="-9 ${GZIP_N_FLAG}" ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d643 2 a644 2 echo "${TOOL_GZIP_N} -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP_N} -c -9 < $${ks} > $${knl_gz}; \ @ 1.417 log @Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc. This will pass -nT instead of just -n if the gzip program is actually pigz. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.416 2014/08/03 09:19:34 apb Exp $ d596 1 a596 1 pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP=-9n ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ @ 1.416 log @BUILDINFO part 3: Add BUILDINFO to RELEASEVARS and /etc/release The BUILDINFO string will appear nearthe top of /etc/release, indented by 8 spaces and with a blank line above and below it, but without a heading. The BUILDINFO string is expected to be self-explanatory. Also change some other headings near the top of /etc/release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.415 2014/06/30 15:34:57 martin Exp $ d641 2 a642 2 echo "${TOOL_GZIP} -nc -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} -nc -9 < $${ks} > $${knl_gz}; \ @ 1.415 log @Undo the mac68k specific previous change and instead move all mkisofs-based images into ${RELEASEDIR}/images (just like the makefs ones). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.414 2014/06/14 12:26:26 apb Exp $ d196 1 a196 1 echo "Build settings:"; \ d200 7 a206 1 printf "%20s %s\n" "Build ID:" "${BUILDID}" ; \ d209 2 @ 1.414 log @Print BUILDID near the top of /etc/release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.413 2014/05/05 19:10:00 martin Exp $ d408 1 a408 1 CDROM_IMAGE?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso d416 1 a416 1 ${MAKESUMS} -t ${RELEASEDIR}/iso/ '*.iso' d432 3 a434 1 mkdir -p ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom d439 1 a439 1 iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-pre @ 1.413 log @Use the new -U option for config to avoid generating kernel debug info during release builds. This should save quite some space in the evbarm build, where makeoptions DEBUG is heavily used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.412 2014/01/27 21:37:17 apb Exp $ d199 3 @ 1.412 log @Pass the -n flag to gzip invocations. This prevents it from embedding a timestamp in the output. We pass "-n" unconditionally, not conditional on MKREPRO, because many other invocations of gzip already passed the -n flag unconditionally. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.411 2014/01/16 01:15:33 christos Exp $ d561 1 a561 1 -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} @ 1.412.2.1 log @Rebase. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.420 2014/08/06 11:41:18 apb Exp $ a49 2 GZIP_FLAGS= -9 ${GZIP_N_FLAG} d196 1 a196 1 echo "Build information:"; \ a198 11 if [ -n "${BUILDID}" ]; then \ printf "%20s %s\n" "Build ID" "${BUILDID}" ; \ fi ; \ if [ -n "${BUILDINFO}" ]; then \ echo ; \ info="$$(printf "%b" ${BUILDINFO:Q})" ; \ printf "%s\n" "$${info}" \ | ${TOOL_SED} -e 's/^/ /' ; \ fi ; \ echo ; \ echo "Build settings:"; \ d405 1 a405 1 CDROM_IMAGE?=${RELEASEDIR}/images/NetBSD-${DISTRIBVER}-${MACHINE}.iso d413 1 a413 1 ${MAKESUMS} -t ${RELEASEDIR}/images/ '*.iso' d429 1 a429 3 check_imagedir: mkdir -p ${RELEASEDIR}/images d434 1 a434 1 iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-pre check_imagedir d561 1 a561 1 -U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} d583 1 a583 1 pax_cmd="GZIP=${GZIP_FLAGS:Q} ${TOOL_PAX} --use-compress-program ${TOOL_GZIP:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d628 2 a629 2 echo "${TOOL_GZIP} ${GZIP_FLAGS} -c < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} ${GZIP_FLAGS} -c < $${ks} > $${knl_gz}; \ @ 1.411 log @eliminate use of bsd.sys.mk from Makefiles @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.410 2013/08/19 16:34:29 matt Exp $ d197 1 a197 1 printf "%20s %s\n" "Build date" "$$(date -u)"; \ d583 1 a583 1 pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP=-9 ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d628 2 a629 2 echo "${TOOL_GZIP} -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} -c -9 < $${ks} > $${knl_gz}; \ @ 1.410 log @if softfloat, Install a ld.so.conf to use libc_vfp.so if there is a VFP on evbarm (no other arm ports a CPU supporting VFP). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.409 2013/05/01 15:57:44 agc Exp $ a38 1 .include # for HOST_SH, TOOL_AWK, ... @ 1.409 log @Fix typo in previous @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.408 2013/05/01 15:55:53 agc Exp $ d108 1 a108 1 .if exists(etc.${MACHINE}/ld.so.conf) @ 1.408 log @Install pkgpath.conf in /etc - part of fix for misc PR/47645 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.407 2013/04/06 13:00:31 uebayasi Exp $ d96 1 a96 1 nsswitch.conf ntp.conf passwd.conf ipkgpath.conf phones printcap \ @ 1.407 log @Don't print warning even if mkisofs is not found. @ text @d1 1 a1 1 # $NetBSD$ d96 4 a99 4 nsswitch.conf ntp.conf passwd.conf phones printcap profile protocols \ rbootd.conf rc rc.conf rc.local rc.subr rc.shutdown remote rpc \ security security.conf services shells shrc sysctl.conf syslog.conf \ weekly weekly.conf wscons.conf @ 1.406 log @Install a kyua.conf file that sets unprivileged_user to _tests. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.405 2013/02/05 16:39:26 matt Exp $ d56 1 a56 1 MKISOFS!= (which mkisofs || echo true) @ 1.405 log @Only include debug set obsolete set if MKDEBUG is not no @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.404 2013/02/05 07:32:44 matt Exp $ d338 3 @ 1.404 log @Add debug to the list of OBSOLETE_FILES @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.403 2013/01/29 20:21:02 christos Exp $ d344 4 a347 1 OBSOLETE.files= base comp debug etc games man misc text @ 1.403 log @spwd.db should be 0600 (Brooks Davis) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.402 2013/01/14 20:05:42 mlelstv Exp $ d344 1 a344 1 OBSOLETE.files= base comp etc games man misc text @ 1.402 log @Support a release build restricted to ALL_KERNELS. This file was missed by the first commit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.401 2012/12/03 13:53:28 apb Exp $ d263 4 a266 2 for metaent in passwd pwd.db spwd.db; do \ echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ @ 1.401 log @Add src/etc/Makefile.params, containing the definition of the RELEASEVARS variable, and commands related to printing the values of the variables whose names are in RELEASEVARS. Add an awk script to remove noise printed by "make -j" or high levels of MAKEVERBOSE, so we get only the variables names and values. The values are escaped so that variables containing embedded newlines, quotation marks, and backslashes, are passed through safely. Adapt src/etc/Makefile and src/Makefile to use the new ${PRINT_PARAMS} command defined in src/etc/Makefile.params. Now ${DESTDIR}/etc/release and the params file in the top-level .OBJDIR should never contain unwanted noise, even after a build with MAKEVERBOSE=4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.400 2012/11/04 11:09:14 apb Exp $ d537 1 d568 2 d597 2 d606 2 d626 2 @ 1.400 log @motd needs to be re-generated when DISTRIBVER changes, so change he Makefile to use the new ${_NETBSD_VERSION_DEPENDS} mechanism defined in bsd.own.mk. Rename the default motd file in the source tree from "motd" to "motd.default", because otherwise it would conflict with the motd file that is now created in the .OBJDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.399 2012/11/04 11:04:10 apb Exp $ d189 1 a189 34 RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \ DESTDIR DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ INSTALLWORLDDIR \ KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \ MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ MKBFD MKBINUTILS MKCATPAGES \ MKCRYPTO MKCRYPTO_RC5 MKCVS \ MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \ MKGCC MKGCCCMDS MKGDB \ MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ MKKERBEROS MKLDAP MKLINKLIB MKLINT \ MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \ MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ MKUNPRIVED MKUPDATE MKX11 MKYP \ NBUILDJOBS NETBSDSRCDIR \ NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ OBJMACHINE \ RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ USE_PAM USE_SKEY USE_YP \ USETOOLS USR_OBJMACHINE \ X11SRCDIR X11FLAVOUR params: .PHONY .for var in ${RELEASEVARS} .if defined(${var}) @@printf "%20s = '%-s'\n" ${var} ${${var}:Q} .else @@printf "%20s = (undefined)\n" ${var} .endif .endfor d201 1 a201 1 (cd ${.CURDIR}; ${MAKE} ${MFLAGS} -j1 params); \ @ 1.399 log @Add DISTRIBVER to the list of variables under RELEASEVARS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.398 2012/08/17 16:59:26 riz Exp $ a116 13 .if !empty(DISTRIBVER:M*.99.*) BIN2+= motd.current FILESNAME_motd.current= motd .elif !empty(DISTRIBVER:M*BETA*) BIN2+= motd.beta FILESNAME_motd.beta= motd .elif !empty(DISTRIBVER:M*RC*) BIN2+= motd.rc FILESNAME_motd.rc= motd .elif !empty(DISTRIBVER:M*STABLE*) BIN2+= motd.stable FILESNAME_motd.stable= motd .else d118 1 a118 1 .endif d162 18 @ 1.398 log @Install live images and install images into ${RELEASEDIR}/images by default, to keep all the large files (such as ISOs) together. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.397 2012/07/14 04:01:11 christos Exp $ d185 1 a185 1 DESTDIR EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ @ 1.398.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.400 2012/11/04 11:09:14 apb Exp $ d117 13 d131 1 a131 1 FILESBUILD_motd= YES a174 18 # motd is copied from a different ${MOTD_SOURCE} depending on DISTRIBVER # .if !empty(DISTRIBVER:M*.99.*) MOTD_SOURCE= motd.current .elif !empty(DISTRIBVER:M*BETA*) MOTD_SOURCE= motd.beta .elif !empty(DISTRIBVER:M*RC*) MOTD_SOURCE= motd.rc .elif !empty(DISTRIBVER:M*STABLE*) MOTD_SOURCE= motd.stable .else MOTD_SOURCE= motd.default .endif CLEANFILES+= motd motd: ${.CURDIR}/${MOTD_SOURCE} ${_NETBSD_VERSION_DEPENDS} ${_MKTARGET_CREATE} ${HOST_INSTALL_FILE} ${.CURDIR}/${MOTD_SOURCE} ${.TARGET} d185 1 a185 1 DESTDIR DISTRIBVER EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ @ 1.398.2.2 log @resync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.398.2.1 2012/11/20 02:57:55 tls Exp $ d189 34 a222 1 .include "${NETBSDSRCDIR}/etc/Makefile.params" d234 1 a234 1 ${PRINT_PARAMS} ; \ d296 2 a297 4 mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ a368 3 .if (${MKKYUA} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/kyua-cli/etc/kyua configinstall .endif a375 3 .if ${MKDEBUG} != "no" OBSOLETE.files+= debug .endif a569 1 .export ALL_KERNELS a599 2 .for configsel in ${ALL_KERNELS} .if ${configfile} == ${configsel} a626 2 .endif .endfor a633 2 .for configsel in ${ALL_KERNELS} .if ${configfile} == ${configsel} a651 2 .endif .endfor @ 1.398.2.3 log @resync from head @ text @d1 1 a1 1 # $NetBSD$ d56 1 a56 1 MKISOFS!= (which mkisofs || echo true) 2>/dev/null d96 4 a99 4 nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \ profile protocols rbootd.conf rc rc.conf rc.local rc.subr \ rc.shutdown remote rpc security security.conf services shells \ shrc sysctl.conf syslog.conf weekly weekly.conf wscons.conf @ 1.398.2.4 log @Rebase to HEAD as of a few days ago. @ text @d39 1 a50 2 GZIP_FLAGS= -9 ${GZIP_N_FLAG} d108 1 a108 1 .if exists(etc.${MACHINE}/ld.so.conf) && empty(MACHINE_ARCH:M*arm*hf*) a180 1 MAKEDEV_MACHINE=${"${MACHINE_CPU}" == "aarch64":?${MACHINE_CPU}:${MACHINE}} d182 1 a182 1 ${.CURDIR}/etc.${MAKEDEV_MACHINE}/MAKEDEV.conf d184 1 a184 1 MACHINE=${MAKEDEV_MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ d197 2 a198 2 echo "Build information:"; \ printf "%20s %s\n" "Build date" "$$(date -u)"; \ a199 11 if [ -n "${BUILDID}" ]; then \ printf "%20s %s\n" "Build ID" "${BUILDID}" ; \ fi ; \ if [ -n "${BUILDINFO}" ]; then \ echo ; \ info="$$(printf "%b" ${BUILDINFO:Q})" ; \ printf "%s\n" "$${info}" \ | ${TOOL_SED} -e 's/^/ /' ; \ fi ; \ echo ; \ echo "Build settings:"; \ a270 1 .if exists(${.CURDIR}/etc.${MACHINE}/ttys) a272 4 .else ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE_CPU}/ttys ${DESTDIR}/etc .endif d406 1 a406 1 CDROM_IMAGE?=${RELEASEDIR}/images/NetBSD-${DISTRIBVER}-${MACHINE}.iso d414 1 a414 1 ${MAKESUMS} -t ${RELEASEDIR}/images/ '*.iso' d430 1 a430 3 check_imagedir: mkdir -p ${RELEASEDIR}/images d435 1 a435 1 iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-pre check_imagedir d562 1 a562 1 -U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} d584 1 a584 1 pax_cmd="GZIP=${GZIP_FLAGS:Q} ${TOOL_PAX} --use-compress-program ${TOOL_GZIP:Q} -O -w -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d629 2 a630 2 echo "${TOOL_GZIP} ${GZIP_FLAGS} -c < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} ${GZIP_FLAGS} -c < $${ks} > $${knl_gz}; \ @ 1.397 log @MKCRYPTO_{IDEA,MDC2} is no more @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.396 2012/01/22 03:53:33 tsutsui Exp $ d484 1 a484 1 LIVEIMG_RELEASEDIR?= ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/liveimage d498 1 a498 1 INSTIMG_RELEASEDIR?= ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/installimage @ 1.396 log @Add "live-image" and "install-image" target support to build.sh. "live-image" target builds pre-installed disk images that can be used on emulators or boot from USB memory sticks to try NetBSD without installation. Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax (which have working emulators and don't require extra tools like preparing msdosfs or partitioning MD label structures) support this target. "install-image" target builds an bootable installation disk image that can be used as an install CD but burned into USB memory sticks etc. Current only amd64 and i386 (which would support USB boot) have this target. For more details (and known issue) see following posts on netbsd-bugs@@: http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html No particular comments about implementation, and "go ahead" comments from mrg@@, riz@@ and christos@@. Closes PR toolchain/45153 and PR misc/45155. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.395 2012/01/15 17:36:55 joerg Exp $ d191 1 a191 1 MKCRYPTO MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS \ @ 1.396.2.1 log @Pull up following revision(s) (requested by riz in ticket #506): distrib/amd64/liveimage/emuimage/Makefile: revision 1.2 distrib/amd64/liveimage/usbimage/Makefile: revision 1.2 distrib/sun2/liveimage/emuimage/Makefile: revision 1.2 distrib/amd64/installimage/Makefile: revision 1.2 distrib/sun3/liveimage/emuimage/Makefile: revision 1.2 distrib/pmax/liveimage/emuimage/Makefile: revision 1.2 distrib/vax/liveimage/emuimage/Makefile: revision 1.2 distrib/sparc64/liveimage/emuimage/Makefile: revision 1.2 distrib/common/Makefile.bootcd: revision 1.20 distrib/i386/liveimage/emuimage/Makefile: revision 1.2 distrib/sparc/liveimage/emuimage/Makefile: revision 1.2 distrib/i386/installimage/Makefile: revision 1.2 distrib/i386/liveimage/usbimage/Makefile: revision 1.2 etc/Makefile: revision 1.398 Change the naming scheme of "live" images and usb install images to incorporate the OS name and version. XXX should also not hardcode ${BOOTDISK} in the name, but that would require reordering stuff and more testing than I have time for right now. Another day. As discussed on current-users@@ back in March, with some adjustments. Install fully-populated .iso images in ${RELEASEDIR}/images instead of ${RELEASEDIR}/iso, since we'll be putting non-iso images in there too. Install live images and install images into ${RELEASEDIR}/images by default, to keep all the large files (such as ISOs) together. @ text @d1 1 a1 1 # $NetBSD$ d484 1 a484 1 LIVEIMG_RELEASEDIR?= ${RELEASEDIR}/images d498 1 a498 1 INSTIMG_RELEASEDIR?= ${RELEASEDIR}/images @ 1.396.2.1.2.1 log @sync with netbsd-6-0-RELEASE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.396.2.2 2012/09/17 19:00:34 riz Exp $ d191 1 a191 1 MKCRYPTO MKCRYPTO_RC5 MKCVS \ @ 1.396.2.2 log @Pull up following revision(s) (requested by spz in ticket #557): distrib/sets/lists/base/ad.mips64eb 1.94-1.95 via patch distrib/sets/lists/base/ad.mips64el 1.93-1.94 via patch distrib/sets/lists/base/md.amd64 1.169-1.170 via patch distrib/sets/lists/base/md.sparc64 1.159-1.160 via patch distrib/sets/lists/base/shl.mi 1.629,1.630,1.632 via patch distrib/sets/lists/comp/ad.mips64eb 1.81-1.82 via patch distrib/sets/lists/comp/ad.mips64el 1.821.83 via patch distrib/sets/lists/comp/md.amd64 1.168-1.169 via patch distrib/sets/lists/comp/md.sparc64 1.150-1.151 via patch distrib/sets/lists/comp/mi 1.1769 via patch distrib/sets/lists/comp/shl.mi 1.226-1.227 via patch distrib/sets/lists/tests/mi 1.477 via patch distrib/sets/sets.subr 1.137 via patch etc/Makefile 1.397 via patch share/man/man5/mk.conf.5 1.60 via patch share/mk/bsd.README 1.297 via patch share/mk/bsd.own.mk 1.700 via patch tests/crypto/libcrypto/Makefile patch tests/crypto/libcrypto/t_ciphers.sh 1.4 via patch tests/crypto/libcrypto/t_hashes.sh 1.2 via patch tests/crypto/libcrypto/idea/Makefile patch tests/crypto/libcrypto/mdc2/Makefile patch usr.sbin/racoon/Makefile 1.25 via patch Clean up MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal, so that a tree with MKCRYPTO_RC5=yes actually builds. [spz, ticket #557] The "iso" directory never made it into this file, but now that "iso" is "images", document it here for the edification of folks browsing the download directories. add crypto shared libraries mark idea and mdc2 libraries obsolete. remove mdc2 and idea handling MKCRYPTO_{IDEA,MDC2} is no more MKCRYPTO_IDEA is no more no more CRYPTO_{IDEA,MDC2} more MKCRYPTO_IDEA and MKCRYPTO_MDC2 removal (resp, adjustment to IDEA and MBC2 now always being included) MKCRYPTO_RC5 now builds shared libs, add the missing files to sets @ text @d191 1 a191 1 MKCRYPTO MKCRYPTO_RC5 MKCVS \ @ 1.396.2.2.4.1 log @Pull up following revision(s) (requested by christos in ticket #1369): etc/Makefile: revision 1.403 spwd.db should be 0600 (Brooks Davis) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.396.2.2 2012/09/17 19:00:34 riz Exp $ d291 2 a292 4 mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ @ 1.396.2.2.2.1 log @Pull up following revision(s) (requested by christos in ticket #1369): etc/Makefile: revision 1.403 spwd.db should be 0600 (Brooks Davis) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.396.2.2 2012/09/17 19:00:34 riz Exp $ d291 2 a292 4 mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ @ 1.396.2.3 log @Pull up following revision(s) (requested by christos in ticket #1369): etc/Makefile: revision 1.403 spwd.db should be 0600 (Brooks Davis) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.396.2.2 2012/09/17 19:00:34 riz Exp $ d291 2 a292 4 mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ @ 1.395 log @Now that the name of the ISO image is no longer stable, rename the variable to make it possible to overwrite the default with build.sh -V CDROM_IMAGE=... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.394 2012/01/14 22:56:31 jmcneill Exp $ d478 27 @ 1.394 log @PR# install/44593: Please give release ISO's more meaningful names Change release ISO filenames, what was once 'i386cd.iso' will now look like 'NetBSD-5.99.60-i386.iso'. ok snj@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.393 2011/11/02 16:39:23 yamt Exp $ d426 1 a426 1 CDROM.image?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso d435 1 a435 1 @@echo "iso-image created as: ${CDROM.image}" d461 1 a461 1 -o ${CDROM.image} ${CDROM.dir} @ 1.393 log @update RELEASEVARS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392 2011/08/22 18:54:05 jym Exp $ d426 1 a426 1 CDROM.image?=${RELEASEDIR}/iso/${MACHINE}cd.iso @ 1.392 log @Modify etc/defaults/Makefile so that architectures can specify an additional rc.conf file. This one should reside under etc/etc.${MACHINE}/, and will get automatically appended to etc/defaults/rc.conf at build time if present. This is used by i386 and amd64 to append a small MD rc.conf(5) configuration at the end of the defaults/rc.conf file, so that powerd(8) can be started by default when we are running in a Xen environment. This is needed to support save/restore functions for domains. From all the alternatives proposed to fix that issue (from /etc/rc.conf parsing in postinstall to etc/defaults/rc.conf arch-hooks) I believe this one will appease everyone because it: - does not touch etc/defaults/rc.conf template file, - patches it at build time for MD hooks only when required, - does not need to parse/modify a user-specified file like /etc/rc.conf (which is a complex, error-prone operation), - only enables powerd(8) by default when conditions are met (Xen environment) while still allowing root to shoot himself in the foot if he wants to override this manually in /etc/rc.conf. See also http://mail-index.netbsd.org/tech-userlevel/2011/07/25/msg005246.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.391 2011/06/30 18:15:13 matt Exp $ d192 1 a192 1 MKDEBUG MKDEBUGLIB MKDOC MKDYNAMICROOT \ d194 1 a194 1 MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ d196 1 a196 1 MKMAN MKMANZ MKMDNS MKNLS MKNPF MKNVI MKOBJ MKOBJDIRS \ @ 1.392.2.1 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392 2011/08/22 18:54:05 jym Exp $ d192 1 a192 1 MKDEBUG MKDEBUGLIB MKDOC MKDTRACE MKDYNAMICROOT \ d194 1 a194 1 MKHESIOD MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ d196 1 a196 1 MKMAN MKMANZ MKMDNS MKNLS MKNPF MKOBJ MKOBJDIRS \ @ 1.392.2.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392.2.1 2011/11/10 14:31:21 yamt Exp $ d426 1 a426 1 CDROM_IMAGE?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso d435 1 a435 1 @@echo "iso-image created as: ${CDROM_IMAGE}" d461 1 a461 1 -o ${CDROM_IMAGE} ${CDROM.dir} a477 27 # live-image -- # Standalone target to create live images after the release was composed. # Should be run after "make release" in src and xsrc. # LIVEIMG_RELEASEDIR specifies where to install live images and # it can be set in MD etc.${MACHINE}/Makefile.inc. # LIVEIMG_RELEASEDIR?= ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/liveimage live-image: .PHONY check_DESTDIR check_RELEASEDIR ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib live_image \ LIVEIMG_RELEASEDIR=${LIVEIMG_RELEASEDIR} ${MAKESUMS} -t ${LIVEIMG_RELEASEDIR} '*.img.gz' # install-image -- # Standalone target to create installation images # after the release was composed. # Should be run after "make release" in src and xsrc. # INSTIMG_RELEASEDIR specifies where to install live images and # it can be set in MD etc.${MACHINE}/Makefile.inc. # INSTIMG_RELEASEDIR?= ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/installimage install-image: .PHONY check_DESTDIR check_RELEASEDIR ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib install_image \ INSTIMG_RELEASEDIR=${INSTIMG_RELEASEDIR} ${MAKESUMS} -t ${INSTIMG_RELEASEDIR} '*.img.gz' @ 1.392.2.3 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392.2.2 2012/04/17 00:02:56 yamt Exp $ d191 1 a191 1 MKCRYPTO MKCRYPTO_RC5 MKCVS \ d484 1 a484 1 LIVEIMG_RELEASEDIR?= ${RELEASEDIR}/images d498 1 a498 1 INSTIMG_RELEASEDIR?= ${RELEASEDIR}/images @ 1.392.2.4 log @sync with (a bit old) head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392.2.3 2012/10/30 18:48:58 yamt Exp $ d117 13 d131 1 a131 1 FILESBUILD_motd= YES a174 18 # motd is copied from a different ${MOTD_SOURCE} depending on DISTRIBVER # .if !empty(DISTRIBVER:M*.99.*) MOTD_SOURCE= motd.current .elif !empty(DISTRIBVER:M*BETA*) MOTD_SOURCE= motd.beta .elif !empty(DISTRIBVER:M*RC*) MOTD_SOURCE= motd.rc .elif !empty(DISTRIBVER:M*STABLE*) MOTD_SOURCE= motd.stable .else MOTD_SOURCE= motd.default .endif CLEANFILES+= motd motd: ${.CURDIR}/${MOTD_SOURCE} ${_NETBSD_VERSION_DEPENDS} ${_MKTARGET_CREATE} ${HOST_INSTALL_FILE} ${.CURDIR}/${MOTD_SOURCE} ${.TARGET} d184 34 a217 1 .include "${NETBSDSRCDIR}/etc/Makefile.params" d229 1 a229 1 ${PRINT_PARAMS} ; \ @ 1.392.2.5 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392.2.4 2013/01/16 05:26:13 yamt Exp $ a536 1 .export ALL_KERNELS a566 2 .for configsel in ${ALL_KERNELS} .if ${configfile} == ${configsel} a593 2 .endif .endfor a600 2 .for configsel in ${ALL_KERNELS} .if ${configfile} == ${configsel} a618 2 .endif .endfor @ 1.392.2.6 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.392.2.5 2013/01/23 00:04:29 yamt Exp $ d39 1 d56 1 a56 1 MKISOFS!= (which mkisofs || echo true) 2>/dev/null d96 4 a99 4 nsswitch.conf ntp.conf passwd.conf pkgpath.conf phones printcap \ profile protocols rbootd.conf rc rc.conf rc.local rc.subr \ rc.shutdown remote rpc security security.conf services shells \ shrc sysctl.conf syslog.conf weekly weekly.conf wscons.conf d108 1 a108 1 .if exists(etc.${MACHINE}/ld.so.conf) && empty(MACHINE_ARCH:M*arm*hf*) d198 1 a198 1 printf "%20s %s\n" "Build date" "$$(date -u)"; \ d263 2 a264 4 mode=0600; \ for metaent in spwd.db passwd pwd.db; do \ echo "./etc/$${metaent} type=file mode=$${mode} uname=root gname=wheel tags=etc_pkg"; \ mode=0644; \ a335 3 .if (${MKKYUA} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/kyua-cli/etc/kyua configinstall .endif a342 3 .if ${MKDEBUG} != "no" OBSOLETE.files+= debug .endif d554 1 a554 1 -U DEBUG -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} d576 1 a576 1 pax_cmd="COMPRESS_PROGRAM=${TOOL_GZIP:Q} GZIP=-9n ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d621 2 a622 2 echo "${TOOL_GZIP} -nc -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ ${TOOL_GZIP} -nc -9 < $${ks} > $${knl_gz}; \ @ 1.391 log @Add COMPRESS_PROGRAM=${TOOL_GZIP:Q} for pax. Replace gzip with ${TOOL_GZIP} @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.390 2011/04/17 13:07:18 martin Exp $ d633 1 a633 1 SUBDIR= rc.d mtree @ 1.390 log @Get rid of var/chroot/tcpdump/etc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.389 2011/04/11 21:49:13 martin Exp $ d574 1 a574 1 pax_cmd="GZIP=-9 ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ d615 2 a616 2 echo "gzip -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ gzip -c -9 < $${ks} > $${knl_gz}; \ @ 1.389 log @Ooops, fix source path for the "protocols" file @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.388 2011/04/11 20:03:45 martin Exp $ a303 3 ${_MKMSG_INSTALL} ${DESTDIR}/var/chroot/tcpdump/etc/protocols ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${NETBSDSRCDIR}/etc/protocols ${DESTDIR}/var/chroot/tcpdump/etc @ 1.388 log @When run as root, tcpdump will chroot to /var/run/tcpdump - but it can not look up /etc/protcols in there. So install a copy of /etc/protocols into the chroot area. Fixes PR bin/44721. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.387 2011/02/16 16:22:13 uebayasi Exp $ d306 1 a306 1 protocols ${DESTDIR}/var/chroot/tcpdump/etc @ 1.387 log @Install "obsolete" files only when necessary. @ text @d1 1 a1 1 # $NetBSD$ d304 3 @ 1.386 log @Generate MAKEDEV only when really necessary. Write dependency correctly. @ text @d381 1 d393 5 a397 2 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete @ 1.385 log @To install 0-sized files, check if the destination already has one. This avoids unnecessary updates (== timestamp changes in METALOG). @ text @d176 2 a177 1 MAKEDEV: .EXEC @ 1.384 log @`` -> $() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.383 2010/12/08 23:56:01 njoly Exp $ d341 4 a344 2 ${ETC_INSTALL_FILE} -o ${owner} -g ${group} -m ${mode} \ /dev/null ${DESTDIR}${file} @ 1.384.2.1 log @Sync with HEAD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.387 2011/02/16 16:22:13 uebayasi Exp $ d176 1 a176 2 MAKEDEV: ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ ${.CURDIR}/etc.${MACHINE}/MAKEDEV.conf d341 2 a342 4 if [ ! -e ${DESTDIR}${file} -o -s ${DESTDIR}${file} ]; then \ ${ETC_INSTALL_FILE} -o ${owner} -g ${group} -m ${mode} \ /dev/null ${DESTDIR}${file}; \ else true; fi a377 1 # XXX make "makeobsolete" set wise; then generate files respectively d389 2 a390 5 if [ ! -e ${DESTDIR}/var/db/obsolete/${file} ] || \ ! cmp -s ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete/${file}; then \ ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete; \ else true; fi @ 1.383 log @Make tests set generation optional, skipped for MKATF=no build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.382 2010/10/04 13:55:39 tsutsui Exp $ d563 1 a563 1 @@ kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile}`; \ d597 1 a597 1 @@ kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}`; \ @ 1.382 log @Change distribution filename for KERNEL_SETS kernels with KERNEL_SUFFIXES in ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/ from "netbsd.aout-GENERIC.gz" to "netbsd-GENERIC.aout.gz" or so as src/distrib/common/Makefile.mdset does for mdroot ramdisk kernels. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.381 2010/08/22 18:56:20 rmind Exp $ d367 1 a367 1 OBSOLETE.files= base comp etc games man misc tests text d371 3 @ 1.381 log @Import NPF - a packet filter. Some features: - Designed to be fully MP-safe and highly efficient. - Tables/IP sets (hash or red-black tree) for high performance lookups. - Stateful filtering and Network Address Port Translation (NAPT). Framework for application level gateways (ALGs). - Packet inspection engine called n-code processor - inspired by BPF - supporting generic RISC-like and specific CISC-like instructions for common patterns (e.g. IPv4 address matching). See npf_ncode(9) manual. - Convenient userland utility npfctl(8) with npf.conf(8). NOTE: This is not yet a fully capable alternative to PF or IPFilter. Further work (support for binat/rdr, return-rst/return-icmp, common ALGs, state saving/restoring, logging, etc) is in progress. Thanks a lot to Matt Thomas for various useful comments and code review. Aye by: board@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.380 2010/02/05 09:44:23 roy Exp $ d602 1 a602 1 knl_gz="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/$${ks}-${configfile:C/.*\///}.gz"; \ @ 1.380 log @Move the emergancy terminfo database from /root to /rescue. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.379 2010/02/04 21:01:16 roy Exp $ d195 1 a195 1 MKMAN MKMANZ MKMDNS MKNLS MKNVI MKOBJ MKOBJDIRS \ @ 1.379 log @Install a minimal .terminfo and .terminfo.db in /root. This allows terminfo to be used when /usr is not available. Fixes PR misc/6879. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.378 2010/01/12 04:44:06 dholland Exp $ d623 1 a623 1 SUBDIR= rc.d mtree root @ 1.378 log @Fix previous: use correct mode as well as owner/group. My bad. PR misc/41544. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.377 2010/01/10 06:13:25 dholland Exp $ d623 1 a623 1 SUBDIR= rc.d mtree @ 1.377 log @Fix installation permissions of /var/db/locate.database as per PR misc/41544. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.376 2009/12/11 15:22:33 he Exp $ d310 1 a310 1 root wheel 664 /var/db/locate.database \ @ 1.376 log @Move the test for evbppc out of sets.subr and into bsd.own.mk, to decide whether to make kernel modules: set MKKMOD to no for evbppc. Use this in etc/Makefile to decide whether to do the "modules" obsolete sets. Move the ./var/db/obsolete/modules entry from the "mi" to the "module.mi" file set. Fixes the build for evbppc. Discussed with uebayasi@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.375 2009/12/05 19:14:39 pooka Exp $ d310 1 a310 1 nobody ${BINGRP} 664 /var/db/locate.database \ @ 1.375 log @Install obsolete lists for modules. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.374 2009/11/30 16:13:22 uebayasi Exp $ d367 4 a370 1 OBSOLETE.files= base comp etc games man misc modules tests text @ 1.374 log @Support "extsrc", externally added programs and libraries. Users can write their own reach-overs, cross-build, install, and get set files just like base and X11 / X.org. (These sets are not included as TNF releases.) @ text @d1 1 a1 1 # $NetBSD$ d367 1 a367 1 OBSOLETE.files= base comp etc games man misc tests text @ 1.373 log @Multicast DNS ("Bonjour") support, based on Apple's mDNSResponder. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.372 2009/09/08 07:08:01 skrll Exp $ d168 3 @ 1.372 log @Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}. Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook. Update the sets lists and add conditionals for lib{bfd,opcodes}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.371 2009/09/07 19:34:30 mrg Exp $ d192 1 a192 1 MKMAN MKMANZ MKNLS MKNVI MKOBJ MKOBJDIRS \ @ 1.371 log @- do not create X11 subdirs always anymore - we now only create them when building X11, and only create the ones we need (X11R6 xor X11R7) - all these subdirs are now in the xbase set - move the logic for running mtree into etc/mtree/Makefile - split NetBSD.dist into 3 files, and have the build and postinstall handle creating a possibly merged one. we still have a single installed file called "NetBSD.dist". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.370 2009/07/25 16:20:10 mbalmer Exp $ d186 1 a186 1 MKBFD MKCATPAGES \ @ 1.370 log @Document recent gpio(4) changes and introduce a new config file for GPIO. Integrate with the startup scripts in /etc/rc.d. Introduce new variable "gpio" for /etc/rc.conf. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.369 2009/07/21 00:48:29 mrg Exp $ d388 2 a389 5 .if ${MKUNPRIVED} == "no" TOOL_MTREE.unpriv= .else TOOL_MTREE.unpriv= -W .endif a390 16 distrib-dirs: .PHONY check_DESTDIR .if !defined(DISTRIBUTION_DONE) # { # Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because # INSTALL_DIR would want to write to the metalog, and it can't do that # if the metalog is inside DESTDIR but DESTDIR doesn't yet exist. ${HOST_INSTALL_DIR} -m 755 ${DESTDIR} # Inkoke mtree to create the directories listed in NetBSD.dist; # then invoke mtree again to register those directories in the metalog. ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist -N ${.CURDIR} \ -p ${DESTDIR}/ -U ${TOOL_MTREE.unpriv} .if ${MKUNPRIVED} != "no" # { ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist -N ${.CURDIR} \ -p ${DESTDIR}/ -C -k all | \ ${TOOL_AWK} '/ optional/ {next} // {print}' | ${METALOG.add} .endif # MKUNPRIVED # } .endif # DISTRIBUTION_DONE # } d617 1 a617 1 SUBDIR= rc.d @ 1.369 log @what was usr.bin/ssh is now openssh/bin, not openssh/bin/ssh. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.368 2009/07/21 00:28:35 mrg Exp $ d93 1 a93 1 ftpusers gettytab group hosts hosts.lpd inetd.conf \ @ 1.368 log @enter the right bin/ssh subdir for "configinstall". HI CHRISTOS! @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.367 2009/06/23 17:58:23 tron Exp $ d350 1 a350 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/crypto/external/bsd/openssh/bin/ssh configinstall @ 1.367 log @Switch to building Postfix 2.6.2 via "external/ibm-public/postfix". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.366 2009/04/23 11:29:29 apb Exp $ d350 1 a350 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh configinstall @ 1.366 log @Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because INSTALL_DIR would want to write to the metalog, and it can't do that if the metalog is inside DESTDIR but DESTDIR doesn't yet exist. This allows some XXX comments to be removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.365 2009/02/26 19:43:39 joerg Exp $ d353 1 a353 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall @ 1.365 log @Retire audit-packages.conf, it has been obsoleted by the merge of pkg_install-20090201. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.364 2009/02/25 20:38:30 sketch Exp $ d396 6 a401 10 # XXX: If METALOG=${DESTDIR}/METALOG (as is normal), and if ${DESTDIR} # does not yet exist (as often happens), then the INSTALL_DIR command # immediately below will create ${DESTDIR} but will fail to register # an entry for "." in the metalog. We ignore the problem, because the # TOOL_MTREE commands a little further below will soon register an entry # for "." in the metalog. ${INSTALL_DIR} -o root -g wheel -m 755 ${BASE_PKG} ${DESTDIR} # XXX: It would be nice if a single mtree invocation could both # append to the metalog and do real work. Instead, we have to # repeat the command twice in slightly different ways. @ 1.364 log @Use awk and grep host tools where required. 'build.sh release' now works on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.363 2009/01/19 07:08:27 jmmv Exp $ d91 1 a91 1 BIN1+= audit-packages.conf bootptab changelist csh.cshrc csh.login \ @ 1.363 log @Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to build it. 0.6 is going to be imported in external/bsd/atf, with all the necessary Makefiles in that same hierarchy. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.362 2008/12/05 18:52:59 cube Exp $ d373 1 a373 1 MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) d376 1 a376 1 MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) @ 1.363.2.1 log @Sync with HEAD. Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.366 2009/04/23 11:29:29 apb Exp $ d91 1 a91 1 BIN1+= bootptab changelist csh.cshrc csh.login \ d373 1 a373 1 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) d376 1 a376 1 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) d396 10 a405 6 # Create DESTDIR using HOST_INSTALL_DIR, not INSTALL_DIR, because # INSTALL_DIR would want to write to the metalog, and it can't do that # if the metalog is inside DESTDIR but DESTDIR doesn't yet exist. ${HOST_INSTALL_DIR} -m 755 ${DESTDIR} # Inkoke mtree to create the directories listed in NetBSD.dist; # then invoke mtree again to register those directories in the metalog. @ 1.362 log @Let the build descend in rc.d during "build" and not just use it for "distribution". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.361 2008/11/12 12:35:52 ad Exp $ d341 1 a341 1 .for subdir in . atf defaults bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh d355 3 @ 1.361 log @Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.360 2008/11/09 23:02:28 mrg Exp $ d637 2 d640 1 @ 1.360 log @- retire MKXORG from public use - introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg for the X11 to build if MKX11=yes is set. it takes the values of either Xorg or XFree86. - default to Xorg on alpha, i386, macppc, shark, sparc and sparc64 - remove MKXORG_WITH_XSRC_XSERVER, unused and never useful @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359 2008/10/19 22:05:20 apb Exp $ d93 1 a93 1 ftpusers gettytab group hosts hosts.lpd inetd.conf lkm.conf \ d97 1 a97 1 rbootd.conf rc rc.conf rc.lkm rc.local rc.subr rc.shutdown remote rpc \ @ 1.359 log @Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands. Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.358 2008/08/28 07:21:49 lukem Exp $ d161 2 a162 1 .if ${MKXORG} != "no" d164 1 a164 1 .elif ${MKX11} != "no" d166 2 a167 1 .endif d195 1 a195 1 MKUNPRIVED MKUPDATE MKX11 MKXORG MKYP \ d203 1 a203 1 X11SRCDIR d362 1 a362 1 .if ${MKX11} != "no" || ${MKXORG} != "no" d368 1 a368 1 .if ${MKX11} != "no" || ${MKXORG} != "no" @ 1.359.2.1 log @Pull up following revision(s) (requested by mrg in ticket #64): distrib/sets/Makefile: revision 1.64 external/mit/xorg/server/Makefile: revision 1.5 share/mk/bsd.README: revision 1.237 BUILDING: revision 1.79 share/mk/bsd.x11.mk: revision 1.71 share/mk/bsd.own.mk: revision 1.544 usr.bin/ssh/Makefile.inc: revision 1.18 distrib/sets/sets.subr: revision 1.72 share/man/man5/mk.conf.5: revision 1.42 doc/BUILDING.mdoc: revision 1.68 etc/Makefile: revision 1.360 Makefile: revision 1.263 - retire MKXORG from public use - introduce X11FLAVOUR to choose src/x11 vs src/external/mit/xorg for the X11 to build if MKX11=yes is set. it takes the values of either Xorg or XFree86. - default to Xorg on alpha, i386, macppc, shark, sparc and sparc64 - remove MKXORG_WITH_XSRC_XSERVER, unused and never useful @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359 2008/10/19 22:05:20 apb Exp $ d161 1 a161 2 . if ${MKX11} != "no" . if ${X11FLAVOUR} == "Xorg" d163 1 a163 1 . else d165 1 a165 2 . endif . endif d193 1 a193 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ d201 1 a201 1 X11SRCDIR X11FLAVOUR d360 1 a360 1 .if ${MKX11} != "no" d366 1 a366 1 .if ${MKX11} != "no" @ 1.359.2.2 log @Pull up following revision(s) (requested by cube in ticket #168): etc/Makefile: revision 1.362 Let the build descend in rc.d during "build" and not just use it for "distribution". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.1 2008/11/15 22:05:12 snj Exp $ a636 2 SUBDIR= rc.d a637 1 .include @ 1.359.2.3 log @Pull up following revision(s) (requested by sketch in ticket #536): etc/Makefile: revision 1.364 Makefile: revision 1.267 usr.sbin/postinstall/postinstall: revision 1.90 usr.bin/hexdump/parse.c: revision 1.25 sys/arch/x86/acpi/genwakecode.sh: revision 1.3 usr.sbin/postinstall/postinstall: revision 1.87 usr.sbin/postinstall/postinstall: revision 1.88 usr.sbin/postinstall/postinstall: revision 1.89 sys/arch/x86/acpi/Makefile.wakecode.inc: revision 1.4 sys/conf/Makefile.kern.inc: revision 1.120 Use ll instead of non-standard q as length modifier in format strings. Makes this work on Solaris. OK by apb. Not every grep knows -q. Ok by apb. Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb. Use awk and grep host tools where required. 'build.sh release' now works on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now). "grep -q" is not portable; use "grep >/dev/null" instead. Also add a comment saying that postinstal is invoked during a cross build. In file_exists_exact(), fix an incorrect test of "1" instead of "$1", and improve the comment explaining what this function does. As long as we don't yet have a working TOOL_GREP, fgrep is more portablethan grep -F. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.2 2008/12/06 22:00:31 snj Exp $ d370 1 a370 1 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) d373 1 a373 1 AWK=${TOOL_AWK:Q} MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) @ 1.359.2.3.2.1 log @Pull up the following additional revisions(s) required by ticket #784: etc/Makefile: revision 1.365 etc/audit-packages.conf: removed Retire audit-packages.conf, it was obsoleted by the pullup of pkg_install-20090201. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.3 2009/03/27 14:50:35 msaitoh Exp $ d91 1 a91 1 BIN1+= bootptab changelist csh.cshrc csh.login \ @ 1.359.2.4 log @Apply patch (requested by tron in ticket #944): Update Postfix to 2.6.5. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.3 2009/03/27 14:50:35 msaitoh Exp $ d353 1 a353 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/ibm-public/postfix configinstall @ 1.359.2.5 log @Pull up the following additional revisions(s) required by ticket #784: etc/Makefile: revision 1.365 etc/audit-packages.conf: remove Fix update release build (pointed out by tsutsui). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.4 2009/09/15 06:01:40 snj Exp $ d91 1 a91 1 BIN1+= bootptab changelist csh.cshrc csh.login \ @ 1.359.2.6 log @Pull up following revision(s) (requested by dholland in ticket #1273): etc/Makefile: revision 1.377 etc/Makefile: revision 1.378 Fix installation permissions of /var/db/locate.database as per PR misc/41544. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.5 2009/10/14 20:05:08 sborrill Exp $ d307 1 a307 1 root wheel 644 /var/db/locate.database \ @ 1.359.2.6.2.1 log @Pull up following revision(s) (requested by snj in ticket #1931): share/man/man7/release.7: revision 1.32 distrib/common/Makefile.bootcd: revision 1.18 distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.15 distrib/notes/sparc/install: revision 1.57 etc/Makefile: revision 1.394 distrib/notes/common/main: revision 1.484 PR# install/44593: Please give release ISO's more meaningful names Change release ISO filenames, what was once 'i386cd.iso' will now look like 'NetBSD-5.99.60-i386.iso'. ok snj@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.6 2010/01/30 19:21:15 snj Exp $ d430 1 a430 1 CDROM.image?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso @ 1.359.2.6.6.1 log @Pull up following revision(s) (requested by snj in ticket #1931): share/man/man7/release.7: revision 1.32 distrib/common/Makefile.bootcd: revision 1.18 distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.15 distrib/notes/sparc/install: revision 1.57 etc/Makefile: revision 1.394 distrib/notes/common/main: revision 1.484 PR# install/44593: Please give release ISO's more meaningful names Change release ISO filenames, what was once 'i386cd.iso' will now look like 'NetBSD-5.99.60-i386.iso'. ok snj@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.6 2010/01/30 19:21:15 snj Exp $ d430 1 a430 1 CDROM.image?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso @ 1.359.2.7 log @Pull up following revision(s) (requested by snj in ticket #1931): share/man/man7/release.7: revision 1.32 distrib/common/Makefile.bootcd: revision 1.18 distrib/notes/macppc/prep.OPENFIRMWARE: revision 1.15 distrib/notes/sparc/install: revision 1.57 etc/Makefile: revision 1.394 distrib/notes/common/main: revision 1.484 PR# install/44593: Please give release ISO's more meaningful names Change release ISO filenames, what was once 'i386cd.iso' will now look like 'NetBSD-5.99.60-i386.iso'. ok snj@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.6 2010/01/30 19:21:15 snj Exp $ d430 1 a430 1 CDROM.image?=${RELEASEDIR}/iso/NetBSD-${DISTRIBVER}-${MACHINE}.iso @ 1.359.2.3.4.1 log @Add MKCXX, MKATF, and MKGROFF @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.3 2009/03/27 14:50:35 msaitoh Exp $ a185 1 MKATF \ d187 1 a187 1 MKCRYPTO MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS MKCXX \ d189 1 a189 1 MKGCC MKGCCCMDS MKGDB MKGROFF \ @ 1.359.2.3.4.2 log @sync to netbsd-5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.3.4.1 2009/09/09 02:09:15 matt Exp $ d91 1 a91 1 BIN1+= bootptab changelist csh.cshrc csh.login \ d308 1 a308 1 root wheel 644 /var/db/locate.database \ d354 1 a354 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/ibm-public/postfix configinstall @ 1.359.2.3.4.3 log @Deal with MACHINE_ARCH of armv7/armv7eb. Split out mips64 compat dirs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.359.2.3.4.2 2010/04/21 05:21:22 matt Exp $ d404 2 a405 6 ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist \ -N ${.CURDIR} -p ${DESTDIR}/ -U ${TOOL_MTREE.unpriv} .if exists(${.CURDIR}/mtree/NetBSD.dist.${MACHINE_ARCH}) ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist.${MACHINE_ARCH} \ -N ${.CURDIR} -p ${DESTDIR}/ -U ${TOOL_MTREE.unpriv} .endif d407 2 a408 6 ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist \ -N ${.CURDIR} -p ${DESTDIR}/ -C -k all | \ ${TOOL_AWK} '/ optional/ {next} // {print}' | ${METALOG.add} .if exists(${.CURDIR}/mtree/NetBSD.dist.${MACHINE_ARCH}) ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist.${MACHINE_ARCH} \ -N ${.CURDIR} -p ${DESTDIR}/ -C -k all | \ a409 1 .endif @ 1.358 log @Improve support for MKXORG!=no to enable builds into external/mit/xorg. This will be mutually exclusive to MKX11!=no. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.357 2008/07/27 19:31:03 joerg Exp $ d39 1 a39 1 .include # for HOST_SH d175 2 a176 1 awk -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET} d406 1 a406 1 awk '/ optional/ {next} // {print}' | ${METALOG.add} d541 1 a541 1 GETKERNELAWK= awk '/^config/ {print $$2; found=1} \ @ 1.357 log @Update build glue for dhcpcd 4.0.0rc3 and move it to src/external/dhcpcd. Make dhcpcd quiet by default when run from rc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.356 2008/07/23 01:57:19 dyoung Exp $ d161 3 a163 1 .if ${MKX11} != "no" d192 1 a192 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ d359 1 a359 1 .if ${MKX11} != "no" d365 1 a365 1 .if ${MKX11} != "no" @ 1.356 log @Add MKNVI to RELEASEVARS. Thanks lukem@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.355 2008/05/24 19:39:30 joerg Exp $ d339 1 a339 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/sbin/dhcpcd configinstall @ 1.355 log @Hook dhcpcd into build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.354 2008/05/23 13:06:40 wiz Exp $ d187 1 a187 1 MKMAN MKMANZ MKNLS MKOBJ MKOBJDIRS \ @ 1.354 log @Sort variables. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.353 2008/05/22 14:09:27 lukem Exp $ d339 1 @ 1.353 log @MKLDAP, USE_LDAP @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.352 2008/05/07 21:30:26 gdt Exp $ d195 1 a195 1 USE_HESIOD USE_INET6 USE_JEMALLOC USE_LDAP USE_KERBEROS \ @ 1.352 log @Remove gzipped kernel file just before running gzip >, avoiding permission errors in unprivileged builds using a pre-existing releasedir. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.351 2008/04/30 16:48:53 ad Exp $ d186 1 a186 1 MKKERBEROS MKLINKLIB MKLINT \ d195 1 a195 1 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS \ @ 1.351 log @Give i386 and amd64 a default boot.cfg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.350 2008/03/22 12:02:59 lukem Exp $ d612 1 @ 1.351.2.1 log @Sync w/ -current. 34 merge conflicts to follow. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.351 2008/04/30 16:48:53 ad Exp $ d186 1 a186 1 MKKERBEROS MKLDAP MKLINKLIB MKLINT \ d195 1 a195 1 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ a338 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/sbin/dhcpcd configinstall a611 1 rm -f $${knl_gz}; \ @ 1.351.2.2 log @Sync with wrstuden-revivesa-base-2. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.351.2.1 2008/06/23 04:29:01 wrstuden Exp $ d161 1 a161 3 .if ${MKXORG} != "no" ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/mit/xorg distribution .elif ${MKX11} != "no" d187 1 a187 1 MKMAN MKMANZ MKNLS MKNVI MKOBJ MKOBJDIRS \ d190 1 a190 1 MKUNPRIVED MKUPDATE MKX11 MKXORG MKYP \ d339 1 a339 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/dhcpcd/sbin/dhcpcd configinstall d357 1 a357 1 .if ${MKX11} != "no" || ${MKXORG} != "no" d363 1 a363 1 .if ${MKX11} != "no" || ${MKXORG} != "no" @ 1.350 log @add USE_* to params @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.349 2008/03/16 07:25:57 lukem Exp $ d290 5 @ 1.350.2.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.350 2008/03/22 12:02:59 lukem Exp $ a289 5 .if exists(etc.${MACHINE}/boot.cfg) ${_MKMSG_INSTALL} ${DESTDIR}/boot.cfg ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE}/boot.cfg ${DESTDIR}/ .endif a606 1 rm -f $${knl_gz}; \ @ 1.350.2.2 log @sync with head @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.350.2.1 2008/05/18 12:29:47 yamt Exp $ d186 1 a186 1 MKKERBEROS MKLDAP MKLINKLIB MKLINT \ d195 1 a195 1 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ a338 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/sbin/dhcpcd configinstall @ 1.349 log @show RELEASEMACHINEDIR in params @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.348 2007/11/21 16:23:30 njoly Exp $ d195 2 @ 1.348 log @Add tests to the obsolete files list to be installed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.347 2007/11/19 18:27:27 minskim Exp $ d194 1 a194 1 RELEASEDIR TOOLCHAIN_MISSING TOOLDIR \ @ 1.348.4.1 log @file Makefile was added on branch mjf-devfs on 2008-02-18 22:07:01 +0000 @ text @d1 626 @ 1.348.4.2 log @Add some devfs code that's been sitting in my local tree for a while. devfsd(8) is now the first daemon to be started after init(8). It tracks device insertion (will eventually track removal) and devfs mounts. Currently, we can mount multiple device file systems and have device special files pushed into the mounts automatically, though, the device special files aren't created with the correct major/minor number pairs yet. More work to come soon. @ text @a0 627 # $NetBSD: Makefile,v 1.348.4.1 2008/02/18 22:07:01 mjf Exp $ # from: @@(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: # DESTDIR must be set before anything in this file will work. # RELEASEDIR is where the tarred up stuff for a snapshot or # release will be placed. # # Environment variables with default values: # LOCALTIME will set the default local time for the system you # build; it determines what /etc/localtime is symlink'd to. # KERNSRCDIR points to kernel source; it is set by default to ../sys, # but can be overridden. # KERNOBJDIR is the kernel build directory, it defaults to # ${KERNSRCDIR}/arch/${MACHINE}/compile, but can be overridden. # KERNCONFDIR is where the configuration files for kernels are found; # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden. # MKCRYPTO; if not `no', install crypto-related configuration # MKPOSTFIX; if not `no', install postfix configuration # MKUNPRIVED; if not `no', allow non-root installs. # MKUPDATE; if not `no', don't do a 'make clean' before kernel compile # # Targets: # distribution: makes a full NetBSD distribution in DESTDIR. If # INSTALL_DONE is set, it will not do a `make install.' # if DISTRIBUTION_DONE is set, it will not do anything. # distrib-dirs: creates an empty NetBSD directory tree in DESTDIR. # Called by distribution. # snapshot: calls distribution, above, and then tars up the files # into a release(7) format in RELEASEDIR/${RELEASEMACHINEDIR}. # Any port-dependent stuff for this target is found in # etc.${MACHINE}/Makefile.inc. # release: a synonym for `snapshot' # # For MK* vars .include .include # for HOST_SH .include # For KERNSRCDIR, KERNOBJDIR, ... .include # For TARGET_ENDIANNESS .MAKEOVERRIDES+= USETOOLS TZDIR= /usr/share/zoneinfo LOCALTIME?= UTC CKSUM?= ${TOOL_CKSUM} MAKESUMS= MAKE=${MAKE:Q} CKSUM=${CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh # Flags for creating ISO CDROM image # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrtools # Note: At least mkisofs 2.0 should be used. # .if !defined(MKISOFS) MKISOFS!= (which mkisofs || echo true) .endif DISTRIBREV!= ${HOST_SH} ${KERNSRCDIR}/conf/osrelease.sh -s # ISO 9660 volume ID. Note that this can only contain [A-Z0-9_]. ISO_VOLID!= echo NETBSD_${DISTRIBREV} | tr a-z A-Z MKISOFS_FLAGS+= -J -l -hide-joliet-trans-tbl -r -T \ -V ${ISO_VOLID} \ -publisher "The NetBSD Project" \ -m "${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom" .if ${MKISOFS_FLAGS:N-v} MKISOFS_FLAGS+= -quiet .endif # MD Makefile.inc may append MD targets to BIN[123]. Make sure all # are empty, to preserve the old semantics of setting them below with "+=". # BIN1= BIN2= BIN3= # Directories to build in ${RELEASEDIR}/${RELEASEMACHINEDIR}. # MD Makefile.inc files can add to this. # NOTE: Parent directories must be listed before subdirectories. # INSTALLATION_DIRS= binary binary/sets binary/kernel installation .if exists(etc.${RELEASEMACHINE}/Makefile.inc) .include "etc.${RELEASEMACHINE}/Makefile.inc" .endif # -rw-r--r-- BINOWN= root BINGRP= wheel UTMPGRP= utmp BIN1+= audit-packages.conf bootptab changelist csh.cshrc csh.login \ csh.logout daily daily.conf devfsd.conf dm.conf envsys.conf \ floppytab ftpchroot \ ftpusers gettytab group hosts hosts.lpd inetd.conf lkm.conf \ locate.conf login.conf mailer.conf man.conf monthly monthly.conf \ mrouted.conf named.conf netconfig networks newsyslog.conf \ nsswitch.conf ntp.conf passwd.conf phones printcap profile protocols \ rbootd.conf rc rc.conf rc.lkm rc.local rc.subr rc.shutdown remote rpc \ security security.conf services shells shrc sysctl.conf syslog.conf \ weekly weekly.conf wscons.conf # Use machine-specific disktab if it exists, or the MI one otherwise .if exists(etc.${MACHINE}/disktab) BIN1+= etc.${MACHINE}/disktab .else BIN1+= disktab .endif .if exists(etc.${MACHINE}/ld.so.conf) BIN1+= etc.${MACHINE}/ld.so.conf .endif .if exists(etc.${MACHINE}/ttyaction) BIN1+= etc.${MACHINE}/ttyaction .endif # -rw-rw-r-- .if !empty(DISTRIBVER:M*.99.*) BIN2+= motd.current FILESNAME_motd.current= motd .elif !empty(DISTRIBVER:M*BETA*) BIN2+= motd.beta FILESNAME_motd.beta= motd .elif !empty(DISTRIBVER:M*RC*) BIN2+= motd.rc FILESNAME_motd.rc= motd .elif !empty(DISTRIBVER:M*STABLE*) BIN2+= motd.stable FILESNAME_motd.stable= motd .else BIN2+= motd .endif # -rw------- BIN3+= hosts.equiv SYSPKG= etc ETC_PKG=-T etc_pkg BASE_PKG=-T base_pkg ETC_INSTALL_FILE=cd ${.CURDIR} && ${INSTALL_FILE} ${ETC_PKG} ETC_INSTALL_OBJ_FILE=cd ${.OBJDIR} && ${INSTALL_FILE} ${ETC_PKG} .if ${TARGET_ENDIANNESS} == "1234" PWD_MKDB_ENDIAN= -L .elif ${TARGET_ENDIANNESS} == "4321" PWD_MKDB_ENDIAN= -B .else PWD_MKDB_ENDIAN= .endif # distribution -- # Build a distribution # distribution: .PHONY .MAKE check_DESTDIR distrib-dirs .if !defined(DISTRIBUTION_DONE) .if !defined(INSTALL_DONE) ${MAKEDIRTARGET} ${NETBSDSRCDIR} include _DISTRIB= ${MAKEDIRTARGET} ${NETBSDSRCDIR} install _DISTRIB= .endif # !INSTALL_DONE ${MAKEDIRTARGET} . install-etc-files .if ${MKX11} != "no" ${MAKEDIRTARGET} ${NETBSDSRCDIR}/x11 distribution .endif ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets makesetfiles .endif # !DISTRIBUTION_DONE CLEANFILES+= MAKEDEV MAKEDEV: .EXEC ${_MKTARGET_CREATE} MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ NETBSDSRCDIR=${NETBSDSRCDIR:Q} \ awk -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET} RELEASEVARS= BSDOBJDIR BSDSRCDIR BUILDID \ DESTDIR EXTERNAL_TOOLCHAIN HAVE_GCC HAVE_GDB \ INSTALLWORLDDIR \ KERNARCHDIR KERNCONFDIR KERNOBJDIR KERNSRCDIR \ MACHINE MACHINE_ARCH MAKE MAKECONF MAKEFLAGS \ MAKEOBJDIR MAKEOBJDIRPREFIX MAKEVERBOSE \ MKBFD MKCATPAGES \ MKCRYPTO MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS \ MKDEBUG MKDEBUGLIB MKDOC MKDYNAMICROOT \ MKGCC MKGCCCMDS MKGDB \ MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINET6 MKINFO MKIPFILTER \ MKKERBEROS MKLINKLIB MKLINT \ MKMAN MKMANZ MKNLS MKOBJ MKOBJDIRS \ MKPAM MKPF MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ MKUNPRIVED MKUPDATE MKX11 MKYP \ NBUILDJOBS NETBSDSRCDIR \ NOCLEANDIR NODISTRIBDIRS NOINCLUDES \ OBJMACHINE \ RELEASEDIR TOOLCHAIN_MISSING TOOLDIR \ USETOOLS USR_OBJMACHINE \ X11SRCDIR params: .PHONY .for var in ${RELEASEVARS} .if defined(${var}) @@printf "%20s = '%-s'\n" ${var} ${${var}:Q} .else @@printf "%20s = (undefined)\n" ${var} .endif .endfor CLEANFILES+= etc-release etc-release: .EXEC .MAKE ${_MKTARGET_CREATE} @@( echo "NetBSD ${DISTRIBVER}/${MACHINE}"; \ echo ; \ cat ${NETBSDSRCDIR}/sys/conf/copyright; \ echo ; \ echo "Build settings:"; \ printf "%20s %s\n" "Build date" "$$(date -u)"; \ printf "%20s %s\n" "Built by" "$${USER-root}@@$$(hostname)"; \ echo ; \ (cd ${.CURDIR}; ${MAKE} ${MFLAGS} -j1 params); \ ) >${.OBJDIR}/${.TARGET} install-etc-release: .PHONY etc-release ${_MKMSG_INSTALL} etc/release ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 444 \ etc-release ${DESTDIR}/etc/release FILESDIR= /etc CONFIGFILES= CONFIGSYMLINKS= .for file in ${BIN1} CONFIGFILES+= ${file} FILESMODE_${file:T}= 644 .endfor .for file in ${BIN2} CONFIGFILES+= ${file} FILESMODE_${file:T}= 664 .endfor .for file in ${BIN3} CONFIGFILES+= ${file} FILESMODE_${file:T}= 600 .endfor .if (${MKPOSTFIX} != "no") CONFIGFILES+= aliases FILESDIR_aliases= /etc/mail FILESMODE_aliases= 644 .endif CONFIGFILES+= MAKEDEV.local FILESDIR_MAKEDEV.local= /dev FILESMODE_MAKEDEV.local=${BINMODE} CONFIGFILES+= crontab FILESDIR_crontab= /var/cron/tabs FILESNAME_crontab= root FILESMODE_crontab= 600 CONFIGFILES+= minfree FILESDIR_minfree= /var/crash FILESMODE_minfree= 600 CONFIGSYMLINKS+= ${TZDIR}/${LOCALTIME} /etc/localtime \ /usr/sbin/rmt /etc/rmt # install-etc-files -- # Install etc (config) files; not performed by "make build" # install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV ${_MKMSG_INSTALL} ${DESTDIR}/etc/master.passwd ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ master.passwd ${DESTDIR}/etc ${TOOL_PWD_MKDB} -p ${PWD_MKDB_ENDIAN} -d ${DESTDIR}/ \ ${DESTDIR}/etc/master.passwd .if ${MKUNPRIVED} != "no" ( \ for metaent in passwd pwd.db spwd.db; do \ echo "./etc/$${metaent} type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ done; \ ) | ${METALOG.add} .endif # MKUNPRIVED != no ${_MKMSG_INSTALL} ${DESTDIR}/etc/ttys ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE}/ttys ${DESTDIR}/etc ${_MKMSG_INSTALL} ${DESTDIR}/dev/MAKEDEV ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV ${DESTDIR}/dev .for owner group mode file in \ ${BINOWN} operator 664 /etc/dumpdates \ ${BINOWN} operator 600 /etc/skeykeys \ root wheel 600 /var/at/at.deny \ nobody ${BINGRP} 664 /var/db/locate.database \ ${BINOWN} ${BINGRP} 600 /var/log/authlog \ root wheel 600 /var/log/cron \ ${BINOWN} ${UTMPGRP} 664 /var/log/lastlog \ ${BINOWN} ${UTMPGRP} 664 /var/log/lastlogx \ ${BINOWN} ${BINGRP} 640 /var/log/lpd-errs \ ${BINOWN} ${BINGRP} 600 /var/log/maillog \ ${BINOWN} ${BINGRP} 644 /var/log/messages \ ${BINOWN} ${BINGRP} 600 /var/log/secure \ ${BINOWN} ${UTMPGRP} 664 /var/log/wtmp \ ${BINOWN} ${UTMPGRP} 664 /var/log/wtmpx \ ${BINOWN} ${BINGRP} 600 /var/log/xferlog \ daemon staff 664 /var/msgs/bounds \ ${BINOWN} ${UTMPGRP} 664 /var/run/utmp \ ${BINOWN} ${UTMPGRP} 664 /var/run/utmpx \ games games 664 /var/games/atc_score \ games games 664 /var/games/battlestar.log \ games games 664 /var/games/cfscores \ games games 664 /var/games/criblog \ games games 660 /var/games/hackdir/perm \ games games 660 /var/games/hackdir/record \ games games 664 /var/games/larn/llog12.0 \ games games 664 /var/games/larn/lscore12.0 \ games games 664 /var/games/larn/playerids \ games games 664 /var/games/robots_roll \ games games 664 /var/games/rogue.scores \ games games 664 /var/games/saillog \ games games 664 /var/games/snakerawscores \ games games 664 /var/games/snake.log \ games games 664 /var/games/tetris.scores ${_MKMSG_INSTALL} ${DESTDIR}${file} ${ETC_INSTALL_FILE} -o ${owner} -g ${group} -m ${mode} \ /dev/null ${DESTDIR}${file} .endfor .for subdir in . atf defaults bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh ${MAKEDIRTARGET} ${subdir} configinstall .endfor ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/mail configinstall .if (${MKPF} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.sbin/pf configinstall .endif .if (${MKCRYPTO} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh configinstall .endif .if (${MKPOSTFIX} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall .endif # install-obsolete-lists -- # Install var/db/obsolete set lists; this is performed by "make build" # OBSOLETE.dir= ${.OBJDIR}/obsolete.dir OBSOLETE.files= base comp etc games man misc tests text .if ${MKX11} != "no" OBSOLETE.files+= xbase xcomp xetc xfont xserver .endif install-obsolete-lists: .PHONY .MAKE mkdir -p ${OBSOLETE.dir} .if ${MKX11} != "no" (cd ${NETBSDSRCDIR}/distrib/sets && \ MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) .else (cd ${NETBSDSRCDIR}/distrib/sets && \ MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -t ${OBSOLETE.dir}) .endif .for file in ${OBSOLETE.files} ${_MKMSG_INSTALL} ${DESTDIR}/var/db/obsolete/${file} ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${OBSOLETE.dir}/${file} ${DESTDIR}/var/db/obsolete .endfor # distrib-dirs -- # Populate $DESTDIR with directories needed by NetBSD # .if ${MKUNPRIVED} == "no" TOOL_MTREE.unpriv= .else TOOL_MTREE.unpriv= -W .endif distrib-dirs: .PHONY check_DESTDIR .if !defined(DISTRIBUTION_DONE) # { # XXX: If METALOG=${DESTDIR}/METALOG (as is normal), and if ${DESTDIR} # does not yet exist (as often happens), then the INSTALL_DIR command # immediately below will create ${DESTDIR} but will fail to register # an entry for "." in the metalog. We ignore the problem, because the # TOOL_MTREE commands a little further below will soon register an entry # for "." in the metalog. ${INSTALL_DIR} -o root -g wheel -m 755 ${BASE_PKG} ${DESTDIR} # XXX: It would be nice if a single mtree invocation could both # append to the metalog and do real work. Instead, we have to # repeat the command twice in slightly different ways. ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist -N ${.CURDIR} \ -p ${DESTDIR}/ -U ${TOOL_MTREE.unpriv} .if ${MKUNPRIVED} != "no" # { ${TOOL_MTREE} -def ${.CURDIR}/mtree/NetBSD.dist -N ${.CURDIR} \ -p ${DESTDIR}/ -C -k all | \ awk '/ optional/ {next} // {print}' | ${METALOG.add} .endif # MKUNPRIVED # } .endif # DISTRIBUTION_DONE # } # release, snapshot -- # Build a full distribution including kernels & install media. # release snapshot: .PHONY .MAKE check_DESTDIR check_RELEASEDIR snap_md_post ${MAKEDIRTARGET} ${NETBSDSRCDIR}/distrib/sets sets ${MAKESUMS} -A -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets \ ${KERNEL_SETS:@@.SETS.@@kern-${.SETS.}.tgz@@} ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel '*.gz' # iso-image -- # Standalone target to create a CDROM image after the release # was composed. Should be run after "make release" in src and xsrc. # The do-iso-image is to be called from etc.$MACHINE/Makefile.inc # # Note: At least mkisofs 2.0 should be used. # CDROM_NAME_ADD?= CDROM.image?=${RELEASEDIR}/iso/${MACHINE}cd.iso CDROM.dir= ${.OBJDIR}/cdrom.dir CDROM.pathlist= ${.OBJDIR}/cdrom.pathlist iso-image: .if ${MKISOFS} != true do-iso-image: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-post ${MAKESUMS} -t ${RELEASEDIR}/iso/ '*.iso' @@echo "iso-image created as: ${CDROM.image}" .else do-iso-image: @@echo iso-image: mkisofs not found .endif iso-image-setup: .PHONY check_RELEASEDIR rm -f ${CDROM.pathlist} .for extra in README SOURCE_DATE source .if exists(${RELEASEDIR}/${extra}) echo "${extra}=${RELEASEDIR}/${extra}" >> ${CDROM.pathlist} .endif .endfor echo "${MACHINE}/=${RELEASEDIR}/${RELEASEMACHINEDIR}/" >> ${CDROM.pathlist} mkdir -p ${CDROM.dir} mkdir -p ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom # iso-image-mi -- # Create the image after the MD operations have completed. # iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-pre @@if ! ${MKISOFS} --version; then \ echo "install pkgsrc/sysutils/cdrtools and run 'make iso-image'." ; \ false; \ fi ${MKISOFS} ${MKISOFS_FLAGS} -graft-points -path-list ${CDROM.pathlist} \ -o ${CDROM.image} ${CDROM.dir} # iso-image-md-pre -- # Setup ${CDROM.dir} to produce a bootable CD image. # Overridden by etc.$MACHINE/Makefile.inc # iso-image-md-pre: .PHONY check_DESTDIR check_RELEASEDIR iso-image-setup # (empty -- look in the machine-dependent Makefile.inc) # iso-image-md-post -- # Fixup the CD-image to be bootable. # Overridden by etc.$MACHINE/Makefile.inc # iso-image-md-post: .PHONY check_DESTDIR check_RELEASEDIR iso-image-mi # (empty -- look in the machine-dependent Makefile.inc) # snap_pre -- # Create ${RELEASEDIR} and necessary subdirectories. # snap_pre: .PHONY check_DESTDIR check_RELEASEDIR distribution ${INSTALL} -d -m 755 ${RELEASEDIR} .if ${MKUPDATE} == "no" # Could be a mount point, ignore the errors -/bin/rm -rf ${RELEASEDIR}/${RELEASEMACHINEDIR} .endif ${INSTALL} -d -m 755 ${RELEASEDIR}/${RELEASEMACHINEDIR} .for dir in ${INSTALLATION_DIRS} ${INSTALL} -d -m 755 ${RELEASEDIR}/${RELEASEMACHINEDIR}/${dir} .endfor # snap_post -- # Build the install media and notes from distrib # snap_post: .PHONY .MAKE build_kernelsets build_releasekernels .if ${MKUPDATE} == "no" cd ${NETBSDSRCDIR}/distrib && ${MAKE} cleandir .endif cd ${NETBSDSRCDIR}/distrib && ${MAKE} depend && ${MAKE} && \ ${MAKE} release # build kernels -- # This target builds the kernels specified by each port. # A port may specify the following kernels: # # KERNEL_SETS The list of kernels that will be # packaged into sets, named # kern-${kernel}.tgz. These kernels # are also placed in the binary/kernel # area of the release package as # netbsd-${kernel}.gz. # # EXTRA_KERNELS Additional kernels to place in the # binary/kernel area of the release # package as netbsd-${kernel}.gz, but # which are not placed into sets. This # allows a port to provide e.g. a netbootable # installation kernel containing a ramdisk. # # BUILD_KERNELS Additional kernels to build which are # not placed into sets nor into the # binary/kernel area of the release # package. These are typically kernels # that are built for inclusion only in # installation disk/CD-ROM/tape images. # # A port may also specify KERNEL_SUFFIXES, which is an optional list # of filename suffixes for kernels to include in the kernel sets and # in the binary/kernel area of the release package (e.g. "netbsd" vs. # "netbsd.ecoff" and "netbsd.srec"). It is not an error if kernels # with these suffixes do not exist in the kernel build directory. # # # A list of all the kernels to build, which can be overridden from # external sources (such as make(1)'s environment or command line) # ALL_KERNELS?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS} GETKERNELAWK= awk '/^config/ {print $$2; found=1} \ END{ if (found == 0) print "netbsd"; }' build_kernels: .PHONY # Configure & compile kernels listed in ${ALL_KERNELS} # # The 'sync' is so that all writes during the build are pushed back # to the disk. Not having it causes problems on some host systems # (e.g. Linux) when building on NFS. # .if !defined(KERNELS_DONE) # { .for configfile in ${ALL_KERNELS} # { build_kernels: kern-${configfile} kern-${configfile}: .PHONY .MAKE cd ${KERNCONFDIR} && ${TOOL_CONFIG} -s ${KERNSRCDIR} \ -b ${KERNOBJDIR}/${configfile:C/.*\///} ${configfile} .if ${MKUPDATE} == "no" cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean .endif cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE} sync .endfor # ALL_KERNELS # } .endif # KERNELS_DONE # } build_kernelsets: .PHONY # Create kernel sets from ${KERNEL_SETS} into # ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets # .for configfile in ${KERNEL_SETS} # { build_kernelsets: kernset-${configfile} kernset-${configfile}: .PHONY build_kernels snap_pre @@ kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile}`; \ kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \ kernsuffixes="${KERNEL_SUFFIXES:S/^/./}"; \ kern_tgz=${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/sets/kern-${configfile}.tgz; \ pax_cmd="GZIP=-9 ${TOOL_PAX} -O -zw -M -N ${NETBSDSRCDIR}/etc -f $${kern_tgz}"; \ cd $${kerndir} && { \ kernels=; newest=; \ for kernel in $${kernlist}; do \ for s in "" $${kernsuffixes}; do \ ks="$${kernel}$${s}"; \ [ -f $${ks} ] || continue; \ kernels="$${kernels} $${ks}"; \ [ -z "$${newest}" -o $${ks} -nt "$${newest}" ] && \ newest=$${ks}; \ done; \ done; \ [ $${kern_tgz} -nt "$${newest}" ] || { \ echo "echo $${kernels} | $${pax_cmd}"; \ ( echo "/set uname=${BINOWN} gname=${BINGRP}"; \ echo ". type=dir optional"; \ for kernel in $${kernels}; do \ echo "./$${kernel} type=file"; \ done ) | eval $${pax_cmd}; \ } \ } .endfor # KERNEL_SETS # } build_releasekernels: .PHONY # Build kernel.gz from ${KERNEL_SETS} ${EXTRA_KERNELS} into # ${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel # .for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} # { build_releasekernels: releasekern-${configfile} releasekern-${configfile}: .PHONY build_kernels snap_pre @@ kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}`; \ kerndir=${KERNOBJDIR}/${configfile:C/.*\///}; \ kernsuffixes="${KERNEL_SUFFIXES:S/^/./}"; \ cd $${kerndir} && { \ for kernel in $${kernlist}; do \ for s in "" $${kernsuffixes}; do \ ks="$${kernel}$${s}"; \ [ ! -f $${ks} ] && continue; \ knl_gz="${RELEASEDIR}/${RELEASEMACHINEDIR}/binary/kernel/$${ks}-${configfile:C/.*\///}.gz"; \ [ $${knl_gz} -nt $${ks} ] && continue; \ echo "gzip -c -9 < $${kerndir}/$${ks} > $${knl_gz}"; \ gzip -c -9 < $${ks} > $${knl_gz}; \ done; \ done; \ } .endfor # KERNEL_SETS EXTRA_KERNELS # } # snap_md_post -- # Machine dependent distribution media operations. # Overridden by etc.$MACHINE/Makefile.inc # snap_md_post: .PHONY check_DESTDIR check_RELEASEDIR snap_post # (empty -- look in the machine-dependent Makefile.inc) clean: -rm -rf ${CDROM.dir} ${CDROM.pathlist} ${OBSOLETE.dir} .include test: @@echo ${OBSOLETE.files} @ 1.348.6.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.349 2008/03/16 07:25:57 lukem Exp $ d194 1 a194 1 RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ @ 1.348.8.1 log @Start where the mjf-devfs branch left off. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.348 2007/11/21 16:23:30 njoly Exp $ d92 1 a92 2 csh.logout daily daily.conf devfsd.conf dm.conf envsys.conf \ floppytab ftpchroot \ @ 1.348.8.2 log @Sync with HEAD. @ text @d1 1 a1 1 # $NetBSD$ d195 1 a195 3 RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS \ USE_PAM USE_SKEY USE_YP \ @ 1.348.8.3 log @Sync with HEAD. @ text @d187 1 a187 1 MKKERBEROS MKLDAP MKLINKLIB MKLINT \ d196 1 a196 1 USE_HESIOD USE_INET6 USE_JEMALLOC USE_KERBEROS USE_LDAP \ a290 5 .if exists(etc.${MACHINE}/boot.cfg) ${_MKMSG_INSTALL} ${DESTDIR}/boot.cfg ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${.CURDIR}/etc.${MACHINE}/boot.cfg ${DESTDIR}/ .endif a334 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/sbin/dhcpcd configinstall a607 1 rm -f $${knl_gz}; \ @ 1.348.8.4 log @Sync with HEAD. @ text @d162 1 a162 3 .if ${MKXORG} != "no" ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/mit/xorg distribution .elif ${MKX11} != "no" d188 1 a188 1 MKMAN MKMANZ MKNLS MKNVI MKOBJ MKOBJDIRS \ d191 1 a191 1 MKUNPRIVED MKUPDATE MKX11 MKXORG MKYP \ d340 1 a340 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/dhcpcd/sbin/dhcpcd configinstall d358 1 a358 1 .if ${MKX11} != "no" || ${MKXORG} != "no" d364 1 a364 1 .if ${MKX11} != "no" || ${MKXORG} != "no" @ 1.348.8.5 log @Sync with HEAD. @ text @d39 1 a39 1 .include # for HOST_SH, TOOL_AWK, ... d94 1 a94 1 ftpusers gettytab group hosts hosts.lpd inetd.conf \ d98 1 a98 1 rbootd.conf rc rc.conf rc.local rc.subr rc.shutdown remote rpc \ d162 1 a162 2 . if ${MKX11} != "no" . if ${X11FLAVOUR} == "Xorg" d164 1 a164 1 . else d166 1 a166 2 . endif . endif d176 1 a176 2 ${TOOL_AWK} -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \ > ${.TARGET} d193 1 a193 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ d201 1 a201 1 X11SRCDIR X11FLAVOUR d360 1 a360 1 .if ${MKX11} != "no" d366 1 a366 1 .if ${MKX11} != "no" d406 1 a406 1 ${TOOL_AWK} '/ optional/ {next} // {print}' | ${METALOG.add} d541 1 a541 1 GETKERNELAWK= ${TOOL_AWK} '/^config/ {print $$2; found=1} \ a634 2 SUBDIR= rc.d a635 1 .include @ 1.347 log @Remove MKUUCP from RELEASEVARS. It is no longer used in src. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.346 2007/11/12 15:02:57 jmmv Exp $ d348 1 a348 1 OBSOLETE.files= base comp etc games man misc text @ 1.346 log @Add the atf configuration files This change adds the directory used by atf to look for its configuration files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.345 2007/07/14 19:53:52 adrianp Exp $ d190 1 a190 1 MKUNPRIVED MKUPDATE MKUUCP MKX11 MKYP \ @ 1.345 log @Add a default audit-packages configuration file for audit-packages (part of pkg_install-20070714) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.344 2007/07/01 11:04:31 xtraeme Exp $ d329 1 a329 1 .for subdir in . defaults bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh @ 1.345.4.1 log @sync with HEAD @ text @d1 1 a1 1 # $NetBSD$ d190 1 a190 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ d329 1 a329 1 .for subdir in . atf defaults bluetooth iscsi mtree namedb pam.d powerd rc.d root skel ssh d348 1 a348 1 OBSOLETE.files= base comp etc games man misc tests text @ 1.345.4.2 log @sync with HEAD @ text @d1 1 a1 1 # Makefile,v 1.345.4.1 2008/01/09 01:29:49 matt Exp d194 1 a194 1 RELEASEDIR RELEASEMACHINEDIR TOOLCHAIN_MISSING TOOLDIR \ @ 1.344 log @Forgot to add envsys.conf. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.343 2007/04/11 20:46:09 bouyer Exp $ d91 6 a96 6 BIN1+= bootptab changelist csh.cshrc csh.login csh.logout daily \ daily.conf dm.conf envsys.conf floppytab ftpchroot ftpusers \ gettytab group hosts hosts.lpd inetd.conf lkm.conf locate.conf \ login.conf mailer.conf man.conf monthly monthly.conf mrouted.conf \ named.conf netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ passwd.conf phones printcap profile protocols \ @ 1.343 log @Sync ISO target directory and name with distrib/common/Makefile.bootcd: target directory is ${RELEASEDIR}/iso/, named ${MACHINE}cd.iso by default. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.342 2007/03/16 21:12:17 bad Exp $ d92 1 a92 1 daily.conf dm.conf floppytab ftpchroot ftpusers \ @ 1.342 log @Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20) can't find the el-torito boot image with the old syntax. This can be fixed by removed the leading "i386/" from the -b argument, but then the mkisofs from the current cdrtools-2.01 package won't find the boot image. Change the graf-point specifications so that a trailing / terminates the grafted directories. This way both versions of mkisofs can find the boot loader. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.341 2007/03/06 21:59:40 bouyer Exp $ d417 1 a417 1 CDROM.image=${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom/netbsd-${MACHINE}${CDROM_NAME_ADD}.iso d425 1 a425 1 ${MAKESUMS} -t ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom '*.iso' @ 1.341 log @Make iso-image do nothing for all but mac68k, which still relies on mkisofs to create bootable ISO image. macppc should also be there, but it seems the code to make an iso bootable never got added in etc.macppc/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.340 2007/03/03 06:36:01 apb Exp $ d439 1 a439 1 echo "${MACHINE}=${RELEASEDIR}/${RELEASEMACHINEDIR}" >> ${CDROM.pathlist} @ 1.340 log @Remove MAKEDEV.subr. This removes the risk of third party scripts (or human procedures) breaking because they assume it's enough to copy MAKEDEV fom one place to another. Let MAKEDEV return after defining shell functions but before doing any real work, if MAKEDEV_AS_LIBRARY is set. Let MAKEDEV.local load MAKEDEV as a function library via "MAKEDEV_AS_LIBRARY=1 . MAKEDEV". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.339 2007/02/26 20:44:03 apb Exp $ d55 3 a57 1 MKISOFS?= mkisofs d412 1 d421 4 a424 1 iso-image: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-post d427 4 @ 1.339 log @Provide a new MAKEDEV.subr file containing utility functions for use by both MAKEDEV and MAKEDEV.local. This allows MAKEDEV.local to accept the same command line arguments as MAKEDEV. The installed MAKEDEV.subr is generated from MAKEDEV.subr.tmpl. Replace the licence on MAKEDEV.local with a NetBSD licence, since I rewrote the entire file. Reviewed by christos and agc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.338 2007/02/04 14:44:34 rpaulo Exp $ d166 1 a166 1 CLEANFILES+= MAKEDEV MAKEDEV.subr a171 6 MAKEDEV.subr: .EXEC ${_MKTARGET_CREATE} MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \ NETBSDSRCDIR=${NETBSDSRCDIR:Q} \ awk -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.subr.tmpl \ > ${.TARGET} d270 1 a270 1 install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV MAKEDEV.subr a288 3 ${_MKMSG_INSTALL} ${DESTDIR}/dev/MAKEDEV.subr ${ETC_INSTALL_OBJ_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.subr ${DESTDIR}/dev @ 1.338 log @Add login.conf. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.337 2006/09/18 22:39:37 hubertf Exp $ d166 1 a166 1 CLEANFILES+= MAKEDEV d172 6 d276 1 a276 1 install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV d295 3 @ 1.337 log @Remove last traces of /var/log/aculog OK'd by perry@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.336 2006/09/14 13:01:31 pavel Exp $ d92 2 a93 2 mailer.conf man.conf monthly monthly.conf mrouted.conf named.conf \ netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ @ 1.337.2.1 log @Pull up following revision(s) (requested by bouyer in ticket #494): sys/arch/i386/conf/GENERIC.MP: revision 1.9 distrib/pc532/cdroms/installcd/Makefile: revision 1.1 distrib/macppc/Makefile: revision 1.15 distrib/ofppc/Makefile: revision 1.2 distrib/ibmnws/Makefile: revision 1.2 distrib/acorn32/Makefile: revision 1.18 distrib/x68k/cdroms/installcd/Makefile: revision 1.1 distrib/sparc/Makefile: revision 1.7 distrib/sparc64/cdroms/Makefile: revision 1.1 distrib/hp300/cdroms/Makefile: revision 1.1 distrib/hpcsh/Makefile: revision 1.6 distrib/ofppc/cdroms/installcd/Makefile: revision 1.1 distrib/playstation2/Makefile: revision 1.13 distrib/news68k/cdroms/installcd/Makefile: revision 1.1 distrib/amiga/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/cdroms/installcd/Makefile: revision 1.1 distrib/playstation2/cdroms/Makefile: revision 1.1 distrib/amiga/cdroms/Makefile: revision 1.1 etc/etc.mac68k/Makefile.inc: revision 1.18 distrib/shark/cdroms/installcd/Makefile: revision 1.1 distrib/hpcmips/Makefile: revision 1.28 distrib/hpcmips/cdroms/Makefile: revision 1.1 distrib/amd64/floppies/Makefile: revision 1.3 sys/arch/amd64/conf/INSTALL_ACPI: file removal distrib/i386/cdroms/Makefile: revision 1.4 distrib/acorn26/cdroms/installcd/Makefile: revision 1.1 distrib/hpcsh/cdroms/Makefile: revision 1.1 distrib/prep/cdroms/Makefile: revision 1.1 distrib/pc532/Makefile: revision 1.4 distrib/acorn32/cdroms/installcd/Makefile: revision 1.1 distrib/sun2/Makefile: revision 1.8 distrib/vax/Makefile: revision 1.17 distrib/sparc64/cdroms/installcd/Makefile: revision 1.1 distrib/pmax/cdroms/Makefile: revision 1.1 distrib/mipsco/cdroms/installcd/Makefile: revision 1.1 distrib/sun3/cdroms/installcd/Makefile: revision 1.1 distrib/vax/cdroms/installcd/Makefile: revision 1.1 distrib/hpcarm/cdroms/installcd/Makefile: revision 1.1 distrib/mvme68k/Makefile: revision 1.4 distrib/mvmeppc/cdroms/Makefile: revision 1.1 distrib/newsmips/Makefile: revision 1.4 sys/arch/i386/conf/GENERIC.MPACPI: file removal distrib/hpcarm/cdroms/Makefile: revision 1.1 distrib/evbppc/cdroms/Makefile: revision 1.1 sys/arch/i386/conf/INSTALL_LARGE: revision 1.1 distrib/i386/cdroms/installcd/Makefile: revision 1.2 distrib/i386/cdroms/installcd/Makefile: revision 1.3 doc/CHANGES: revision 1.804 distrib/hpcsh/cdroms/installcd/Makefile: revision 1.1 distrib/i386/cdroms/bootcd/Makefile: revision 1.2 distrib/mvmeppc/cdroms/installcd/Makefile: revision 1.1 distrib/i386/cdroms/bootcd/Makefile: revision 1.3 distrib/evbarm/Makefile: revision 1.8 distrib/mvmeppc/Makefile: revision 1.3 distrib/i386/cdroms/bootcd-com/Makefile: revision 1.2 distrib/i386/cdroms/bootcd-com/Makefile: revision 1.3 distrib/macppc/cdroms/installcd/Makefile: revision 1.1 distrib/acorn26/cdroms/Makefile: revision 1.1 distrib/alpha/cdroms/Makefile: revision 1.1 distrib/hp300/cdroms/installcd/Makefile: revision 1.1 distrib/amd64/floppies/bootfloppy/Makefile: revision 1.4 distrib/pmppc/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/Makefile: revision 1.2 distrib/pmppc/Makefile: revision 1.2 distrib/arc/cdroms/Makefile: revision 1.1 sys/arch/amd64/conf/INSTALL: revision 1.66 distrib/sun3/cdroms/Makefile: revision 1.1 distrib/mipsco/Makefile: revision 1.4 distrib/sun3/Makefile: revision 1.9 distrib/vax/cdroms/Makefile: revision 1.1 distrib/pmppc/cdroms/Makefile: revision 1.1 distrib/amd64/cdroms/Makefile.cdrom: revision 1.1 distrib/atari/cdroms/installcd/Makefile: revision 1.1 distrib/evbppc/cdroms/installcd/Makefile: revision 1.1 distrib/newsmips/cdroms/installcd/Makefile: revision 1.1 distrib/pmax/Makefile: revision 1.4 Makefile: revision 1.247 distrib/cats/cdroms/installcd/Makefile: revision 1.1 sys/arch/amd64/conf/GENERIC: revision 1.130 sys/arch/amd64/conf/GENERIC: revision 1.131 distrib/sgimips/cdroms/installcd/Makefile: revision 1.1 distrib/hp700/cdroms/Makefile: revision 1.1 distrib/cats/cdroms/Makefile: revision 1.1 distrib/evbmips/Makefile: revision 1.3 distrib/evbmips/Makefile: revision 1.4 sys/arch/amd64/conf/GENERIC_ACPI: file removal distrib/ews4800mips/Makefile: revision 1.2 distrib/amd64/cdroms/bootcd-com/Makefile: revision 1.2 distrib/i386/Makefile: revision 1.5 distrib/amd64/cdroms/installcd/Makefile: revision 1.2 distrib/mvme68k/cdroms/installcd/Makefile: revision 1.1 distrib/alpha/cdroms/installcd/Makefile: revision 1.1 etc/etc.amd64/Makefile.inc: revision 1.7 distrib/i386/instkernel/Makefile: revision 1.6 distrib/x68k/cdroms/Makefile: revision 1.1 distrib/i386/cdroms/Makefile.cdrom: revision 1.1 distrib/sandpoint/Makefile: revision 1.4 distrib/i386/cdroms/Makefile.cdrom: revision 1.2 distrib/amiga/Makefile: revision 1.3 distrib/amd64/cdroms/bootcd/Makefile: revision 1.2 distrib/news68k/Makefile: revision 1.4 distrib/amd64/floppies/bootfloppy-com/Makefile: revision 1.5 distrib/news68k/cdroms/Makefile: revision 1.1 distrib/sparc/cdroms/Makefile: revision 1.1 distrib/shark/cdroms/Makefile: revision 1.1 etc/Makefile: revision 1.341 distrib/amd64/instkernel/Makefile: revision 1.2 distrib/sparc64/Makefile: revision 1.7 distrib/dreamcast/cdroms/Makefile: revision 1.1 distrib/shark/Makefile: revision 1.3 distrib/ews4800mips/cdroms/Makefile: revision 1.1 distrib/sun2/cdroms/installcd/Makefile: revision 1.1 distrib/shark/Makefile: revision 1.4 distrib/macppc/cdroms/Makefile: revision 1.1 distrib/mvme68k/cdroms/Makefile: revision 1.1 distrib/sun2/cdroms/Makefile: revision 1.1 distrib/hpcarm/Makefile: revision 1.3 distrib/arc/cdroms/installcd/Makefile: revision 1.1 distrib/hpcmips/cdroms/installcd/Makefile: revision 1.1 distrib/mipsco/cdroms/Makefile: revision 1.1 distrib/Makefile.inc: revision 1.9 distrib/playstation2/cdroms/installcd/Makefile: revision 1.1 distrib/ibmnws/cdroms/installcd/Makefile: revision 1.1 distrib/newsmips/cdroms/Makefile: revision 1.1 distrib/arc/Makefile: revision 1.3 distrib/sparc/cdroms/installcd/Makefile: revision 1.1 distrib/evbmips/cdroms/installcd/Makefile: revision 1.1 distrib/ews4800mips/cdroms/installcd/Makefile: revision 1.1 distrib/prep/Makefile: revision 1.3 distrib/ibmnws/cdroms/Makefile: revision 1.1 distrib/sandpoint/cdroms/Makefile: revision 1.1 distrib/atari/Makefile: revision 1.6 distrib/sgimips/cdroms/Makefile: revision 1.1 distrib/amd64/Makefile: revision 1.4 distrib/atari/cdroms/Makefile: revision 1.1 distrib/x68k/Makefile: revision 1.5 distrib/x68k/Makefile: revision 1.6 distrib/sandpoint/cdroms/installcd/Makefile: revision 1.1 distrib/evbarm/cdroms/Makefile: revision 1.1 distrib/acorn32/cdroms/Makefile: revision 1.1 distrib/cats/Makefile: revision 1.3 distrib/evbmips/cdroms/Makefile: revision 1.1 distrib/pc532/cdroms/Makefile: revision 1.1 distrib/Makefile: revision 1.14 distrib/evbarm/cdroms/installcd/Makefile: revision 1.1 distrib/ofppc/cdroms/Makefile: revision 1.1 distrib/amd64/cdroms/Makefile: revision 1.3 distrib/common/Makefile.bootcd: revision 1.8 distrib/i386/cdroms/bootcd-laptop/Makefile: file removal sys/arch/i386/conf/GENERIC: revision 1.813 distrib/hp300/Makefile: revision 1.17 sys/arch/i386/conf/GENERIC: revision 1.814 distrib/evbppc/Makefile: revision 1.2 distrib/pmax/cdroms/installcd/Makefile: revision 1.1 etc/etc.i386/Makefile.inc: revision 1.49 distrib/sgimips/Makefile: revision 1.2 distrib/prep/cdroms/installcd/Makefile: revision 1.1 distrib/acorn26/Makefile: revision 1.4 distrib/dreamcast/cdroms/installcd/Makefile: revision 1.1 distrib/alpha/Makefile: revision 1.22 distrib/dreamcast/Makefile: revision 1.2 Improve the use of makefs to build boot CDs, and make it truely MI: - allow to specify the "instkernel" directory, and allow to put multiple kernels on the image - allow to specify the directory where the image will be created - only use bootxx_cd9660 if it exists - search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to usr/mdec/boot - make 'installboot -e' optional - use target 'release' or 'iso_image' depending on ${CDRELEASE} - call some MD targets, which will eventually complete the file list or make the image bootable For the benefit of modern hardware, enable ACPI by default in INSTALL and GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and 'disable acpi' should be a workaround. ACPI-enabled kernels works fine on pre-acpi hardware. for amd64: - add ACPI to INSTALL and GENERIC, remove the *_ACPI config files. - get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot image for i386: - introduce INSTALL_LARGE which has ACPI and some devices with big firmware - move some devices from INSTALL to INSTALL_LARGE - Boot floppies still use INSTALL, and bootfloppy-big.fs is still there (for thoses who want to build el-torito floppy emulation boot CD) and use INSTALL. For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll use something else to build bootable CDs. Add an iso_image target (iso-image as a target name doesn't play well with bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for: alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax. mac68k/macppc no there yet because of missing feature in makefs. call iso_image in distrib/ for iso-image in the top Makefile. Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO images. amd64 gets a single kernel; i386 images gets 3 kernels: - netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default - nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz - nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal non-ACPI kernel - drop the bootcd-laptop image both gets an installcd image, which is the same as bootcd but with the binary sets in addition to kernels. Make iso-image do nothing for all but mac68k, which still relies on mkisofs to create bootable ISO image. macppc should also be there, but it seems the code to make an iso bootable never got added in etc.macppc/ Fix typo in subdir name. Revert local changes that went in accidentally with the "add ACPI" commit. Note ACPI by default in i386/amd64, and the iso-image changes. Fix SUBDIR in previous Remove duplicate ACPIVERBOSE and ACPI_SCANPCI; pointed out by Nicolas Joly. Correct typo: the directory is named cdroms, not cdrom. Use nblaptop and nbnoacpi for the alternative kernel names; as suggected by Alan Barrett. While there factor out the kernels in Makefile.cdrom. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.337 2006/09/18 22:39:37 hubertf Exp $ d55 1 a55 3 .if !defined(MKISOFS) MKISOFS!= (which mkisofs || echo true) .endif a409 1 # The do-iso-image is to be called from etc.$MACHINE/Makefile.inc d418 1 a418 4 iso-image: .if ${MKISOFS} != true do-iso-image: .PHONY check_DESTDIR check_RELEASEDIR iso-image-md-post a420 4 .else do-iso-image: @@echo iso-image: mkisofs not found .endif @ 1.337.2.2 log @Pull up following revision(s) (requested by bad in ticket #557): etc/etc.sgimips/Makefile.inc: revision 1.15 etc/Makefile: revision 1.342 Handle mkisofs from recent cdrtool for el-torito boot image. Sync sgimips's Makefile (cosmetic only). @ text @d1 1 a1 1 # $NetBSD$ d439 1 a439 1 echo "${MACHINE}/=${RELEASEDIR}/${RELEASEMACHINEDIR}/" >> ${CDROM.pathlist} @ 1.337.2.2.2.1 log @Sync with netbsd-4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.337.2.4 2008/02/02 03:37:16 riz Exp $ d94 2 a95 2 login.conf mailer.conf man.conf monthly monthly.conf mrouted.conf \ named.conf netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ d190 1 a190 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ @ 1.337.2.3 log @Pull up following revision(s) (requested by minskim in ticket #1005): etc/Makefile: revision 1.347 Remove MKUUCP from RELEASEVARS. It is no longer used in src. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.337.2.2 2007/04/06 18:47:19 bouyer Exp $ d190 1 a190 1 MKUNPRIVED MKUPDATE MKX11 MKYP \ @ 1.337.2.4 log @Pull up following revision(s) (requested by elad in ticket #1012): etc/login.conf: revision 1.1 etc/login.conf: revision 1.2 etc/Makefile: revision 1.338 distrib/sets/lists/etc/mi: revision 1.186 Add an commented out login.conf with a simple example based on OpenBSD. Requested by Elad. Add login.conf. Add /usr/pkg/{,s}bin to the default path for the default class for login.conf. Add /etc/login.conf. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.337.2.3 2008/02/01 14:45:14 riz Exp $ d94 2 a95 2 login.conf mailer.conf man.conf monthly monthly.conf mrouted.conf \ named.conf netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ @ 1.336 log @Factor out common settings from /root/.shrc and /etc/skel/.shrc to a new file /etc/shrc. As proposed on tech-userlevel. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.335 2006/08/13 14:11:36 jmmv Exp $ a293 1 uucp dialer 640 /var/log/aculog \ @ 1.335 log @Add a "how to report bugs" message for STABLE branches too, as they really are development snapshots (although not as "bleeding edge" as current). Per tron@@'s suggestion. This way we get consistent messages along the development process. Otherwise, STABLE could carry no message while a RC could, disappearing again after the real formal release. With this change only formal releases do not carry any special message in motd. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.334 2006/08/05 13:07:30 jmmv Exp $ d96 1 a96 1 security security.conf services shells sysctl.conf syslog.conf \ @ 1.334 log @When using a development version of the system (be it current, a beta or a release candidate), tell the user that he might expect problems and how to effectively report them to the developers. No objections in tech-userlevel@@; only positive responses. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.333 2006/07/23 11:44:55 lukem Exp $ d124 3 @ 1.334.2.1 log @Pull up following revision(s) (requested by jmmv in ticket #20): etc/motd.stable: revision 1.1 etc/Makefile: revision 1.335 Add a "how to report bugs" message for STABLE branches too, as they really are development snapshots (although not as "bleeding edge" as current). Per tron@@'s suggestion. This way we get consistent messages along the development process. Otherwise, STABLE could carry no message while a RC could, disappearing again after the real formal release. With this change only formal releases do not carry any special message in motd. @ text @d1 1 a1 1 # $NetBSD$ a123 3 .elif !empty(DISTRIBVER:M*STABLE*) BIN2+= motd.stable FILESNAME_motd.stable= motd @ 1.333 log @document MKDEBUG MKDEBUGLIB in /etc/release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.332 2006/07/12 13:12:03 lukem Exp $ d115 10 d126 1 @ 1.332 log @add HAVE_GCC and HAVE_GDB to etc/release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.331 2006/07/03 05:37:00 lukem Exp $ d167 2 a168 1 MKDOC MKDYNAMICROOT MKGCC MKGCCCMDS MKGDB \ @ 1.331 log @Use -publisher instead of -P, since mkisofs 2.01 whines about the latter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.330 2006/06/27 12:34:54 christos Exp $ d160 1 a160 1 DESTDIR EXTERNAL_TOOLCHAIN \ @ 1.330 log @PR/33837: Bucky Katz: crossbuild of release fails because $MAKE not passed @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.329 2006/06/19 15:44:35 gdamore Exp $ d61 1 a61 1 -P "The NetBSD Project" \ @ 1.329 log @Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@@, NetBSD Foundation Membership still pending.) This stack was written by Iain under sponsorship from Itronix Inc. The stack includes support for rfcomm networking (networking via your bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets. Drivers for both PCMCIA and USB bluetooth controllers are included. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.328 2006/06/09 12:09:46 tron Exp $ d48 1 a48 1 MAKESUMS= CKSUM=${CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums @ 1.328 log @Don't create "/etc/mail/local-host-names" anymore after "sendmail" has been removed from the base distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.327 2006/06/08 11:05:31 tron Exp $ d313 1 a313 1 .for subdir in . defaults iscsi mtree namedb pam.d powerd rc.d root skel ssh @ 1.327 log @Don't install "/etc/mail/aliases" if "MKPOSTFIX" is set to "no". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.326 2006/05/30 00:40:22 christos Exp $ a275 1 ${BINOWN} ${BINGRP} 644 /etc/mail/local-host-names \ @ 1.326 log @Remove sendmail (approved by core) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.325 2006/03/20 04:03:21 christos Exp $ d229 1 d233 1 @ 1.325 log @Goodbye KerberosIV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.324 2006/02/17 22:09:33 dsl Exp $ a19 1 # MKSENDMAIL; if not `no', install sendmail configuration d172 1 a172 1 MKSENDMAIL MKSHARE MKSKEY MKSOFTFLOAT MKSTATICLIB \ a286 1 ${BINOWN} ${BINGRP} 644 /var/log/sendmail.st \ a324 3 .if (${MKSENDMAIL} != "no") ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf configinstall .endif @ 1.324 log @A version of etc/Makefile that doesn't contain the word WAIT. Only slightly dissimilar to the one Chuck Silvers posted to tech-toolchain. Builds are now likely to proceed as far as running out of space in the install media. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.323 2006/02/15 21:59:08 dsl Exp $ d170 1 a170 1 MKKERBEROS4 MKKERBEROS MKLINKLIB MKLINT \ @ 1.323 log @Add some more .MAKE so that we don't run multiple parallel makes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.322 2006/02/11 20:56:29 dsl Exp $ a43 5 # XXX: .WAIT doesn't work the way this makefile needs it to. # So until that is fixed. # Actually that isn't enough either.... snap_pre must not depend on anything .NOTPARALLEL: d139 1 a139 1 distribution: .PHONY .MAKE check_DESTDIR .WAIT distrib-dirs d390 1 a390 4 release snapshot: .PHONY .MAKE check_DESTDIR check_RELEASEDIR .WAIT \ distribution .WAIT \ snap_pre .WAIT snap_kern .WAIT \ snap_post .WAIT snap_md_post d408 1 a408 1 iso-image: .PHONY check_DESTDIR check_RELEASEDIR .WAIT iso-image-md-post d426 1 a426 2 iso-image-mi: .PHONY check_DESTDIR check_RELEASEDIR .WAIT \ iso-image-setup .WAIT iso-image-md-pre d438 1 a438 1 iso-image-md-pre: .PHONY check_DESTDIR check_RELEASEDIR d445 1 a445 1 iso-image-md-post: .PHONY check_DESTDIR check_RELEASEDIR .WAIT iso-image-mi d452 1 a452 1 snap_pre: .PHONY # check_DESTDIR check_RELEASEDIR d466 1 a466 1 snap_post: .PHONY .MAKE check_DESTDIR check_RELEASEDIR d473 1 a473 1 # snap_kern -- d513 1 a513 3 .if !target(snap_kern) # { # build_kernels -- d522 1 a522 1 _KERNELS_TO_BUILD+=kern-${configfile} d534 1 a534 3 build_kernels: .PHONY ${_KERNELS_TO_BUILD} # build_kernelsets -- d539 2 a540 2 _KERNELSETS_TO_BUILD+=kernset-${configfile} kernset-${configfile}: .PHONY d568 1 a568 3 build_kernelsets: ${_KERNELSETS_TO_BUILD} # build_releasekernels -- d573 2 a574 2 _RELEASEKERNELS_TO_BUILD+=releasekern-${configfile} releasekern-${configfile}: .PHONY a591 12 build_releasekernels: ${_RELEASEKERNELS_TO_BUILD} # snap_kern -- # build the kernels, then the sets & release kernels # snap_kern: .PHONY check_DESTDIR check_RELEASEDIR .WAIT \ build_kernels .WAIT \ build_kernelsets build_releasekernels .endif # !target(snap_kern) # } d596 1 a596 1 snap_md_post: .PHONY check_DESTDIR check_RELEASEDIR @ 1.322 log @Remove the dependencies against 'check_DESTDIR' and 'check_RELEASEDIR' from snap_pre so that make will execute it before building the kernels. This is all because .WAIT doesn't recursively apply to dependencies. Add some .PHONY and .MAKE so that child makes use the same job pipe. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.321 2006/02/08 19:02:58 agc Exp $ d144 1 a144 1 distribution: .PHONY check_DESTDIR .WAIT distrib-dirs d259 1 a259 1 install-etc-files: .PHONY check_DESTDIR MAKEDEV d395 1 a395 1 release snapshot: .PHONY check_DESTDIR check_RELEASEDIR .WAIT \ @ 1.321 log @Add distribution entries and supporting files for the iSCSI target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.320 2006/01/29 14:03:59 apb Exp $ d46 1 d197 1 a197 1 etc-release: .EXEC d346 1 a346 1 install-obsolete-lists: .PHONY d461 1 a461 1 snap_pre: .PHONY check_DESTDIR check_RELEASEDIR d475 1 a475 1 snap_post: .PHONY check_DESTDIR check_RELEASEDIR d534 1 a534 1 kern-${configfile}: .PHONY d612 1 a612 1 snap_kern: check_DESTDIR check_RELEASEDIR .WAIT \ d623 1 a623 1 snap_md_post: check_DESTDIR check_RELEASEDIR @ 1.320 log @mkisofs is in pkgsrc/sysutils/cdrtools now, not pkgsrc/sysutils/cdrecord. Reported by Jukka Salmi. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.319 2006/01/28 21:37:11 apb Exp $ d318 1 a318 1 .for subdir in . defaults mtree namedb pam.d powerd rc.d root skel ssh @ 1.319 log @Explicitly include ${.OBJDIR} in the definition of CDROM.dir and CDROM.pathlist. This probably makes no difference, but is less confusing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.318 2006/01/22 20:19:52 dsl Exp $ d57 1 a57 1 # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord d436 1 a436 1 echo "install pkgsrc/sysutils/cdrecord and run 'make iso-image'." ; \ @ 1.318 log @Until someone fixes .WAIT (see PR/32594) add a .NOTPARALLEL so that we don't try to build the kernel sets before the kernel itself is built. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.317 2006/01/04 15:27:12 apb Exp $ d412 2 a413 2 CDROM.dir= cdrom.dir CDROM.pathlist= cdrom.pathlist @ 1.317 log @After running ${TOOL_MTREE} to create directories from the specification in .../mtree/NetBSD.dist, run ${TOOL_MTREE} again with different args to register the new directories in the metalog. Previously, these directories were not mentioned at all in the metalog. Reviewed by agc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.316 2005/10/22 05:46:06 hubertf Exp $ d44 3 @ 1.316 log @Fix comment: "Below", variables are assigned with += not = @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.315 2005/10/07 17:22:12 jmc Exp $ d368 7 a374 1 .if !defined(DISTRIBUTION_DONE) d376 3 a378 1 .endif d381 6 a386 1 @ 1.315 log @After building sets, make sure and checksum the kern-* files in binary/sets. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.314 2005/08/30 10:58:33 tron Exp $ d71 1 a71 1 # are empty, to preserve the old semantics of setting them below with "=". @ 1.314 log @Move "named.conf" example configuration to "/etc" because that is where named(8) looks for it. You can now really get a caching name server by simply setting "named=yes" in "/etc/rc.conf" as documented in The NetBSD Guide. This fixes PR bin/30662 by Christian Hattemer. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.313 2005/05/22 14:34:20 lukem Exp $ d383 2 @ 1.313 log @Consistently use 0664 root:utmp for /var/log/{lastlog,wtmp}{,x}. Rest of PR 18670. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.312 2005/04/17 15:15:48 lukem Exp $ d94 1 a94 1 mailer.conf man.conf monthly monthly.conf mrouted.conf \ @ 1.312 log @Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall (and the base.tgz set). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.311 2005/03/28 03:13:39 lukem Exp $ d283 2 a284 2 ${BINOWN} ${BINGRP} 664 /var/log/lastlog \ ${BINOWN} ${BINGRP} 664 /var/log/lastlogx \ d290 2 a291 2 ${BINOWN} ${BINGRP} 644 /var/log/wtmp \ ${BINOWN} ${BINGRP} 644 /var/log/wtmpx \ @ 1.311 log @Install all obsolete X11 sets (even empty ones). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.310 2005/03/25 20:15:20 tron Exp $ a230 3 CONFIGFILES+= postinstall FILESMODE_postinstall= ${BINMODE} @ 1.310 log @We must check for "${MACHINE}" and not "${MACHINE_ARCH}" of course to decide about port specific obsolete lists. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.309 2005/03/24 20:23:55 tron Exp $ d342 1 a342 8 OBSOLETE.files+= xbase xcomp xfont .if ${MACHINE} == "amd64" || \ ${MACHINE} == "cats" || \ ${MACHINE} == "i386" || \ ${MACHINE} == "macppc" || \ ${MACHINE} == "sgimips" OBSOLETE.files+= xserver .endif @ 1.309 log @Checking for the file "xserver" in "${OBSOLETE.dir}" doesn't work because the check will be done before the target which is used to create that file. So simply add "xserver" to "${OBSOLETE.file}" based on the architecture. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.308 2005/03/24 09:07:17 martin Exp $ d343 5 a347 5 .if ${MACHINE_ARCH} == "amd64" || \ ${MACHINE_ARCH} == "cats" || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "macppc" || \ ${MACHINE_ARCH} == "sgimips" @ 1.308 log @Make var/db/obsolete/xserver optional. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.307 2005/03/21 23:09:39 tron Exp $ d343 5 a347 2 .if exists(${OBSOLETE.dir}/xserver) # not all archs have obsolete files for the xserver set d622 3 @ 1.307 log @Add support for handling obsolete X11 files and directories. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.306 2005/03/08 07:39:30 martin Exp $ d342 5 a346 1 OBSOLETE.files+= xbase xcomp xfont xserver @ 1.306 log @Remove ${MACHINE} from the volume name of iso images - our new naming sheme makes the field overflow even on archs where ${MACHINE} is pretty short. Also rearange MKISOFS_FLAGS so that they default to -quiet unless the user explicitly asks for -v. Add -hide-joliet-trans-tbl to get rid of the TRANS.TBL files on modern OSs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.305 2005/03/04 16:16:00 christos Exp $ d341 3 d347 4 d353 1 @ 1.306.2.1 log @Pull up revision 1.307 (requested by jmc in ticket #114): Add support for handling obsolete X11 files and directories. @ text @d1 1 a1 1 # $NetBSD$ a340 3 .if ${MKX11} != "no" OBSOLETE.files+= xbase xcomp xfont xserver .endif a343 4 .if ${MKX11} != "no" (cd ${NETBSDSRCDIR}/distrib/sets && \ MAKE=${MAKE:Q} ${HOST_SH} ./makeobsolete -b -t ${OBSOLETE.dir}) .else a345 1 .endif @ 1.306.2.2 log @Pull up revision 1.308 (requested by jmc in ticket #114): Make var/db/obsolete/xserver optional. @ text @d342 1 a342 5 OBSOLETE.files+= xbase xcomp xfont .if exists(${OBSOLETE.dir}/xserver) # not all archs have obsolete files for the xserver set OBSOLETE.files+= xserver .endif @ 1.306.2.3 log @Pull up revision 1.309 (requested by jmc in ticket #114): Checking for the file "xserver" in "${OBSOLETE.dir}" doesn't work because the check will be done before the target which is used to create that file. So simply add "xserver" to "${OBSOLETE.file}" based on the architecture. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.306.2.2 2005/04/06 22:16:02 tron Exp $ d343 2 a344 5 .if ${MACHINE_ARCH} == "amd64" || \ ${MACHINE_ARCH} == "cats" || \ ${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "macppc" || \ ${MACHINE_ARCH} == "sgimips" a618 3 test: @@echo ${OBSOLETE.files} @ 1.306.2.4 log @Pull up revision 1.310 (requested by jmc in ticket #114): We must check for "${MACHINE}" and not "${MACHINE_ARCH}" of course to decide about port specific obsolete lists. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.306.2.3 2005/04/06 22:20:04 tron Exp $ d343 5 a347 5 .if ${MACHINE} == "amd64" || \ ${MACHINE} == "cats" || \ ${MACHINE} == "i386" || \ ${MACHINE} == "macppc" || \ ${MACHINE} == "sgimips" @ 1.306.2.5 log @Pull up revision 1.311 (requested by jmc in ticket #114): Install all obsolete X11 sets (even empty ones). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.306.2.4 2005/04/06 22:21:00 tron Exp $ d342 8 a349 1 OBSOLETE.files+= xbase xcomp xetc xfont xserver @ 1.306.2.6 log @Pull up revision 1.312 (requested by lukem in ticket #164): Move /etc/postinstall (and the etc.tgz set) to /usr/sbin/postinstall (and the base.tgz set). @ text @d1 1 a1 1 # $NetBSD$ d231 3 @ 1.306.2.7 log @Pull up following revision(s) (requested by jwise in ticket #725): etc/named.conf: revision 1.1 etc/namedb/named.conf: file removal etc/namedb/Makefile: revision 1.2 etc/Makefile: revision 1.314 distrib/sets/lists/etc/mi: revision 1.159 Move "named.conf" example configuration to "/etc" because that is where named(8) looks for it. You can now really get a caching name server by simply setting "named=yes" in "/etc/rc.conf" as documented in The NetBSD Guide. This fixes PR bin/30662 by Christian Hattemer. @ text @d94 1 a94 1 mailer.conf man.conf monthly monthly.conf mrouted.conf named.conf \ @ 1.306.2.8 log @Pull up following revision(s) (requested by lukem in ticket #871): etc/mtree/special: revision 1.87 etc/Makefile: revision 1.313 Consistently use 0664 root:utmp for /var/log/{lastlog,wtmp}{,x}. Rest of PR 18670. @ text @d283 2 a284 2 ${BINOWN} ${UTMPGRP} 664 /var/log/lastlog \ ${BINOWN} ${UTMPGRP} 664 /var/log/lastlogx \ d290 2 a291 2 ${BINOWN} ${UTMPGRP} 664 /var/log/wtmp \ ${BINOWN} ${UTMPGRP} 664 /var/log/wtmpx \ @ 1.306.2.9 log @Pull up following revision(s) (requested by jmmv in ticket #1450): etc/Makefile: revision 1.334 etc/motd.rc: revision 1.1 etc/motd.current: revision 1.1 etc/motd.beta: revision 1.1 When using a development version of the system (be it current, a beta or a release candidate), tell the user that he might expect problems and how to effectively report them to the developers. No objections in tech-userlevel@@; only positive responses. @ text @a116 10 .if !empty(DISTRIBVER:M*.99.*) BIN2+= motd.current FILESNAME_motd.current= motd .elif !empty(DISTRIBVER:M*BETA*) BIN2+= motd.beta FILESNAME_motd.beta= motd .elif !empty(DISTRIBVER:M*RC*) BIN2+= motd.rc FILESNAME_motd.rc= motd .else a117 1 .endif @ 1.306.2.10 log @Pull up following revision(s) (requested by jmmv in ticket #1464): etc/motd.stable: revision 1.1 etc/Makefile: revision 1.335 Add a "how to report bugs" message for STABLE branches too, as they really are development snapshots (although not as "bleeding edge" as current). Per tron@@'s suggestion. This way we get consistent messages along the development process. Otherwise, STABLE could carry no message while a RC could, disappearing again after the real formal release. With this change only formal releases do not carry any special message in motd. @ text @a125 3 .elif !empty(DISTRIBVER:M*STABLE*) BIN2+= motd.stable FILESNAME_motd.stable= motd @ 1.306.2.11 log @Pull up following revision(s) (requested by bad in ticket #1753): etc/etc.sgimips/Makefile.inc: revision 1.15 etc/Makefile: revision 1.342 Recent versions of mkisofs (I've tested starting with cdrtools-2.01.01a20) can't find the el-torito boot image with the old syntax. This can be fixed by removed the leading "i386/" from the -b argument, but then the mkisofs from the current cdrtools-2.01 package won't find the boot image. Change the graf-point specifications so that a trailing / terminates the grafted directories. This way both versions of mkisofs can find the boot loader. @ text @d422 1 a422 1 echo "${MACHINE}/=${RELEASEDIR}/${RELEASEMACHINEDIR}/" >> ${CDROM.pathlist} @ 1.305 log @Add lastlogx to the list of files created. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.304 2005/02/23 02:10:33 lukem Exp $ d60 2 a61 3 ISO_VOLID!= echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z MKISOFS_FLAGS+= -J -l \ -r -T -v \ d65 4 @ 1.304 log @Only install postfix config if ${MKPOSTFIX} != "no". Based on PR misc/29341 by Takeshi Nakayama @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.303 2005/02/22 14:40:01 peter Exp $ d284 1 @ 1.303 log @Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs, headers and LKM. Add MKPF; if set to no, don't build and install the pf(4) programs, headers, LKM and spamd. Both options default to yes, so nothing changed in the default build. Reviewed by lukem. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.302 2005/01/15 18:18:18 fredb Exp $ d19 1 a320 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix configinstall d324 3 @ 1.302 log @Permit a "README", "SOURCE_DATE", and "source" at the top-level to be added to the CD-ROM (only if they exist), as proposed on tech-install and tech-toolchain without objections. Note, this will "bloat" the CD-ROM image if you have done a "./build.sh sourcesets". If you don't want that, just move "source" out of ${RELEASEDIR} for the "make iso-image". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.301 2005/01/10 02:49:46 lukem Exp $ d166 1 a166 1 MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINET6 MKINFO \ d169 1 a169 1 MKPAM MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ d317 1 d319 1 @ 1.301 log @add MKINET6 to etc/release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.300 2005/01/10 01:17:25 lukem Exp $ d389 5 @ 1.300 log @install-etc-files: also descend into "pam.d" for configinstall @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.299 2005/01/06 00:47:34 lukem Exp $ d166 1 a166 1 MKHESIOD MKHOSTOBJ MKHTML MKIEEEFP MKINFO \ @ 1.299 log @add MKPAM @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.298 2004/11/16 03:51:30 christos Exp $ d313 1 a313 1 .for subdir in . defaults mtree namedb powerd rc.d root skel ssh @ 1.298 log @Add ${.CURDIR}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.297 2004/11/16 02:33:21 christos Exp $ d169 1 a169 1 MKPIC MKPICINSTALL MKPICLIB MKPOSTFIX MKPROFILE \ @ 1.297 log @Use the ttys file from etc.${MACHINE} directly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.296 2004/11/15 16:33:41 he Exp $ d269 1 a269 1 etc.${MACHINE}/ttys ${DESTDIR}/etc @ 1.296 log @Don't leave the stray reference to etc.${MACHINE}/ behind in the ttys file installation command. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.295 2004/11/15 00:28:16 christos Exp $ d254 1 a254 1 install-etc-files: .PHONY check_DESTDIR MAKEDEV ttys d269 1 a269 1 ttys ${DESTDIR}/etc @ 1.295 log @Don't append ptys to the ttys file. It is not needed anymore as ttyslot will DTRT. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.294 2004/11/14 20:28:28 yamt Exp $ d269 1 a269 1 etc.${MACHINE}/ttys ${DESTDIR}/etc @ 1.294 log @install PF configs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.293 2004/11/14 11:26:43 yamt Exp $ d150 1 a150 1 CLEANFILES+= MAKEDEV ttys a156 5 ttys: mkttys etc.${MACHINE}/ttys ${_MKTARGET_CREATE} ${HOST_SH} ${.ALLSRC} > ${.TARGET} d269 1 a269 1 ttys ${DESTDIR}/etc @ 1.293 log @merge after importing pf from openbsd 3.6. (userland part) some files were imported to the different places from the previous version. v3_5: etc/pf.conf etc/pf.os etc/spamd.conf share/man/man4/pf.4 share/man/man4/pflog.4 share/man/man5/pf.conf.5 share/man/man5/pf.os.5 share/man/man5/spamd.conf.5 v3_6: dist/pf/etc/pf.conf dist/pf/etc/pf.os dist/pf/etc/spamd.conf dist/pf/share/man/man4/pf.4 dist/pf/share/man/man4/pflog.4 dist/pf/share/man/man5/pf.conf.5 dist/pf/share/man/man5/pf.os.5 dist/pf/share/man/man5/spamd.conf.5 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.292 2004/07/28 11:35:44 he Exp $ d322 1 @ 1.292 log @Now that one can choose boot image for i386 to produce a slightly different cd-rom image (e.g. using the INSTALL_LAPTOP-derived boot image), make it possible to add a string to the cd-rom image name by setting the optional environment variable CDROM_NAME_ADD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.291 2004/06/28 14:03:02 lukem Exp $ a96 2 BIN1+= pf.conf pf.os spamd.conf @ 1.291 log @Overhaul install-etc-files so that * most files are installed with CONFIGFILES (from bsd.files.mk) * empty files are created in a cleaner fashion * MAKEVERBOSE is supported for the remaining custom items @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.290 2004/06/22 18:21:55 itojun Exp $ d384 2 a385 1 CDROM.image=${RELEASEDIR}/${RELEASEMACHINEDIR}/installation/cdrom/netbsd-${MACHINE}.iso @ 1.290 log @install pf related files to /etc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.289 2004/06/20 21:30:26 christos Exp $ d92 2 a93 2 passwd.conf phones printcap profile protocols rbootd.conf rc rc.conf \ rc.lkm rc.local rc.subr rc.shutdown remote rpc \ d95 3 a97 1 weekly weekly.conf wscons.conf \ d120 1 a124 2 ETC_INSTALL_LINK=cd ${.CURDIR} && ${INSTALL_LINK} ${ETC_PKG} ETC_INSTALL_SYMLINK=cd ${.CURDIR} && ${INSTALL_SYMLINK} ${ETC_PKG} d160 1 d214 44 d262 1 a262 12 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${BIN1} ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \ ${BIN2} ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \ ${BIN3} ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ aliases ${DESTDIR}/etc/mail ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ /dev/null ${DESTDIR}/etc/mail/local-host-names ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ crontab ${DESTDIR}/var/cron/tabs/root d274 1 d277 1 d280 43 a322 92 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local ${DESTDIR}/dev ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ minfree ${DESTDIR}/var/crash ${MAKEDIRTARGET} defaults configinstall ${MAKEDIRTARGET} mtree configinstall ${MAKEDIRTARGET} namedb configinstall ${MAKEDIRTARGET} powerd configinstall ${MAKEDIRTARGET} rc.d configinstall ${MAKEDIRTARGET} root configinstall ${MAKEDIRTARGET} skel configinstall ${MAKEDIRTARGET} ssh configinstall ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ postinstall ${DESTDIR}/etc ${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \ ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime ${ETC_INSTALL_SYMLINK} -o root -g wheel -m 755 \ /usr/sbin/rmt ${DESTDIR}/etc/rmt ${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 664 \ /dev/null ${DESTDIR}/etc/dumpdates ${ETC_INSTALL_FILE} -o ${BINOWN} -g operator -m 600 \ /dev/null ${DESTDIR}/etc/skeykeys ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ /dev/null ${DESTDIR}/var/at/at.deny ${ETC_INSTALL_FILE} -o nobody -g ${BINGRP} -m 664 \ /dev/null ${DESTDIR}/var/db/locate.database ${ETC_INSTALL_FILE} -o uucp -g dialer -m 640 \ /dev/null ${DESTDIR}/var/log/aculog ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \ /dev/null ${DESTDIR}/var/log/authlog ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ /dev/null ${DESTDIR}/var/log/cron ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 \ /dev/null ${DESTDIR}/var/log/lastlog ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 640 \ /dev/null ${DESTDIR}/var/log/lpd-errs ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \ /dev/null ${DESTDIR}/var/log/maillog ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ /dev/null ${DESTDIR}/var/log/messages ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \ /dev/null ${DESTDIR}/var/log/secure ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ /dev/null ${DESTDIR}/var/log/sendmail.st ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ /dev/null ${DESTDIR}/var/log/wtmp ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ /dev/null ${DESTDIR}/var/log/wtmpx ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 \ /dev/null ${DESTDIR}/var/log/xferlog ${ETC_INSTALL_FILE} -o daemon -g staff -m 664 \ /dev/null ${DESTDIR}/var/msgs/bounds ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \ /dev/null ${DESTDIR}/var/run/utmp ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 \ /dev/null ${DESTDIR}/var/run/utmpx ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ pf.os ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ pf.conf ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ spamd.conf ${DESTDIR}/etc ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/atc_score ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/battlestar.log ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/cfscores ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/criblog ${ETC_INSTALL_FILE} -o games -g games -m 660 \ /dev/null ${DESTDIR}/var/games/hackdir/perm ${ETC_INSTALL_FILE} -o games -g games -m 660 \ /dev/null ${DESTDIR}/var/games/hackdir/record ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/llog12.0 ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/lscore12.0 ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/playerids ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/robots_roll ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/rogue.scores ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/saillog ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/snakerawscores ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/snake.log ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/tetris.scores d344 1 @ 1.289 log @remove ad-hok list of pty's from port tty files, and auto-generate it so that it is consistent, and in the proper order. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.288 2004/05/17 07:00:16 lukem Exp $ d299 6 @ 1.288 log @Move '${MAKEDIRTARGET} x11 distribution' from Makefile::distribution to etc/Makefile::distribution, and only perform if ${MKX11}!=no. Should fix a problem experienced by Alistair whilst doing a "make release". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.287 2004/05/16 09:53:09 lukem Exp $ a95 1 etc.${MACHINE}/ttys d151 1 a151 1 CLEANFILES+= MAKEDEV d158 3 d215 1 a215 1 install-etc-files: .PHONY check_DESTDIR MAKEDEV d239 2 @ 1.287 log @Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall' target) instead of using home-grown 'distribution' targets or using FILES with the 'install' target. Add some etc/ subdir Makefiles where appropriate. XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.286 2004/05/12 16:56:41 cl Exp $ d145 3 @ 1.286 log @``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen for i386. The resulting release consists of: - NetBSD/xen for i386 kernel, loader and docuemntation - NetBSD/i386 userland sets @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.285 2004/04/13 12:43:12 lukem Exp $ a125 4 NAMEDB= 127 root.cache named.conf localhost loopback.v6 SSH= ssh_known_hosts d240 8 a247 21 .for file in cshrc login profile shrc ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \ root/dot.${file} ${DESTDIR}/root/.${file} .endfor ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ root/dot.klogin ${DESTDIR}/root/.klogin rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile ${ETC_INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc ${ETC_INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile ${MAKEDIRTARGET} defaults install ${MAKEDIRTARGET} mtree install .for file in ${NAMEDB} ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ namedb/${file} ${DESTDIR}/etc/namedb .endfor .for file in ${SSH} ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ssh/${file} ${DESTDIR}/etc/ssh .endfor ${MAKEDIRTARGET} powerd install ${MAKEDIRTARGET} rc.d install d322 2 a323 3 ${MAKEDIRTARGET} skel distribution ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/mail distribution ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/postfix distribution d325 1 a325 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/usr.bin/ssh distribution d328 1 a328 1 ${MAKEDIRTARGET} ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf distribution @ 1.285 log @Convert lines of the form (cd ${.CURDIR}/somedir && ${MAKE} AVAR=value atarget) to ${MAKEDIRTARGET} somedir atarget AVAR=value which results in a "prettier" display of these operations @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.284 2004/03/08 05:46:44 cgd Exp $ d30 1 a30 1 # into a release(7) format in RELEASEDIR/${MACHINE}. d64 1 a64 1 -m "${RELEASEDIR}/${MACHINE}/installation/cdrom" d73 1 a73 1 # Directories to build in ${RELEASEDIR}/${MACHINE}. d79 2 a80 2 .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" d391 1 a391 1 ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/binary/kernel '*.gz' d400 1 a400 1 CDROM.image=${RELEASEDIR}/${MACHINE}/installation/cdrom/netbsd-${MACHINE}.iso d405 1 a405 1 ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/cdrom '*.iso' d410 1 a410 1 echo "${MACHINE}=${RELEASEDIR}/${MACHINE}" >> ${CDROM.pathlist} d412 1 a412 1 mkdir -p ${RELEASEDIR}/${MACHINE}/installation/cdrom d448 1 a448 1 -/bin/rm -rf ${RELEASEDIR}/${MACHINE} d450 1 a450 1 ${INSTALL} -d -m 755 ${RELEASEDIR}/${MACHINE} d452 1 a452 1 ${INSTALL} -d -m 755 ${RELEASEDIR}/${MACHINE}/${dir} d532 1 a532 1 # ${RELEASEDIR}/${MACHINE}/binary/sets d540 1 a540 1 kern_tgz=${RELEASEDIR}/${MACHINE}/binary/sets/kern-${configfile}.tgz; \ d568 1 a568 1 # ${RELEASEDIR}/${MACHINE}/binary/kernel d581 1 a581 1 knl_gz="${RELEASEDIR}/${MACHINE}/binary/kernel/$${ks}-${configfile:C/.*\///}.gz"; \ @ 1.284 log @sync after building kernels. on some host systems (Linux) on NFS have been seen to fail with the error: pax: File ./netbsd was modified during copy to archive and this avoids it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.283 2004/02/25 15:00:59 agc Exp $ d145 2 a146 2 (cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= includes) (cd ${NETBSDSRCDIR}; ${MAKE} _DISTRIB= install) d148 2 a149 2 (cd ${.CURDIR}; ${MAKE} install-etc-files) (cd ${NETBSDSRCDIR}/distrib/sets && ${MAKE} makesetfiles) d253 2 a254 2 (cd ${.CURDIR}/defaults; ${MAKE} install) (cd ${.CURDIR}/mtree; ${MAKE} install) d263 2 a264 2 (cd ${.CURDIR}/powerd; ${MAKE} install) (cd ${.CURDIR}/rc.d; ${MAKE} install) d339 3 a341 3 (cd ${.CURDIR}/skel; ${MAKE} distribution) (cd ${NETBSDSRCDIR}/usr.bin/mail; ${MAKE} distribution) (cd ${NETBSDSRCDIR}/gnu/usr.sbin/postfix/; ${MAKE} distribution) d343 1 a343 1 (cd ${NETBSDSRCDIR}/usr.bin/ssh; ${MAKE} distribution) d346 1 a346 1 (cd ${NETBSDSRCDIR}/gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution) d390 1 a390 1 (cd ${NETBSDSRCDIR}/distrib/sets; ${MAKE} sets) @ 1.284.2.1 log @Pullup patch (requested by he in ticket #725) Now that one can choose boot image for i386 to produce a slightly different cd-rom image (e.g. using the INSTALL_LAPTOP-derived boot image), make it possible to add a string to the cd-rom image name by setting the optional environment variable CDROM_NAME_ADD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.284 2004/03/08 05:46:44 cgd Exp $ d400 1 a400 2 CDROM_NAME_ADD?= CDROM.image=${RELEASEDIR}/${MACHINE}/installation/cdrom/netbsd-${MACHINE}${CDROM_NAME_ADD}.iso @ 1.284.2.1.2.1 log @Pull up revision 1.302 (requested by fredb in ticket #1121): Permit a "README", "SOURCE_DATE", and "source" at the top-level to be added to the CD-ROM (only if they exist), as proposed on tech-install and tech-toolchain without objections. Note, this will "bloat" the CD-ROM image if you have done a "./build.sh sourcesets". If you don't want that, just move "source" out of ${RELEASEDIR} for the "make iso-image". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.284.2.1 2004/07/28 21:35:29 jmc Exp $ a410 5 .for extra in README SOURCE_DATE source .if exists(${RELEASEDIR}/${extra}) echo "${extra}=${RELEASEDIR}/${extra}" >> ${CDROM.pathlist} .endif .endfor @ 1.284.2.1.2.2 log @Pull up following revision(s) (requested by bad in ticket #11284): etc/etc.sgimips/Makefile.inc: revision 1.15 via patch etc/Makefile: revision 1.342 via patch Handle mkisofs from recent cdrtool for el-torito boot image. Sync sgimips's Makefile (cosmetic only). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.284.2.1.2.1 2005/05/05 19:21:44 riz Exp $ d416 1 a416 1 echo "${MACHINE}/=${RELEASEDIR}/${MACHINE}/" >> ${CDROM.pathlist} @ 1.283 log @Allow CKSUM to be overridden. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.282 2004/02/13 23:48:10 enami Exp $ d510 4 d524 1 @ 1.282 log @Disable parallel build when doing make params so that `---- params ----' won't be emitted into /etc/release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.281 2004/02/07 07:59:17 lukem Exp $ d48 2 a49 1 MAKESUMS= CKSUM=${TOOL_CKSUM:Q} ${HOST_SH} ${NETBSDSRCDIR}/distrib/sets/makesums @ 1.281 log @Move the 'build date' & 'built by' stuff to the "build settings" section. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.280 2004/02/06 15:36:52 itohy Exp $ d202 1 a202 1 (cd ${.CURDIR}; ${MAKE} ${MFLAGS} params); \ @ 1.280 log @Add /etc/locate.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.279 2004/01/31 15:40:42 lukem Exp $ a194 2 echo " $$(date -u)"; \ echo " $${USER-root}@@$$(hostname)"; \ d199 3 @ 1.279 log @in etc-release, put the builder on a separate line to the date @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.278 2004/01/30 08:46:19 lukem Exp $ d88 1 a88 1 gettytab group hosts hosts.lpd inetd.conf lkm.conf \ @ 1.278 log @Run "cd ../distrib/sets && make makesetfiles" at the end of "distribution" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.277 2004/01/27 15:55:42 he Exp $ d195 2 a196 1 echo " $$(date -u) $${USER-root}@@$$(hostname)"; \ @ 1.277 log @When using obj directories, the make proces cd's to the obj directory. Therefore, we need to cd to ${.CURDIR} before re-invoking ${MAKE} so that it can find the Makefile. Also, pass ${MFLAGS} to ${MAKE} so that we pick up the source tree's makefile fragment, not the host system's fragments, so that this works properly on older NetBSD host systems, as well in other cross-compile contexts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.276 2004/01/27 04:19:06 lukem Exp $ d148 1 @ 1.276 log @Add to RELEASEVARS: NETBSDSRCDIR OBJMACHINE USR_OBJMACHINE X11SRCDIR Add 'params' separate to 'etc-release', and use the former as part of the latter. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.275 2004/01/27 01:52:06 lukem Exp $ d199 1 a199 1 ${MAKE} params; \ @ 1.275 log @Apply .PHONY appropriately. Use .EXEC when we always want to create ${.TARGET}, rather than perform an non-file-based operation (.PHONY is for the latter). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.274 2004/01/11 04:21:18 tls Exp $ d174 1 a174 1 NBUILDJOBS \ d176 13 a188 1 RELEASEDIR TOOLCHAIN_MISSING TOOLDIR USETOOLS d199 2 a200 8 ) >${.TARGET} .for var in ${RELEASEVARS} .if defined(${var}) @@printf "%20s = '%-s'\n" ${var} ${${var}:Q} >> ${.TARGET} .else @@printf "%20s = (undefined)\n" ${var} >> ${.TARGET} .endif .endfor @ 1.274 log @Install default ssh_known_hosts file with public keys for Project servers. Hopefully I didn't make too much of a hash of the postinstall support for this; it currently installs the file if there's none in the destination, and elsewise notes if the CVS version differs (or is missing) but doesn't try to fix that. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.273 2004/01/08 02:37:16 lukem Exp $ d141 1 a141 1 distribution: check_DESTDIR .WAIT distrib-dirs a150 1 .PHONY: MAKEDEV d152 1 a152 1 MAKEDEV: a177 1 .PHONY: etc-release install-etc-release d179 1 a179 1 etc-release: d196 1 a196 1 install-etc-release: etc-release d204 1 a204 1 install-etc-files: check_DESTDIR MAKEDEV d346 1 a346 1 install-obsolete-lists: d365 1 a365 1 distrib-dirs: check_DESTDIR d376 1 a376 1 release snapshot: check_DESTDIR check_RELEASEDIR .WAIT \ d394 1 a394 1 iso-image: check_DESTDIR check_RELEASEDIR .WAIT iso-image-md-post d398 1 a398 1 iso-image-setup: check_RELEASEDIR d407 1 a407 1 iso-image-mi: check_DESTDIR check_RELEASEDIR .WAIT \ d420 1 a420 1 iso-image-md-pre: check_DESTDIR check_RELEASEDIR d427 1 a427 1 iso-image-md-post: check_DESTDIR check_RELEASEDIR .WAIT iso-image-mi d434 1 a434 1 snap_pre: check_DESTDIR check_RELEASEDIR d448 1 a448 1 snap_post: check_DESTDIR check_RELEASEDIR d503 1 a503 1 kern-${configfile}: d513 1 a513 1 build_kernels: ${_KERNELS_TO_BUILD} d521 1 a521 1 kernset-${configfile}: d557 1 a557 1 releasekern-${configfile}: @ 1.273 log @Add the following to the list of variables displayed in etc/release MKBFD MKCRYPTO_IDEA MKCRYPTO_MDC2 MKCRYPTO_RC5 MKCVS MKDYNAMICROOT MKGCC MKGCCCMDS MKGDB MKHESIOD MKHTML MKIEEEFP MKKERBEROS4 MKKERBEROS MKLINKLIB MKMANZ MKPICLIB MKPOSTFIX MKSENDMAIL MKSKEY MKSOFTFLOAT MKSTATICLIB MKUUCP MKX11 MKYP @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.272 2004/01/06 07:25:40 lukem Exp $ d127 2 d251 4 @ 1.272 log @rename release-info to etc-release rename install-release-info to install-etc-release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.271 2004/01/06 03:46:27 lukem Exp $ d164 9 a172 4 MKCATPAGES MKCRYPTO MKDOC MKHOSTOBJ MKINFO \ MKLINT MKMAN MKNLS MKOBJ MKOBJDIRS \ MKPIC MKPICINSTALL MKPROFILE MKSHARE \ MKUNPRIVED MKUPDATE \ @ 1.271 log @remove superfluous .endif accidentally introduced in previous @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.270 2004/01/06 02:10:43 lukem Exp $ d149 2 a150 3 .PHONY: MAKEDEV release-info CLEANFILES+= MAKEDEV release-info d172 3 a174 1 release-info: d191 2 a192 2 install-release-info: release-info ${_MKMSG_INSTALL} etc/release-info d194 1 a194 1 release-info ${DESTDIR}/etc/release @ 1.270 log @deprecate NO_SENDMAIL and consistently test MKSENDMAIL @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.269 2004/01/05 04:05:06 lukem Exp $ a327 1 .endif @ 1.269 log @Get the copyright info for etc/release from sys/conf/copyright. Idea from Simon Burge. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.268 2004/01/05 00:12:01 lukem Exp $ d18 3 a21 2 # NO_SENDMAIL is normally undefined; if defined, it will not do a # `make distribution' in the sendmail config file source directory. d36 1 a36 2 # For NO_SENDMAIL, INSTPRIV, MKCRYPTO # d325 1 a325 1 .if !defined(NO_SENDMAIL) || ${NO_SENDMAIL} == "no" d328 1 @ 1.268 log @install-release-info does not need DESTDIR. [toolchain/23982] @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.267 2004/01/04 23:55:11 lukem Exp $ d178 1 a178 4 echo "Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004" ; \ echo " The NetBSD Foundation, Inc. All rights reserved."; \ echo "Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994"; \ echo " The Regents of the University of California. All rights reserved."; \ @ 1.267 log @Rename /etc/release-info to /etc/release, to be consistent with other implementations and Hubert's original intent. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.266 2004/01/04 13:29:16 lukem Exp $ d193 1 a193 1 install-release-info: check_DESTDIR release-info @ 1.266 log @Add "release-info", to create the file of that name containing information about the build, and "install-release-info" to install it. (The latter will be invoked by src/Makefile) Based on work by Hubert Feyrer and the "params" target in src/Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.265 2004/01/01 12:28:22 lukem Exp $ d196 1 a196 1 release-info ${DESTDIR}/etc @ 1.265 log @display path of created iso-image @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.264 2003/12/19 06:04:16 lukem Exp $ d49 1 d148 4 a151 1 .PHONY: MAKEDEV d158 39 a196 1 @ 1.264 log @* Match the source code to the comments, and use $NETBSDSRCDIR instead of -v ETCDIR. * Parse $NETBSDSRCDIR/etc/{master.passwd,group} to build a list of user->uid and group->gid mappings, and replace %uid_XXX% and %gid_XXX% appropriately. * Whitespace & regex tweaks. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.263 2003/12/15 09:46:51 lukem Exp $ d347 1 @ 1.263 log @MAKEVERBOSE-ify MAKEDEV creation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.262 2003/11/15 08:50:26 jdolecek Exp $ d150 3 a152 1 MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH} awk -v ETCDIR="${.CURDIR}" -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET} @ 1.262 log @explicitly pass MACHINE and MACHINE_ARCH to MAKEDEV.awk via environment, so that this works as expected when not invoked via build.sh @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.261 2003/10/26 23:34:29 cl Exp $ d149 1 @ 1.261 log @now that MAKEDEV is generate, install it from ${.OBJDIR} @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.260 2003/10/26 07:25:34 lukem Exp $ d149 1 a149 1 awk -v ETCDIR="${.CURDIR}" -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET} @ 1.260 log @Use ${HOST_SH} instead of `sh'. If necessary, pull in to get the definition of HOST_SH; Makefiles that pull in one of (most of) will get this anyway. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.259 2003/10/25 03:55:26 ross Exp $ d120 1 a120 1 ETC_INSTALL_OBJ_FILE= ${INSTALL_FILE} ${ETC_PKG} @ 1.259 log @Add the -T etc_pkg arg back to the MAKEDEV install. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.258 2003/10/24 22:39:51 ross Exp $ d39 3 a41 7 # For KERNSRCDIR, KERNOBJDIR, ... # .include # For TARGET_ENDIANNESS # .include d55 1 a55 1 DISTRIBREV!= sh ${KERNSRCDIR}/conf/osrelease.sh -s @ 1.258 log @Now that MAKEDEV is generated, just do an ordinary ${INSTALL_FILE} instead of going back to the source dir (and losing) with ${ETC_INSTALL_FILE} @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.257 2003/10/24 20:12:04 jdolecek Exp $ d124 1 d184 1 a184 1 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ @ 1.257 log @switch over to unified MAKEDEV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.256 2003/08/22 19:03:03 dsl Exp $ d183 1 a183 1 ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ @ 1.256 log @Optimise DISTRIBUTION_DONE= KERNELS_DONE= nbmake snapshot - If DISTRIBUTION_DONE is defined, don't add the 'root' directory to METALOG. (maybe install -M shouldn't write to the METALOG file if it doesn't install the file either) - Don't re-compress the kernels if the compressed file is newer than the kernel. Useful if all you want to do is rebuild the ramdisk image. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.255 2003/07/18 08:26:03 lukem Exp $ d150 5 d159 1 a159 1 install-etc-files: check_DESTDIR d184 3 a186 1 MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev @ 1.255 log @Add MKUNPRIVED; if not no has the same semantics as if UNPRIVED was defined. Replace defined(UNPRIVED) tests with ${MKUNPRIVED} != "no" Add MKUPDATE; if not no has the same semantics as if UPDATE was defined. Replace defined(UPDATE) tests with ${MKUPDATE} != "no" Improve documentation for these and other make flags. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.254 2003/07/10 10:34:17 lukem Exp $ d310 1 d312 1 d465 1 a465 1 kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile}`; \ d467 5 a471 4 kernsuffixes="${KERNEL_SUFFIXES}"; \ cd $${kerndir} && ( \ echo "/set uname=${BINOWN} gname=${BINGRP}"; \ echo ". type=dir optional"; \ d473 6 a478 5 echo "./$${kernel} type=file"; \ for s in $${kernsuffixes}; do \ if [ -f $${kernel}.$${s} ]; then \ echo "./$${kernel}.$${s} type=file"; \ fi; \ d480 10 a489 3 done ) | GZIP=-9 ${TOOL_PAX} -O -zw \ -M -N ${NETBSDSRCDIR}/etc \ -f ${RELEASEDIR}/${MACHINE}/binary/sets/kern-${configfile}.tgz d501 1 a501 1 kernlist=`${GETKERNELAWK} ${KERNCONFDIR}/${configfile:C/.*\///}`; \ d503 10 a512 8 kernsuffixes="${KERNEL_SUFFIXES}"; \ cd $${kerndir} && \ gziplist=`for kernel in $${kernlist}; do \ echo "$${kernel}"; \ for s in $${kernsuffixes}; do \ if [ -f $${kernel}.$${s} ]; then \ echo "$${kernel}.$${s}"; \ fi; \ d514 2 a515 4 done`; \ for kernel in $${gziplist} ; do \ gzip -c -9 < $${kernel} > \ ${RELEASEDIR}/${MACHINE}/binary/kernel/$${kernel}-${configfile:C/.*\///}.gz ; done @ 1.254 log @Rename a large chunk of the make(1) variables which refer to a program/tool from "FOO" to "TOOL_FOO". The new variables are: TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC For each, provide default in of the form: TOOL_FOO?= foo and for the ${USETOOLS}=="yes" case in , provide override: TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo Document all of these in bsd.README. This cleans up a chunk of potential (and actual) namespace collision within our build infrastructure, as well as improves consistency in the share/mk documentation and provision of appropriate defaults for each of these variables. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.253 2003/06/08 23:49:21 lukem Exp $ d18 1 a18 2 # UPDATE is normally undefined; if defined, don't do a 'make clean' # before kernel compile d171 1 a171 1 .if defined(UNPRIVED) d177 1 a177 1 .endif # UNPRIVED d303 6 d312 1 a312 1 -p ${DESTDIR}/ -U ${UNPRIVED:D-W} d377 1 a377 1 .ifndef UPDATE d390 1 a390 1 .ifndef UPDATE d447 1 a447 1 .if !defined(UPDATE) @ 1.253 log @Invoke makeobsolete with ${HOST_SH} and pass in ${MAKE}. Fixes FreeBSD cross-build problem noted by Valeriy E. Ushakov @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.252 2003/05/18 08:28:05 lukem Exp $ d53 1 a53 2 PWD_MKDB?= pwd_mkdb MAKESUMS= CKSUM=${CKSUM:Q} sh ${NETBSDSRCDIR}/distrib/sets/makesums d170 1 a170 1 ${PWD_MKDB} -p ${PWD_MKDB_ENDIAN} -d ${DESTDIR}/ \ d306 1 a306 1 ${MTREE} -def ${.CURDIR}/mtree/NetBSD.dist -N ${.CURDIR} \ d440 1 a440 1 cd ${KERNCONFDIR} && ${CONFIG} -s ${KERNSRCDIR} \ d471 1 a471 1 done ) | GZIP=-9 ${PAX} -O -zw \ @ 1.252 log @* Always include , and include it much earlier so that it's available for the MD etc.${MACHINE}/Makefile.inc * Set PWD_MKDB_ENDIAN to the cap_mkdb(8) endian flag, rather than overriding TARGET_ENDIANNESS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.251 2003/04/18 05:41:47 thorpej Exp $ d294 2 a295 1 (cd ${NETBSDSRCDIR}/distrib/sets; sh ./makeobsolete -t ${OBSOLETE.dir}) @ 1.251 log @Install powerd(8) scripts when installing etc files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.250 2003/04/02 14:38:26 perry Exp $ d44 4 a130 2 .if make(install-etc-files) # { .include d132 1 a132 1 TARGET_ENDIANNESS= -L d134 1 a134 1 TARGET_ENDIANNESS= -B d136 1 a136 1 TARGET_ENDIANNESS= a137 1 .endif # install-etc-files # } d171 1 a171 1 ${PWD_MKDB} -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \ @ 1.250 log @For consistency and simplicity, move the default location for cron logs from /var/cron/log to /var/log/cron @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.249 2003/03/15 08:44:16 jdolecek Exp $ d198 1 @ 1.249 log @atc uses /var/games/atc_score, not atc_scores Problem pointed out and fix supplied in PR install/20709 by Kazuhito Tsuburaya @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.248 2003/03/08 00:22:29 lukem Exp $ a210 2 ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ /dev/null ${DESTDIR}/var/cron/log d217 2 @ 1.248 log @- rename 'iso-image_*' -> 'iso-image-*' - run MAKESUMS in iso-image, *after* the MD iso-image-md-post has run, since the latter might actually modify the generated image... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.247 2003/02/22 03:20:46 lukem Exp $ d244 1 a244 1 /dev/null ${DESTDIR}/var/games/atc_scores @ 1.247 log @all: Use /var/db/obsolete instead of /etc/obsolete etc/Makefile: Create separate target "install-obsolete-files" to populate /var/db/obsolete, instead of using "install-etc-files". Makefile: Add do-obsolete target, to run "cd etc && make install-obsolete-files", and add this to BUILDTARGETS. This moves the "obsolete files" creation from "distribution" to "build". Per discussion with Andrew Brown. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.246 2003/02/20 11:40:28 lukem Exp $ d329 2 a330 2 iso-image: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_post # empty target d332 1 a332 1 iso-image_setup: check_RELEASEDIR d338 1 a338 1 # iso-image_mi -- d340 3 a342 2 iso-image_mi: check_DESTDIR check_RELEASEDIR .WAIT \ iso-image_setup .WAIT iso-image_md_pre a348 1 ${MAKESUMS} -t ${RELEASEDIR}/${MACHINE}/installation/cdrom '*.iso' d350 1 a350 1 # iso-image_md_pre -- d354 1 a354 1 iso-image_md_pre: check_DESTDIR check_RELEASEDIR d357 1 a357 1 # iso-image_md_post -- d361 1 a361 1 iso-image_md_post: check_DESTDIR check_RELEASEDIR .WAIT iso-image_mi @ 1.246 log @etc/postinstall * Improve message display in find_file_in_dirlist() * do_obsolete(): instead of running distrib/sets/makeobsolete to temporarily generate the obsolete sets lists, look for them in ${SRC_DIR}/etc/obsolete/* or ${DEST_DIR}/etc/obsolete/*. The obsolete check now works for "extracted etc.tgz" as the source dir. etc/Makefile (install-etc-files), distrib/sets/lists/* * Install obsolete set lists into /etc/obsolete/ * Tweak how pwd_mkdb files are added to METALOG distrib/sets/makeobsolete * Don't bother with "_obsolete" suffix on generated file names. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.245 2003/02/16 00:22:37 lukem Exp $ a136 2 OBSOLETE.dir= ${.OBJDIR}/obsolete.dir OBSOLETE.files= base comp etc games man misc text d282 9 d295 1 a295 1 ${OBSOLETE.dir}/${file} ${DESTDIR}/etc/obsolete @ 1.245 log @be more obvious about the requirement on mkisofs 2.0 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.244 2003/01/09 16:57:45 mrg Exp $ d137 2 d176 3 a178 3 echo "./etc/passwd type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ echo "./etc/pwd.db type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ echo "./etc/spwd.db type=file mode=0600 uname=root gname=wheel tags=etc_pkg"; \ d284 6 d514 1 a514 1 -rm -rf ${CDROM.dir} ${CDROM.pathlist} @ 1.244 log @allow NO_SENDMAIL to equal "no" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.243 2003/01/06 14:47:28 lukem Exp $ d308 1 @ 1.243 log @Missed a 'cd ${.CURDIR}' when adding the OBJDIR support here, causing "make distribution" to fail on "install-etc-files". (oops!) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.242 2003/01/04 15:49:29 lukem Exp $ d279 1 a279 1 .if !defined(NO_SENDMAIL) @ 1.242 log @- Enable OBJ support for etc/; a scratch dir is needed for iso-image. - Add ${.CURDIR} to various rules. - Remove the ${KERNOBJDIR} (sys/arch/${MACHINE}/compile) objdir creation from here. - Rework iso-image to copy temporary files (such as kernels or boot files) into a temporary directory instead of stomping over ${RELEASEDIR}, and use mkisofs -graft-points to merge the temporary directory and ${RELEASEDIR}/${MACHINE}. NOTE: mkisofs 2.0 is highly recommended for functioning -graft-points - Add some more comments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.241 2003/01/03 15:34:36 lukem Exp $ d148 1 a148 1 ${MAKE} install-etc-files @ 1.241 log @Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of "${RELEASEDIR}/...". ${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only cleaned if UPDATE is not defined. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.240 2003/01/03 14:27:54 lukem Exp $ d34 1 a34 4 # setting NOOBJ prevents "make obj" from doing anything; # an objdir would break the installation stuff below NOOBJ= # defined d37 1 d41 1 d54 2 d68 1 d76 1 d98 1 a98 1 # use machine-specific disktab if it exists, or the MI one otherwise d121 3 a123 3 ETC_INSTALL_FILE=${INSTALL_FILE} ${ETC_PKG} ETC_INSTALL_LINK=${INSTALL_LINK} ${ETC_PKG} ETC_INSTALL_SYMLINK=${INSTALL_SYMLINK} ${ETC_PKG} a137 2 obj: mkdir -p ${KERNOBJDIR} d139 3 d151 4 d183 16 a198 20 (cd root; \ ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \ dot.cshrc ${DESTDIR}/root/.cshrc; \ ${ETC_INSTALL_FILE} -o root -g wheel -m 600 \ dot.klogin ${DESTDIR}/root/.klogin; \ ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \ dot.login ${DESTDIR}/root/.login; \ ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \ dot.profile ${DESTDIR}/root/.profile; \ ${ETC_INSTALL_FILE} -o root -g wheel -m 644 \ dot.shrc ${DESTDIR}/root/.shrc; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ${ETC_INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ${ETC_INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile) (cd defaults; ${MAKE} install) (cd mtree; ${MAKE} install) (cd namedb; \ ${ETC_INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ ${NAMEDB} ${DESTDIR}/etc/namedb) (cd rc.d; ${MAKE} install) d273 1 a273 1 (cd skel; ${MAKE} distribution) d283 4 d289 1 a289 1 ${MTREE} -def mtree/NetBSD.dist -N ${.CURDIR} \ d292 4 d303 10 a312 2 # Standalone target to create a CDROM image after the release # was composed. Should be run after "make build" in both src and xsrc d316 13 a328 10 iso-image_mi: check_DESTDIR check_RELEASEDIR .WAIT iso-image_md_pre @@if ${MKISOFS} --version; then \ mkdir -p ${RELEASEDIR}/${MACHINE}/installation/cdrom ; \ ${MKISOFS} ${MKISOFS_FLAGS} \ -o ${RELEASEDIR}/${MACHINE}/installation/cdrom/netbsd-${MACHINE}.iso \ ${RELEASEDIR}/${MACHINE} ; \ ${MAKESUMS} -t \ ${RELEASEDIR}/${MACHINE}/installation/cdrom '*.iso' ; \ else \ echo "install pkgsrc/sysutils/cdrecord and type 'make iso-image'." ; \ d330 8 a337 2 # Setup the ${RELEASEDIR}/${MACHINE} to produce a bootable CD image: d339 1 a339 1 # nothing here -- look in the machine-dependent Makefile.inc d341 4 a344 1 # Fixup the CD-image to be bootable d346 1 a346 1 # nothing here -- look in the machine-dependent Makefile.inc d348 4 d363 3 d374 2 a375 2 # This target builds the kernels specified by each port. # A port may specify the following kernels: d398 5 a402 5 # A port may also specify KERNEL_SUFFIXES, which is an optional list # of filename suffixes for kernels to include in the kernel sets and # in the binary/kernel area of the release package (e.g. "netbsd" vs. # "netbsd.ecoff" and "netbsd.srec"). It is not an error if kernels # with these suffixes do not exist in the kernel build directory. d409 1 a409 1 # d412 1 a412 1 # d488 1 d496 4 d501 5 a505 1 # nothing here -- look in the machine-dependent Makefile.inc @ 1.240 log @Don't remove ${RELEASEDIR} if UPDATE is defined. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.239 2002/12/23 06:52:49 lukem Exp $ d30 3 a32 2 # into a release(7) format in RELEASEDIR. Any port-dependent # stuff for this target is found in etc.${MACHINE}/Makefile.inc. d63 1 a63 1 -m "${RELEASEDIR}/installation/cdrom" d71 2 a72 2 # Directories to build in ${RELEASEDIR}. MD Makefile.inc files can # add to this. d289 1 a289 1 ${MAKESUMS} -t ${RELEASEDIR}/binary/kernel '*.gz' d298 1 a298 1 mkdir -p ${RELEASEDIR}/installation/cdrom ; \ d300 4 a303 3 -o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \ ${RELEASEDIR} ; \ ${MAKESUMS} -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \ d308 1 a308 1 # Setup the $RELEASEDIR to produce a bootable CD image: d317 1 d320 1 a320 1 -/bin/rm -rf ${RELEASEDIR} d322 1 a322 1 ${INSTALL} -d -m 755 ${RELEASEDIR} d324 1 a324 1 ${INSTALL} -d -m 755 ${RELEASEDIR}/${dir} d395 2 a396 1 # Create kernel sets from ${KERNEL_SETS} into ${RELEASEDIR}/binary/sets d416 1 a416 1 -f ${RELEASEDIR}/binary/sets/kern-${configfile}.tgz d423 1 a423 1 # ${RELEASEDIR}/binary/kernel d442 1 a442 1 ${RELEASEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}.gz ; done @ 1.239 log @Rework METALOG manipulation: - add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading ${DESTDIR} from the metalogged path - provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make it easier to replace manual metalog manipulation in the future. - with manual metalog additions, don't add the leading ${DESTDIR} in the path - in maketars, use "mtree -C ..." instead of "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,"; Benefits: - maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds on a P3-600. (This also benefits "make installworld" at the top level.) - ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}" on all the pathnames, and it's smaller as well. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.238 2002/12/21 15:54:51 lukem Exp $ d315 1 d318 1 @ 1.238 log @Invoke ${PAX} with '-O' so that various errors don't hang the make or the command with an interactive question. (This also prevents weird problems if a directory element of '-f path' is missing and 'make -j N' is being used). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.237 2002/12/19 23:04:26 lukem Exp $ d165 4 a168 5 echo "/etc/passwd type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ echo "/etc/pwd.db type=file mode=0644 uname=root gname=wheel tags=etc_pkg"; \ echo "/etc/spwd.db type=file mode=0600 uname=root gname=wheel tags=etc_pkg"; \ ) | \ sed -e "s|^/|./${DESTDIR}/|g" -e "s|//|/|g" | ${CAT} -l >>${METALOG} @ 1.237 log @Remove /sys -> /usr/src/sys symlink. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.236 2002/12/19 20:03:46 jdolecek Exp $ d409 1 a409 1 done ) | GZIP=-9 ${PAX} -zw \ @ 1.236 log @use single minimal default disktab file for most archs, replacing MD disktab where possible (everything but vax) the MD disktab was often either empty, or contained entries even for disks which support geometry autodetection (SCSI), and/or non-interesting/long obsolete entries the old records are still available in example disktab in /usr/share/examples/disktab/disktab in case anyone would need them @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.235 2002/12/19 12:35:01 lukem Exp $ a282 3 rm -f ${DESTDIR}/sys ${INSTALL_SYMLINK} -o root -g wheel -m 755 ${BASE_PKG} \ usr/src/sys ${DESTDIR}/sys @ 1.235 log @Always invoke mtree & pax with "-N ${NETBSDSRCDIR}/etc" so that user & group lookups occur from there rather than from the host system. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.234 2002/12/17 15:54:59 jdolecek Exp $ d92 8 a99 1 etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.234 log @ttyaction is ${MACHINE}-specific, not per ${MACHINE_ARCH} remove special ttyaction hook from etc/etc.sun[23]/Makefile.inc, it's no longer needed ld.so.conf is ${MACHINE}-specific, the code happened to work for i386 and sparc only because ${MACHINE} == ${MACHINE_ARCH} there remove basesrc/etc/ld.so.conf and its special vax/ns32k/m68k hook in Makefile - vax & m68k are ELF now, and ns32k doesn't need to be handled here @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.233 2002/12/02 13:18:03 lukem Exp $ d274 2 a275 1 ${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U ${UNPRIVED:D-W} d406 1 a406 1 -M ${UNPRIVED:D-N${NETBSDSRCDIR}/etc} \ @ 1.233 log @- add snap_post, which makes "clean depend all release" in ../distrib/ for all platforms. - remove now unnecessary replicated code in the various snap_md_post targets - remove snap_md_pre; nothing uses it any more - use ${NETBSDSRCDIR} and ${KERNSRCDIR} as appropriate @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.232 2002/11/18 07:09:46 lukem Exp $ d94 2 a95 6 .if (${MACHINE_ARCH} == "m68k") || \ (${MACHINE_ARCH} == "ns32k") || \ (${MACHINE_ARCH} == "vax") BIN1+= ld.so.conf .elif exists(etc.${MACHINE_ARCH}/ld.so.conf) BIN1+= etc.${MACHINE_ARCH}/ld.so.conf d98 2 a99 2 .if exists(etc.${MACHINE_ARCH}/ttyaction) BIN1+= etc.${MACHINE_ARCH}/ttyaction @ 1.232 log @Separate snap_kern into three targets, to allow finer control over which bits to build, and to allow "make -j N" actually do something in parallel: - build_kernels: for each of ${ALL_KERNELS}, create kern-${NAME} target which configures & builds the kernel ${NAME}. - build_kernsets: for each of ${KERNEL_SETS}, create kernset-${NAME} target to create ${RELEASEDIR}/binary/sets/kern-${NAME}.tgz - build_releasekernels: for each of ${KERNEL_SETS} ${EXTRA_KERNELS}, create ${RELEASEDIR}/binary/kernel/netbsd-${NAME}.gz (et al) (The latter two .WAIT until build_kernels has completed) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.231 2002/10/23 20:35:45 perry Exp $ d50 1 a50 1 MAKESUMS= CKSUM=${CKSUM:Q} sh ../distrib/sets/makesums d55 1 a55 1 DISTRIBREV!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s d137 2 a138 2 (cd ..; ${MAKE} _DISTRIB= includes) (cd ..; ${MAKE} _DISTRIB= install) d267 2 a268 2 (cd ../usr.bin/mail; ${MAKE} distribution) (cd ../gnu/usr.sbin/postfix/; ${MAKE} distribution) d270 1 a270 1 (cd ../usr.bin/ssh; ${MAKE} distribution) d273 1 a273 1 (cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution) d284 4 a287 2 distribution .WAIT snap_pre snap_md_pre .WAIT snap_kern .WAIT snap_md_post (cd ../distrib/sets; ${MAKE} sets) d293 1 d308 1 a308 1 # nothing here -- look in the machine-dependent Makefile.inc d312 1 a312 1 # nothing here -- look in the machine-dependent Makefile.inc d322 7 a449 3 snap_md_pre: check_DESTDIR check_RELEASEDIR # nothing here -- look in the machine-dependent Makefile.inc d451 1 a451 1 # nothing here -- look in the machine-dependent Makefile.inc @ 1.231 log @Add hackdir/perm and hackdir/record move larn files into alphabetical order @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.230 2002/10/23 19:50:30 perry Exp $ d319 3 a321 2 # This target builds the kernels specified by each port. A port may # specify the following kernels: d359 5 a363 2 .if !target(snap_kern) snap_kern: check_DESTDIR check_RELEASEDIR d365 5 a369 3 .for configfile in ${ALL_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile:C/.*\///} -s ${KERNSRCDIR} ${configfile} d374 11 a384 3 .endfor # build kernels .endif # KERNELS_DONE # } .for configfile in ${KERNEL_SETS} d401 11 a411 2 .endfor # make kernel sets .for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} d427 12 a438 2 .endfor # place KERNEL_SETS kernels + EXTRA_KERNELS in binary/kernel/... .endif # no target(snap_kern) @ 1.230 log @add code to include (primitive) package tag names XXX This file has gotten big and ugly enough that a bit of a rewrite is likely in order. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.229 2002/10/16 02:30:48 lukem Exp $ d244 10 a265 6 ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/llog12.0 ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/lscore12.0 ${ETC_INSTALL_FILE} -o games -g games -m 664 \ /dev/null ${DESTDIR}/var/games/larn/playerids @ 1.229 log @Set ALL_KERNELS ?= ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS} and use ALL_KERNELS instead of the latter three in the loop to configure & build kernels. This allows ALL_KERNELS to be overridden in make(1)'s environment or on make(1)'s command line... (I got sick of waiting for all eleven i386 kernels to rebuild when I was only testing one) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.228 2002/10/05 15:23:19 grant Exp $ d112 6 d144 14 a157 10 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} ${DESTDIR}/etc ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 aliases \ ${DESTDIR}/etc/mail ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/etc/mail/local-host-names ${INSTALL_FILE} -o root -g wheel -m 600 crontab \ ${DESTDIR}/var/cron/tabs/root ${INSTALL_FILE} -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc d159 1 a159 1 ${DESTDIR}/etc/master.passwd d162 3 a164 3 echo "/etc/passwd type=file mode=0644 uname=root gname=wheel"; \ echo "/etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ echo "/etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ d168 4 a171 3 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev ${INSTALL_FILE} -o root -g wheel -m 600 minfree ${DESTDIR}/var/crash d173 10 a182 10 ${INSTALL_FILE} -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ ${INSTALL_FILE} -o root -g wheel -m 600 dot.klogin \ ${DESTDIR}/root/.klogin; \ ${INSTALL_FILE} -o root -g wheel -m 644 dot.login \ ${DESTDIR}/root/.login; \ ${INSTALL_FILE} -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/root/.profile; \ ${INSTALL_FILE} -o root -g wheel -m 644 dot.shrc \ ${DESTDIR}/root/.shrc; \ d184 2 a185 2 ${INSTALL_LINK} ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ${INSTALL_LINK} ${DESTDIR}/root/.profile ${DESTDIR}/.profile) d189 1 a189 1 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 \ d192 70 a261 70 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ postinstall ${DESTDIR}/etc ${INSTALL_SYMLINK} -o root -g wheel -m 755 \ ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime ${INSTALL_SYMLINK} -o root -g wheel -m 755 \ /usr/sbin/rmt ${DESTDIR}/etc/rmt ${INSTALL_FILE} -o ${BINOWN} -g operator -m 664 /dev/null \ ${DESTDIR}/etc/dumpdates ${INSTALL_FILE} -o ${BINOWN} -g operator -m 600 /dev/null \ ${DESTDIR}/etc/skeykeys ${INSTALL_FILE} -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/at/at.deny ${INSTALL_FILE} -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/cron/log ${INSTALL_FILE} -o nobody -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/db/locate.database ${INSTALL_FILE} -o uucp -g dialer -m 640 /dev/null \ ${DESTDIR}/var/log/aculog ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/authlog ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/log/lastlog ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ ${DESTDIR}/var/log/lpd-errs ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/maillog ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/messages ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/secure ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/sendmail.st ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/wtmp ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/wtmpx ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/xferlog ${INSTALL_FILE} -o daemon -g staff -m 664 /dev/null \ ${DESTDIR}/var/msgs/bounds ${INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 /dev/null \ ${DESTDIR}/var/run/utmp ${INSTALL_FILE} -o ${BINOWN} -g ${UTMPGRP} -m 664 /dev/null \ ${DESTDIR}/var/run/utmpx ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/atc_scores ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/battlestar.log ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/cfscores ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/criblog ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/robots_roll ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/rogue.scores ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/saillog ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snakerawscores ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snake.log ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/tetris.scores ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/llog12.0 ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/lscore12.0 ${INSTALL_FILE} -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/playerids d273 1 a273 1 ${INSTALL_DIR} -o root -g wheel -m 755 ${DESTDIR} d276 2 a277 1 ${INSTALL_SYMLINK} -o root -g wheel -m 755 usr/src/sys ${DESTDIR}/sys d292 2 a293 2 -o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \ ${RELEASEDIR} ; \ @ 1.228 log @create /etc/mail/local-host-names, required by sendmail(8). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.227 2002/09/16 02:35:04 perry Exp $ d333 6 d345 1 a345 1 .for configfile in ${KERNEL_SETS} ${EXTRA_KERNELS} ${BUILD_KERNELS} @ 1.227 log @Make utmp and utmpx group utmp, not group wheel. This gets masked by the fact that rc.d sets it to group utmp anyway, but it was certainly wrong in principle. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.226 2002/09/16 02:30:29 perry Exp $ d143 2 @ 1.226 log @Create wtmpx, just as wtmp is created. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.225 2002/09/03 00:56:08 wiz Exp $ d82 1 d219 1 a219 1 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d221 1 a221 1 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ @ 1.225 log @Add /var/run/utmpx, requested by soren. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.224 2002/07/28 01:21:07 bjh21 Exp $ d212 2 @ 1.224 log @Set the volume ID on CDs produced my "make iso-image" to something meaningful, rather than the default of "CDROM". The volume ID now looks like "NETBSD_ACORN26_16D". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.223 2002/07/06 18:19:31 fredette Exp $ d218 2 @ 1.223 log @Removed ftpwelcome from BIN1; it was removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.222 2002/06/11 16:12:51 lukem Exp $ d55 3 d60 1 @ 1.222 log @use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.221 2002/05/30 21:40:47 itojun Exp $ d79 1 a79 1 daily.conf dm.conf floppytab ftpchroot ftpusers ftpwelcome \ @ 1.221 log @have bsd.endian.mk, which detects target endian. generate *.db in target endian. (see tech-userlevel for discussions) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.220 2002/05/30 09:49:22 itojun Exp $ d144 6 a149 6 echo "${DESTDIR}/etc/passwd type=file mode=0644 uname=root gname=wheel" \ | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG} echo "${DESTDIR}/etc/pwd.db type=file mode=0644 uname=root gname=wheel" \ | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG} echo "${DESTDIR}/etc/spwd.db type=file mode=0600 uname=root gname=wheel" \ | sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG} @ 1.220 log @set TARGET_ENDIANNESS appropriately. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.219 2002/05/04 19:43:57 jdolecek Exp $ d110 1 a110 10 # find out endianness of target and set proper flag for pwd_mkdb so that # it creates database in same endianness .if exists(${DESTDIR}/usr/include/sys/endian.h) TARGET_ENDIANNESS!= \ printf '\#include \n_BYTE_ORDER\n' | \ ${CC} -I${DESTDIR}/usr/include -E - | tail -1 | awk '{print $$1}' .else TARGET_ENDIANNESS= .endif d112 1 a112 1 TARGET_ENDIANNESS= -L d114 1 a114 1 TARGET_ENDIANNESS= -B @ 1.219 log @Move the sample fstab files to /usr/share/examples/fstab/. Duplicates or very similar configs removed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.218 2002/05/02 22:13:31 sommerfeld Exp $ d109 1 a109 1 .if make(release) || make(snapshot) || make(distribution) # { d127 1 a127 1 .endif # release || snapshot || distribution # } @ 1.219.2.1 log @Pull up revision 1.220 (requested by itojun in ticket #74): set TARGET_ENDIANNESS appropriately. @ text @d1 1 a1 1 # $NetBSD$ d109 1 a109 1 .if make(install-etc-files) # { d127 1 a127 1 .endif # install-etc-files # } @ 1.219.2.2 log @Pull up revision 1.221 (requested by itojun in ticket #100): have bsd.endian.mk, which detects target endian. generate *.db in target endian. (see tech-userlevel for discussions) @ text @d110 10 a119 1 .include d121 1 a121 1 TARGET_ENDIANNESS= -L d123 1 a123 1 TARGET_ENDIANNESS= -B @ 1.219.2.3 log @Pull up revision 1.222 (requested by lukem in ticket #251): use ` | ${CAT} -l >> ${METALOG} ' to serialise writes to the metalog @ text @d144 6 a149 6 ( \ echo "/etc/passwd type=file mode=0644 uname=root gname=wheel"; \ echo "/etc/pwd.db type=file mode=0644 uname=root gname=wheel"; \ echo "/etc/spwd.db type=file mode=0600 uname=root gname=wheel"; \ ) | \ sed -e "s|^/|./${DESTDIR}/|g" -e "s|//|/|g" | ${CAT} -l >>${METALOG} @ 1.219.2.4 log @Pull up revision 1.228 (requested by grant in ticket #904): create /etc/mail/local-host-names, required by sendmail(8). @ text @a137 2 ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/etc/mail/local-host-names @ 1.218 log @Correct BUGS in BUILDING.mdoc now that most ports are USE_NEW_TOOLCHAIN Obsolete NBUILDJOBS; build.sh just passes -jN through to make(1), which inherits it cooperatively through the build tree. Fix documentation so that it's shown to be deprecated. If you use build -jN, please save full build logs so that errors due to missing dependancies can be analyzed and corrected. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.217 2002/05/02 15:09:40 lukem Exp $ a248 2 (cd etc.${MACHINE}; ${INSTALL_FILE} -o ${BINOWN} \ -g ${BINGRP} -m 444 fstab.* ${DESTDIR}/etc) @ 1.217 log @- consistency cleanup - ensure INSTALLATION_DIRS contains the appropriate extra directories for a given platform @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.216 2002/04/26 16:23:14 lukem Exp $ a74 6 # Use multiple jobs for kernel builds, if NBUILDJOBS set. # (Taken from src/Makefile.) .if defined(NBUILDJOBS) _J= -j${NBUILDJOBS} .endif d268 1 a268 1 distribution snap_pre snap_md_pre snap_kern snap_md_post d345 1 a345 1 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} depend && ${MAKE} ${_J} @ 1.216 log @s/_SRC_TOP_/NETBSDSRCDIR/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.215 2002/04/26 15:43:39 lukem Exp $ d69 1 a69 2 INSTALLATION_DIRS= \ binary binary/sets binary/kernel installation @ 1.215 log @install postinstall @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.214 2002/04/21 00:06:03 lukem Exp $ d369 2 a370 1 done ) | GZIP=-9 ${PAX} -zwM ${UNPRIVED:D-N${_SRC_TOP_}/etc} \ @ 1.214 log @When building kernel .tgz sets, take advantage of pax's new ability to not store optional directory entries when copying from a specfile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.213 2002/04/15 03:01:31 perry Exp $ d190 2 @ 1.213 log @add default passwd.conf file @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.212 2002/04/10 15:12:37 lukem Exp $ d358 2 a359 1 echo ". type=dir uname=root gname=wheel"; \ d361 1 a361 1 echo "./$${kernel} type=file uname=root gname=wheel"; \ d364 1 a364 2 echo \ "./$${kernel}.$${s} type=file uname=root gname=wheel"; \ @ 1.212 log @if UNPRIVED, call ${PAX} with -N ${_SRC_TOP}/etc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.211 2002/04/10 14:57:45 lukem Exp $ d90 1 a90 1 phones printcap profile protocols rbootd.conf rc rc.conf \ @ 1.211 log @now defines KERNSRCDIR correctly, pull it in earlier and clean up related goop @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.210 2002/04/10 12:05:20 lukem Exp $ d367 1 a367 1 done ) | GZIP=-9 ${PAX} -zwM \ @ 1.210 log @When building kern-*.tgz, output an mtree specfile to pipe into ${PAX} -M so that the contents get the appropriate ownership. Fixes [toolchain/16161] from Ben Harris @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.209 2002/04/09 18:07:24 matt Exp $ a37 3 # do this before bsd.own.mk so we get correct KERNSRCDIR .include "../Makefile.inc" d41 4 a134 2 .include @ 1.209 log @Don't install pcs750.bin in here anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.208 2002/04/07 15:52:27 wiz Exp $ d358 4 a361 3 cd $${kerndir} && \ tarlist=`for kernel in $${kernlist}; do \ echo "$${kernel}"; \ d364 2 a365 1 echo "$${kernel}.$${s}"; \ d368 2 a369 3 done`; \ GZIP=-9 ${PAX} -zwf \ ${RELEASEDIR}/binary/sets/kern-${configfile}.tgz $${tarlist} @ 1.208 log @arm32 is not a valid MACHINE_ARCH anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.207 2002/04/01 17:32:19 bjh21 Exp $ a113 1 PCS= pcs750.bin a189 4 .if ${MACHINE_ARCH} == "vax" ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m 600 ${PCS} \ ${DESTDIR}/${PCS} .endif @ 1.207 log @When doing a "for" loop over a potentially-empty list (${KERNEL_SUFFIXES}), put the list in a shell variable and use that. Both bash (before 2.05a) and Solaris /usr/xpg4/bin/sh report a syntax error otherwise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.206 2002/03/31 16:07:53 bjh21 Exp $ d97 1 a97 2 (${MACHINE_ARCH} == "vax") || \ (${MACHINE_ARCH} == "arm32") @ 1.206 log @Add a MAKESUMS variable which invokes makesums with CKSUM in its environment. Use this whenever we want to invoke makesums. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.205 2002/03/29 04:45:37 matt Exp $ d363 1 d367 1 a367 1 for s in ${KERNEL_SUFFIXES}; do \ d379 1 d383 1 a383 1 for s in ${KERNEL_SUFFIXES}; do \ @ 1.205 log @Change pcs750.bin processing so it works UNPRIVED=. XXX this needs to be moved to someplace with an objdir. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.204 2002/03/05 03:51:21 lukem Exp $ d49 1 d282 1 a282 1 sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/kernel '*.gz' d294 1 a294 1 sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \ @ 1.204 log @provide check_DESTDIR and check_RELEASEDIR targets in and use those rather than local versions @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.203 2002/03/01 06:22:09 chs Exp $ d191 4 @ 1.203 log @copy kernels to the releasedir even when KERNELS_DONE is defined (i.e. only skip building the kernels). fix some comments while I'm here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.202 2002/02/09 11:09:29 lukem Exp $ d141 1 a141 17 check_destdir: .PHONY .if !defined(DESTDIR) @@echo "setenv DESTDIR before doing that!" @@false .else @@true .endif check_releasedir: .PHONY .if !defined(RELEASEDIR) @@echo "setenv RELEASEDIR before doing that!" @@false .else @@true .endif distribution: check_destdir .WAIT distrib-dirs d150 1 a150 1 install-etc-files: check_destdir d268 1 a268 1 distrib-dirs: check_destdir d274 1 a274 1 release snapshot: check_destdir check_releasedir .WAIT \ d281 1 a281 1 iso-image: check_destdir check_releasedir .WAIT iso-image_md_post d283 1 a283 1 iso-image_mi: check_destdir check_releasedir .WAIT iso-image_md_pre d295 1 a295 1 iso-image_md_pre: check_destdir check_releasedir d299 1 a299 1 iso-image_md_post: check_destdir check_releasedir .WAIT iso-image_mi d302 1 a302 1 snap_pre: check_destdir check_releasedir d344 1 a344 1 snap_kern: check_destdir check_releasedir d388 1 a388 1 snap_md_pre: check_destdir check_releasedir d391 1 a391 1 snap_md_post: check_destdir check_releasedir @ 1.202 log @- add check_destdir and check_releasedir targets, and use appropriately (easier to read that large nested .if's - use INSTALL_FILE, INSTALL_LINK and INSTALL_SYMLINK instead of INSTALL - when creating release directories, don't bother setting owner and group @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.201 2002/01/27 06:49:22 lukem Exp $ d332 1 a332 1 # are also placed in the binary/kernels d337 1 a337 1 # binary/kernels area of the release d345 1 a345 1 # binary/kernels area of the release d352 1 a352 1 # in the binary/kernels area of the release package (e.g. "netbsd" vs. d370 1 a401 1 .endif # KERNELS_DONE # } @ 1.201 log @- replace "tar -cf - ... | gzip -9 > foo" with "GZIP=-9 ${PAX} -zwf foo ... " - more comment hacking @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.200 2002/01/27 01:44:02 lukem Exp $ d141 3 a143 3 .if !defined(DESTDIR) || ${DESTDIR} == "" # { __warndestdir: .USE @@echo setenv DESTDIR before doing that! d145 2 a146 5 distribution install-etc-files distrib-dirs \ release snapshot iso-image iso_image_mi iso-image_md_pre iso-image_md_post \ snap_pre snap_md_pre: __warndestdir .if !target(snap_md_post) snap_md_post: __warndestdir d148 7 a154 2 .if !target(snap_kern) snap_kern: __warndestdir d157 1 a157 3 .else # DESTDIR != "" # } { distribution: distrib-dirs d166 5 a170 8 install-etc-files: ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases \ d172 1 a172 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 crontab \ d174 1 a174 2 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 master.passwd \ ${DESTDIR}/etc d185 1 a185 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ d187 1 a187 2 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 minfree \ ${DESTDIR}/var/crash d189 1 a189 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.cshrc \ d191 1 a191 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 dot.klogin \ d193 1 a193 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.login \ d195 1 a195 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.profile \ d197 1 a197 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.shrc \ d200 2 a201 4 ${INSTALL} ${INSTPRIV} -l h \ ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ${INSTALL} ${INSTPRIV} -l h \ ${DESTDIR}/root/.profile ${DESTDIR}/.profile) d205 1 a205 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ d208 1 a208 1 ${INSTALL} ${INSTPRIV} -l s -o root -g wheel -m 755 \ d210 1 a210 1 ${INSTALL} ${INSTPRIV} -l s -o root -g wheel -m 755 \ d212 1 a212 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 664 /dev/null \ d214 1 a214 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 600 /dev/null \ d216 1 a216 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ d218 1 a218 1 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ d220 1 a220 1 ${INSTALL} ${INSTPRIV} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ d222 1 a222 1 ${INSTALL} ${INSTPRIV} -c -o uucp -g dialer -m 640 /dev/null \ d224 1 a224 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d226 1 a226 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d228 1 a228 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ d230 1 a230 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d232 1 a232 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ d234 1 a234 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d236 1 a236 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ d238 1 a238 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ d240 1 a240 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d242 1 a242 1 ${INSTALL} ${INSTPRIV} -c -o daemon -g staff -m 664 /dev/null \ d244 1 a244 1 ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d246 1 a246 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d248 1 a248 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d250 1 a250 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d252 1 a252 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d254 1 a254 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d256 1 a256 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d258 1 a258 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d260 1 a260 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d262 1 a262 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d264 1 a264 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d266 1 a266 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d268 1 a268 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d270 1 a270 1 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ d272 1 a272 1 (cd etc.${MACHINE}; ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} \ d284 2 a285 2 distrib-dirs: ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR} d288 1 a288 15 ${INSTALL} ${INSTPRIV} -l s -o root -g wheel -m 755 \ usr/src/sys ${DESTDIR}/sys .if !defined(RELEASEDIR) # { __warnreleasedir: .USE @@echo setenv RELEASEDIR before doing that! @@false release snapshot iso-image iso_image_mi iso-image_md_pre iso-image_md_post \ snap_pre snap_md_pre: __warnreleasedir .if !target(snap_md_post) snap_md_post: __warnreleasedir .endif .if !target(snap_kern) snap_kern: __warnreleasedir .endif d290 2 a291 3 .else # RELEASEDIR # } { release snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post d297 1 a297 1 iso-image: iso-image_md_post d299 1 a299 1 iso-image_mi: iso-image_md_pre d311 1 a311 1 iso-image_md_pre: d315 1 a315 1 iso-image_md_post: iso-image_mi d318 1 a318 1 snap_pre: d321 1 a321 1 ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR} d323 1 a323 1 ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir} d360 1 a360 1 snap_kern: d404 1 a404 3 .endif # RELEASEDIR # } snap_md_pre: d407 1 a407 1 snap_md_post: a408 2 .endif # DESTDIR # } @ 1.200 log @- add the following targets to the DESTDIR=="" check: install-etc-files iso_image_mi iso-image_md_pre iso-image_md_post snap_kern - add the following targets to the RELEASEDIR=="" check: iso_image_mi iso-image_md_pre iso-image_md_post snap_kern - improve comments around make .flow control statements (including adding some helper # { ... # } comments around large .if statements for (ab)use with vi showmatch mode) - clean up whitespace @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.199 2001/12/12 00:07:46 tv Exp $ d383 1 a383 1 .ifndef KERNELS_DONE d387 1 a387 1 .ifndef UPDATE d404 2 a405 2 tar cf - $${tarlist} | \ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern-${configfile}.tgz d421 1 a421 1 ${RELEASEDIR}/binary/kernel/$${kernel}-${configfile:C/.*\///}.gz ; done d423 1 a423 1 .endif # KERNELS_DONE @ 1.199 log @MKfoo=no -> NOfoo= @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.198 2001/12/07 02:30:22 jmc Exp $ d60 1 a60 1 BIN1= d116 1 a116 1 .if make(release) || make(snapshot) || make(distribution) d134 1 a134 1 .endif d141 1 a141 1 .if !defined(DESTDIR) || ${DESTDIR} == "" d145 3 a147 2 distribution distrib-dirs release snapshot snap_pre snap_md_pre \ iso-image: __warndestdir d151 6 a156 1 .else d162 1 a162 1 .endif d164 1 a164 1 .endif d188 1 a188 1 .endif d287 1 a287 1 .ifndef NO_SENDMAIL d298 1 a298 1 .if !defined(RELEASEDIR) d302 2 a303 1 release snapshot snap_pre snap_md_pre iso-image: __warnreleasedir d307 6 a312 1 .else d388 1 a388 1 cd ${KERNOBJDIR}/${configfile:C/.*\///} && ${MAKE} distclean d426 1 a426 1 .endif # RELEASEDIR check d434 1 a434 1 .endif # DESTDIR check @ 1.198 log @Make pwd_mkdb a conditional set so bsd.own.mk can override it @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.197 2001/11/30 18:50:09 thorpej Exp $ d34 4 a56 4 # setting NOOBJ prevents "make obj" from doing anything; # an objdir would break the installation stuff below MKOBJ= no @ 1.197 log @Add support for specifying extra kernel name suffixes to search for when building the kernel sets and placing gzip'd kernels in binary/kernels. For example, if KERNEL_SUFFIXES were set to "ecoff srec", then the kernel set would include: netbsd netbsd.ecoff (only if it exists in the kernel compile directory) netbsd.srec (only if it exists in the kernel compile directory) This is useful for packaging kernel sets for platforms which have extra special requirements for loading the kernel. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.196 2001/11/29 22:45:53 thorpej Exp $ d44 1 d173 1 a173 1 pwd_mkdb -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ \ @ 1.196 log @Change the way kernel sets are specified, and make them more consistent. To quote the comment in etc/Makefile that describes how it's done: # This target builds the kernels specified by each port. A port may # specify the following kernels: # # KERNEL_SETS The list of kernels that will be # packaged into sets, named # kern-${kernel}.tgz. These kernels # are also placed in the binary/kernels # area of the release package as # netbsd-${kernel}.gz. # # EXTRA_KERNELS Additional kernels to place in the # binary/kernels area of the release # package as netbsd-${kernel}.gz, but # which are not placed into sets. This # allows a port to provide e.g. a netbootable # installation kernel containing a ramdisk. # # BUILD_KERNELS Additional kernels to build which are # not placed into sets nor into the # binary/kernels area of the release # package. These are typically kernels # that are built for inclusion only in # installation disk/CD-ROM/tape images. # @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.195 2001/11/25 18:19:14 thorpej Exp $ d359 6 d380 12 a391 2 cd ${KERNOBJDIR}/${configfile:C/.*\///} && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/${configfile}` | \ d395 12 a406 3 cd ${KERNOBJDIR}/${configfile:C/.*\///} && \ for kernel in `${GETKERNELAWK} \ ${KERNCONFDIR}/${configfile:C/.*\///}` ; do \ @ 1.195 log @Fix oversight in the addition of install-etc-files target; move the .endif for DISTRIBUTION_DONE to the right place. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.194 2001/11/24 21:41:12 perry Exp $ a21 5 # EXTRA_KERNELS has a machine-dependent list of kernels to build added # to it, but you may also set this to have extra ones built. # BUILD_KERNELS are a machine-dependent list of kernels that should just # be built in place but not made into sets or installed, e.g., an # INSTALL kernel used later in src/distrib/. d335 23 a357 10 # This target builds the GENERIC kernel (which must exist for all # ports) and puts it in binary/sets/kern.tgz, and also builds any # kernels specified in EXTRA_KERNELS. Since NetBSD's kernel build # system can create more than one kernel from a single configuration # we figure out how many there are, what they're named, and move them # to binary/kernel/${KERNEL}.${CONFIGFILE}.gz - most often KERNEL will # simply be "netbsd". If we don't find the "config" line, assume the # kernel will be "netbsd" (some config files are simple additions on # GENERIC, and just include it). d365 1 a365 1 .for configfile in GENERIC ${EXTRA_KERNELS} ${BUILD_KERNELS} d372 7 a378 5 .endfor # kernels cd ${KERNOBJDIR}/GENERIC && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz .for configfile in GENERIC ${EXTRA_KERNELS} d383 2 a384 2 ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile:C/.*\///}.gz ; done .endfor # EXTRA_KERNELS @ 1.194 log @Synthetically generate metadata entries for passwd, spwd.db, pwd.db. XXX Note that it can easily be argued that these should be generated by the installer, not shipped in the tar files, but that's for another day. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.193 2001/11/20 16:07:59 thorpej Exp $ d162 1 a286 1 .endif @ 1.193 log @Split the "distribution" target into "distribution" and "install-etc-files", the latter being called by the "distribution" target. This allows the various /etc/... files to be installed manually in a convenient way, if desired. NOTE: It is INTENTIONAL that this target is not named "install". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.192 2001/11/19 05:05:06 perry Exp $ d178 8 @ 1.192 log @UNPRIVILEGED->UNPRIVED @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.191 2001/11/13 17:14:27 tv Exp $ d161 3 @ 1.191 log @Make the TARGET_ENDIANNESS check only valid when making release, snapshot, or distribution. Also, clean up the check and include instead -- some platforms' pull in the definitions of _BIG_ENDIAN and _LITTLE_ENDIAN, invalidating the test; this makes the check values uniformly "4321" and "1234" respectively. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.190 2001/10/31 02:58:58 jmc Exp $ d280 1 a280 1 ${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U ${UNPRIVILEGED:D-W} @ 1.190 log @Don't run rules unless DESTDIR is set *and* contains a value. Fixes PR 14410 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.189 2001/10/29 22:18:28 perry Exp $ d120 1 d123 1 a123 1 .if exists(${DESTDIR}/usr/include/machine/endian_machdep.h) d125 1 a125 1 ( echo "\#include " ; echo _BYTE_ORDER ) | \ d131 1 a131 1 .if ${TARGET_ENDIANNESS} == "_LITTLE_ENDIAN" d133 1 a133 1 .elif ${TARGET_ENDIANNESS} == "_BIG_ENDIAN" a135 1 # XXX sh3 should be split into sh3eb and sh3el d137 1 @ 1.189 log @Add rm's before symlink and hard link commands. Shouldn't be needed, but install has no other good way to deal with this. Pointed out by Rob Windsor in PR 14394 -- I committed his patch plus one for something he didn't hit yet. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.188 2001/10/29 01:19:19 perry Exp $ d144 1 a144 1 .ifndef DESTDIR @ 1.188 log @Now that it will actually work, replace instances of ln with install. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.187 2001/10/26 06:45:33 jmc Exp $ d189 1 d280 1 @ 1.187 log @Change defaults for kernel compiles. Default all to USETOOLS?=no and have the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES This way the default for kernel compiles is still to use the installed toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by simply adding USETOOLS=yes to the command line as usual. Adjust each ports template to set the default no setting and also pull in bsd.own.mk if they weren't already to ensure they'll build correctly with the new toolchain setup. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.186 2001/10/24 02:43:13 tv Exp $ d189 4 a192 3 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) d199 4 a202 4 /bin/rm -f ${DESTDIR}/etc/localtime ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime /bin/rm -f ${DESTDIR}/etc/rmt ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt d278 3 a280 2 ${MTREE} -def mtree/NetBSD.dist -p ${DESTDIR}/ -U cd ${DESTDIR}/; rm -f sys; ln -s usr/src/sys sys @ 1.186 log @Since is included, we already have a full list of default build rules for all standard targets. Remove the manually-created list of empty rules. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.185 2001/10/19 15:07:48 tv Exp $ d44 2 @ 1.185 log @Do not run MAKEDEV on "make distribution". The device nodes are not part of the resultant tarballs; only the MAKEDEV script itself is. Running MAKEDEV here can futz with cross build hosts. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.184 2001/10/13 14:22:11 lukem Exp $ a135 3 all clean cleandir depend distclean etc includes install lint: @ 1.184 log @A few more changes, from more discussions with Andrew Brown. - Resurrect /etc/changelist, even if it's an "empty" file by default, because it's easier to use than /etc/mtree/special.local for adding a couple of simple files. Back by popular demand (hi @@@@@@! :-) - Add /etc/rc.d/* to the list of "dynamic" files; this notices changes in user-added scripts - Only calculate the mtree -I nomail list once, and re-use - Use "cat foo | while read file" instead of "for file in `cat foo`" ; handles whitespace better... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.182 2001/10/10 06:58:56 chs Exp $ a264 1 (cd ${DESTDIR}/dev; ./MAKEDEV all) @ 1.183 log @Major overhaul, with help from Andrew Brown . Features: - Add a bunch of stuff to /etc/mtree/special to enable removal of /etc/changelist: - files which we want to monitor for changes but don't want to see the diffs of (master.passwd, ssh_host_key, ...) are tagged with "nomail" - files which we don't want to monitor are tagged with "exclude" (such as netgroup.db, kvm.db, ...) - monitor /etc/mtree/special.local, /root/.ssh/* - remove /etc/changelist, and a bunch of XXX comments - use mtree(8)'s -D, -I, and -E to generate lists of files to actually do the changelist stuff on. - support /etc/mtree/special.local as an optional user-provided version of /etc/mtree/special (effectively, an enhanced /etc/changelist) - Add code to monitor: /etc/ifconfig.* /etc/raid*.conf /etc/rc.conf.d/* including support for these files being added and removed at will. - If /sbin/fdisk exists, backup the output of "fdisk $disk" for all the active disk drives as part of $check_disklabels - Check permissions on: ~/.ssh/* ~/.shosts Details: - Reorder initialisation of defaults - Remove special case for /etc/master.passwd "monitor but don't email diffs" with general case for other similar files. - Keep all `autogenerated' files (such as disklabel.*, setuid.current, ...) in "$backup_dir/work", to minimise name clashes. - Add migrate_file(old, new) to do the hard work of migrating files from the old `top level' /var/backups mechanism to the `full path' mechanism recently added. Use this appropriately. - Add backup_and_diff(file, printdiffs), to the hard work of backing-up and diff-ing files. - Cleanup use of shell redirects - /bin/sh supports ~root globbing, so use it. - Improve umask checking; use awk regex rather than awk math @ text @d85 1 a85 1 BIN1+= bootptab csh.cshrc csh.login csh.logout daily \ @ 1.182 log @skip "distribution" step if DISTRIBUTION_DONE is set. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.181 2001/10/09 05:19:04 enami Exp $ d85 1 a85 1 BIN1+= bootptab changelist csh.cshrc csh.login csh.logout daily \ @ 1.181 log @Make mtree a host tool and use it when appropriate. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.180 2001/10/04 16:46:22 tv Exp $ d31 1 d156 1 d274 1 @ 1.180 log @Append / to ${DESTDIR} in distrib-dirs rule; fixes PR bin/14080. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.179 2001/08/23 14:37:02 mrg Exp $ d276 1 a276 1 mtree -def mtree/NetBSD.dist -p ${DESTDIR}/ -U @ 1.179 log @support kernel configs called `../../sparc64/conf/GENERIC32', and the like, by stripping the dirname off by using ${configfile:C/.*\///} where necessary. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.178 2001/08/05 03:37:37 matt Exp $ d277 1 a277 1 cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys @ 1.178 log @Fix botched commit (a conflict was committed). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.177 2001/08/04 18:41:18 tsutsui Exp $ d342 1 a342 1 -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} d344 1 a344 1 cd ${KERNOBJDIR}/${configfile} && ${MAKE} distclean d346 1 a346 1 cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} d352 1 a352 1 cd ${KERNOBJDIR}/${configfile} && \ d354 1 a354 1 ${KERNCONFDIR}/${configfile}` ; { \ d356 1 a356 1 ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; } @ 1.177 log @Use "mtree -U" instead of "mtree -u" on making distrib-dirs to ignore file hierarchy unmatches and check exit status of mtree to detect actual errors on it (like "unknown user/group" etc). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.176 2001/01/21 15:03:22 itojun Exp $ a118 16 <<<<<<< Makefile .if (${MACHINE_ARCH} == "alpha") || \ (${MACHINE_ARCH} == "arm26") || \ (${MACHINE_ARCH} == "arm32") || \ (${MACHINE_ARCH} == "i386") || \ (${MACHINE_ARCH} == "mipsel") || \ (${MACHINE_ARCH} == "ns32k") || \ (${MACHINE_ARCH} == "vax") TARGET_ENDIANNESS?= -L .elif (${MACHINE_ARCH} == "m68k") || \ (${MACHINE_ARCH} == "mipseb") || \ (${MACHINE_ARCH} == "powerpc") || \ (${MACHINE_ARCH} == "sparc") || \ (${MACHINE_ARCH} == "sparc64") TARGET_ENDIANNESS?= -B ======= a130 1 >>>>>>> 1.176 @ 1.176 log @do not try to install rtadvd.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.175 2001/01/14 06:08:24 christos Exp $ d119 16 d147 1 d149 1 d293 1 a293 1 -mtree -def mtree/NetBSD.dist -p ${DESTDIR}/ -u @ 1.175 log @more dup target fixes... snap_md_post should be fixed in etc.i386 Makefile.inc not to work if $RELEASEDIR or $DESTDIR is not defined. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.174 2001/01/14 05:31:36 christos Exp $ a106 3 # IPv6 BIN1+= rtadvd.conf @ 1.174 log @protect against multiple target definition for parse_md_post @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.173 2001/01/09 02:13:54 simonb Exp $ d282 1 a282 1 release snapshot snap_pre snap_md_pre snap_md_post iso-image: d285 4 @ 1.173 log @Only need to "make distribution" in usr.bin/ssh once. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.172 2000/12/02 18:04:45 jlam Exp $ d147 1 a147 2 distribution distrib-dirs release snapshot snap_pre snap_md_pre \ snap_md_post iso-image: d150 5 @ 1.172 log @Correct comment for KERNOBJDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.171 2000/11/30 11:31:05 simonb Exp $ a263 1 (cd ../usr.bin/ssh; ${MAKE} distribution) @ 1.171 log @Get the TARGET_ENDIANNESS by running ${CC} -E over . Fixes problems where just includes another file without defining _BYTE_ORDER itself. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.170 2000/11/09 20:01:54 jdolecek Exp $ d15 1 a15 2 # ${KERNSRCDIR}/arch/${MACHINE}/compile/KERNELNAME, but can be # overridden. @ 1.170 log @Call pwd_mkdb with proper flag, so that it creates database in same endianness as compile target. This is primarily for cross compiles. Hopefully this method (looking into ${DESTDIR}/usr/include/machine/endian_machdep.h) is okay. Patch sent by Andrew Brown in bin/11454. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.169 2000/10/30 21:48:20 thorpej Exp $ d124 3 a126 2 TARGET_ENDIANNESS!= awk '/_BYTE_ORDER/{print $$3}' \ ${DESTDIR}/usr/include/machine/endian_machdep.h d170 2 a171 1 pwd_mkdb -p ${TARGET_ENDIANNESS} -d ${DESTDIR}/ ${DESTDIR}/etc/master.passwd @ 1.169 log @Just nuke the "build aliases.db" stuff from here. It's not necessary, as /etc/rc.d/sendmail will already rebuild DB files automatically if necessary, and doing aliases.db here just totally breaks cross-compiling. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.168 2000/10/29 05:16:53 jmc Exp $ d121 17 d140 1 d169 1 a169 1 pwd_mkdb -p -d ${DESTDIR}/ ${DESTDIR}/etc/master.passwd @ 1.168 log @Moved comment about rm out of shell command area. (typo) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.167 2000/10/23 01:50:37 jmc Exp $ a251 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi @ 1.167 log @Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint and rm complains because it can't actually nuke the mount point. Anything serious like permissions or I/O errors will get caught in the install's after this anyways. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.166 2000/10/19 17:53:41 garbled Exp $ d293 1 a293 1 # Could be a mount point, ignore the errors @ 1.166 log @When building kernels for a release (snap_kern) use "distclean" instead of "clean" to get rid of any .depend files that might be lying about in the kernel build directory. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.165 2000/10/16 13:18:36 simonb Exp $ d293 2 a294 1 /bin/rm -rf ${RELEASEDIR} @ 1.165 log @cd to skel during "make distribution". Part of fix for PR bin/10985. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.164 2000/10/14 16:45:42 hubertf Exp $ d320 1 a320 1 cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean @ 1.164 log @Fix typo in iso-image target that led to the cdrom-directory not being excluded in the iso image (nothing harmful). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.163 2000/10/01 22:31:04 thorpej Exp $ d243 1 @ 1.163 log @Do the `distribution' target for usr.bin/ssh, too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.162 2000/10/01 05:51:09 lukem Exp $ d54 1 a54 1 -m "${RELEASEDIR}/instalation/cdrom" @ 1.162 log @move default config files from /etc/default -> /etc/defaults, to be consistent with what FreeBSD uses /etc/defaults for, and since SVR4 uses /etc/default for another purpose. as discussed on tech-userlevel, and no objections were made. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.161 2000/09/11 21:53:30 hubertf Exp $ d244 1 @ 1.161 log @Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR set in src/etc after a "make release" in both "src" and "xsrc", to create a ISO-image of the release in $RELEASEDIR/installation/cdrom. Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc are available as 'iso-image_md_post' and 'iso-image_md_pre', see etc/etc.i386/Makefile.inc as an example. Might be useful for setting up bootable CDs on alpha, sparc, ... Reviewed by Todd Whitesel and Thomas Klausner. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.160 2000/08/23 20:48:42 jhawk Exp $ d170 1 a170 1 (cd default; ${MAKE} install) @ 1.160 log @As .ifndef RELEASEDIR checks for targets: snap_pre snap_md_pre snap_md_post so should .ifndef DESTDIR @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.159 2000/08/21 23:03:10 lukem Exp $ d48 8 d129 2 a130 1 distribution distrib-dirs release snapshot snap_pre snap_md_pre snap_md_post: d259 1 a259 1 release snapshot snap_pre snap_md_pre snap_md_post: d266 23 @ 1.159 log @- install files in etc/default/ - migrate rc.wscons to (already existing) rc.d/ wscons @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.158 2000/08/06 18:10:48 fvdl Exp $ d121 1 a121 1 distribution distrib-dirs release snapshot: @ 1.158 log @Do not create the binary/security directory, there is no seperate security set anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.157 2000/08/03 13:00:02 kleink Exp $ d83 1 a83 1 rc.lkm rc.local rc.subr rc.shutdown rc.wscons remote rpc \ d161 1 @ 1.157 log @As discussed with Hubert Feyrer in private mail, install UTC as the default time zone; while amounting to the same offset, the time zone 'name' of Factory violates the prinicple of least surprise. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.156 2000/08/02 14:40:45 hubertf Exp $ d62 1 a62 1 binary binary/sets binary/kernel binary/security installation @ 1.156 log @Change default timezone from US/Pacific to Factory: Before: Wed Aug 2 06:53:04 PDT 2000 After: Wed Aug 2 13:52:52 Local time zone must be set--see zic manual page 2000 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.155 2000/07/25 19:07:39 thorpej Exp $ d46 1 a46 1 LOCALTIME?= Factory @ 1.155 log @Also do ../usr.bin/ssh for the `distribution' target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154 2000/06/20 06:00:28 thorpej Exp $ d46 1 a46 1 LOCALTIME?= US/Pacific @ 1.154 log @Merge a bunch of things from crypto-us and crypto-intl into basesrc, adding support for Heimdal/KTH Kerberos where easy to do so. Eliminate bsd.crypto.mk. There is still a bunch more work to do, but crypto is now more-or-less fully merged into the base NetBSD distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.153 2000/06/12 06:23:21 fredb Exp $ d42 1 a42 1 # For NO_SENDMAIL and INSTPRIV d235 3 @ 1.154.2.1 log @file Makefile was added on branch netbsd-1-5 on 2000-08-23 11:58:13 +0000 @ text @d1 309 @ 1.154.2.2 log @pull up rev 1.159 (approved by thorpej): - migrate default installation config files from /etc to /etc/default - move guts of etc/rc.wscons -> etc/rc.d/wscons @ text @a0 310 # $NetBSD: Makefile,v 1.154.2.1 2000/08/23 11:58:13 lukem Exp $ # from: @@(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: # DESTDIR must be set before anything in this file will work. # RELEASEDIR is where the tarred up stuff for a snapshot or # release will be placed. # # Environment variables with default values: # LOCALTIME will set the default local time for the system you # build; it determines what /etc/localtime is symlink'd to. # KERNSRCDIR points to kernel source; it is set by default to ../sys, # but can be overridden. # KERNOBJDIR is the kernel build directory, it defaults to # ${KERNSRCDIR}/arch/${MACHINE}/compile/KERNELNAME, but can be # overridden. # KERNCONFDIR is where the configuration files for kernels are found; # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden. # UPDATE is normally undefined; if defined, don't do a 'make clean' # before kernel compile # NO_SENDMAIL is normally undefined; if defined, it will not do a # `make distribution' in the sendmail config file source directory. # EXTRA_KERNELS has a machine-dependent list of kernels to build added # to it, but you may also set this to have extra ones built. # BUILD_KERNELS are a machine-dependent list of kernels that should just # be built in place but not made into sets or installed, e.g., an # INSTALL kernel used later in src/distrib/. # # Targets: # distribution: makes a full NetBSD distribution in DESTDIR. If # INSTALL_DONE is set, it will not do a `make install.' # distrib-dirs: creates an empty NetBSD directory tree in DESTDIR. # Called by distribution. # snapshot: calls distribution, above, and then tars up the files # into a release(7) format in RELEASEDIR. Any port-dependent # stuff for this target is found in etc.${MACHINE}/Makefile.inc. # release: a synonym for `snapshot' # do this before bsd.own.mk so we get correct KERNSRCDIR .include "../Makefile.inc" # For NO_SENDMAIL and INSTPRIV .include TZDIR= /usr/share/zoneinfo LOCALTIME?= US/Pacific # setting NOOBJ prevents "make obj" from doing anything; # an objdir would break the installation stuff below MKOBJ= no # MD Makefile.inc may append MD targets to BIN[123]. Make sure all # are empty, to preserve the old semantics of setting them below with "=". BIN1= BIN2= BIN3= # Directories to build in ${RELEASEDIR}. MD Makefile.inc files can # add to this. # NOTE: Parent directories must be listed before subdirectories. INSTALLATION_DIRS= \ binary binary/sets binary/kernel binary/security installation .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" .endif # Use multiple jobs for kernel builds, if NBUILDJOBS set. # (Taken from src/Makefile.) .if defined(NBUILDJOBS) _J= -j${NBUILDJOBS} .endif # -rw-r--r-- BINOWN= root BINGRP= wheel BIN1+= bootptab changelist csh.cshrc csh.login csh.logout daily \ daily.conf dm.conf floppytab ftpchroot ftpusers ftpwelcome \ gettytab group hosts hosts.lpd inetd.conf lkm.conf \ mailer.conf man.conf monthly monthly.conf mrouted.conf \ netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ phones printcap profile protocols rbootd.conf rc rc.conf \ rc.lkm rc.local rc.subr rc.shutdown remote rpc \ security security.conf services shells sysctl.conf syslog.conf \ weekly weekly.conf wscons.conf \ etc.${MACHINE}/ttys etc.${MACHINE}/disktab .if (${MACHINE_ARCH} == "m68k") || \ (${MACHINE_ARCH} == "ns32k") || \ (${MACHINE_ARCH} == "vax") || \ (${MACHINE_ARCH} == "arm32") BIN1+= ld.so.conf .elif exists(etc.${MACHINE_ARCH}/ld.so.conf) BIN1+= etc.${MACHINE_ARCH}/ld.so.conf .endif .if exists(etc.${MACHINE_ARCH}/ttyaction) BIN1+= etc.${MACHINE_ARCH}/ttyaction .endif # IPv6 BIN1+= rtadvd.conf # -rw-rw-r-- BIN2+= motd # -rw------- BIN3+= hosts.equiv NAMEDB= 127 root.cache named.conf localhost loopback.v6 PCS= pcs750.bin all clean cleandir depend distclean etc includes install lint: .include obj: mkdir -p ${KERNOBJDIR} .ifndef DESTDIR distribution distrib-dirs release snapshot: @@echo setenv DESTDIR before doing that! @@false .else distribution: distrib-dirs .if !defined(INSTALL_DONE) (cd ..; ${MAKE} _DISTRIB= includes) (cd ..; ${MAKE} _DISTRIB= install) .endif ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases \ ${DESTDIR}/etc/mail ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 crontab \ ${DESTDIR}/var/cron/tabs/root ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 master.passwd \ ${DESTDIR}/etc pwd_mkdb -p -d ${DESTDIR}/ ${DESTDIR}/etc/master.passwd ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 minfree \ ${DESTDIR}/var/crash (cd root; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 dot.klogin \ ${DESTDIR}/root/.klogin; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.login \ ${DESTDIR}/root/.login; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/root/.profile; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.shrc \ ${DESTDIR}/root/.shrc; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) (cd default; ${MAKE} install) (cd mtree; ${MAKE} install) (cd namedb; \ ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ ${NAMEDB} ${DESTDIR}/etc/namedb) (cd rc.d; ${MAKE} install) /bin/rm -f ${DESTDIR}/etc/localtime ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime /bin/rm -f ${DESTDIR}/etc/rmt ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 664 /dev/null \ ${DESTDIR}/etc/dumpdates ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 600 /dev/null \ ${DESTDIR}/etc/skeykeys ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/at/at.deny ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/cron/log ${INSTALL} ${INSTPRIV} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/db/locate.database ${INSTALL} ${INSTPRIV} -c -o uucp -g dialer -m 640 /dev/null \ ${DESTDIR}/var/log/aculog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/authlog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/log/lastlog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ ${DESTDIR}/var/log/lpd-errs ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/maillog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/messages ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/secure ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/sendmail.st ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/wtmp ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/xferlog ${INSTALL} ${INSTPRIV} -c -o daemon -g staff -m 664 /dev/null \ ${DESTDIR}/var/msgs/bounds ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/run/utmp ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/atc_scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/battlestar.log ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/cfscores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/criblog ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/robots_roll ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/rogue.scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/saillog ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snakerawscores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snake.log ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/tetris.scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/llog12.0 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/lscore12.0 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/playerids (cd etc.${MACHINE}; ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} \ -g ${BINGRP} -m 444 fstab.* ${DESTDIR}/etc) (cd ${DESTDIR}/dev; ./MAKEDEV all) (cd ../usr.bin/mail; ${MAKE} distribution) (cd ../gnu/usr.sbin/postfix/; ${MAKE} distribution) .ifndef NO_SENDMAIL (cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution) ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi .endif distrib-dirs: ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR} -mtree -def mtree/NetBSD.dist -p ${DESTDIR}/ -u cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys .if !defined(RELEASEDIR) release snapshot snap_pre snap_md_pre snap_md_post: @@echo setenv RELEASEDIR before doing that! @@false .else release snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post (cd ../distrib/sets; ${MAKE} sets) sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/kernel '*.gz' snap_pre: /bin/rm -rf ${RELEASEDIR} ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR} .for dir in ${INSTALLATION_DIRS} ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir} .endfor # This target builds the GENERIC kernel (which must exist for all # ports) and puts it in binary/sets/kern.tgz, and also builds any # kernels specified in EXTRA_KERNELS. Since NetBSD's kernel build # system can create more than one kernel from a single configuration # we figure out how many there are, what they're named, and move them # to binary/kernel/${KERNEL}.${CONFIGFILE}.gz - most often KERNEL will # simply be "netbsd". If we don't find the "config" line, assume the # kernel will be "netbsd" (some config files are simple additions on # GENERIC, and just include it). # GETKERNELAWK= awk '/^config/ {print $$2; found=1} \ END{ if (found == 0) print "netbsd"; }' # .if !target(snap_kern) snap_kern: .ifndef KERNELS_DONE .for configfile in GENERIC ${EXTRA_KERNELS} ${BUILD_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} .endfor # kernels cd ${KERNOBJDIR}/GENERIC && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz .for configfile in GENERIC ${EXTRA_KERNELS} cd ${KERNOBJDIR}/${configfile} && \ for kernel in `${GETKERNELAWK} \ ${KERNCONFDIR}/${configfile}` ; { \ gzip -c -9 < $${kernel} > \ ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; } .endfor # EXTRA_KERNELS .endif # KERNELS_DONE .endif # no target(snap_kern) .endif # RELEASEDIR check snap_md_pre: # nothing here -- look in the machine-dependent Makefile.inc snap_md_post: # nothing here -- look in the machine-dependent Makefile.inc .endif # DESTDIR check .include @ 1.154.2.3 log @Pull up to netbsd-1-5 branch, OK'd by jhawk: Revisions: > cvs rdiff -r1.160 -r1.161 basesrc/etc/Makefile > cvs rdiff -r1.23 -r1.24 basesrc/etc/etc.i386/Makefile.inc > cvs rdiff -r1.7 -r1.8 sharesrc/share/man/man7/release.7 Log: > Add standalone "iso-image" target that can be run with DESTDIR and RELEASEDIR > set in src/etc after a "make release" in both "src" and "xsrc", to create a > ISO-image of the release in $RELEASEDIR/installation/cdrom. > > Hook for architecture dependent pre/post-processing in etc/etc.*/Makefile.inc > are available as 'iso-image_md_post' and 'iso-image_md_pre', see > etc/etc.i386/Makefile.inc as an example. Might be useful for setting up > bootable CDs on alpha, sparc, ... > > Reviewed by Todd Whitesel and Thomas Klausner. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.2 2000/10/01 21:53:31 hubertf Exp $ a47 8 # Flags for creating ISO CDROM image # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord MKISOFS?= mkisofs MKISOFS_FLAGS+= -J -l \ -r -T -v \ -P "The NetBSD Project" \ -m "${RELEASEDIR}/instalation/cdrom" d121 1 a121 1 distribution distrib-dirs release snapshot iso-image: d247 1 a247 1 release snapshot snap_pre snap_md_pre snap_md_post iso-image: a254 23 # Standalone target to create a CDROM image after the release # was composed. Should be run after "make build" in both src and xsrc iso-image: iso-image_md_post iso-image_mi: iso-image_md_pre @@if ${MKISOFS} --version; then \ mkdir -p ${RELEASEDIR}/installation/cdrom ; \ ${MKISOFS} ${MKISOFS_FLAGS} \ -o ${RELEASEDIR}/installation/cdrom/netbsd-${MACHINE}.iso \ ${RELEASEDIR} ; \ sh ../distrib/sets/makesums -t ${RELEASEDIR}/installation/cdrom '*.iso' ; \ else \ echo "install pkgsrc/sysutils/cdrecord and type 'make iso-image'." ; \ fi # Setup the $RELEASEDIR to produce a bootable CD image: iso-image_md_pre: # nothing here -- look in the machine-dependent Makefile.inc # Fixup the CD-image to be bootable iso-image_md_post: iso-image_mi # nothing here -- look in the machine-dependent Makefile.inc @ 1.154.2.4 log @Pull up rev. 1.163: Do the `distribution' target for usr.bin/ssh, too. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.3 2000/10/01 22:32:15 thorpej Exp $ a242 1 (cd ../usr.bin/ssh; ${MAKE} distribution) @ 1.154.2.5 log @pull up rev 1.162 (approved by thorpej): move default config files from /etc/default -> /etc/defaults, to be consistent with what FreeBSD uses /etc/defaults for, and since SVR4 uses /etc/default for another purpose. as discussed on tech-userlevel, and no objections were made. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.4 2000/10/02 03:06:38 lukem Exp $ d169 1 a169 1 (cd defaults; ${MAKE} install) @ 1.154.2.6 log @Pullup 1.164 [hubertf]: Fix typo in iso-image target that led to the cdrom-directory not being excluded in the iso image (nothing harmful). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.5 2000/10/16 21:25:51 tv Exp $ d54 1 a54 1 -m "${RELEASEDIR}/installation/cdrom" @ 1.154.2.7 log @Pullup 1.165 [simonb]: Use /etc/skel only for skeleton files for useradd. Fixes PR bin/10985. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.6 2000/10/20 17:01:14 tv Exp $ a241 1 (cd skel; ${MAKE} distribution) @ 1.154.2.8 log @Pullup 1.158 [tsutsui]: Do not create the binary/security directory, there is no seperate security set anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.7 2000/10/21 18:12:35 tv Exp $ d70 1 a70 1 binary binary/sets binary/kernel installation @ 1.154.2.9 log @Pullup 1.167 [jmc]: Ignore errors from the rm in snap_pre. RELEASEDIR could be a mountpoint and rm complains because it can't actually nuke the mount point. Anything serious like permissions or I/O errors will get caught in the install's after this anyways. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154.2.8 2000/10/24 04:20:01 tv Exp $ d289 1 a289 2 # Could be a mount point, ignore the errors -/bin/rm -rf ${RELEASEDIR} @ 1.153 log @Loosen sendmail's permission checks for building the aliases.db file even further. Particularly, allow ${DESTDIR} to be within a world writable directory, such as /var/tmp. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.152 2000/06/03 23:53:17 perry Exp $ d28 1 a28 5 # CRYPTOPATH is automatically defined by bsd.crypto.mk to be either # ../crypto-us or ../crypto-intl. It controls the building of # the secr set, which can be disabled by setting CRYPTOPATH to # "none". # d42 1 a42 1 # For NO_SENDMAIL and INSTPRIV and CRYPTOPATH a43 2 SRCTOP= .. .include a252 3 cryptoset: distribution snap_pre snap_md_pre snap_kern snap_md_post (cd ../distrib/sets; ${MAKE} cryptoset) @ 1.152 log @install ttyaction if it exists @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.151 2000/06/02 22:54:08 fvdl Exp $ d243 1 a243 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=groupwritabledirpathsafe -bi @ 1.151 log @* Portmap is now called rpcbind. * Add IPv6 RPC entries to inetd.conf (commented out by default, as the others) * Add netconfig file, needed for TI-RPC code. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.150 2000/05/13 08:07:01 lukem Exp $ d101 4 @ 1.150 log @remove netstart @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.149 2000/05/06 07:52:19 sjg Exp $ d87 1 a87 1 networks newsyslog.conf nsswitch.conf ntp.conf \ @ 1.150.2.1 log @Sync w/ netbsd-1-5-base. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.154 2000/06/20 06:00:28 thorpej Exp $ d28 5 a32 1 # d46 1 a46 1 # For NO_SENDMAIL and INSTPRIV d48 2 d87 1 a87 1 netconfig networks newsyslog.conf nsswitch.conf ntp.conf \ a102 4 .if exists(etc.${MACHINE_ARCH}/ttyaction) BIN1+= etc.${MACHINE_ARCH}/ttyaction .endif d239 1 a239 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/mail/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=MapInUnsafeDirPath -bi d255 3 @ 1.149 log @Added an obj target to ensure that KERNOBJDIR exists - in case we are using MAKEOBJDIRPREFIX. Fixed the comment about why we grab ../Makefile.inc @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.148 2000/05/03 11:37:16 itojun Exp $ d87 1 a87 1 netstart networks newsyslog.conf nsswitch.conf ntp.conf \ @ 1.148 log @correct typo (sendmail upgrade) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.147 2000/05/03 10:55:19 itojun Exp $ d43 1 a43 1 # do this before bsd.own.mk so we get correct SRCDIR d117 5 a265 1 .include a282 1 mkdir -p ${KERNOBJDIR} @ 1.147 log @sync with sendmail upgrade. - sendmail configuration files are in /etc/mail, not /etc. - src/etc/aliases will be installed into /etc/mail/aliases (confusing) - rc.d/sendmail warns if /etc/sendmail.cf exists. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.146 2000/05/03 00:10:33 sjg Exp $ d234 1 a234 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/mail/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/mail/aliases -O DontBlameSendmail=groupwritabledirpathsafe -bi @ 1.146 log @remove/change missleading comments @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.145 2000/05/02 06:41:44 sjg Exp $ d134 1 a134 1 ${DESTDIR}/etc d234 1 a234 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -O DontBlameSendmail=groupwritabledirpathsafe -bi @ 1.145 log @Use bsd.kernobj.mk Also if KERNELS_DONE is defined skip building kernels. Handy if re-spinning due to errors in distrib later on. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.144 2000/05/01 05:29:34 thorpej Exp $ d43 1 a43 1 # do this before bsd.own.mk so we get correct BSDSRCDIR @ 1.144 log @Install the localhost namedb file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.143 2000/04/30 21:45:55 perry Exp $ d43 3 d261 1 a261 5 # the regular expression does a basename(1) on .CURDIR so that we don't # have to keep looking up .. at compile time. KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf d278 2 d298 1 @ 1.143 log @Add "make distribution" for Postfix. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.142 2000/04/08 23:02:53 tsarna Exp $ d109 1 a109 1 NAMEDB= 127 root.cache named.conf loopback.v6 @ 1.142 log @The file /etc/sysctl.conf is now run with sysctl -f at boot time. This replaces the previous /etc/rc.d/sysctl. Also, the variables are now set earlier, between ipf/ipnat and the network coming up. The rc.conf defcorename and securelevel variables are no more. You can set them directly in sysctl.conf now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.141 2000/03/28 00:39:17 thorpej Exp $ d228 1 a232 4 .ifdef BUILD_POSTFIX (cd ../usr.sbin/postfix/etc; ${MAKE} distribution) .endif @ 1.141 log @Use distrib/sets/Makefile in the release: and new cryptoset: targets. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.140 2000/03/10 11:59:35 lukem Exp $ d87 2 a88 2 security security.conf services shells syslog.conf weekly \ weekly.conf wscons.conf \ @ 1.140 log @install rc.d scripts @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.139 2000/03/01 16:48:35 joda Exp $ d248 1 a248 8 sh ../distrib/sets/maketars -s ../distrib/sets \ -d ${DESTDIR} -t ${RELEASEDIR}/binary/sets .if defined(CRYPTOPATH) && exists(${CRYPTOPATH}) sh ../distrib/sets/maketars -s ../distrib/sets \ -d ${DESTDIR} -t ${RELEASEDIR}/binary/security secr sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/security .endif sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/sets d250 3 @ 1.139 log @explicitly allow writable directories when rebuilding the alias database, otherwise this will fail if any directory in ${DESTDIR} is g+w. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.138 2000/03/01 11:21:13 itojun Exp $ d159 1 @ 1.138 log @sync with etc/namedb change (IPv6 loopback reverse database file) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.137 2000/02/26 18:42:31 mycroft Exp $ d229 1 a229 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -bi @ 1.137 log @Install a blank sendmail.st here. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.136 2000/02/20 03:32:37 mycroft Exp $ d109 1 a109 1 NAMEDB= 127 root.cache named.conf 0000:0000:0000:0000:0000:0000:000 @ 1.136 log @Always checksum binary/kernel, now that there is at least one file in it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.135 2000/02/20 03:10:50 mycroft Exp $ d187 2 @ 1.135 log @Always install GENERIC in the kernels directory. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.134 2000/02/14 18:37:39 erh Exp $ a252 1 .ifdef EXTRA_KERNELS a253 1 .endif @ 1.134 log @Check for CRYPTOPATH variable instead of "../domestic" when deciding to build the secr set. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.133 2000/02/09 08:15:12 tron Exp $ d285 1 d287 1 a287 1 -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC d289 1 a289 1 cd ${KERNOBJDIR}/GENERIC && ${MAKE} clean d291 2 a292 1 cd ${KERNOBJDIR}/GENERIC && ${MAKE} depend && ${MAKE} ${_J} d296 1 a296 9 # XXX use same loop for ${EXTRA_KERNELS} and ${BUILD_KERNELS} but # XXX only install ${EXTRA_KERNELS} in binary/kernel??? .for configfile in ${EXTRA_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} a302 8 .for configfile in ${BUILD_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} .endfor # BUILD_KERNELS @ 1.133 log @"sendmail" is in "src/gnu/usr.sbin/sendmail" now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.132 2000/02/05 18:25:01 jlam Exp $ d28 4 d43 1 a43 1 # XXX: For NO_SENDMAIL and INSTPRIV d45 2 d247 1 a247 1 .if exists(../domestic) && !defined(EXPORTABLE_SYSTEM) @ 1.132 log @Install correct ld.so.conf if etc.${MACHINE}/ld.so.conf exists. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.131 2000/02/04 09:24:08 veego Exp $ d220 1 a220 1 (cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution) @ 1.131 log @Install named/0000:0000:0000:0000:0000:0000:000 and ntp.conf to fix the damage in distrib/lists. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.130 2000/02/03 17:51:51 veego Exp $ d91 1 a91 1 BIN1+= ld.so.conf @ 1.130 log @We don't have a bind4. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.129 1999/12/13 10:19:32 christos Exp $ d74 9 a82 9 BIN1+= bootptab changelist csh.cshrc csh.login \ csh.logout daily daily.conf dm.conf floppytab ftpchroot \ ftpusers ftpwelcome gettytab group hosts hosts.lpd \ inetd.conf lkm.conf mailer.conf man.conf \ monthly monthly.conf mrouted.conf netstart networks \ newsyslog.conf nsswitch.conf phones printcap profile protocols \ rbootd.conf rc rc.conf rc.lkm rc.local rc.subr \ rc.shutdown rc.wscons remote rpc security security.conf services \ shells syslog.conf weekly weekly.conf wscons.conf \ d103 1 a103 1 NAMEDB= 127 root.cache named.conf @ 1.129 log @Pick up a machine dependent ld.so.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.128 1999/11/05 11:31:40 mycroft Exp $ a22 2 # USE_BIND4 is normally unset; if set, it will install a named.boot # instead of a named.conf in etc/namedb. d39 1 a39 1 # XXX: For NO_SENDMAIL, USE_BIND4 and INSTPRIV d103 1 a103 6 NAMEDB= 127 root.cache .ifdef USE_BIND4 NAMEDB+= named.boot .else NAMEDB+= named.conf .endif @ 1.128 log @Install root's .shrc. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.127 1999/10/20 17:57:55 perry Exp $ d91 2 @ 1.128.2.1 log @file Makefile was added on branch comdex-fall-1999 on 1999-11-05 11:31:41 +0000 @ text @d1 328 @ 1.128.2.2 log @Install root's .shrc. @ text @a0 328 # $NetBSD: Makefile,v 1.128 1999/11/05 11:31:40 mycroft Exp $ # from: @@(#)Makefile 8.7 (Berkeley) 5/25/95 # Environment variables without default values: # DESTDIR must be set before anything in this file will work. # RELEASEDIR is where the tarred up stuff for a snapshot or # release will be placed. # # Environment variables with default values: # LOCALTIME will set the default local time for the system you # build; it determines what /etc/localtime is symlink'd to. # KERNSRCDIR points to kernel source; it is set by default to ../sys, # but can be overridden. # KERNOBJDIR is the kernel build directory, it defaults to # ${KERNSRCDIR}/arch/${MACHINE}/compile/KERNELNAME, but can be # overridden. # KERNCONFDIR is where the configuration files for kernels are found; # default is ${KERNSRCDIR}/arch/${MACHINE}/conf but can be overridden. # UPDATE is normally undefined; if defined, don't do a 'make clean' # before kernel compile # NO_SENDMAIL is normally undefined; if defined, it will not do a # `make distribution' in the sendmail config file source directory. # USE_BIND4 is normally unset; if set, it will install a named.boot # instead of a named.conf in etc/namedb. # EXTRA_KERNELS has a machine-dependent list of kernels to build added # to it, but you may also set this to have extra ones built. # BUILD_KERNELS are a machine-dependent list of kernels that should just # be built in place but not made into sets or installed, e.g., an # INSTALL kernel used later in src/distrib/. # # Targets: # distribution: makes a full NetBSD distribution in DESTDIR. If # INSTALL_DONE is set, it will not do a `make install.' # distrib-dirs: creates an empty NetBSD directory tree in DESTDIR. # Called by distribution. # snapshot: calls distribution, above, and then tars up the files # into a release(7) format in RELEASEDIR. Any port-dependent # stuff for this target is found in etc.${MACHINE}/Makefile.inc. # release: a synonym for `snapshot' # XXX: For NO_SENDMAIL, USE_BIND4 and INSTPRIV .include TZDIR= /usr/share/zoneinfo LOCALTIME?= US/Pacific # setting NOOBJ prevents "make obj" from doing anything; # an objdir would break the installation stuff below MKOBJ= no # MD Makefile.inc may append MD targets to BIN[123]. Make sure all # are empty, to preserve the old semantics of setting them below with "=". BIN1= BIN2= BIN3= # Directories to build in ${RELEASEDIR}. MD Makefile.inc files can # add to this. # NOTE: Parent directories must be listed before subdirectories. INSTALLATION_DIRS= \ binary binary/sets binary/kernel binary/security installation .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" .endif # Use multiple jobs for kernel builds, if NBUILDJOBS set. # (Taken from src/Makefile.) .if defined(NBUILDJOBS) _J= -j${NBUILDJOBS} .endif # -rw-r--r-- BINOWN= root BINGRP= wheel BIN1+= bootptab changelist csh.cshrc csh.login \ csh.logout daily daily.conf dm.conf floppytab ftpchroot \ ftpusers ftpwelcome gettytab group hosts hosts.lpd \ inetd.conf lkm.conf mailer.conf man.conf \ monthly monthly.conf mrouted.conf netstart networks \ newsyslog.conf nsswitch.conf phones printcap profile protocols \ rbootd.conf rc rc.conf rc.lkm rc.local rc.subr \ rc.shutdown rc.wscons remote rpc security security.conf services \ shells syslog.conf weekly weekly.conf wscons.conf \ etc.${MACHINE}/ttys etc.${MACHINE}/disktab .if (${MACHINE_ARCH} == "m68k") || \ (${MACHINE_ARCH} == "ns32k") || \ (${MACHINE_ARCH} == "vax") || \ (${MACHINE_ARCH} == "arm32") BIN1+= ld.so.conf .endif # IPv6 BIN1+= rtadvd.conf # -rw-rw-r-- BIN2+= motd # -rw------- BIN3+= hosts.equiv NAMEDB= 127 root.cache .ifdef USE_BIND4 NAMEDB+= named.boot .else NAMEDB+= named.conf .endif PCS= pcs750.bin all clean cleandir depend distclean etc includes install lint: .ifndef DESTDIR distribution distrib-dirs release snapshot: @@echo setenv DESTDIR before doing that! @@false .else distribution: distrib-dirs .if !defined(INSTALL_DONE) (cd ..; ${MAKE} _DISTRIB= includes) (cd ..; ${MAKE} _DISTRIB= install) .endif ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases \ ${DESTDIR}/etc ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 crontab \ ${DESTDIR}/var/cron/tabs/root ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 master.passwd \ ${DESTDIR}/etc pwd_mkdb -p -d ${DESTDIR}/ ${DESTDIR}/etc/master.passwd ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 minfree \ ${DESTDIR}/var/crash (cd root; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/root/.cshrc; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 dot.klogin \ ${DESTDIR}/root/.klogin; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.login \ ${DESTDIR}/root/.login; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/root/.profile; \ ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.shrc \ ${DESTDIR}/root/.shrc; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) (cd mtree; ${MAKE} install) (cd namedb; \ ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 \ ${NAMEDB} ${DESTDIR}/etc/namedb) /bin/rm -f ${DESTDIR}/etc/localtime ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime /bin/rm -f ${DESTDIR}/etc/rmt ln -s /usr/sbin/rmt ${DESTDIR}/etc/rmt ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 664 /dev/null \ ${DESTDIR}/etc/dumpdates ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g operator -m 600 /dev/null \ ${DESTDIR}/etc/skeykeys ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/at/at.deny ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ ${DESTDIR}/var/cron/log ${INSTALL} ${INSTPRIV} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/db/locate.database ${INSTALL} ${INSTPRIV} -c -o uucp -g dialer -m 640 /dev/null \ ${DESTDIR}/var/log/aculog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/authlog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/log/lastlog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ ${DESTDIR}/var/log/lpd-errs ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/maillog ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/messages ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/secure ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ ${DESTDIR}/var/log/wtmp ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ ${DESTDIR}/var/log/xferlog ${INSTALL} ${INSTPRIV} -c -o daemon -g staff -m 664 /dev/null \ ${DESTDIR}/var/msgs/bounds ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ ${DESTDIR}/var/run/utmp ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/atc_scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/battlestar.log ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/cfscores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/criblog ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/robots_roll ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/rogue.scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/saillog ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snakerawscores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snake.log ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/tetris.scores ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/llog12.0 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/lscore12.0 ${INSTALL} ${INSTPRIV} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/playerids (cd etc.${MACHINE}; ${INSTALL} ${INSTPRIV} -c -o ${BINOWN} \ -g ${BINGRP} -m 444 fstab.* ${DESTDIR}/etc) (cd ${DESTDIR}/dev; ./MAKEDEV all) (cd ../usr.bin/mail; ${MAKE} distribution) .ifndef NO_SENDMAIL (cd ../usr.sbin/sendmail/cf/cf; ${MAKE} distribution) ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -bi .endif .ifdef BUILD_POSTFIX (cd ../usr.sbin/postfix/etc; ${MAKE} distribution) .endif distrib-dirs: ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${DESTDIR} -mtree -def mtree/NetBSD.dist -p ${DESTDIR}/ -u cd ${DESTDIR}; rm -f sys; ln -s usr/src/sys sys .if !defined(RELEASEDIR) release snapshot snap_pre snap_md_pre snap_md_post: @@echo setenv RELEASEDIR before doing that! @@false .else release snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post sh ../distrib/sets/maketars -s ../distrib/sets \ -d ${DESTDIR} -t ${RELEASEDIR}/binary/sets .if exists(../domestic) && !defined(EXPORTABLE_SYSTEM) sh ../distrib/sets/maketars -s ../distrib/sets \ -d ${DESTDIR} -t ${RELEASEDIR}/binary/security secr sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/security .endif sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/sets .ifdef EXTRA_KERNELS sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/kernel '*.gz' .endif snap_pre: /bin/rm -rf ${RELEASEDIR} ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR} .for dir in ${INSTALLATION_DIRS} ${INSTALL} ${INSTPRIV} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir} .endfor # the regular expression does a basename(1) on .CURDIR so that we don't # have to keep looking up .. at compile time. KERNSRCDIR?= ${.CURDIR:C/[^\/]+$//}sys KERNOBJDIR?= ${KERNSRCDIR}/arch/${MACHINE}/compile KERNCONFDIR?= ${KERNSRCDIR}/arch/${MACHINE}/conf # This target builds the GENERIC kernel (which must exist for all # ports) and puts it in binary/sets/kern.tgz, and also builds any # kernels specified in EXTRA_KERNELS. Since NetBSD's kernel build # system can create more than one kernel from a single configuration # we figure out how many there are, what they're named, and move them # to binary/kernel/${KERNEL}.${CONFIGFILE}.gz - most often KERNEL will # simply be "netbsd". If we don't find the "config" line, assume the # kernel will be "netbsd" (some config files are simple additions on # GENERIC, and just include it). # GETKERNELAWK= awk '/^config/ {print $$2; found=1} \ END{ if (found == 0) print "netbsd"; }' # .if !target(snap_kern) snap_kern: cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC .ifndef UPDATE cd ${KERNOBJDIR}/GENERIC && ${MAKE} clean .endif cd ${KERNOBJDIR}/GENERIC && ${MAKE} depend && ${MAKE} ${_J} cd ${KERNOBJDIR}/GENERIC && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz # XXX use same loop for ${EXTRA_KERNELS} and ${BUILD_KERNELS} but # XXX only install ${EXTRA_KERNELS} in binary/kernel??? .for configfile in ${EXTRA_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} cd ${KERNOBJDIR}/${configfile} && \ for kernel in `${GETKERNELAWK} \ ${KERNCONFDIR}/${configfile}` ; { \ gzip -c -9 < $${kernel} > \ ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; } .endfor # EXTRA_KERNELS .for configfile in ${BUILD_KERNELS} cd ${KERNCONFDIR} && ${CONFIG} \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} .endfor # BUILD_KERNELS .endif # no target(snap_kern) .endif # RELEASEDIR check snap_md_pre: # nothing here -- look in the machine-dependent Makefile.inc snap_md_post: # nothing here -- look in the machine-dependent Makefile.inc .endif # DESTDIR check .include @ 1.127 log @Add an at.deny file by default, so that (by default) users can use at and batch (as is historic practice, and as was our practice before last year.) If someone wants to disable such use, they can just remove the file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.126 1999/09/26 21:40:13 mjl Exp $ d149 2 @ 1.126 log @Use sendmail.cf from $DESTDIR/etc instead of /etc for building the aliases.db since that fails if we have a sendmail.cf installed that has no MAILER(local) like nullclient. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.125 1999/09/16 00:30:06 sommerfeld Exp $ d164 2 @ 1.125 log @Use ${CONFIG} rather than config so cross-builds can correctly select which one to use. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.124 1999/08/21 06:27:29 simonb Exp $ a130 1 /usr/libexec/sendmail/sendmail -O AliasFile=${DESTDIR}/etc/aliases -bi d222 1 @ 1.125.2.1 log @Pull up to last week's -current. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.129 1999/12/13 10:19:32 christos Exp $ a91 2 .elif exists(etc.${MACHINE_ARCH}/ld.so.conf) BIN1+= ld.so.conf d131 1 a149 2 ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 644 dot.shrc \ ${DESTDIR}/root/.shrc; \ a165 2 ${DESTDIR}/var/at/at.deny ${INSTALL} ${INSTPRIV} -c -o root -g wheel -m 600 /dev/null \ a222 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -bi @ 1.124 log @Use ${INSTPRIV} with ${INSTALL}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.123 1999/07/22 20:10:16 is Exp $ d280 1 a280 1 cd ${KERNCONFDIR} && config \ d292 1 a292 1 cd ${KERNCONFDIR} && config \ d305 1 a305 1 cd ${KERNCONFDIR} && config \ @ 1.123 log @Provide a script to compute the distribution set checksums. Make the Makefile use it, instead of calling cksum manually. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.122 1999/07/21 06:51:30 mycroft Exp $ d41 1 a41 1 # XXX: For NO_SENDMAIL and USE_BIND4 d123 8 a130 4 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 ${BIN3} ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases ${DESTDIR}/etc d132 1 a132 1 ${INSTALL} -c -o root -g wheel -m 600 crontab \ d134 2 a135 1 ${INSTALL} -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc d137 1 a137 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ d139 1 a139 1 ${INSTALL} -c -o root -g wheel -m 600 minfree \ d142 1 a142 1 ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ d144 1 a144 1 ${INSTALL} -c -o root -g wheel -m 600 dot.klogin \ d146 1 a146 1 ${INSTALL} -c -o root -g wheel -m 644 dot.login \ d148 1 a148 1 ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ d155 2 a156 2 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ ${DESTDIR}/etc/namedb) d161 1 a161 1 ${INSTALL} -c -o ${BINOWN} -g operator -m 664 /dev/null \ d163 1 a163 1 ${INSTALL} -c -o ${BINOWN} -g operator -m 600 /dev/null \ d165 1 a165 1 ${INSTALL} -c -o root -g wheel -m 600 /dev/null \ d167 1 a167 1 ${INSTALL} -c -o nobody -g ${BINGRP} -m 664 /dev/null \ d169 1 a169 1 ${INSTALL} -c -o uucp -g dialer -m 640 /dev/null \ d171 1 a171 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d173 1 a173 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d175 1 a175 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 640 /dev/null \ d177 1 a177 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d179 1 a179 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ d181 1 a181 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d183 1 a183 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \ d185 1 a185 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 600 /dev/null \ d187 1 a187 1 ${INSTALL} -c -o daemon -g staff -m 664 /dev/null \ d189 1 a189 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d191 1 a191 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d193 1 a193 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d195 1 a195 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d197 1 a197 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d199 1 a199 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d201 1 a201 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d203 1 a203 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d205 1 a205 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d207 1 a207 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d209 1 a209 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d211 1 a211 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d213 1 a213 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d215 1 a215 1 ${INSTALL} -c -o games -g games -m 664 /dev/null \ d217 2 a218 2 (cd etc.${MACHINE}; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \ fstab.* ${DESTDIR}/etc) d230 1 a230 1 ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR} d254 1 a254 1 ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR} d256 1 a256 1 ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir} @ 1.122 log @Make an aliases.db file when we install the aliases file. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.121 1999/07/04 22:11:06 fvdl Exp $ d240 1 a240 5 (cd ${RELEASEDIR}/binary/security && \ cksum -o 1 *.tgz >BSDSUM && \ cksum *.tgz >CKSUM && \ cksum -m *.tgz >MD5 && \ cksum -o 2 *.tgz >SYSVSUM ) d242 1 a242 5 (cd ${RELEASEDIR}/binary/sets && \ cksum -o 1 *.tgz >BSDSUM && \ cksum *.tgz >CKSUM && \ cksum -m *.tgz >MD5 && \ cksum -o 2 *.tgz >SYSVSUM ) d244 1 a244 5 (cd ${RELEASEDIR}/binary/kernel && \ cksum -o 1 *.gz >BSDSUM && \ cksum *.gz >CKSUM && \ cksum -m *.gz >MD5 && \ cksum -o 2 *.gz >SYSVSUM ) @ 1.121 log @sparc and i386 do not have ld.so.conf anymore now that they're switched (or about to switch) to ELF. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.120 1999/07/02 09:28:16 itojun Exp $ d76 1 a76 1 BIN1+= aliases bootptab changelist csh.cshrc csh.login \ d126 2 @ 1.120 log @rtadvd: advertise IPv6 prefix info via router advertisement. (to be run on routers) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.119 1999/06/30 18:42:03 ross Exp $ d87 1 a87 2 .if (${MACHINE_ARCH} == "i386") || \ (${MACHINE_ARCH} == "m68k") || \ a88 1 (${MACHINE_ARCH} == "sparc") || \ @ 1.119 log @Document BUILD_KERNELS. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.118 1999/05/21 03:45:50 gwr Exp $ d95 3 @ 1.118 log @The snap_kern target is not sufficiently flexible. Allow Makefile.in to provide its own. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.117 1999/04/27 03:08:02 simonb Exp $ d27 3 @ 1.117 log @+ Put directories to create in ${RELEASEDIR} into a variable that port-specific Makefiles can add to. + Separate snap_md into snap_md_pre and snap_md_post that are depended on before and after snap_kern. + Build all kernels listing in ${BUILD_KERNELS}, but don't put them in ${RELEASEDIR}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.116 1999/04/10 04:41:52 fair Exp $ d279 1 d313 1 @ 1.116 log @OK, adjust the kernel finder one more time to handle the case of a config file that just does "include" GENERIC, and therefore has no "config" line. It's simplest to assume that "netbsd" will be the result in that case. Rather than duplicate config(8)'s parser in awk (or something), we should adjust config to parse the config file and spit out the kernel names, and then use that to replace this awk script thing. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.115 1999/04/08 08:24:44 fair Exp $ d54 6 d224 1 a224 1 release snapshot snap_pre: d228 1 a228 1 release snapshot: distribution snap_pre snap_md snap_kern d256 3 a258 5 ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/binary ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/binary/sets ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/binary/kernel ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/binary/security ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/installation d289 2 d304 8 d315 4 a318 1 snap_md: @ 1.115 log @Slight tweak to the EXTRA_KERNELS build commands to work around a shell parsing wierdness. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.114 1999/04/04 09:57:11 fair Exp $ d268 6 a273 1 # simply be "netbsd". d283 1 a283 2 tar cf - `awk '$$1=="config" {print $$2}' \ ${KERNCONFDIR}/GENERIC` |\ d293 1 a293 1 for kernel in `awk '$$1=="config" {print $$2}' \ @ 1.114 log @NetBSD's very clever kernel build system can make more than one kernel per config file and the resulting kernel need not be named "netbsd"; therefore paw through the config file after the kernel builds are done, find them all, and put them where they belong per release(7). This all done with some clever awk/sh scripting, from PR 7180 by David Forbes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.113 1999/04/03 09:40:38 fair Exp $ d276 1 a277 1 ${MAKE} depend && ${MAKE} ${_J} && \ d287 1 a288 1 ${MAKE} depend && ${MAKE} ${_J} && \ @ 1.113 log @Create /var/log/aculog with appropriate permissions, per PR 6675 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112 1999/03/29 16:40:44 perry Exp $ d264 5 a268 2 # kernels specified in EXTRA_KERNELS and puts them in # binary/kernel/netbsd.${KERN}.gz d278 2 a279 1 tar cf - netbsd |\ d281 1 a281 1 .for kernel in ${EXTRA_KERNELS} d283 1 a283 1 -b ${KERNOBJDIR}/${kernel} -s ${KERNSRCDIR} ${kernel} d285 1 a285 1 cd ${KERNOBJDIR}/${kernel} && ${MAKE} clean d287 1 a287 1 cd ${KERNOBJDIR}/${kernel} && \ d289 4 a292 2 gzip -c -9 < netbsd > \ ${RELEASEDIR}/binary/kernel/netbsd.${kernel}.gz @ 1.112 log @NO_POSTFIX should have been BUILD_POSTFIX with reversed sense. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.111 1999/03/28 21:31:11 simonb Exp $ d152 2 @ 1.112.2.1 log @pull up 1.113 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.113 1999/04/03 09:40:38 fair Exp $ a151 2 ${INSTALL} -c -o uucp -g dialer -m 640 /dev/null \ ${DESTDIR}/var/log/aculog @ 1.112.2.2 log @Pull up 1.114 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.1 1999/04/04 09:28:35 fair Exp $ d264 2 a265 5 # kernels specified in EXTRA_KERNELS. Since NetBSD's kernel build # system can create more than one kernel from a single configuration # we figure out how many there are, what they're named, and move them # to binary/kernel/${KERNEL}.${CONFIGFILE}.gz - most often KERNEL will # simply be "netbsd". d275 1 a275 2 tar cf - `awk '$$1=="config" {print $$2}' \ ${KERNCONFDIR}/GENERIC` |\ d277 1 a277 1 .for configfile in ${EXTRA_KERNELS} d279 1 a279 1 -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} d281 1 a281 1 cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean d283 1 a283 1 cd ${KERNOBJDIR}/${configfile} && \ d285 2 a286 4 for kernel in `awk '$$1=="config" {print $$2}' \ ${KERNCONFDIR}/${configfile}` ; { \ gzip -c -9 < $${kernel} > \ ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; } @ 1.112.2.3 log @pull up 1.115 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.2 1999/04/04 10:27:38 fair Exp $ a275 1 cd ${KERNOBJDIR}/GENERIC && ${MAKE} depend && ${MAKE} ${_J} d277 1 a286 1 cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} d288 1 @ 1.112.2.4 log @Pull up 1.116 (this time, for sure!) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.3 1999/04/08 08:28:08 fair Exp $ d268 1 a268 6 # simply be "netbsd". If we don't find the "config" line, assume the # kernel will be "netbsd" (some config files are simple additions on # GENERIC, and just include it). # GETKERNELAWK= awk '/^config/ {print $$2; found=1} \ END{ if (found == 0) print "netbsd"; }' d278 2 a279 1 tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ d289 1 a289 1 for kernel in `${GETKERNELAWK} \ @ 1.112.2.5 log @pullup 1.116->1.118 (gwr) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.4 1999/04/10 04:43:50 fair Exp $ a53 6 # Directories to build in ${RELEASEDIR}. MD Makefile.inc files can # add to this. # NOTE: Parent directories must be listed before subdirectories. INSTALLATION_DIRS= \ binary binary/sets binary/kernel binary/security installation d218 1 a218 1 release snapshot snap_pre snap_md_pre snap_md_post: d222 1 a222 1 release snapshot: distribution snap_pre snap_md_pre snap_kern snap_md_post d250 5 a254 3 .for dir in ${INSTALLATION_DIRS} ${INSTALL} -d -o root -g wheel -m 755 ${RELEASEDIR}/${dir} .endfor a274 1 .if !target(snap_kern) a284 2 # XXX use same loop for ${EXTRA_KERNELS} and ${BUILD_KERNELS} but # XXX only install ${EXTRA_KERNELS} in binary/kernel??? a297 9 .for configfile in ${BUILD_KERNELS} cd ${KERNCONFDIR} && config \ -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile} .ifndef UPDATE cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean .endif cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J} .endfor # BUILD_KERNELS .endif # no target(snap_kern) d301 1 a301 4 snap_md_pre: # nothing here -- look in the machine-dependent Makefile.inc snap_md_post: @ 1.112.2.6 log @Pull up revision 1.122 and 1.126 (via patch, requested by mycroft): Create and install $DESTDIR/etc/aliases.db, using $DESTDIR/etc/sendmail.cf, so that sendmail works "out of the box". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.5 1999/06/21 03:44:00 perry Exp $ d73 1 a73 1 BIN1+= bootptab changelist csh.cshrc csh.login \ a121 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 aliases ${DESTDIR}/etc a211 1 ${DESTDIR}/usr/libexec/sendmail/sendmail -C ${DESTDIR}/etc/sendmail.cf -O AliasFile=${DESTDIR}/etc/aliases -bi @ 1.112.2.7 log @Pull up revisions 1.119,1.123,1.135,1.136 (via patch, requested by he): Enhance the "make release" process: o Build install notes on all platforms, put into release tree o Document BUILD_KERNELS o Always build GENERIC, and install the kernel in the kernel release directory; checksum the kernel(s) there o Use a separate script to compute checksums @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.6 1999/11/27 16:16:31 he Exp $ a26 3 # BUILD_KERNELS are a machine-dependent list of kernels that should just # be built in place but not made into sets or installed, e.g., an # INSTALL kernel used later in src/distrib/. d236 17 a252 1 sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/security a253 3 sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/sets sh ../distrib/sets/makesums -t ${RELEASEDIR}/binary/kernel '*.gz' cd ${.CURDIR}/../distrib/notes && ${MAKE} release d283 12 a294 1 .for configfile in GENERIC ${EXTRA_KERNELS} ${BUILD_KERNELS} a305 11 .endfor # kernels cd ${KERNOBJDIR}/GENERIC && \ tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\ gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz .for configfile in GENERIC ${EXTRA_KERNELS} cd ${KERNOBJDIR}/${configfile} && \ for kernel in `${GETKERNELAWK} \ ${KERNCONFDIR}/${configfile}` ; do \ gzip -c -9 < $${kernel} > \ ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz; \ done d307 8 d316 1 @ 1.112.2.8 log @Pull up revision 1.165 (requested by simonb): Use /etc/skel only for skeleton files for useradd. Fixes PR#10985. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.112.2.7 2000/07/09 21:34:13 he Exp $ a212 1 (cd skel; ${MAKE} distribution) @ 1.111 log @Add a NO_POSTFIX check to allow \'make distribution\' to work. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.110 1999/03/27 05:17:08 mrg Exp $ d205 1 a205 1 .ifndef NO_POSTFIX @ 1.110 log @postfix support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.109 1999/03/24 20:12:21 drochner Exp $ d205 1 d207 1 @ 1.109 log @install wscons.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.108 1999/03/14 14:04:40 drochner Exp $ d205 1 @ 1.108 log @introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc if it is set @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.107 1999/03/10 19:10:15 scottr Exp $ d75 2 a76 2 shells syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ etc.${MACHINE}/disktab @ 1.107 log @Make the includes and install targets consistent, and shove the ugly hack into the etc/Makefile distribution target instead of the top-level build target. Problem noted by Mycroft. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.106 1999/03/08 02:37:56 cjs Exp $ d74 1 a74 1 rc.shutdown remote rpc security security.conf services \ d283 1 a283 1 @ 1.106 log @Add comment that release is a synonym for snapshot, and make release present everywhere snapshot is. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.105 1999/03/05 07:21:44 mycroft Exp $ d110 2 a111 2 (cd ..; ${MAKE} includes) (cd ..; ${MAKE} install) @ 1.105 log @Only install ld.so.conf on machines where we install ld.aout_so. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.104 1999/02/19 05:58:40 itohy Exp $ d36 1 d104 1 a104 1 distribution distrib-dirs snapshot: d213 1 a213 1 snapshot snap_pre: @ 1.104 log @Make "make release" work without US domestic source and with more than one extra kernels. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.103 1999/02/18 19:42:51 fair Exp $ d69 1 a69 1 inetd.conf ld.so.conf lkm.conf mailer.conf man.conf \ d76 9 @ 1.103 log @The "secr" set is not made by default by maketars; add stuff to make it unless EXPORTABLE_SYSTEM is set. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.102 1999/02/18 19:03:44 fair Exp $ d210 1 a210 1 .ifndef EXPORTABLE_SYSTEM d224 2 a225 1 (cd ${RELEASEDIR}/binary/kernel && if [ -r *.gz ]; then \ d229 2 a230 2 cksum -o 2 *.gz >SYSVSUM \ ; fi ) @ 1.102 log @Remove "tar" command from EXTRA_KERNELS section; those files are expected to be ".gz" not ".tgz" @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.101 1999/02/13 02:54:19 lukem Exp $ d210 9 @ 1.101 log @convert from NOxxx= to MKxxx=no. include if testing a MKxxx variable. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.100 1999/02/11 22:48:11 cjs Exp $ d260 2 a261 2 tar cf - netbsd |\ gzip -c -9 > ${RELEASEDIR}/binary/kernel/netbsd.${kernel}.gz @ 1.100 log @Use slightly cleaner syntax for release/snapshot target. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.99 1999/02/11 18:19:21 cjs Exp $ d45 1 a45 1 NOOBJ= oobj @ 1.99 log @Add a `release' target, which is a synonym for `snapshot.' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.98 1999/02/09 19:55:58 cjs Exp $ a201 2 release: snapshot d207 1 a207 1 snapshot: distribution snap_pre snap_md snap_kern @ 1.98 log @Change a BUILD to an UPDATE that I missed in the last commit. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.97 1999/02/07 06:51:41 cjs Exp $ d201 2 @ 1.97 log @.ifndef BUILD should be .ifndef UPDATE (to avoid `make clean'). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.96 1999/02/05 03:01:49 cjs Exp $ d255 1 a255 1 .ifndef BUILD @ 1.96 log @Update all this crap so that `make snapshot' makes snapshots in release(7) format, rather than in some unknown format. Also clean up the code a bit, remove some code duplication, and add documentation to the Makefile. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.95 1999/01/22 01:41:19 mycroft Exp $ d19 2 d245 1 a245 1 .ifndef BUILD @ 1.95 log @Make the default named configuration more ... sane. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.94 1999/01/16 14:25:47 lukem Exp $ d4 31 d55 6 d200 19 a218 2 snapshot: distribution snap_pre snap_tar snap_md cd ${DESTDIR}/snapshot && cksum * > CKSUMS d221 42 a262 23 /bin/rm -rf ${DESTDIR}/snapshot ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}/snapshot snap_tar: cd ${DESTDIR} && tar cf - bin | gzip -9 > snapshot/bin.tar.gz cd ${DESTDIR} && tar cf - dev | gzip -9 > snapshot/dev.tar.gz cd ${DESTDIR} && tar cf - .profile .cshrc etc mnt root sys tmp | \ gzip -9 > snapshot/etc.tar.gz cd ${DESTDIR} && tar cf - sbin | gzip -9 > snapshot/sbin.tar.gz cd ${DESTDIR} && tar cf - usr/bin | gzip -9 > snapshot/usr.bin.tar.gz cd ${DESTDIR} && tar cf - usr/games | gzip -9 > \ snapshot/usr.games.tar.gz cd ${DESTDIR} && tar cf - usr/include | gzip -9 > \ snapshot/usr.include.tar.gz cd ${DESTDIR} && tar cf - usr/lib | gzip -9 > snapshot/usr.lib.tar.gz cd ${DESTDIR} && tar cf - usr/libexec | gzip -9 > \ snapshot/usr.libexec.tar.gz cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \ usr/obj | gzip -9 > snapshot/usr.misc.tar.gz cd ${DESTDIR} && tar cf - usr/sbin | gzip -9 > snapshot/usr.sbin.tar.gz cd ${DESTDIR} && tar cf - usr/share | gzip -9 > \ snapshot/usr.share.tar.gz cd ${DESTDIR} && tar cf - var | gzip -9 > snapshot/var.tar.gz @ 1.94 log @install sample nsswitch.conf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.93 1999/01/06 06:08:37 abs Exp $ d44 1 a44 1 NAMEDB= localhost.rev root.cache @ 1.93 log @Install /etc/skeykeys 600 - from PR6519 by andrew@@untraceable.net, tested OK. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.92 1998/12/25 22:18:19 perry Exp $ d32 1 a32 1 newsyslog.conf phones printcap profile protocols \ @ 1.92 log @add mailer.conf, and leave a bit more room in the BIN1 lines for the future @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.91 1998/11/19 19:53:33 tron Exp $ d97 1 a97 1 ${INSTALL} -c -o ${BINOWN} -g operator -m 644 /dev/null \ @ 1.91 log @BIND 8 is the default now. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.90 1998/11/02 03:32:22 kim Exp $ d27 10 a36 8 BIN1+= aliases bootptab changelist csh.cshrc csh.login csh.logout daily \ daily.conf dm.conf floppytab ftpchroot ftpusers ftpwelcome \ gettytab group hosts hosts.lpd inetd.conf ld.so.conf lkm.conf \ man.conf monthly monthly.conf mrouted.conf netstart networks \ newsyslog.conf phones printcap profile protocols rbootd.conf rc \ rc.conf rc.lkm rc.local rc.subr rc.shutdown remote rpc security \ security.conf services shells syslog.conf weekly weekly.conf \ etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.90 log @Pay attention to NO_SENDMAIL and USE_BIND8 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.89 1998/10/29 20:24:56 bad Exp $ d4 1 a4 1 # XXX: For NO_SENDMAIL and USE_BIND8 d43 3 a45 1 .ifdef USE_BIND8 a46 2 .else NAMEDB+= named.boot @ 1.89 log @A basic /etc/rc.shutdown. Bails out if do_rcshutdown!=YES in /etc/rc.conf (default is YES). Kills xdm and waits for it to terminate if it was enabled in rc.conf (based on a code snippet from Ignatios). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.88 1998/09/05 14:48:38 lukem Exp $ d4 3 d8 1 a8 1 LOCALTIME= US/Pacific d42 6 a47 1 NAMEDB= localhost.rev named.boot root.cache d151 1 d153 1 @ 1.88 log @distclean is a synonym for cleandir @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.87 1998/07/22 16:37:54 perry Exp $ d29 3 a31 3 rc.conf rc.lkm rc.local rc.subr remote rpc security security.conf \ services shells syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ etc.${MACHINE}/disktab @ 1.87 log @Add a variable, INSTALL_DONE, that indicates that a make install was already done (say, by "make build"). This is often of help when building releases. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.86 1997/12/22 05:58:58 mikel Exp $ d42 1 a42 1 all clean cleandir depend etc includes install lint: @ 1.86 log @back out last change, /etc/aliases.db now auto-rebuilt by default sendmail.cf @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.85 1997/12/18 06:31:33 mikel Exp $ d50 1 d53 1 @ 1.85 log @build $DESTDIR/etc/aliases.db in distribution: target @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.84 1997/12/17 22:41:05 perry Exp $ a52 1 sendmail -bi -oA${DESTDIR}/etc/aliases @ 1.84 log @add an ld.so.conf for all ports @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.83 1997/12/02 06:52:14 mrg Exp $ d53 1 @ 1.83 log @create etc/mtree/Makefile and let it deal with what files are installed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.82 1997/11/24 02:03:44 perry Exp $ d26 1 a26 1 gettytab group hosts hosts.lpd inetd.conf lkm.conf \ @ 1.82 log @cribloo -> criblog @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 1997/11/20 08:53:06 mrg Exp $ d75 1 a75 7 (cd mtree; \ ${INSTALL} -c -o root -g wheel -m 600 special \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 NetBSD.dist \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 BSD.pkg.dist \ ${DESTDIR}/etc/mtree) @ 1.81 log @install empty games data files with the correct perms for a distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.80 1997/11/11 04:37:17 jonathan Exp $ d124 1 a124 1 ${DESTDIR}/var/games/cribloo @ 1.80 log @Allow etc.{$MACHINE_ARCH}/Makefile.inc to add files to BIN1, BIN2, BIN3. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.79 1997/10/23 22:53:30 chuck Exp $ d117 26 @ 1.79 log @fix typeo in prev commit @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78.2.1 1997/10/23 22:42:40 chuck Exp $ d11 6 d24 1 a24 1 BIN1= aliases bootptab changelist csh.cshrc csh.login csh.logout daily \ d34 1 a34 1 BIN2= motd d37 1 a37 1 BIN3= hosts.equiv @ 1.78 log @Install BSD.pkg.dist in ${DESTDIR}/etc/mtree (used from within bsd.port.mk) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.77 1997/10/08 10:47:42 mycroft Exp $ d73 1 a73 1 ${DESTDIR}/etc/mtree) @ 1.78.2.1 log @fix typeo in prev commit @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78 1997/10/19 15:27:25 hubertf Exp $ d73 1 a73 1 ${DESTDIR}/etc/mtree; \ @ 1.78.2.2 log @Pull rev 1.80 up from trunk (jonathan) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78.2.1 1997/10/23 22:42:40 chuck Exp $ a10 6 # MD Makefile.inc may append MD targets to BIN[123]. Make sure all # are empty, to preserve the old semantics of setting them below with "=". BIN1= BIN2= BIN3= d18 1 a18 1 BIN1+= aliases bootptab changelist csh.cshrc csh.login csh.logout daily \ d28 1 a28 1 BIN2+= motd d31 1 a31 1 BIN3+= hosts.equiv @ 1.78.2.3 log @pull up from trunk: install empty games data files with the correct perms for a distribution. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.81 1997/11/20 08:53:06 mrg Exp $ a116 26 ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/atc_scores ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/battlestar.log ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/cfscores ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/cribloo ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/robots_roll ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/rogue.scores ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/saillog ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snakerawscores ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/snake.log ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/tetris.scores ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/llog12.0 ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/lscore12.0 ${INSTALL} -c -o games -g games -m 664 /dev/null \ ${DESTDIR}/var/games/larn/playerids @ 1.78.2.4 log @pullup from trunk: cribloo -> criblog @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78.2.3 1997/11/20 09:00:28 mrg Exp $ d124 1 a124 1 ${DESTDIR}/var/games/criblog @ 1.78.2.5 log @Install BSD.x11.dist @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78.2.4 1997/11/24 02:04:06 perry Exp $ a80 2 ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 BSD.x11.dist \ @ 1.78.2.6 log @Pull up 1.84 (fvdl) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.78.2.5 1997/12/15 06:11:25 mellon Exp $ d26 1 a26 1 gettytab group hosts hosts.lpd inetd.conf ld.so.conf lkm.conf \ @ 1.77 log @Add a BIN3 for files installed with mode 0600 (e.g. hosts.equiv). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 1997/09/12 17:42:08 mycroft Exp $ d73 2 @ 1.76 log @f before t... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.75 1997/09/07 10:08:31 mycroft Exp $ d20 1 a20 1 gettytab group hosts hosts.equiv hosts.lpd inetd.conf lkm.conf \ d30 3 d48 1 @ 1.75 log @Nuke myname. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.74 1997/08/29 09:28:50 veego Exp $ d22 1 a22 1 newsyslog.conf phones printcap protocols profile rbootd.conf rc \ @ 1.74 log @Add rc.subr to BIN1 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.73 1997/07/30 22:17:55 perry Exp $ d21 1 a21 1 man.conf monthly monthly.conf mrouted.conf myname netstart networks \ @ 1.73 log @add a default minfree file (requested by David Brownlee, pr-1577) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.72 1997/06/21 06:07:38 mikel Exp $ d23 2 a24 2 rc.conf rc.lkm rc.local remote rpc security security.conf services \ shells syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ @ 1.72 log @add sample /etc/profile, cribbed shamelessly from csh.login. consists solely of comments. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.71 1997/05/31 21:21:16 cjs Exp $ d51 2 @ 1.71 log @Back out BUILDDIR and NOINSTALL changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.69 1997/04/02 05:23:49 perry Exp $ d22 3 a24 3 newsyslog.conf phones printcap protocols rbootd.conf rc rc.conf \ rc.lkm rc.local remote rpc security security.conf services shells \ syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ @ 1.70 log @These updates to the build allow building against include files and libs in the object tree, if you use a separate object tree, while maintaining backward compatability with other build methods. See the notes in src/share/mk/bsd.README for full details. Note that the `make includes' target now only installs the include files in the build directory (if you use one--otherwise they go in DESTDIR just like before); `make install' will install include files in DESTDIR. @ text @d11 3 a13 1 .include # for BUILDDIR and configs @ 1.70.2.1 log @Remove `make includes'; `make install' already does that. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70 1997/05/26 03:55:43 cjs Exp $ d39 1 @ 1.70.2.2 log @Remove myname from list of files to install. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70.2.1 1997/06/17 19:43:06 cjs Exp $ d19 1 a19 1 man.conf monthly monthly.conf mrouted.conf netstart networks \ @ 1.70.2.3 log @Update to 1.76. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.76 1997/09/12 17:42:08 mycroft Exp $ d11 1 a11 3 .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" .endif d20 3 a22 3 newsyslog.conf phones printcap profile protocols rbootd.conf rc \ rc.conf rc.lkm rc.local rc.subr remote rpc security security.conf \ services shells syslog.conf weekly weekly.conf etc.${MACHINE}/ttys \ a47 2 ${INSTALL} -c -o root -g wheel -m 600 minfree \ ${DESTDIR}/var/crash @ 1.70.2.4 log @Oops; accidently deleted bsd.own.mk include when merging. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.70.2.3 1997/09/18 22:04:48 cjs Exp $ a9 2 .include # for BUILDDIR and configs @ 1.69 log @Add /var/log/authlog and /var/log/xferlog. The permissions and especially ownerships of all the /var/log files should be re-examined -- bin:bin really isn't right for these files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.68 1997/03/24 18:10:00 perry Exp $ d11 1 a11 3 .if exists(etc.${MACHINE}/Makefile.inc) .include "etc.${MACHINE}/Makefile.inc" .endif @ 1.68 log @remove chroot on pwd_mkdb -- use -d option instead @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.67 1997/03/13 04:32:11 perry Exp $ d83 2 d97 2 @ 1.67 log @mtree/4.4BSD.dist -> mtree/NetBSD.dist @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.66 1997/02/25 07:37:19 mikel Exp $ d48 1 a48 1 chroot ${DESTDIR}/ pwd_mkdb -p /etc/master.passwd @ 1.66 log @merge in 4.4BSD-Lite2 changes. only SCCS IDs were changed, since all of the lite1-lite2 differences were either already present or inappropriate. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.65 1997/02/21 08:14:08 mikel Exp $ d66 1 a66 1 ${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \ d108 1 a108 1 -mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u @ 1.65 log @merge lite-1 changes (ftpwelcome, .klogin perms). also eliminate redundant copy of motd. @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.64 1997/02/10 00:19:08 pk Exp $ # from: @@(#)Makefile 8.4 (Berkeley) 1/25/94 @ 1.64 log @Missing `)'. @ text @d1 2 a2 2 # $NetBSD: Makefile,v 1.63 1997/01/22 04:10:42 mikel Exp $ # from: @@(#)Makefile 5.11 (Berkeley) 5/21/91 d19 3 a21 3 daily.conf dm.conf floppytab ftpusers ftpchroot gettytab group hosts \ hosts.equiv hosts.lpd inetd.conf lkm.conf man.conf monthly \ monthly.conf motd mrouted.conf myname netstart networks \ d54 1 a54 1 ${INSTALL} -c -o root -g wheel -m 644 dot.klogin \ @ 1.63 log @install namedb files from subshell so distribution target will work with -j; from PR misc/3116 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 1997/01/16 23:10:43 perry Exp $ d70 1 a70 1 ${DESTDIR}/etc/namedb @ 1.62 log @mail.rc now installed by 'make distribution' -- fixes pr-3015 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 1997/01/09 06:38:16 thorpej Exp $ d68 3 a70 2 cd namedb; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ ${DESTDIR}/etc/namedb @ 1.61 log @Add missing "\". @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 1997/01/08 23:59:50 mrg Exp $ d101 1 @ 1.60 log @add files related to the new rc world order. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 1996/11/29 16:31:55 jtk Exp $ d23 1 a23 1 rc.lkm rc.local remote rpc security security.conf services shells @ 1.59 log @add floppy formatting table @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 1996/11/20 04:33:24 lukem Exp $ d19 7 a25 5 dm.conf floppytab ftpusers ftpchroot gettytab group hosts hosts.equiv \ hosts.lpd inetd.conf man.conf monthly motd mrouted.conf myname \ netstart networks newsyslog.conf phones printcap protocols \ rbootd.conf rc rc.local remote rpc security services shells \ syslog.conf weekly etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.58 log @- send authpriv to /var/log/secure only (not to console or /var/log/messages) (closed [misc/574]) - send ftp to /var/log/xferlog - prevent anything that goes to a restricted file (e.g., /var/cron/log) ending up in /var/log/messages - rotate /var/lgo/secure - install the default logs with permissions consistant with those set by newsyslog.conf (and commonsense) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 1996/10/26 08:12:09 ragge Exp $ d19 5 a23 5 dm.conf ftpusers ftpchroot gettytab group hosts hosts.equiv hosts.lpd \ inetd.conf man.conf monthly motd mrouted.conf myname netstart \ networks newsyslog.conf phones printcap protocols rbootd.conf rc \ rc.local remote rpc security services shells syslog.conf weekly \ etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.57 log @Move vax-specific microcode install stuff into etc.vax. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 1996/10/18 02:37:51 thorpej Exp $ d82 1 a82 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d84 1 a84 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d86 1 a86 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d88 3 a90 1 ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ @ 1.56 log @Use ${INSTALL}. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 1996/10/16 01:30:11 perry Exp $ a96 4 .if ${MACHINE} == "vax" (cd etc.vax; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \ ${DESTDIR}/) .endif @ 1.55 log @add a comment documenting what the NOOBJ variable is here for. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 1996/10/15 23:59:32 perry Exp $ d41 5 a45 4 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc install -c -o ${BINOWN} -g ${BINGRP} -m 664 ${BIN2} ${DESTDIR}/etc install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc d47 1 a47 1 install -c -o ${BINOWN} -g ${BINGRP} -m 555 \ d50 1 a50 1 install -c -o root -g wheel -m 644 dot.cshrc \ d52 1 a52 1 install -c -o root -g wheel -m 644 dot.klogin \ d54 1 a54 1 install -c -o root -g wheel -m 644 dot.login \ d56 1 a56 1 install -c -o root -g wheel -m 644 dot.profile \ d62 1 a62 1 install -c -o root -g wheel -m 600 special \ d64 1 a64 1 install -c -o root -g wheel -m 444 4.4BSD.dist \ d66 1 a66 1 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \ d72 1 a72 1 install -c -o ${BINOWN} -g operator -m 664 /dev/null \ d74 1 a74 1 install -c -o ${BINOWN} -g operator -m 644 /dev/null \ d76 1 a76 1 install -c -o root -g wheel -m 600 /dev/null \ d78 1 a78 1 install -c -o nobody -g ${BINGRP} -m 664 /dev/null \ d80 1 a80 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d82 1 a82 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d84 1 a84 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d86 1 a86 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d88 1 a88 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d90 1 a90 1 install -c -o daemon -g staff -m 664 /dev/null \ d92 1 a92 1 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \ d94 1 a94 1 (cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \ d98 1 a98 1 (cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \ d105 1 a105 1 install -d -o root -g wheel -m 755 ${DESTDIR} d114 1 a114 1 install -d -o root -g wheel -m 755 ${DESTDIR}/snapshot @ 1.54 log @remove md tahoe conditionals -- we don't need them. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 1996/06/05 21:55:13 cgd Exp $ d7 2 @ 1.53 log @add a no-op 'includes' target for completeness. make 'make distribution' do a 'make includes' as well as install, so that distribution trees will contain includes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 1996/05/22 01:27:34 mrg Exp $ a12 1 # disktab may be wrong -- hcx9 is a tahoe, but gets its own. a27 2 WCS1= wcs fppwcs poc poc1 poc2 fppoc WCS2= fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual a93 4 .if ${MACHINE} == "tahoe" (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \ ${DESTDIR}/) .endif a99 3 hcx9-distribution: (cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \ ${DESTDIR}/) @ 1.52 log @install mrouted.conf, networks and rbootd.conf. pr#2288 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 1995/11/01 13:52:40 pk Exp $ d32 1 a32 1 all clean cleandir depend etc install lint: d40 1 @ 1.51 log @Include `usr/libdata' in snapshot (from Arne Juul; PR#1711). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 1995/10/17 08:58:11 thorpej Exp $ d19 4 a22 3 inetd.conf man.conf monthly motd myname netstart newsyslog.conf \ phones printcap protocols rc rc.local remote rpc security services \ shells syslog.conf weekly etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.51.4.1 log @pull up from trunk: >add a no-op 'includes' target for completeness. make 'make distribution' >do a 'make includes' as well as install, so that distribution trees will >contain includes. @ text @d31 1 a31 1 all clean cleandir depend etc includes install lint: a38 1 (cd ..; ${MAKE} includes) @ 1.50 log @New-style RCS id. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 1995/10/08 04:09:06 tls Exp $ d135 2 a136 2 cd ${DESTDIR} && tar cf - usr/mdec usr/local usr/src usr/obj | \ gzip -9 > snapshot/usr.misc.tar.gz @ 1.49 log @distribution target should run MAKEDEV; it's both harmless for tar distributions and useful for making bootable distribution media @ text @d1 1 a2 1 # $Id: Makefile,v 1.48 1994/06/28 21:48:46 deraadt Exp $ @ 1.49.2.1 log @Update from trunk: include libdata in snapshot. Back to $NetBSD$ RCSId. @ text @a0 1 # $NetBSD$ d2 1 d135 2 a136 2 cd ${DESTDIR} && tar cf - usr/mdec usr/libdata usr/local usr/src \ usr/obj | gzip -9 > snapshot/usr.misc.tar.gz @ 1.48 log @in the name of compatibility, link /etc/rmt -> /usr/sbin/rmt, since "/etc/rmt" is hardcoded into many old rmt-using programs. @ text @d2 1 a2 1 # $Id: Makefile,v 1.47 1994/06/19 04:40:28 cgd Exp $ d94 1 @ 1.47 log @update for new mtree, and a bit or paranoia! @ text @d2 1 a2 1 # $Id: Makefile,v 1.46 1994/06/16 18:59:14 deraadt Exp $ d68 2 @ 1.46 log @motd defaults to 664 root:wheel, and the mode is not changed every reboot @ text @d2 1 a2 1 # $Id: Makefile,v 1.45 1994/06/15 04:28:06 cgd Exp $ a25 1 MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist d59 5 a63 2 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \ ${DESTDIR}/etc/mtree d108 1 a108 3 mtree -u -d -p ${DESTDIR}/ -f ${.CURDIR}/mtree/BSD.root.dist mtree -u -d -p ${DESTDIR}/usr -f ${.CURDIR}/mtree/BSD.usr.dist mtree -u -d -p ${DESTDIR}/var -f ${.CURDIR}/mtree/BSD.var.dist @ 1.45 log @update to new security script @ text @d2 1 a2 1 # $Id: Makefile,v 1.44 1994/05/24 06:09:47 deraadt Exp $ d23 1 a23 1 # -rw-rw-rw- d42 1 a42 1 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc @ 1.44 log @create skey password file @ text @d2 1 a2 1 # $Id: Makefile,v 1.43 1994/04/18 05:15:36 glass Exp $ d17 2 a18 2 BIN1= aliases bootptab csh.cshrc csh.login csh.logout daily dm.conf \ ftpusers ftpchroot gettytab group hosts hosts.equiv hosts.lpd \ @ 1.43 log @move bootpd from othersrc to libexec. add bootptab file @ text @d2 1 a2 1 # $Id: Makefile,v 1.42 1994/04/06 20:54:01 cgd Exp $ d68 2 @ 1.42 log @add default ftpchroot (with bogus entry) for the latest ftpd mods @ text @d2 1 a2 1 # $Id: Makefile,v 1.41 1994/03/05 08:06:41 cgd Exp $ d17 1 a17 1 BIN1= aliases csh.cshrc csh.login csh.logout daily dm.conf \ @ 1.41 log @add 'snapshot' target, including machine-dependent targets @ text @d2 1 a2 1 # $Id: Makefile,v 1.40 1994/02/19 11:04:45 cgd Exp $ d18 4 a21 4 ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \ man.conf monthly motd myname netstart newsyslog.conf phones \ printcap protocols rc rc.local remote rpc security services shells \ syslog.conf weekly etc.${MACHINE}/ttys etc.${MACHINE}/disktab @ 1.40 log @daily, montly, weekly no longer special @ text @d2 1 a2 1 # $Id: Makefile,v 1.39 1994/02/19 08:08:30 cgd Exp $ d35 1 a35 1 distribution distrib-dirs: d108 32 @ 1.39 log @msgs stuff @ text @d2 1 a2 1 # $Id: Makefile,v 1.38 1994/02/17 00:12:56 cgd Exp $ d17 1 a17 1 BIN1= aliases csh.cshrc csh.login csh.logout dm.conf \ d19 3 a21 3 man.conf motd myname netstart newsyslog.conf phones \ printcap protocols rc rc.local remote security services shells \ syslog.conf etc.${MACHINE}/ttys etc.${MACHINE}/disktab rpc a25 3 # -rwxr-xr-x root.wheel, for the new f***ing cron root.wheel BIN3= daily weekly monthly a42 1 install -c -o root -g wheel -m 755 ${BIN3} ${DESTDIR}/etc @ 1.38 log @dtrt with /var/cron/log @ text @d2 1 a2 1 # $Id: Makefile,v 1.37 1994/02/10 23:23:34 cgd Exp $ d86 2 @ 1.37 log @make DESTDIR in distrib-dirs if it doesn't already exist. @ text @d2 1 a2 1 # $Id: Makefile,v 1.36 1994/02/09 07:32:23 cgd Exp $ d72 2 @ 1.36 log @slight consistency @ text @d2 1 a2 1 # $Id: Makefile,v 1.35 1994/02/09 07:29:36 cgd Exp $ d103 1 @ 1.35 log @install a prototype sendmail.cf @ text @d2 1 a2 1 # $Id: Makefile,v 1.34 1994/02/06 06:48:46 cgd Exp $ d38 2 a39 2 distribution: @@echo setenv DESTDIR before running a 'make distribution'. @ 1.34 log @fix jtc's recent Makefile.inc change, and be paranoid about 'make distribution' @ text @d2 1 a2 1 # $Id: Makefile,v 1.33 1994/02/05 07:26:19 cgd Exp $ d96 1 @ 1.33 log @pull ttys out of ${MACHINE} @ text @d2 1 a2 1 # $Id: Makefile,v 1.32 1994/02/05 02:01:49 jtc Exp $ d10 1 a10 1 .include ${MACHINE}/Makefile.inc d37 5 d106 1 @ 1.32 log @Include etc.${MACHINE}/Makefile.inc if it exists. This will allow us to separate machine dependant and machine independant install stuff/make targets/etc. @ text @d2 1 a2 1 # $Id: Makefile,v 1.31 1994/01/28 00:50:31 jtc Exp $ d21 1 a21 1 syslog.conf ttys etc.${MACHINE}/disktab rpc @ 1.31 log @Use mtree to install ${DESTDIR}/usr @ text @d2 1 a2 1 # $Id: Makefile,v 1.30 1994/01/08 03:09:05 jtc Exp $ d9 4 d38 1 d44 1 a44 1 (cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd) d66 1 a66 1 ${DESTDIR}/etc/dumpdates d68 5 a72 1 ${DESTDIR}/var/db/locate.database d74 1 a74 1 ${DESTDIR}/var/log/messages d76 1 a76 1 ${DESTDIR}/var/log/maillog d78 1 a78 1 ${DESTDIR}/var/log/lpd-errs d80 1 a80 1 ${DESTDIR}/var/run/utmp @ 1.30 log @Use mtree to install ${DESTDIR}/var @ text @d2 1 a2 1 # $Id: Makefile,v 1.29 1994/01/08 00:27:42 jtc Exp $ d89 1 a89 1 # mtree -u -d -p ${DESTDIR}/usr -f ${.CURDIR}/mtree/BSD.usr.dist a91 2 -mkdir ${DESTDIR}/usr/obj chmod 755 ${DESTDIR}/usr/obj @ 1.29 log @Have to create ${DESTDIR} before mtree can do its thing. @ text @d2 1 a2 1 # $Id: Makefile,v 1.28 1994/01/07 23:55:00 jtc Exp $ d88 1 a88 2 -mkdir ${DESTDIR} mtree -u -d -p ${DESTDIR} -f ${.CURDIR}/mtree/BSD.root.dist d90 1 a90 21 # mtree -u -d -p ${DESTDIR}/var -f ${.CURDIR}/mtree/BSD.var.dist -mkdir ${DESTDIR}/var/at ${DESTDIR}/var/backups ${DESTDIR}/var/cron \ ${DESTDIR}/var/db ${DESTDIR}/var/log ${DESTDIR}/var/mail \ ${DESTDIR}/var/msgs ${DESTDIR}/var/preserve ${DESTDIR}/var/run \ ${DESTDIR}/var/rwho ${DESTDIR}/var/spool ${DESTDIR}/var/tmp chmod 755 ${DESTDIR}/var/at ${DESTDIR}/var/backups ${DESTDIR}/var/cron \ ${DESTDIR}/var/db ${DESTDIR}/var/log ${DESTDIR}/var/mail \ ${DESTDIR}/var/msgs ${DESTDIR}/var/preserve \ ${DESTDIR}/var/run ${DESTDIR}/var/rwho ${DESTDIR}/var/spool chmod 1777 ${DESTDIR}/var/tmp -mkdir ${DESTDIR}/var/cron/tabs \ ${DESTDIR}/var/at/jobs ${DESTDIR}/var/at/spool chmod 700 ${DESTDIR}/var/cron/tabs \ ${DESTDIR}/var/at/jobs ${DESTDIR}/var/at/spool -mkdir ${DESTDIR}/var/spool/lock ${DESTDIR}/var/spool/mqueue \ ${DESTDIR}/var/spool/output ${DESTDIR}/var/spool/uucp \ ${DESTDIR}/var/spool/uucppublic chown uucp.dialer ${DESTDIR}/var/spool/lock chmod 755 ${DESTDIR}/var/spool/lock ${DESTDIR}/var/spool/mqueue \ ${DESTDIR}/var/spool/output ${DESTDIR}/var/spool/uucp \ ${DESTDIR}/var/spool/uucppublic @ 1.28 log @Remove lots of mkdirs/chmods/chowns and enable root "mtree". @ text @d2 1 a2 1 # $Id: Makefile,v 1.27 1994/01/07 23:29:07 jtc Exp $ d88 1 @ 1.27 log @Added mtree commands to distrib-dirs target. (Currently commented out until mtree files are updated) @ text @d2 1 a2 1 # $Id: Makefile,v 1.26 1993/12/11 07:49:52 mycroft Exp $ d88 1 a88 1 # mtree -u -d -p ${DESTDIR} -f ${.CURDIR}/mtree/BSD.root.dist a90 7 -mkdir ${DESTDIR}/dev ${DESTDIR}/etc ${DESTDIR}/kern ${DESTDIR}/root \ ${DESTDIR}/tmp ${DESTDIR}/var chmod 755 ${DESTDIR}/dev ${DESTDIR}/etc ${DESTDIR}/kern \ ${DESTDIR}/root ${DESTDIR}/var chmod 1777 ${DESTDIR}/tmp -mkdir ${DESTDIR}/etc/mtree ${DESTDIR}/etc/namedb chmod 755 ${DESTDIR}/etc/mtree ${DESTDIR}/etc/namedb d111 1 a111 2 rm -f ${DESTDIR}/sys ln -s ${DESTDIR}/usr/src/sys ${DESTDIR}/sys @ 1.26 log @Add at(1) directories to distrib-dirs. @ text @d2 1 a2 1 # $Id: Makefile,v 1.25 1993/10/26 18:07:31 jtc Exp $ d88 3 @ 1.25 log @Create /var/msgs. @ text @d2 1 a2 1 # $Id: Makefile,v 1.24 1993/08/01 05:46:37 mycroft Exp $ d95 8 a102 8 -mkdir ${DESTDIR}/var/backups ${DESTDIR}/var/cron ${DESTDIR}/var/db \ ${DESTDIR}/var/log ${DESTDIR}/var/mail ${DESTDIR}/var/msgs \ ${DESTDIR}/var/preserve ${DESTDIR}/var/run ${DESTDIR}/var/rwho \ ${DESTDIR}/var/spool ${DESTDIR}/var/tmp chmod 755 ${DESTDIR}/var/backups ${DESTDIR}/var/cron ${DESTDIR}/var/db \ ${DESTDIR}/var/log ${DESTDIR}/var/mail ${DESTDIR}/var/msgs \ ${DESTDIR}/var/preserve ${DESTDIR}/var/run ${DESTDIR}/var/rwho \ ${DESTDIR}/var/spool d104 4 a107 2 -mkdir ${DESTDIR}/var/cron/tabs chmod 700 ${DESTDIR}/var/cron/tabs @ 1.24 log @Add RCS identifiers. @ text @d2 1 a2 1 # $Id: $ d96 3 a98 3 ${DESTDIR}/var/log ${DESTDIR}/var/mail ${DESTDIR}/var/preserve \ ${DESTDIR}/var/run ${DESTDIR}/var/rwho ${DESTDIR}/var/spool \ ${DESTDIR}/var/tmp d100 3 a102 2 ${DESTDIR}/var/log ${DESTDIR}/var/mail ${DESTDIR}/var/preserve \ ${DESTDIR}/var/run ${DESTDIR}/var/rwho ${DESTDIR}/var/spool @ 1.23 log @do the right thing with TZDIR @ text @d1 2 a2 1 # @@(#)Makefile 5.11 (Berkeley) 5/21/91 @ 1.22 log @fix stupid vi typo @ text @d3 1 @ 1.21 log @fix makefile for new f***ing cron, once and for all. @ text @d20 1 a20 1 # -rwxr-xr-x root.wheel, for the new f***ing cron root.wheel, for the new f***ing cron root.wheel, for the new f***ing cron root.wheel, for the new f***ing cron @ 1.20 log @adjust owner/group for new cron security checking @ text @d8 4 a11 4 # -rw-r--r-- root.wheel BIN1OWN= root BIN1GRP= wheel BIN1= aliases csh.cshrc csh.login csh.logout daily dm.conf \ d13 1 a13 1 man.conf monthly motd myname netstart newsyslog.conf phones \ d15 1 a15 1 syslog.conf ttys weekly etc.${MACHINE}/disktab rpc d20 3 d32 1 a32 1 install -c -o ${BIN1OWN} -g ${BIN1GRP} -m 644 ${BIN1} ${DESTDIR}/etc d34 1 @ 1.19 log @Make the /etc/localtime symbolic link in "make distribution" instead @ text @d8 3 a10 1 # -rw-r--r-- d29 1 a29 1 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc @ 1.18 log @arrange for all log rotations to be handled by /usr/bin/newsyslog @ text @d3 2 d50 2 @ 1.17 log @make sys point to /usr/src/sys @ text @d9 3 a11 3 man.conf monthly motd myname netstart phones printcap protocols rc \ rc.local remote security services shells syslog.conf ttys weekly \ etc.${MACHINE}/disktab rpc @ 1.16 log @make /usr/obj and /var/db/locate.database when making distribtion @ text @d101 1 a101 1 ln -s ${DESTDIR}/usr/src/sys.386bsd ${DESTDIR}/sys @ 1.15 log @forgot a \... @ text @d50 2 d102 2 @ 1.14 log @oops. screwed that up... @ text @d91 1 a91 1 -mkdir ${DESTDIR}/var/spool/lock ${DESTDIR}/var/spool/mqueue @ 1.13 log @make /var/spool/output and /kern, and disable example printer @ text @d76 2 a77 1 chmod 755 ${DESTDIR}/dev ${DESTDIR}/etc ${DESTDIR}/root ${DESTDIR}/var d91 3 a93 2 -mkdir ${DESTDIR}/var/spool/lock ${DESTDIR}/var/spool/mqueue \ ${DESTDIR}/var/spool/uucp ${DESTDIR}/var/spool/uucppublic @ 1.12 log @needed -f on that rm... @ text @d74 2 a75 2 -mkdir ${DESTDIR}/dev ${DESTDIR}/etc ${DESTDIR}/root ${DESTDIR}/tmp \ ${DESTDIR}/var d94 2 a95 1 ${DESTDIR}/var/spool/uucp ${DESTDIR}/var/spool/uucppublic @ 1.11 log @get rid of /sys before you try to make the symlink... @ text @d95 1 a95 1 /bin/rm ${DESTDIR}/sys @ 1.10 log @forgot to get rid of a \... @ text @d95 1 @ 1.9 log @make chmods explicit @ text @d86 1 a86 1 ${DESTDIR}/var/run ${DESTDIR}/var/rwho ${DESTDIR}/var/spool \ @ 1.8 log @goddamned v macro added rcsid... @ text @a73 1 umask 022 d76 1 d79 1 d84 3 d93 2 @ 1.7 log @added distrib-dirs (which distribution depends on) to make the dirs necessary for a distribution (e.g. /root, /tmp, /var/*, etc.) @ text @a91 2 # # $Id$ @ 1.6 log @move prototype fstab files into /etc rather than / @ text @d24 1 a24 1 distribution: d73 18 d92 2 @ 1.5 log @Added /etc/rpc for librpc support fixed crontab so it works (oops) fixed /etc/daily whatis.db support @ text @d59 1 a59 1 fstab.* ${DESTDIR}/) @ 1.4 log @added `myname' to list of things to install (in support of "better netstart") @ text @d11 1 a11 1 etc.${MACHINE}/disktab @ 1.3 log @installs crontab in right place @ text @d9 1 a9 1 man.conf monthly motd netstart phones printcap protocols rc \ @ 1.2 log @make passwd db right on "distribution" @ text @d7 1 a7 1 BIN1= aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \ d27 1 @ 1.1 log @Initial revision @ text @d28 1 a28 5 (cd ${DESTDIR}/etc; \ pwd_mkdb -p master.passwd; \ mv master.passwd.pag passwd.pag; \ mv master.passwd.dir passwd.dir; \ mv master.passwd.orig passwd) @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@ 1.1.1.2 log @import 4.4BSD-Lite @ text @d1 1 a1 1 # @@(#)Makefile 8.4 (Berkeley) 1/25/94 d7 3 a9 4 BIN1= aliases amd-home amd-n changelist csh.cshrc csh.login csh.logout \ crontab crontab.local daily dm.conf exports ftpusers ftpwelcome \ gettytab group hosts hosts.lpd inetd.conf man.conf \ monthly motd netgroup phones printcap protocols rc \ d16 1 a16 1 KRB= README krb.conf krb.realms a20 1 RBOOTD= rbootd.conf d25 9 a33 14 # Hand-craft the password file first. -mkdir /etc /dev cp master.passwd ${DESTDIR}/tmp/p pwd_mkdb -p /tmp/p rm -f /tmp/p cp group /etc/group # Build the tree. -mtree -def mtree/4.4BSD.dist -p ${DESTDIR}/ -u # install devices .if ${MACHINE} == "hp300" (cd etc.hp300; install -c -o root -g wheel -m 444 \ MAKEDEV.hpux ${DESTDIR}/dev) .endif install -c -o root -g wheel -m 555 \ a34 7 (cd /dev && ./MAKEDEV std) install -c -o root -g wheel -m 444 COPYRIGHT ${DESTDIR}/ install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc install -c -o root -g wheel -m 600 hosts.equiv ${DESTDIR}/etc install -c -o root -g wheel -m 744 netstart ${DESTDIR}/etc install -c -o root -g wheel -m 644 ${BIN1} ${DESTDIR}/etc install -c -o root -g wheel -m 666 ${BIN2} ${DESTDIR}/etc d38 1 a38 1 install -c -o root -g wheel -m 600 dot.klogin \ a43 2 install -c -o root -g wheel -m 600 dot.rhosts \ ${DESTDIR}/root/.rhosts; \ d47 5 a51 10 (cd mtree; \ install -c -o root -g wheel -m 600 special \ ${DESTDIR}/etc/mtree; \ install -c -o root -g wheel -m 444 4.4BSD.dist \ ${DESTDIR}/etc/mtree) (cd namedb; install -c -o root -g wheel -m 644 ${NAMEDB} \ ${DESTDIR}/etc/namedb) (cd kerberosIV; install -c -o root -g wheel -m 444 ${KRB} \ ${DESTDIR}/etc/kerberosIV) install -c -o root -g operator -m 664 /dev/null \ d53 1 a53 3 install -c -o root -g staff -m 644 /dev/null \ ${DESTDIR}/var/log/lastlog install -c -o root -g wheel -m 644 /dev/null \ d55 1 a55 1 install -c -o root -g wheel -m 644 /dev/null \ d57 1 a57 1 install -c -o root -g wheel -m 644 /dev/null \ d59 1 a59 1 install -c -o root -g utmp -m 664 /dev/null \ d61 2 a62 6 (cd etc.${MACHINE}; install -c -o root -g wheel -m 444 \ fstab.* ${DESTDIR}/etc) .if ${MACHINE} == "hp300" (cd etc.hp300; install -c -o root -g wheel -m 444 ${RBOOTD} \ ${DESTDIR}/etc) .endif d64 1 a64 1 (cd etc.tahoe; install -c -o root -g wheel -m 444 ${WCS1} \ d68 1 a68 1 (cd etc.vax; install -c -o root -g wheel -m 444 ${PCS} \ a70 15 # There are certain symbolic links we have to have, and # no other place to have install them. (cd / && rm -f sys && ln -s usr/src/sys sys) (cd /etc && rm -f rmt && ln -s /usr/sbin/rmt rmt) (cd /etc && rm -f termcap && ln -s /usr/share/misc/termcap termcap) (cd /usr && rm -f X11 && ln -s X11R5 X11) (cd /usr/bin && rm -f X11 && ln -s /usr/X11/bin X11) (cd /usr/lib && rm -f X && ln -s /usr/hpux/lib/X X) (cd /usr/lib && rm -f X11 && ln -s /usr/X11/lib X11) (cd /usr/lib && rm -f grmd && ln -s /usr/hpux/lib/grmd grmd) (cd /usr/lib && rm -f tmac && ln -s /usr/share/tmac tmac) (cd /usr/ucb && rm -f rdist && ln -s /usr/bin/rdist rdist) .if ${MACHINE} == "hp300" (cd /usr/bin && rm -f X11 && ln -s /usr/X11/bin X11) .endif d73 1 a73 1 (cd etc.tahoe; install -c -o root -g wheel -m 444 ${WCS2} \ @ 1.1.1.3 log @import 4.4BSD-Lite2 @ text @d1 1 a1 1 # @@(#)Makefile 8.7 (Berkeley) 5/25/95 d10 1 a10 1 monthly motd netgroup networks phones printcap protocols rc \ d28 1 a28 1 -mkdir ${DESTDIR}/etc ${DESTDIR}/dev ${DESTDIR}/tmp d30 3 a32 3 -pwd_mkdb -p ${DESTDIR}/tmp/p rm -f ${DESTDIR}/tmp/p cp group ${DESTDIR}/etc/group d42 1 a42 1 (cd ${DESTDIR}/dev && ./MAKEDEV std) d100 10 a109 12 (cd ${DESTDIR}/ && rm -f sys && ln -s usr/src/sys sys) (cd ${DESTDIR}/etc && rm -f rmt && ln -s /usr/sbin/rmt rmt) (cd ${DESTDIR}/etc && \ rm -f termcap && ln -s /usr/share/misc/termcap termcap) (cd ${DESTDIR}/usr && rm -f X11 && ln -s X11R5 X11) (cd ${DESTDIR}/usr && rm -f X11 && ln -s X11R6 X11) (cd ${DESTDIR}/usr/bin && rm -f X11 && ln -s /usr/X11/bin X11) (cd ${DESTDIR}/usr/lib && rm -f X && ln -s /usr/hpux/lib/X X) (cd ${DESTDIR}/usr/lib && rm -f X11 && ln -s /usr/X11/lib X11) (cd ${DESTDIR}/usr/lib && rm -f grmd && ln -s /usr/hpux/lib/grmd grmd) (cd ${DESTDIR}/usr/lib && rm -f tmac && ln -s /usr/share/tmac tmac) (cd ${DESTDIR}/usr/ucb && rm -f rdist && ln -s /usr/bin/rdist rdist) d111 1 a111 1 (cd ${DESTDIR}/usr/bin && rm -f X11 && ln -s /usr/X11/bin X11) @