head	1.976;
access;
symbols
	RELENG_8_4:1.975.0.2
	RELENG_9_1_0_RELEASE:1.967.2.2.2.2
	RELENG_9_1:1.967.2.2.0.2
	RELENG_9_1_BP:1.967.2.2
	RELENG_8_3_0_RELEASE:1.943.2.16.2.3
	RELENG_8_3:1.943.2.16.0.2
	RELENG_8_3_BP:1.943.2.16
	RELENG_9_0_0_RELEASE:1.967.2.1.2.1
	RELENG_9_0:1.967.2.1.0.2
	RELENG_9_0_BP:1.967.2.1
	RELENG_9:1.967.0.2
	RELENG_9_BP:1.967
	RELENG_7_4_0_RELEASE:1.924.2.18.2.2
	RELENG_8_2_0_RELEASE:1.943.2.12.4.2
	RELENG_7_4:1.924.2.18.0.2
	RELENG_7_4_BP:1.924.2.18
	RELENG_8_2:1.943.2.12.0.4
	RELENG_8_2_BP:1.943.2.12
	RELENG_8_1_0_RELEASE:1.943.2.12.2.1
	RELENG_8_1:1.943.2.12.0.2
	RELENG_8_1_BP:1.943.2.12
	RELENG_7_3_0_RELEASE:1.924.2.16.2.1
	RELENG_7_3:1.924.2.16.0.2
	RELENG_7_3_BP:1.924.2.16
	RELENG_8_0_0_RELEASE:1.943.2.7.2.1
	RELENG_8_0:1.943.2.7.0.2
	RELENG_8_0_BP:1.943.2.7
	RELENG_8:1.943.0.2
	RELENG_8_BP:1.943
	RELENG_7_2_0_RELEASE:1.924.2.8.2.2
	RELENG_7_2:1.924.2.8.0.2
	RELENG_7_2_BP:1.924.2.8
	RELENG_7_1_0_RELEASE:1.924.2.7.2.2
	RELENG_6_4_0_RELEASE:1.887.2.22.2.4
	RELENG_7_1:1.924.2.7.0.2
	RELENG_7_1_BP:1.924.2.7
	RELENG_6_4:1.887.2.22.0.2
	RELENG_6_4_BP:1.887.2.22
	RELENG_7_0_0_RELEASE:1.924.2.4
	RELENG_6_3_0_RELEASE:1.887.2.21.2.2
	RELENG_7_0:1.924.2.4.0.2
	RELENG_7_0_BP:1.924.2.4
	RELENG_6_3:1.887.2.21.0.2
	RELENG_6_3_BP:1.887.2.21
	RELENG_7:1.924.0.2
	RELENG_7_BP:1.924
	RELENG_6_2_0_RELEASE:1.887.2.18.2.3
	RELENG_6_2:1.887.2.18.0.2
	RELENG_6_2_BP:1.887.2.18
	RELENG_5_5_0_RELEASE:1.853.2.20.2.1
	RELENG_5_5:1.853.2.20.0.2
	RELENG_5_5_BP:1.853.2.20
	RELENG_6_1_0_RELEASE:1.887.2.8.2.3
	RELENG_6_1:1.887.2.8.0.2
	RELENG_6_1_BP:1.887.2.8
	RELENG_6_0_0_RELEASE:1.887.2.2.2.1
	RELENG_6_0:1.887.2.2.0.2
	RELENG_6_0_BP:1.887.2.2
	RELENG_6:1.887.0.2
	RELENG_6_BP:1.887
	RELENG_5_4_0_RELEASE:1.853.2.13.2.1
	RELENG_5_4:1.853.2.13.0.2
	RELENG_5_4_BP:1.853.2.13
	RELENG_4_11_0_RELEASE:1.536.2.116
	RELENG_4_11:1.536.2.116.0.2
	RELENG_4_11_BP:1.536.2.116
	RELENG_5_3_0_RELEASE:1.853.2.6.2.1
	RELENG_5_3:1.853.2.6.0.2
	RELENG_5_3_BP:1.853.2.6
	RELENG_5:1.853.0.2
	RELENG_5_BP:1.853
	RELENG_4_10_0_RELEASE:1.536.2.112.2.3
	RELENG_4_10:1.536.2.112.0.2
	RELENG_4_10_BP:1.536.2.112
	RELENG_5_2_1_RELEASE:1.825.2.4
	RELENG_5_2_0_RELEASE:1.825.2.1
	RELENG_5_2:1.825.0.2
	RELENG_5_2_BP:1.825
	RELENG_4_9_0_RELEASE:1.536.2.111.2.1
	RELENG_4_9:1.536.2.111.0.2
	RELENG_4_9_BP:1.536.2.111
	RELENG_5_1_0_RELEASE:1.779.2.1
	RELENG_5_1:1.779.0.2
	RELENG_5_1_BP:1.779
	RELENG_4_8_0_RELEASE:1.536.2.106.2.1
	RELENG_4_8:1.536.2.106.0.2
	RELENG_4_8_BP:1.536.2.106
	RELENG_5_0_0_RELEASE:1.736.2.3
	RELENG_5_0:1.736.0.2
	RELENG_5_0_BP:1.736
	RELENG_4_7_0_RELEASE:1.536.2.97.2.1
	RELENG_4_7:1.536.2.97.0.2
	RELENG_4_7_BP:1.536.2.97
	RELENG_4_6_2_RELEASE:1.536.2.84.2.1
	RELENG_4_6_1_RELEASE:1.536.2.84.2.1
	RELENG_4_6_0_RELEASE:1.536.2.84.2.1
	RELENG_4_6:1.536.2.84.0.2
	RELENG_4_6_BP:1.536.2.84
	RELENG_4_5_0_RELEASE:1.536.2.71
	RELENG_4_5:1.536.2.71.0.2
	RELENG_4_5_BP:1.536.2.71
	RELENG_4_4_0_RELEASE:1.536.2.56
	RELENG_4_4:1.536.2.56.0.2
	RELENG_4_4_BP:1.536.2.56
	RELENG_4_3_0_RELEASE:1.536.2.41
	RELENG_4_3:1.536.2.41.0.2
	RELENG_4_3_BP:1.536.2.41
	RELENG_4_2_0_RELEASE:1.536.2.30
	RELENG_4_1_1_RELEASE:1.536.2.23
	PRE_SMPNG:1.568
	RELENG_4_1_0_RELEASE:1.536.2.20
	RELENG_3_5_0_RELEASE:1.460.2.32
	RELENG_4_0_0_RELEASE:1.536
	RELENG_4:1.536.0.2
	RELENG_4_BP:1.536
	RELENG_3_4_0_RELEASE:1.460.2.31
	RELENG_3_3_0_RELEASE:1.460.2.27
	RELENG_3_2_PAO:1.460.2.18.0.2
	RELENG_3_2_PAO_BP:1.460.2.18
	RELENG_3_2_0_RELEASE:1.460.2.18
	RELENG_3_1_0_RELEASE:1.460.2.8
	RELENG_3:1.460.0.2
	RELENG_3_BP:1.460
	RELENG_2_2_8_RELEASE:1.246.2.95
	RELENG_3_0_0_RELEASE:1.421
	RELENG_2_2_7_RELEASE:1.246.2.90
	RELENG_2_2_6_RELEASE:1.246.2.84
	RELENG_2_2_5_RELEASE:1.246.2.65
	RELENG_2_2_2_RELEASE:1.246.2.40
	RELENG_2_2_1_RELEASE:1.246.2.34
	RELENG_2_2_0_RELEASE:1.246.2.34
	RELENG_2_1_7_RELEASE:1.193.2.70
	RELENG_2_1_6_1_RELEASE:1.193.2.68
	RELENG_2_1_6_RELEASE:1.193.2.68
	RELENG_2_2:1.246.0.2
	RELENG_2_2_BP:1.246
	RELENG_2_1_5_RELEASE:1.193.2.57
	RELENG_2_1_0_RELEASE:1.193.2.43
	RELENG_2_1_0:1.193.0.2
	RELENG_2_1_0_BP:1.193
	RELENG_2_0_5_RELEASE:1.192.2.16
	RELENG_2_0_5:1.192.0.2
	RELENG_2_0_5_BP:1.192
	RELENG_2_0_5_ALPHA:1.191
	RELEASE_2_0:1.58
	BETA_2_0:1.57
	ALPHA_2_0:1.29;
locks; strict;
comment	@# @;


1.976
date	2013.06.03.00.36.28;	author svnexp;	state Exp;
branches;
next	1.975;

1.975
date	2013.02.04.03.18.19;	author svnexp;	state Exp;
branches
	1.975.2.1;
next	1.974;

1.974
date	2012.11.17.03.07.29;	author svnexp;	state Exp;
branches;
next	1.973;

1.973
date	2012.11.17.01.50.12;	author svnexp;	state Exp;
branches;
next	1.972;

1.972
date	2012.10.15.17.19.47;	author emaste;	state Exp;
branches;
next	1.971;

1.971
date	2012.10.11.18.41.32;	author emaste;	state Exp;
branches;
next	1.970;

1.970
date	2012.03.09.02.23.03;	author nwhitehorn;	state Exp;
branches;
next	1.969;

1.969
date	2012.03.08.01.47.12;	author hrs;	state Exp;
branches;
next	1.968;

1.968
date	2012.01.15.08.36.25;	author glebius;	state Exp;
branches;
next	1.967;

1.967
date	2011.08.18.16.54.04;	author sbruno;	state Exp;
branches
	1.967.2.1;
next	1.966;

1.966
date	2011.07.09.23.01.54;	author nwhitehorn;	state Exp;
branches;
next	1.965;

1.965
date	2011.06.15.23.56.40;	author nwhitehorn;	state Exp;
branches;
next	1.964;

1.964
date	2011.06.15.23.38.15;	author nwhitehorn;	state Exp;
branches;
next	1.963;

1.963
date	2011.05.18.17.39.28;	author nwhitehorn;	state Exp;
branches;
next	1.962;

1.962
date	2011.04.18.13.20.54;	author nwhitehorn;	state Exp;
branches;
next	1.961;

1.961
date	2011.04.11.14.30.45;	author nwhitehorn;	state Exp;
branches;
next	1.960;

1.960
date	2011.03.27.23.46.12;	author nwhitehorn;	state Exp;
branches;
next	1.959;

1.959
date	2011.03.26.13.58.44;	author nwhitehorn;	state Exp;
branches;
next	1.958;

1.958
date	2011.03.22.01.14.53;	author nwhitehorn;	state Exp;
branches;
next	1.957;

1.957
date	2011.03.14.13.47.17;	author nwhitehorn;	state Exp;
branches;
next	1.956;

1.956
date	2011.03.02.14.39.26;	author nwhitehorn;	state Exp;
branches;
next	1.955;

1.955
date	2010.07.15.01.48.30;	author nwhitehorn;	state Exp;
branches;
next	1.954;

1.954
date	2010.07.13.21.19.59;	author nwhitehorn;	state Exp;
branches;
next	1.953;

1.953
date	2010.04.09.14.27.17;	author kensmith;	state Exp;
branches;
next	1.952;

1.952
date	2010.04.09.14.24.00;	author kensmith;	state Exp;
branches;
next	1.951;

1.951
date	2010.01.02.12.37.54;	author nyan;	state Exp;
branches;
next	1.950;

1.950
date	2009.12.21.14.42.35;	author kensmith;	state Exp;
branches;
next	1.949;

1.949
date	2009.09.18.14.53.01;	author kensmith;	state Exp;
branches;
next	1.948;

1.948
date	2009.08.27.13.18.59;	author blackend;	state Exp;
branches;
next	1.947;

1.947
date	2009.08.24.21.56.41;	author jhb;	state Exp;
branches;
next	1.946;

1.946
date	2009.08.24.21.55.43;	author jhb;	state Exp;
branches;
next	1.945;

1.945
date	2009.08.22.23.44.37;	author kensmith;	state Exp;
branches;
next	1.944;

1.944
date	2009.08.14.20.35.42;	author jhb;	state Exp;
branches;
next	1.943;

1.943
date	2009.06.28.08.59.46;	author blackend;	state Exp;
branches
	1.943.2.1;
next	1.942;

1.942
date	2009.06.25.04.25.26;	author marcel;	state Exp;
branches;
next	1.941;

1.941
date	2009.02.14.14.53.51;	author nyan;	state Exp;
branches;
next	1.940;

1.940
date	2009.02.10.15.11.26;	author kensmith;	state Exp;
branches;
next	1.939;

1.939
date	2009.02.10.15.03.08;	author kensmith;	state Exp;
branches;
next	1.938;

1.938
date	2008.11.13.01.47.08;	author kensmith;	state Exp;
branches;
next	1.937;

1.937
date	2008.10.21.23.36.28;	author kensmith;	state Exp;
branches;
next	1.936;

1.936
date	2008.10.21.22.50.01;	author kensmith;	state Exp;
branches;
next	1.935;

1.935
date	2008.10.14.02.13.12;	author kensmith;	state Exp;
branches;
next	1.934;

1.934
date	2008.10.12.02.52.56;	author kensmith;	state Exp;
branches;
next	1.933;

1.933
date	2008.07.07.16.23.04;	author marcel;	state Exp;
branches;
next	1.932;

1.932
date	2008.06.25.21.33.28;	author ru;	state Exp;
branches;
next	1.931;

1.931
date	2008.02.21.03.16.36;	author marcel;	state Exp;
branches;
next	1.930;

1.930
date	2007.12.09.04.24.09;	author obrien;	state Exp;
branches;
next	1.929;

1.929
date	2007.12.04.02.22.35;	author kensmith;	state Exp;
branches;
next	1.928;

1.928
date	2007.11.22.20.06.50;	author simon;	state Exp;
branches;
next	1.927;

1.927
date	2007.11.16.13.14.27;	author kensmith;	state Exp;
branches;
next	1.926;

1.926
date	2007.11.09.15.32.04;	author nyan;	state Exp;
branches;
next	1.925;

1.925
date	2007.10.11.04.28.07;	author kensmith;	state Exp;
branches;
next	1.924;

1.924
date	2007.08.17.14.13.39;	author bmah;	state Exp;
branches
	1.924.2.1;
next	1.923;

1.923
date	2007.08.14.20.02.55;	author bmah;	state Exp;
branches;
next	1.922;

1.922
date	2007.05.10.12.04.29;	author kensmith;	state Exp;
branches;
next	1.921;

1.921
date	2007.02.16.02.28.15;	author bmah;	state Exp;
branches;
next	1.920;

1.920
date	2007.02.01.15.12.44;	author kensmith;	state Exp;
branches;
next	1.919;

1.919
date	2006.12.06.18.07.39;	author bmah;	state Exp;
branches;
next	1.918;

1.918
date	2006.11.16.23.09.35;	author kensmith;	state Exp;
branches;
next	1.917;

1.917
date	2006.11.11.23.18.28;	author ru;	state Exp;
branches;
next	1.916;

1.916
date	2006.10.24.21.00.49;	author ru;	state Exp;
branches;
next	1.915;

1.915
date	2006.10.24.20.52.06;	author ru;	state Exp;
branches;
next	1.914;

1.914
date	2006.09.11.13.15.09;	author ru;	state Exp;
branches;
next	1.913;

1.913
date	2006.09.08.19.54.36;	author ru;	state Exp;
branches;
next	1.912;

1.912
date	2006.08.22.07.51.08;	author ru;	state Exp;
branches;
next	1.911;

1.911
date	2006.06.09.03.40.04;	author cperciva;	state Exp;
branches;
next	1.910;

1.910
date	2006.05.16.14.22.37;	author nyan;	state Exp;
branches;
next	1.909;

1.909
date	2006.04.29.14.03.17;	author nyan;	state Exp;
branches;
next	1.908;

1.908
date	2006.03.23.07.48.58;	author ru;	state Exp;
branches;
next	1.907;

1.907
date	2006.03.21.15.50.08;	author sam;	state Exp;
branches;
next	1.906;

1.906
date	2006.03.18.21.37.05;	author ru;	state Exp;
branches;
next	1.905;

1.905
date	2006.03.17.18.54.29;	author ru;	state Exp;
branches;
next	1.904;

1.904
date	2006.03.17.09.43.39;	author ru;	state Exp;
branches;
next	1.903;

1.903
date	2006.03.11.18.59.16;	author sam;	state Exp;
branches;
next	1.902;

1.902
date	2006.03.09.17.55.08;	author ru;	state Exp;
branches;
next	1.901;

1.901
date	2006.03.09.17.11.17;	author sam;	state Exp;
branches;
next	1.900;

1.900
date	2006.03.08.18.02.30;	author sam;	state Exp;
branches;
next	1.899;

1.899
date	2006.02.08.11.18.29;	author hrs;	state Exp;
branches;
next	1.898;

1.898
date	2006.01.30.14.24.31;	author kensmith;	state Exp;
branches;
next	1.897;

1.897
date	2006.01.29.20.16.25;	author marcel;	state Exp;
branches;
next	1.896;

1.896
date	2006.01.04.18.02.56;	author jhb;	state Exp;
branches;
next	1.895;

1.895
date	2006.01.02.13.29.58;	author nyan;	state Exp;
branches;
next	1.894;

1.894
date	2006.01.02.07.29.22;	author nyan;	state Exp;
branches;
next	1.893;

1.893
date	2005.12.15.01.14.35;	author iedowse;	state Exp;
branches;
next	1.892;

1.892
date	2005.11.03.07.27.50;	author ru;	state Exp;
branches;
next	1.891;

1.891
date	2005.10.25.09.05.07;	author ru;	state Exp;
branches;
next	1.890;

1.890
date	2005.09.28.12.39.00;	author kensmith;	state Exp;
branches;
next	1.889;

1.889
date	2005.09.07.04.34.11;	author marcel;	state Exp;
branches;
next	1.888;

1.888
date	2005.07.11.15.50.29;	author kensmith;	state Exp;
branches;
next	1.887;

1.887
date	2005.07.11.03.59.25;	author scottl;	state Exp;
branches
	1.887.2.1;
next	1.886;

1.886
date	2005.06.16.18.16.13;	author ru;	state Exp;
branches;
next	1.885;

1.885
date	2005.05.23.03.14.56;	author grehan;	state Exp;
branches;
next	1.884;

1.884
date	2005.05.17.14.24.33;	author ru;	state Exp;
branches;
next	1.883;

1.883
date	2005.05.03.04.11.56;	author marcel;	state Exp;
branches;
next	1.882;

1.882
date	2005.03.31.16.19.26;	author jhb;	state Exp;
branches;
next	1.881;

1.881
date	2005.03.23.15.01.54;	author jhb;	state Exp;
branches;
next	1.880;

1.880
date	2005.03.23.02.51.19;	author avatar;	state Exp;
branches;
next	1.879;

1.879
date	2005.03.21.19.17.48;	author jhb;	state Exp;
branches;
next	1.878;

1.878
date	2005.03.20.17.59.17;	author bmah;	state Exp;
branches;
next	1.877;

1.877
date	2005.03.04.20.37.20;	author jhb;	state Exp;
branches;
next	1.876;

1.876
date	2005.03.02.22.46.07;	author jhb;	state Exp;
branches;
next	1.875;

1.875
date	2005.03.02.14.57.45;	author jhb;	state Exp;
branches;
next	1.874;

1.874
date	2005.01.13.08.29.51;	author ru;	state Exp;
branches;
next	1.873;

1.873
date	2004.12.21.12.21.26;	author ru;	state Exp;
branches;
next	1.872;

1.872
date	2004.12.21.12.05.10;	author ru;	state Exp;
branches;
next	1.871;

1.871
date	2004.12.21.10.36.53;	author ru;	state Exp;
branches;
next	1.870;

1.870
date	2004.12.21.09.59.41;	author ru;	state Exp;
branches;
next	1.869;

1.869
date	2004.12.21.09.33.43;	author ru;	state Exp;
branches;
next	1.868;

1.868
date	2004.12.21.08.47.04;	author ru;	state Exp;
branches;
next	1.867;

1.867
date	2004.11.02.11.59.27;	author ru;	state Exp;
branches;
next	1.866;

1.866
date	2004.10.21.08.54.10;	author ru;	state Exp;
branches;
next	1.865;

1.865
date	2004.09.30.22.59.47;	author kensmith;	state Exp;
branches;
next	1.864;

1.864
date	2004.09.24.02.10.06;	author kensmith;	state Exp;
branches;
next	1.863;

1.863
date	2004.09.17.21.46.17;	author bmah;	state Exp;
branches;
next	1.862;

1.862
date	2004.09.17.19.28.46;	author keramida;	state Exp;
branches;
next	1.861;

1.861
date	2004.09.15.05.14.21;	author brooks;	state Exp;
branches;
next	1.860;

1.860
date	2004.09.14.04.01.57;	author brooks;	state Exp;
branches;
next	1.859;

1.859
date	2004.09.08.06.05.19;	author ru;	state Exp;
branches;
next	1.858;

1.858
date	2004.09.07.14.26.02;	author ru;	state Exp;
branches;
next	1.857;

1.857
date	2004.08.29.18.26.59;	author obrien;	state Exp;
branches;
next	1.856;

1.856
date	2004.08.26.19.15.19;	author ru;	state Exp;
branches;
next	1.855;

1.855
date	2004.08.19.10.34.59;	author ru;	state Exp;
branches;
next	1.854;

1.854
date	2004.08.18.11.11.46;	author grehan;	state Exp;
branches;
next	1.853;

1.853
date	2004.08.16.10.25.43;	author obrien;	state Exp;
branches
	1.853.2.1;
next	1.852;

1.852
date	2004.08.16.08.56.50;	author obrien;	state Exp;
branches;
next	1.851;

1.851
date	2004.08.16.08.28.58;	author obrien;	state Exp;
branches;
next	1.850;

1.850
date	2004.08.06.17.07.40;	author marcel;	state Exp;
branches;
next	1.849;

1.849
date	2004.08.06.10.04.06;	author ru;	state Exp;
branches;
next	1.848;

1.848
date	2004.08.06.08.49.51;	author cperciva;	state Exp;
branches;
next	1.847;

1.847
date	2004.08.06.07.27.05;	author cperciva;	state Exp;
branches;
next	1.846;

1.846
date	2004.07.15.04.52.57;	author jhb;	state Exp;
branches;
next	1.845;

1.845
date	2004.06.10.19.33.26;	author brian;	state Exp;
branches;
next	1.844;

1.844
date	2004.05.05.13.06.40;	author hrs;	state Exp;
branches;
next	1.843;

1.843
date	2004.04.30.13.52.09;	author kensmith;	state Exp;
branches;
next	1.842;

1.842
date	2004.03.25.20.37.59;	author jhb;	state Exp;
branches;
next	1.841;

1.841
date	2004.02.03.22.05.55;	author jhb;	state Exp;
branches;
next	1.840;

1.840
date	2004.01.29.19.01.58;	author jhb;	state Exp;
branches;
next	1.839;

1.839
date	2004.01.29.16.21.00;	author ru;	state Exp;
branches;
next	1.838;

1.838
date	2004.01.29.15.14.59;	author nyan;	state Exp;
branches;
next	1.837;

1.837
date	2004.01.28.09.19.16;	author ru;	state Exp;
branches;
next	1.836;

1.836
date	2004.01.28.09.12.00;	author ru;	state Exp;
branches;
next	1.835;

1.835
date	2004.01.26.19.58.38;	author jhb;	state Exp;
branches;
next	1.834;

1.834
date	2004.01.22.08.18.36;	author ru;	state Exp;
branches;
next	1.833;

1.833
date	2004.01.21.08.24.44;	author ru;	state Exp;
branches;
next	1.832;

1.832
date	2004.01.19.13.35.46;	author matusita;	state Exp;
branches;
next	1.831;

1.831
date	2004.01.17.19.22.36;	author ru;	state Exp;
branches;
next	1.830;

1.830
date	2004.01.17.18.25.43;	author ru;	state Exp;
branches;
next	1.829;

1.829
date	2004.01.15.10.17.43;	author nyan;	state Exp;
branches;
next	1.828;

1.828
date	2004.01.13.18.46.09;	author obrien;	state Exp;
branches;
next	1.827;

1.827
date	2004.01.12.08.37.32;	author nyan;	state Exp;
branches;
next	1.826;

1.826
date	2004.01.11.12.45.41;	author nyan;	state Exp;
branches;
next	1.825;

1.825
date	2003.12.01.10.46.45;	author obrien;	state Exp;
branches
	1.825.2.1;
next	1.824;

1.824
date	2003.11.15.03.58.12;	author kuriyama;	state Exp;
branches;
next	1.823;

1.823
date	2003.11.14.08.21.21;	author kuriyama;	state Exp;
branches;
next	1.822;

1.822
date	2003.10.31.13.15.07;	author ru;	state Exp;
branches;
next	1.821;

1.821
date	2003.10.06.11.52.34;	author ru;	state Exp;
branches;
next	1.820;

1.820
date	2003.09.21.06.33.14;	author ru;	state Exp;
branches;
next	1.819;

1.819
date	2003.09.19.09.06.15;	author ru;	state Exp;
branches;
next	1.818;

1.818
date	2003.08.11.04.21.58;	author obrien;	state Exp;
branches;
next	1.817;

1.817
date	2003.08.10.09.54.22;	author obrien;	state Exp;
branches;
next	1.816;

1.816
date	2003.08.08.21.00.57;	author ru;	state Exp;
branches;
next	1.815;

1.815
date	2003.08.07.18.22.34;	author ru;	state Exp;
branches;
next	1.814;

1.814
date	2003.08.06.08.09.40;	author ru;	state Exp;
branches;
next	1.813;

1.813
date	2003.08.05.05.35.56;	author ache;	state Exp;
branches;
next	1.812;

1.812
date	2003.08.04.21.31.52;	author ache;	state Exp;
branches;
next	1.811;

1.811
date	2003.08.04.15.47.43;	author ache;	state Exp;
branches;
next	1.810;

1.810
date	2003.08.03.15.06.00;	author ru;	state Exp;
branches;
next	1.809;

1.809
date	2003.08.02.18.21.02;	author ru;	state Exp;
branches;
next	1.808;

1.808
date	2003.07.31.07.28.58;	author ru;	state Exp;
branches;
next	1.807;

1.807
date	2003.07.31.07.13.54;	author ru;	state Exp;
branches;
next	1.806;

1.806
date	2003.07.30.14.46.46;	author ru;	state Exp;
branches;
next	1.805;

1.805
date	2003.07.30.14.33.32;	author ru;	state Exp;
branches;
next	1.804;

1.804
date	2003.07.30.07.40.45;	author ru;	state Exp;
branches;
next	1.803;

1.803
date	2003.07.30.07.13.31;	author ru;	state Exp;
branches;
next	1.802;

1.802
date	2003.07.29.18.29.44;	author ru;	state Exp;
branches;
next	1.801;

1.801
date	2003.07.26.06.47.40;	author scottl;	state Exp;
branches;
next	1.800;

1.800
date	2003.07.26.05.57.52;	author scottl;	state Exp;
branches;
next	1.799;

1.799
date	2003.07.25.13.39.11;	author ru;	state Exp;
branches;
next	1.798;

1.798
date	2003.07.25.08.55.51;	author ru;	state Exp;
branches;
next	1.797;

1.797
date	2003.07.25.08.54.41;	author ru;	state Exp;
branches;
next	1.796;

1.796
date	2003.07.24.18.11.27;	author markm;	state Exp;
branches;
next	1.795;

1.795
date	2003.07.24.17.28.52;	author markm;	state Exp;
branches;
next	1.794;

1.794
date	2003.07.24.13.45.05;	author ru;	state Exp;
branches;
next	1.793;

1.793
date	2003.07.23.20.53.37;	author ru;	state Exp;
branches;
next	1.792;

1.792
date	2003.07.23.14.40.50;	author ru;	state Exp;
branches;
next	1.791;

1.791
date	2003.07.23.12.12.53;	author ru;	state Exp;
branches;
next	1.790;

1.790
date	2003.07.23.06.00.56;	author ru;	state Exp;
branches;
next	1.789;

1.789
date	2003.07.23.05.53.52;	author ru;	state Exp;
branches;
next	1.788;

1.788
date	2003.07.22.09.04.09;	author ru;	state Exp;
branches;
next	1.787;

1.787
date	2003.07.04.14.39.17;	author ru;	state Exp;
branches;
next	1.786;

1.786
date	2003.07.04.14.27.06;	author ru;	state Exp;
branches;
next	1.785;

1.785
date	2003.06.26.11.23.36;	author ru;	state Exp;
branches;
next	1.784;

1.784
date	2003.06.26.11.21.04;	author ru;	state Exp;
branches;
next	1.783;

1.783
date	2003.06.26.00.55.33;	author peter;	state Exp;
branches;
next	1.782;

1.782
date	2003.06.04.22.24.43;	author peter;	state Exp;
branches;
next	1.781;

1.781
date	2003.06.04.05.17.18;	author marcel;	state Exp;
branches;
next	1.780;

1.780
date	2003.06.02.20.15.12;	author jhb;	state Exp;
branches;
next	1.779;

1.779
date	2003.05.21.21.19.54;	author obrien;	state Exp;
branches
	1.779.2.1;
next	1.778;

1.778
date	2003.05.20.01.46.09;	author scottl;	state Exp;
branches;
next	1.777;

1.777
date	2003.05.18.19.34.03;	author jmallett;	state Exp;
branches;
next	1.776;

1.776
date	2003.05.17.19.16.27;	author ru;	state Exp;
branches;
next	1.775;

1.775
date	2003.05.08.03.25.17;	author obrien;	state Exp;
branches;
next	1.774;

1.774
date	2003.05.05.07.58.42;	author markm;	state Exp;
branches;
next	1.773;

1.773
date	2003.05.05.05.29.10;	author murray;	state Exp;
branches;
next	1.772;

1.772
date	2003.04.30.17.54.18;	author markm;	state Exp;
branches;
next	1.771;

1.771
date	2003.04.25.06.08.11;	author kuriyama;	state Exp;
branches;
next	1.770;

1.770
date	2003.04.23.09.01.35;	author ru;	state Exp;
branches;
next	1.769;

1.769
date	2003.04.18.02.30.40;	author jwd;	state Exp;
branches;
next	1.768;

1.768
date	2003.04.15.09.54.19;	author ru;	state Exp;
branches;
next	1.767;

1.767
date	2003.04.15.06.36.38;	author ru;	state Exp;
branches;
next	1.766;

1.766
date	2003.03.31.11.46.49;	author ru;	state Exp;
branches;
next	1.765;

1.765
date	2003.03.31.11.16.53;	author ru;	state Exp;
branches;
next	1.764;

1.764
date	2003.03.23.04.23.10;	author obrien;	state Exp;
branches;
next	1.763;

1.763
date	2003.03.21.13.41.17;	author ru;	state Exp;
branches;
next	1.762;

1.762
date	2003.03.20.23.46.22;	author ru;	state Exp;
branches;
next	1.761;

1.761
date	2003.03.17.18.49.46;	author obrien;	state Exp;
branches;
next	1.760;

1.760
date	2003.03.17.17.49.57;	author ru;	state Exp;
branches;
next	1.759;

1.759
date	2003.03.17.05.46.10;	author obrien;	state Exp;
branches;
next	1.758;

1.758
date	2003.03.16.22.59.00;	author obrien;	state Exp;
branches;
next	1.757;

1.757
date	2003.03.16.22.42.26;	author obrien;	state Exp;
branches;
next	1.756;

1.756
date	2003.03.08.09.56.08;	author markm;	state Exp;
branches;
next	1.755;

1.755
date	2003.03.08.08.51.25;	author marcel;	state Exp;
branches;
next	1.754;

1.754
date	2003.02.26.15.32.12;	author ru;	state Exp;
branches;
next	1.753;

1.753
date	2003.02.23.19.15.55;	author ru;	state Exp;
branches;
next	1.752;

1.752
date	2003.02.23.06.27.21;	author jwd;	state Exp;
branches;
next	1.751;

1.751
date	2003.02.21.22.37.18;	author ru;	state Exp;
branches;
next	1.750;

1.750
date	2003.02.16.08.34.11;	author matusita;	state Exp;
branches;
next	1.749;

1.749
date	2003.02.04.16.07.20;	author ru;	state Exp;
branches;
next	1.748;

1.748
date	2003.01.29.08.39.28;	author ru;	state Exp;
branches;
next	1.747;

1.747
date	2003.01.19.04.31.53;	author obrien;	state Exp;
branches;
next	1.746;

1.746
date	2003.01.16.16.51.52;	author scottl;	state Exp;
branches;
next	1.745;

1.745
date	2003.01.15.21.49.50;	author jhb;	state Exp;
branches;
next	1.744;

1.744
date	2003.01.11.20.34.34;	author obrien;	state Exp;
branches;
next	1.743;

1.743
date	2003.01.02.20.18.42;	author imp;	state Exp;
branches;
next	1.742;

1.742
date	2002.12.31.15.17.24;	author phk;	state Exp;
branches;
next	1.741;

1.741
date	2002.12.31.10.27.58;	author phk;	state Exp;
branches;
next	1.740;

1.740
date	2002.12.28.16.23.42;	author nyan;	state Exp;
branches;
next	1.739;

1.739
date	2002.12.26.12.20.25;	author ru;	state Exp;
branches;
next	1.738;

1.738
date	2002.12.17.20.19.37;	author obrien;	state Exp;
branches;
next	1.737;

1.737
date	2002.12.17.20.18.13;	author obrien;	state Exp;
branches;
next	1.736;

1.736
date	2002.12.13.06.54.33;	author murray;	state Exp;
branches
	1.736.2.1;
next	1.735;

1.735
date	2002.12.10.16.35.44;	author bmah;	state Exp;
branches;
next	1.734;

1.734
date	2002.12.09.16.42.23;	author murray;	state Exp;
branches;
next	1.733;

1.733
date	2002.12.09.16.14.46;	author murray;	state Exp;
branches;
next	1.732;

1.732
date	2002.12.03.04.02.13;	author des;	state Exp;
branches;
next	1.731;

1.731
date	2002.11.18.11.16.44;	author nyan;	state Exp;
branches;
next	1.730;

1.730
date	2002.11.17.13.35.12;	author nyan;	state Exp;
branches;
next	1.729;

1.729
date	2002.11.15.22.03.25;	author jhb;	state Exp;
branches;
next	1.728;

1.728
date	2002.11.15.20.51.27;	author jhb;	state Exp;
branches;
next	1.727;

1.727
date	2002.11.12.17.51.02;	author ru;	state Exp;
branches;
next	1.726;

1.726
date	2002.11.06.04.59.22;	author marcel;	state Exp;
branches;
next	1.725;

1.725
date	2002.11.05.18.06.01;	author marcel;	state Exp;
branches;
next	1.724;

1.724
date	2002.11.05.14.44.45;	author ru;	state Exp;
branches;
next	1.723;

1.723
date	2002.11.05.13.54.58;	author nyan;	state Exp;
branches;
next	1.722;

1.722
date	2002.11.05.09.30.38;	author ru;	state Exp;
branches;
next	1.721;

1.721
date	2002.11.04.15.44.56;	author jhb;	state Exp;
branches;
next	1.720;

1.720
date	2002.11.04.12.26.44;	author nyan;	state Exp;
branches;
next	1.719;

1.719
date	2002.11.04.00.50.01;	author marcel;	state Exp;
branches;
next	1.718;

1.718
date	2002.11.02.06.00.06;	author jwd;	state Exp;
branches;
next	1.717;

1.717
date	2002.11.01.20.53.50;	author jhb;	state Exp;
branches;
next	1.716;

1.716
date	2002.10.26.04.48.55;	author bmah;	state Exp;
branches;
next	1.715;

1.715
date	2002.10.24.07.35.30;	author nyan;	state Exp;
branches;
next	1.714;

1.714
date	2002.10.21.14.21.08;	author ru;	state Exp;
branches;
next	1.713;

1.713
date	2002.10.20.16.27.11;	author matusita;	state Exp;
branches;
next	1.712;

1.712
date	2002.10.19.16.44.16;	author sam;	state Exp;
branches;
next	1.711;

1.711
date	2002.10.16.05.30.56;	author jake;	state Exp;
branches;
next	1.710;

1.710
date	2002.10.14.16.30.38;	author nyan;	state Exp;
branches;
next	1.709;

1.709
date	2002.10.11.14.05.19;	author ru;	state Exp;
branches;
next	1.708;

1.708
date	2002.09.29.13.47.01;	author nyan;	state Exp;
branches;
next	1.707;

1.707
date	2002.09.23.14.33.47;	author ru;	state Exp;
branches;
next	1.706;

1.706
date	2002.09.20.17.24.39;	author matusita;	state Exp;
branches;
next	1.705;

1.705
date	2002.09.17.01.48.53;	author peter;	state Exp;
branches;
next	1.704;

1.704
date	2002.09.10.13.06.53;	author nyan;	state Exp;
branches;
next	1.703;

1.703
date	2002.08.14.16.50.50;	author ru;	state Exp;
branches;
next	1.702;

1.702
date	2002.08.13.16.59.56;	author ru;	state Exp;
branches;
next	1.701;

1.701
date	2002.08.09.08.22.02;	author jhay;	state Exp;
branches;
next	1.700;

1.700
date	2002.08.09.08.18.15;	author jhay;	state Exp;
branches;
next	1.699;

1.699
date	2002.08.09.07.45.20;	author jhay;	state Exp;
branches;
next	1.698;

1.698
date	2002.08.05.16.57.43;	author ru;	state Exp;
branches;
next	1.697;

1.697
date	2002.08.05.16.46.14;	author ru;	state Exp;
branches;
next	1.696;

1.696
date	2002.08.02.16.23.20;	author ru;	state Exp;
branches;
next	1.695;

1.695
date	2002.07.27.19.43.52;	author jhb;	state Exp;
branches;
next	1.694;

1.694
date	2002.07.26.11.27.11;	author ru;	state Exp;
branches;
next	1.693;

1.693
date	2002.07.25.14.42.08;	author ru;	state Exp;
branches;
next	1.692;

1.692
date	2002.07.24.20.37.21;	author ru;	state Exp;
branches;
next	1.691;

1.691
date	2002.07.12.15.15.35;	author ru;	state Exp;
branches;
next	1.690;

1.690
date	2002.07.11.16.27.04;	author ru;	state Exp;
branches;
next	1.689;

1.689
date	2002.07.06.15.00.07;	author ru;	state Exp;
branches;
next	1.688;

1.688
date	2002.07.03.18.04.10;	author trhodes;	state Exp;
branches;
next	1.687;

1.687
date	2002.06.19.15.06.38;	author matusita;	state Exp;
branches;
next	1.686;

1.686
date	2002.06.08.03.15.50;	author matusita;	state Exp;
branches;
next	1.685;

1.685
date	2002.06.04.12.05.29;	author nyan;	state Exp;
branches;
next	1.684;

1.684
date	2002.05.27.10.59.41;	author ru;	state Exp;
branches;
next	1.683;

1.683
date	2002.05.27.10.52.03;	author ru;	state Exp;
branches;
next	1.682;

1.682
date	2002.05.25.16.13.52;	author ru;	state Exp;
branches;
next	1.681;

1.681
date	2002.05.24.11.03.40;	author ru;	state Exp;
branches;
next	1.680;

1.680
date	2002.05.18.00.00.41;	author bmah;	state Exp;
branches;
next	1.679;

1.679
date	2002.05.14.13.59.32;	author ru;	state Exp;
branches;
next	1.678;

1.678
date	2002.05.14.13.45.50;	author ru;	state Exp;
branches;
next	1.677;

1.677
date	2002.05.14.13.41.18;	author ru;	state Exp;
branches;
next	1.676;

1.676
date	2002.04.30.11.50.01;	author ru;	state Exp;
branches;
next	1.675;

1.675
date	2002.04.29.15.26.37;	author ru;	state Exp;
branches;
next	1.674;

1.674
date	2002.04.27.14.23.32;	author matusita;	state Exp;
branches;
next	1.673;

1.673
date	2002.04.26.19.40.45;	author ru;	state Exp;
branches;
next	1.672;

1.672
date	2002.04.26.17.55.19;	author ru;	state Exp;
branches;
next	1.671;

1.671
date	2002.04.24.12.54.34;	author ru;	state Exp;
branches;
next	1.670;

1.670
date	2002.04.24.12.51.48;	author ru;	state Exp;
branches;
next	1.669;

1.669
date	2002.04.23.22.16.40;	author obrien;	state Exp;
branches;
next	1.668;

1.668
date	2002.04.23.09.24.00;	author ru;	state Exp;
branches;
next	1.667;

1.667
date	2002.04.09.01.17.47;	author matusita;	state Exp;
branches;
next	1.666;

1.666
date	2002.04.02.15.07.34;	author matusita;	state Exp;
branches;
next	1.665;

1.665
date	2002.03.31.17.21.29;	author murray;	state Exp;
branches;
next	1.664;

1.664
date	2002.03.30.02.31.17;	author murray;	state Exp;
branches;
next	1.663;

1.663
date	2002.03.29.22.22.34;	author murray;	state Exp;
branches;
next	1.662;

1.662
date	2002.03.28.08.23.33;	author ru;	state Exp;
branches;
next	1.661;

1.661
date	2002.03.26.18.12.26;	author jhb;	state Exp;
branches;
next	1.660;

1.660
date	2002.03.17.07.34.12;	author murray;	state Exp;
branches;
next	1.659;

1.659
date	2002.02.25.21.53.18;	author peter;	state Exp;
branches;
next	1.658;

1.658
date	2002.02.25.05.35.39;	author matusita;	state Exp;
branches;
next	1.657;

1.657
date	2002.02.12.16.56.06;	author matusita;	state Exp;
branches;
next	1.656;

1.656
date	2002.02.03.07.00.37;	author matusita;	state Exp;
branches;
next	1.655;

1.655
date	2002.01.31.00.38.09;	author matusita;	state Exp;
branches;
next	1.654;

1.654
date	2002.01.20.23.17.52;	author matusita;	state Exp;
branches;
next	1.653;

1.653
date	2002.01.17.20.29.02;	author joerg;	state Exp;
branches;
next	1.652;

1.652
date	2001.12.28.17.21.28;	author bmah;	state Exp;
branches;
next	1.651;

1.651
date	2001.12.27.22.32.33;	author bmah;	state Exp;
branches;
next	1.650;

1.650
date	2001.12.27.21.18.36;	author bmah;	state Exp;
branches;
next	1.649;

1.649
date	2001.12.18.20.05.20;	author green;	state Exp;
branches;
next	1.648;

1.648
date	2001.11.25.16.43.45;	author nyan;	state Exp;
branches;
next	1.647;

1.647
date	2001.11.24.05.21.53;	author nyan;	state Exp;
branches;
next	1.646;

1.646
date	2001.11.23.14.08.25;	author nyan;	state Exp;
branches;
next	1.645;

1.645
date	2001.11.22.11.04.12;	author nyan;	state Exp;
branches;
next	1.644;

1.644
date	2001.11.22.04.02.09;	author jhb;	state Exp;
branches;
next	1.643;

1.643
date	2001.11.21.09.42.06;	author nyan;	state Exp;
branches;
next	1.642;

1.642
date	2001.11.20.20.27.54;	author jhb;	state Exp;
branches;
next	1.641;

1.641
date	2001.11.19.21.42.08;	author jhb;	state Exp;
branches;
next	1.640;

1.640
date	2001.11.19.21.27.00;	author jhb;	state Exp;
branches;
next	1.639;

1.639
date	2001.11.17.19.54.22;	author bmah;	state Exp;
branches;
next	1.638;

1.638
date	2001.10.29.16.25.13;	author nyan;	state Exp;
branches;
next	1.637;

1.637
date	2001.09.23.22.32.09;	author bmah;	state Exp;
branches;
next	1.636;

1.636
date	2001.09.13.06.44.36;	author murray;	state Exp;
branches;
next	1.635;

1.635
date	2001.09.03.20.27.03;	author obrien;	state Exp;
branches;
next	1.634;

1.634
date	2001.09.02.19.05.27;	author jkh;	state Exp;
branches;
next	1.633;

1.633
date	2001.08.20.21.22.01;	author obrien;	state Exp;
branches;
next	1.632;

1.632
date	2001.08.15.20.57.08;	author obrien;	state Exp;
branches;
next	1.631;

1.631
date	2001.07.23.09.01.46;	author jkh;	state Exp;
branches;
next	1.630;

1.630
date	2001.07.21.17.21.52;	author obrien;	state Exp;
branches;
next	1.629;

1.629
date	2001.07.18.05.40.30;	author phk;	state Exp;
branches;
next	1.628;

1.628
date	2001.07.05.22.14.25;	author bmah;	state Exp;
branches;
next	1.627;

1.627
date	2001.06.30.17.20.12;	author imp;	state Exp;
branches;
next	1.626;

1.626
date	2001.06.25.00.43.10;	author jkh;	state Exp;
branches;
next	1.625;

1.625
date	2001.06.22.01.15.43;	author bmah;	state Exp;
branches;
next	1.624;

1.624
date	2001.06.14.23.48.13;	author peter;	state Exp;
branches;
next	1.623;

1.623
date	2001.06.11.02.00.21;	author ache;	state Exp;
branches;
next	1.622;

1.622
date	2001.06.05.14.16.50;	author bmah;	state Exp;
branches;
next	1.621;

1.621
date	2001.06.03.01.36.06;	author dd;	state Exp;
branches;
next	1.620;

1.620
date	2001.05.30.17.05.15;	author bmah;	state Exp;
branches;
next	1.619;

1.619
date	2001.05.29.17.14.59;	author bmah;	state Exp;
branches;
next	1.618;

1.618
date	2001.05.25.18.01.31;	author bmah;	state Exp;
branches;
next	1.617;

1.617
date	2001.05.21.18.15.01;	author bmah;	state Exp;
branches;
next	1.616;

1.616
date	2001.05.04.19.50.34;	author joerg;	state Exp;
branches;
next	1.615;

1.615
date	2001.04.27.21.27.49;	author bmah;	state Exp;
branches;
next	1.614;

1.614
date	2001.04.22.16.54.01;	author obrien;	state Exp;
branches;
next	1.613;

1.613
date	2001.04.17.18.32.35;	author obrien;	state Exp;
branches;
next	1.612;

1.612
date	2001.04.16.15.17.27;	author obrien;	state Exp;
branches;
next	1.611;

1.611
date	2001.04.15.19.37.28;	author obrien;	state Exp;
branches;
next	1.610;

1.610
date	2001.04.14.22.29.31;	author jkh;	state Exp;
branches;
next	1.609;

1.609
date	2001.04.11.06.16.52;	author obrien;	state Exp;
branches;
next	1.608;

1.608
date	2001.04.11.02.21.13;	author obrien;	state Exp;
branches;
next	1.607;

1.607
date	2001.04.08.23.02.12;	author obrien;	state Exp;
branches;
next	1.606;

1.606
date	2001.04.07.01.53.14;	author obrien;	state Exp;
branches;
next	1.605;

1.605
date	2001.04.07.01.48.55;	author obrien;	state Exp;
branches;
next	1.604;

1.604
date	2001.04.06.19.06.19;	author obrien;	state Exp;
branches;
next	1.603;

1.603
date	2001.04.05.22.36.41;	author obrien;	state Exp;
branches;
next	1.602;

1.602
date	2001.04.04.12.15.52;	author ru;	state Exp;
branches;
next	1.601;

1.601
date	2001.04.03.13.34.32;	author ru;	state Exp;
branches;
next	1.600;

1.600
date	2001.03.31.17.02.37;	author ru;	state Exp;
branches;
next	1.599;

1.599
date	2001.03.27.01.06.58;	author obrien;	state Exp;
branches;
next	1.598;

1.598
date	2001.03.23.21.43.47;	author jkh;	state Exp;
branches;
next	1.597;

1.597
date	2001.03.21.23.53.40;	author alfred;	state Exp;
branches;
next	1.596;

1.596
date	2001.03.07.07.39.32;	author jkh;	state Exp;
branches;
next	1.595;

1.595
date	2001.03.02.16.52.11;	author ru;	state Exp;
branches;
next	1.594;

1.594
date	2001.02.21.23.01.59;	author jkh;	state Exp;
branches;
next	1.593;

1.593
date	2001.02.19.14.23.49;	author asmodai;	state Exp;
branches;
next	1.592;

1.592
date	2001.02.09.19.00.50;	author murray;	state Exp;
branches;
next	1.591;

1.591
date	2001.02.06.08.36.00;	author jkh;	state Exp;
branches;
next	1.590;

1.590
date	2001.02.06.08.27.56;	author jkh;	state Exp;
branches;
next	1.589;

1.589
date	2001.01.17.07.13.40;	author jhb;	state Exp;
branches;
next	1.588;

1.588
date	2001.01.01.21.39.00;	author peter;	state Exp;
branches;
next	1.587;

1.587
date	2000.12.28.10.31.59;	author peter;	state Exp;
branches;
next	1.586;

1.586
date	2000.11.21.04.37.30;	author marcel;	state Exp;
branches;
next	1.585;

1.585
date	2000.11.12.11.04.11;	author jkh;	state Exp;
branches;
next	1.584;

1.584
date	2000.11.05.22.49.14;	author jkh;	state Exp;
branches;
next	1.583;

1.583
date	2000.11.05.15.38.05;	author truckman;	state Exp;
branches;
next	1.582;

1.582
date	2000.11.05.15.34.58;	author truckman;	state Exp;
branches;
next	1.581;

1.581
date	2000.11.02.15.14.27;	author hosokawa;	state Exp;
branches;
next	1.580;

1.580
date	2000.11.02.13.22.25;	author hosokawa;	state Exp;
branches;
next	1.579;

1.579
date	2000.11.02.12.29.22;	author hosokawa;	state Exp;
branches;
next	1.578;

1.578
date	2000.10.31.07.39.06;	author hosokawa;	state Exp;
branches;
next	1.577;

1.577
date	2000.10.26.15.22.47;	author jwd;	state Exp;
branches;
next	1.576;

1.576
date	2000.10.24.19.05.39;	author obrien;	state Exp;
branches;
next	1.575;

1.575
date	2000.10.24.16.04.42;	author gshapiro;	state Exp;
branches;
next	1.574;

1.574
date	2000.10.22.05.57.50;	author gshapiro;	state Exp;
branches;
next	1.573;

1.573
date	2000.10.08.18.45.01;	author obrien;	state Exp;
branches;
next	1.572;

1.572
date	2000.10.07.05.52.41;	author obrien;	state Exp;
branches;
next	1.571;

1.571
date	2000.10.05.06.51.56;	author obrien;	state Exp;
branches;
next	1.570;

1.570
date	2000.09.07.16.51.23;	author jhb;	state Exp;
branches;
next	1.569;

1.569
date	2000.09.07.05.52.43;	author obrien;	state Exp;
branches;
next	1.568;

1.568
date	2000.08.28.23.16.14;	author jhb;	state Exp;
branches;
next	1.567;

1.567
date	2000.08.28.14.25.53;	author jhay;	state Exp;
branches;
next	1.566;

1.566
date	2000.08.22.09.43.12;	author jkh;	state Exp;
branches;
next	1.565;

1.565
date	2000.08.21.22.42.09;	author jhb;	state Exp;
branches;
next	1.564;

1.564
date	2000.08.16.09.30.47;	author nyan;	state Exp;
branches;
next	1.563;

1.563
date	2000.08.12.14.21.33;	author nyan;	state Exp;
branches;
next	1.562;

1.562
date	2000.07.26.12.19.14;	author jkh;	state Exp;
branches;
next	1.561;

1.561
date	2000.07.26.04.28.21;	author jhb;	state Exp;
branches;
next	1.560;

1.560
date	2000.07.25.22.30.09;	author jhb;	state Exp;
branches;
next	1.559;

1.559
date	2000.07.25.08.16.10;	author jkh;	state Exp;
branches;
next	1.558;

1.558
date	2000.07.23.16.32.58;	author marcel;	state Exp;
branches;
next	1.557;

1.557
date	2000.07.20.03.07.29;	author jhb;	state Exp;
branches;
next	1.556;

1.556
date	2000.07.17.04.50.28;	author jkh;	state Exp;
branches;
next	1.555;

1.555
date	2000.07.16.08.20.54;	author ache;	state Exp;
branches;
next	1.554;

1.554
date	2000.07.16.08.02.48;	author ache;	state Exp;
branches;
next	1.553;

1.553
date	2000.07.14.18.03.32;	author jhb;	state Exp;
branches;
next	1.552;

1.552
date	2000.07.14.08.33.07;	author ume;	state Exp;
branches;
next	1.551;

1.551
date	2000.07.01.21.48.05;	author jhb;	state Exp;
branches;
next	1.550;

1.550
date	2000.06.29.13.34.53;	author nyan;	state Exp;
branches;
next	1.549;

1.549
date	2000.06.23.17.49.54;	author alex;	state Exp;
branches;
next	1.548;

1.548
date	2000.06.23.12.22.08;	author nyan;	state Exp;
branches;
next	1.547;

1.547
date	2000.06.05.13.17.22;	author nyan;	state Exp;
branches;
next	1.546;

1.546
date	2000.06.05.02.25.55;	author joe;	state Exp;
branches;
next	1.545;

1.545
date	2000.06.04.04.41.41;	author jkh;	state Exp;
branches;
next	1.544;

1.544
date	2000.06.01.02.43.55;	author jkh;	state Exp;
branches;
next	1.543;

1.543
date	2000.05.12.02.58.59;	author jhb;	state Exp;
branches;
next	1.542;

1.542
date	2000.05.09.21.21.42;	author jhb;	state Exp;
branches;
next	1.541;

1.541
date	2000.05.08.22.21.17;	author jhb;	state Exp;
branches;
next	1.540;

1.540
date	2000.04.22.09.00.51;	author jkh;	state Exp;
branches;
next	1.539;

1.539
date	2000.04.17.05.13.27;	author iwasaki;	state Exp;
branches;
next	1.538;

1.538
date	2000.04.17.03.09.05;	author iwasaki;	state Exp;
branches;
next	1.537;

1.537
date	2000.04.06.10.00.20;	author asami;	state Exp;
branches;
next	1.536;

1.536
date	2000.03.12.19.19.31;	author jkh;	state Exp;
branches
	1.536.2.1;
next	1.535;

1.535
date	2000.03.03.20.39.22;	author jhay;	state Exp;
branches;
next	1.534;

1.534
date	2000.02.29.11.26.24;	author jkh;	state Exp;
branches;
next	1.533;

1.533
date	2000.01.29.01.15.52;	author obrien;	state Exp;
branches;
next	1.532;

1.532
date	2000.01.29.00.26.41;	author obrien;	state Exp;
branches;
next	1.531;

1.531
date	2000.01.25.07.07.32;	author obrien;	state Exp;
branches;
next	1.530;

1.530
date	2000.01.24.01.22.30;	author obrien;	state Exp;
branches;
next	1.529;

1.529
date	2000.01.23.10.03.21;	author wilko;	state Exp;
branches;
next	1.528;

1.528
date	2000.01.22.18.33.24;	author wilko;	state Exp;
branches;
next	1.527;

1.527
date	2000.01.19.22.48.50;	author wilko;	state Exp;
branches;
next	1.526;

1.526
date	2000.01.16.17.21.28;	author phk;	state Exp;
branches;
next	1.525;

1.525
date	2000.01.14.02.17.52;	author hosokawa;	state Exp;
branches;
next	1.524;

1.524
date	2000.01.10.16.27.32;	author imp;	state Exp;
branches;
next	1.523;

1.523
date	2000.01.10.06.15.43;	author peter;	state Exp;
branches;
next	1.522;

1.522
date	2000.01.09.08.23.17;	author jkh;	state Exp;
branches;
next	1.521;

1.521
date	2000.01.03.09.59.37;	author jkh;	state Exp;
branches;
next	1.520;

1.520
date	99.12.22.18.56.14;	author phk;	state Exp;
branches;
next	1.519;

1.519
date	99.12.16.00.58.58;	author jkh;	state Exp;
branches;
next	1.518;

1.518
date	99.12.14.22.41.08;	author joerg;	state Exp;
branches;
next	1.517;

1.517
date	99.11.27.14.32.27;	author phk;	state Exp;
branches;
next	1.516;

1.516
date	99.10.07.22.56.16;	author nsayer;	state Exp;
branches;
next	1.515;

1.515
date	99.10.03.06.43.57;	author phk;	state Exp;
branches;
next	1.514;

1.514
date	99.09.23.18.40.54;	author jkh;	state Exp;
branches;
next	1.513;

1.513
date	99.09.19.22.30.37;	author markm;	state Exp;
branches;
next	1.512;

1.512
date	99.09.19.02.05.52;	author jkh;	state Exp;
branches;
next	1.511;

1.511
date	99.09.17.09.32.21;	author jkh;	state Exp;
branches;
next	1.510;

1.510
date	99.09.16.08.44.22;	author jkh;	state Exp;
branches;
next	1.509;

1.509
date	99.09.13.19.06.21;	author peter;	state Exp;
branches;
next	1.508;

1.508
date	99.09.07.20.47.42;	author jkh;	state Exp;
branches;
next	1.507;

1.507
date	99.09.06.03.30.38;	author jkh;	state Exp;
branches;
next	1.506;

1.506
date	99.09.04.08.47.15;	author jkh;	state Exp;
branches;
next	1.505;

1.505
date	99.08.28.01.33.09;	author peter;	state Exp;
branches;
next	1.504;

1.504
date	99.08.26.19.50.14;	author nik;	state Exp;
branches;
next	1.503;

1.503
date	99.08.05.08.37.31;	author jkh;	state Exp;
branches;
next	1.502;

1.502
date	99.08.05.01.28.00;	author jkh;	state Exp;
branches;
next	1.501;

1.501
date	99.08.04.17.30.00;	author jkh;	state Exp;
branches;
next	1.500;

1.500
date	99.07.31.19.15.29;	author jkh;	state Exp;
branches;
next	1.499;

1.499
date	99.07.20.05.00.00;	author jkh;	state Exp;
branches;
next	1.498;

1.498
date	99.07.19.10.06.15;	author jkh;	state Exp;
branches;
next	1.497;

1.497
date	99.07.18.02.20.55;	author jkh;	state Exp;
branches;
next	1.496;

1.496
date	99.07.06.13.07.47;	author hosokawa;	state Exp;
branches;
next	1.495;

1.495
date	99.07.06.09.15.53;	author hosokawa;	state Exp;
branches;
next	1.494;

1.494
date	99.07.06.08.24.35;	author hosokawa;	state Exp;
branches;
next	1.493;

1.493
date	99.07.05.07.15.42;	author hosokawa;	state Exp;
branches;
next	1.492;

1.492
date	99.07.04.13.31.05;	author hosokawa;	state Exp;
branches;
next	1.491;

1.491
date	99.06.17.19.04.43;	author markm;	state Exp;
branches;
next	1.490;

1.490
date	99.05.29.00.42.05;	author jkh;	state Exp;
branches;
next	1.489;

1.489
date	99.05.23.20.01.20;	author brian;	state Exp;
branches;
next	1.488;

1.488
date	99.05.16.12.21.54;	author phk;	state Exp;
branches;
next	1.487;

1.487
date	99.05.16.08.07.34;	author phk;	state Exp;
branches;
next	1.486;

1.486
date	99.05.15.19.05.40;	author phk;	state Exp;
branches;
next	1.485;

1.485
date	99.05.15.11.51.39;	author jkh;	state Exp;
branches;
next	1.484;

1.484
date	99.05.13.02.49.23;	author jkh;	state Exp;
branches;
next	1.483;

1.483
date	99.05.12.08.19.54;	author jkh;	state Exp;
branches;
next	1.482;

1.482
date	99.05.09.17.00.04;	author obrien;	state Exp;
branches;
next	1.481;

1.481
date	99.05.02.17.43.45;	author max;	state Exp;
branches;
next	1.480;

1.480
date	99.04.29.17.56.28;	author jdp;	state Exp;
branches;
next	1.479;

1.479
date	99.04.27.05.09.43;	author max;	state Exp;
branches;
next	1.478;

1.478
date	99.04.25.16.42.46;	author max;	state Exp;
branches;
next	1.477;

1.477
date	99.04.20.11.41.59;	author obrien;	state Exp;
branches;
next	1.476;

1.476
date	99.03.31.11.18.52;	author sada;	state Exp;
branches;
next	1.475;

1.475
date	99.03.27.16.02.04;	author nik;	state Exp;
branches;
next	1.474;

1.474
date	99.03.14.20.41.12;	author markm;	state Exp;
branches;
next	1.473;

1.473
date	99.03.10.03.50.38;	author jkh;	state Exp;
branches;
next	1.472;

1.472
date	99.02.14.13.56.14;	author des;	state Exp;
branches;
next	1.471;

1.471
date	99.02.10.09.15.27;	author jkh;	state Exp;
branches;
next	1.470;

1.470
date	99.02.10.01.57.38;	author msmith;	state Exp;
branches;
next	1.469;

1.469
date	99.02.06.06.51.30;	author jkh;	state Exp;
branches;
next	1.468;

1.468
date	99.02.05.10.09.11;	author jkh;	state Exp;
branches;
next	1.467;

1.467
date	99.02.01.18.08.07;	author jkh;	state Exp;
branches;
next	1.466;

1.466
date	99.01.31.12.38.19;	author jkh;	state Exp;
branches;
next	1.465;

1.465
date	99.01.31.03.53.55;	author jkh;	state Exp;
branches;
next	1.464;

1.464
date	99.01.30.22.15.35;	author jkh;	state Exp;
branches;
next	1.463;

1.463
date	99.01.29.11.39.03;	author jkh;	state Exp;
branches;
next	1.462;

1.462
date	99.01.26.15.22.29;	author jkh;	state Exp;
branches;
next	1.461;

1.461
date	99.01.25.04.57.07;	author jkh;	state Exp;
branches;
next	1.460;

1.460
date	99.01.20.23.24.06;	author jkh;	state Exp;
branches
	1.460.2.1;
next	1.459;

1.459
date	99.01.16.22.42.24;	author jkh;	state Exp;
branches;
next	1.458;

1.458
date	99.01.14.15.36.53;	author abial;	state Exp;
branches;
next	1.457;

1.457
date	99.01.13.21.56.58;	author abial;	state Exp;
branches;
next	1.456;

1.456
date	99.01.12.15.37.19;	author joerg;	state Exp;
branches;
next	1.455;

1.455
date	99.01.11.00.54.00;	author jkh;	state Exp;
branches;
next	1.454;

1.454
date	99.01.10.21.31.37;	author rnordier;	state Exp;
branches;
next	1.453;

1.453
date	99.01.09.19.14.22;	author gpalmer;	state Exp;
branches;
next	1.452;

1.452
date	99.01.09.00.32.00;	author jkh;	state Exp;
branches;
next	1.451;

1.451
date	99.01.08.05.33.11;	author jkh;	state Exp;
branches;
next	1.450;

1.450
date	99.01.08.00.33.21;	author jkh;	state Exp;
branches;
next	1.449;

1.449
date	99.01.06.19.18.45;	author jkh;	state Exp;
branches;
next	1.448;

1.448
date	99.01.06.13.55.04;	author peter;	state Exp;
branches;
next	1.447;

1.447
date	99.01.05.17.03.49;	author jkh;	state Exp;
branches;
next	1.446;

1.446
date	99.01.05.03.53.14;	author jkh;	state Exp;
branches;
next	1.445;

1.445
date	99.01.05.03.44.08;	author jkh;	state Exp;
branches;
next	1.444;

1.444
date	99.01.05.02.35.38;	author jkh;	state Exp;
branches;
next	1.443;

1.443
date	99.01.05.02.09.29;	author jkh;	state Exp;
branches;
next	1.442;

1.442
date	99.01.05.01.58.44;	author jkh;	state Exp;
branches;
next	1.441;

1.441
date	99.01.03.02.18.55;	author jkh;	state Exp;
branches;
next	1.440;

1.440
date	98.12.29.07.27.55;	author jkh;	state Exp;
branches;
next	1.439;

1.439
date	98.12.24.08.55.05;	author jkh;	state Exp;
branches;
next	1.438;

1.438
date	98.12.24.04.28.25;	author jkh;	state Exp;
branches;
next	1.437;

1.437
date	98.12.21.17.34.33;	author jkh;	state Exp;
branches;
next	1.436;

1.436
date	98.12.18.05.13.01;	author jkh;	state Exp;
branches;
next	1.435;

1.435
date	98.12.09.15.11.11;	author jkh;	state Exp;
branches;
next	1.434;

1.434
date	98.12.08.00.14.51;	author jkh;	state Exp;
branches;
next	1.433;

1.433
date	98.12.06.04.06.38;	author jkh;	state Exp;
branches;
next	1.432;

1.432
date	98.12.06.00.05.42;	author jkh;	state Exp;
branches;
next	1.431;

1.431
date	98.11.24.00.17.50;	author jkh;	state Exp;
branches;
next	1.430;

1.430
date	98.11.12.20.40.45;	author jkh;	state Exp;
branches;
next	1.429;

1.429
date	98.11.11.08.46.52;	author jkh;	state Exp;
branches;
next	1.428;

1.428
date	98.11.08.20.47.57;	author jkh;	state Exp;
branches;
next	1.427;

1.427
date	98.11.06.17.29.08;	author jkh;	state Exp;
branches;
next	1.426;

1.426
date	98.11.06.16.50.51;	author jkh;	state Exp;
branches;
next	1.425;

1.425
date	98.11.03.21.09.11;	author msmith;	state Exp;
branches;
next	1.424;

1.424
date	98.11.03.03.36.34;	author jkh;	state Exp;
branches;
next	1.423;

1.423
date	98.11.03.03.31.22;	author jkh;	state Exp;
branches;
next	1.422;

1.422
date	98.10.22.04.58.38;	author gpalmer;	state Exp;
branches;
next	1.421;

1.421
date	98.10.16.10.17.29;	author jkh;	state Exp;
branches;
next	1.420;

1.420
date	98.10.15.11.12.40;	author jkh;	state Exp;
branches;
next	1.419;

1.419
date	98.10.14.10.58.12;	author jkh;	state Exp;
branches;
next	1.418;

1.418
date	98.10.14.02.13.45;	author jkh;	state Exp;
branches;
next	1.417;

1.417
date	98.10.13.21.37.30;	author jkh;	state Exp;
branches;
next	1.416;

1.416
date	98.10.13.21.36.13;	author jkh;	state Exp;
branches;
next	1.415;

1.415
date	98.10.13.21.09.42;	author jkh;	state Exp;
branches;
next	1.414;

1.414
date	98.10.13.02.32.43;	author jdp;	state Exp;
branches;
next	1.413;

1.413
date	98.10.10.08.15.38;	author jkh;	state Exp;
branches;
next	1.412;

1.412
date	98.10.09.07.07.55;	author jkh;	state Exp;
branches;
next	1.411;

1.411
date	98.10.09.06.28.28;	author jkh;	state Exp;
branches;
next	1.410;

1.410
date	98.10.08.10.18.55;	author jkh;	state Exp;
branches;
next	1.409;

1.409
date	98.10.08.10.02.28;	author jkh;	state Exp;
branches;
next	1.408;

1.408
date	98.10.08.09.53.32;	author jkh;	state Exp;
branches;
next	1.407;

1.407
date	98.10.08.09.06.16;	author jkh;	state Exp;
branches;
next	1.406;

1.406
date	98.10.08.07.12.37;	author jkh;	state Exp;
branches;
next	1.405;

1.405
date	98.10.07.22.58.22;	author jkh;	state Exp;
branches;
next	1.404;

1.404
date	98.10.07.22.54.04;	author jkh;	state Exp;
branches;
next	1.403;

1.403
date	98.10.07.22.36.48;	author jkh;	state Exp;
branches;
next	1.402;

1.402
date	98.10.07.21.53.14;	author jkh;	state Exp;
branches;
next	1.401;

1.401
date	98.10.07.03.13.36;	author jkh;	state Exp;
branches;
next	1.400;

1.400
date	98.10.07.02.57.16;	author jkh;	state Exp;
branches;
next	1.399;

1.399
date	98.10.04.17.37.52;	author jkh;	state Exp;
branches;
next	1.398;

1.398
date	98.10.04.10.33.41;	author jkh;	state Exp;
branches;
next	1.397;

1.397
date	98.10.04.02.32.18;	author jkh;	state Exp;
branches;
next	1.396;

1.396
date	98.10.04.02.01.03;	author jkh;	state Exp;
branches;
next	1.395;

1.395
date	98.10.01.09.27.02;	author jkh;	state Exp;
branches;
next	1.394;

1.394
date	98.09.30.20.54.28;	author jkh;	state Exp;
branches;
next	1.393;

1.393
date	98.09.28.17.17.49;	author jkh;	state Exp;
branches;
next	1.392;

1.392
date	98.09.24.02.01.07;	author jkh;	state Exp;
branches;
next	1.391;

1.391
date	98.09.24.00.57.05;	author jkh;	state Exp;
branches;
next	1.390;

1.390
date	98.09.23.07.38.51;	author gpalmer;	state Exp;
branches;
next	1.389;

1.389
date	98.09.20.08.52.23;	author jkh;	state Exp;
branches;
next	1.388;

1.388
date	98.09.19.11.43.05;	author jkh;	state Exp;
branches;
next	1.387;

1.387
date	98.09.17.11.25.48;	author jkh;	state Exp;
branches;
next	1.386;

1.386
date	98.09.15.13.15.18;	author jhay;	state Exp;
branches;
next	1.385;

1.385
date	98.09.15.10.24.23;	author gibbs;	state Exp;
branches;
next	1.384;

1.384
date	98.09.14.18.42.59;	author jkh;	state Exp;
branches;
next	1.383;

1.383
date	98.09.14.11.39.38;	author jkh;	state Exp;
branches;
next	1.382;

1.382
date	98.09.13.17.20.57;	author phk;	state Exp;
branches;
next	1.381;

1.381
date	98.09.12.20.04.44;	author jhay;	state Exp;
branches;
next	1.380;

1.380
date	98.09.09.14.20.22;	author jkh;	state Exp;
branches;
next	1.379;

1.379
date	98.09.07.23.55.22;	author jkh;	state Exp;
branches;
next	1.378;

1.378
date	98.09.05.07.43.13;	author jkh;	state Exp;
branches;
next	1.377;

1.377
date	98.09.05.06.54.42;	author jkh;	state Exp;
branches;
next	1.376;

1.376
date	98.09.05.00.36.18;	author msmith;	state Exp;
branches;
next	1.375;

1.375
date	98.09.04.23.51.40;	author jkh;	state Exp;
branches;
next	1.374;

1.374
date	98.09.04.08.22.59;	author jkh;	state Exp;
branches;
next	1.373;

1.373
date	98.09.04.06.31.34;	author jkh;	state Exp;
branches;
next	1.372;

1.372
date	98.09.02.18.04.18;	author max;	state Exp;
branches;
next	1.371;

1.371
date	98.09.01.06.57.18;	author jkh;	state Exp;
branches;
next	1.370;

1.370
date	98.08.30.02.50.44;	author jb;	state Exp;
branches;
next	1.369;

1.369
date	98.08.23.00.52.18;	author gpalmer;	state Exp;
branches;
next	1.368;

1.368
date	98.08.16.01.24.40;	author jkh;	state Exp;
branches;
next	1.367;

1.367
date	98.08.16.00.44.29;	author jkh;	state Exp;
branches;
next	1.366;

1.366
date	98.08.12.11.49.22;	author jkh;	state Exp;
branches;
next	1.365;

1.365
date	98.08.12.11.43.24;	author jkh;	state Exp;
branches;
next	1.364;

1.364
date	98.08.11.03.59.12;	author jkh;	state Exp;
branches;
next	1.363;

1.363
date	98.07.19.05.31.35;	author jkh;	state Exp;
branches;
next	1.362;

1.362
date	98.07.16.10.15.53;	author jkh;	state Exp;
branches;
next	1.361;

1.361
date	98.07.16.10.09.55;	author jkh;	state Exp;
branches;
next	1.360;

1.360
date	98.07.09.08.26.38;	author des;	state Exp;
branches;
next	1.359;

1.359
date	98.06.26.18.54.06;	author brian;	state Exp;
branches;
next	1.358;

1.358
date	98.06.25.06.35.20;	author brian;	state Exp;
branches;
next	1.357;

1.357
date	98.06.24.06.55.18;	author brian;	state Exp;
branches;
next	1.356;

1.356
date	98.06.08.20.58.02;	author jdp;	state Exp;
branches;
next	1.355;

1.355
date	98.06.07.21.53.01;	author jdp;	state Exp;
branches;
next	1.354;

1.354
date	98.06.06.04.39.42;	author jkoshy;	state Exp;
branches;
next	1.353;

1.353
date	98.05.30.12.15.02;	author jkh;	state Exp;
branches;
next	1.352;

1.352
date	98.05.29.19.36.12;	author jkh;	state Exp;
branches;
next	1.351;

1.351
date	98.05.20.01.06.32;	author jkh;	state Exp;
branches;
next	1.350;

1.350
date	98.05.12.08.02.48;	author jkh;	state Exp;
branches;
next	1.349;

1.349
date	98.05.08.13.49.16;	author jkh;	state Exp;
branches;
next	1.348;

1.348
date	98.04.15.18.28.27;	author msmith;	state Exp;
branches;
next	1.347;

1.347
date	98.03.30.08.29.28;	author jkh;	state Exp;
branches;
next	1.346;

1.346
date	98.03.22.18.39.42;	author jhay;	state Exp;
branches;
next	1.345;

1.345
date	98.03.10.17.29.44;	author jkh;	state Exp;
branches;
next	1.344;

1.344
date	98.03.06.23.03.49;	author jkh;	state Exp;
branches;
next	1.343;

1.343
date	98.03.06.06.47.09;	author jkh;	state Exp;
branches;
next	1.342;

1.342
date	98.02.18.20.01.41;	author eivind;	state Exp;
branches;
next	1.341;

1.341
date	98.02.13.20.34.25;	author jkh;	state Exp;
branches;
next	1.340;

1.340
date	98.02.01.06.35.44;	author pst;	state Exp;
branches;
next	1.339;

1.339
date	98.01.28.04.05.10;	author jkh;	state Exp;
branches;
next	1.338;

1.338
date	98.01.27.21.28.32;	author jkh;	state Exp;
branches;
next	1.337;

1.337
date	98.01.27.01.06.49;	author jkh;	state Exp;
branches;
next	1.336;

1.336
date	98.01.24.07.30.55;	author jkh;	state Exp;
branches;
next	1.335;

1.335
date	98.01.23.20.15.54;	author jkh;	state Exp;
branches;
next	1.334;

1.334
date	98.01.19.16.10.51;	author jkh;	state Exp;
branches;
next	1.333;

1.333
date	98.01.17.14.21.17;	author brian;	state Exp;
branches;
next	1.332;

1.332
date	97.10.20.21.57.14;	author joerg;	state Exp;
branches;
next	1.331;

1.331
date	97.10.05.22.31.40;	author jkh;	state Exp;
branches;
next	1.330;

1.330
date	97.10.05.09.47.28;	author jkh;	state Exp;
branches;
next	1.329;

1.329
date	97.10.04.20.51.42;	author jkh;	state Exp;
branches;
next	1.328;

1.328
date	97.10.04.09.05.06;	author jkh;	state Exp;
branches;
next	1.327;

1.327
date	97.10.03.14.17.46;	author jkh;	state Exp;
branches;
next	1.326;

1.326
date	97.10.03.14.05.29;	author markm;	state Exp;
branches;
next	1.325;

1.325
date	97.10.01.09.01.16;	author jkh;	state Exp;
branches;
next	1.324;

1.324
date	97.09.30.08.09.03;	author jkh;	state Exp;
branches;
next	1.323;

1.323
date	97.09.20.17.10.09;	author joerg;	state Exp;
branches;
next	1.322;

1.322
date	97.09.20.15.40.55;	author joerg;	state Exp;
branches;
next	1.321;

1.321
date	97.09.08.11.09.35;	author jkh;	state Exp;
branches;
next	1.320;

1.320
date	97.09.04.11.54.01;	author jkh;	state Exp;
branches;
next	1.319;

1.319
date	97.09.04.11.28.32;	author jkh;	state Exp;
branches;
next	1.318;

1.318
date	97.09.03.23.15.38;	author jkh;	state Exp;
branches;
next	1.317;

1.317
date	97.07.31.10.57.30;	author jkh;	state Exp;
branches;
next	1.316;

1.316
date	97.07.31.09.52.10;	author jkh;	state Exp;
branches;
next	1.315;

1.315
date	97.07.23.10.44.39;	author jkh;	state Exp;
branches;
next	1.314;

1.314
date	97.07.13.00.54.22;	author jkh;	state Exp;
branches;
next	1.313;

1.313
date	97.07.09.12.45.17;	author jkh;	state Exp;
branches;
next	1.312;

1.312
date	97.07.02.08.58.58;	author jkh;	state Exp;
branches;
next	1.311;

1.311
date	97.06.29.18.07.01;	author jkh;	state Exp;
branches;
next	1.310;

1.310
date	97.06.28.16.24.09;	author jkh;	state Exp;
branches;
next	1.309;

1.309
date	97.06.28.08.21.10;	author pst;	state Exp;
branches;
next	1.308;

1.308
date	97.06.24.23.08.18;	author jkh;	state Exp;
branches;
next	1.307;

1.307
date	97.06.23.01.49.35;	author jkh;	state Exp;
branches;
next	1.306;

1.306
date	97.06.22.17.59.04;	author jkh;	state Exp;
branches;
next	1.305;

1.305
date	97.06.22.17.21.59;	author jkh;	state Exp;
branches;
next	1.304;

1.304
date	97.06.22.10.17.32;	author jkh;	state Exp;
branches;
next	1.303;

1.303
date	97.06.22.08.37.49;	author jkh;	state Exp;
branches;
next	1.302;

1.302
date	97.06.21.19.39.48;	author jkh;	state Exp;
branches;
next	1.301;

1.301
date	97.06.21.15.45.51;	author jkh;	state Exp;
branches;
next	1.300;

1.300
date	97.06.21.15.41.55;	author jkh;	state Exp;
branches;
next	1.299;

1.299
date	97.06.12.09.23.54;	author jkh;	state Exp;
branches;
next	1.298;

1.298
date	97.06.12.09.18.29;	author jkh;	state Exp;
branches;
next	1.297;

1.297
date	97.06.11.10.03.40;	author jkh;	state Exp;
branches;
next	1.296;

1.296
date	97.06.06.02.10.03;	author brian;	state Exp;
branches;
next	1.295;

1.295
date	97.06.01.08.06.48;	author joerg;	state Exp;
branches;
next	1.294;

1.294
date	97.05.24.20.15.13;	author jkh;	state Exp;
branches;
next	1.293;

1.293
date	97.05.03.12.14.21;	author danny;	state Exp;
branches;
next	1.292;

1.292
date	97.04.25.09.11.50;	author jkh;	state Exp;
branches;
next	1.291;

1.291
date	97.04.13.20.20.25;	author joerg;	state Exp;
branches;
next	1.290;

1.290
date	97.04.13.08.46.58;	author joerg;	state Exp;
branches;
next	1.289;

1.289
date	97.04.12.21.55.53;	author joerg;	state Exp;
branches;
next	1.288;

1.288
date	97.03.15.20.35.06;	author joerg;	state Exp;
branches;
next	1.287;

1.287
date	97.03.15.19.51.16;	author joerg;	state Exp;
branches;
next	1.286;

1.286
date	97.03.14.08.21.09;	author joerg;	state Exp;
branches;
next	1.285;

1.285
date	97.03.12.18.09.15;	author joerg;	state Exp;
branches;
next	1.284;

1.284
date	97.03.12.02.42.55;	author jkh;	state Exp;
branches;
next	1.283;

1.283
date	97.03.12.02.31.12;	author jkh;	state Exp;
branches;
next	1.282;

1.282
date	97.03.11.20.03.42;	author joerg;	state Exp;
branches;
next	1.281;

1.281
date	97.03.11.13.55.46;	author joerg;	state Exp;
branches;
next	1.280;

1.280
date	97.03.11.00.06.45;	author jkh;	state Exp;
branches;
next	1.279;

1.279
date	97.03.06.07.51.40;	author joerg;	state Exp;
branches;
next	1.278;

1.278
date	97.03.02.11.59.25;	author joerg;	state Exp;
branches;
next	1.277;

1.277
date	97.02.23.15.51.47;	author joerg;	state Exp;
branches;
next	1.276;

1.276
date	97.02.22.14.10.21;	author peter;	state Exp;
branches;
next	1.275;

1.275
date	97.02.05.04.29.52;	author jkh;	state Exp;
branches;
next	1.274;

1.274
date	97.01.14.14.48.16;	author jkh;	state Exp;
branches;
next	1.273;

1.273
date	97.01.14.06.22.41;	author jkh;	state Exp;
branches;
next	1.272;

1.272
date	97.01.06.11.45.01;	author jkh;	state Exp;
branches;
next	1.271;

1.271
date	97.01.02.10.29.40;	author jkh;	state Exp;
branches;
next	1.270;

1.270
date	97.01.01.03.16.34;	author jkh;	state Exp;
branches;
next	1.269;

1.269
date	96.12.30.05.35.33;	author jkh;	state Exp;
branches;
next	1.268;

1.268
date	96.12.30.02.57.33;	author jkh;	state Exp;
branches;
next	1.267;

1.267
date	96.12.29.05.51.33;	author jkh;	state Exp;
branches;
next	1.266;

1.266
date	96.12.29.05.28.37;	author jkh;	state Exp;
branches;
next	1.265;

1.265
date	96.12.29.05.26.04;	author jkh;	state Exp;
branches;
next	1.264;

1.264
date	96.12.23.05.10.31;	author peter;	state Exp;
branches;
next	1.263;

1.263
date	96.12.14.23.14.39;	author jkh;	state Exp;
branches;
next	1.262;

1.262
date	96.12.12.19.46.21;	author jkh;	state Exp;
branches;
next	1.261;

1.261
date	96.12.11.18.26.19;	author jkh;	state Exp;
branches;
next	1.260;

1.260
date	96.12.08.18.21.29;	author joerg;	state Exp;
branches;
next	1.259;

1.259
date	96.11.27.22.52.06;	author phk;	state Exp;
branches;
next	1.258;

1.258
date	96.11.16.22.40.59;	author joerg;	state Exp;
branches;
next	1.257;

1.257
date	96.11.15.22.16.09;	author jkh;	state Exp;
branches;
next	1.256;

1.256
date	96.11.14.14.23.53;	author andreas;	state Exp;
branches;
next	1.255;

1.255
date	96.11.13.13.40.47;	author jkh;	state Exp;
branches;
next	1.254;

1.254
date	96.11.12.19.18.05;	author jkh;	state Exp;
branches;
next	1.253;

1.253
date	96.11.12.15.40.52;	author phk;	state Exp;
branches;
next	1.252;

1.252
date	96.11.09.16.25.29;	author joerg;	state Exp;
branches;
next	1.251;

1.251
date	96.11.08.19.09.45;	author jkh;	state Exp;
branches;
next	1.250;

1.250
date	96.11.07.14.50.28;	author joerg;	state Exp;
branches;
next	1.249;

1.249
date	96.11.03.14.39.18;	author joerg;	state Exp;
branches;
next	1.248;

1.248
date	96.11.03.08.52.31;	author joerg;	state Exp;
branches;
next	1.247;

1.247
date	96.11.02.18.58.07;	author jkh;	state Exp;
branches;
next	1.246;

1.246
date	96.10.14.13.29.40;	author jkh;	state Exp;
branches
	1.246.2.1;
next	1.245;

1.245
date	96.10.10.09.22.16;	author jkh;	state Exp;
branches;
next	1.244;

1.244
date	96.10.05.13.10.01;	author jkh;	state Exp;
branches;
next	1.243;

1.243
date	96.10.05.10.43.33;	author jkh;	state Exp;
branches;
next	1.242;

1.242
date	96.10.05.07.46.54;	author jkh;	state Exp;
branches;
next	1.241;

1.241
date	96.10.05.06.10.58;	author jkh;	state Exp;
branches;
next	1.240;

1.240
date	96.10.04.13.33.38;	author jkh;	state Exp;
branches;
next	1.239;

1.239
date	96.09.26.20.48.03;	author pst;	state Exp;
branches;
next	1.238;

1.238
date	96.09.25.00.43.23;	author pst;	state Exp;
branches;
next	1.237;

1.237
date	96.09.19.08.35.41;	author phk;	state Exp;
branches;
next	1.236;

1.236
date	96.09.09.21.25.40;	author pst;	state Exp;
branches;
next	1.235;

1.235
date	96.09.07.01.05.16;	author pst;	state Exp;
branches;
next	1.234;

1.234
date	96.08.03.06.49.00;	author jkh;	state Exp;
branches;
next	1.233;

1.233
date	96.08.02.18.19.47;	author pst;	state Exp;
branches;
next	1.232;

1.232
date	96.07.10.06.36.01;	author markm;	state Exp;
branches;
next	1.231;

1.231
date	96.07.09.16.52.52;	author jkh;	state Exp;
branches;
next	1.230;

1.230
date	96.07.09.11.26.00;	author jkh;	state Exp;
branches;
next	1.229;

1.229
date	96.07.05.21.48.49;	author jkh;	state Exp;
branches;
next	1.228;

1.228
date	96.07.05.08.53.54;	author jkh;	state Exp;
branches;
next	1.227;

1.227
date	96.06.29.02.22.36;	author jkh;	state Exp;
branches;
next	1.226;

1.226
date	96.06.26.19.06.11;	author jkh;	state Exp;
branches;
next	1.225;

1.225
date	96.06.26.01.24.54;	author jkh;	state Exp;
branches;
next	1.224;

1.224
date	96.06.13.09.35.16;	author jkh;	state Exp;
branches;
next	1.223;

1.223
date	96.06.13.01.57.48;	author jkh;	state Exp;
branches;
next	1.222;

1.222
date	96.06.12.16.32.15;	author jkh;	state Exp;
branches;
next	1.221;

1.221
date	96.06.11.05.06.29;	author jkh;	state Exp;
branches;
next	1.220;

1.220
date	96.06.08.22.55.25;	author jkh;	state Exp;
branches;
next	1.219;

1.219
date	96.06.07.11.46.18;	author jkh;	state Exp;
branches;
next	1.218;

1.218
date	96.06.06.10.13.32;	author jkh;	state Exp;
branches;
next	1.217;

1.217
date	96.05.29.04.13.17;	author jkh;	state Exp;
branches;
next	1.216;

1.216
date	96.05.29.01.35.15;	author jkh;	state Exp;
branches;
next	1.215;

1.215
date	96.05.16.03.20.52;	author jkh;	state Exp;
branches;
next	1.214;

1.214
date	96.05.02.08.18.28;	author jkh;	state Exp;
branches;
next	1.213;

1.213
date	96.05.01.09.35.34;	author jkh;	state Exp;
branches;
next	1.212;

1.212
date	96.04.29.20.29.29;	author jkh;	state Exp;
branches;
next	1.211;

1.211
date	96.04.29.19.38.36;	author jkh;	state Exp;
branches;
next	1.210;

1.210
date	96.04.28.00.37.26;	author jkh;	state Exp;
branches;
next	1.209;

1.209
date	96.03.19.03.26.33;	author jkh;	state Exp;
branches;
next	1.208;

1.208
date	96.02.27.03.40.40;	author jkh;	state Exp;
branches;
next	1.207;

1.207
date	96.02.13.13.28.41;	author joerg;	state Exp;
branches;
next	1.206;

1.206
date	96.02.13.09.22.42;	author joerg;	state Exp;
branches;
next	1.205;

1.205
date	96.01.24.21.42.37;	author joerg;	state Exp;
branches;
next	1.204;

1.204
date	96.01.14.19.10.15;	author phk;	state Exp;
branches;
next	1.203;

1.203
date	96.01.13.23.31.44;	author phk;	state Exp;
branches;
next	1.202;

1.202
date	96.01.11.20.28.40;	author phk;	state Exp;
branches;
next	1.201;

1.201
date	96.01.10.08.51.08;	author phk;	state Exp;
branches;
next	1.200;

1.200
date	96.01.08.22.13.48;	author phk;	state Exp;
branches;
next	1.199;

1.199
date	96.01.06.20.13.48;	author joerg;	state Exp;
branches;
next	1.198;

1.198
date	96.01.03.23.40.59;	author joerg;	state Exp;
branches;
next	1.197;

1.197
date	95.12.31.17.10.04;	author joerg;	state Exp;
branches;
next	1.196;

1.196
date	95.12.30.21.15.45;	author joerg;	state Exp;
branches;
next	1.195;

1.195
date	95.12.07.10.32.51;	author peter;	state Exp;
branches;
next	1.194;

1.194
date	95.07.25.19.13.20;	author jkh;	state Exp;
branches;
next	1.193;

1.193
date	95.06.11.19.29.26;	author rgrimes;	state Exp;
branches
	1.193.2.1;
next	1.192;

1.192
date	95.05.30.08.27.59;	author rgrimes;	state Exp;
branches
	1.192.2.1;
next	1.191;

1.191
date	95.05.29.10.56.33;	author jkh;	state Exp;
branches;
next	1.190;

1.190
date	95.05.29.02.20.32;	author phk;	state Exp;
branches;
next	1.189;

1.189
date	95.05.29.02.12.50;	author phk;	state Exp;
branches;
next	1.188;

1.188
date	95.05.29.01.28.21;	author phk;	state Exp;
branches;
next	1.187;

1.187
date	95.05.29.00.49.52;	author jkh;	state Exp;
branches;
next	1.186;

1.186
date	95.05.28.07.04.36;	author phk;	state Exp;
branches;
next	1.185;

1.185
date	95.05.27.21.07.13;	author jkh;	state Exp;
branches;
next	1.184;

1.184
date	95.05.26.23.08.33;	author jkh;	state Exp;
branches;
next	1.183;

1.183
date	95.05.26.21.55.25;	author jkh;	state Exp;
branches;
next	1.182;

1.182
date	95.05.26.21.47.13;	author jkh;	state Exp;
branches;
next	1.181;

1.181
date	95.05.26.10.18.12;	author jkh;	state Exp;
branches;
next	1.180;

1.180
date	95.05.25.18.48.06;	author jkh;	state Exp;
branches;
next	1.179;

1.179
date	95.05.25.06.14.10;	author phk;	state Exp;
branches;
next	1.178;

1.178
date	95.05.25.01.51.44;	author jkh;	state Exp;
branches;
next	1.177;

1.177
date	95.05.25.01.22.08;	author jkh;	state Exp;
branches;
next	1.176;

1.176
date	95.05.24.11.17.53;	author gpalmer;	state Exp;
branches;
next	1.175;

1.175
date	95.05.24.08.59.01;	author jkh;	state Exp;
branches;
next	1.174;

1.174
date	95.05.24.01.26.23;	author jkh;	state Exp;
branches;
next	1.173;

1.173
date	95.05.23.21.47.26;	author jkh;	state Exp;
branches;
next	1.172;

1.172
date	95.05.23.21.33.53;	author jkh;	state Exp;
branches;
next	1.171;

1.171
date	95.05.23.07.20.35;	author gpalmer;	state Exp;
branches;
next	1.170;

1.170
date	95.05.22.17.39.22;	author jkh;	state Exp;
branches;
next	1.169;

1.169
date	95.05.22.14.08.45;	author jkh;	state Exp;
branches;
next	1.168;

1.168
date	95.05.22.06.25.26;	author jkh;	state Exp;
branches;
next	1.167;

1.167
date	95.05.21.21.08.45;	author jkh;	state Exp;
branches;
next	1.166;

1.166
date	95.05.21.18.39.42;	author jkh;	state Exp;
branches;
next	1.165;

1.165
date	95.05.21.18.29.49;	author jkh;	state Exp;
branches;
next	1.164;

1.164
date	95.05.21.13.36.13;	author jkh;	state Exp;
branches;
next	1.163;

1.163
date	95.05.21.10.33.20;	author jkh;	state Exp;
branches;
next	1.162;

1.162
date	95.05.21.03.16.19;	author phk;	state Exp;
branches;
next	1.161;

1.161
date	95.05.20.23.33.07;	author phk;	state Exp;
branches;
next	1.160;

1.160
date	95.05.20.13.52.53;	author jkh;	state Exp;
branches;
next	1.159;

1.159
date	95.05.20.13.49.47;	author jkh;	state Exp;
branches;
next	1.158;

1.158
date	95.05.18.13.32.22;	author jkh;	state Exp;
branches;
next	1.157;

1.157
date	95.05.18.13.24.48;	author jkh;	state Exp;
branches;
next	1.156;

1.156
date	95.05.13.19.51.57;	author rgrimes;	state Exp;
branches;
next	1.155;

1.155
date	95.05.11.07.18.11;	author jkh;	state Exp;
branches;
next	1.154;

1.154
date	95.05.11.07.11.24;	author jkh;	state Exp;
branches;
next	1.153;

1.153
date	95.05.11.07.03.33;	author jkh;	state Exp;
branches;
next	1.152;

1.152
date	95.05.11.06.40.40;	author jkh;	state Exp;
branches;
next	1.151;

1.151
date	95.05.11.06.32.10;	author jkh;	state Exp;
branches;
next	1.150;

1.150
date	95.05.10.17.54.09;	author jkh;	state Exp;
branches;
next	1.149;

1.149
date	95.05.10.17.20.20;	author jkh;	state Exp;
branches;
next	1.148;

1.148
date	95.05.09.02.24.39;	author jkh;	state Exp;
branches;
next	1.147;

1.147
date	95.05.09.00.30.00;	author jkh;	state Exp;
branches;
next	1.146;

1.146
date	95.05.09.00.18.32;	author jkh;	state Exp;
branches;
next	1.145;

1.145
date	95.05.01.12.01.39;	author jkh;	state Exp;
branches;
next	1.144;

1.144
date	95.04.30.09.02.08;	author phk;	state Exp;
branches;
next	1.143;

1.143
date	95.04.24.04.06.30;	author phk;	state Exp;
branches;
next	1.142;

1.142
date	95.04.23.23.06.36;	author phk;	state Exp;
branches;
next	1.141;

1.141
date	95.04.20.06.48.30;	author phk;	state Exp;
branches;
next	1.140;

1.140
date	95.04.19.18.00.04;	author phk;	state Exp;
branches;
next	1.139;

1.139
date	95.04.19.17.42.32;	author phk;	state Exp;
branches;
next	1.138;

1.138
date	95.04.19.01.19.57;	author phk;	state Exp;
branches;
next	1.137;

1.137
date	95.04.13.20.21.06;	author jkh;	state Exp;
branches;
next	1.136;

1.136
date	95.04.13.09.05.25;	author phk;	state Exp;
branches;
next	1.135;

1.135
date	95.04.13.02.11.31;	author phk;	state Exp;
branches;
next	1.134;

1.134
date	95.04.12.21.13.08;	author phk;	state Exp;
branches;
next	1.133;

1.133
date	95.04.12.08.00.20;	author phk;	state Exp;
branches;
next	1.132;

1.132
date	95.04.10.08.01.27;	author phk;	state Exp;
branches;
next	1.131;

1.131
date	95.04.09.03.47.55;	author jkh;	state Exp;
branches;
next	1.130;

1.130
date	95.04.08.21.29.56;	author phk;	state Exp;
branches;
next	1.129;

1.129
date	95.04.08.09.45.31;	author phk;	state Exp;
branches;
next	1.128;

1.128
date	95.04.07.01.20.19;	author phk;	state Exp;
branches;
next	1.127;

1.127
date	95.03.28.19.28.32;	author phk;	state Exp;
branches;
next	1.126;

1.126
date	95.03.28.18.14.03;	author phk;	state Exp;
branches;
next	1.125;

1.125
date	95.03.24.08.10.53;	author phk;	state Exp;
branches;
next	1.124;

1.124
date	95.03.24.04.20.35;	author phk;	state Exp;
branches;
next	1.123;

1.123
date	95.03.24.02.45.24;	author phk;	state Exp;
branches;
next	1.122;

1.122
date	95.03.24.02.05.32;	author phk;	state Exp;
branches;
next	1.121;

1.121
date	95.03.22.20.37.53;	author phk;	state Exp;
branches;
next	1.120;

1.120
date	95.03.21.20.24.00;	author jkh;	state Exp;
branches;
next	1.119;

1.119
date	95.03.17.04.54.13;	author phk;	state Exp;
branches;
next	1.118;

1.118
date	95.03.16.22.54.42;	author phk;	state Exp;
branches;
next	1.117;

1.117
date	95.03.16.05.58.28;	author phk;	state Exp;
branches;
next	1.116;

1.116
date	95.03.16.05.40.02;	author phk;	state Exp;
branches;
next	1.115;

1.115
date	95.03.15.06.14.18;	author phk;	state Exp;
branches;
next	1.114;

1.114
date	95.03.13.20.09.36;	author phk;	state Exp;
branches;
next	1.113;

1.113
date	95.02.28.20.32.29;	author phk;	state Exp;
branches;
next	1.112;

1.112
date	95.02.28.04.38.21;	author phk;	state Exp;
branches;
next	1.111;

1.111
date	95.02.28.01.15.52;	author phk;	state Exp;
branches;
next	1.110;

1.110
date	95.02.26.20.45.34;	author phk;	state Exp;
branches;
next	1.109;

1.109
date	95.02.26.01.35.32;	author phk;	state Exp;
branches;
next	1.108;

1.108
date	95.02.25.22.08.43;	author phk;	state Exp;
branches;
next	1.107;

1.107
date	95.02.11.05.35.37;	author phk;	state Exp;
branches;
next	1.106;

1.106
date	95.02.10.06.04.58;	author phk;	state Exp;
branches;
next	1.105;

1.105
date	95.02.10.05.51.01;	author jkh;	state Exp;
branches;
next	1.104;

1.104
date	95.02.10.05.41.10;	author phk;	state Exp;
branches;
next	1.103;

1.103
date	95.02.09.08.36.23;	author jkh;	state Exp;
branches;
next	1.102;

1.102
date	95.02.02.12.29.03;	author jkh;	state Exp;
branches;
next	1.101;

1.101
date	95.02.02.08.03.24;	author ache;	state Exp;
branches;
next	1.100;

1.100
date	95.02.02.04.07.51;	author jkh;	state Exp;
branches;
next	1.99;

1.99
date	95.02.01.22.53.32;	author jkh;	state Exp;
branches;
next	1.98;

1.98
date	95.02.01.11.19.24;	author jkh;	state Exp;
branches;
next	1.97;

1.97
date	95.01.30.07.01.56;	author jkh;	state Exp;
branches;
next	1.96;

1.96
date	95.01.30.03.22.24;	author phk;	state Exp;
branches;
next	1.95;

1.95
date	95.01.29.06.29.14;	author phk;	state Exp;
branches;
next	1.94;

1.94
date	95.01.29.02.12.30;	author phk;	state Exp;
branches;
next	1.93;

1.93
date	95.01.28.22.29.27;	author jkh;	state Exp;
branches;
next	1.92;

1.92
date	95.01.28.05.33.52;	author jkh;	state Exp;
branches;
next	1.91;

1.91
date	95.01.28.01.18.36;	author jkh;	state Exp;
branches;
next	1.90;

1.90
date	95.01.27.08.30.35;	author jkh;	state Exp;
branches;
next	1.89;

1.89
date	95.01.27.08.06.43;	author jkh;	state Exp;
branches;
next	1.88;

1.88
date	95.01.27.07.49.38;	author jkh;	state Exp;
branches;
next	1.87;

1.87
date	95.01.27.07.37.41;	author jkh;	state Exp;
branches;
next	1.86;

1.86
date	95.01.27.06.24.35;	author jkh;	state Exp;
branches;
next	1.85;

1.85
date	95.01.27.01.47.32;	author jkh;	state Exp;
branches;
next	1.84;

1.84
date	95.01.17.19.57.35;	author jkh;	state Exp;
branches;
next	1.83;

1.83
date	95.01.15.06.31.50;	author jkh;	state Exp;
branches;
next	1.82;

1.82
date	95.01.14.20.15.38;	author jkh;	state Exp;
branches;
next	1.81;

1.81
date	95.01.14.12.51.40;	author jkh;	state Exp;
branches;
next	1.80;

1.80
date	95.01.14.12.44.23;	author jkh;	state Exp;
branches;
next	1.79;

1.79
date	95.01.14.10.28.11;	author jkh;	state Exp;
branches;
next	1.78;

1.78
date	95.01.14.08.02.49;	author jkh;	state Exp;
branches;
next	1.77;

1.77
date	95.01.14.07.48.09;	author jkh;	state Exp;
branches;
next	1.76;

1.76
date	95.01.13.08.06.55;	author gibbs;	state Exp;
branches;
next	1.75;

1.75
date	95.01.13.06.44.23;	author jkh;	state Exp;
branches;
next	1.74;

1.74
date	95.01.13.05.43.03;	author jkh;	state Exp;
branches;
next	1.73;

1.73
date	95.01.12.16.18.13;	author jkh;	state Exp;
branches;
next	1.72;

1.72
date	95.01.12.12.30.05;	author jkh;	state Exp;
branches;
next	1.71;

1.71
date	95.01.12.10.34.34;	author jkh;	state Exp;
branches;
next	1.70;

1.70
date	95.01.07.11.09.48;	author jkh;	state Exp;
branches;
next	1.69;

1.69
date	94.12.23.03.29.58;	author jkh;	state Exp;
branches;
next	1.68;

1.68
date	94.12.23.02.25.32;	author jkh;	state Exp;
branches;
next	1.67;

1.67
date	94.12.22.21.34.36;	author jkh;	state Exp;
branches;
next	1.66;

1.66
date	94.12.22.20.38.23;	author jkh;	state Exp;
branches;
next	1.65;

1.65
date	94.12.21.04.57.04;	author jkh;	state Exp;
branches;
next	1.64;

1.64
date	94.12.18.12.15.13;	author jkh;	state Exp;
branches;
next	1.63;

1.63
date	94.12.17.12.38.09;	author jkh;	state Exp;
branches;
next	1.62;

1.62
date	94.12.01.20.02.44;	author jkh;	state Exp;
branches;
next	1.61;

1.61
date	94.12.01.20.01.37;	author jkh;	state Exp;
branches;
next	1.60;

1.60
date	94.11.30.15.54.39;	author jkh;	state Exp;
branches;
next	1.59;

1.59
date	94.11.24.22.30.02;	author phk;	state Exp;
branches;
next	1.58;

1.58
date	94.11.22.05.21.06;	author phk;	state Exp;
branches;
next	1.57;

1.57
date	94.11.21.08.15.25;	author phk;	state Exp;
branches;
next	1.56;

1.56
date	94.11.21.04.14.30;	author phk;	state Exp;
branches;
next	1.55;

1.55
date	94.11.20.23.31.36;	author wollman;	state Exp;
branches;
next	1.54;

1.54
date	94.11.20.22.56.27;	author phk;	state Exp;
branches;
next	1.53;

1.53
date	94.11.20.14.49.43;	author jkh;	state Exp;
branches;
next	1.52;

1.52
date	94.11.20.01.54.13;	author phk;	state Exp;
branches;
next	1.51;

1.51
date	94.11.20.01.19.33;	author phk;	state Exp;
branches;
next	1.50;

1.50
date	94.11.20.01.01.28;	author phk;	state Exp;
branches;
next	1.49;

1.49
date	94.11.18.01.05.05;	author phk;	state Exp;
branches;
next	1.48;

1.48
date	94.11.17.15.19.59;	author jkh;	state Exp;
branches;
next	1.47;

1.47
date	94.11.17.14.18.00;	author jkh;	state Exp;
branches;
next	1.46;

1.46
date	94.11.17.07.11.30;	author jkh;	state Exp;
branches;
next	1.45;

1.45
date	94.11.17.07.09.21;	author jkh;	state Exp;
branches;
next	1.44;

1.44
date	94.11.15.08.10.31;	author jkh;	state Exp;
branches;
next	1.43;

1.43
date	94.11.14.20.56.17;	author phk;	state Exp;
branches;
next	1.42;

1.42
date	94.11.13.01.46.22;	author jkh;	state Exp;
branches;
next	1.41;

1.41
date	94.11.13.01.20.36;	author jkh;	state Exp;
branches;
next	1.40;

1.40
date	94.11.12.20.40.14;	author jkh;	state Exp;
branches;
next	1.39;

1.39
date	94.11.12.20.36.28;	author jkh;	state Exp;
branches;
next	1.38;

1.38
date	94.11.12.09.55.28;	author jkh;	state Exp;
branches;
next	1.37;

1.37
date	94.11.12.05.47.28;	author phk;	state Exp;
branches;
next	1.36;

1.36
date	94.11.12.02.25.04;	author jkh;	state Exp;
branches;
next	1.35;

1.35
date	94.11.11.22.27.11;	author jkh;	state Exp;
branches;
next	1.34;

1.34
date	94.11.11.08.47.32;	author jkh;	state Exp;
branches;
next	1.33;

1.33
date	94.11.11.08.33.01;	author jkh;	state Exp;
branches;
next	1.32;

1.32
date	94.11.10.23.43.22;	author jkh;	state Exp;
branches;
next	1.31;

1.31
date	94.11.10.05.27.56;	author jkh;	state Exp;
branches;
next	1.30;

1.30
date	94.11.09.23.07.04;	author phk;	state Exp;
branches;
next	1.29;

1.29
date	94.11.09.20.27.32;	author phk;	state Exp;
branches;
next	1.28;

1.28
date	94.11.08.18.36.45;	author jkh;	state Exp;
branches;
next	1.27;

1.27
date	94.11.08.13.54.21;	author jkh;	state Exp;
branches;
next	1.26;

1.26
date	94.11.08.11.29.35;	author jkh;	state Exp;
branches;
next	1.25;

1.25
date	94.11.08.11.14.43;	author jkh;	state Exp;
branches;
next	1.24;

1.24
date	94.11.07.11.30.13;	author jkh;	state Exp;
branches;
next	1.23;

1.23
date	94.11.07.09.54.23;	author jkh;	state Exp;
branches;
next	1.22;

1.22
date	94.11.07.05.02.42;	author phk;	state Exp;
branches;
next	1.21;

1.21
date	94.11.07.03.53.13;	author phk;	state Exp;
branches;
next	1.20;

1.20
date	94.11.06.23.47.04;	author phk;	state Exp;
branches;
next	1.19;

1.19
date	94.11.06.11.24.58;	author jkh;	state Exp;
branches;
next	1.18;

1.18
date	94.11.06.04.07.38;	author jkh;	state Exp;
branches;
next	1.17;

1.17
date	94.11.06.02.37.25;	author jkh;	state Exp;
branches;
next	1.16;

1.16
date	94.11.06.01.19.48;	author jkh;	state Exp;
branches;
next	1.15;

1.15
date	94.11.06.00.21.39;	author jkh;	state Exp;
branches;
next	1.14;

1.14
date	94.11.06.00.10.00;	author jkh;	state Exp;
branches;
next	1.13;

1.13
date	94.11.05.23.05.53;	author jkh;	state Exp;
branches;
next	1.12;

1.12
date	94.11.05.08.49.05;	author jkh;	state Exp;
branches;
next	1.11;

1.11
date	94.11.05.08.16.01;	author jkh;	state Exp;
branches;
next	1.10;

1.10
date	94.11.05.07.55.30;	author jkh;	state Exp;
branches;
next	1.9;

1.9
date	94.11.05.07.52.14;	author jkh;	state Exp;
branches;
next	1.8;

1.8
date	94.11.05.06.02.18;	author phk;	state Exp;
branches;
next	1.7;

1.7
date	94.10.29.12.48.12;	author phk;	state Exp;
branches;
next	1.6;

1.6
date	94.10.28.06.42.38;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	94.10.28.06.41.47;	author jkh;	state Exp;
branches;
next	1.4;

1.4
date	94.10.26.05.41.47;	author phk;	state Exp;
branches;
next	1.3;

1.3
date	94.10.09.20.31.01;	author rgrimes;	state Exp;
branches;
next	1.2;

1.2
date	94.09.23.09.01.20;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	94.09.23.08.28.25;	author rgrimes;	state Exp;
branches;
next	;

1.975.2.1
date	2013.02.04.03.18.19;	author svnexp;	state dead;
branches;
next	1.975.2.2;

1.975.2.2
date	2013.03.28.13.03.27;	author svnexp;	state Exp;
branches;
next	1.975.2.3;

1.975.2.3
date	2013.05.16.14.29.08;	author svnexp;	state Exp;
branches;
next	;

1.967.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.967.2.1.2.1;
next	1.967.2.2;

1.967.2.2
date	2012.01.25.13.47.55;	author glebius;	state Exp;
branches
	1.967.2.2.2.1;
next	1.967.2.3;

1.967.2.3
date	2012.09.17.15.45.27;	author gjb;	state Exp;
branches;
next	1.967.2.4;

1.967.2.4
date	2012.10.31.04.07.52;	author gjb;	state Exp;
branches;
next	1.967.2.5;

1.967.2.5
date	2012.11.17.11.36.29;	author svnexp;	state Exp;
branches;
next	1.967.2.6;

1.967.2.6
date	2012.12.06.00.27.13;	author svnexp;	state Exp;
branches;
next	1.967.2.7;

1.967.2.7
date	2012.12.24.01.00.18;	author svnexp;	state Exp;
branches;
next	1.967.2.8;

1.967.2.8
date	2013.06.16.19.01.45;	author svnexp;	state Exp;
branches;
next	1.967.2.9;

1.967.2.9
date	2013.07.19.03.01.50;	author svnexp;	state Exp;
branches;
next	1.967.2.10;

1.967.2.10
date	2013.07.25.03.01.46;	author svnexp;	state Exp;
branches;
next	1.967.2.11;

1.967.2.11
date	2013.11.08.03.06.47;	author svnexp;	state Exp;
branches;
next	1.967.2.12;

1.967.2.12
date	2013.11.18.18.01.47;	author svnexp;	state Exp;
branches;
next	1.967.2.13;

1.967.2.13
date	2013.12.18.01.01.45;	author svnexp;	state Exp;
branches;
next	1.967.2.14;

1.967.2.14
date	2013.12.25.07.01.49;	author svnexp;	state Exp;
branches;
next	1.967.2.15;

1.967.2.15
date	2013.12.31.01.01.47;	author svnexp;	state Exp;
branches;
next	1.967.2.16;

1.967.2.16
date	2014.01.19.20.01.46;	author svnexp;	state Exp;
branches;
next	1.967.2.17;

1.967.2.17
date	2014.03.05.01.01.44;	author svnexp;	state Exp;
branches;
next	1.967.2.18;

1.967.2.18
date	2014.03.07.01.01.44;	author svnexp;	state Exp;
branches;
next	1.967.2.19;

1.967.2.19
date	2014.03.07.01.02.34;	author svnexp;	state Exp;
branches;
next	1.967.2.20;

1.967.2.20
date	2014.03.11.13.01.46;	author svnexp;	state Exp;
branches;
next	1.967.2.21;

1.967.2.21
date	2014.04.08.01.01.44;	author svnexp;	state Exp;
branches;
next	;

1.967.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.967.2.1.2.2;

1.967.2.1.2.2
date	2012.11.17.08.36.29;	author svnexp;	state Exp;
branches;
next	;

1.967.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.967.2.2.2.2;

1.967.2.2.2.2
date	2012.11.17.08.47.18;	author svnexp;	state Exp;
branches;
next	;

1.943.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches;
next	1.943.2.2;

1.943.2.2
date	2009.08.12.07.22.12;	author kensmith;	state Exp;
branches;
next	1.943.2.3;

1.943.2.3
date	2009.08.14.20.42.40;	author jhb;	state Exp;
branches;
next	1.943.2.4;

1.943.2.4
date	2009.08.27.17.16.23;	author jhb;	state Exp;
branches;
next	1.943.2.5;

1.943.2.5
date	2009.08.27.17.25.58;	author jhb;	state Exp;
branches;
next	1.943.2.6;

1.943.2.6
date	2009.09.15.19.56.35;	author blackend;	state Exp;
branches;
next	1.943.2.7;

1.943.2.7
date	2009.10.20.13.32.18;	author kensmith;	state Exp;
branches
	1.943.2.7.2.1;
next	1.943.2.8;

1.943.2.8
date	2010.01.04.19.57.35;	author kensmith;	state Exp;
branches;
next	1.943.2.9;

1.943.2.9
date	2010.01.18.10.53.03;	author nyan;	state Exp;
branches;
next	1.943.2.10;

1.943.2.10
date	2010.05.05.16.25.57;	author kensmith;	state Exp;
branches;
next	1.943.2.11;

1.943.2.11
date	2010.05.05.16.58.29;	author kensmith;	state Exp;
branches;
next	1.943.2.12;

1.943.2.12
date	2010.05.26.17.11.01;	author kensmith;	state Exp;
branches
	1.943.2.12.2.1
	1.943.2.12.4.1;
next	1.943.2.13;

1.943.2.13
date	2010.12.22.14.27.13;	author kensmith;	state Exp;
branches;
next	1.943.2.14;

1.943.2.14
date	2011.08.13.13.18.39;	author marius;	state Exp;
branches;
next	1.943.2.15;

1.943.2.15
date	2011.08.19.12.08.15;	author nyan;	state Exp;
branches;
next	1.943.2.16;

1.943.2.16
date	2012.02.16.03.13.53;	author kensmith;	state Exp;
branches
	1.943.2.16.2.1;
next	1.943.2.17;

1.943.2.17
date	2012.03.19.13.19.02;	author kensmith;	state Exp;
branches;
next	1.943.2.18;

1.943.2.18
date	2012.11.17.10.36.13;	author svnexp;	state Exp;
branches;
next	1.943.2.19;

1.943.2.19
date	2013.03.18.10.21.41;	author svnexp;	state Exp;
branches;
next	1.943.2.20;

1.943.2.20
date	2013.03.19.00.12.55;	author svnexp;	state Exp;
branches;
next	1.943.2.21;

1.943.2.21
date	2013.03.19.20.30.18;	author svnexp;	state Exp;
branches;
next	;

1.943.2.7.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.943.2.12.2.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.943.2.12.4.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	1.943.2.12.4.2;

1.943.2.12.4.2
date	2010.12.22.04.44.38;	author kensmith;	state Exp;
branches;
next	;

1.943.2.16.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.943.2.16.2.2;

1.943.2.16.2.2
date	2012.03.03.07.04.45;	author kensmith;	state Exp;
branches;
next	1.943.2.16.2.3;

1.943.2.16.2.3
date	2012.03.19.13.48.05;	author kensmith;	state Exp;
branches;
next	1.943.2.16.2.4;

1.943.2.16.2.4
date	2012.11.17.08.24.53;	author svnexp;	state Exp;
branches;
next	;

1.924.2.1
date	2007.10.11.06.22.30;	author kensmith;	state Exp;
branches;
next	1.924.2.2;

1.924.2.2
date	2007.11.16.13.33.38;	author kensmith;	state Exp;
branches;
next	1.924.2.3;

1.924.2.3
date	2007.11.27.21.04.06;	author simon;	state Exp;
branches;
next	1.924.2.4;

1.924.2.4
date	2007.12.22.06.29.13;	author kensmith;	state Exp;
branches;
next	1.924.2.5;

1.924.2.5
date	2008.10.21.19.42.56;	author kensmith;	state Exp;
branches;
next	1.924.2.6;

1.924.2.6
date	2008.10.22.15.39.28;	author kensmith;	state Exp;
branches;
next	1.924.2.7;

1.924.2.7
date	2008.11.06.13.28.50;	author kensmith;	state Exp;
branches
	1.924.2.7.2.1;
next	1.924.2.8;

1.924.2.8
date	2008.11.25.17.27.11;	author kensmith;	state Exp;
branches
	1.924.2.8.2.1;
next	1.924.2.9;

1.924.2.9
date	2009.04.15.03.42.59;	author kensmith;	state Exp;
branches;
next	1.924.2.10;

1.924.2.10
date	2009.08.27.17.16.42;	author jhb;	state Exp;
branches;
next	1.924.2.11;

1.924.2.11
date	2009.08.27.17.26.09;	author jhb;	state Exp;
branches;
next	1.924.2.12;

1.924.2.12
date	2009.09.10.14.16.05;	author jhb;	state Exp;
branches;
next	1.924.2.13;

1.924.2.13
date	2009.09.11.21.09.59;	author jhb;	state Exp;
branches;
next	1.924.2.14;

1.924.2.14
date	2010.01.05.17.45.39;	author kensmith;	state Exp;
branches;
next	1.924.2.15;

1.924.2.15
date	2010.01.18.10.53.59;	author nyan;	state Exp;
branches;
next	1.924.2.16;

1.924.2.16
date	2010.01.27.20.25.46;	author kensmith;	state Exp;
branches
	1.924.2.16.2.1;
next	1.924.2.17;

1.924.2.17
date	2010.05.05.16.41.14;	author kensmith;	state Exp;
branches;
next	1.924.2.18;

1.924.2.18
date	2010.05.05.17.01.03;	author kensmith;	state Exp;
branches
	1.924.2.18.2.1;
next	1.924.2.19;

1.924.2.19
date	2010.12.22.14.44.22;	author kensmith;	state Exp;
branches;
next	1.924.2.20;

1.924.2.20
date	2011.08.13.13.18.54;	author marius;	state Exp;
branches;
next	1.924.2.21;

1.924.2.21
date	2011.08.19.12.08.54;	author nyan;	state Exp;
branches;
next	1.924.2.22;

1.924.2.22
date	2012.11.17.08.03.20;	author svnexp;	state Exp;
branches;
next	;

1.924.2.7.2.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	1.924.2.7.2.2;

1.924.2.7.2.2
date	2008.11.25.19.38.12;	author kensmith;	state Exp;
branches;
next	;

1.924.2.8.2.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	1.924.2.8.2.2;

1.924.2.8.2.2
date	2009.04.15.04.23.17;	author kensmith;	state Exp;
branches;
next	;

1.924.2.16.2.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.924.2.18.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.924.2.18.2.2;

1.924.2.18.2.2
date	2010.12.22.05.49.19;	author kensmith;	state Exp;
branches;
next	1.924.2.18.2.3;

1.924.2.18.2.3
date	2012.11.17.08.16.52;	author svnexp;	state Exp;
branches;
next	;

1.887.2.1
date	2005.07.11.16.06.30;	author kensmith;	state Exp;
branches;
next	1.887.2.2;

1.887.2.2
date	2005.10.02.05.47.04;	author kensmith;	state Exp;
branches
	1.887.2.2.2.1;
next	1.887.2.3;

1.887.2.3
date	2005.11.16.08.03.33;	author ru;	state Exp;
branches;
next	1.887.2.4;

1.887.2.4
date	2006.01.10.03.43.10;	author nyan;	state Exp;
branches;
next	1.887.2.5;

1.887.2.5
date	2006.01.30.23.09.51;	author marcel;	state Exp;
branches;
next	1.887.2.6;

1.887.2.6
date	2006.02.14.01.58.21;	author hrs;	state Exp;
branches;
next	1.887.2.7;

1.887.2.7
date	2006.03.11.18.52.46;	author sam;	state Exp;
branches;
next	1.887.2.8;

1.887.2.8
date	2006.03.21.20.53.52;	author sam;	state Exp;
branches
	1.887.2.8.2.1;
next	1.887.2.9;

1.887.2.9
date	2006.04.09.04.22.44;	author kensmith;	state Exp;
branches;
next	1.887.2.10;

1.887.2.10
date	2006.04.29.15.19.43;	author nyan;	state Exp;
branches;
next	1.887.2.11;

1.887.2.11
date	2006.05.06.07.44.55;	author scottl;	state Exp;
branches;
next	1.887.2.12;

1.887.2.12
date	2006.05.18.21.50.22;	author jhb;	state Exp;
branches;
next	1.887.2.13;

1.887.2.13
date	2006.06.05.17.05.09;	author kensmith;	state Exp;
branches;
next	1.887.2.14;

1.887.2.14
date	2006.06.16.13.14.14;	author nyan;	state Exp;
branches;
next	1.887.2.15;

1.887.2.15
date	2006.08.14.11.04.04;	author ru;	state Exp;
branches;
next	1.887.2.16;

1.887.2.16
date	2006.09.12.07.22.41;	author ru;	state Exp;
branches;
next	1.887.2.17;

1.887.2.17
date	2006.09.15.19.27.40;	author kensmith;	state Exp;
branches;
next	1.887.2.18;

1.887.2.18
date	2006.10.30.13.24.11;	author ru;	state Exp;
branches
	1.887.2.18.2.1;
next	1.887.2.19;

1.887.2.19
date	2006.11.21.17.46.17;	author kensmith;	state Exp;
branches;
next	1.887.2.20;

1.887.2.20
date	2006.11.22.20.47.58;	author kensmith;	state Exp;
branches;
next	1.887.2.21;

1.887.2.21
date	2007.10.23.23.45.14;	author kensmith;	state Exp;
branches
	1.887.2.21.2.1;
next	1.887.2.22;

1.887.2.22
date	2007.12.17.23.51.29;	author kensmith;	state Exp;
branches
	1.887.2.22.2.1;
next	1.887.2.23;

1.887.2.23
date	2008.10.04.02.41.44;	author kensmith;	state Exp;
branches;
next	1.887.2.24;

1.887.2.24
date	2008.10.22.18.25.13;	author kensmith;	state Exp;
branches;
next	1.887.2.25;

1.887.2.25
date	2008.11.06.13.32.49;	author kensmith;	state Exp;
branches;
next	1.887.2.26;

1.887.2.26
date	2010.01.05.19.25.57;	author kensmith;	state Exp;
branches;
next	1.887.2.27;

1.887.2.27
date	2010.05.05.17.13.53;	author kensmith;	state Exp;
branches;
next	1.887.2.28;

1.887.2.28
date	2012.11.17.07.40.57;	author svnexp;	state Exp;
branches;
next	;

1.887.2.2.2.1
date	2005.10.16.14.07.44;	author hrs;	state Exp;
branches;
next	;

1.887.2.8.2.1
date	2006.04.09.04.28.24;	author kensmith;	state Exp;
branches;
next	1.887.2.8.2.2;

1.887.2.8.2.2
date	2006.04.29.15.22.00;	author nyan;	state Exp;
branches;
next	1.887.2.8.2.3;

1.887.2.8.2.3
date	2006.05.06.07.41.03;	author scottl;	state Exp;
branches;
next	;

1.887.2.18.2.1
date	2006.11.21.19.02.16;	author kensmith;	state Exp;
branches;
next	1.887.2.18.2.2;

1.887.2.18.2.2
date	2006.11.22.21.16.19;	author kensmith;	state Exp;
branches;
next	1.887.2.18.2.3;

1.887.2.18.2.3
date	2007.01.11.22.54.45;	author kensmith;	state Exp;
branches;
next	;

1.887.2.21.2.1
date	2007.11.25.06.27.23;	author kensmith;	state Exp;
branches;
next	1.887.2.21.2.2;

1.887.2.21.2.2
date	2007.12.22.06.30.01;	author kensmith;	state Exp;
branches;
next	;

1.887.2.22.2.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	1.887.2.22.2.2;

1.887.2.22.2.2
date	2008.10.04.02.39.58;	author kensmith;	state Exp;
branches;
next	1.887.2.22.2.3;

1.887.2.22.2.3
date	2008.10.22.20.24.52;	author kensmith;	state Exp;
branches;
next	1.887.2.22.2.4;

1.887.2.22.2.4
date	2008.11.06.13.34.49;	author kensmith;	state Exp;
branches;
next	;

1.853.2.1
date	2004.08.29.05.37.20;	author kensmith;	state Exp;
branches;
next	1.853.2.2;

1.853.2.2
date	2004.09.09.12.20.46;	author ru;	state Exp;
branches;
next	1.853.2.3;

1.853.2.3
date	2004.09.18.07.13.31;	author bmah;	state Exp;
branches;
next	1.853.2.4;

1.853.2.4
date	2004.09.20.07.06.56;	author brooks;	state Exp;
branches;
next	1.853.2.5;

1.853.2.5
date	2004.09.24.16.34.08;	author kensmith;	state Exp;
branches;
next	1.853.2.6;

1.853.2.6
date	2004.10.01.14.26.15;	author kensmith;	state Exp;
branches
	1.853.2.6.2.1;
next	1.853.2.7;

1.853.2.7
date	2004.10.24.12.43.25;	author hrs;	state Exp;
branches;
next	1.853.2.8;

1.853.2.8
date	2004.11.08.21.43.51;	author ru;	state Exp;
branches;
next	1.853.2.9;

1.853.2.9
date	2005.03.03.22.04.11;	author jhb;	state Exp;
branches;
next	1.853.2.10;

1.853.2.10
date	2005.03.04.21.02.10;	author jhb;	state Exp;
branches;
next	1.853.2.11;

1.853.2.11
date	2005.03.23.16.14.24;	author jhb;	state Exp;
branches;
next	1.853.2.12;

1.853.2.12
date	2005.04.01.20.25.00;	author jhb;	state Exp;
branches;
next	1.853.2.13;

1.853.2.13
date	2005.04.03.06.01.07;	author kensmith;	state Exp;
branches
	1.853.2.13.2.1;
next	1.853.2.14;

1.853.2.14
date	2005.04.03.08.50.00;	author kensmith;	state Exp;
branches;
next	1.853.2.15;

1.853.2.15
date	2005.04.07.02.40.14;	author hrs;	state Exp;
branches;
next	1.853.2.16;

1.853.2.16
date	2005.05.05.00.53.29;	author marcel;	state Exp;
branches;
next	1.853.2.17;

1.853.2.17
date	2005.09.30.11.48.44;	author kensmith;	state Exp;
branches;
next	1.853.2.18;

1.853.2.18
date	2006.01.10.03.47.27;	author nyan;	state Exp;
branches;
next	1.853.2.19;

1.853.2.19
date	2006.02.14.02.00.24;	author hrs;	state Exp;
branches;
next	1.853.2.20;

1.853.2.20
date	2006.04.09.04.38.14;	author kensmith;	state Exp;
branches
	1.853.2.20.2.1;
next	1.853.2.21;

1.853.2.21
date	2006.05.12.15.40.45;	author kensmith;	state Exp;
branches;
next	;

1.853.2.6.2.1
date	2004.10.24.12.43.26;	author hrs;	state Exp;
branches;
next	;

1.853.2.13.2.1
date	2005.04.03.07.31.53;	author kensmith;	state Exp;
branches;
next	;

1.853.2.20.2.1
date	2006.05.12.15.42.35;	author kensmith;	state Exp;
branches;
next	;

1.825.2.1
date	2004.01.01.21.55.07;	author bmah;	state Exp;
branches;
next	1.825.2.2;

1.825.2.2
date	2004.01.31.16.30.45;	author scottl;	state Exp;
branches;
next	1.825.2.3;

1.825.2.3
date	2004.02.11.10.26.17;	author scottl;	state Exp;
branches;
next	1.825.2.4;

1.825.2.4
date	2004.02.23.05.18.26;	author scottl;	state Exp;
branches;
next	;

1.779.2.1
date	2003.06.04.05.38.46;	author scottl;	state Exp;
branches;
next	;

1.736.2.1
date	2002.12.31.07.01.29;	author nyan;	state Exp;
branches;
next	1.736.2.2;

1.736.2.2
date	2003.01.15.21.59.11;	author jhb;	state Exp;
branches;
next	1.736.2.3;

1.736.2.3
date	2003.01.16.16.46.02;	author scottl;	state Exp;
branches;
next	;

1.536.2.1
date	2000.04.06.10.01.44;	author asami;	state Exp;
branches;
next	1.536.2.2;

1.536.2.2
date	2000.04.17.03.14.36;	author iwasaki;	state Exp;
branches;
next	1.536.2.3;

1.536.2.3
date	2000.04.17.05.14.35;	author iwasaki;	state Exp;
branches;
next	1.536.2.4;

1.536.2.4
date	2000.06.08.23.07.27;	author jhb;	state Exp;
branches;
next	1.536.2.5;

1.536.2.5
date	2000.06.23.17.51.17;	author alex;	state Exp;
branches;
next	1.536.2.6;

1.536.2.6
date	2000.07.04.12.33.55;	author nyan;	state Exp;
branches;
next	1.536.2.7;

1.536.2.7
date	2000.07.14.09.10.03;	author jhb;	state Exp;
branches;
next	1.536.2.8;

1.536.2.8
date	2000.07.14.09.14.02;	author jhb;	state Exp;
branches;
next	1.536.2.9;

1.536.2.9
date	2000.07.14.09.16.07;	author jhb;	state Exp;
branches;
next	1.536.2.10;

1.536.2.10
date	2000.07.14.09.24.50;	author jhb;	state Exp;
branches;
next	1.536.2.11;

1.536.2.11
date	2000.07.14.18.04.47;	author jhb;	state Exp;
branches;
next	1.536.2.12;

1.536.2.12
date	2000.07.14.22.25.41;	author jhb;	state Exp;
branches;
next	1.536.2.13;

1.536.2.13
date	2000.07.16.17.29.58;	author ume;	state Exp;
branches;
next	1.536.2.14;

1.536.2.14
date	2000.07.18.18.16.45;	author obrien;	state Exp;
branches;
next	1.536.2.15;

1.536.2.15
date	2000.07.20.03.12.53;	author jhb;	state Exp;
branches;
next	1.536.2.16;

1.536.2.16
date	2000.07.22.08.45.26;	author jkh;	state Exp;
branches;
next	1.536.2.17;

1.536.2.17
date	2000.07.25.08.16.37;	author jkh;	state Exp;
branches;
next	1.536.2.18;

1.536.2.18
date	2000.07.26.06.32.05;	author jhb;	state Exp;
branches;
next	1.536.2.19;

1.536.2.19
date	2000.07.26.07.24.13;	author jhb;	state Exp;
branches;
next	1.536.2.20;

1.536.2.20
date	2000.07.26.12.20.24;	author jkh;	state Exp;
branches;
next	1.536.2.21;

1.536.2.21
date	2000.08.17.11.58.03;	author nyan;	state Exp;
branches;
next	1.536.2.22;

1.536.2.22
date	2000.08.22.09.43.55;	author jkh;	state Exp;
branches;
next	1.536.2.23;

1.536.2.23
date	2000.09.23.17.15.17;	author jkh;	state Exp;
branches;
next	1.536.2.24;

1.536.2.24
date	2000.09.28.03.03.56;	author obrien;	state Exp;
branches;
next	1.536.2.25;

1.536.2.25
date	2000.09.28.03.05.01;	author obrien;	state Exp;
branches;
next	1.536.2.26;

1.536.2.26
date	2000.10.12.02.11.28;	author obrien;	state Exp;
branches;
next	1.536.2.27;

1.536.2.27
date	2000.10.24.15.52.19;	author gshapiro;	state Exp;
branches;
next	1.536.2.28;

1.536.2.28
date	2000.10.26.18.58.30;	author gshapiro;	state Exp;
branches;
next	1.536.2.29;

1.536.2.29
date	2000.11.05.22.41.06;	author jkh;	state Exp;
branches;
next	1.536.2.30;

1.536.2.30
date	2000.11.12.11.08.08;	author jkh;	state Exp;
branches;
next	1.536.2.31;

1.536.2.31
date	2000.12.04.06.37.42;	author hosokawa;	state Exp;
branches;
next	1.536.2.32;

1.536.2.32
date	2001.02.19.14.27.06;	author asmodai;	state Exp;
branches;
next	1.536.2.33;

1.536.2.33
date	2001.03.05.13.08.43;	author ru;	state Exp;
branches;
next	1.536.2.34;

1.536.2.34
date	2001.03.06.01.39.44;	author jkh;	state Exp;
branches;
next	1.536.2.35;

1.536.2.35
date	2001.03.07.07.45.46;	author jkh;	state Exp;
branches;
next	1.536.2.36;

1.536.2.36
date	2001.03.08.05.46.26;	author obrien;	state Exp;
branches;
next	1.536.2.37;

1.536.2.37
date	2001.03.22.01.43.45;	author ps;	state Exp;
branches;
next	1.536.2.38;

1.536.2.38
date	2001.03.23.09.13.54;	author jkh;	state Exp;
branches;
next	1.536.2.39;

1.536.2.39
date	2001.03.23.21.47.35;	author jkh;	state Exp;
branches;
next	1.536.2.40;

1.536.2.40
date	2001.03.27.16.49.58;	author obrien;	state Exp;
branches;
next	1.536.2.41;

1.536.2.41
date	2001.04.14.22.29.49;	author jkh;	state Exp;
branches;
next	1.536.2.42;

1.536.2.42
date	2001.06.05.14.22.33;	author bmah;	state Exp;
branches;
next	1.536.2.43;

1.536.2.43
date	2001.06.05.16.09.25;	author bmah;	state Exp;
branches;
next	1.536.2.44;

1.536.2.44
date	2001.06.11.16.25.28;	author ache;	state Exp;
branches;
next	1.536.2.45;

1.536.2.45
date	2001.06.22.00.37.19;	author bmah;	state Exp;
branches;
next	1.536.2.46;

1.536.2.46
date	2001.06.22.01.18.40;	author bmah;	state Exp;
branches;
next	1.536.2.47;

1.536.2.47
date	2001.07.09.18.23.00;	author bmah;	state Exp;
branches;
next	1.536.2.48;

1.536.2.48
date	2001.07.14.20.16.57;	author jkh;	state Exp;
branches;
next	1.536.2.49;

1.536.2.49
date	2001.07.15.22.40.35;	author jkh;	state Exp;
branches;
next	1.536.2.50;

1.536.2.50
date	2001.07.16.03.33.11;	author peter;	state Exp;
branches;
next	1.536.2.51;

1.536.2.51
date	2001.08.04.01.51.22;	author obrien;	state Exp;
branches;
next	1.536.2.52;

1.536.2.52
date	2001.08.04.05.45.52;	author obrien;	state Exp;
branches;
next	1.536.2.53;

1.536.2.53
date	2001.08.17.09.34.55;	author phk;	state Exp;
branches;
next	1.536.2.54;

1.536.2.54
date	2001.08.20.21.26.08;	author obrien;	state Exp;
branches;
next	1.536.2.55;

1.536.2.55
date	2001.09.02.19.13.58;	author jkh;	state Exp;
branches;
next	1.536.2.56;

1.536.2.56
date	2001.09.13.06.58.31;	author murray;	state Exp;
branches;
next	1.536.2.57;

1.536.2.57
date	2001.09.23.22.16.18;	author jkh;	state Exp;
branches;
next	1.536.2.58;

1.536.2.58
date	2001.09.23.22.34.57;	author bmah;	state Exp;
branches;
next	1.536.2.59;

1.536.2.59
date	2001.11.01.09.44.17;	author nyan;	state Exp;
branches;
next	1.536.2.60;

1.536.2.60
date	2001.11.15.07.31.08;	author nyan;	state Exp;
branches;
next	1.536.2.61;

1.536.2.61
date	2001.11.17.19.56.27;	author bmah;	state Exp;
branches;
next	1.536.2.62;

1.536.2.62
date	2001.12.02.10.31.28;	author nyan;	state Exp;
branches;
next	1.536.2.63;

1.536.2.63
date	2001.12.27.21.21.53;	author bmah;	state Exp;
branches;
next	1.536.2.64;

1.536.2.64
date	2001.12.27.22.23.43;	author bmah;	state Exp;
branches;
next	1.536.2.65;

1.536.2.65
date	2002.01.03.00.02.31;	author bmah;	state Exp;
branches;
next	1.536.2.66;

1.536.2.66
date	2002.01.07.07.42.40;	author jhb;	state Exp;
branches;
next	1.536.2.67;

1.536.2.67
date	2002.01.16.13.10.02;	author joerg;	state Exp;
branches;
next	1.536.2.68;

1.536.2.68
date	2002.01.17.21.31.41;	author murray;	state Exp;
branches;
next	1.536.2.69;

1.536.2.69
date	2002.01.19.07.55.19;	author wilko;	state Exp;
branches;
next	1.536.2.70;

1.536.2.70
date	2002.01.19.14.56.22;	author nyan;	state Exp;
branches;
next	1.536.2.71;

1.536.2.71
date	2002.01.22.09.47.30;	author joerg;	state Exp;
branches;
next	1.536.2.72;

1.536.2.72
date	2002.02.07.15.28.17;	author matusita;	state Exp;
branches;
next	1.536.2.73;

1.536.2.73
date	2002.02.08.17.00.29;	author matusita;	state Exp;
branches;
next	1.536.2.74;

1.536.2.74
date	2002.02.08.17.02.30;	author matusita;	state Exp;
branches;
next	1.536.2.75;

1.536.2.75
date	2002.02.17.13.41.43;	author matusita;	state Exp;
branches;
next	1.536.2.76;

1.536.2.76
date	2002.02.25.05.36.34;	author matusita;	state Exp;
branches;
next	1.536.2.77;

1.536.2.77
date	2002.03.22.12.27.38;	author murray;	state Exp;
branches;
next	1.536.2.78;

1.536.2.78
date	2002.04.04.08.39.39;	author ru;	state Exp;
branches;
next	1.536.2.79;

1.536.2.79
date	2002.04.08.08.38.03;	author murray;	state Exp;
branches;
next	1.536.2.80;

1.536.2.80
date	2002.04.11.19.24.30;	author murray;	state Exp;
branches;
next	1.536.2.81;

1.536.2.81
date	2002.04.19.12.42.50;	author ru;	state Exp;
branches;
next	1.536.2.82;

1.536.2.82
date	2002.04.19.13.22.46;	author ru;	state Exp;
branches;
next	1.536.2.83;

1.536.2.83
date	2002.05.03.12.41.43;	author matusita;	state Exp;
branches;
next	1.536.2.84;

1.536.2.84
date	2002.05.18.16.50.09;	author bmah;	state Exp;
branches
	1.536.2.84.2.1;
next	1.536.2.85;

1.536.2.85
date	2002.06.17.11.57.37;	author matusita;	state Exp;
branches;
next	1.536.2.86;

1.536.2.86
date	2002.07.03.14.41.14;	author matusita;	state Exp;
branches;
next	1.536.2.87;

1.536.2.87
date	2002.07.08.21.17.44;	author trhodes;	state Exp;
branches;
next	1.536.2.88;

1.536.2.88
date	2002.07.25.09.33.16;	author ru;	state Exp;
branches;
next	1.536.2.89;

1.536.2.89
date	2002.07.26.19.49.36;	author ru;	state Exp;
branches;
next	1.536.2.90;

1.536.2.90
date	2002.07.26.19.58.14;	author ru;	state Exp;
branches;
next	1.536.2.91;

1.536.2.91
date	2002.07.26.20.00.26;	author ru;	state Exp;
branches;
next	1.536.2.92;

1.536.2.92
date	2002.08.01.10.05.28;	author ru;	state Exp;
branches;
next	1.536.2.93;

1.536.2.93
date	2002.08.01.13.30.20;	author jhb;	state Exp;
branches;
next	1.536.2.94;

1.536.2.94
date	2002.08.02.16.27.15;	author ru;	state Exp;
branches;
next	1.536.2.95;

1.536.2.95
date	2002.08.08.07.55.00;	author ru;	state Exp;
branches;
next	1.536.2.96;

1.536.2.96
date	2002.08.08.08.38.17;	author ru;	state Exp;
branches;
next	1.536.2.97;

1.536.2.97
date	2002.08.13.17.02.58;	author ru;	state Exp;
branches
	1.536.2.97.2.1;
next	1.536.2.98;

1.536.2.98
date	2002.10.11.14.57.32;	author ru;	state Exp;
branches;
next	1.536.2.99;

1.536.2.99
date	2002.10.11.14.59.52;	author ru;	state Exp;
branches;
next	1.536.2.100;

1.536.2.100
date	2002.10.14.09.22.34;	author nyan;	state Exp;
branches;
next	1.536.2.101;

1.536.2.101
date	2002.12.01.08.44.04;	author nyan;	state Exp;
branches;
next	1.536.2.102;

1.536.2.102
date	2002.12.23.17.01.00;	author ru;	state Exp;
branches;
next	1.536.2.103;

1.536.2.103
date	2003.01.09.11.49.00;	author des;	state Exp;
branches;
next	1.536.2.104;

1.536.2.104
date	2003.01.23.21.49.28;	author bmah;	state Exp;
branches;
next	1.536.2.105;

1.536.2.105
date	2003.02.27.01.24.38;	author matusita;	state Exp;
branches;
next	1.536.2.106;

1.536.2.106
date	2003.03.17.05.50.32;	author obrien;	state Exp;
branches
	1.536.2.106.2.1;
next	1.536.2.107;

1.536.2.107
date	2003.04.04.15.48.17;	author ru;	state Exp;
branches;
next	1.536.2.108;

1.536.2.108
date	2003.04.15.14.40.55;	author ru;	state Exp;
branches;
next	1.536.2.109;

1.536.2.109
date	2003.05.05.05.08.37;	author murray;	state Exp;
branches;
next	1.536.2.110;

1.536.2.110
date	2003.05.10.23.01.29;	author murray;	state Exp;
branches;
next	1.536.2.111;

1.536.2.111
date	2003.10.11.08.10.32;	author matusita;	state Exp;
branches
	1.536.2.111.2.1;
next	1.536.2.112;

1.536.2.112
date	2003.11.02.07.07.08;	author bmah;	state Exp;
branches
	1.536.2.112.2.1;
next	1.536.2.113;

1.536.2.113
date	2004.04.30.04.17.41;	author kensmith;	state Exp;
branches;
next	1.536.2.114;

1.536.2.114
date	2004.05.05.13.11.26;	author hrs;	state Exp;
branches;
next	1.536.2.115;

1.536.2.115
date	2004.06.16.07.57.33;	author ru;	state Exp;
branches;
next	1.536.2.116;

1.536.2.116
date	2004.12.17.04.35.57;	author kensmith;	state Exp;
branches;
next	1.536.2.117;

1.536.2.117
date	2005.07.02.07.22.12;	author truckman;	state Exp;
branches;
next	1.536.2.118;

1.536.2.118
date	2012.11.17.07.24.15;	author svnexp;	state Exp;
branches;
next	;

1.536.2.84.2.1
date	2002.06.06.10.14.09;	author murray;	state Exp;
branches;
next	;

1.536.2.97.2.1
date	2002.10.08.05.09.48;	author bmah;	state Exp;
branches;
next	;

1.536.2.106.2.1
date	2003.03.25.10.28.41;	author murray;	state Exp;
branches;
next	;

1.536.2.111.2.1
date	2003.10.23.04.54.31;	author murray;	state Exp;
branches;
next	;

1.536.2.112.2.1
date	2004.04.30.04.21.00;	author kensmith;	state Exp;
branches;
next	1.536.2.112.2.2;

1.536.2.112.2.2
date	2004.05.05.13.14.19;	author hrs;	state Exp;
branches;
next	1.536.2.112.2.3;

1.536.2.112.2.3
date	2004.05.25.05.27.16;	author scottl;	state Exp;
branches;
next	;

1.460.2.1
date	99.01.30.22.16.11;	author jkh;	state Exp;
branches;
next	1.460.2.2;

1.460.2.2
date	99.01.31.03.55.38;	author jkh;	state Exp;
branches;
next	1.460.2.3;

1.460.2.3
date	99.01.31.13.55.03;	author jkh;	state Exp;
branches;
next	1.460.2.4;

1.460.2.4
date	99.02.01.18.08.44;	author jkh;	state Exp;
branches;
next	1.460.2.5;

1.460.2.5
date	99.02.05.17.09.22;	author jkh;	state Exp;
branches;
next	1.460.2.6;

1.460.2.6
date	99.02.10.09.15.41;	author jkh;	state Exp;
branches;
next	1.460.2.7;

1.460.2.7
date	99.02.10.09.34.23;	author jkh;	state Exp;
branches;
next	1.460.2.8;

1.460.2.8
date	99.02.14.14.09.43;	author des;	state Exp;
branches;
next	1.460.2.9;

1.460.2.9
date	99.03.10.03.51.15;	author jkh;	state Exp;
branches;
next	1.460.2.10;

1.460.2.10
date	99.03.17.11.10.49;	author jkh;	state Exp;
branches;
next	1.460.2.11;

1.460.2.11
date	99.04.03.20.54.00;	author gpalmer;	state Exp;
branches;
next	1.460.2.12;

1.460.2.12
date	99.05.01.07.45.31;	author sada;	state Exp;
branches;
next	1.460.2.13;

1.460.2.13
date	99.05.04.16.17.57;	author max;	state Exp;
branches;
next	1.460.2.14;

1.460.2.14
date	99.05.07.04.29.12;	author jdp;	state Exp;
branches;
next	1.460.2.15;

1.460.2.15
date	99.05.09.16.56.53;	author obrien;	state Exp;
branches;
next	1.460.2.16;

1.460.2.16
date	99.05.09.16.58.39;	author obrien;	state Exp;
branches;
next	1.460.2.17;

1.460.2.17
date	99.05.12.09.09.59;	author jkh;	state Exp;
branches;
next	1.460.2.18;

1.460.2.18
date	99.05.13.02.50.57;	author jkh;	state Exp;
branches;
next	1.460.2.19;

1.460.2.19
date	99.05.29.08.56.36;	author jkh;	state Exp;
branches;
next	1.460.2.20;

1.460.2.20
date	99.05.30.22.36.44;	author billf;	state Exp;
branches;
next	1.460.2.21;

1.460.2.21
date	99.08.13.16.00.21;	author kuriyama;	state Exp;
branches;
next	1.460.2.22;

1.460.2.22
date	99.08.17.13.14.18;	author kuriyama;	state Exp;
branches;
next	1.460.2.23;

1.460.2.23
date	99.08.29.15.52.17;	author peter;	state Exp;
branches;
next	1.460.2.24;

1.460.2.24
date	99.09.04.08.46.21;	author jkh;	state Exp;
branches;
next	1.460.2.25;

1.460.2.25
date	99.09.05.21.06.10;	author jkh;	state Exp;
branches;
next	1.460.2.26;

1.460.2.26
date	99.09.06.03.34.04;	author jkh;	state Exp;
branches;
next	1.460.2.27;

1.460.2.27
date	99.09.07.20.51.36;	author jkh;	state Exp;
branches;
next	1.460.2.28;

1.460.2.28
date	99.09.17.09.31.46;	author jkh;	state Exp;
branches;
next	1.460.2.29;

1.460.2.29
date	99.09.19.07.47.58;	author jkh;	state Exp;
branches;
next	1.460.2.30;

1.460.2.30
date	99.10.02.09.28.50;	author jkh;	state Exp;
branches;
next	1.460.2.31;

1.460.2.31
date	99.12.16.00.59.58;	author jkh;	state Exp;
branches;
next	1.460.2.32;

1.460.2.32
date	2000.04.06.10.02.08;	author asami;	state Exp;
branches;
next	;

1.246.2.1
date	96.11.03.12.01.12;	author phk;	state Exp;
branches;
next	1.246.2.2;

1.246.2.2
date	96.11.04.10.10.20;	author phk;	state Exp;
branches;
next	1.246.2.3;

1.246.2.3
date	96.11.06.22.47.59;	author joerg;	state Exp;
branches;
next	1.246.2.4;

1.246.2.4
date	96.11.09.16.33.50;	author joerg;	state Exp;
branches;
next	1.246.2.5;

1.246.2.5
date	96.11.12.09.06.05;	author phk;	state Exp;
branches;
next	1.246.2.6;

1.246.2.6
date	96.11.13.14.14.17;	author jkh;	state Exp;
branches;
next	1.246.2.7;

1.246.2.7
date	96.11.13.20.05.39;	author phk;	state Exp;
branches;
next	1.246.2.8;

1.246.2.8
date	96.11.14.08.04.50;	author phk;	state Exp;
branches;
next	1.246.2.9;

1.246.2.9
date	96.11.15.22.18.44;	author jkh;	state Exp;
branches;
next	1.246.2.10;

1.246.2.10
date	96.11.16.22.45.51;	author joerg;	state Exp;
branches;
next	1.246.2.11;

1.246.2.11
date	96.11.23.08.26.58;	author phk;	state Exp;
branches;
next	1.246.2.12;

1.246.2.12
date	96.11.28.08.17.21;	author phk;	state Exp;
branches;
next	1.246.2.13;

1.246.2.13
date	96.12.08.18.24.26;	author joerg;	state Exp;
branches;
next	1.246.2.14;

1.246.2.14
date	96.12.12.12.11.05;	author jkh;	state Exp;
branches;
next	1.246.2.15;

1.246.2.15
date	96.12.12.19.47.05;	author jkh;	state Exp;
branches;
next	1.246.2.16;

1.246.2.16
date	96.12.13.07.55.02;	author jkh;	state Exp;
branches;
next	1.246.2.17;

1.246.2.17
date	96.12.14.09.46.18;	author phk;	state Exp;
branches;
next	1.246.2.18;

1.246.2.18
date	96.12.14.22.50.25;	author jkh;	state Exp;
branches;
next	1.246.2.19;

1.246.2.19
date	96.12.23.05.56.51;	author peter;	state Exp;
branches;
next	1.246.2.20;

1.246.2.20
date	96.12.23.23.27.50;	author jkh;	state Exp;
branches;
next	1.246.2.21;

1.246.2.21
date	97.01.03.06.38.02;	author jkh;	state Exp;
branches;
next	1.246.2.22;

1.246.2.22
date	97.02.05.04.36.41;	author jkh;	state Exp;
branches;
next	1.246.2.23;

1.246.2.23
date	97.02.23.15.53.25;	author joerg;	state Exp;
branches;
next	1.246.2.24;

1.246.2.24
date	97.03.02.12.03.22;	author joerg;	state Exp;
branches;
next	1.246.2.25;

1.246.2.25
date	97.03.02.15.28.58;	author jkh;	state Exp;
branches;
next	1.246.2.26;

1.246.2.26
date	97.03.06.00.10.39;	author pst;	state Exp;
branches;
next	1.246.2.27;

1.246.2.27
date	97.03.06.07.53.11;	author joerg;	state Exp;
branches;
next	1.246.2.28;

1.246.2.28
date	97.03.11.07.17.52;	author jkh;	state Exp;
branches;
next	1.246.2.29;

1.246.2.29
date	97.03.11.13.53.11;	author joerg;	state Exp;
branches;
next	1.246.2.30;

1.246.2.30
date	97.03.11.20.04.43;	author joerg;	state Exp;
branches;
next	1.246.2.31;

1.246.2.31
date	97.03.12.02.32.08;	author jkh;	state Exp;
branches;
next	1.246.2.32;

1.246.2.32
date	97.03.12.02.41.54;	author jkh;	state Exp;
branches;
next	1.246.2.33;

1.246.2.33
date	97.03.12.18.11.11;	author joerg;	state Exp;
branches;
next	1.246.2.34;

1.246.2.34
date	97.03.15.20.59.35;	author joerg;	state Exp;
branches;
next	1.246.2.35;

1.246.2.35
date	97.04.09.09.22.02;	author jkh;	state Exp;
branches;
next	1.246.2.36;

1.246.2.36
date	97.04.20.19.30.09;	author jkh;	state Exp;
branches;
next	1.246.2.37;

1.246.2.37
date	97.04.25.09.12.47;	author jkh;	state Exp;
branches;
next	1.246.2.38;

1.246.2.38
date	97.04.25.11.42.09;	author jkh;	state Exp;
branches;
next	1.246.2.39;

1.246.2.39
date	97.04.26.03.52.40;	author jkh;	state Exp;
branches;
next	1.246.2.40;

1.246.2.40
date	97.05.04.01.29.08;	author jkh;	state Exp;
branches;
next	1.246.2.41;

1.246.2.41
date	97.06.02.06.49.06;	author jkh;	state Exp;
branches;
next	1.246.2.42;

1.246.2.42
date	97.06.06.02.11.31;	author brian;	state Exp;
branches;
next	1.246.2.43;

1.246.2.43
date	97.06.11.10.02.36;	author jkh;	state Exp;
branches;
next	1.246.2.44;

1.246.2.44
date	97.06.21.15.47.30;	author jkh;	state Exp;
branches;
next	1.246.2.45;

1.246.2.45
date	97.06.21.19.40.04;	author jkh;	state Exp;
branches;
next	1.246.2.46;

1.246.2.46
date	97.06.22.08.38.11;	author jkh;	state Exp;
branches;
next	1.246.2.47;

1.246.2.47
date	97.06.22.10.20.21;	author jkh;	state Exp;
branches;
next	1.246.2.48;

1.246.2.48
date	97.06.22.17.22.21;	author jkh;	state Exp;
branches;
next	1.246.2.49;

1.246.2.49
date	97.06.22.17.59.24;	author jkh;	state Exp;
branches;
next	1.246.2.50;

1.246.2.50
date	97.06.23.01.50.13;	author jkh;	state Exp;
branches;
next	1.246.2.51;

1.246.2.51
date	97.06.24.23.07.32;	author jkh;	state Exp;
branches;
next	1.246.2.52;

1.246.2.52
date	97.06.28.08.22.10;	author pst;	state Exp;
branches;
next	1.246.2.53;

1.246.2.53
date	97.06.29.18.13.57;	author jkh;	state Exp;
branches;
next	1.246.2.54;

1.246.2.54
date	97.07.02.08.59.34;	author jkh;	state Exp;
branches;
next	1.246.2.55;

1.246.2.55
date	97.07.05.14.11.52;	author jkh;	state Exp;
branches;
next	1.246.2.56;

1.246.2.56
date	97.07.09.12.45.37;	author jkh;	state Exp;
branches;
next	1.246.2.57;

1.246.2.57
date	97.07.13.00.55.26;	author jkh;	state Exp;
branches;
next	1.246.2.58;

1.246.2.58
date	97.07.23.14.54.19;	author jkh;	state Exp;
branches;
next	1.246.2.59;

1.246.2.59
date	97.07.31.10.08.32;	author jkh;	state Exp;
branches;
next	1.246.2.60;

1.246.2.60
date	97.07.31.11.09.29;	author jkh;	state Exp;
branches;
next	1.246.2.61;

1.246.2.61
date	97.09.08.11.16.08;	author jkh;	state Exp;
branches;
next	1.246.2.62;

1.246.2.62
date	97.09.20.15.41.46;	author joerg;	state Exp;
branches;
next	1.246.2.63;

1.246.2.63
date	97.09.20.17.11.09;	author joerg;	state Exp;
branches;
next	1.246.2.64;

1.246.2.64
date	97.10.03.14.18.02;	author jkh;	state Exp;
branches;
next	1.246.2.65;

1.246.2.65
date	97.10.20.21.56.01;	author joerg;	state Exp;
branches;
next	1.246.2.66;

1.246.2.66
date	97.10.26.23.35.22;	author jkh;	state Exp;
branches;
next	1.246.2.67;

1.246.2.67
date	97.11.26.12.45.39;	author jkh;	state Exp;
branches;
next	1.246.2.68;

1.246.2.68
date	98.01.23.20.16.42;	author jkh;	state Exp;
branches;
next	1.246.2.69;

1.246.2.69
date	98.01.24.07.31.20;	author jkh;	state Exp;
branches;
next	1.246.2.70;

1.246.2.70
date	98.01.27.01.07.06;	author jkh;	state Exp;
branches;
next	1.246.2.71;

1.246.2.71
date	98.01.27.23.09.44;	author jkh;	state Exp;
branches;
next	1.246.2.72;

1.246.2.72
date	98.01.28.04.05.26;	author jkh;	state Exp;
branches;
next	1.246.2.73;

1.246.2.73
date	98.01.30.20.54.25;	author brian;	state Exp;
branches;
next	1.246.2.74;

1.246.2.74
date	98.02.01.06.36.24;	author pst;	state Exp;
branches;
next	1.246.2.75;

1.246.2.75
date	98.02.02.17.37.05;	author jhay;	state Exp;
branches;
next	1.246.2.76;

1.246.2.76
date	98.02.10.18.31.14;	author jkh;	state Exp;
branches;
next	1.246.2.77;

1.246.2.77
date	98.02.13.20.18.54;	author jkh;	state Exp;
branches;
next	1.246.2.78;

1.246.2.78
date	98.02.18.12.45.09;	author markm;	state Exp;
branches;
next	1.246.2.79;

1.246.2.79
date	98.02.18.17.25.20;	author jkh;	state Exp;
branches;
next	1.246.2.80;

1.246.2.80
date	98.03.06.06.48.02;	author jkh;	state Exp;
branches;
next	1.246.2.81;

1.246.2.81
date	98.03.06.23.06.20;	author jkh;	state Exp;
branches;
next	1.246.2.82;

1.246.2.82
date	98.03.10.17.29.23;	author jkh;	state Exp;
branches;
next	1.246.2.83;

1.246.2.83
date	98.03.24.10.22.16;	author jkh;	state Exp;
branches;
next	1.246.2.84;

1.246.2.84
date	98.03.24.11.00.03;	author jkh;	state Exp;
branches;
next	1.246.2.85;

1.246.2.85
date	98.03.30.08.28.48;	author jkh;	state Exp;
branches;
next	1.246.2.86;

1.246.2.86
date	98.05.20.01.08.41;	author jkh;	state Exp;
branches;
next	1.246.2.87;

1.246.2.87
date	98.06.26.18.55.07;	author brian;	state Exp;
branches;
next	1.246.2.88;

1.246.2.88
date	98.07.03.14.29.09;	author jkh;	state Exp;
branches;
next	1.246.2.89;

1.246.2.89
date	98.07.08.08.50.42;	author jkh;	state Exp;
branches;
next	1.246.2.90;

1.246.2.90
date	98.07.16.10.35.10;	author jkh;	state Exp;
branches;
next	1.246.2.91;

1.246.2.91
date	98.08.20.06.40.37;	author jkh;	state Exp;
branches;
next	1.246.2.92;

1.246.2.92
date	98.09.21.09.06.02;	author max;	state Exp;
branches;
next	1.246.2.93;

1.246.2.93
date	98.10.01.09.33.06;	author jkh;	state Exp;
branches;
next	1.246.2.94;

1.246.2.94
date	98.11.05.17.47.41;	author jkh;	state Exp;
branches;
next	1.246.2.95;

1.246.2.95
date	98.11.24.00.19.59;	author jkh;	state Exp;
branches;
next	1.246.2.96;

1.246.2.96
date	99.09.05.11.20.44;	author peter;	state Exp;
branches;
next	;

1.193.2.1
date	95.07.21.11.15.28;	author rgrimes;	state Exp;
branches;
next	1.193.2.2;

1.193.2.2
date	95.07.21.11.29.27;	author rgrimes;	state Exp;
branches;
next	1.193.2.3;

1.193.2.3
date	95.07.21.11.32.15;	author rgrimes;	state Exp;
branches;
next	1.193.2.4;

1.193.2.4
date	95.07.21.11.53.59;	author rgrimes;	state Exp;
branches;
next	1.193.2.5;

1.193.2.5
date	95.07.22.04.15.40;	author rgrimes;	state Exp;
branches;
next	1.193.2.6;

1.193.2.6
date	95.07.22.05.21.15;	author rgrimes;	state Exp;
branches;
next	1.193.2.7;

1.193.2.7
date	95.07.25.19.15.36;	author jkh;	state Exp;
branches;
next	1.193.2.8;

1.193.2.8
date	95.07.26.03.09.16;	author jkh;	state Exp;
branches;
next	1.193.2.9;

1.193.2.9
date	95.07.27.01.37.09;	author jkh;	state Exp;
branches;
next	1.193.2.10;

1.193.2.10
date	95.09.19.08.06.48;	author jkh;	state Exp;
branches;
next	1.193.2.11;

1.193.2.11
date	95.09.20.10.45.14;	author jkh;	state Exp;
branches;
next	1.193.2.12;

1.193.2.12
date	95.09.21.11.16.28;	author davidg;	state Exp;
branches;
next	1.193.2.13;

1.193.2.13
date	95.09.25.00.51.54;	author jkh;	state Exp;
branches;
next	1.193.2.14;

1.193.2.14
date	95.09.25.02.15.26;	author jkh;	state Exp;
branches;
next	1.193.2.15;

1.193.2.15
date	95.09.29.06.16.24;	author jkh;	state Exp;
branches;
next	1.193.2.16;

1.193.2.16
date	95.10.03.23.29.42;	author jkh;	state Exp;
branches;
next	1.193.2.17;

1.193.2.17
date	95.10.04.10.31.52;	author jkh;	state Exp;
branches;
next	1.193.2.18;

1.193.2.18
date	95.10.04.12.07.26;	author jkh;	state Exp;
branches;
next	1.193.2.19;

1.193.2.19
date	95.10.04.20.28.43;	author jkh;	state Exp;
branches;
next	1.193.2.20;

1.193.2.20
date	95.10.04.23.06.09;	author jkh;	state Exp;
branches;
next	1.193.2.21;

1.193.2.21
date	95.10.05.04.36.59;	author jkh;	state Exp;
branches;
next	1.193.2.22;

1.193.2.22
date	95.10.05.06.55.28;	author jkh;	state Exp;
branches;
next	1.193.2.23;

1.193.2.23
date	95.10.05.09.42.13;	author jkh;	state Exp;
branches;
next	1.193.2.24;

1.193.2.24
date	95.10.05.09.55.01;	author jkh;	state Exp;
branches;
next	1.193.2.25;

1.193.2.25
date	95.10.07.21.12.10;	author jkh;	state Exp;
branches;
next	1.193.2.26;

1.193.2.26
date	95.10.09.11.14.45;	author jkh;	state Exp;
branches;
next	1.193.2.27;

1.193.2.27
date	95.10.11.01.00.31;	author jkh;	state Exp;
branches;
next	1.193.2.28;

1.193.2.28
date	95.10.11.10.10.14;	author jkh;	state Exp;
branches;
next	1.193.2.29;

1.193.2.29
date	95.10.11.20.11.51;	author jkh;	state Exp;
branches;
next	1.193.2.30;

1.193.2.30
date	95.10.11.20.45.51;	author jkh;	state Exp;
branches;
next	1.193.2.31;

1.193.2.31
date	95.10.14.19.15.10;	author jkh;	state Exp;
branches;
next	1.193.2.32;

1.193.2.32
date	95.10.15.06.25.43;	author jkh;	state Exp;
branches;
next	1.193.2.33;

1.193.2.33
date	95.10.15.12.55.13;	author jkh;	state Exp;
branches;
next	1.193.2.34;

1.193.2.34
date	95.10.15.16.24.52;	author jkh;	state Exp;
branches;
next	1.193.2.35;

1.193.2.35
date	95.10.19.18.38.31;	author jkh;	state Exp;
branches;
next	1.193.2.36;

1.193.2.36
date	95.10.20.16.17.48;	author jkh;	state Exp;
branches;
next	1.193.2.37;

1.193.2.37
date	95.10.24.02.17.05;	author jkh;	state Exp;
branches;
next	1.193.2.38;

1.193.2.38
date	95.10.24.04.03.53;	author jkh;	state Exp;
branches;
next	1.193.2.39;

1.193.2.39
date	95.10.26.08.23.28;	author jkh;	state Exp;
branches;
next	1.193.2.40;

1.193.2.40
date	95.10.27.05.03.17;	author jkh;	state Exp;
branches;
next	1.193.2.41;

1.193.2.41
date	95.11.06.07.27.22;	author jkh;	state Exp;
branches;
next	1.193.2.42;

1.193.2.42
date	95.11.12.20.48.43;	author jkh;	state Exp;
branches;
next	1.193.2.43;

1.193.2.43
date	95.11.15.07.17.18;	author jkh;	state Exp;
branches;
next	1.193.2.44;

1.193.2.44
date	96.05.09.13.33.20;	author jkh;	state Exp;
branches;
next	1.193.2.45;

1.193.2.45
date	96.05.16.03.22.02;	author jkh;	state Exp;
branches;
next	1.193.2.46;

1.193.2.46
date	96.05.27.16.06.55;	author jkh;	state Exp;
branches;
next	1.193.2.47;

1.193.2.47
date	96.05.29.04.37.05;	author jkh;	state Exp;
branches;
next	1.193.2.48;

1.193.2.48
date	96.06.06.22.53.21;	author jkh;	state Exp;
branches;
next	1.193.2.49;

1.193.2.49
date	96.06.09.09.35.01;	author jkh;	state Exp;
branches;
next	1.193.2.50;

1.193.2.50
date	96.06.11.10.00.46;	author jkh;	state Exp;
branches;
next	1.193.2.51;

1.193.2.51
date	96.06.17.21.09.30;	author jkh;	state Exp;
branches;
next	1.193.2.52;

1.193.2.52
date	96.07.05.06.54.15;	author jkh;	state Exp;
branches;
next	1.193.2.53;

1.193.2.53
date	96.07.05.08.57.31;	author jkh;	state Exp;
branches;
next	1.193.2.54;

1.193.2.54
date	96.07.06.02.10.06;	author jkh;	state Exp;
branches;
next	1.193.2.55;

1.193.2.55
date	96.07.09.11.25.10;	author jkh;	state Exp;
branches;
next	1.193.2.56;

1.193.2.56
date	96.07.09.17.01.49;	author jkh;	state Exp;
branches;
next	1.193.2.57;

1.193.2.57
date	96.07.10.06.30.09;	author markm;	state Exp;
branches;
next	1.193.2.58;

1.193.2.58
date	96.10.15.17.03.53;	author jkh;	state Exp;
branches;
next	1.193.2.59;

1.193.2.59
date	96.10.16.19.32.18;	author jkh;	state Exp;
branches;
next	1.193.2.60;

1.193.2.60
date	96.11.03.05.46.52;	author jkh;	state Exp;
branches;
next	1.193.2.61;

1.193.2.61
date	96.11.03.06.02.33;	author jkh;	state Exp;
branches;
next	1.193.2.62;

1.193.2.62
date	96.11.03.06.22.58;	author jkh;	state Exp;
branches;
next	1.193.2.63;

1.193.2.63
date	96.11.10.13.13.45;	author jkh;	state Exp;
branches;
next	1.193.2.64;

1.193.2.64
date	96.11.11.16.07.41;	author jkh;	state Exp;
branches;
next	1.193.2.65;

1.193.2.65
date	96.11.12.22.32.27;	author jkh;	state Exp;
branches;
next	1.193.2.66;

1.193.2.66
date	96.11.13.11.58.27;	author jkh;	state Exp;
branches;
next	1.193.2.67;

1.193.2.67
date	96.11.13.13.15.43;	author jkh;	state Exp;
branches;
next	1.193.2.68;

1.193.2.68
date	96.11.14.14.21.44;	author jkh;	state Exp;
branches;
next	1.193.2.69;

1.193.2.69
date	97.02.17.11.04.30;	author jkh;	state Exp;
branches;
next	1.193.2.70;

1.193.2.70
date	97.02.19.17.22.19;	author jkh;	state Exp;
branches;
next	1.193.2.71;

1.193.2.71
date	97.03.11.09.29.04;	author jkh;	state Exp;
branches;
next	1.193.2.72;

1.193.2.72
date	97.03.12.02.35.23;	author jkh;	state Exp;
branches;
next	1.193.2.73;

1.193.2.73
date	97.03.12.02.42.23;	author jkh;	state Exp;
branches;
next	1.193.2.74;

1.193.2.74
date	97.03.12.08.18.15;	author jkh;	state Exp;
branches;
next	1.193.2.75;

1.193.2.75
date	99.09.05.11.21.59;	author peter;	state Exp;
branches;
next	;

1.192.2.1
date	95.05.31.22.36.51;	author jkh;	state Exp;
branches;
next	1.192.2.2;

1.192.2.2
date	95.05.31.23.53.09;	author jkh;	state Exp;
branches;
next	1.192.2.3;

1.192.2.3
date	95.06.01.00.20.25;	author jkh;	state Exp;
branches;
next	1.192.2.4;

1.192.2.4
date	95.06.02.18.17.47;	author jkh;	state Exp;
branches;
next	1.192.2.5;

1.192.2.5
date	95.06.05.17.04.50;	author jkh;	state Exp;
branches;
next	1.192.2.6;

1.192.2.6
date	95.06.06.06.08.00;	author jkh;	state Exp;
branches;
next	1.192.2.7;

1.192.2.7
date	95.06.06.08.03.17;	author jkh;	state Exp;
branches;
next	1.192.2.8;

1.192.2.8
date	95.06.07.05.50.49;	author jkh;	state Exp;
branches;
next	1.192.2.9;

1.192.2.9
date	95.06.07.08.19.52;	author jkh;	state Exp;
branches;
next	1.192.2.10;

1.192.2.10
date	95.06.07.20.03.09;	author jkh;	state Exp;
branches;
next	1.192.2.11;

1.192.2.11
date	95.06.08.09.43.02;	author jkh;	state Exp;
branches;
next	1.192.2.12;

1.192.2.12
date	95.06.08.23.32.09;	author jkh;	state Exp;
branches;
next	1.192.2.13;

1.192.2.13
date	95.06.09.06.52.44;	author jkh;	state Exp;
branches;
next	1.192.2.14;

1.192.2.14
date	95.06.09.14.50.24;	author jkh;	state Exp;
branches;
next	1.192.2.15;

1.192.2.15
date	95.06.10.09.00.35;	author jkh;	state Exp;
branches;
next	1.192.2.16;

1.192.2.16
date	95.06.10.14.19.56;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.976
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251250
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/release/Makefile 251250 2013-06-02 11:44:23Z tijl $
#
# Makefile for building releases and release media.
# 
# User-driven targets:
#  cdrom: Builds release CD-ROM media (release.iso)
#  memstick: Builds memory stick image (memstick)
#  ftp: Sets up FTP distribution area (ftp)
#  release: Build all media and FTP distribution area
#  install: Copies all release media into ${DESTDIR}
#
# Variables affecting the build process:
#  WORLDDIR: location of src tree -- must have built world and default kernel
#            (by default, the directory above this one) 
#  PORTSDIR: location of ports tree to distribute (default: /usr/ports)
#  DOCDIR:   location of doc tree (default: /usr/doc)
#  NOPORTS:  if set, do not distribute ports tree
#  NOSRC:    if set, do not distribute source tree
#  NODOC:    if set, do not generate release documentation
#  TARGET/TARGET_ARCH: architecture of built release 
#

WORLDDIR?=	${.CURDIR}/..
PORTSDIR?=	/usr/ports
DOCDIR?=	/usr/doc
RELNOTES_LANG?= en_US.ISO8859-1

TARGET?=	${MACHINE}
.if ${TARGET} == ${MACHINE}
TARGET_ARCH?=	${MACHINE_ARCH}
.else
TARGET_ARCH?=	${TARGET}
.endif
IMAKE=		${MAKE} TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
DISTDIR=	dist

# Define OSRELEASE by using newvars.sh
.if !defined(OSRELEASE) || empty(OSRELEASE)
.for _V in TYPE BRANCH REVISION
${_V}!=	eval $$(awk '/^${_V}=/{print}' ${.CURDIR}/../sys/conf/newvers.sh); echo $$${_V}
.endfor
.for _V in ${TARGET_ARCH}
.if !empty(TARGET:M${_V})
OSRELEASE=	${TYPE}-${REVISION}-${BRANCH}-${TARGET}
.else
OSRELEASE=	${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
.endif
.endfor
.endif

.if !exists(${DOCDIR})
NODOC= true
.endif
.if !exists(${PORTSDIR})
NOPORTS= true
.endif

EXTRA_PACKAGES= 
.if !defined(NOPORTS)
EXTRA_PACKAGES+= ports.txz
.endif
.if !defined(NOSRC)
EXTRA_PACKAGES+= src.txz
.endif
.if !defined(NODOC)
EXTRA_PACKAGES+= reldoc
.endif

RELEASE_TARGETS= ftp
IMAGES=
.if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
RELEASE_TARGETS+= cdrom
IMAGES+=	release.iso bootonly.iso
.endif
.if exists(${.CURDIR}/${TARGET}/make-memstick.sh)
RELEASE_TARGETS+= memstick
IMAGES+=	memstick
.endif

.include <bsd.obj.mk>

base.txz:
	mkdir -p ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${.OBJDIR}/${DISTDIR}
# Set up mergemaster root database
	sh ${.CURDIR}/scripts/mm-mtree.sh -m ${WORLDDIR} -F \
	    "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${.OBJDIR}/${DISTDIR}/base"
# Package all components
	cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR}
	mv ${DISTDIR}/*.txz .

kernel.txz:
	mkdir -p ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributekernel packagekernel DISTDIR=${.OBJDIR}/${DISTDIR}
	mv ${DISTDIR}/kernel*.txz .

src.txz:
	mkdir -p ${DISTDIR}/usr
	ln -fs ${WORLDDIR} ${DISTDIR}/usr/src
	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn --exclude .zfs \
	    --exclude CVS --exclude @@ --exclude usr/src/release/dist usr/src

ports.txz:
	mkdir -p ${DISTDIR}/usr
	ln -fs ${PORTSDIR} ${DISTDIR}/usr/ports
	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/ports.txz \
	    --exclude CVS --exclude .svn \
	    --exclude usr/ports/distfiles --exclude usr/ports/packages \
	    --exclude 'usr/ports/INDEX*' --exclude work usr/ports

reldoc:
	cd ${.CURDIR}/doc && ${MAKE} all install clean 'FORMATS=html txt' \
	    INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${.OBJDIR}/rdoc
	mkdir -p reldoc
.for i in hardware readme relnotes errata
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.txt reldoc/${i:tu}.TXT
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.html reldoc/${i:tu}.HTM
.endfor
	cp rdoc/${RELNOTES_LANG}/readme/docbook.css reldoc

system: packagesystem
# Install system
	mkdir -p release
	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
	    DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1
# Copy distfiles
	mkdir -p release/usr/freebsd-dist
	cp *.txz MANIFEST release/usr/freebsd-dist
# Copy documentation, if generated
.if !defined(NODOC)
	cp reldoc/* release
.endif
# Set up installation environment
	ln -fs /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > release/etc/rc.conf
	echo hostid_enable=\"NO\" >> release/etc/rc.conf
	cp ${.CURDIR}/rc.local release/etc
	touch ${.TARGET}

bootonly: packagesystem
# Install system
	mkdir -p bootonly
	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
	    DESTDIR=${.OBJDIR}/bootonly WITHOUT_AMD=1 WITHOUT_AT=1 \
	    WITHOUT_BIND_DNSSEC=1 WITHOUT_BIND_ETC=1 WITHOUT_BIND_MTREE=1 \
	    WITHOUT_BIND_NAMED=1 WITHOUT_GAMES=1 WITHOUT_GROFF=1 \
	    WITHOUT_INSTALLLIB=1 WITHOUT_LIB32=1 WITHOUT_MAIL=1 \
	    WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_PROFILE=1 \
	    WITHOUT_INSTALLIB=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1 \
	    WITHOUT_KERNEL_SYMBOLS=1
# Copy manifest only (no distfiles) to get checksums
	mkdir -p bootonly/usr/freebsd-dist
	cp MANIFEST bootonly/usr/freebsd-dist
# Copy documentation, if generated
.if !defined(NODOC)
	cp reldoc/* bootonly
.endif
# Set up installation environment
	ln -fs /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > bootonly/etc/rc.conf
	echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
	cp ${.CURDIR}/rc.local bootonly/etc

release.iso: system
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} release

bootonly.iso: bootonly
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly

memstick: system
	sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}

packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
	sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
	touch ${.TARGET}

cdrom: release.iso bootonly.iso
ftp: packagesystem
	rm -rf ftp
	mkdir -p ftp
	cp *.txz MANIFEST ftp

release:
	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} obj
	${MAKE} -C ${.CURDIR} ${.MAKEFLAGS} ${RELEASE_TARGETS}

clean:
	chflags -R noschg .
	rm -rf dist ftp
	rm -f packagesystem
	rm -f *.txz MANIFEST
	rm -f system
	rm -rf release bootonly
	rm -f release.iso bootonly.iso memstick

install:
.if defined(DESTDIR) && !empty(DESTDIR)
	mkdir -p ${DESTDIR}
.endif
	cp -a ftp ${DESTDIR}/
.for I in ${IMAGES}
	cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
.endfor
	cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256
	cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
@


1.975
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246283
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/release/Makefile 246283 2013-02-03 10:26:24Z hrs $
d116 2
a117 2
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.txt reldoc/${i:U}.TXT
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.html reldoc/${i:U}.HTM
@


1.975.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:27 +0000
@
text
@d1 205
@


1.975.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 1422
# $FreeBSD: releng/8.4/release/Makefile 248530 2013-03-19 19:49:06Z gjb $
#
# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \
#     [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
#     [SVNBRANCH=some/branch]
#
# Where "/some/dir" is the pathname of a directory on a some filesystem with
# at least 1000MB of free space, "somename" is what you want the release to
# call itself, "/cvs/dir" is where our source repo resides and, optionally,
# which CVS "tag" name should be used when checking out the sources to build
# the release (default is HEAD).
#
# Please note the support for building from SVN is preliminary and there
# are still questions about things like how to handle updates of
# /usr/src on production systems (csup(1) replacement).  It is a work
# in progress and may change as the other issues get worked out.
#
# Please note: the md(4) driver must be present in the kernel
# (either by being compiled in or available as a kld(4) module),
# otherwise the target 'release.8' and possibly others will fail.
#
# Note: If you add options to this file, please keep release(7) updated!
#
# Set these, release builder!
#
# Fixed version:
#BUILDNAME=8.4-STABLE
#
# Automatic SNAP versioning:
DATE != date +%Y%m%d
BASE = 8.4
BUILDNAME?=${BASE}-${DATE}-SNAP
#
#CHROOTDIR=/junk/release
# If this is a -stable snapshot, then set
#RELEASETAG=RELENG_8
#
# To test a release with a source tree containing patches and
# other work. This tree will get copied instead of getting the
# src/ tree from a CVS checkout. For "rerelease", this will NOT
# be copied; cvs update will be used instead.
#EXTSRCDIR=/usr/src
#
# To use a checked-out ports collection directory instead of
# checking out from a local CVS repository, set this option.
#EXTPORTSDIR=/usr/ports
#
# To use a checked-out doc/ directory instead of
# checking out from a local CVS repository, set this option.
#EXTDOCDIR=/usr/doc
#
# To add other options to the CVS subcommands (co,up), set
#CVSCMDARGS="-D '01/01/2002 00:00:00 UTC'"
#
# To add other options to the CVS command, set
#CVSARGS="-lfq"
#
# To prefix the CVS command
#CVSPREFIX="/usr/bin/time"
#
# Where the CVS repository is
#CVSROOT="/home/ncvs"
#
# To add other options to the Subversion subcommands (co,up), set
#SVNCMDARGS="-r '{ 01/01/2002 00:00:00 UTC }'"
#
# To prefix the Subversion command
#SVNPREFIX="/usr/bin/time"
#
# Where the Subversion repository is
#SVNROOT=svn://svn.freebsd.org/base
#
# Subversion branch to build for src.  If this is not set then it is
# automatically computed from RELEASETAG.
#SVNBRANCH=stable/8
#
# Non-zero if ${RELEASETAG} is in the form "RELENG_ver_RELEASE"; we
# are building an official release.  Otherwise, we are building for
# a branch.
.if defined(RELEASETAG)
ISRELEASE!=	expr "${RELEASETAG}" : '^RELENG_.*_RELEASE$$' || true
.if ${ISRELEASE} != 0
# Convert "RELENG_ver_RELEASE" to "RELEASE_ver" for ports and doc trees.
AUXRELEASETAG!=	echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//'
DOCRELEASETAG?=		${AUXRELEASETAG}
PORTSRELEASETAG?=	${AUXRELEASETAG}
.endif
.endif

# Determine the Subversion source branch that corresponds to the requested
# RELEASETAG.
.if !defined(SVNBRANCH)
.if defined(RELEASETAG)
SVNBRANCH!=	echo "${RELEASETAG}" | awk -f ${.CURDIR}/svnbranch.awk
.else
SVNBRANCH=	head
.endif
.endif

# If you want to pass flags to the world build such as -j X, use
# WORLD_FLAGS.  Similarly, you can specify make flags for kernel
# builds via KERNEL_FLAGS.
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4

TARGET_ARCH?=	${MACHINE_ARCH}
.if ${TARGET_ARCH} == ${MACHINE_ARCH}
TARGET?=	${MACHINE}
.else
TARGET?=	${TARGET_ARCH}
.endif
CROSSENV=	TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
CROSSMAKE=	${MAKE} ${CROSSENV}
NATIVEMAKE=	${MAKE} TARGET_ARCH=${MACHINE_ARCH} TARGET=${MACHINE}

# If you are using a local CVS repository with components stored in 
# non-standard modules, override these on the make commandline or
# in the environment.
RELEASESRCMODULE?=	src
RELEASEDOCMODULE?=	doc
RELEASEPORTSMODULE?=	ports

# Uncomment this to disable the doc.1 target.  Docs normally require
# the ports tree, so NOPORTS can be set together with NODOC in order
# to have neither ports or docs.  If only NOPORTS is set to YES, but
# docs are still desired, the DOMINIMALDOCPORTS logic below will only
# install the ports that are minimally required for the release note documentation.  This is
# intended as a compromise, less disk space is required than for using
# the entire ports collection (and much less time due to the huge number
# of directories it would create), but still quite a bit as well as some
# CPU cycles (some of the programs are C++, and things like ghostscript
# belong to the required ports nevertheless).
#
#NODOC=  YES
#NOPORTS=  YES

# When retrieving ports using the pkg_add -r method, set your proxies to these.
# src/release/${arch}/mkisoimages.sh can use these.
#HTTP_PROXY?=	www.example.com
#FTP_PROXY?=	ftp.example.com

# When creating ISO images, point ${CD_PACKAGE_TREE} to a directory containing
# the package split by an earlier invocation of the 'package-split' target.
#CD_PACKAGE_TREE=	/path/to/pkg

# Extra source tarballs; each argument is a pair of source dir and
# distribution name.  The dist name should not exceed 7 characters
# (another "s" for "source" will be prepended).
#EXTRA_SRC=	games/fortune fortune

# Modify this definition if you want the release notes 
# and other release documentation in a language other than English.
RELNOTES_LANG?=	en_US.ISO8859-1

# As an alternative to installing the entire ports collection (which
# can take a huge amount of time, in particular on slower disks),
# setting ${MINIMALDOCPORTS} allows to install and build just those
# ports that are really required for getting the docs up & running.
.if defined(NOPORTS) && !defined(NODOC)
DOMINIMALDOCPORTS=	YES
.include "Makefile.inc.docports"
RELEASEPORTSMODULE=	${MINIMALDOCPORTS} ports/sysutils/cdrtools
.endif

# Helper variable
.if defined(NOPORTS)
.if !defined(DOMINIMALDOCPORTS) || ${DOMINIMALDOCPORTS} != "YES"
NOPORTSATALL=	YES
.endif
.endif

#
# Doing 'make index' in /usr/ports requires Perl.
MAKEINDEXPORTS=	lang/perl5.12
DOCPORTS=	textproc/docproj
# Set this to wherever the distfiles required by release procedures.
.if defined(DOCDISTFILES)
# Respect DOCDISTFILES which is used before.
RELEASEDISTFILES?=	${DOCDISTFILES}
.else
RELEASEDISTFILES?=	${.CURDIR}/../../ports/distfiles
.endif
# Set this to 1 if you want -P to be used for automatic keyboard detection
# on the boot floppy.  WARNING: Breaks on some Athlon (K7) motherboards.
AUTO_KEYBOARD_DETECT?= 0

.if !defined(NODOC)
DIST_DOCS_ARCH_INDEP=	hardware readme relnotes errata
DIST_DOCS_ARCH_DEP=	
.endif

# Things which without too much trouble can be considered variables
# BASE_DISTS are special in that they get full /etc installation sets.
#
OTHER_DISTS?=	catpages manpages games proflibs dict info doc ${ARCH_DISTS}
BASE_DISTS?=	base
.if ${TARGET_ARCH} == "amd64"
ARCH_DISTS?=	lib32
.endif
DISTRIBUTIONS?=	${BASE_DISTS} ${OTHER_DISTS}

#
# Build and package both GENERIC and SMP kernels if the target
# has both configuration files.  Otherwise only GENERIC is done.
#
.if exists(${.CURDIR}/../sys/${TARGET}/conf/SMP)
KERNELS_BASE?=	GENERIC SMP
.else
KERNELS_BASE?=	GENERIC
.endif

# mountpoint for filesystems.
MNT=			/mnt

# Various floppy image parameters.
#

.undef MAKE_FLOPPIES
.if ${TARGET_ARCH} == "i386"
MAKE_DVD=
SEPARATE_LIVEFS=
SPLIT_MFSROOT=
.if ${TARGET} == "pc98"
MAKE_FLOPPIES=		true
SMALLFLOPPYSIZE=	1200
SMALLFLOPPYSPLITSIZE=	1152
SMALLFLOPPYLABEL=	fd1200
SPLIT_MFSROOT=
.endif
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
MFSSIZE=		4320
MFSINODE=		8000
MFSLABEL=		minimum3
.elif ${TARGET_ARCH} == "sparc64"
DISKLABEL=		sunlabel
MAKE_DVD=
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
MINIROOT=
SEPARATE_LIVEFS=
.elif ${TARGET_ARCH} == "ia64"
DISKLABEL=		""
MAKE_DVD=
MFSSIZE=		8192
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
.elif ${TARGET_ARCH} == "amd64"
MAKE_DVD=
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
SPLIT_MFSROOT=
.elif ${TARGET_ARCH} == "powerpc"
DISKLABEL=		""
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
.endif
.if defined(NO_FLOPPIES)
.undef MAKE_FLOPPIES
.endif

.if exists(/sbin/bsdlabel)
DISKLABEL?=		bsdlabel
.else
DISKLABEL?=		disklabel
.endif

ZIPPER=			gzip -9 --no-name
ZIPNSPLIT=		${ZIPPER} -c | split -b 1392k -

# Things which may get you into trouble if you change them
MTREEFILES=		${.CURDIR}/../etc/mtree
_R?=			/R
RD=			${_R}/stage
RND=			${RD}/release.doc
FD=			${_R}/ftp
CD=			${_R}/cdrom
CD_BOOT=		${CD}/bootonly
CD_DISC1=		${CD}/disc1
CD_DISC2=		${CD}/disc2
.if defined(MAKE_DVD)
CD_DVD1=		${CD}/dvd1
.endif
.if !defined(NODOC)
CD_DOCS=		${CD}/docs
.endif
.if defined(SEPARATE_LIVEFS)
CD_LIVEFS=		${CD}/livefs
.else
CD_LIVEFS=		${CD_DISC1}
.endif
_MK?=			${CHROOTDIR}/mk

# Where the bootstrap ports (see DOCPORTS) get installed.
LOCALDIR=		/usr/local/bin

.if ${TARGET} != ${MACHINE} && ${DISKLABEL} == "bsdlabel"
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ${TARGET}
.else
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ""
.endif

CRUNCH_TARGETS=	boot
.if ${TARGET_ARCH} == "i386"
CRUNCH_TARGETS+=fixit
.if ${TARGET} == "pc98"
CRUNCH_TARGETS+=fixit-small
.endif
.endif

.if defined(MAKE_FLOPPIES)
EXTRAS= floppies.1
.if ${TARGET_ARCH} == "i386"
EXTRAS+= floppies.2
.endif
EXTRAS+= floppies.3
.endif
EXTRAS+= ftp.1
.if !defined(NOCDROM)
EXTRAS+= cdrom.1 cdrom.2 cdrom.3
.if defined(MAKE_ISOS)
EXTRAS+= iso.1
.endif
BOOTABLE="-b"
.endif

.if !defined(NODOC)
DOCREL= doc.1 doc.2
.endif

.if !make(release) && !make(rerelease) && !make(package-split)
BINMAKE!=	cd ${.CURDIR}/..; ${MAKE} -V BINMAKE
WMAKEENV!=	cd ${.CURDIR}/..; \
		${BINMAKE} ${CROSSENV} -f Makefile.inc1 -V WMAKEENV
WMAKE=		${WMAKEENV} ${BINMAKE}
.endif

CVS_SRCARGS=	-P
.if defined(RELEASETAG)
CVS_SRCARGS+=	-r ${RELEASETAG}
.endif

CVS_DOCARGS=	-P
.if defined(DOCRELEASETAG)
CVS_DOCARGS+=	-r ${DOCRELEASETAG}
.endif

CVS_PORTSARGS=	-P
.if defined(PORTSRELEASETAG)
CVS_PORTSARGS+=	-r ${PORTSRELEASETAG}
.endif

WORLDDIR?=	${.CURDIR}/..

release rerelease:
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
.endif
.if !defined(NOPORTSATALL) && !defined(EXTPORTSDIR) && !defined(CVSROOT)
	@@echo "Building ports requires CVSROOT or EXTPORTSDIR" && false
.endif
.if !defined(NODOC) && !defined(EXTDOCDIR) && !defined(CVSROOT)
	@@echo "Building docs requires CVSROOT or EXTDOCDIR" && false
.endif
.if !defined(EXTSRCDIR) && !defined(CVSROOT) && !defined(SVNROOT)
	@@echo "The source tree requires SVNROOT, CVSROOT, or EXTSRCDIR" && false
.endif
.if defined(NOPORTSATALL) && !defined(NODOC)
	@@echo "Ports are required for building the release docs.  Either set NODOC or"
	@@echo "unset NOPORTS, or set at least DOMINIMALDOCPORTS to YES!"
	@@exit 1
.endif
.if defined(LOCAL_PATCHES) && !empty(LOCAL_PATCHES)
.for p in ${LOCAL_PATCHES}
.if !exists(${p})
	@@echo "The patch file ${p} does not exist!"
	@@exit 1
.endif
.endfor
.endif
.if defined(LOCAL_SCRIPT) && !exists(${LOCAL_SCRIPT})
	@@echo "The local script ${LOCAL_SCRIPT} does not exist!"
	@@exit 1
.endif
.if make(release)
.if exists(${CHROOTDIR})
# The first command will fail on a handful of files that have their schg
# flags set.  But it greatly speeds up the next two commands.
	# NB: clear any vestigial devfs mount, just in case
	-umount ${CHROOTDIR}/dev > /dev/null 2>&1
	-rm -rf ${CHROOTDIR} 2>/dev/null
	-chflags -R 0 ${CHROOTDIR}/.
	-rm -rf ${CHROOTDIR}
.endif
	mkdir -p ${CHROOTDIR}
	@@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
	cd ${WORLDDIR} && ${NATIVEMAKE} -DWITHOUT_GAMES -DWITHOUT_HTML -DWITHOUT_LIB32 \
	    -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE installworld DESTDIR=${CHROOTDIR}
	cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
	if [ -f /etc/resolv.conf ]; then \
		cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
	fi
.if defined(EXTLOCALDIR)
	rm -rf ${CHROOTDIR}/usr/local
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTLOCALDIR} local
.endif
	rm -rf ${CHROOTDIR}/usr/src
.if defined(EXTSRCDIR)
	cd ${CHROOTDIR}/usr && \
	    cp -R -H ${EXTSRCDIR} src
.elif defined(SVNROOT)
	cd ${CHROOTDIR}/usr && \
	    ${SVNPREFIX} svn co ${SVNCMDARGS} ${SVNROOT}/${SVNBRANCH} \
	    ${RELEASESRCMODULE} 
.else
	cd ${CHROOTDIR}/usr && \
	    ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_SRCARGS} ${RELEASESRCMODULE}
.endif
.if defined(LOCAL_PATCHES) && !empty(LOCAL_PATCHES)
.for p in ${LOCAL_PATCHES}
	patch -d ${CHROOTDIR}/usr/${RELEASESRCMODULE} ${PATCH_FLAGS} < ${p}
.endfor
.endif
.if defined(LOCAL_SCRIPT)
	cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} \
	    RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT}
.endif
	rm -rf ${CHROOTDIR}/usr/ports
.if !defined(NOPORTSATALL)
.if defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTPORTSDIR} ports
	# If there are distfiles downloaded removing them
	rm -rf ports/distfiles/*
.else
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_PORTSARGS} ${RELEASEPORTSMODULE}
.endif
.endif
.if !defined(NODOC)
	rm -rf ${CHROOTDIR}/usr/doc
.if defined(EXTDOCDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTDOCDIR} doc
.else
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_DOCARGS} ${RELEASEDOCMODULE}
.endif
	if [ -d ${RELEASEDISTFILES}/ ]; then \
		cp -rp ${RELEASEDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
	else \
		mkdir -p ${CHROOTDIR}/usr/ports/distfiles; \
	fi
.if !defined(NO_PREFETCHDISTFILES)
	@@cd ${.CURDIR} && ${MAKE} fetch-distfiles
.endif
.endif
.endif
.if make(rerelease)
.if !defined(RELEASENOUPDATE) && !defined(EXTSRCDIR)
.if defined(SVNROOT)
	cd ${CHROOTDIR}/usr/src && ${SVNPREFIX} svn switch ${SVNCMDARGS} \
	    ${SVNROOT}/${SVNBRANCH}
.elif !defined(RELEASETAG)
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d -A
.else
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d -r ${RELEASETAG}
.endif
	rm -f ${CHROOTDIR}/tmp/.world_done 
.if !defined(NOPORTS) && !defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr/ports && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d
	rm -f ${CHROOTDIR}/tmp/.skip_ports_index
.endif
.if defined(DOMINIMALDOCPORTS) && ${DOMINIMALDOCPORTS} == "YES"
	for i in ${MINIMALDOCPORTS}; do \
	    ( cd ${CHROOTDIR}/usr/$$i && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
		update ${CVSCMDARGS} -P -d ) ; \
	done
.endif
.if !defined(NODOC)
	cd ${CHROOTDIR}/usr/doc && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d
.endif
.endif
.endif
	-test -f install.cfg && cp install.cfg ${CHROOTDIR}/usr/src/release
	echo "#!/bin/sh"			> ${_MK}
	echo "set -ex"				>> ${_MK}
	echo "trap 'umount /dev || true' 0"	>> ${_MK}
	echo "_RELTARGET=\$${1:-doRELEASE}"	>> ${_MK}
.for var in \
	AUTO_KEYBOARD_DETECT \
	BUILDNAME \
	CD_PACKAGE_TREE \
	DISTRIBUTIONS \
	DOMINIMALDOCPORTS \
	EXTRA_SRC \
	FTP_PASSIVE_MODE \
	FTP_PROXY \
	HTTP_PROXY \
	KERNELS \
	KERNELS_BASE \
	KERNEL_FLAGS \
	MAKE_DVD \
	MAKE_FLOPPIES \
	MAKE_ISOS \
	NOCDROM \
	NODOC \
	NOPORTS \
	NO_SHARED \
	NOSRC \
	NO_CPU_CFLAGS \
	NO_CPU_COPTFLAGS \
	NO_FLOPPIES \
	RELEASETAG \
	RELNOTES_LANG \
	SEPARATE_LIVEFS \
	TARGET \
	TARGET_ARCH \
	WORLD_FLAGS
.if defined(${var})
	echo "export ${var}=\"${${var}}\""	>> ${_MK}
.endif
.endfor
	# Don't remove this, or the build will fall over!
	echo "export RELEASEDIR=${_R}"		>> ${_MK}
	echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}"	>> ${_MK}
	echo "export MANBUILDCAT=YES"		>> ${_MK}
	# NB: these may fail if the host is running w/o devfs
	echo "umount /dev >/dev/null 2>&1 || true" >> ${_MK}
	echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true"	>> ${_MK}
	echo "if [ ! -c /dev/null ]; then" >> ${_MK}
	echo "	echo /dev/null is not a device!" >> ${_MK}
	echo "	exit 1" >> ${_MK}
	echo "fi" >> ${_MK}
	echo "if [ -x /etc/rc.d/ldconfig ]; then" >> ${_MK}
	echo "	/etc/rc.d/ldconfig start"	>> ${_MK}
	echo "else"				>> ${_MK}
	echo "	ldconfig /lib /usr/lib /usr/local/lib || true" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "if [ ! -f /tmp/.world_done ]; then" >> ${_MK}
	echo "	cd /usr/src"			>> ${_MK}
	echo "	${CROSSMAKE} ${WORLD_FLAGS} -DNO_CLEAN buildworld && \\" >> ${_MK}
	echo "	touch /tmp/.world_done || exit 1" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "if [ ! -f /tmp/.skip_ports_index ]; then" >> ${_MK}
	echo "	echo \">>> make index started on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "	for i in ${MAKEINDEXPORTS}"	>> ${_MK}
	echo "	do"			>> ${_MK}
	echo "		cd /usr/ports/\$${i}"	>> ${_MK}
	echo "		env -i HTTP_PROXY=$${HTTP_PROXY} FTP_PROXY=$${FTP_PROXY} FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
	echo "		make all install clean BATCH=yes FORCE_PKG_REGISTER=yes" >> ${_MK}
	echo "	done"				>> ${_MK}
	echo "	cd /usr/ports"			>> ${_MK}
	echo "	rm -f INDEX*"			>> ${_MK}
	echo "	make index -DINDEX_PRISTINE"	>> ${_MK}
	echo "	rm -f INDEX*.tmp"		>> ${_MK}
	echo "	touch /tmp/.skip_ports_index"	>> ${_MK}
	echo "	echo \">>> make index finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "cd /usr/src/release"		>> ${_MK}
	echo "make obj"				>> ${_MK}
	echo "if [ -f Makefile.sysinstall ]; then" >> ${_MK}
	echo "  make -f Makefile.sysinstall \$${_RELTARGET}" >> ${_MK}
	echo "else"				>> ${_MK}
	echo "  make \$${_RELTARGET}"		>> ${_MK}
	echo "fi"				>> ${_MK}
	echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	chmod 755 ${_MK}
.if defined(NOPORTS)
	touch ${CHROOTDIR}/tmp/.skip_ports_index
.endif
	# Ensure md.ko is loaded if md(4) is not statically compiled into 
	# the kernel
	-mdconfig 2>/dev/null
	env -i /usr/sbin/chroot `dirname ${_MK}` /`basename ${_MK}`

clean:
	rm -rf ${CRUNCH_TARGETS:S/$/_crunch/} release.[0-8] ${EXTRAS}

fetch-distfiles:
	@@for i in ${MAKEINDEXPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			checksum-recursive ; \
	done
	@@for i in ${DOCPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
			checksum-recursive ; \
	done

# Clean out ${_R} and make the directory structure.
release.1:
	mkdir -p ${_R}
	-rm -rf ${_R}/* 2> /dev/null
	-chflags -R noschg ${_R}/.
	rm -rf ${_R}/*
	mkdir ${RD}
.if defined(MAKE_FLOPPIES)
	mkdir ${RD}/floppies
.endif
	mkdir ${RD}/trees
	for i in ${DISTRIBUTIONS}; do \
		mkdir ${RD}/trees/$$i && \
		mtree -deU -f ${MTREEFILES}/BSD.root.dist \
		    -p ${RD}/trees/$$i > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
		    -p ${RD}/trees/$$i/usr > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.include.dist \
		    -p ${RD}/trees/$$i/usr/include > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.var.dist \
		    -p ${RD}/trees/$$i/var > /dev/null ; \
	done
	mkdir ${RD}/kernels
	for i in ${KERNELS_BASE} ${KERNELS}; do \
		mkdir -p ${RD}/kernels/$${i}; \
	done
	touch ${.TARGET}

# Install the system into the various distributions.
release.2:
	cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base
	cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \
	    DISTDIR=${RD}/trees
	sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D "${RD}/trees/base"
	touch ${.TARGET}

# Make and install the generic kernel(s).
release.3:
.for kernel in ${KERNELS_BASE} ${KERNELS}
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} \
 	    KERNCONF=${kernel} kernel \
 	    DESTDIR=${RD}/kernels KODIR=/${kernel}
.endfor
	touch ${.TARGET}

# Make and install the three crunched binaries which live on the floppies.
# You are not supposed to like this :-)
release.4:
	rm -rf ${RD}/crunch
	mkdir -p ${RD}/crunch
.for j in ${CRUNCH_TARGETS}
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
	rm -rf ${j}_crunch
	mkdir ${j}_crunch
	cd ${j}_crunch; ${WMAKEENV} MAKEFLAGS="-m ${.CURDIR}/../share/mk" \
	    NO_WERROR= crunchgen -o \
	    ${.CURDIR}/${TARGET}/${j}_crunch.conf
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
	cd ${.CURDIR}/..; ${BINMAKE} -f Makefile.inc1 _build-tools
	cd ${j}_crunch; CFLAGS="-Os -pipe" ${WMAKE} -f ${j}_crunch.mk \
	    -DNO_CPU_CFLAGS all
	${WMAKEENV} strip -R .comment ${j}_crunch/${j}_crunch
	mv ${j}_crunch/${j}_crunch ${RD}/crunch/${j}
.endif
.endfor
	touch ${.TARGET}

#
# --==## Fix up the distributions. ##==--
#
release.5:
	# Create any "synthetic dists" now.
	@@for i in ${DISTRIBUTIONS}; do \
		if [ -f ${.CURDIR}/scripts/$${i}-make.sh ]; then \
			echo -n "Running $$i dist creation script... "; \
			env RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
			echo "Done."; \
		fi \
	done \

	# Remove all the directories we don't need.
	-cd ${RD}/trees && \
		(find ${OTHER_DISTS} -path '*/var/empty' | xargs chflags noschg; \
		find ${OTHER_DISTS} -depth -type d -empty -delete)
	touch ${.TARGET}

#
# --==## Package up the tarballs from assembled trees ##==--
#
release.6:
	rm -rf ${RD}/dists
	mkdir -p ${RD}/dists
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/trees/$${i} \
				TN=$$i TD=$$i ARG="." && \
			echo "$${i} distribution is finished."; \
		fi ; \
	done
	@@for i in ${KERNELS_BASE} ${KERNELS} ; \
	do \
		if [ -d ${RD}/kernels/$${i} ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/kernels \
				TN=$$i TD=kernels ARG="$$i" && \
			echo "$${i} distribution is finished."; \
		fi ; \
	done
.if !defined(NOPORTS)
	# XXX: Inline stripped version of doTARBALL
	@@rm -rf ${RD}/dists/ports/ports*
	@@mkdir -p ${RD}/dists/ports
	@@echo rolling ports/ports tarball
	@@tar --exclude CVS --exclude .svn --exclude 'ports/distfiles/*' \
	  -czf ${RD}/dists/ports/ports.tgz -C /usr ports
	@@cp ${.CURDIR}/scripts/ports-install.sh ${RD}/dists/ports/install.sh
	@@(cd ${RD}/dists/ports; \
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
	@@echo "ports distribution is finished."
.endif
	touch ${.TARGET}


#
# --==## Make source dists ##==--
#
release.7:
.if !defined(NOSRC)
	@@cd ${.CURDIR} && $(MAKE) doTARBALL SD=/usr/src \
		TD=src TN=sbase ARG="[A-Z]*"
	@@for i in `cd /usr/src && echo [a-z]*` ; do \
		if [ -d /usr/src/$$i ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				TN=`echo s$$i | tr -d '.' | \
				    sed -e 's/usr/u/' \
					-e 's/kerberos5/krb5/'` \
				SD=/usr/src TD=src ARG="$$i" ; \
		fi ; \
	done
.if defined(EXTRA_SRC)
	@@set ${EXTRA_SRC} && \
	while [ $$# -ge 2 ] ; do \
		if [ -d /usr/src/$$1 ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=/usr/src TN="s$$2" TD=src ARG="$$1" ; \
		fi && shift && shift ; \
	done
.endif
	(cd ${RD}/dists/src; \
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
	@@echo "src distribution is finished."
.endif
	touch ${.TARGET}

# Build the memory root filesystem.
release.8:
	cp ${RD}/trees/base/etc/disktab /etc
	rm -rf ${RD}/mfsfd
	mkdir ${RD}/mfsfd
	cd ${RD}/mfsfd && \
		mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help \
		var/empty
	@@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \
		DIR=${RD}/mfsfd/stand ZIP=false
	( cd ${RD}/mfsfd && \
	  for dir in bin sbin ; do \
		ln -sf /stand $$dir; \
	  done )
	cp ${RD}/trees/base/sbin/dhclient-script ${RD}/mfsfd/stand
	cp ${.CURDIR}/../etc/master.passwd ${RD}/mfsfd/etc/master.passwd
	cp ${RD}/trees/base/etc/*pwd.db ${RD}/mfsfd/etc/
	( for F in defaults/rc.conf netconfig protocols ; do \
		sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
		${RD}/trees/base/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \
	  done )
	grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' \
	    ${RD}/trees/base/etc/services | \
	    sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
	    > ${RD}/mfsfd/stand/etc/services
	grep 'operator' ${RD}/trees/base/etc/group \
	    > ${RD}/mfsfd/stand/etc/group
	ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services
	ln ${RD}/mfsfd/stand/etc/group ${RD}/mfsfd/etc/group
	ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig
	cp ${RD}/trees/base/COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
.endif
	-test -f ${.CURDIR}/install.cfg \
	    && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
	@@mkdir -p ${RD}/mfsfd/boot
.if ${TARGET_ARCH} != "ia64" && ${TARGET_ARCH} != "powerpc"
	@@cp ${RD}/trees/base/boot/boot* ${RD}/mfsfd/boot
.endif
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot
.endif
	@@tar --exclude CVS --exclude .svn -cf - \
		-C ${.CURDIR}/../usr.sbin/sysinstall help | \
		tar xf - -C ${RD}/mfsfd/stand
	@@mkdir -p ${RD}/mfsroot
	sh -e ${DOFS_SH} ${RD}/mfsroot/mfsroot ${RD} ${MNT} \
	    ${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@${ZIPPER} -fv ${RD}/mfsroot/mfsroot
	touch ${.TARGET}

KERNFLOPPYSET=		${RD}/floppyset/kern/kernel.gz
.if defined(SMALLFLOPPYSIZE)
SMALLKERNFLOPPYSET=	${RD}/floppyset/kern-small/kernel.gz
.endif
.if defined(SPLIT_MFSROOT)
MFSROOTFLOPPYSET=	${RD}/floppyset/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
SMALLMFSROOTFLOPPYSET=	${RD}/floppyset/mfsroot-small/mfsroot.gz
.endif
.endif

# Build boot and install floppies.
floppies.1:
	@@${ZIPPER} -c ${RD}/kernels/GENERIC/kernel > ${RD}/kernels/kernel.gz
	@@echo "Making the kernel boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=kern \
	    FLOPPYDESC="Kernel" SPLITFILE=${RD}/kernels/kernel.gz
.if defined(SMALLFLOPPYSIZE)
	@@echo "Making the small kernel boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=kern-small \
	    FLOPPYDESC="Kernel" SPLITFILE=${RD}/kernels/kernel.gz \
	    FDSIZE="SMALL"
.endif
.if defined(SPLIT_MFSROOT)
	@@echo "Making the mfsroot boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=mfsroot \
	    FLOPPYDESC="Memory Filesystem" SPLITFILE=${RD}/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
	@@echo "Making the small mfsroot boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=mfsroot-small \
	    FLOPPYDESC="Memory Filesystem" SPLITFILE=${RD}/mfsroot/mfsroot.gz \
	    FDSIZE="SMALL"
.endif
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
	    KERNFILE="${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
	    MFSROOTFILE="${MFSROOTFLOPPYSET}.split ${MFSROOTFLOPPYSET}.boot"
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot-small" \
	    KERNFILE="${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
	    MFSROOTFILE="${SMALLMFSROOTFLOPPYSET}.split ${SMALLMFSROOTFLOPPYSET}.boot" \
	    FDSIZE="SMALL"
.endif
.else	# !SPLIT_MFSROOT
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
	    KERNFILE="${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
	    MFSROOTFILE=${RD}/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot-small" \
	    KERNFILE="${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
	    MFSROOTFILE=${RD}/mfsroot/mfsroot.gz \
	    FDSIZE="SMALL"
.endif
.endif	# SPLIT_MFSROOT
	touch ${.TARGET}

# Build fixit floppy.
floppies.2:
	@@echo "Making fixit floppy."
	@@rm -rf ${RD}/fixitfd
	@@mkdir ${RD}/fixitfd
	@@cd ${RD}/fixitfd && \
	    mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
	    usr/share/misc
	@@cp ${RD}/trees/base/etc/spwd.db ${RD}/trees/base/etc/group \
	    ${RD}/fixitfd/etc
	@@sed -e 's/#.*//' ${RD}/trees/base/etc/protocols \
	    > ${RD}/fixitfd/etc/protocols
	@@sed -e 's/#.*//' ${RD}/trees/base/usr/share/misc/scsi_modes \
	    > ${RD}/fixitfd/usr/share/misc/scsi_modes
	@@cp ${.CURDIR}/fixit.profile ${RD}/fixitfd/.profile
	@@cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
	@@cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar
	@@chmod 555 ${RD}/fixitfd/stand/tar
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit-small \
	    DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit-small.flp ${RD} ${MNT} \
	    ${SMALLFLOPPYSIZE} ${RD}/fixitfd ${FLOPPYINODE} ${SMALLFLOPPYLABEL}
	@@rm -rf ${RD}/fixitfd/stand
	@@mkdir ${RD}/fixitfd/stand
.endif
	@@cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit \
	    DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit.flp ${RD} ${MNT} \
	    ${FLOPPYSIZE} ${RD}/fixitfd ${FLOPPYINODE} ${FLOPPYLABEL}
	touch ${.TARGET}

# Do our last minute floppies directory setup
floppies.3:
	@@(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5)
	@@(cd ${RD}/floppies; sha256 *.flp > CHECKSUM.SHA256)
	touch ${.TARGET}

#
# --==## Setup a suitable ftp-area ##==--
#
ftp.1:
	@@echo "Setting up FTP distribution area"
	@@mkdir -p ${FD}
	-@@ln -s . ${FD}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${FD}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
		cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
		cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
		cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
		cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
	touch ${.TARGET}

# Build a live filesystem cdrom image
cdrom.1:
	@@echo "Building CDROM live filesystem image"
	@@mkdir -p ${CD_LIVEFS}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_LIVEFS} ) ; \
		fi \
	done
.if defined(MAKE_DVD)
	@@echo "Building DVD filesystem image as well as CDROM"
	@@mkdir -p ${CD_DVD1}/${BUILDNAME}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_DVD1} ) ; \
		fi \
	done
.endif
	@@echo "Copy GENERIC kernel to boot area"
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_LIVEFS}/boot/kernel
	@@rm -f ${CD_LIVEFS}/boot/kernel/*.symbols
	@@rm -f ${CD_LIVEFS}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_LIVEFS}/.profile
	@@ln -sf /rescue ${CD_LIVEFS}/stand
	@@echo "Setting up CDROM boot area"
	@@rm -f ${CD_LIVEFS}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_LIVEFS}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_LIVEFS}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	# Break the link to device.hints so we can modify it
	@@rm -f ${CD_LIVEFS}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_LIVEFS}/boot/device.hints
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf
.if defined(MAKE_DVD)
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD1}/boot/kernel
	@@rm -f ${CD_DVD1}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD1}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD1}/.profile
	@@ln -sf /rescue ${CD_DVD1}/stand
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@rm -f ${CD_DVD1}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD1}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD1}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	@@rm -f ${CD_DVD1}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD1}/boot/device.hints
.endif
.endif
	touch ${.TARGET}

# Build disc1 and disc2 cdrom images
cdrom.2:
	@@echo "Building CDROM disc1 filesystem image"
	@@mkdir -p ${CD_DISC1}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
.endif
.if defined(SEPARATE_LIVEFS)
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_DISC1}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
.endif
	@@echo "CD_VOLUME = 1" >> ${CD_DISC1}/cdrom.inf
	@@echo "Building CDROM disc2 filesystem image"
	@@mkdir -p ${CD_DISC2}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	@@echo "CD_VOLUME = 2" >> ${CD_DISC2}/cdrom.inf
.if defined(MAKE_DVD)
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD1}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD1}/cdrom.inf
.endif
.if !defined(NODOC)
	@@echo "Building CDROM docs filesystem image"
	@@mkdir -p ${CD_DOCS}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DOCS}/cdrom.inf
	@@echo "CD_VOLUME = 3" >> ${CD_DOCS}/cdrom.inf
.endif
	touch ${.TARGET}

#
# --==## Setup a suitable cdrom-area ##==--
#
cdrom.3:
.if defined(CD_BOOT)
	@@echo "Building bootonly CDROM filesystem image"
	@@mkdir -p ${CD_BOOT}
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_BOOT}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_BOOT}/cdrom.inf
.if defined(MINIROOT)
	@@echo "Building bootonly UFS filesystem image"
	@@mkdir -p ${FD}/miniroot
	@@sh -e ${DOFS_SH} ${FD}/miniroot/miniroot.ufs \
	    ${RD} ${MNT} 0 ${CD_BOOT} 8192 auto
	@@${ZIPPER} -v ${FD}/miniroot/miniroot.ufs
.endif
.endif
	touch ${.TARGET}

.if make(iso.1)
.if defined(CD_PACKAGE_TREE)
.if exists(${CD_PACKAGE_TREE}/disc1)
CD_DISC1_PKGS=	${CD_PACKAGE_TREE}/disc1
.endif
.if exists(${CD_PACKAGE_TREE}/disc2)
CD_DISC2_PKGS=	${CD_PACKAGE_TREE}/disc2
.endif
# scripts/package-trees.sh names all discs according to the "discX"
# scheme where X is the number of the disc
.if exists(${CD_PACKAGE_TREE}/disc3)
CD_DOCS_PKGS=	${CD_PACKAGE_TREE}/disc3
.endif
.if exists(${CD_PACKAGE_TREE}/dvd1)
CD_DVD1_PKGS=	${CD_PACKAGE_TREE}/dvd1
.endif
.endif
.endif

iso.1:
.if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
	@@echo "Creating ISO images..."
.if defined(CD_BOOT)
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_bootonly \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
.endif
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
	    ${CD_DISC1_PKGS}
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
	    FreeBSD_Packages \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
	    ${CD_DISC2_PKGS}
.if defined(MAKE_DVD)
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
	    ${CD_DVD1_PKGS}
.endif
.if !defined(NODOC)
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
	    FreeBSD_Documentation \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \
	    ${CD_DOCS_PKGS}
.endif
.if defined(SEPARATE_LIVEFS)
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_LiveFS \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
.endif
	@@echo "Generating MD5 and SHA256 sums..."
	@@(cd ${CD} && md5 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
	touch ${.TARGET}
.else
	@@echo "Do not know how to create an ISO for ${TARGET}."
.endif

#
# --==## Documentation Project tools required to build the release notes ##==--
#
doc.1:
	@@echo "Making docproj tools..."
	@@for i in ${DOCPORTS}; do \
	    cd /usr/ports/$$i && \
	    env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \
		make all install clean BATCH=yes WITHOUT_X11=yes JADETEX=no \
		WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
	done
	touch ${.TARGET}

#
# --==## RELNOTESng:  Next-generation replacements for *.TXT files ##==--
#
doc.2:
	@@echo "Making release documentation..."
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' \
	    INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${RND}
	touch ${.TARGET}

# Various "subroutine" and other supporting targets.

# RD=
# SD=
# TD=
# ARG=
doTARBALL:
.if !defined(SD)
	@@echo "SD undefined in doTARBALL" && exit 1
.endif
.if !defined(TD)
	@@echo "TD undefined in doTARBALL" && exit 1
.endif
.if !defined(ARG)
	@@echo "ARG undefined in doTARBALL" && exit 1
.endif
	@@rm -rf ${RD}/dists/${TD}/${TN}*
	@@mkdir -p ${RD}/dists/${TD}
	@@( cd ${SD} && \
		tn=`echo ${TN} | tr 'A-Z' 'a-z'` && \
		echo rolling ${TD}/$$tn tarball &&\
		tar --exclude CVS --exclude .svn --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
		${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. && \
		sh ${.CURDIR}/scripts/info.sh ${RD}/dists/${TD}/$$tn \
		    > ${RD}/dists/${TD}/$$tn.inf && \
		if [ -f ${.CURDIR}/scripts/$${TD}-install.sh ]; then \
			cp -p ${.CURDIR}/scripts/$${TD}-install.sh \
			    ${RD}/dists/${TD}/install.sh && \
			chmod +x ${RD}/dists/${TD}/install.sh; \
		fi && \
		if [ "${SD}" != "/usr/src" ]; then \
			mtree -c -i -p ${SD}/${ARG} \
			  -k gname,md5digest,mode,nlink,uname,size,link,type \
			  > ${RD}/dists/${TD}/$$tn.mtree ; \
		else \
			true; \
		fi; \
		( cd ${RD}/dists/${TD}; \
		rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
		md5 * > .CHECKSUM.MD5; \
		sha256 * > .CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5; \
		mv .CHECKSUM.SHA256 CHECKSUM.SHA256) \
	)

doRELEASE: release.1 release.2 ${DOCREL} release.3 release.4 \
    release.5 release.6 release.7 release.8 ${EXTRAS}
	@@echo "Release done"

floppies:
	@@rm -f release.4 release.8 floppies.[123]
	@@cd ${.CURDIR} && ${MAKE} release.4 release.8 floppies.1 floppies.2 \
	    floppies.3
	@@cd ${RD} && find floppies -print | cpio -dumpl ${FD}

installCRUNCH:
.if !defined(CRUNCH)
	@@echo "CRUNCH undefined in installCRUNCH" && exit 1
.endif
.if !defined(DIR)
	@@echo "DIR undefined in installCRUNCH" && exit 1
.endif
.if !defined(ZIP)
	@@echo "ZIP undefined in installCRUNCH" && exit 1
.endif
	@@if ${ZIP} ; then \
		${ZIPPER} < ${RD}/crunch/${CRUNCH} > ${DIR}/${CRUNCH}_crunch ; \
	else \
		ln -f ${RD}/crunch/${CRUNCH} ${DIR}/${CRUNCH}_crunch ; \
	fi
	@@chmod 555 ${DIR}/${CRUNCH}_crunch
	@@if [ -f ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	else \
		for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	fi

#
# --==## Build a floppy set for a splitfs file ##==--
#
# FLOPPYBASE - basename of floppy image files
# FLOPPYDESC - description of floppy set
# SPLITFILE - filename of the file to split
# FDSIZE - if specified and "small", small floppy is created

.if make(makeFloppySet)
SPLITDIR=	${RD}/floppyset/${FLOPPYBASE}
.if defined(FDSIZE) && ${FDSIZE} == "SMALL"
FLPSPLITSIZE=	${SMALLFLOPPYSPLITSIZE}
FLPSIZE=	${SMALLFLOPPYSIZE}
FLPLABEL=	${SMALLFLOPPYLABEL}
.else
FLPSPLITSIZE=	${FLOPPYSPLITSIZE}
FLPSIZE=	${FLOPPYSIZE}
FLPLABEL=	${FLOPPYLABEL}
.endif
.endif

makeFloppySet:
.if !defined(FLOPPYBASE)
	@@echo "FLOPPYBASE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(FLOPPYDESC)
	@@echo "FLOPPYDESC undefined in ${.TARGET}" && exit 1
.endif
.if !defined(SPLITFILE)
	@@echo "SPLITFILE undefined in ${.TARGET}" && exit 1
.endif
	sh ${.CURDIR}/scripts/split-file.sh ${SPLITFILE} \
	    ${RD}/floppyset/${FLOPPYBASE} ${FLPSPLITSIZE} "${FLOPPYDESC}"
	( splitfile=${SPLITDIR}/`basename ${SPLITFILE}`.split ; \
	lines=`cat $${splitfile} | wc -l`; \
	lines=$$(($$lines - 1)) ; \
	for line in `jot $$lines`; do \
		file=`head -n $$(($${line} + 1)) $${splitfile} | tail -1 | cut -f 1 -d ' '` ; \
		sh -e ${DOFS_SH} ${RD}/floppies/${FLOPPYBASE}$${line}.flp \
		${RD} ${MNT} ${FLPSIZE} ${SPLITDIR}/$${file} \
		${BOOTINODE} ${FLPLABEL}; \
	done )

#
# --==## Build a boot floppy ##==--
#
# FSIMAGE - base floppy image name
# FDSIZE - if specified and "small", small floppy is created
# KERNFILE - path to kernel split file
# MFSROOTFILE - path to mfsroot split file

.if make(buildBootFloppy)
IMAGEDIR=	${RD}/image.${FSIMAGE}
BOOTDIR=	${RD}/trees/base/boot
HINTSFILE=	${BOOTDIR}/device.hints
ACPI_KO=	${RD}/kernels/GENERIC/acpi.ko
IMAGEFILE=	${RD}/floppies/${FSIMAGE}.flp
.if defined(FDSIZE) && ${FDSIZE} == "SMALL"
FLPSIZE=	${SMALLFLOPPYSIZE}
FLPLABEL=	${SMALLFLOPPYLABEL}
.else
FLPSIZE=	${FLOPPYSIZE}
FLPLABEL=	${FLOPPYLABEL}
.endif
.endif

buildBootFloppy:
.if !defined(FSIMAGE)
	@@echo "FSIMAGE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(KERNFILE)
	@@echo "KERNFILE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(MFSROOTFILE)
	@@echo "MFSROOTFILE undefined in ${.TARGET}" && exit 1
.endif
	@@echo "Running ${.TARGET} for ${FSIMAGE}"
	@@rm -rf ${IMAGEDIR}
	@@mkdir ${IMAGEDIR}
	@@echo "Setting up /boot directory for ${FSIMAGE} floppy"
	@@mkdir -p ${IMAGEDIR}/boot
.if ${TARGET_ARCH} == "i386"
	@@${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o -o \
	    ${IMAGEDIR}/boot/loader ${BOOTDIR}/loader
.else
	@@cp ${BOOTDIR}/loader ${IMAGEDIR}/boot
.endif
	@@cp -Rp ${BOOTDIR}/*.4th ${BOOTDIR}/defaults ${BOOTDIR}/loader.help \
	    ${BOOTDIR}/loader.rc ${IMAGEDIR}/boot
.if exists(${HINTSFILE})
	@@cp ${HINTSFILE} ${IMAGEDIR}/boot/device.hints
	@@${ZIPPER} ${IMAGEDIR}/boot/device.hints
.endif
	@@${ZIPPER} ${IMAGEDIR}/boot/*.4th ${IMAGEDIR}/boot/loader.help \
	    ${IMAGEDIR}/boot/defaults/loader.conf
	@@echo 'bootfile="/kernel"' > ${IMAGEDIR}/boot/loader.conf
.if exists(${ACPI_KO})
	@@${ZIPPER} -c ${ACPI_KO} > ${IMAGEDIR}/acpi.ko.gz
	@@echo 'acpi_load="YES"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'acpi_name="/acpi.ko"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'acpi_before="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
	@@echo 'mfsroot_load="YES"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'mfsroot_name="/mfsroot"' >> ${IMAGEDIR}/boot/loader.conf
.if !exists(${ACPI_KO})
	@@echo 'mfsroot_before="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
.if defined(SPLIT_MFSROOT)
	@@echo 'mfsroot_after="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
.if ${AUTO_KEYBOARD_DETECT}
	@@echo "-P" >> ${IMAGEDIR}/boot.config
.endif
.endif
	@@rm -f ${IMAGEFILE}
	@@cp ${KERNFILE} ${MFSROOTFILE} ${IMAGEDIR}
	sh -e ${DOFS_SH} ${IMAGEFILE} ${RD} ${MNT} ${FLPSIZE} ${IMAGEDIR} \
	    ${BOOTINODE} ${FLPLABEL}
	@@echo "Created ${RD}/floppies/${FSIMAGE}.flp"

.if make(package-split)
# Targets related to making a package split
#
# PKG_COPY instructs the script to copy the actual package files rather than
#     make hard links
# PKG_TREE is the path to the package tree to be split
# PKG_DEST is the path to the destination tree to create the split in
# PKG_VERBOSE asks for verbose output of the layout process
# PKG_INDEX is the path to the INDEX file. By default ${PKG_TREE}/INDEX.

.if defined(PKG_COPY)
PKG_DO_COPY=	cp
.else
PKG_DO_COPY=	ln
.endif
PKG_WRKIDX=	${PKG_DEST}/INDEX.master
PKG_ENV?=
.if defined(TARGET_ARCH)
PKG_ENV+=	PKG_ARCH=${TARGET_ARCH}
.endif
.if defined(PKG_VERBOSE)
PKG_ENV+=	PKG_VERBOSE=1
.endif
PKG_INDEX?=	${PKG_TREE}/INDEX

package-split:
.if !defined(PKG_TREE)
	@@echo "PKG_TREE must be defined" && exit 1
.endif
.if !defined(PKG_DEST)
	@@echo "PKG_DEST must be defined" && exit 1
.endif
	@@env ${PKG_ENV} python ${.CURDIR}/scripts/package-split.py \
	    ${PKG_INDEX} ${PKG_WRKIDX}
	@@env ${PKG_ENV} sh ${.CURDIR}/scripts/package-trees.sh ${PKG_DO_COPY} \
	    ${PKG_WRKIDX} ${PKG_TREE} ${PKG_DEST}
.endif

.include <bsd.obj.mk>
@


1.975.2.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248850
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.4/release/Makefile 248850 2013-03-28 20:35:37Z delphij $
d36 1
a36 1
#RELEASETAG=RELENG_8_4
d75 1
a75 1
#SVNBRANCH=releng/8.4
@


1.974
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/242897
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242897 | gjb | 2012-11-11 21:52:18 +0000 (Sun, 11 Nov 2012) | 9 lines
## SVN ##
## SVN ## Prevent including .zfs snapshot directories in the src.txz
## SVN ## distribution.  This can happen if the src/ tree checkout is
## SVN ## within its own ZFS dataset, and the 'snapdir' ZFS property
## SVN ## is set to 'visible.'
## SVN ##
## SVN ## Approved by:	hrs
## SVN ## MFC after:	3 days
## SVN ## X-MFC-To:	stable/9 only
## SVN ##
## SVN ## ------------------------------------------------------------------------
@
text
@d1 1
a1 1
# $FreeBSD: head/release/Makefile 242897 2012-11-11 21:52:18Z gjb $
d37 14
d134 1
a134 1
	ln -s /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
d159 1
a159 1
	ln -s /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
d200 6
a205 1
	cp -a ${IMAGES} ftp ${DESTDIR}/
@


1.973
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/release/Makefile 241596 2012-10-15 17:19:47Z emaste $
d86 1
a86 1
	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn \
@


1.972
log
@SVN rev 241596 on 2012-10-15 17:19:47Z by emaste

Exclude potential circular symlink

This does not occur with normal release builds but can happen when reusing
these release parts for other purposes.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.971
log
@SVN rev 241451 on 2012-10-11 18:41:32Z by emaste

Exclude potential circular symlink when creating src tarball.

Normal release builds are not affected by this but it can happen if using
these release bits against a work tree.

Sponsored by: ADARA Networks
@
text
@d87 1
a87 1
	    --exclude CVS --exclude @@ usr/src
@


1.970
log
@SVN rev 232714 on 2012-03-09 02:23:03Z by nwhitehorn

Make sure not to tar up CVS directories if this ports tree is a CVS
checkout.

PR:		bin/165868
MFC after:	5 days
@
text
@d87 1
a87 1
	    --exclude CVS usr/src
@


1.969
log
@SVN rev 232679 on 2012-03-08 01:47:12Z by hrs

- Clean up extra ${.OBJDIR}.
- Add ${IMAGE} for the supported image files.  This fixes the install target
  on FreeBSD/pc98.
- Use "mkdir -p" instead of "-mkdir" consistently.

Reviewed by:	nwhitehorn
@
text
@d93 1
@


1.968
log
@SVN rev 230127 on 2012-01-15 08:36:25Z by glebius

Restore functionality to pack several kernels into release. All
kernels specified by KERNCONF are built and packed into release.
The first one is packed into kernel.txz, all others to
kernel.CONFIG.txz.

The first one is installed on bootables in /boot.
@
text
@d35 1
a35 1
DISTDIR=	${.OBJDIR}/dist
d56 1
d59 1
d63 1
d69 2
a70 2
	-mkdir ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${DISTDIR}
d73 1
a73 1
	    "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${DISTDIR}/base"
d75 2
a76 2
	cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${DISTDIR}
	mv ${DISTDIR}/*.txz ${.OBJDIR}
d79 3
a81 3
	-mkdir ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributekernel packagekernel DISTDIR=${DISTDIR}
	mv ${DISTDIR}/kernel*.txz ${.OBJDIR}
d84 1
a84 1
	-mkdir -p ${DISTDIR}/usr
d90 1
a90 1
	-mkdir -p ${DISTDIR}/usr
d99 1
a99 1
	-mkdir ${.OBJDIR}/reldoc
d101 2
a102 4
	ln -f ${.OBJDIR}/rdoc/${RELNOTES_LANG}/${i}/article.txt \
	    ${.OBJDIR}/reldoc/${i:U}.TXT
	ln -f ${.OBJDIR}/rdoc/${RELNOTES_LANG}/${i}/article.html \
	    ${.OBJDIR}/reldoc/${i:U}.HTM
d104 1
a104 1
	cp ${.OBJDIR}/rdoc/${RELNOTES_LANG}/readme/docbook.css ${.OBJDIR}/reldoc
d108 1
a108 1
	-mkdir ${.OBJDIR}/release
d112 2
a113 3
	mkdir ${.OBJDIR}/release/usr/freebsd-dist
	cp ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST \
	    ${.OBJDIR}/release/usr/freebsd-dist
d116 1
a116 1
	cp ${.OBJDIR}/reldoc/* ${.OBJDIR}/release
d119 5
a123 5
	ln -s /tmp/bsdinstall_etc/resolv.conf ${.OBJDIR}/release/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > ${.OBJDIR}/release/etc/rc.conf
	echo hostid_enable=\"NO\" >> ${.OBJDIR}/release/etc/rc.conf
	cp ${.CURDIR}/rc.local ${.OBJDIR}/release/etc
	touch ${.OBJDIR}/${.TARGET}
d127 1
a127 1
	mkdir ${.OBJDIR}/bootonly
d137 2
a138 2
	mkdir ${.OBJDIR}/bootonly/usr/freebsd-dist
	cp ${.OBJDIR}/MANIFEST ${.OBJDIR}/bootonly/usr/freebsd-dist
d141 1
a141 1
	cp ${.OBJDIR}/reldoc/* ${.OBJDIR}/bootonly
d144 4
a147 4
	ln -s /tmp/bsdinstall_etc/resolv.conf ${.OBJDIR}/bootonly/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > ${.OBJDIR}/bootonly/etc/rc.conf
	echo hostid_enable=\"NO\" >> ${.OBJDIR}/bootonly/etc/rc.conf
	cp ${.CURDIR}/rc.local ${.OBJDIR}/bootonly/etc
d150 1
a150 1
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.OBJDIR}/release.iso ${.OBJDIR}/release
d153 1
a153 1
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.OBJDIR}/bootonly.iso ${.OBJDIR}/bootonly
d156 1
a156 1
	sh ${.CURDIR}/${TARGET}/make-memstick.sh ${.OBJDIR}/release ${.OBJDIR}/memstick
d159 1
a159 1
	sh ${.CURDIR}/scripts/make-manifest.sh ${.OBJDIR}/*.txz > ${.OBJDIR}/MANIFEST
d165 1
a165 1
	mkdir ftp
d173 1
a173 1
	chflags -R noschg ${.OBJDIR}
d182 4
a185 3
	-mkdir ${DESTDIR}
	cp -a *.iso memstick ftp ${DESTDIR}/

@


1.967
log
@SVN rev 224978 on 2011-08-18 16:54:04Z by sbruno

Allow release generation from a WORLDDIR that is not /usr/src

PR:		misc/159666
Submitted by:	Test Rat <ttsestt@@gmail.com>
Reviewed by:	Nathan Whitehorn <nwhitehorn@@freebsd.org>
Approved by:	re (kib)
@
text
@d78 1
a78 1
	mv ${DISTDIR}/kernel.txz ${.OBJDIR}
@


1.967.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.967.2.2
log
@SVN rev 230539 on 2012-01-25 13:47:55Z by glebius

Merge r230127 from head/:
  Restore functionality to pack several kernels into release. All
  kernels specified by KERNCONF are built and packed into release.
  The first one is packed into kernel.txz, all others to
  kernel.CONFIG.txz.

  The first one is installed on bootables in /boot.
@
text
@d78 1
a78 1
	mv ${DISTDIR}/kernel*.txz ${.OBJDIR}
@


1.967.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.967.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/release/Makefile 230539 2012-01-25 13:47:55Z glebius $
@


1.967.2.3
log
@SVN rev 240610 on 2012-09-17 15:45:27Z by gjb

MFC r232714 (nwhitehorn):

Make sure not to tar up CVS directories if this ports tree is a CVS
checkout.

PR:		bin/165868
@
text
@a89 1
	    --exclude CVS --exclude .svn \
@


1.967.2.4
log
@SVN rev 242388 on 2012-10-31 04:07:52Z by gjb

MFC r241451, r241596:

r241451 (emaste):
- Exclude potential circular symlink when creating src tarball.

- Normal release builds are not affected by this but it can happen if
  using these release bits against a work tree.

r241596 (emaste):
- Exclude potential circular symlink

- This does not occur with normal release builds but can happen when
  reusing these release parts for other purposes.

Approved by:	emaste
@
text
@d84 1
a84 1
	    --exclude CVS --exclude @@ --exclude usr/src/release/dist usr/src
@


1.967.2.5
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 242388 2012-10-31 04:07:52Z gjb $
@


1.967.2.6
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/243923
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r243923 | gjb | 2012-12-06 00:25:42 +0000 (Thu, 06 Dec 2012) | 6 lines
## SVN ##
## SVN ## MFC r242897:
## SVN ##  Prevent including .zfs snapshot directories in the src.txz
## SVN ##  distribution.  This can happen if the src/ tree checkout is
## SVN ##  within its own ZFS dataset, and the 'snapdir' ZFS property
## SVN ##  is set to 'visible.'
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 243923 2012-12-06 00:25:42Z gjb $
d83 1
a83 1
	cd ${DISTDIR} && tar cLvJf ${.OBJDIR}/src.txz --exclude .svn --exclude .zfs \
@


1.967.2.7
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/244646
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r244646 | hrs | 2012-12-24 00:40:21 +0000 (Mon, 24 Dec 2012) | 7 lines
## SVN ##
## SVN ## MFC: r232679:
## SVN ##
## SVN ## - Clean up extra ${.OBJDIR}.
## SVN ## - Add ${IMAGE} for the supported image files.  This fixes the install target
## SVN ##   on FreeBSD/pc98.
## SVN ## - Use "mkdir -p" instead of "-mkdir" consistently.
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 244646 2012-12-24 00:40:21Z hrs $
d35 1
a35 1
DISTDIR=	dist
a55 1
IMAGES=
a57 1
IMAGES+=	release.iso bootonly.iso
a60 1
IMAGES+=	memstick
d66 2
a67 2
	mkdir -p ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributeworld DISTDIR=${.OBJDIR}/${DISTDIR}
d70 1
a70 1
	    "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" -D "${.OBJDIR}/${DISTDIR}/base"
d72 2
a73 2
	cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR}
	mv ${DISTDIR}/*.txz .
d76 3
a78 3
	mkdir -p ${DISTDIR}
	cd ${WORLDDIR} && ${IMAKE} distributekernel packagekernel DISTDIR=${.OBJDIR}/${DISTDIR}
	mv ${DISTDIR}/kernel*.txz .
d81 1
a81 1
	mkdir -p ${DISTDIR}/usr
d87 1
a87 1
	mkdir -p ${DISTDIR}/usr
d97 1
a97 1
	mkdir -p reldoc
d99 4
a102 2
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.txt reldoc/${i:U}.TXT
	ln -f rdoc/${RELNOTES_LANG}/${i}/article.html reldoc/${i:U}.HTM
d104 1
a104 1
	cp rdoc/${RELNOTES_LANG}/readme/docbook.css reldoc
d108 1
a108 1
	mkdir -p release
d112 3
a114 2
	mkdir -p release/usr/freebsd-dist
	cp *.txz MANIFEST release/usr/freebsd-dist
d117 1
a117 1
	cp reldoc/* release
d120 5
a124 5
	ln -s /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > release/etc/rc.conf
	echo hostid_enable=\"NO\" >> release/etc/rc.conf
	cp ${.CURDIR}/rc.local release/etc
	touch ${.TARGET}
d128 1
a128 1
	mkdir -p bootonly
d138 2
a139 2
	mkdir -p bootonly/usr/freebsd-dist
	cp MANIFEST bootonly/usr/freebsd-dist
d142 1
a142 1
	cp reldoc/* bootonly
d145 4
a148 4
	ln -s /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > bootonly/etc/rc.conf
	echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
	cp ${.CURDIR}/rc.local bootonly/etc
d151 1
a151 1
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} release
d154 1
a154 1
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
d157 1
a157 1
	sh ${.CURDIR}/${TARGET}/make-memstick.sh release ${.TARGET}
d160 1
a160 1
	sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
d166 1
a166 1
	mkdir -p ftp
d174 1
a174 1
	chflags -R noschg .
d183 3
a185 4
.if defined(DESTDIR) && !empty(DESTDIR)
	mkdir -p ${DESTDIR}
.endif
	cp -a ${IMAGES} ftp ${DESTDIR}/
@


1.967.2.8
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/251812
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 251812 2013-06-16 18:27:53Z hrs $
a36 14
# Define OSRELEASE by using newvars.sh
.if !defined(OSRELEASE) || empty(OSRELEASE)
.for _V in TYPE BRANCH REVISION
${_V}!=	eval $$(awk '/^${_V}=/{print}' ${.CURDIR}/../sys/conf/newvers.sh); echo $$${_V}
.endfor
.for _V in ${TARGET_ARCH}
.if !empty(TARGET:M${_V})
OSRELEASE=	${TYPE}-${REVISION}-${BRANCH}-${TARGET}
.else
OSRELEASE=	${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
.endif
.endfor
.endif

d120 1
a120 1
	ln -fs /tmp/bsdinstall_etc/resolv.conf release/etc/resolv.conf
d145 1
a145 1
	ln -fs /tmp/bsdinstall_etc/resolv.conf bootonly/etc/resolv.conf
d186 1
a186 6
	cp -a ftp ${DESTDIR}/
.for I in ${IMAGES}
	cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}
.endfor
	cd ${DESTDIR} && sha256 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.SHA256
	cd ${DESTDIR} && md5 ${OSRELEASE}* > ${DESTDIR}/CHECKSUM.MD5
@


1.967.2.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/253462
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 253462 2013-07-19 02:54:23Z hrs $
d164 1
a164 5
release/cdrom.inf: system
	echo "CD_VERSION = ${REVISION}-${BRANCH}" > ${.TARGET}
	echo "CD_VOLUME = 1" >> ${.TARGET}

release.iso: system release/cdrom.inf
d167 1
a167 5
bootonly/cdrom.inf: bootonly
	echo "CD_VERSION = ${REVISION}-${BRANCH}" > ${.TARGET}
	echo "CD_VOLUME = 1" >> ${.TARGET}

bootonly.iso: bootonly bootonly/cdrom.inf
@


1.967.2.10
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/253632
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 253632 2013-07-25 02:43:05Z gjb $
d6 2
a7 2
#  cdrom: Builds release CD-ROM media (disc1.iso)
#  memstick: Builds memory stick image (memstick.img)
d73 1
a73 1
IMAGES+=	disc1.iso bootonly.iso
d76 2
a77 2
RELEASE_TARGETS+= memstick.img
IMAGES+=	memstick.img
d168 1
a168 2
release.iso: disc1.iso
disc1.iso: system release/cdrom.inf
d178 1
a178 2
memstick: memstick.img
memstick.img: system
d185 1
a185 1
cdrom: disc1.iso bootonly.iso
d202 1
a202 1
	rm -f disc1.iso bootonly.iso memstick.img
@


1.967.2.11
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/257837
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 257837 2013-11-08 03:02:42Z gjb $
d125 1
a125 2
		DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1 \
		WITHOUT_PROFILE=1
@


1.967.2.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/258312
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 258312 2013-11-18 17:03:11Z gjb $
a7 1
#  mini-memstick: Builds minimal memory stick image (mini-memstick.img)
a76 1
RELEASE_TARGETS+= mini-memstick.img
a77 1
IMAGES+=	mini-memstick.img
a183 4
mini-memstick: mini-memstick.img
mini-memstick.img: system
	sh ${.CURDIR}/${TARGET}/make-memstick.sh bootonly ${.TARGET}

@


1.967.2.13
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/259530
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 259530 2013-12-18 00:07:52Z gjb $
a6 1
#  dvdrom: Builds release DVD-ROM media (dvd1.iso)
a20 1
#  WITH_DVD: if set, generate dvd1.iso
d29 1
a29 4
.if !defined(TARGET) || empty(TARGET)
TARGET=		${MACHINE}
.endif
.if !defined(TARGET_ARCH) || empty(TARGET_ARCH)
d31 1
a31 1
TARGET_ARCH=	${MACHINE_ARCH}
d33 1
a33 2
TARGET_ARCH=	${TARGET}
.endif
a74 4
. if defined(WITH_DVD) && !empty(WITH_DVD)
RELEASE_TARGETS+= dvdrom
IMAGES+=	dvd1.iso
. endif
a82 4
CLEANFILES=	packagesystem *.txz MANIFEST system ${IMAGES}
CLEANDIRS=	dist ftp release bootonly dvd
beforeclean:
	chflags -R noschg .
a83 1
clean: beforeclean
a167 19
dvd:
# Install system
	mkdir -p ${.TARGET}
	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution \
		DESTDIR=${.OBJDIR}/${.TARGET} WITHOUT_RESCUE=1 WITHOUT_KERNEL_SYMBOLS=1
# Copy distfiles
	mkdir -p ${.TARGET}/usr/freebsd-dist
	cp *.txz MANIFEST ${.TARGET}/usr/freebsd-dist
# Copy documentation, if generated
.if !defined(NODOC)
	cp reldoc/* ${.TARGET}
.endif
# Set up installation environment
	ln -fs /tmp/bsdinstall_etc/resolv.conf ${.TARGET}/etc/resolv.conf
	echo sendmail_enable=\"NONE\" > ${.TARGET}/etc/rc.conf
	echo hostid_enable=\"NO\" >> ${.TARGET}/etc/rc.conf
	cp ${.CURDIR}/rc.local ${.TARGET}/etc
	touch ${.TARGET}

a175 3
dvd1.iso: dvd pkg-stage
	sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} dvd

a194 6
pkg-stage:
.if(exists(${.CURDIR}/${TARGET}/pkg-stage.conf))
	sh ${.CURDIR}/scripts/pkg-stage.sh ${.CURDIR}/${TARGET}/pkg-stage.conf \
		${REVISION}
.endif

a195 1
dvdrom: dvd1.iso
d205 9
@


1.967.2.14
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/259862
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 259862 2013-12-25 06:09:31Z gjb $
a105 2
	etcupdate extract -B -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \
	    -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
@


1.967.2.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/260115
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 260115 2013-12-31 00:21:15Z gjb $
d106 2
@


1.967.2.16
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/260891
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 260891 2014-01-19 19:49:24Z gjb $
a105 2
	etcupdate extract -B -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \
	    -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
@


1.967.2.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/262762
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 262762 2014-03-05 00:48:11Z gjb $
d121 1
a121 1
	    --exclude .git --exclude @@ --exclude usr/src/release/dist usr/src
d127 1
a127 1
	    --exclude .git --exclude .svn \
@


1.967.2.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/262878
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 262878 2014-03-07 00:28:11Z gjb $
a18 1
#  NOPKG:    if set, do not distribute third-party packages
d146 1
a146 1
		WITHOUT_PROFILE=1 WITHOUT_SENDMAIL=1 WITHOUT_ATF=1 WITHOUT_LIB32=1
d235 1
a235 1
.if !defined(NOPKG) && exists(${.CURDIR}/${TARGET}/pkg-stage.conf)
a237 3
	mkdir -p ${.OBJDIR}/dvd/packages/repos/
	cp ${.CURDIR}/scripts/FreeBSD_install_cdrom.conf \
		${.OBJDIR}/dvd/packages/repos/
a238 1
	touch ${.TARGET}
@


1.967.2.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/262879
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 262879 2014-03-07 00:38:29Z gjb $
d236 3
a238 3
.if !defined(NOPKG)
	env REPOS_DIR=${.CURDIR}/pkg_repos/ \
		sh ${.CURDIR}/scripts/pkg-stage.sh
@


1.967.2.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/263016
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 263016 2014-03-11 12:24:19Z jhay $
d108 1
a108 1
	    -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
@


1.967.2.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/264246
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/release/Makefile 264246 2014-04-08 00:54:11Z gjb $
d4 1
a4 1
#
d16 1
a16 1
#            (by default, the directory above this one)
d24 1
a24 3
#  WITH_COMPRESSED_IMAGES: if set, compress installation images with xz(1)
#		(uncompressed images are not removed)
#  TARGET/TARGET_ARCH: architecture of built release
a30 1
XZCMD?=		/usr/bin/xz
d66 1
a66 1
EXTRA_PACKAGES=
a94 5
.if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
. for I in ${IMAGES}
CLEANFILES+=	${I}.xz
. endfor
.endif
a262 3
. if defined(WITH_COMPRESSED_IMAGES) && !empty(WITH_COMPRESSED_IMAGES)
	${XZCMD} -k ${DESTDIR}/${OSRELEASE}-${I}
. endif
@


1.967.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.967.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/release/Makefile 224978 2011-08-18 16:54:04Z sbruno $
@


1.966
log
@SVN rev 223897 on 2011-07-09 23:01:54Z by nwhitehorn

Per request of the docs team, install docs as packages, instead of via
the normal distfile mechanism. Thanks to Marc Fonvieille for the patch and
for putting up with me taking entirely too long to commit this!

Submitted by:	blackend
@
text
@d69 1
a69 1
	sh ${.CURDIR}/scripts/mm-mtree.sh -F \
@


1.965
log
@SVN rev 223133 on 2011-06-15 23:56:40Z by nwhitehorn

Make the bootonly CD smaller by discarding static libraries that are not
useful without a toolchain.
@
text
@d71 1
a71 6
# Merge handbook, etc. from doc tree into src tree doc distribution
.if !defined(NODOC)
	cd ${DOCDIR} && ${IMAKE} all install \
	    DOCDIR=${DISTDIR}/doc/usr/share/doc 'FORMATS=html html-split txt' \
	    INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES
.endif
@


1.964
log
@SVN rev 223129 on 2011-06-15 23:38:15Z by nwhitehorn

Do not install the rescue tools onto the install CD. Since it is read
only, they are very unlikely to be needed and take up a great deal of
space.
@
text
@d114 1
a114 2
	    DESTDIR=${.OBJDIR}/release WITHOUT_RESCUE=1
	-rm ${.OBJDIR}/release/boot/kernel/*.symbols
d138 3
a140 2
	    WITHOUT_NCP=1 WITHOUT_TOOLCHAIN=1 WITHOUT_RESCUE=1 WITHOUT_DICT=1
	-rm ${.OBJDIR}/bootonly/boot/kernel/*.symbols
@


1.963
log
@SVN rev 222074 on 2011-05-18 17:39:28Z by nwhitehorn

As requested by many people, with final prodding from Jason Hall, fix this
so that running make release causes make obj to be run before doing
anything. This fixes a bug wherein, when run for the first time, and
without -DNOSRC, make release would attempt to recursively tar up the src
directory including its own output and enter an infinite loop.

While here, make the cross-building stuff work a little more the way it
should if only one of TARGET/TARGET_ARCH is specified.
@
text
@d113 2
a114 1
	cd ${WORLDDIR} && ${IMAKE} installkernel installworld distribution DESTDIR=${.OBJDIR}/release
@


1.962
log
@SVN rev 220776 on 2011-04-18 13:20:54Z by nwhitehorn

Mention the memstick target here.
@
text
@d28 2
a30 2
.if ${TARGET_ARCH} == ${MACHINE_ARCH}
TARGET?=	${MACHINE}
d32 1
a32 1
TARGET?=	${TARGET_ARCH}
d172 3
a174 1
release: obj ${RELEASE_TARGETS}
@


1.961
log
@SVN rev 220540 on 2011-04-11 14:30:45Z by nwhitehorn

Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
@
text
@d7 1
@


1.960
log
@SVN rev 220081 on 2011-03-27 23:46:12Z by nwhitehorn

Add infrastructure for generation of boot-only ISO images. These have a
reduced world, though still reasonably complete for fixit purposes.
@
text
@d9 1
d163 1
a163 1
	touch ${.OBJDIR}/${.TARGET}
d167 3
a169 3
	rm -rf ${.OBJDIR}/ftp
	mkdir ${.OBJDIR}/ftp
	cp ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST ${.OBJDIR}/ftp
d175 1
a175 1
	rm -rf ${.OBJDIR}/dist ${.OBJDIR}/ftp
d177 1
a177 1
	rm -f ${.OBJDIR}/*.txz ${.OBJDIR}/MANIFEST
d179 6
a184 2
	rm -rf ${.OBJDIR}/release
	rm -f ${.OBJDIR}/release.iso ${.OBJDIR}/memstick
@


1.959
log
@SVN rev 220037 on 2011-03-26 13:58:44Z by nwhitehorn

Cause the release target to set up its object directory. It is designed
to be a meta-target, and having it do this avoids it spewing files all
over the source tree by default (and possible recursive tarring if
distributing a src tarball).
@
text
@a124 1
	touch ${.OBJDIR}/release/etc/fstab
d128 23
d154 3
d164 1
a164 1
cdrom: release.iso
@


1.958
log
@SVN rev 219856 on 2011-03-22 01:14:53Z by nwhitehorn

Use labels to find release media instead of hard-coded device paths. This
makes booting more reliable (and working at all on USB sticks). While here,
move responsibility for setting up fstab into the various platform mk-*.sh
scripts.

Suggested by:	many
@
text
@d145 1
a145 1
release: ${RELEASE_TARGETS}
@


1.957
log
@SVN rev 219641 on 2011-03-14 13:47:17Z by nwhitehorn

Thanks to sysinstall for its 15 years of service. And now to sleep,
perchance to dream...
@
text
@a129 1
	echo kernel_options=\"-C\" > ${.OBJDIR}/release/boot/loader.conf
a130 1
	rm ${.OBJDIR}/release/boot/loader.conf
@


1.956
log
@SVN rev 219177 on 2011-03-02 14:39:26Z by nwhitehorn

Improve the distributeworld target in Makefile.inc1 and update the release
infrastructure to use it. make distributeworld can now be used without
preparing its environment first and installs games into its distribution
using the regular make distribute logic instead of post-processing with
a script.

Also add two new targets, packageworld and packagekernel, that tar up the
results of distributeworld and distributekernel (also new), respectively.
@
text
@d3 16
a18 3
# make release [BUILDNAME=somename] CHROOTDIR=/some/dir CVSROOT=/cvs/dir \
#     [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
#     [SVNBRANCH=some/branch]
a19 82
# Where "/some/dir" is the pathname of a directory on a some filesystem with
# at least 1000MB of free space, "somename" is what you want the release to
# call itself, "/cvs/dir" is where our source repo resides and, optionally,
# which CVS "tag" name should be used when checking out the sources to build
# the release (default is HEAD).
#
# Please note the support for building from SVN is preliminary and there
# are still questions about things like how to handle updates of
# /usr/src on production systems (csup(1) replacement).  It is a work
# in progress and may change as the other issues get worked out.
#
# Please note: the md(4) driver must be present in the kernel
# (either by being compiled in or available as a kld(4) module),
# otherwise the target 'release.8' and possibly others will fail.
#
# Note: If you add options to this file, please keep release(7) updated!
#
# Set these, release builder!
#
# Fixed version:
#BUILDNAME=9.0-CURRENT
#
# Automatic SNAP versioning:
DATE != date +%Y%m%d
BASE = 9.0
BUILDNAME?=${BASE}-${DATE}-SNAP
#
#CHROOTDIR=/junk/release
# If this is a -stable snapshot, then set
#RELEASETAG=RELENG_8
#
# To test a release with a source tree containing patches and
# other work. This tree will get copied instead of getting the
# src/ tree from a CVS checkout. For "rerelease", this will NOT
# be copied; cvs update will be used instead.
#EXTSRCDIR=/usr/src
#
# To use a checked-out ports collection directory instead of
# checking out from a local CVS repository, set this option.
#EXTPORTSDIR=/usr/ports
#
# To use a checked-out doc/ directory instead of
# checking out from a local CVS repository, set this option.
#EXTDOCDIR=/usr/doc
#
# To add other options to the CVS subcommands (co,up), set
#CVSCMDARGS="-D '01/01/2002 00:00:00 UTC'"
#
# To add other options to the CVS command, set
#CVSARGS="-lfq"
#
# To prefix the CVS command
#CVSPREFIX="/usr/bin/time"
#
# Where the CVS repository is
#CVSROOT="/home/ncvs"
#
# To add other options to the Subversion subcommands (co,up), set
#SVNCMDARGS="-r '{ 01/01/2002 00:00:00 UTC }'"
#
# To prefix the Subversion command
#SVNPREFIX="/usr/bin/time"
#
# Where the Subversion repository is
#SVNROOT=svn://svn.freebsd.org/base
#
# Subversion branch to build for src.  If this is not set then it is
# automatically computed from RELEASETAG.
#SVNBRANCH=stable/8
#
# Non-zero if ${RELEASETAG} is in the form "RELENG_ver_RELEASE"; we
# are building an official release.  Otherwise, we are building for
# a branch.
.if defined(RELEASETAG)
ISRELEASE!=	expr "${RELEASETAG}" : '^RELENG_.*_RELEASE$$' || true
.if ${ISRELEASE} != 0
# Convert "RELENG_ver_RELEASE" to "RELEASE_ver" for ports and doc trees.
AUXRELEASETAG!=	echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//'
DOCRELEASETAG?=		${AUXRELEASETAG}
PORTSRELEASETAG?=	${AUXRELEASETAG}
.endif
.endif
d21 4
a24 15
# Determine the Subversion source branch that corresponds to the requested
# RELEASETAG.
.if !defined(SVNBRANCH)
.if defined(RELEASETAG)
SVNBRANCH!=	echo "${RELEASETAG}" | awk -f ${.CURDIR}/svnbranch.awk
.else
SVNBRANCH=	head
.endif
.endif

# If you want to pass flags to the world build such as -j X, use
# WORLD_FLAGS.  Similarly, you can specify make flags for kernel
# builds via KERNEL_FLAGS.
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4
d28 1
a28 246
TARGET?=		${MACHINE}
TARGET_CPUARCH?=	${MACHINE_CPUARCH}
.else
TARGET?=		${TARGET_ARCH}
TARGET_CPUARCH?=	${TARGET_ARCH}
.endif
CROSSENV=	TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
CROSSMAKE=	${MAKE} ${CROSSENV}
NATIVEMAKE=	${MAKE} TARGET_ARCH=${MACHINE_ARCH} TARGET=${MACHINE}

# If you are using a local CVS repository with components stored in 
# non-standard modules, override these on the make commandline or
# in the environment.
RELEASESRCMODULE?=	src
RELEASEDOCMODULE?=	doc
RELEASEPORTSMODULE?=	ports

# Uncomment this to disable the doc.1 target.  Docs normally require
# the ports tree, so NOPORTS can be set together with NODOC in order
# to have neither ports or docs.  If only NOPORTS is set to YES, but
# docs are still desired, the DOMINIMALDOCPORTS logic below will only
# install the ports that are minimally required for the release note documentation.  This is
# intended as a compromise, less disk space is required than for using
# the entire ports collection (and much less time due to the huge number
# of directories it would create), but still quite a bit as well as some
# CPU cycles (some of the programs are C++, and things like ghostscript
# belong to the required ports nevertheless).
#
#NODOC=  YES
#NOPORTS=  YES

# When retrieving ports using the pkg_add -r method, set your proxies to these.
# src/release/${arch}/mkisoimages.sh can use these.
#HTTP_PROXY?=	www.example.com
#FTP_PROXY?=	ftp.example.com

# When creating ISO images, point ${CD_PACKAGE_TREE} to a directory containing
# the package split by an earlier invocation of the 'package-split' target.
#CD_PACKAGE_TREE=	/path/to/pkg

# Extra source tarballs; each argument is a pair of source dir and
# distribution name.  The dist name should not exceed 7 characters
# (another "s" for "source" will be prepended).
#EXTRA_SRC=	games/fortune fortune

# Modify this definition if you want the release notes 
# and other release documentation in a language other than English.
RELNOTES_LANG?=	en_US.ISO8859-1

# As an alternative to installing the entire ports collection (which
# can take a huge amount of time, in particular on slower disks),
# setting ${MINIMALDOCPORTS} allows to install and build just those
# ports that are really required for getting the docs up & running.
.if defined(NOPORTS) && !defined(NODOC)
DOMINIMALDOCPORTS=	YES
.include "Makefile.inc.docports"
RELEASEPORTSMODULE=	${MINIMALDOCPORTS} ports/sysutils/cdrtools
.endif

# Helper variable
.if defined(NOPORTS)
.if !defined(DOMINIMALDOCPORTS) || ${DOMINIMALDOCPORTS} != "YES"
NOPORTSATALL=	YES
.endif
.endif

#
# Doing 'make index' in /usr/ports requires Perl.
MAKEINDEXPORTS=	lang/perl5.10
DOCPORTS=	textproc/docproj
# Set this to wherever the distfiles required by release procedures.
.if defined(DOCDISTFILES)
# Respect DOCDISTFILES which is used before.
RELEASEDISTFILES?=	${DOCDISTFILES}
.else
RELEASEDISTFILES?=	${.CURDIR}/../../ports/distfiles
.endif
# Set this to 1 if you want -P to be used for automatic keyboard detection
# on the boot floppy.  WARNING: Breaks on some Athlon (K7) motherboards.
AUTO_KEYBOARD_DETECT?= 0

.if !defined(NODOC)
DIST_DOCS_ARCH_INDEP=	hardware readme relnotes errata
DIST_DOCS_ARCH_DEP=	
.endif

# Things which without too much trouble can be considered variables
# BASE_DISTS are special in that they get full /etc installation sets.
#
OTHER_DISTS?=	catpages manpages proflibs dict info
BASE_DISTS?=	base doc games ${ARCH_DISTS}
.if ${TARGET_ARCH} == "amd64" || ${TARGET_ARCH} == "powerpc64"
ARCH_DISTS?=	lib32
.endif
DISTRIBUTIONS?=	${BASE_DISTS} ${OTHER_DISTS}

#
# Build and package both GENERIC and SMP kernels if the target
# has both configuration files.  Otherwise only GENERIC is done.
#
.if ${TARGET_ARCH} == "powerpc64"
KERN_GENERIC?=	GENERIC64
.else
KERN_GENERIC?=	GENERIC
.endif

.if exists(${.CURDIR}/../sys/${TARGET}/conf/SMP)
KERNELS_BASE?=	${KERN_GENERIC} SMP
.else
KERNELS_BASE?=	${KERN_GENERIC}
.endif

# mountpoint for filesystems.
MNT=			/mnt

# Various floppy image parameters.
#

.undef MAKE_FLOPPIES
.if ${TARGET_ARCH} == "i386"
MAKE_DVD=
SEPARATE_LIVEFS=
SPLIT_MFSROOT=
.if ${TARGET} == "pc98"
MAKE_FLOPPIES=		true
SMALLFLOPPYSIZE=	1200
SMALLFLOPPYSPLITSIZE=	1152
SMALLFLOPPYLABEL=	fd1200
SPLIT_MFSROOT=
.endif
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
MFSSIZE=		4320
MFSINODE=		8000
MFSLABEL=		minimum3
.elif ${TARGET_ARCH} == "sparc64"
DISKLABEL=		sunlabel
MAKE_DVD=
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
MINIROOT=
SEPARATE_LIVEFS=
.elif ${TARGET_ARCH} == "ia64"
DISKLABEL=		""
MAKE_DVD=
MFSSIZE=		8192
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
.elif ${TARGET_ARCH} == "amd64"
MAKE_DVD=
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
SPLIT_MFSROOT=
.elif ${TARGET_ARCH} == "powerpc"
DISKLABEL=		""
MFSSIZE=		4096
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
.elif ${TARGET_ARCH} == "powerpc64"
DISKLABEL=		""
MFSSIZE=		8192
MFSINODE=		8192
MFSLABEL=		auto
SEPARATE_LIVEFS=
.endif
.if defined(NO_FLOPPIES)
.undef MAKE_FLOPPIES
.endif

.if exists(/sbin/bsdlabel)
DISKLABEL?=		bsdlabel
.else
DISKLABEL?=		disklabel
.endif

ZIPPER=			gzip -9 --no-name
ZIPNSPLIT=		${ZIPPER} -c | split -b 1392k -

# Things which may get you into trouble if you change them
MTREEFILES=		${.CURDIR}/../etc/mtree
_R?=			/R
RD=			${_R}/stage
RND=			${RD}/release.doc
FD=			${_R}/ftp
CD=			${_R}/cdrom
CD_BOOT=		${CD}/bootonly
CD_DISC1=		${CD}/disc1
CD_DISC2=		${CD}/disc2
.if defined(MAKE_DVD)
CD_DVD1=		${CD}/dvd1
.endif
.if !defined(NODOC)
CD_DOCS=		${CD}/docs
.endif
.if defined(SEPARATE_LIVEFS)
CD_LIVEFS=		${CD}/livefs
.else
CD_LIVEFS=		${CD_DISC1}
.endif
_MK?=			${CHROOTDIR}/mk

# Where the bootstrap ports (see DOCPORTS) get installed.
LOCALDIR=		/usr/local/bin

.if ${TARGET} != ${MACHINE} && ${DISKLABEL} == "bsdlabel"
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ${TARGET}
.else
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ${DISKLABEL} ""
.endif

CRUNCH_TARGETS=	boot
.if ${TARGET_ARCH} == "i386"
CRUNCH_TARGETS+=fixit
.if ${TARGET} == "pc98"
CRUNCH_TARGETS+=fixit-small
.endif
.endif

.if defined(MAKE_FLOPPIES)
EXTRAS= floppies.1
.if ${TARGET_ARCH} == "i386"
EXTRAS+= floppies.2
.endif
EXTRAS+= floppies.3
.endif
EXTRAS+= ftp.1
.if !defined(NOCDROM)
EXTRAS+= cdrom.1 cdrom.2 cdrom.3
.if defined(MAKE_ISOS)
EXTRAS+= iso.1
.endif
.if ${TARGET} == "pc98"
BOOTABLE="-G"
d30 1
a30 2
BOOTABLE="-b"
.endif
d32 2
d35 2
a36 34
.if !defined(NODOC)
DOCREL= doc.1 doc.2
.endif

.if !make(release) && !make(rerelease) && !make(package-split)
BINMAKE!=	cd ${.CURDIR}/..; ${MAKE} -V BINMAKE
WMAKEENV!=	cd ${.CURDIR}/..; \
		${BINMAKE} ${CROSSENV} -f Makefile.inc1 -V WMAKEENV
WMAKE=		${WMAKEENV} ${BINMAKE}
.endif

CVS_SRCARGS=	-P
.if defined(RELEASETAG)
CVS_SRCARGS+=	-r ${RELEASETAG}
.endif

CVS_DOCARGS=	-P
.if defined(DOCRELEASETAG)
CVS_DOCARGS+=	-r ${DOCRELEASETAG}
.endif

CVS_PORTSARGS=	-P
.if defined(PORTSRELEASETAG)
CVS_PORTSARGS+=	-r ${PORTSRELEASETAG}
.endif

WORLDDIR?=	${.CURDIR}/..

release rerelease:
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
.endif
.if !defined(NOPORTSATALL) && !defined(EXTPORTSDIR) && !defined(CVSROOT)
	@@echo "Building ports requires CVSROOT or EXTPORTSDIR" && false
d38 2
a39 216
.if !defined(NODOC) && !defined(EXTDOCDIR) && !defined(CVSROOT)
	@@echo "Building docs requires CVSROOT or EXTDOCDIR" && false
.endif
.if !defined(EXTSRCDIR) && !defined(CVSROOT) && !defined(SVNROOT)
	@@echo "The source tree requires SVNROOT, CVSROOT, or EXTSRCDIR" && false
.endif
.if defined(NOPORTSATALL) && !defined(NODOC)
	@@echo "Ports are required for building the release docs.  Either set NODOC or"
	@@echo "unset NOPORTS, or set at least DOMINIMALDOCPORTS to YES!"
	@@exit 1
.endif
.if defined(LOCAL_PATCHES) && !empty(LOCAL_PATCHES)
.for p in ${LOCAL_PATCHES}
.if !exists(${p})
	@@echo "The patch file ${p} does not exist!"
	@@exit 1
.endif
.endfor
.endif
.if defined(LOCAL_SCRIPT) && !exists(${LOCAL_SCRIPT})
	@@echo "The local script ${LOCAL_SCRIPT} does not exist!"
	@@exit 1
.endif
.if make(release)
.if exists(${CHROOTDIR})
# The first command will fail on a handful of files that have their schg
# flags set.  But it greatly speeds up the next two commands.
	# NB: clear any vestigial devfs mount, just in case
	-umount ${CHROOTDIR}/dev > /dev/null 2>&1
	-rm -rf ${CHROOTDIR} 2>/dev/null
	-chflags -R 0 ${CHROOTDIR}/.
	-rm -rf ${CHROOTDIR}
.endif
	mkdir -p ${CHROOTDIR}
	@@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
	cd ${WORLDDIR} && ${NATIVEMAKE} -DWITHOUT_GAMES -DWITHOUT_HTML -DWITHOUT_LIB32 \
	    -DWITHOUT_MAN -DWITHOUT_NLS -DWITHOUT_PROFILE installworld DESTDIR=${CHROOTDIR}
	cd ${WORLDDIR} && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
	if [ -f /etc/resolv.conf ]; then \
		cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
	fi
.if defined(EXTLOCALDIR)
	rm -rf ${CHROOTDIR}/usr/local
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTLOCALDIR} local
.endif
	rm -rf ${CHROOTDIR}/usr/src
.if defined(EXTSRCDIR)
	cd ${CHROOTDIR}/usr && \
	    cp -R -H ${EXTSRCDIR} src
.elif defined(SVNROOT)
	cd ${CHROOTDIR}/usr && \
	    ${SVNPREFIX} svn co ${SVNCMDARGS} ${SVNROOT}/${SVNBRANCH} \
	    ${RELEASESRCMODULE} 
.else
	cd ${CHROOTDIR}/usr && \
	    ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_SRCARGS} ${RELEASESRCMODULE}
.endif
.if defined(LOCAL_PATCHES) && !empty(LOCAL_PATCHES)
.for p in ${LOCAL_PATCHES}
	patch -d ${CHROOTDIR}/usr/${RELEASESRCMODULE} ${PATCH_FLAGS} < ${p}
.endfor
.endif
.if defined(LOCAL_SCRIPT)
	cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} \
	    RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT}
.endif
	rm -rf ${CHROOTDIR}/usr/ports
.if !defined(NOPORTSATALL)
.if defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTPORTSDIR} ports
	# If there are distfiles downloaded removing them
	rm -rf ports/distfiles/*
.else
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_PORTSARGS} ${RELEASEPORTSMODULE}
.endif
.endif
.if !defined(NODOC)
	rm -rf ${CHROOTDIR}/usr/doc
.if defined(EXTDOCDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTDOCDIR} doc
.else
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} \
	    co ${CVSCMDARGS} ${CVS_DOCARGS} ${RELEASEDOCMODULE}
.endif
	if [ -d ${RELEASEDISTFILES}/ ]; then \
		cp -rp ${RELEASEDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
	else \
		mkdir -p ${CHROOTDIR}/usr/ports/distfiles; \
	fi
.if !defined(NO_PREFETCHDISTFILES)
	@@cd ${.CURDIR} && ${MAKE} fetch-distfiles
.endif
.endif
.endif
.if make(rerelease)
.if !defined(RELEASENOUPDATE) && !defined(EXTSRCDIR)
.if defined(SVNROOT)
	cd ${CHROOTDIR}/usr/src && ${SVNPREFIX} svn switch ${SVNCMDARGS} \
	    ${SVNROOT}/${SVNBRANCH}
.elif !defined(RELEASETAG)
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d -A
.else
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d -r ${RELEASETAG}
.endif
	rm -f ${CHROOTDIR}/tmp/.world_done 
.if !defined(NOPORTS) && !defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr/ports && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d
	rm -f ${CHROOTDIR}/tmp/.skip_ports_index
.endif
.if defined(DOMINIMALDOCPORTS) && ${DOMINIMALDOCPORTS} == "YES"
	for i in ${MINIMALDOCPORTS}; do \
	    ( cd ${CHROOTDIR}/usr/$$i && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
		update ${CVSCMDARGS} -P -d ) ; \
	done
.endif
.if !defined(NODOC)
	cd ${CHROOTDIR}/usr/doc && ${CVSPREFIX} cvs -R ${CVSARGS} -q \
	    update ${CVSCMDARGS} -P -d
.endif
.endif
.endif
	# Add version information to those things that need it.
	if [ ! -f ${CHROOTDIR}/tmp/.world_done ]; then \
		cd ${CHROOTDIR}/usr/src/sys/conf && \
		mv newvers.sh foo && \
		sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh && \
		rm foo; \
	fi
	-test -f install.cfg && cp install.cfg ${CHROOTDIR}/usr/src/release
	echo "#!/bin/sh"			> ${_MK}
	echo "set -ex"				>> ${_MK}
	echo "trap 'umount /dev || true' 0"	>> ${_MK}
	echo "_RELTARGET=\$${1:-doRELEASE}"	>> ${_MK}
.for var in \
	AUTO_KEYBOARD_DETECT \
	BUILDNAME \
	CD_PACKAGE_TREE \
	DISTRIBUTIONS \
	DOMINIMALDOCPORTS \
	EXTRA_SRC \
	FTP_PASSIVE_MODE \
	FTP_PROXY \
	HTTP_PROXY \
	KERNELS \
	KERNELS_BASE \
	KERNEL_FLAGS \
	MAKE_DVD \
	MAKE_FLOPPIES \
	MAKE_ISOS \
	NOCDROM \
	NODOC \
	NOPORTS \
	NO_SHARED \
	NOSRC \
	NO_CPU_CFLAGS \
	NO_CPU_COPTFLAGS \
	NO_FLOPPIES \
	RELEASETAG \
	RELNOTES_LANG \
	SEPARATE_LIVEFS \
	TARGET \
	TARGET_ARCH \
	TARGET_CPUARCH \
	WORLD_FLAGS
.if defined(${var})
	echo "export ${var}=\"${${var}}\""	>> ${_MK}
.endif
.endfor
	# Don't remove this, or the build will fall over!
	echo "export RELEASEDIR=${_R}"		>> ${_MK}
	echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}"	>> ${_MK}
	echo "export MANBUILDCAT=YES"		>> ${_MK}
	# NB: these may fail if the host is running w/o devfs
	echo "umount /dev >/dev/null 2>&1 || true" >> ${_MK}
	echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true"	>> ${_MK}
	echo "if [ ! -c /dev/null ]; then" >> ${_MK}
	echo "	echo /dev/null is not a device!" >> ${_MK}
	echo "	exit 1" >> ${_MK}
	echo "fi" >> ${_MK}
	echo "if [ -x /etc/rc.d/ldconfig ]; then" >> ${_MK}
	echo "	/etc/rc.d/ldconfig start"	>> ${_MK}
	echo "else"				>> ${_MK}
	echo "	ldconfig /lib /usr/lib /usr/local/lib || true" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "if [ ! -f /tmp/.world_done ]; then" >> ${_MK}
	echo "	cd /usr/src"			>> ${_MK}
	echo "	${CROSSMAKE} ${WORLD_FLAGS} -DNO_CLEAN buildworld && \\" >> ${_MK}
	echo "	touch /tmp/.world_done || exit 1" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "if [ ! -f /tmp/.skip_ports_index ]; then" >> ${_MK}
	echo "	echo \">>> make index started on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "	for i in ${MAKEINDEXPORTS}"	>> ${_MK}
	echo "	do"			>> ${_MK}
	echo "		cd /usr/ports/\$${i}"	>> ${_MK}
	echo "		env -i HTTP_PROXY=$${HTTP_PROXY} FTP_PROXY=$${FTP_PROXY} FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
	echo "		make all install clean BATCH=yes FORCE_PKG_REGISTER=yes" >> ${_MK}
	echo "	done"				>> ${_MK}
	echo "	cd /usr/ports"			>> ${_MK}
	echo "	rm -f INDEX*"			>> ${_MK}
	echo "	make index -DINDEX_PRISTINE"	>> ${_MK}
	echo "	rm -f INDEX*.tmp"		>> ${_MK}
	echo "	touch /tmp/.skip_ports_index"	>> ${_MK}
	echo "	echo \">>> make index finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "cd /usr/src/release"		>> ${_MK}
	echo "make obj"				>> ${_MK}
	echo "make \$${_RELTARGET}"		>> ${_MK}
	echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	chmod 755 ${_MK}
.if defined(NOPORTS)
	touch ${CHROOTDIR}/tmp/.skip_ports_index
a40 4
	# Ensure md.ko is loaded if md(4) is not statically compiled into 
	# the kernel
	-mdconfig 2>/dev/null
	env -i /usr/sbin/chroot `dirname ${_MK}` /`basename ${_MK}`
d42 1
a42 125
clean:
	rm -rf ${CRUNCH_TARGETS:S/$/_crunch/} release.[0-8] ${EXTRAS}

fetch-distfiles:
	@@for i in ${MAKEINDEXPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			checksum-recursive ; \
	done
	@@for i in ${DOCPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
			checksum-recursive ; \
	done

# Clean out ${_R} and make the directory structure.
release.1:
	mkdir -p ${_R}
	-rm -rf ${_R}/* 2> /dev/null
	-chflags -R noschg ${_R}/.
	rm -rf ${_R}/*
	mkdir ${RD}
.if defined(MAKE_FLOPPIES)
	mkdir ${RD}/floppies
.endif
	mkdir ${RD}/trees
	for i in ${DISTRIBUTIONS}; do \
		mkdir ${RD}/trees/$$i && \
		mtree -deU -f ${MTREEFILES}/BSD.root.dist \
		    -p ${RD}/trees/$$i > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
		    -p ${RD}/trees/$$i/usr > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.include.dist \
		    -p ${RD}/trees/$$i/usr/include > /dev/null; \
	done
	mkdir ${RD}/kernels
	for i in ${KERNELS_BASE} ${KERNELS}; do \
		mkdir -p ${RD}/kernels/$${i}; \
	done
	touch ${.TARGET}

# Install the system into the various distributions.
release.2:
	cd ${.CURDIR}/.. && ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base
	cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \
	    DISTDIR=${RD}/trees
	sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D "${RD}/trees/base"
	touch ${.TARGET}

# Make and install the generic kernel(s).
release.3:
.for kernel in ${KERNELS_BASE} ${KERNELS}
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} \
 	    KERNCONF=${kernel} kernel \
 	    DESTDIR=${RD}/kernels KODIR=/${kernel}
.endfor
	touch ${.TARGET}

# Make and install the three crunched binaries which live on the floppies.
# You are not supposed to like this :-)
release.4:
	rm -rf ${RD}/crunch
	mkdir -p ${RD}/crunch
.for j in ${CRUNCH_TARGETS}
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
	rm -rf ${j}_crunch
	mkdir ${j}_crunch
	cd ${j}_crunch; ${WMAKEENV} MAKEFLAGS="-m ${.CURDIR}/../share/mk" \
	    NO_WERROR= crunchgen -o \
	    ${.CURDIR}/${TARGET}/${j}_crunch.conf
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
	cd ${.CURDIR}/..; ${BINMAKE} -f Makefile.inc1 _build-tools
	cd ${j}_crunch; CFLAGS="-Os -pipe" ${WMAKE} -f ${j}_crunch.mk \
	    -DNO_CPU_CFLAGS all
	${WMAKEENV} strip -R .comment ${j}_crunch/${j}_crunch
	mv ${j}_crunch/${j}_crunch ${RD}/crunch/${j}
.endif
.endfor
	touch ${.TARGET}

#
# --==## Fix up the distributions. ##==--
#
release.5:
	# Create any "synthetic dists" now.
	@@for i in ${DISTRIBUTIONS}; do \
		if [ -f ${.CURDIR}/scripts/$${i}-make.sh ]; then \
			echo -n "Running $$i dist creation script... "; \
			env RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
			echo "Done."; \
		fi \
	done \

	# Remove all the directories we don't need.
	-cd ${RD}/trees && \
		(find ${OTHER_DISTS} -path '*/var/empty' | xargs chflags noschg; \
		find ${OTHER_DISTS} -depth -type d -empty -delete)
	touch ${.TARGET}

#
# --==## Package up the tarballs from assembled trees ##==--
#
release.6:
	rm -rf ${RD}/dists
	mkdir -p ${RD}/dists
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/trees/$${i} \
				TN=$$i TD=$$i ARG="." && \
			echo "$${i} distribution is finished."; \
		fi ; \
	done
	@@for i in ${KERNELS_BASE} ${KERNELS} ; \
	do \
		if [ -d ${RD}/kernels/$${i} ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/kernels \
				TN=$$i TD=kernels ARG="$$i" && \
			echo "$${i} distribution is finished."; \
		fi ; \
	done
d44 1
a44 14
	# XXX: Inline stripped version of doTARBALL
	@@rm -rf ${RD}/dists/ports/ports*
	@@mkdir -p ${RD}/dists/ports
	@@echo rolling ports/ports tarball
	@@tar --exclude CVS --exclude .svn --exclude 'ports/distfiles/*' \
	  -czf ${RD}/dists/ports/ports.tgz -C /usr ports
	@@cp ${.CURDIR}/scripts/ports-install.sh ${RD}/dists/ports/install.sh
	@@(cd ${RD}/dists/ports; \
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
	@@echo "ports distribution is finished."
a45 7
	touch ${.TARGET}


#
# --==## Make source dists ##==--
#
release.7:
d47 1
a47 27
	@@cd ${.CURDIR} && $(MAKE) doTARBALL SD=/usr/src \
		TD=src TN=sbase ARG="[A-Z]*"
	@@for i in `cd /usr/src && echo [a-z]*` ; do \
		if [ -d /usr/src/$$i ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				TN=`echo s$$i | tr -d '.' | \
				    sed -e 's/usr/u/' \
					-e 's/kerberos5/krb5/'` \
				SD=/usr/src TD=src ARG="$$i" ; \
		fi ; \
	done
.if defined(EXTRA_SRC)
	@@set ${EXTRA_SRC} && \
	while [ $$# -ge 2 ] ; do \
		if [ -d /usr/src/$$1 ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=/usr/src TN="s$$2" TD=src ARG="$$1" ; \
		fi && shift && shift ; \
	done
.endif
	(cd ${RD}/dists/src; \
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
	@@echo "src distribution is finished."
a48 33
	touch ${.TARGET}

# Build the memory root filesystem.
release.8:
	cp ${RD}/trees/base/etc/disktab /etc
	rm -rf ${RD}/mfsfd
	mkdir ${RD}/mfsfd
	cd ${RD}/mfsfd && \
		mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help \
		var/empty
	@@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \
		DIR=${RD}/mfsfd/stand ZIP=false
	( cd ${RD}/mfsfd && \
	  for dir in bin sbin ; do \
		ln -sf /stand $$dir; \
	  done )
	cp ${RD}/trees/base/sbin/dhclient-script ${RD}/mfsfd/stand
	cp ${.CURDIR}/../etc/master.passwd ${RD}/mfsfd/etc/master.passwd
	cp ${RD}/trees/base/etc/*pwd.db ${RD}/mfsfd/etc/
	( for F in defaults/rc.conf netconfig protocols ; do \
		sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
		${RD}/trees/base/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \
	  done )
	grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' \
	    ${RD}/trees/base/etc/services | \
	    sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
	    > ${RD}/mfsfd/stand/etc/services
	grep 'operator' ${RD}/trees/base/etc/group \
	    > ${RD}/mfsfd/stand/etc/group
	ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services
	ln ${RD}/mfsfd/stand/etc/group ${RD}/mfsfd/etc/group
	ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig
	cp ${RD}/trees/base/COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
d50 1
a50 14
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
.endif
	-test -f ${.CURDIR}/install.cfg \
	    && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
	@@mkdir -p ${RD}/mfsfd/boot
.if ${TARGET_ARCH} != "ia64" && ${TARGET_CPUARCH} != "powerpc"
	@@cp ${RD}/trees/base/boot/boot* ${RD}/mfsfd/boot
a51 11
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot
.endif
	@@tar --exclude CVS --exclude .svn -cf - \
		-C ${.CURDIR}/../usr.sbin/sysinstall help | \
		tar xf - -C ${RD}/mfsfd/stand
	@@mkdir -p ${RD}/mfsroot
	sh -e ${DOFS_SH} ${RD}/mfsroot/mfsroot ${RD} ${MNT} \
	    ${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@${ZIPPER} -fv ${RD}/mfsroot/mfsroot
	touch ${.TARGET}
d53 3
a55 8
KERNFLOPPYSET=		${RD}/floppyset/kern/kernel.gz
.if defined(SMALLFLOPPYSIZE)
SMALLKERNFLOPPYSET=	${RD}/floppyset/kern-small/kernel.gz
.endif
.if defined(SPLIT_MFSROOT)
MFSROOTFLOPPYSET=	${RD}/floppyset/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
SMALLMFSROOTFLOPPYSET=	${RD}/floppyset/mfsroot-small/mfsroot.gz
d57 2
d61 1
a61 43
# Build boot and install floppies.
floppies.1:
	@@${ZIPPER} -c ${RD}/kernels/${KERN_GENERIC}/kernel > ${RD}/kernels/kernel.gz
	@@echo "Making the kernel boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=kern \
	    FLOPPYDESC="Kernel" SPLITFILE=${RD}/kernels/kernel.gz
.if defined(SMALLFLOPPYSIZE)
	@@echo "Making the small kernel boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=kern-small \
	    FLOPPYDESC="Kernel" SPLITFILE=${RD}/kernels/kernel.gz \
	    FDSIZE="SMALL"
.endif
.if defined(SPLIT_MFSROOT)
	@@echo "Making the mfsroot boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=mfsroot \
	    FLOPPYDESC="Memory Filesystem" SPLITFILE=${RD}/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
	@@echo "Making the small mfsroot boot floppies..."
	@@cd ${.CURDIR} && ${MAKE} makeFloppySet FLOPPYBASE=mfsroot-small \
	    FLOPPYDESC="Memory Filesystem" SPLITFILE=${RD}/mfsroot/mfsroot.gz \
	    FDSIZE="SMALL"
.endif
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
	    KERNFILE="${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
	    MFSROOTFILE="${MFSROOTFLOPPYSET}.split ${MFSROOTFLOPPYSET}.boot"
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot-small" \
	    KERNFILE="${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
	    MFSROOTFILE="${SMALLMFSROOTFLOPPYSET}.split ${SMALLMFSROOTFLOPPYSET}.boot" \
	    FDSIZE="SMALL"
.endif
.else	# !SPLIT_MFSROOT
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
	    KERNFILE="${KERNFLOPPYSET}.split ${KERNFLOPPYSET}.boot" \
	    MFSROOTFILE=${RD}/mfsroot/mfsroot.gz
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot-small" \
	    KERNFILE="${SMALLKERNFLOPPYSET}.split ${SMALLKERNFLOPPYSET}.boot" \
	    MFSROOTFILE=${RD}/mfsroot/mfsroot.gz \
	    FDSIZE="SMALL"
.endif
.endif	# SPLIT_MFSROOT
	touch ${.TARGET}
d63 44
a106 31
# Build fixit floppy.
floppies.2:
	@@echo "Making fixit floppy."
	@@rm -rf ${RD}/fixitfd
	@@mkdir ${RD}/fixitfd
	@@cd ${RD}/fixitfd && \
	    mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
	    usr/share/misc
	@@cp ${RD}/trees/base/etc/spwd.db ${RD}/trees/base/etc/group \
	    ${RD}/fixitfd/etc
	@@sed -e 's/#.*//' ${RD}/trees/base/etc/protocols \
	    > ${RD}/fixitfd/etc/protocols
	@@sed -e 's/#.*//' ${RD}/trees/base/usr/share/misc/scsi_modes \
	    > ${RD}/fixitfd/usr/share/misc/scsi_modes
	@@cp ${.CURDIR}/fixit.profile ${RD}/fixitfd/.profile
	@@cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
	@@cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar
	@@chmod 555 ${RD}/fixitfd/stand/tar
.if defined(SMALLFLOPPYSIZE)
	@@cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit-small \
	    DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit-small.flp ${RD} ${MNT} \
	    ${SMALLFLOPPYSIZE} ${RD}/fixitfd ${FLOPPYINODE} ${SMALLFLOPPYLABEL}
	@@rm -rf ${RD}/fixitfd/stand
	@@mkdir ${RD}/fixitfd/stand
.endif
	@@cd ${.CURDIR} && ${MAKE} installCRUNCH CRUNCH=fixit \
	    DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit.flp ${RD} ${MNT} \
	    ${FLOPPYSIZE} ${RD}/fixitfd ${FLOPPYINODE} ${FLOPPYLABEL}
	touch ${.TARGET}
d108 38
a145 5
# Do our last minute floppies directory setup
floppies.3:
	@@(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5)
	@@(cd ${RD}/floppies; sha256 *.flp > CHECKSUM.SHA256)
	touch ${.TARGET}
d147 1
a147 28
#
# --==## Setup a suitable ftp-area ##==--
#
ftp.1:
	@@echo "Setting up FTP distribution area"
	@@mkdir -p ${FD}
	-@@ln -s . ${FD}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${FD}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
		cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
		cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
		cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
		cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
		    ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
	touch ${.TARGET}
d149 8
a156 60
# Build a live filesystem cdrom image
cdrom.1:
	@@echo "Building CDROM live filesystem image"
	@@mkdir -p ${CD_LIVEFS}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_LIVEFS} ) ; \
		fi \
	done
.if defined(MAKE_DVD)
	@@echo "Building DVD filesystem image as well as CDROM"
	@@mkdir -p ${CD_DVD1}/${BUILDNAME}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_DVD1} ) ; \
		fi \
	done
.endif
	@@echo "Copy GENERIC kernel to boot area"
	@@cp -Rp ${RD}/kernels/${KERN_GENERIC}/ ${CD_LIVEFS}/boot/kernel
	@@rm -f ${CD_LIVEFS}/boot/kernel/*.symbols
	@@rm -f ${CD_LIVEFS}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_LIVEFS}/.profile
	@@ln -sf /rescue ${CD_LIVEFS}/stand
	@@echo "Setting up CDROM boot area"
	@@rm -f ${CD_LIVEFS}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_LIVEFS}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_LIVEFS}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	# Break the link to device.hints so we can modify it
	@@rm -f ${CD_LIVEFS}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_LIVEFS}/boot/device.hints
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf
.if defined(MAKE_DVD)
	@@cp -Rp ${RD}/kernels/${KERN_GENERIC}/ ${CD_DVD1}/boot/kernel
	@@rm -f ${CD_DVD1}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD1}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD1}/.profile
	@@ln -sf /rescue ${CD_DVD1}/stand
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@rm -f ${CD_DVD1}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD1}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD1}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	@@rm -f ${CD_DVD1}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD1}/boot/device.hints
.endif
.endif
	touch ${.TARGET}
a157 406
# Build disc1 and disc2 cdrom images
cdrom.2:
	@@echo "Building CDROM disc1 filesystem image"
	@@mkdir -p ${CD_DISC1}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
.endif
.if defined(SEPARATE_LIVEFS)
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_DISC1}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
.endif
	@@echo "CD_VOLUME = 1" >> ${CD_DISC1}/cdrom.inf
	@@echo "Building CDROM disc2 filesystem image"
	@@mkdir -p ${CD_DISC2}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	@@echo "CD_VOLUME = 2" >> ${CD_DISC2}/cdrom.inf
.if defined(MAKE_DVD)
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD1}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD1}/cdrom.inf
.endif
.if !defined(NODOC)
	@@echo "Building CDROM docs filesystem image"
	@@mkdir -p ${CD_DOCS}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DOCS}/cdrom.inf
	@@echo "CD_VOLUME = 3" >> ${CD_DOCS}/cdrom.inf
.endif
	touch ${.TARGET}

#
# --==## Setup a suitable cdrom-area ##==--
#
cdrom.3:
.if defined(CD_BOOT)
	@@echo "Building bootonly CDROM filesystem image"
	@@mkdir -p ${CD_BOOT}
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_BOOT}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_BOOT}/cdrom.inf
.if defined(MINIROOT)
	@@echo "Building bootonly UFS filesystem image"
	@@mkdir -p ${FD}/miniroot
	@@sh -e ${DOFS_SH} ${FD}/miniroot/miniroot.ufs \
	    ${RD} ${MNT} 0 ${CD_BOOT} 8192 auto
	@@${ZIPPER} -v ${FD}/miniroot/miniroot.ufs
.endif
.endif
	touch ${.TARGET}

.if make(iso.1)
.if defined(CD_PACKAGE_TREE)
.if exists(${CD_PACKAGE_TREE}/disc1)
CD_DISC1_PKGS=	${CD_PACKAGE_TREE}/disc1
.endif
.if exists(${CD_PACKAGE_TREE}/disc2)
CD_DISC2_PKGS=	${CD_PACKAGE_TREE}/disc2
.endif
# scripts/package-trees.sh names all discs according to the "discX"
# scheme where X is the number of the disc
.if exists(${CD_PACKAGE_TREE}/disc3)
CD_DOCS_PKGS=	${CD_PACKAGE_TREE}/disc3
.endif
.if exists(${CD_PACKAGE_TREE}/dvd1)
CD_DVD1_PKGS=	${CD_PACKAGE_TREE}/dvd1
.endif
.endif
.endif

iso.1:
.if exists(${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh)
	@@echo "Creating ISO images..."
.if defined(CD_BOOT)
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_bootonly \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
.endif
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
	    ${CD_DISC1_PKGS}
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh \
	    FreeBSD_Packages \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
	    ${CD_DISC2_PKGS}
.if defined(MAKE_DVD)
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
	    ${CD_DVD1_PKGS}
.endif
.if !defined(NODOC)
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh \
	    FreeBSD_Documentation \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \
	    ${CD_DOCS_PKGS}
.endif
.if defined(SEPARATE_LIVEFS)
	@@sh ${.CURDIR}/${TARGET_CPUARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_LiveFS \
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
.endif
	@@echo "Generating MD5 and SHA256 sums..."
	@@(cd ${CD} && md5 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
	touch ${.TARGET}
.else
	@@echo "Do not know how to create an ISO for ${TARGET_CPUARCH}."
.endif

#
# --==## Documentation Project tools required to build the release notes ##==--
#
doc.1:
	@@echo "Making docproj tools..."
	@@for i in ${DOCPORTS}; do \
	    cd /usr/ports/$$i && \
	    env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \
		make all install clean BATCH=yes WITHOUT_X11=yes JADETEX=no \
		WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
	done
	touch ${.TARGET}

#
# --==## RELNOTESng:  Next-generation replacements for *.TXT files ##==--
#
doc.2:
	@@echo "Making release documentation..."
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' \
	    INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=${RND}
	touch ${.TARGET}

# Various "subroutine" and other supporting targets.

# RD=
# SD=
# TD=
# ARG=
doTARBALL:
.if !defined(SD)
	@@echo "SD undefined in doTARBALL" && exit 1
.endif
.if !defined(TD)
	@@echo "TD undefined in doTARBALL" && exit 1
.endif
.if !defined(ARG)
	@@echo "ARG undefined in doTARBALL" && exit 1
.endif
	@@rm -rf ${RD}/dists/${TD}/${TN}*
	@@mkdir -p ${RD}/dists/${TD}
	@@( cd ${SD} && \
		tn=`echo ${TN} | tr 'A-Z' 'a-z'` && \
		echo rolling ${TD}/$$tn tarball &&\
		tar --exclude CVS --exclude .svn --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
		${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. && \
		sh ${.CURDIR}/scripts/info.sh ${RD}/dists/${TD}/$$tn \
		    > ${RD}/dists/${TD}/$$tn.inf && \
		if [ -f ${.CURDIR}/scripts/$${TD}-install.sh ]; then \
			cp -p ${.CURDIR}/scripts/$${TD}-install.sh \
			    ${RD}/dists/${TD}/install.sh && \
			chmod +x ${RD}/dists/${TD}/install.sh; \
		fi && \
		if [ "${SD}" != "/usr/src" ]; then \
			mtree -c -i -p ${SD}/${ARG} \
			  -k gname,md5digest,mode,nlink,uname,size,link,type \
			  > ${RD}/dists/${TD}/$$tn.mtree ; \
		else \
			true; \
		fi; \
		( cd ${RD}/dists/${TD}; \
		rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
		md5 * > .CHECKSUM.MD5; \
		sha256 * > .CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5; \
		mv .CHECKSUM.SHA256 CHECKSUM.SHA256) \
	)

doRELEASE: release.1 release.2 ${DOCREL} release.3 release.4 \
    release.5 release.6 release.7 release.8 ${EXTRAS}
	@@echo "Release done"

floppies:
	@@rm -f release.4 release.8 floppies.[123]
	@@cd ${.CURDIR} && ${MAKE} release.4 release.8 floppies.1 floppies.2 \
	    floppies.3
	@@cd ${RD} && find floppies -print | cpio -dumpl ${FD}

installCRUNCH:
.if !defined(CRUNCH)
	@@echo "CRUNCH undefined in installCRUNCH" && exit 1
.endif
.if !defined(DIR)
	@@echo "DIR undefined in installCRUNCH" && exit 1
.endif
.if !defined(ZIP)
	@@echo "ZIP undefined in installCRUNCH" && exit 1
.endif
	@@if ${ZIP} ; then \
		${ZIPPER} < ${RD}/crunch/${CRUNCH} > ${DIR}/${CRUNCH}_crunch ; \
	else \
		ln -f ${RD}/crunch/${CRUNCH} ${DIR}/${CRUNCH}_crunch ; \
	fi
	@@chmod 555 ${DIR}/${CRUNCH}_crunch
	@@if [ -f ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	else \
		for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	fi

#
# --==## Build a floppy set for a splitfs file ##==--
#
# FLOPPYBASE - basename of floppy image files
# FLOPPYDESC - description of floppy set
# SPLITFILE - filename of the file to split
# FDSIZE - if specified and "small", small floppy is created

.if make(makeFloppySet)
SPLITDIR=	${RD}/floppyset/${FLOPPYBASE}
.if defined(FDSIZE) && ${FDSIZE} == "SMALL"
FLPSPLITSIZE=	${SMALLFLOPPYSPLITSIZE}
FLPSIZE=	${SMALLFLOPPYSIZE}
FLPLABEL=	${SMALLFLOPPYLABEL}
.else
FLPSPLITSIZE=	${FLOPPYSPLITSIZE}
FLPSIZE=	${FLOPPYSIZE}
FLPLABEL=	${FLOPPYLABEL}
.endif
.endif

makeFloppySet:
.if !defined(FLOPPYBASE)
	@@echo "FLOPPYBASE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(FLOPPYDESC)
	@@echo "FLOPPYDESC undefined in ${.TARGET}" && exit 1
.endif
.if !defined(SPLITFILE)
	@@echo "SPLITFILE undefined in ${.TARGET}" && exit 1
.endif
	sh ${.CURDIR}/scripts/split-file.sh ${SPLITFILE} \
	    ${RD}/floppyset/${FLOPPYBASE} ${FLPSPLITSIZE} "${FLOPPYDESC}"
	( splitfile=${SPLITDIR}/`basename ${SPLITFILE}`.split ; \
	lines=`cat $${splitfile} | wc -l`; \
	lines=$$(($$lines - 1)) ; \
	for line in `jot $$lines`; do \
		file=`head -n $$(($${line} + 1)) $${splitfile} | tail -1 | cut -f 1 -d ' '` ; \
		sh -e ${DOFS_SH} ${RD}/floppies/${FLOPPYBASE}$${line}.flp \
		${RD} ${MNT} ${FLPSIZE} ${SPLITDIR}/$${file} \
		${BOOTINODE} ${FLPLABEL}; \
	done )

#
# --==## Build a boot floppy ##==--
#
# FSIMAGE - base floppy image name
# FDSIZE - if specified and "small", small floppy is created
# KERNFILE - path to kernel split file
# MFSROOTFILE - path to mfsroot split file

.if make(buildBootFloppy)
IMAGEDIR=	${RD}/image.${FSIMAGE}
BOOTDIR=	${RD}/trees/base/boot
HINTSFILE=	${BOOTDIR}/device.hints
ACPI_KO=	${RD}/kernels/${KERN_GENERIC}/acpi.ko
IMAGEFILE=	${RD}/floppies/${FSIMAGE}.flp
.if defined(FDSIZE) && ${FDSIZE} == "SMALL"
FLPSIZE=	${SMALLFLOPPYSIZE}
FLPLABEL=	${SMALLFLOPPYLABEL}
.else
FLPSIZE=	${FLOPPYSIZE}
FLPLABEL=	${FLOPPYLABEL}
.endif
.endif

buildBootFloppy:
.if !defined(FSIMAGE)
	@@echo "FSIMAGE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(KERNFILE)
	@@echo "KERNFILE undefined in ${.TARGET}" && exit 1
.endif
.if !defined(MFSROOTFILE)
	@@echo "MFSROOTFILE undefined in ${.TARGET}" && exit 1
.endif
	@@echo "Running ${.TARGET} for ${FSIMAGE}"
	@@rm -rf ${IMAGEDIR}
	@@mkdir ${IMAGEDIR}
	@@echo "Setting up /boot directory for ${FSIMAGE} floppy"
	@@mkdir -p ${IMAGEDIR}/boot
.if ${TARGET_ARCH} == "i386"
	@@${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o -o \
	    ${IMAGEDIR}/boot/loader ${BOOTDIR}/loader
.else
	@@cp ${BOOTDIR}/loader ${IMAGEDIR}/boot
.endif
	@@cp -Rp ${BOOTDIR}/*.4th ${BOOTDIR}/defaults ${BOOTDIR}/loader.help \
	    ${BOOTDIR}/loader.rc ${IMAGEDIR}/boot
.if exists(${HINTSFILE})
	@@cp ${HINTSFILE} ${IMAGEDIR}/boot/device.hints
	@@${ZIPPER} ${IMAGEDIR}/boot/device.hints
.endif
	@@${ZIPPER} ${IMAGEDIR}/boot/*.4th ${IMAGEDIR}/boot/loader.help \
	    ${IMAGEDIR}/boot/defaults/loader.conf
	@@echo 'bootfile="/kernel"' > ${IMAGEDIR}/boot/loader.conf
.if exists(${ACPI_KO})
	@@${ZIPPER} -c ${ACPI_KO} > ${IMAGEDIR}/acpi.ko.gz
	@@echo 'acpi_load="YES"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'acpi_name="/acpi.ko"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'acpi_before="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
	@@echo 'mfsroot_load="YES"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${IMAGEDIR}/boot/loader.conf
	@@echo 'mfsroot_name="/mfsroot"' >> ${IMAGEDIR}/boot/loader.conf
.if !exists(${ACPI_KO})
	@@echo 'mfsroot_before="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
.if defined(SPLIT_MFSROOT)
	@@echo 'mfsroot_after="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
.if ${AUTO_KEYBOARD_DETECT}
	@@echo "-P" >> ${IMAGEDIR}/boot.config
.endif
.endif
	@@rm -f ${IMAGEFILE}
	@@cp ${KERNFILE} ${MFSROOTFILE} ${IMAGEDIR}
	sh -e ${DOFS_SH} ${IMAGEFILE} ${RD} ${MNT} ${FLPSIZE} ${IMAGEDIR} \
	    ${BOOTINODE} ${FLPLABEL}
	@@echo "Created ${RD}/floppies/${FSIMAGE}.flp"

.if make(package-split)
# Targets related to making a package split
#
# PKG_COPY instructs the script to copy the actual package files rather than
#     make hard links
# PKG_TREE is the path to the package tree to be split
# PKG_DEST is the path to the destination tree to create the split in
# PKG_VERBOSE asks for verbose output of the layout process
# PKG_INDEX is the path to the INDEX file. By default ${PKG_TREE}/INDEX.

.if defined(PKG_COPY)
PKG_DO_COPY=	cp
.else
PKG_DO_COPY=	ln
.endif
PKG_WRKIDX=	${PKG_DEST}/INDEX.master
PKG_ENV?=
.if defined(TARGET_ARCH)
PKG_ENV+=	PKG_ARCH=${TARGET_ARCH}
.endif
.if defined(PKG_VERBOSE)
PKG_ENV+=	PKG_VERBOSE=1
.endif
PKG_INDEX?=	${PKG_TREE}/INDEX

package-split:
.if !defined(PKG_TREE)
	@@echo "PKG_TREE must be defined" && exit 1
.endif
.if !defined(PKG_DEST)
	@@echo "PKG_DEST must be defined" && exit 1
.endif
	@@env ${PKG_ENV} python ${.CURDIR}/scripts/package-split.py \
	    ${PKG_INDEX} ${PKG_WRKIDX}
	@@env ${PKG_ENV} sh ${.CURDIR}/scripts/package-trees.sh ${PKG_DO_COPY} \
	    ${PKG_WRKIDX} ${PKG_TREE} ${PKG_DEST}
.endif

.include <bsd.obj.mk>
@


1.955
log
@SVN rev 210097 on 2010-07-15 01:48:30Z by nwhitehorn

Get powerpc64 install CDs a little closer: some powerpc things should be
used on powerpc64 as well (build scripts, for instance), and the MFS root
must be adjusted upward on powerpc64 as well.

This doesn't completely solve things: sysinstall stil needs some
persuasion to deal with a default kernel named GENERIC64.
@
text
@d197 2
a198 2
OTHER_DISTS?=	catpages manpages games proflibs dict info doc ${ARCH_DISTS}
BASE_DISTS?=	base
d650 1
a650 3
		    -p ${RD}/trees/$$i/usr/include > /dev/null && \
		mtree -deU -f ${MTREEFILES}/BSD.var.dist \
		    -p ${RD}/trees/$$i/var > /dev/null ; \
@


1.954
log
@SVN rev 210024 on 2010-07-13 21:19:59Z by nwhitehorn

Connect powerpc64 to the build. It is not presently part of make universe,
which will be added soon.

Reviewed by:	imp
@
text
@d108 2
a109 1
TARGET?=	${MACHINE}
d111 2
a112 1
TARGET?=	${TARGET_ARCH}
d199 1
a199 1
.if ${TARGET_ARCH} == "amd64"
d279 6
d561 1
d841 1
a841 1
.if ${TARGET_ARCH} != "ia64" && ${TARGET_ARCH} != "powerpc"
d1141 1
a1141 1
.if exists(${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh)
d1144 1
a1144 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d1148 1
a1148 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d1152 1
a1152 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
d1157 1
a1157 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d1163 1
a1163 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
d1169 1
a1169 1
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d1178 1
a1178 1
	@@echo "Do not know how to create an ISO for ${TARGET_ARCH}."
@


1.953
log
@SVN rev 206423 on 2010-04-09 14:27:17Z by kensmith

Shift the version of perl used by the release build process over to
perl-5.10.  This aligns the release build process with the current
default version of perl in the ports tree.

I'll MFC this to all active branches.

MFC after:	3 days
@
text
@d206 6
d213 1
a213 1
KERNELS_BASE?=	GENERIC SMP
d215 1
a215 1
KERNELS_BASE?=	GENERIC
d860 1
a860 1
	@@${ZIPPER} -c ${RD}/kernels/GENERIC/kernel > ${RD}/kernels/kernel.gz
d994 1
a994 1
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_LIVEFS}/boot/kernel
d1012 1
a1012 1
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD1}/boot/kernel
d1330 1
a1330 1
ACPI_KO=	${RD}/kernels/GENERIC/acpi.ko
@


1.952
log
@SVN rev 206422 on 2010-04-09 14:24:00Z by kensmith

Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
to FTP_PASSIVE_MODE so release building works for a machine that needs
to use a proxy.

PR:		misc/137688
Submitted by:	Michael Leun
MFC after:	2 weeks
@
text
@d174 1
a174 1
MAKEINDEXPORTS=	lang/perl5.8
@


1.951
log
@SVN rev 201391 on 2010-01-02 12:37:54Z by nyan

Do kgzip to the loader on pc98, too.  Now pc98's boot2 works for ELF.

MFC after:	2 week
@
text
@d578 1
a578 1
	echo "		env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
@


1.950
log
@SVN rev 200775 on 2009-12-21 14:42:35Z by kensmith

Add "FreeBSD-" to the beginning of the filenames for the ISO images.
People who collect ISOs from more than just us have been requesting
this for a while.

MFC after:	1 week
@
text
@d1350 1
a1350 1
.if ${TARGET} == "i386"
@


1.949
log
@SVN rev 197313 on 2009-09-18 14:53:01Z by kensmith

Have sparc64 join the separate livefs crowd.  Including the docs packages
on disc1 (needed now by sysinstall) overflows the target CDROM iso size.

MFC after:	3 days
@
text
@d1131 1
a1131 1
	    ${CD}/${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
d1135 1
a1135 1
	    ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
d1139 1
a1139 1
	    ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
d1144 1
a1144 1
	    ${CD}/${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
d1150 1
a1150 1
	    ${CD}/${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \
d1156 1
a1156 1
	    ${CD}/${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
d1159 2
a1160 2
	@@(cd ${CD} && md5 *.iso > ${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > ${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
@


1.948
log
@SVN rev 196588 on 2009-08-27 13:18:59Z by blackend

Update some comments to match the removal of the docset compilation
during the release build.
@
text
@d245 1
@


1.947
log
@SVN rev 196522 on 2009-08-24 21:56:41Z by jhb

Invoke the recently added mm-mtree.sh release script to store a pre-built
mergemaster mtree database in the 'base' dist.

MFC after:	3 days
@
text
@d1166 1
a1166 1
# --==## Documentation Project files such as the Handbook and FAQ ##==--
d1169 1
a1169 1
	@@echo "Making docs..."
@


1.946
log
@SVN rev 196521 on 2009-08-24 21:55:43Z by jhb

Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
  trees during a release build.  The previous version did not purge
  directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
  whitelist.  A better longterm solution is to fix the few offenders to not
  install data files during a lib32 install.

MFC after:	3 days
@
text
@d649 1
@


1.945
log
@SVN rev 196432 on 2009-08-22 23:44:37Z by kensmith

Make head 9.0-CURRENT in preparation for lifting code freeze.

Approved by:	re (implicit)
@
text
@d699 1
a699 1
		find ${OTHER_DISTS} -depth -type d -empty -print | xargs rmdir)
@


1.944
log
@SVN rev 196221 on 2009-08-14 20:35:42Z by jhb

Add the ability to build a release from an SVN checkout instead of a CVS
checkout.  If SVNROOT is specified, then the source tree will be checked
out from that SVN repository instead of using CVS.  ports and docs still
use CVS.  If SVNROOT is not specified, then the source tree will be checked
out using CVS.  An explicit SVN branch can be specified using SVNBRANCH
(e.g. SVNBRANCH=stable/8).  If SVNBRANCH is not set but RELEASETAG is set
to a CVS branch (such as RELENG_8) the appropriate SVN branch will be
inferred from the CVS branch using svnbranch.awk.

Note that there are still several open questions about using SVN instead
of CVS in the release process.  However, this does enable one to build a
release from an SVN repository if needed.

Approved by:	re (kensmith)
@
text
@d27 1
a27 1
#BUILDNAME=8.0-CURRENT
d31 1
a31 1
BASE = 8.0
d36 1
a36 1
#RELEASETAG=RELENG_7
d75 1
a75 1
#SVNBRANCH=stable/7
@


1.943
log
@SVN rev 195132 on 2009-06-28 08:59:46Z by blackend

- release/* update to use freebsd-doc-* packages instead of building
  FreeBSD docset during 'make release' this will speed up release
  builds;
- sysinstall(8) has also been updated to use these packages with a new
  menu allowing people to choose what localized doc to install;
- mention in UPDATING that docs from the FreeBSD Documentation project
  are now installed in /usr/local/share/doc/freebsd instead of
  /usr/share/doc.

Approved by:	re (kensmith)
@
text
@d4 2
a5 1
#     [RELEASETAG=tag]
d13 5
d58 1
a58 1
# To prefix the cvs command
d64 13
d90 10
d373 11
a383 2
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
	@@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && false
d428 4
d477 4
a480 1
.if !defined(RELEASETAG)
@


1.943.2.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.943.2.2
log
@SVN rev 196111 on 2009-08-12 07:22:12Z by kensmith

Adjust for RELENG_8.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=8.0-STABLE
d30 1
a30 1
#RELEASETAG=RELENG_8
@


1.943.2.3
log
@SVN rev 196222 on 2009-08-14 20:42:40Z by jhb

MFC 196221:

Add the ability to build a release from an SVN checkout instead of a CVS
checkout.  If SVNROOT is specified, then the source tree will be checked
out from that SVN repository instead of using CVS.  ports and docs still
use CVS.  If SVNROOT is not specified, then the source tree will be checked
out using CVS.  An explicit SVN branch can be specified using SVNBRANCH
(e.g. SVNBRANCH=stable/8).  If SVNBRANCH is not set but RELEASETAG is set
to a CVS branch (such as RELENG_8) the appropriate SVN branch will be
inferred from the CVS branch using svnbranch.awk.

Note that there are still several open questions about using SVN instead
of CVS in the release process.  However, this does enable one to build a
release from an SVN repository if needed.

Approved by:	re (kensmith)
@
text
@d4 1
a4 2
#     [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
#     [SVNBRANCH=some/branch]
a11 5
# Please note the support for building from SVN is preliminary and there
# are still questions about things like how to handle updates of
# /usr/src on production systems (csup(1) replacement).  It is a work
# in progress and may change as the other issues get worked out.
#
d52 1
a52 1
# To prefix the CVS command
a57 13
# To add other options to the Subversion subcommands (co,up), set
#SVNCMDARGS="-r '{ 01/01/2002 00:00:00 UTC }'"
#
# To prefix the Subversion command
#SVNPREFIX="/usr/bin/time"
#
# Where the Subversion repository is
#SVNROOT=svn://svn.freebsd.org/base
#
# Subversion branch to build for src.  If this is not set then it is
# automatically computed from RELEASETAG.
#SVNBRANCH=stable/7
#
a70 10
# Determine the Subversion source branch that corresponds to the requested
# RELEASETAG.
.if !defined(SVNBRANCH)
.if defined(RELEASETAG)
SVNBRANCH!=	echo "${RELEASETAG}" | awk -f ${.CURDIR}/svnbranch.awk
.else
SVNBRANCH=	head
.endif
.endif

d344 2
a345 11
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
.endif
.if !defined(NOPORTSATALL) && !defined(EXTPORTSDIR) && !defined(CVSROOT)
	@@echo "Building ports requires CVSROOT or EXTPORTSDIR" && false
.endif
.if !defined(NODOC) && !defined(EXTDOCDIR) && !defined(CVSROOT)
	@@echo "Building docs requires CVSROOT or EXTDOCDIR" && false
.endif
.if !defined(EXTSRCDIR) && !defined(CVSROOT) && !defined(SVNROOT)
	@@echo "The source tree requires SVNROOT, CVSROOT, or EXTSRCDIR" && false
a389 4
.elif defined(SVNROOT)
	cd ${CHROOTDIR}/usr && \
	    ${SVNPREFIX} svn co ${SVNCMDARGS} ${SVNROOT}/${SVNBRANCH} \
	    ${RELEASESRCMODULE} 
d435 1
a435 4
.if defined(SVNROOT)
	cd ${CHROOTDIR}/usr/src && ${SVNPREFIX} svn switch ${SVNCMDARGS} \
	    ${SVNROOT}/${SVNBRANCH}
.elif !defined(RELEASETAG)
@


1.943.2.4
log
@SVN rev 196594 on 2009-08-27 17:16:23Z by jhb

MFC 196521:
Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
  trees during a release build.  The previous version did not purge
  directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
  whitelist.  A better longterm solution is to fix the few offenders to not
  install data files during a lib32 install.

Approved by:	re (kib)
@
text
@d699 1
a699 1
		find ${OTHER_DISTS} -depth -type d -empty -delete)
@


1.943.2.5
log
@SVN rev 196597 on 2009-08-27 17:25:58Z by jhb

MFC 196522:
Invoke the recently added mm-mtree.sh release script to store a pre-built
mergemaster mtree database in the 'base' dist.

Approved by:	re (kib)
@
text
@a648 1
	sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D "${RD}/trees/base"
@


1.943.2.6
log
@SVN rev 197230 on 2009-09-15 19:56:35Z by blackend

MFC: r196588

Log:
  Update some comments to match the removal of the docset compilation
  during the release build.

Approved by:	re (kib)
@
text
@d1166 1
a1166 1
# --==## Documentation Project tools required to build the release notes ##==--
d1169 1
a1169 1
	@@echo "Making docproj tools..."
@


1.943.2.7
log
@SVN rev 198282 on 2009-10-20 13:32:18Z by kensmith

MFC r197313:
Build a separate livefs CD for sparc64.

Approved by:	re (kib)
@
text
@a244 1
SEPARATE_LIVEFS=
@


1.943.2.8
log
@SVN rev 201529 on 2010-01-04 19:57:35Z by kensmith

MFC r200775:

	Add FreeBSD- to the beginning of the ISO image filenames.
@
text
@d1131 1
a1131 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
d1135 1
a1135 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
d1139 1
a1139 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
d1144 1
a1144 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
d1150 1
a1150 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \
d1156 1
a1156 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
d1159 2
a1160 2
	@@(cd ${CD} && md5 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
@


1.943.2.9
log
@SVN rev 202560 on 2010-01-18 10:53:03Z by nyan

MFC: revision 201391

  Do kgzip to the loader on pc98, too.  Now pc98's boot2 works for ELF.
@
text
@d1350 1
a1350 1
.if ${TARGET_ARCH} == "i386"
@


1.943.2.10
log
@SVN rev 207660 on 2010-05-05 16:25:57Z by kensmith

Merge r206422:

> Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
> to FTP_PASSIVE_MODE so release building works for a machine that needs
> to use a proxy.

PR:		misc/137688
Submitted by:	Michael Leun
@
text
@d578 1
a578 1
	echo "		env -i HTTP_PROXY=$${HTTP_PROXY} FTP_PROXY=$${FTP_PROXY} FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
@


1.943.2.11
log
@SVN rev 207665 on 2010-05-05 16:58:29Z by kensmith

Merge r206423:

> Shift the version of perl used by the release build process over to
> perl-5.10.  This aligns the release build process with the current
> default version of perl in the ports tree.
@
text
@d174 1
a174 1
MAKEINDEXPORTS=	lang/perl5.10
@


1.943.2.12
log
@SVN rev 208570 on 2010-05-26 17:11:01Z by kensmith

Bump version number from 8.0 to 8.1.  Belatedly bump stable/7 to stable/8
for SVNBRANCH.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=8.1-STABLE
d31 1
a31 1
BASE = 8.1
d75 1
a75 1
#SVNBRANCH=stable/8
@


1.943.2.13
log
@SVN rev 216653 on 2010-12-22 14:27:13Z by kensmith

Misc. 8.1 -> 8.2 shifts as part of progress with FreeBSD 8.2 release.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=8.2-STABLE
d31 1
a31 1
BASE = 8.2
@


1.943.2.14
log
@SVN rev 224837 on 2011-08-13 13:18:39Z by marius

MFC: r221466, r221494 (partial), r224652

Change several archs to use makefs (from base) instead of mkisofs (from
ports) which makes release CD generation both faster and self-hosting.
@
text
@d338 3
d343 1
d1126 1
a1126 1
.if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
d1129 1
a1129 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1133 1
a1133 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1137 1
a1137 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
d1142 1
a1142 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1148 1
a1148 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
d1154 1
a1154 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1163 1
a1163 1
	@@echo "Do not know how to create an ISO for ${TARGET}."
@


1.943.2.15
log
@SVN rev 225005 on 2011-08-19 12:08:15Z by nyan

MFC: revision 224780

  Allow to build a release for stable/[78] on a current box and vise versa.
@
text
@d586 1
a586 5
	echo "if [ -f Makefile.sysinstall ]; then" >> ${_MK}
	echo "  make -f Makefile.sysinstall \$${_RELTARGET}" >> ${_MK}
	echo "else"				>> ${_MK}
	echo "  make \$${_RELTARGET}"		>> ${_MK}
	echo "fi"				>> ${_MK}
@


1.943.2.16
log
@SVN rev 231808 on 2012-02-16 03:13:53Z by kensmith

Bump the version number from 8.2 to 8.3.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=8.3-STABLE
d31 1
a31 1
BASE = 8.3
@


1.943.2.17
log
@SVN rev 233180 on 2012-03-19 13:19:02Z by kensmith

Bump the version of perl used as part of the release build from 5.10
to 5.12.
@
text
@d174 1
a174 1
MAKEINDEXPORTS=	lang/perl5.12
@


1.943.2.18
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/release/Makefile 233180 2012-03-19 13:19:02Z kensmith $
@


1.943.2.19
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248464
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/release/Makefile 248464 2013-03-18 09:52:17Z gjb $
d27 1
a27 1
#BUILDNAME=8.4-STABLE
d31 1
a31 1
BASE = 8.4
@


1.943.2.20
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248483
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/release/Makefile 248483 2013-03-18 23:46:02Z gjb $
a613 1
			WITHOUT_SVN=yes \
d1175 1
a1175 1
		WITHOUT_PYTHON=yes WITHOUT_SVN=yes FORCE_PKG_REGISTER=yes; \
@


1.943.2.21
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248530
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/release/Makefile 248530 2013-03-19 19:49:06Z gjb $
d502 7
d614 1
d1176 1
a1176 1
		WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
@


1.943.2.16.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.943.2.16.2.2
log
@SVN rev 232444 on 2012-03-03 07:04:45Z by kensmith

Update RELEASETAG and SVNBRANCH.

Approved by:	re (implicit)
@
text
@d36 1
a36 1
#RELEASETAG=RELENG_8_3
d75 1
a75 1
#SVNBRANCH=releng/8.3
@


1.943.2.16.2.3
log
@SVN rev 233182 on 2012-03-19 13:48:05Z by kensmith

MFS (files not present in head) r233180:
>  Bump the version of perl used as part of the release build from 5.10
>  to 5.12.

Insta-MFS done so we can start 8.3-RC2 builds.

Approved by:	re (implicit)
@
text
@d174 1
a174 1
MAKEINDEXPORTS=	lang/perl5.12
@


1.943.2.16.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/release/Makefile 233182 2012-03-19 13:48:05Z kensmith $
@


1.943.2.12.4.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.943.2.12.4.2
log
@SVN rev 216637 on 2010-12-22 04:44:38Z by kensmith

Misc. 8.1 -> 8.2 adjustments for the 8.2 release.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=8.2-STABLE
d31 1
a31 1
BASE = 8.2
@


1.943.2.12.2.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.943.2.7.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.942
log
@SVN rev 194940 on 2009-06-25 04:25:26Z by marcel

Make a DVD for ia64.
@
text
@d42 4
d98 1
a98 1
# install the ports that are minimally required for the docs.  This is
a104 2
# Setting this also disables building of release note documentation
# (RELNOTESng).
a145 5
# By default, documentation (Handbook, FAQ, etc.) is built for all
# the languages.  To speed up building, set the DOC_LANG to just
# the languages you need.  (The language for the release notes is
# controlled by the RELNOTES_LANG variable above.)
#DOC_LANG=	en_US.ISO8859-1
d348 1
a348 1
	@@echo "Ports are required for building the docs.  Either set NODOC or"
a476 1
	DOC_LANG \
d1036 1
a1036 15
	@@mkdir -p ${CD_DOCS}/usr/share/doc
.if defined(MAKE_DVD)
	@@mkdir -p ${CD_DVD1}/usr/share/doc
.endif
	@@for i in `ls ${CD_LIVEFS}/usr/share/doc`; do \
		if [ -L ${CD_LIVEFS}/usr/share/doc/$$i -o \
		    -d /usr/doc/$$i ]; then \
			mv ${CD_LIVEFS}/usr/share/doc/$$i \
			    ${CD_DOCS}/usr/share/doc; \
		fi \
	done
.if defined(MAKE_DVD)
	@@cd ${CD_DOCS}/usr/share/doc && find . -print | \
	    cpio -dumpl ${CD_DVD1}/usr/share/doc
.endif
d1067 5
d1103 2
a1104 1
	    ${CD}/${BUILDNAME}-${TARGET}-docs.iso ${CD_DOCS}
a1129 3
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' \
	    INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/base/usr/share/doc \
	    URLS_ABSOLUTE=YES	
@


1.941
log
@SVN rev 188607 on 2009-02-14 14:53:51Z by nyan

Restore MAKE_FLOPPIES for pc98.
@
text
@d221 1
@


1.940
log
@SVN rev 188439 on 2009-02-10 15:11:26Z by kensmith

Turn off the parallel make options accidentally turned on by the previous
commit.  Sigh.

Noticed by:	rdivacky
@
text
@d198 1
@


1.939
log
@SVN rev 188437 on 2009-02-10 15:03:08Z by kensmith

Turn off the building of boot floppies for amd64/i386.
@
text
@d70 2
a71 2
WORLD_FLAGS=-j4
KERNEL_FLAGS=-j4
@


1.938
log
@SVN rev 184905 on 2008-11-13 01:47:08Z by kensmith

This is being committed from a sparc64 (US-III, thanks Marius!) that
was installed from a DVD so apparently it works... :-)

Enable building DVDs for sparc64.
@
text
@d70 2
a71 2
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4
a193 1
MAKE_FLOPPIES=		true
a224 1
MAKE_FLOPPIES=		true
@


1.937
log
@SVN rev 184145 on 2008-10-21 23:36:28Z by kensmith

Move an echo that accidentally got put under the .if defined(MAKE_DVD).

Pointy hat:	kensmith
@
text
@d214 1
@


1.936
log
@SVN rev 184144 on 2008-10-21 22:50:01Z by kensmith

Oops, add missing @@.
@
text
@d960 1
a966 1
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf
@


1.935
log
@SVN rev 183860 on 2008-10-14 02:13:12Z by kensmith

The thought of making more than one DVD image for a release really
freaks me out.  But it turns out we might be able to generalize
a few of the other things RE uses to assemble the package trees
for releases if the DVDs use a naming theme close to what is used
for the CDROMS (disc1, disc2, etc).  So change the name to dvd1.
Hopefully this way src/release/scripts/{package-split.py,package-trees.sh}
can be generalized instead of copied-and-hacked.

MFC after:	5 days
@
text
@d1036 1
a1036 1
	echo "Building CDROM docs filesystem image"
@


1.934
log
@SVN rev 183772 on 2008-10-12 02:52:56Z by kensmith

Add a build knob MAKE_DVD to control on a per-architecture basis whether
or not to build a tree used for the creation of a DVD image.  If that is
enabled set up a DVD tree by installing everything we normally install
to the individual CDROM trees into the one DVD tree.  The result is one
image with all the install bits, livefs bits, and doc bits suitable for
burning to a DVD instead of CDROM.

Enable building the DVD for amd64 and i386.

MFC after:	1 week
@
text
@d268 1
a268 1
CD_DVD=			${CD}/dvd
d933 1
a933 1
	@@mkdir -p ${CD_DVD}/${BUILDNAME}
d939 1
a939 1
			    find . -depth -print | cpio -dumpl ${CD_DVD} ) ; \
d961 5
a965 5
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD}/boot/kernel
	@@rm -f ${CD_DVD}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD}/.profile
	@@ln -sf /rescue ${CD_DVD}/stand
d967 6
a972 6
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD}/cdrom.inf
	@@rm -f ${CD_DVD}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD}/boot/loader.conf
d974 2
a975 2
	@@rm -f ${CD_DVD}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD}/boot/device.hints
d1014 1
a1014 1
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD}
d1016 1
a1016 1
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD}/${BUILDNAME}
d1020 1
a1020 1
	      ${CD_DVD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d1022 1
a1022 1
	      ${CD_DVD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d1026 1
a1026 1
	      ${CD_DVD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d1028 1
a1028 1
	      ${CD_DVD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d1030 1
a1030 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD}
d1032 2
a1033 2
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD}/cdrom.inf
d1041 1
a1041 1
	@@mkdir -p ${CD_DVD}/usr/share/doc
d1052 1
a1052 1
	    cpio -dumpl ${CD_DVD}/usr/share/doc
d1084 2
a1085 2
.if exists(${CD_PACKAGE_TREE}/dvd)
CD_DVD_PKGS=	${CD_PACKAGE_TREE}/dvd
d1109 2
a1110 2
	    ${CD}/${BUILDNAME}-${TARGET}-dvd.iso ${CD_DVD} \
	    ${CD_DVD_PKGS}
@


1.933
log
@SVN rev 180350 on 2008-07-07 16:23:04Z by marcel

When making release with NOPORTS, we'll checkout only the
mininal set of ports required to make the docs. However,
we also need ports/sysutils/cdrtools in order to make the
ISO images. When a platform doesn't have packages, the
release will fail in that case. Add ports/sysutils/cdrtools
to RELEASEPORTSMODULE for the DOMINIMALDOCPORTS case to
handle the NOPORTS release build.

Note that this change doesn't try to handle the NOPORTS with
NODOC case. For we have NOPORTSATALL set and it seems wrong
to check out a ports module in that case.
@
text
@d195 1
d226 1
d267 3
d488 1
d931 12
d960 6
d967 11
d1012 23
d1040 3
d1050 4
d1084 3
d1106 6
@


1.932
log
@SVN rev 180012 on 2008-06-25 21:33:28Z by ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
  turned opt-in for stable branches depending on the consensus.  You
  can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
  It is harmless to steal the knob as SSP symbols have been provided
  by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
  (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
  libc will be automatically downgraded to -fstack-protector because it
  breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by:	Jeremie Le Hen <jeremie@@le-hen.org>
@
text
@d131 1
a131 1
RELEASEPORTSMODULE=	${MINIMALDOCPORTS}
@


1.931
log
@Don't use disklabel for the MFS root. The DoFS.sh script creates
a bogus partition table and puts the file system on the whole
partition. geom_part doesn't expose the 'c' partition as it's an
artifact of the BSD label and not to be used. Secondly, gpart(8)
is the preferred tool for partitioning disks on ia64.
@
text
@d683 1
a683 1
	@@tar --exclude CVS --exclude 'ports/distfiles/*' \
d782 2
a783 1
	@@tar --exclude CVS -cf - -C ${.CURDIR}/../usr.sbin/sysinstall help | \
d1102 1
a1102 1
		tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
@


1.930
log
@Make it easier to experiment with alternate compression.

Reviewed by:	kensmith
@
text
@d218 1
@


1.929
log
@When compiled with the combination of flags used to build crunched
binaries for the fixit floppy bin/ed/main.c causes a gcc warning
message about argc possibly being clobbered by longjmp or vfork.
We have threatened to ditch floppies for 8.0 but I don't want to
do quite that much rototilling yet so for now turn off -Werror while
building ed (and everything else) for the fixit floppy.

Thanks to jb for pointing out NO_WERROR.
@
text
@d251 2
a252 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 1392k -
d786 1
a786 1
	@@gzip -9fnv ${RD}/mfsroot/mfsroot
d802 1
a802 1
	@@gzip -9nc ${RD}/kernels/GENERIC/kernel > ${RD}/kernels/kernel.gz
d1004 1
a1004 1
	@@gzip -9v ${FD}/miniroot/miniroot.ufs
d1145 1
a1145 1
		gzip -9 < ${RD}/crunch/${CRUNCH} > ${DIR}/${CRUNCH}_crunch ; \
d1251 1
a1251 1
	@@gzip -9n ${IMAGEDIR}/boot/device.hints
d1253 1
a1253 1
	@@gzip -9n ${IMAGEDIR}/boot/*.4th ${IMAGEDIR}/boot/loader.help \
d1257 1
a1257 1
	@@gzip -9nc ${ACPI_KO} > ${IMAGEDIR}/acpi.ko.gz
@


1.928
log
@Remove kernel and module symbol files from disc1 (and the livecd if it
is enabled).  This saves around 80MB (for i386) on the ISO images.

Note that this is only from the install media, not the installed
system where the symbols are still installed, if part of the release.

Should anybody want the symbols which match disc1/livecd, they can
just be extracted from the kernel distribution files.

Reviewed by:	kensmith
@
text
@d621 1
a621 1
	    crunchgen -o \
@


1.927
log
@The i386 disc1 size wandered above what fits on 650Mb media which has been
our target previously.  So i386 joins the others that have switched over
to a separate livefs iso image.
@
text
@d924 1
@


1.926
log
@pccard.conf is gone.
@
text
@d195 1
@


1.925
log
@To honor the birth of RELENG_7 bump HEAD to 8.0-CURRENT.

Approved by:	re (implicit)
@
text
@a743 4
.if ${TARGET} == "pc98"
	cp ${.CURDIR}/../etc/defaults/pccard.conf \
	    ${RD}/mfsfd/etc/defaults/pccard.conf
.endif
@


1.924
log
@Remove one more reference to the installation notes, this time in the
floppies directory.

Pointed out by:	kensmith
Approved by:	re (blanket for installation notes removal)
@
text
@d21 1
a21 1
#BUILDNAME=7.0-CURRENT
d25 1
a25 1
BASE = 7.0
d30 1
a30 1
#RELEASETAG=RELENG_6
@


1.924.2.1
log
@Adjustments for RELENG_7 / CURRENT -> STABLE.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=7.0-STABLE
d30 1
a30 1
#RELEASETAG=RELENG_7
@


1.924.2.2
log
@Insta-MFC of v1.927 so it can be part of 7.0-BETA3 build.  Shift i386
(and pc98, it's over disc1 size target as well) over to having a separate
livefs iso image.

Approved by:	re (rwatson)
@
text
@a194 1
SEPARATE_LIVEFS=
@


1.924.2.3
log
@MFC 1.928:

  Remove kernel and module symbol files from disc1 (and the livecd if it
  is enabled).  This saves around 80MB (for i386) on the ISO images.

  Note that this is only from the install media, not the installed
  system where the symbols are still installed, if part of the release.

  Should anybody want the symbols which match disc1/livecd, they can
  just be extracted from the kernel distribution files.

Approved by:	re (kensmith)
@
text
@a927 1
	@@rm -f ${CD_LIVEFS}/boot/kernel/*.symbols
@


1.924.2.4
log
@MFC v1.887.2.22:

> Add support for disc3.  Depending on architecture the combination of
> kde3 and gnome2 is at least 670Mb which would mean if we stick with
> just disc1/disc2 the only packages we could provide on the iso's
> would be X11, kde3, and gnome2...

Approved by:	re (rwatson)
@
text
@a262 1
CD_DISC3=		${CD}/disc3
d946 1
a946 1
# Build disc1, disc2 and disc3 cdrom images
a977 4
	@@echo "Building CDROM disc3 filesystem image"
	@@mkdir -p ${CD_DISC3}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC3}/cdrom.inf
	@@echo "CD_VOLUME = 3" >> ${CD_DISC3}/cdrom.inf
a1019 3
.if exists(${CD_PACKAGE_TREE}/disc3)
CD_DISC3_PKGS=	${CD_PACKAGE_TREE}/disc3
.endif
a1038 4
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Packages_2 \
	    ${CD}/${BUILDNAME}-${TARGET}-disc3.iso ${CD_DISC3} \
	    ${CD_DISC3_PKGS}
@


1.924.2.5
log
@SVN rev 184137 on 2008-10-21 19:42:56Z by kensmith

MFC r183771 and r183860:

r183771:
  Add a build knob MAKE_DVD to control on a per-architecture basis whether
  or not to build a tree used for the creation of a DVD image.  If that is
  enabled set up a DVD tree by installing everything we normally install
  to the individual CDROM trees into the one DVD tree.  The result is one
  image with all the install bits, livefs bits, and doc bits suitable for
  burning to a DVD instead of CDROM.

  Enable building the DVD for amd64 and i386.

r183860:
  The thought of making more than one DVD image for a release really
  freaks me out.  But it turns out we might be able to generalize
  a few of the other things RE uses to assemble the package trees
  for releases if the DVDs use a naming theme close to what is used
  for the CDROMS (disc1, disc2, etc).  So change the name to dvd1.
  Hopefully this way src/release/scripts/{package-split.py,package-trees.sh}
  can be generalized instead of copied-and-hacked.

Approved by:	re (kib)
@
text
@a194 1
MAKE_DVD=
a223 1
MAKE_DVD=
a263 3
.if defined(MAKE_DVD)
CD_DVD1=		${CD}/dvd1
.endif
a481 1
	MAKE_DVD \
a926 12
.if defined(MAKE_DVD)
	@@echo "Building DVD filesystem image as well as CDROM"
	@@mkdir -p ${CD_DVD1}/${BUILDNAME}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_DVD1} ) ; \
		fi \
	done
.endif
a943 6
.if defined(MAKE_DVD)
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD1}/boot/kernel
	@@rm -f ${CD_DVD1}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD1}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD1}/.profile
	@@ln -sf /rescue ${CD_DVD1}/stand
a944 11
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@rm -f ${CD_DVD1}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD1}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD1}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	@@rm -f ${CD_DVD1}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD1}/boot/device.hints
.endif
.endif
a982 23
.if defined(MAKE_DVD)
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD1}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD1}/cdrom.inf
.endif
a987 3
.if defined(MAKE_DVD)
	@@mkdir -p ${CD_DVD1}/usr/share/doc
.endif
a994 4
.if defined(MAKE_DVD)
	@@cd ${CD_DOCS}/usr/share/doc && find . -print | \
	    cpio -dumpl ${CD_DVD1}/usr/share/doc
.endif
a1027 3
.if exists(${CD_PACKAGE_TREE}/dvd1)
CD_DVD_PKGS=	${CD_PACKAGE_TREE}/dvd1
.endif
a1050 6
.if defined(MAKE_DVD)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
	    ${CD_DVD1_PKGS}
.endif
@


1.924.2.6
log
@SVN rev 184166 on 2008-10-22 15:39:28Z by kensmith

MFC r184144 and r184145.  Replace an @@ that went missing and move an
echo that accidentally got wrapped in the MAKE_DVD knob.

Approved by:	re (kib)
@
text
@a961 1
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf
d968 1
d1042 1
a1042 1
	@@echo "Building CDROM docs filesystem image"
@


1.924.2.7
log
@SVN rev 184723 on 2008-11-06 13:28:50Z by kensmith

Oops.  Correct a mis-merge.  This piece of r183860 didn't make it
through while doing the merge.

PR:		misc/128610
Submitted by:	veron <dot> x503 <at> hotmail <dot> com
Approved by:	re (blackend, kib)
@
text
@d1094 1
a1094 1
CD_DVD1_PKGS=	${CD_PACKAGE_TREE}/dvd1
@


1.924.2.8
log
@SVN rev 185301 on 2008-11-25 17:27:11Z by kensmith

With the branch for 7.1 done start bumping misc. version numbers
from 7.0 to 7.1.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=7.1-STABLE
d25 1
a25 1
BASE = 7.1
@


1.924.2.9
log
@SVN rev 191090 on 2009-04-15 03:42:59Z by kensmith

Bump version number 7.1 to 7.2.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=7.2-STABLE
d25 1
a25 1
BASE = 7.2
@


1.924.2.10
log
@SVN rev 196595 on 2009-08-27 17:16:42Z by jhb

MFC 196521:
Fix a few issues with the lib32 dist so that it includes ldd32.
- Use a better find invocation to purge empty directories from all the dist
  trees during a release build.  The previous version did not purge
  directories whose contents were all empty directories.
- Explicitly blacklist a few files from the lib32 dist instead of using a
  whitelist.  A better longterm solution is to fix the few offenders to not
  install data files during a lib32 install.
@
text
@d656 1
a656 1
		find ${OTHER_DISTS} -depth -type d -empty -delete)
@


1.924.2.11
log
@SVN rev 196598 on 2009-08-27 17:26:09Z by jhb

MFC 196522:
Invoke the recently added mm-mtree.sh release script to store a pre-built
mergemaster mtree database in the 'base' dist.
@
text
@a605 1
	sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D "${RD}/trees/base"
@


1.924.2.12
log
@SVN rev 197067 on 2009-09-10 14:16:05Z by jhb

MFC 196221:
Add the ability to build a release from an SVN checkout instead of a CVS
checkout.  If SVNROOT is specified, then the source tree will be checked
out from that SVN repository instead of using CVS.  ports and docs still
use CVS.  If SVNROOT is not specified, then the source tree will be checked
out using CVS.  An explicit SVN branch can be specified using SVNBRANCH
(e.g. SVNBRANCH=stable/8).  If SVNBRANCH is not set but RELEASETAG is set
to a CVS branch (such as RELENG_8) the appropriate SVN branch will be
inferred from the CVS branch using svnbranch.awk.
@
text
@d4 1
a4 2
#     [RELEASETAG=tag] [SVNROOT=svn://svn.freebsd.org/base] \
#     [SVNBRANCH=some/branch]
a11 5
# Please note the support for building from SVN is preliminary and there
# are still questions about things like how to handle updates of
# /usr/src on production systems (csup(1) replacement).  It is a work
# in progress and may change as the other issues get worked out.
#
d48 1
a48 1
# To prefix the CVS command
a53 13
# To add other options to the Subversion subcommands (co,up), set
#SVNCMDARGS="-r '{ 01/01/2002 00:00:00 UTC }'"
#
# To prefix the Subversion command
#SVNPREFIX="/usr/bin/time"
#
# Where the Subversion repository is
#SVNROOT=svn://svn.freebsd.org/base
#
# Subversion branch to build for src.  If this is not set then it is
# automatically computed from RELEASETAG.
#SVNBRANCH=stable/7
#
a66 10
# Determine the Subversion source branch that corresponds to the requested
# RELEASETAG.
.if !defined(SVNBRANCH)
.if defined(RELEASETAG)
SVNBRANCH!=	echo "${RELEASETAG}" | awk -f ${.CURDIR}/svnbranch.awk
.else
SVNBRANCH=	head
.endif
.endif

d345 2
a346 11
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
.endif
.if !defined(NOPORTSATALL) && !defined(EXTPORTSDIR) && !defined(CVSROOT)
	@@echo "Building ports requires CVSROOT or EXTPORTSDIR" && false
.endif
.if !defined(NODOC) && !defined(EXTDOCDIR) && !defined(CVSROOT)
	@@echo "Building docs requires CVSROOT or EXTDOCDIR" && false
.endif
.if !defined(EXTSRCDIR) && !defined(CVSROOT) && !defined(SVNROOT)
	@@echo "The source tree requires SVNROOT, CVSROOT, or EXTSRCDIR" && false
a390 4
.elif defined(SVNROOT)
	cd ${CHROOTDIR}/usr && \
	    ${SVNPREFIX} svn co ${SVNCMDARGS} ${SVNROOT}/${SVNBRANCH} \
	    ${RELEASESRCMODULE} 
d436 1
a436 4
.if defined(SVNROOT)
	cd ${CHROOTDIR}/usr/src && ${SVNPREFIX} svn switch ${SVNCMDARGS} \
	    ${SVNROOT}/${SVNBRANCH}
.elif !defined(RELEASETAG)
@


1.924.2.13
log
@SVN rev 197101 on 2009-09-11 21:09:59Z by jhb

MFC part of 180012:
Changes to exclude .svn directories when building tarballs during release
builds (not documented in the original commit to HEAD).
@
text
@d734 1
a734 1
	@@tar --exclude CVS --exclude .svn --exclude 'ports/distfiles/*' \
d837 1
a837 2
	@@tar --exclude CVS --exclude .svn -cf - \
		-C ${.CURDIR}/../usr.sbin/sysinstall help | \
d1235 1
a1235 1
		tar --exclude CVS --exclude .svn --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
@


1.924.2.14
log
@SVN rev 201596 on 2010-01-05 17:45:39Z by kensmith

MFS8 r201529:

	Add FreeBSD- to the beginning of the ISO image filenames.
@
text
@d1152 1
a1152 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
d1156 1
a1156 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
d1160 1
a1160 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
d1164 1
a1164 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DISC3} \
d1169 1
a1169 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
d1175 1
a1175 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-docs.iso ${CD_DOCS}
d1180 1
a1180 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
d1183 2
a1184 2
	@@(cd ${CD} && md5 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
@


1.924.2.15
log
@SVN rev 202561 on 2010-01-18 10:53:59Z by nyan

MFC: revision 201391

  Do kgzip to the loader on pc98, too.  Now pc98's boot2 works for ELF.
@
text
@d1377 1
a1377 1
.if ${TARGET_ARCH} == "i386"
@


1.924.2.16
log
@SVN rev 203093 on 2010-01-27 20:25:46Z by kensmith

Update version to 7.3.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=7.3-STABLE
d31 1
a31 1
BASE = 7.3
@


1.924.2.17
log
@SVN rev 207661 on 2010-05-05 16:41:14Z by kensmith

Merge r206422:

> Pass the HTTP_PROXY and FTP_PROXY environment variables through in addition
> to FTP_PASSIVE_MODE so release building works for a machine that needs
> to use a proxy.

PR:           misc/137688
Submitted by: Michael Leun
@
text
@d579 1
a579 1
	echo "		env -i HTTP_PROXY=$${HTTP_PROXY} FTP_PROXY=$${FTP_PROXY} FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
@


1.924.2.18
log
@SVN rev 207666 on 2010-05-05 17:01:03Z by kensmith

Merge r206423:

> Shift the version of perl used by the release build process over to
> perl-5.10.  This aligns the release build process with the current
> default version of perl in the ports tree.
@
text
@d172 1
a172 1
MAKEINDEXPORTS=	lang/perl5.10
@


1.924.2.19
log
@SVN rev 216657 on 2010-12-22 14:44:22Z by kensmith

Misc. 7.3 -> 7.4 adjustments as part of progress on the FreeBSD 7.4 release.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=7.4-STABLE
d31 1
a31 1
BASE = 7.4
@


1.924.2.20
log
@SVN rev 224838 on 2011-08-13 13:18:54Z by marius

MFC: r221466, r221494 (partial), r224652

Change several archs to use makefs (from base) instead of mkisofs (from
ports) which makes release CD generation both faster and self-hosting.
@
text
@d338 3
d343 1
d1147 1
a1147 1
.if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
d1150 1
a1150 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1154 1
a1154 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1158 1
a1158 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
d1162 1
a1162 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
d1167 1
a1167 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1173 1
a1173 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh \
d1178 1
a1178 1
	@@sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \
d1187 1
a1187 1
	@@echo "Do not know how to create an ISO for ${TARGET}."
@


1.924.2.21
log
@SVN rev 225006 on 2011-08-19 12:08:54Z by nyan

MFC: revision 224780

  Allow to build a release for stable/[78] on a current box and vise versa.
@
text
@d587 1
a587 5
	echo "if [ -f Makefile.sysinstall ]; then" >> ${_MK}
	echo "  make -f Makefile.sysinstall \$${_RELTARGET}" >> ${_MK}
	echo "else"				>> ${_MK}
	echo "  make \$${_RELTARGET}"		>> ${_MK}
	echo "fi"				>> ${_MK}
@


1.924.2.22
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/release/Makefile 225006 2011-08-19 12:08:54Z nyan $
@


1.924.2.18.2.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.924.2.18.2.2
log
@SVN rev 216645 on 2010-12-22 05:49:19Z by kensmith

Misc. 7.3 -> 7.4 adjustments for upcoming release.

Approved by:	re (implicit)
@
text
@d27 1
a27 1
#BUILDNAME=7.4-STABLE
d31 1
a31 1
BASE = 7.4
@


1.924.2.18.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/release/Makefile 216645 2010-12-22 05:49:19Z kensmith $
@


1.924.2.16.2.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.924.2.8.2.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.924.2.8.2.2
log
@SVN rev 191096 on 2009-04-15 04:23:17Z by kensmith

Bump version from 7.1 to 7.2.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=7.2-STABLE
d25 1
a25 1
BASE = 7.2
@


1.924.2.7.2.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.924.2.7.2.2
log
@SVN rev 185313 on 2008-11-25 19:38:12Z by kensmith

Change version number.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=7.1-STABLE
d25 1
a25 1
BASE = 7.1
@


1.923
log
@Don't copy the installation guide to the release media (i.e.
floppies or ISO images).  We retain the concept of MD
release documentation for now, although it's fairly unlikely
that we'll ever do this again.

Approved by:	re (blanket for installation guide removal)
@
text
@a879 6
.if !defined(NODOC)
	@@cp ${RND}/${RELNOTES_LANG}/installation/${TARGET}/article.txt \
	    ${RD}/floppies/README.TXT
	@@(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5)
	@@(cd ${RD}/floppies; sha256 README.TXT *.flp > CHECKSUM.SHA256)
.else
a881 1
.endif
@


1.922
log
@The amd64 monthly snapshots began overflowing disc1 (and that's without any
packages...).
@
text
@d163 1
a163 1
DIST_DOCS_ARCH_DEP=	installation
a772 2
	@@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT \
	    ${RD}/mfsfd/stand/help/INSTALL.TXT
a915 2
	@@mv ${FD}/INSTALLATION.TXT ${FD}/INSTALL.TXT
	@@mv ${FD}/INSTALLATION.HTM ${FD}/INSTALL.HTM
a972 2
	@@mv ${CD_DISC1}/INSTALLATION.TXT ${CD_DISC1}/INSTALL.TXT
	@@mv ${CD_DISC1}/INSTALLATION.HTM ${CD_DISC1}/INSTALL.HTM
@


1.921
log
@Reflect that the hardware notes is now an MI document.
@
text
@d231 1
@


1.920
log
@Boot floppy for i386 overflowed during Jan. 2007 snapshot build, fix
it before Feb. 2007 snapshot build...
@
text
@d162 2
a163 2
DIST_DOCS_ARCH_INDEP=	readme relnotes errata
DIST_DOCS_ARCH_DEP=	installation hardware
@


1.919
log
@Teach release builds and release documentation snapshots that release
notes are no longer MD documents.
@
text
@d195 1
@


1.918
log
@Move the documentation to its own separate disc to make room for more
packages on disc2.  This will also let users decide if they want to
have a CD of the docs at all - unless they're disconnected from the
net they will probably find the Web site more useful.

Reviewed by:	ru
MFC after:	3 days
@
text
@d162 2
a163 2
DIST_DOCS_ARCH_INDEP=	readme errata
DIST_DOCS_ARCH_DEP=	installation relnotes hardware
@


1.917
log
@Enforce RELEASENOUPDATE if EXTSRCDIR is used.

Suggested by:	jb
@
text
@d260 3
d988 4
a991 1
	@@mkdir -p ${CD_DISC2}/usr/share/doc
d996 1
a996 1
			    ${CD_DISC2}/usr/share/doc; \
d1048 5
@


1.916
log
@The AUTO_KEYBOARD_DETECT is useful on amd64 as well.
@
text
@d423 1
a423 1
.if !defined(RELEASENOUPDATE)
@


1.915
log
@Remove hint.atkbd.0.flags="0x1" from the installation device.hints;
kbdmux(4) is available during install and should take care of USB
keyboards.
@
text
@d1272 2
a1273 1
.if ${TARGET_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT}
d1276 1
@


1.914
log
@Make it possible again to build -CURRENT snapshots on -STABLE.

Reported by:	Angelo Turetta
@
text
@a945 3
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_LIVEFS}/boot/device.hints
.endif
a1251 3
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${IMAGEDIR}/boot/device.hints
.endif
@


1.913
log
@Stop cutting the tarball names to eight symbols.  This makes
it possible to e.g. distribute kernels with config names larger
than eight symbols, without the clash.  Previousy, LALALALA
and LALALALA-SMP would be the same tarball.  (I think this
comes from the old days where tarballs were put on the MS-DOS
formatted diskettes.)

MFC after:	3 days
@
text
@d590 1
a590 1
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/base
d614 2
a615 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen -o \
@


1.912
log
@Remove alpha left-overs.
@
text
@d1101 1
a1101 1
		tn=`echo ${TN} | tr 'A-Z' 'a-z' | cut -c1-8` && \
@


1.911
log
@When deleting empty directories prior to building the release tarballs,
pass the "-empty" flag to find(1).  This change has no effect other
than to get rid of a few pages of "rmdir: ...: Directory not empty"
error messages.  (Note that the "-empty" flag has been supported by
find(1) since 4.3-RELEASE.)
@
text
@a208 11
.elif ${TARGET_ARCH} == "alpha"
MAKE_FLOPPIES=		true
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
MFSSIZE=		4320
MFSINODE=		8000
MFSLABEL=		auto
SPLIT_MFSROOT=
@


1.910
log
@Make a bootable CD on pc98.
@
text
@d653 1
a653 1
		find ${OTHER_DISTS} -depth -type d -print | xargs rmdir)
@


1.909
log
@Fix the acpi.ko path for boot.flp.

PR:		misc/96466
Submitted by:	Nobuyuki Koganemaru
MFC after:	1 day
@
text
@a267 1
.if ${TARGET} != "pc98"
a268 1
.endif
d309 1
a309 1
BOOTABLE=
a945 1
.if ${TARGET} != "pc98"
a959 1
.endif
@


1.908
log
@Assert that /dev/null is a character device in a chroot early.  Otherwise,
we might get surprises later, like /dev/null having error in the 4th line
reported by make(1).  :-)

Tested by:	Dmitriy Kirhlarov (who attempted to make release in a jail)
@
text
@d1233 1
a1233 1
ACPI_KO=	${BOOTDIR}/kernel/acpi.ko
@


1.907
log
@make sure install scripts are executable

Submitted by:	Ceri Davies
@
text
@d515 4
@


1.906
log
@Convert NO_PROFILE and NO_LIB32 to new style.
@
text
@d1120 2
a1121 1
			    ${RD}/dists/${TD}/install.sh; \
@


1.905
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d378 2
a379 2
	cd ${WORLDDIR} && ${NATIVEMAKE} -DWITHOUT_GAMES -DWITHOUT_HTML -DNO_LIB32 \
	    -DWITHOUT_MAN -DWITHOUT_NLS -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
@


1.904
log
@Remove NO_SENDMAIL leaked from the days when building non-crypto
stuff for release was evil.
@
text
@d378 2
a379 2
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_LIB32 \
	    -DNO_MAN -DNO_NLS -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
@


1.903
log
@fix handling of default kernels

Reviewed by:	ru
@
text
@a497 1
	NO_SENDMAIL \
@


1.902
log
@Fix this to what I've actually submitted.
@
text
@a179 1
KERNELS+=	GENERIC
d181 3
a183 1
KERNELS+=	SMP
d486 1
d593 2
a594 2
	for i in ${KERNELS}; do \
		mkdir ${RD}/kernels/$${i}; \
d607 1
a607 1
.for kernel in ${KERNELS}
d670 1
a670 1
	@@for i in ${KERNELS} ; \
@


1.901
log
@handle KERNELS as before

Submitted by:	ru, andrew
@
text
@d181 1
a181 1
.if !exists(${.CURDIR}/../sys/${TARGET}/conf/SMP)
@


1.900
log
@Revamp base system packaging of kernels to enable up/smp selection
at runtime and to support distributing additional kernels:
o remove kernel from the base tarball
o add new kernel tarballs
o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP
  config file is present
o add sysinstall support for multiple kernels
o update sysinstall to probe for the number of cpus on a system
  and auto-select smp/up kernel accordingly
o add a post-kernels install hook to fixup /boot/kernel
o add -ldevinfo to boot crunch for sysinstall's cpu probing logic

Notes:
1. On HEAD this code is not currently used because GENERIC kernels
   include SMP.  This work is mainly intended for RELENG_6 where the
   GENERIC kernel is UP.  If HEAD changes to match then just enable
   WITH_SMP in sysinstall/Makefile.
2. The cpu probing support is done with acpi and MPTable; this means
   some systems will require work for auto-detection to work.
3. The handling of /boot/kernel may need to be revisited; for now
   we rename one kernel at the last moment (SMP if installed, otherwise
   GENERIC).  There are other, possibly better, approaches.

Lots of help from ru, emaste, scottl, and jhb.
@
text
@d180 1
d182 1
a182 3
KERNELS?=	GENERIC
.else
KERNELS?=	GENERIC SMP
@


1.899
log
@Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.

Approved by:	re (scottl)
MFC after:	3 days
@
text
@d176 10
a579 1
	mkdir ${RD}/kernels
d591 4
d608 3
a610 3
	${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES \
	    KERNCONF=${kernel} INSTKERNNAME=${kernel} kernel \
	    DESTDIR=${RD}/trees/base
a611 5
	# Install a standard boot kernel+modules.
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} \
	    kernel \
	    DESTDIR=${RD}/trees/base
d669 9
d809 1
a809 1
	@@gzip -9nc ${RD}/trees/base/boot/kernel/kernel > ${RD}/kernels/kernel.gz
d939 2
@


1.898
log
@Enable splitting up the MFSROOT floppy on amd64, the contents now overflow
one floppy's worth of space.
@
text
@d670 1
a670 1
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
d672 3
a674 2
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
d706 1
a706 1
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
d708 3
a710 2
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
d1111 1
a1111 1
		rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
d1113 3
a1115 2
		sha256 * > CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5) \
@


1.897
log
@Fix the missing CD_VOLUME=1 in the cdrom.inf file on disc1 for the
livecd != disc1 case (i.e. ia64). The line was appended to the
non-existing cdrom.inf file, which was created only later. Move the
line to after the file is created.

MFC after: 1 day
@
text
@d231 1
@


1.896
log
@Enable boot floppies for amd64.  I just copied the needed variables over
from i386.

Tested by:	Markus Trippelsdorf markus at trippelsdorf dot de
Approved by:	scottl
MFC after:	1 week
@
text
@a965 1
	@@echo "CD_VOLUME = 1" >> ${CD_DISC1}/cdrom.inf
d970 1
@


1.895
log
@Add EXTPORTSDIR like EXTSRCDIR and EXTDOCDIR.

PR:		misc/83287
Submitted by:	Gabor Kovesdan
MFC after:	1 week
@
text
@d222 6
@


1.894
log
@Request boot floppy after loading mfsroot floppy because beastie.4th exists
in boot floppy.

Submitted by:	Nobuyuki Koganemaru < n-kogane at syd dot odn dot ne dot jp >
MFC after:	1 week
@
text
@d38 4
d391 5
d399 1
d428 1
a428 1
.if !defined(NOPORTS)
@


1.893
log
@Remove one more reference to usbd.conf.
@
text
@d1245 3
@


1.892
log
@Be cross-arch friendly.
@
text
@a714 1
	cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
@


1.891
log
@Refactor (some more) installation of kernel and module objects.

Try to make everyone happy: David (to have debug kernels installed
by default), Warner (to be able to override that), and myself (for
actually making it all work and to be consistent).

Now, if kernel was configured for debugging (through DEBUG=-g in
the kernel config file or "config -g"), doing "make install" will
install debug versions of kernel and module objects with their
canonical names,

	kernel.debug -> /boot/kernel/kernel
	if_fxp.ko.debug -> /boot/kernel/if_fxp.ko

Installing a kernel not configured for debugging, or debug kernel
with INSTALL_NODEBUG variable defined, will install non-debug
kernel and module objects.

Also, restore the install.debug and reinstall.debug targets that
are part of the existing API (they cause some additional gdb(1)
scripts to be installed).
@
text
@d717 1
a717 1
	pwd_mkdb -d ${RD}/mfsfd/etc -p ${RD}/mfsfd/etc/master.passwd
@


1.890
log
@Add SHA256 checksums to the release build.

Requested by:		cperciva (so)
Reviewed/improved by:	ru
MFC after:		2 days
@
text
@a585 4
	    DESTDIR=${RD}/trees/base; \
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES \
	    reinstallkernel -DINSTALL_DEBUG \
@


1.889
log
@Unbreak release builds. Now that NO_INFO also affects the installation
of texinfo and we need makeinfo to build world, we cannot have NO_INFO
anymore when we populate the chroot.
@
text
@d657 4
a660 2
	  rm -f CHECKSUM.MD5; \
	  md5 * > CHECKSUM.MD5)
d691 5
a695 1
	(cd ${RD}/dists/src; rm -f CHECKSUM.MD5; md5 * > CHECKSUM.MD5)
d858 1
d861 1
d1027 1
a1027 1
	@@echo "Generating MD5 sums..."
d1029 1
d1097 4
a1100 2
		rm -f CHECKSUM.MD5; \
		md5 * > CHECKSUM.MD5 ) \
@


1.888
log
@Adjust for HEAD being 7.0 now.

Approved by:	re (implicit)
@
text
@d357 2
a358 3
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_INFO \
	    -DNO_LIB32 -DNO_MAN -DNO_NLS -DNO_PROFILE installworld \
	    DESTDIR=${CHROOTDIR}
@


1.887
log
@Adapt the mfsroot environment of sysinstall to the needs of the new dhclient.
This involves having passwd bits available so that seteuid("_dhcp") work,
and creating /var/empty so that chroot(_VAR_EMPTY) works.  My gut feeling
is that the better solution is to make privsep and chroot optional in
dhclient, but this works well for now and is low-risk.

Approved by: re
@
text
@d21 1
a21 1
#BUILDNAME=6.0-CURRENT
d25 1
a25 1
BASE = 6.0
d30 1
a30 1
#RELEASETAG=RELENG_4
@


1.887.2.1
log
@Suggest this is a -STABLE branch now.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.0-STABLE
@


1.887.2.2
log
@MFC revision 1.890:
> date: 2005/09/28 12:39:00;  author: kensmith;  state: Exp;  lines: +17 -6
> Add SHA256 checksums to the release build.
>
> Requested by:           cperciva (so)
> Reviewed/improved by:   ru

Approved by:	re (scottl)
@
text
@d658 2
a659 4
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
d690 1
a690 5
	(cd ${RD}/dists/src; \
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
a852 1
	@@(cd ${RD}/floppies; sha256 README.TXT *.flp > CHECKSUM.SHA256)
a854 1
	@@(cd ${RD}/floppies; sha256 *.flp > CHECKSUM.SHA256)
d1020 1
a1020 1
	@@echo "Generating MD5 and SHA256 sums..."
a1021 1
	@@(cd ${CD} && sha256 *.iso > ${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
d1089 2
a1090 4
		rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
		md5 * > .CHECKSUM.MD5; \
		sha256 * > CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5) \
@


1.887.2.3
log
@MFC: 1.892: Be cross-arch friendly.
@
text
@d722 1
a722 1
	cp ${RD}/trees/base/etc/*pwd.db ${RD}/mfsfd/etc/
@


1.887.2.4
log
@MFC: revision 1.894 and 1.895

 - Request boot floppy after loading mfsroot floppy.
 - Add EXTPORTSDIR.
@
text
@a37 4
# To use a checked-out ports collection directory instead of
# checking out from a local CVS repository, set this option.
#EXTPORTSDIR=/usr/ports
#
a387 5
.if defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTPORTSDIR} ports
	# If there are distfiles downloaded removing them
	rm -rf ports/distfiles/*
.else
a390 1
.endif
d419 1
a419 1
.if !defined(NOPORTS) && !defined(EXTPORTSDIR)
a1250 3
.if defined(SPLIT_MFSROOT)
	@@echo 'mfsroot_after="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
@


1.887.2.5
log
@MFC rev 1.897:	Fix the missing CD_VOLUME=1 in the cdrom.inf file on
		disc1 for the livecd != disc1 case.
@
text
@d966 1
a970 1
	@@echo "CD_VOLUME = 1" >> ${CD_DISC1}/cdrom.inf
@


1.887.2.6
log
@MFC: Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.

Approved by:	re (scottl)
@
text
@d668 1
a668 1
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d670 2
a671 3
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
d703 1
a703 1
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d705 2
a706 3
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
d1108 1
a1108 1
		rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d1110 2
a1111 3
		sha256 * > .CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5; \
		mv .CHECKSUM.SHA256 CHECKSUM.SHA256) \
@


1.887.2.7
log
@MFC sysinstall and make release mods to auto-select up/smp kernel

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@a175 10
#
# Build and package both GENERIC and SMP kernels if the target
# has both configuration files.  Otherwise only GENERIC is done.
#
.if exists(${.CURDIR}/../sys/${TARGET}/conf/SMP)
KERNELS_BASE?=	GENERIC SMP
.else
KERNELS_BASE?=	GENERIC
.endif

a469 1
	KERNELS_BASE \
d564 1
a575 4
	mkdir ${RD}/kernels
	for i in ${KERNELS_BASE} ${KERNELS}; do \
		mkdir -p ${RD}/kernels/$${i}; \
	done
d587 7
a593 1
.for kernel in ${KERNELS_BASE} ${KERNELS}
d596 6
a601 3
 	    KERNCONF=${kernel} kernel \
 	    DESTDIR=${RD}/kernels KODIR=/${kernel}
.endfor
a658 9
	@@for i in ${KERNELS_BASE} ${KERNELS} ; \
	do \
		if [ -d ${RD}/kernels/$${i} ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/kernels \
				TN=$$i TD=kernels ARG="$$i" && \
			echo "$${i} distribution is finished."; \
		fi ; \
	done
d791 1
a791 1
	@@gzip -9nc ${RD}/kernels/GENERIC/kernel > ${RD}/kernels/kernel.gz
a920 2
	@@echo "Copy GENERIC kernel to boot area"
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_LIVEFS}/boot/kernel
@


1.887.2.8
log
@MFC 1.907: make sure install scripts are executable

Approved by:	re (hrs)
@
text
@d1116 1
a1116 2
			    ${RD}/dists/${TD}/install.sh && \
			chmod +x ${RD}/dists/${TD}/install.sh; \
@


1.887.2.8.2.1
log
@MFC v1.887.2.9:
> Drop the languages we'll build docs for as part of the release down to
> just English due to a ISO size crisis for disc2.  This is being done
> after consultation with the doceng folks, who basically agreed that
> of the two evils this is less evil than going with the -lite versions
> of gnome/kde.  We are only doing this on RELENG_5/RELENG_6.  On HEAD
> we plan to adjust sysinstall so there will be no packages at all on
> disc1/disc2 and we can have an arbitrary number of dedicated package
> discs but that seems like too much of a change for RELENG_5/RELENG_6
> particularly at this stage in the release.

Discussed with: re@@, doceng@@
Approved by:    re (scottl)
@
text
@d144 5
a148 6
# By default, only English documentation (Handbook, FAQ, etc.) is built
# to cut down on space used for documentation on disc2.  You can change
# DOC_LANG to be other languages, or comment that line out to build
# documentation for all languages. The language for the release notes
# is controlled by the RELNOTES_LANG variable above.
DOC_LANG=	en_US.ISO8859-1
@


1.887.2.8.2.2
log
@MFC: rev 1.909 (Fix the acpi.ko path for boot.flp).

Approved by:	re (hrs)
@
text
@d1226 1
a1226 1
ACPI_KO=	${RD}/kernels/GENERIC/acpi.ko
@


1.887.2.8.2.3
log
@Set all the pointers to 6.1-RELEASE.

Approved by: re
@
text
@d21 1
a21 1
#BUILDNAME=6.1-STABLE
d25 1
a25 1
BASE = 6.1
d30 1
a30 1
#RELEASETAG=RELENG_6
@


1.887.2.9
log
@Drop the languages we'll build docs for as part of the release down to
just English due to a ISO size crisis for disc2.  This is being done
after consultation with the doceng folks, who basically agreed that
of the two evils this is less evil than going with the -lite versions
of gnome/kde.  We are only doing this on RELENG_5/RELENG_6.  On HEAD
we plan to adjust sysinstall so there will be no packages at all on
disc1/disc2 and we can have an arbitrary number of dedicated package
discs but that seems like too much of a change for RELENG_5/RELENG_6
particularly at this stage in the release.

Discussed with:	re@@, doceng@@
Approved by:	re (scottl)
@
text
@d144 5
a148 6
# By default, only English documentation (Handbook, FAQ, etc.) is built
# to cut down on space used for documentation on disc2.  You can change
# DOC_LANG to be other languages, or comment that line out to build
# documentation for all languages. The language for the release notes
# is controlled by the RELNOTES_LANG variable above.
DOC_LANG=	en_US.ISO8859-1
@


1.887.2.10
log
@MFC: rev 1.909 (Fix the acpi.ko path for boot.flp).

Approved by:	re (hrs)
@
text
@d1226 1
a1226 1
ACPI_KO=	${RD}/kernels/GENERIC/acpi.ko
@


1.887.2.11
log
@Set pointer to 6.1-STABLE.

Approved by: re
@
text
@d21 1
a21 1
#BUILDNAME=6.1-STABLE
d25 1
a25 1
BASE = 6.1
d30 1
a30 1
#RELEASETAG=RELENG_6
d70 2
a71 2
WORLD_FLAGS=-j4 -s
KERNEL_FLAGS=-j4
@


1.887.2.12
log
@MFC: Enable boot floppies for amd64.
@
text
@a232 6
MAKE_FLOPPIES=		true
FLOPPYSIZE=		1440
FLOPPYSPLITSIZE=	1392
FLOPPYINODE=		40000
FLOPPYLABEL=		fd1440
BOOTINODE=		80000
@


1.887.2.13
log
@MFC v1.898:
> date: 2006/01/30 14:24:31;  author: kensmith;  state: Exp;  lines: +1 -0
> Enable splitting up the MFSROOT floppy on amd64, the contents now overflow
> one floppy's worth of space.
@
text
@a241 1
SPLIT_MFSROOT=
@


1.887.2.14
log
@MFC: Add a bootable CD support.
@
text
@d269 1
d271 1
d312 1
a312 1
BOOTABLE="-G"
d948 1
d963 1
@


1.887.2.15
log
@Revert accidental setting of default WORLD_FLAGS and KERNEL_FLAGS to
unsafe values in revision 1.887.2.11 by scottl@@.
@
text
@d70 2
a71 2
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4
@


1.887.2.16
log
@MFC: Stop cutting tarball names to eight symbols.

Approved by:	re (kensmith)
@
text
@d1112 1
a1112 1
		tn=`echo ${TN} | tr 'A-Z' 'a-z'` && \
@


1.887.2.17
log
@Begin making RELENG_6 think 6.2 exists.  It doesn't officially exist
yet but this helps various folks get ready for it.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.2-STABLE
d25 1
a25 1
BASE = 6.2
@


1.887.2.18
log
@MFC:

1.915: Remove hint.atkbd.0.flags="0x1" from the installation device.hints;
       kbdmux(4) is in charge of multiple keyboards.

1.916: The AUTO_KEYBOARD_DETECT knob can be useful on amd64 as well.

Approved by:	re (hrs)
@
text
@d956 3
d1265 3
d1288 1
a1288 2
.if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
.if ${AUTO_KEYBOARD_DETECT}
a1290 1
.endif
@


1.887.2.18.2.1
log
@MFS of v1.887.2.19:
> revision 1.887.2.19
> date: 2006/11/21 17:46:17;  author: kensmith;  state: Exp;  lines: +13 -2
> MFC v1.918:
>
>> revision 1.918
>> date: 2006/11/16 23:09:35;  author: kensmith;  state: Exp;  lines: +13 -2
>> Move the documentation to its own separate disc to make room for more
>> packages on disc2.  This will also let users decide if they want to
>> have a CD of the docs at all - unless they're disconnected from the
>> net they will probably find the Web site more useful.
>>
>> Reviewed by:    ru

Approved by:	re (bmah)
@
text
@a271 3
.if !defined(NODOC)
CD_DOCS=		${CD}/docs
.endif
d995 1
a995 4
	@@echo "Building CDROM docs filesystem image"
	@@mkdir -p ${CD_DOCS}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DOCS}/cdrom.inf
	@@mkdir -p ${CD_DOCS}/usr/share/doc
d1000 1
a1000 1
			    ${CD_DOCS}/usr/share/doc; \
a1051 5
.if !defined(NODOC)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Documentation \
	    ${CD}/${BUILDNAME}-${TARGET}-docs.iso ${CD_DOCS}
.endif
@


1.887.2.18.2.2
log
@MFS v1.887.2.20:
> revision 1.887.2.20
> date: 2006/11/22 20:47:58;  author: kensmith;  state: Exp;  lines: +5 -6
> Go back to building documentation for all the languages now that we have
> a separate disc just for docs.

Approved by:	re (bmah)
@
text
@d144 6
a149 5
# By default, documentation (Handbook, FAQ, etc.) is built for all
# the languages.  To speed up building, set the DOC_LANG to just
# the languages you need.  (The language for the release notes is
# controlled by the RELNOTES_LANG variable above.)
#DOC_LANG=	en_US.ISO8859-1
@


1.887.2.18.2.3
log
@Bump BUILDNAME too.  It had remained -STABLE in 6.1 but other previous
releases used -RELEASE so go with that.

Noticed by:	bmah
Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.2-RELEASE
@


1.887.2.19
log
@MFC v1.918:

> revision 1.918
> date: 2006/11/16 23:09:35;  author: kensmith;  state: Exp;  lines: +13 -2
> Move the documentation to its own separate disc to make room for more
> packages on disc2.  This will also let users decide if they want to
> have a CD of the docs at all - unless they're disconnected from the
> net they will probably find the Web site more useful.
>
> Reviewed by:    ru
@
text
@a271 3
.if !defined(NODOC)
CD_DOCS=		${CD}/docs
.endif
d995 1
a995 4
	@@echo "Building CDROM docs filesystem image"
	@@mkdir -p ${CD_DOCS}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DOCS}/cdrom.inf
	@@mkdir -p ${CD_DOCS}/usr/share/doc
d1000 1
a1000 1
			    ${CD_DOCS}/usr/share/doc; \
a1051 5
.if !defined(NODOC)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Documentation \
	    ${CD}/${BUILDNAME}-${TARGET}-docs.iso ${CD_DOCS}
.endif
@


1.887.2.20
log
@Go back to building documentation for all the languages now that we have
a separate disc just for docs.
@
text
@d144 6
a149 5
# By default, documentation (Handbook, FAQ, etc.) is built for all
# the languages.  To speed up building, set the DOC_LANG to just
# the languages you need.  (The language for the release notes is
# controlled by the RELNOTES_LANG variable above.)
#DOC_LANG=	en_US.ISO8859-1
@


1.887.2.21
log
@Cheat slightly - not really 6.3-STABLE yet but it's not 6.2-STABLE
either; this is close enough...
@
text
@d21 1
a21 1
#BUILDNAME=6.3-STABLE
d25 1
a25 1
BASE = 6.3
@


1.887.2.22
log
@Add support for disc3.  Depending on architecture the combination of
kde3 and gnome2 is at least 670Mb which would mean if we stick with
just disc1/disc2 the only packages we could provide on the iso's
would be X11, kde3, and gnome2...

This is not an MFC, it was not committed to HEAD or RELENG_7.  It's
looking like we should plan on a bit more radical a change for how
packages get done for 8.X (current thought is cdrom sized things with
no packages at all, and one DVD sized thing with packages).  It's
almost certain this change will be done in RELENG_7 but the 7.0
release cycle hasn't reached the point of dealing with packages quite
yet so I'm holding off on that a bit longer.
@
text
@a270 1
CD_DISC3=		${CD}/disc3
d962 1
a962 1
# Build disc1, disc2 and disc3 cdrom images
a995 4
	@@echo "Building CDROM disc3 filesystem image"
	@@mkdir -p ${CD_DISC3}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC3}/cdrom.inf
	@@echo "CD_VOLUME = 3" >> ${CD_DISC3}/cdrom.inf
a1037 3
.if exists(${CD_PACKAGE_TREE}/disc3)
CD_DISC3_PKGS=	${CD_PACKAGE_TREE}/disc3
.endif
a1056 4
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Packages_2 \
	    ${CD}/${BUILDNAME}-${TARGET}-disc3.iso ${CD_DISC3} \
	    ${CD_DISC3_PKGS}
@


1.887.2.23
log
@SVN rev 183581 on 2008-10-04 02:41:44Z by kensmith

Update 6.3 -> 6.4 where needed.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.4-STABLE
d25 1
a25 1
BASE = 6.4
@


1.887.2.24
log
@SVN rev 184174 on 2008-10-22 18:25:13Z by kensmith

MFS r184137 and r184166 from stable/7

Net effect is to add support for building DVD images when the MAKE_DVD
knob is enabled, and enable it for amd64 and i386 architectures.

Approved by:	re (kib)
@
text
@a194 1
MAKE_DVD=
a232 1
MAKE_DVD=
a271 3
.if defined(MAKE_DVD)
CD_DVD1=		${CD}/dvd1
.endif
a490 1
	MAKE_DVD \
a943 12
.if defined(MAKE_DVD)
	@@echo "Building DVD filesystem image as well as CDROM"
	@@mkdir -p ${CD_DVD1}/${BUILDNAME}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_DVD1} ) ; \
		fi \
	done
.endif
a960 17
.if defined(MAKE_DVD)
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD1}/boot/kernel
	@@rm -f ${CD_DVD1}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD1}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD1}/.profile
	@@ln -sf /rescue ${CD_DVD1}/stand
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@rm -f ${CD_DVD1}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD1}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD1}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	@@rm -f ${CD_DVD1}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD1}/boot/device.hints
.endif
.endif
a1000 23
.if defined(MAKE_DVD)
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD1}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD1}/cdrom.inf
.endif
a1005 3
.if defined(MAKE_DVD)
	@@mkdir -p ${CD_DVD1}/usr/share/doc
.endif
a1012 4
.if defined(MAKE_DVD)
	@@cd ${CD_DOCS}/usr/share/doc && find . -print | \
	    cpio -dumpl ${CD_DVD1}/usr/share/doc
.endif
a1045 3
.if exists(${CD_PACKAGE_TREE}/dvd1)
CD_DVD_PKGS=	${CD_PACKAGE_TREE}/dvd1
.endif
a1068 6
.if defined(MAKE_DVD)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
	    ${CD_DVD1_PKGS}
.endif
@


1.887.2.25
log
@SVN rev 184724 on 2008-11-06 13:32:49Z by kensmith

Oops.  Correct a mis-merge.  This piece of r183860 didn't make it
through while doing the merge.

PR:		misc/128610
Submitted by:	veron <dot> x503 <at> hotmail <dot> com
Approved by:	re (blackend, kib)
@
text
@d1112 1
a1112 1
CD_DVD1_PKGS=	${CD_PACKAGE_TREE}/dvd1
@


1.887.2.26
log
@SVN rev 201600 on 2010-01-05 19:25:57Z by kensmith

MFS7 r201596:

	Add FreeBSD- to the beginning of the ISO image filenames.
@
text
@d1123 1
a1123 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT}
d1127 1
a1127 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
d1131 1
a1131 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
d1135 1
a1135 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DISC3} \
d1140 1
a1140 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
d1146 1
a1146 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-docs.iso ${CD_DOCS}
d1151 1
a1151 1
	    ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
d1154 2
a1155 2
	@@(cd ${CD} && md5 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.MD5)
	@@(cd ${CD} && sha256 *.iso > FreeBSD-${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
@


1.887.2.27
log
@SVN rev 207667 on 2010-05-05 17:13:53Z by kensmith

Merge r206423:

> Shift the version of perl used by the release build process over to
> perl-5.10.  This aligns the release build process with the current
> default version of perl in the ports tree.
@
text
@d143 1
a143 1
MAKEINDEXPORTS=	lang/perl5.10
@


1.887.2.28
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/release/Makefile 207667 2010-05-05 17:13:53Z kensmith $
@


1.887.2.22.2.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.887.2.22.2.2
log
@SVN rev 183580 on 2008-10-04 02:39:58Z by kensmith

Update 6.3 -> 6.4

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.4-RELEASE
d25 1
a25 1
BASE = 6.4
@


1.887.2.22.2.3
log
@SVN rev 184179 on 2008-10-22 20:24:52Z by kensmith

MFS r184174 from stable/6.

Net effect is to add support for building DVD images when the MAKE_DVD
knob is enabled, and enable it for amd64 and i386 architectures.

Approved by:  re (kib)
@
text
@a194 1
MAKE_DVD=
a232 1
MAKE_DVD=
a271 3
.if defined(MAKE_DVD)
CD_DVD1=		${CD}/dvd1
.endif
a490 1
	MAKE_DVD \
a943 12
.if defined(MAKE_DVD)
	@@echo "Building DVD filesystem image as well as CDROM"
	@@mkdir -p ${CD_DVD1}/${BUILDNAME}
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			chflags -R noschg ${RD}/trees/$${i} || true ; \
			( cd ${RD}/trees/$${i} && \
			    find . -depth -print | cpio -dumpl ${CD_DVD1} ) ; \
		fi \
	done
.endif
a960 17
.if defined(MAKE_DVD)
	@@cp -Rp ${RD}/kernels/GENERIC/ ${CD_DVD1}/boot/kernel
	@@rm -f ${CD_DVD1}/boot/kernel/*.symbols
	@@rm -f ${CD_DVD1}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DVD1}/.profile
	@@ln -sf /rescue ${CD_DVD1}/stand
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@rm -f ${CD_DVD1}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DVD1}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DVD1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DVD1}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	@@rm -f ${CD_DVD1}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DVD1}/boot/device.hints
.endif
.endif
a1000 23
.if defined(MAKE_DVD)
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DVD1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DVD1}/${BUILDNAME}
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html \
	      ${CD_DVD1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DVD1}
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DVD1}/cdrom.inf
	@@echo "CD_VOLUME = 1" >> ${CD_DVD1}/cdrom.inf
.endif
a1005 3
.if defined(MAKE_DVD)
	@@mkdir -p ${CD_DVD1}/usr/share/doc
.endif
a1012 4
.if defined(MAKE_DVD)
	@@cd ${CD_DOCS}/usr/share/doc && find . -print | \
	    cpio -dumpl ${CD_DVD1}/usr/share/doc
.endif
a1045 3
.if exists(${CD_PACKAGE_TREE}/dvd1)
CD_DVD_PKGS=	${CD_PACKAGE_TREE}/dvd1
.endif
a1068 6
.if defined(MAKE_DVD)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
	    FreeBSD_Install \
	    ${CD}/${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \
	    ${CD_DVD1_PKGS}
.endif
@


1.887.2.22.2.4
log
@SVN rev 184725 on 2008-11-06 13:34:49Z by kensmith

Oops.  Correct a mis-merge.  This piece of r183860 didn't make it
through while doing the merge.

PR:		misc/128610
Submitted by:	veron <dot> x503 <at> hotmail <dot> com
Approved by:	re (blackend, kib)
@
text
@d1112 1
a1112 1
CD_DVD1_PKGS=	${CD_PACKAGE_TREE}/dvd1
@


1.887.2.21.2.1
log
@Adjust build name.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=6.3-RELEASE
@


1.887.2.21.2.2
log
@MFC v1.887.2.22:

> Add support for disc3.  Depending on architecture the combination of
> kde3 and gnome2 is at least 670Mb which would mean if we stick with
> just disc1/disc2 the only packages we could provide on the iso's
> would be X11, kde3, and gnome2...

Approved by:    re (rwatson)
@
text
@a270 1
CD_DISC3=		${CD}/disc3
d962 1
a962 1
# Build disc1, disc2 and disc3 cdrom images
a995 4
	@@echo "Building CDROM disc3 filesystem image"
	@@mkdir -p ${CD_DISC3}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC3}/cdrom.inf
	@@echo "CD_VOLUME = 3" >> ${CD_DISC3}/cdrom.inf
a1037 3
.if exists(${CD_PACKAGE_TREE}/disc3)
CD_DISC3_PKGS=	${CD_PACKAGE_TREE}/disc3
.endif
a1056 4
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Packages_2 \
	    ${CD}/${BUILDNAME}-${TARGET}-disc3.iso ${CD_DISC3} \
	    ${CD_DISC3_PKGS}
@


1.887.2.2.2.1
log
@Update version numbers for upcoming 6.0-RELEASE.

Approved by:	re (implicitly)
@
text
@d21 1
a21 1
#BUILDNAME=6.0-RELEASE
d29 2
a30 2
# If this is a security/errata branch snapshot, then set
#RELEASETAG=RELENG_6_0
@


1.886
log
@Provide 32-bit runtime support on amd64 as a separate distribution, lib32.

Prodded by:	obrien
Nodded by:	peter
Approved by:	re
@
text
@d701 2
a702 1
		mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
d715 2
@


1.885
log
@Make the liveCD separate ala ia64 - the combined live/install is
too large.
@
text
@d165 1
a165 1
OTHER_DISTS?=	catpages manpages games proflibs dict info doc
d167 3
d357 3
a359 2
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNO_HTML -DNO_INFO -DNO_MAN \
	    -DNO_NLS -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
d630 2
a631 1
		find ${OTHER_DISTS} -depth -type d -print | xargs rmdir
@


1.884
log
@Strip the initial world some more.
@
text
@d223 1
@


1.883
log
@Allow specifying which INDEX file to use by setting PKG_INDEX. By default
the INDEX file is taken from the package source tree as defined by the
PKG_TREE variable. This change allows using the (possibly incomplete)
packages on pointyhat.

MFC after: 2 days
@
text
@d354 1
a354 1
	    -DNO_PROFILE installworld DESTDIR=${CHROOTDIR}
@


1.882
log
@- Move the doc project docs over to disc2 to free up some room for future
  bloat on disc1.
- Output a message letting the user know that we are generating MD5 sums
  during the long pause after the last mkisofs invocation in the iso.1
  target.

MFC after:	3 days
@
text
@d1248 1
d1255 1
a1255 1
PKG_INDEX=	${PKG_DEST}/INDEX.master
d1263 1
d1273 1
a1273 1
	    ${PKG_TREE}/INDEX ${PKG_INDEX}
d1275 1
a1275 1
	    ${PKG_INDEX} ${PKG_TREE} ${PKG_DEST}
@


1.881
log
@What should be the last major changes to the ISO layout:
- When a separate livefs ISO is used, change the name of the tree directory
  to be R/cdrom/livefs and change the name of the iso to livefs.iso rather
  than using disc2.  Instead, disc2 is now always going to be the packages
  disc regardless of the presence of a separate livefs which makes things
  simpler.
- Build a very simple disc2 tree under R/cdrom that just includes the
  cdrom.inf file that the packages need.  Also, build a disc2.iso image
  in the iso.1 target.  Disc 2's volume label is "FreeBSD_Packages".
- Retire CD_EXTRA_BITS and replace it with CD_PACKAGE_TREE.  CD_EXTRA_BITS
  was specific to disc1, but CD_PACKAGE_TREE instead should point to a
  directory that has disc1 and disc2 subdirectories that contain the extra
  bits for each image.
- Rename the bootonly volume label to "FreeBSD_bootonly" and just hardcode
  the disc1 and livefs volume names and iso suffixes.
@
text
@d948 10
d1011 1
@


1.880
log
@The live CD itself no longer has /stand since a long time ago; however,
there are still a couple of places under src/release such like fixit.profile
assumed that system binary can be retrivied from /stand(ex: boot with the
live CD and run "disklabel -e" in the fixit CD shell).

Since /stand is still functional in fixit floppy, and there are more than
one places in src/release needs to be updated(document for example) if we
want to make use of something like /mnt2/rescue/vi.  This commit try to
deal with aforementioned inconsistency with minimal effort by simply
create a symbolic link to /rescue.

Reviewed by:	jhb, sam (mentor)
@
text
@d107 3
a109 3
# When creating ISO images, point ${CD_EXTRA_BITS} to a directory containing
# extra packages or other files.  It will be appended to the disk 1 ISO.
#CD_EXTRA_BITS=	/path/to/pkg
a129 6
# Make changing names of disc1/disc2 CD's possible.
DISC1_LABEL?=	FreeBSD_Install
DISC1_NAME?=	disc1
DISC2_LABEL?=	FreeBSD_LiveFS
DISC2_NAME?=	disc2

d247 1
d249 1
a249 2
CD_DISC2=		${CD}/disc2
CD_LIVEFS=		${CD_DISC2}
d446 1
a446 5
	CD_EXTRA_BITS \
	DISC1_LABEL \
	DISC1_NAME \
	DISC2_LABEL \
	DISC2_NAME \
d914 1
a914 1
# Build disc1 cdrom image
d939 1
d944 4
d958 1
d969 11
d985 1
a985 1
	    fbsd_bootonly \
d989 7
a995 3
	    ${DISC1_LABEL} \
	    ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1} \
	    ${CD_EXTRA_BITS}
d998 2
a999 2
	    ${DISC2_LABEL} \
	    ${CD}/${BUILDNAME}-${TARGET}-${DISC2_NAME}.iso ${CD_DISC2}
@


1.879
log
@Add a new package splitting mechanism to replace print-cdrom-packages.sh.
The new system tries to be more automated so that there is less work for
the re's to do.  It also no longer uses a /usr/ports tree as its input,
but uses the generated package build including its INDEX file as its input.
It parses the INDEX file, determines which packages should go on which ISO
images, and then builds full-fledged trees of packages that can be added
as an argument to mkisofs along with the tree built by 'make release' to
build a full CD image.  The INDEX files in the populated trees are
generated with volume media number to make use of sysinstall's multiple
volume support so that the user is kindly prompted to insert the
appropriate disc for a package if it is not on the current disc.  There is
still some more tweaking to be done here, but this part needs to be
committed.  This stuff will all be used to prep the 5.4 release as well.

Tested by:	kensmith, others on re@@
Reviewed by:	re
@
text
@d904 1
@


1.878
log
@When building release documentation for release builds or for
release documentation snapshots, force URLS_ABSOLUTE.  This
allows us to relocate HTML renderings anywhere without worrying
about breaking relative links to pages on the Web site.  This can
happen when we use &base; as part of a URL.

I wonder if we should do this for all release documentation builds,
but I'm not quite sure what all the cases are.
@
text
@d302 1
a302 1
.if !make(release) && !make(rerelease)
d1217 36
@


1.877
log
@Always use a separate disc for the livefs on ia64 since the merged image
doesn't fit on one disc.

Tested by:	marcel
X-MFC after:	30 seconds
@
text
@d1017 1
a1017 1
	    INSTALL_COMPRESSED='' DOCDIR=${RND}
@


1.876
log
@Rework how we layout the CD/DVD ISO images for releases.  Note that this
is only the first stage and does not yet handle packages (which will move
to their own disc(s)).
- By default, include the live filesystem on disc1, so that disc1 is now
  both an install disc and a fixit disc.  The images can still be split
  into two separate discs by specifying SEPARATE_LIVEFS=yes.
- Remove /usr/ports from the live filesystem disc as the merged images
  do not fit on even i386 otherwise.  Also, the merged image already
  contains a tarball of the entire ports tree, so /usr/ports was a
  duplicate anyway.
- Stop building port READMES for the release sinc they are no longer used
  (/usr/ports in the live filesystem was the last remaining user).
- Split cdrom.1 into three targets.  cdrom.1 builds the live filesystem
  image.  cdrom.2 builds the disc1 image.  Note that if SEPARATE_LIVEFS
  is not specified these both write to the same area.  cdrom.3 builds
  the bootonly image and the UFS miniroot.
- The various distribution directories are now in a <buildname>
  subdirectory of disc1 rather than being in the root so that the merged
  image's root is not quite as cluttered.
- The disc1 image is now called disc1.iso and we no longer build a
  miniinst.iso image.  If CD_EXTRA_BITS is defined, then the iso.1 target
  will simply include those bits in the disc1 image that it builds.

MFC after:	1 day
Requested by:	re (scottl, etc.)
@
text
@d219 1
@


1.875
log
@Use the shiny, new top-level 'distribution' target when populating the
chroot area.  This fixes make release of HEAD on systems that have a
/usr/src with bsd.endian.mk and a matching /usr/obj but haven't installed
the world in /usr/obj and thus have no bsd.endian.mk /usr/share/mk.
@
text
@a65 1
# Similarly, you can specify make flags for make readmes via PORTREADMES_FLAGS.
a67 1
#PORTREADMES_FLAGS=-j4
d131 3
a133 3
DISC1_LABEL?=	fbsd_miniinst
DISC1_NAME?=	miniinst
DISC2_LABEL?=	fbsd_livefs
d252 1
d254 4
a259 7
# Some architectures may not have space for the ports tree on disc2.
# For these architectures there is no sense building the README.html
# files no matter what.
.if ${TARGET_ARCH} == "ia64"
NOPORTREADMES=		yes
.endif

d286 1
a286 1
EXTRAS+= cdrom.1
d422 1
a422 2
	rm -f ${CHROOTDIR}/tmp/.skip_ports_index \
	    ${CHROOTDIR}/tmp/.skip_ports_readmes
d478 1
a517 7
	echo "if [ ! -f /tmp/.skip_ports_readmes ]; then" >> ${_MK}
	echo "	echo \">>> make readmes started on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "	cd /usr/ports"			>> ${_MK}
	echo "	make ${PORTREADMES_FLAGS} readmes" >> ${_MK}
	echo "	touch /tmp/.skip_ports_readmes"	>> ${_MK}
	echo "	echo \">>> make readmes finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "fi"				>> ${_MK}
a525 3
.if defined(NOPORTS) || defined(NOPORTREADMES)
	touch ${CHROOTDIR}/tmp/.skip_ports_readmes
.endif
d658 1
a658 1
	  --exclude README.html -czf ${RD}/dists/ports/ports.tgz -C /usr ports
d889 1
a889 3
#
# --==## Setup a suitable cdrom-area ##==--
#
d891 2
a892 7
	@@echo "Setting up CDROM distribution area"
	@@mkdir -p ${CD_BOOT} ${CD_DISC1} ${CD_DISC2}
	-@@ln -s . ${CD_DISC1}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}
d898 1
a898 1
			    find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \
d901 27
a927 7
	@@rm -f ${CD_DISC2}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
.if !defined(NOPORTS) && !defined(NOPORTREADMES)
	@@tar --exclude CVS --exclude 'ports/distfiles/*' -czf - \
	  -C /usr ports | (cd ${CD_DISC2}/usr; tar -xpBf -)
d929 1
d947 3
a949 14
.if ${TARGET} != "pc98"
	@@echo "Setting up boot area"
	@@rm -f ${CD_DISC2}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_DISC2}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DISC2}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DISC2}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC2}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	# Break the link to device.hints so we can modify it
	@@rm -f ${CD_DISC2}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DISC2}/boot/device.hints
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_DISC2}/boot/device.hints
.endif
d951 6
d958 3
a960 1
	@@cp -Rp ${CD_DISC2}/boot ${CD_BOOT}
d962 1
a968 2
	@@cp -Rp ${CD_DISC2}/boot ${CD_DISC1}
.endif
d981 3
a983 1
	    ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1}
a986 6
.if defined(CD_EXTRA_BITS)
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
	    fbsd_boot \
	    ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
	    ${CD_EXTRA_BITS} \
	    && false
@


1.874
log
@Safer version of the chflags command.
@
text
@d364 1
a364 1
	cd ${WORLDDIR}/etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
@


1.873
log
@NOCLEAN -> NO_CLEAN
NOCLEANDIR -> NO_CLEANDIR
@
text
@d357 1
a357 1
	-chflags -R noschg ${CHROOTDIR}/.
@


1.872
log
@NOHTML -> NO_HTML
@
text
@d504 1
a504 1
	echo "	${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${_MK}
@


1.871
log
@NOGAMES -> NO_GAMES
@
text
@d362 1
a362 1
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNO_GAMES -DNOHTML -DNO_INFO -DNO_MAN \
@


1.870
log
@NOSHARED -> NO_SHARED
@
text
@d362 1
a362 1
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNO_INFO -DNO_MAN \
@


1.869
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d475 1
a475 1
	NOSHARED \
@


1.868
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@d362 2
a363 2
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNO_MAN \
	    -DNOPROFILE installworld DESTDIR=${CHROOTDIR}
@


1.867
log
@Actually put hint.atkbd.0.flags="0x1" in /boot/device.hints on CD-ROMs.
(Brought to my attention by Brooks while sitting together on the floor
in "Kairo".)
@
text
@d362 1
a362 1
	cd ${WORLDDIR} && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNOMAN \
@


1.866
log
@Pass WORLD_FLAGS down to the distributeworld target, so it's
possible to build releases with customizations such as with
NOPROFILE.

Problem found and fix tested by Roman Neuhauser.
@
text
@d954 1
a954 1
.if exists(${HINTSFILE})
d956 2
a957 1
	@@cp -f ${HINTSFILE} ${CD_DISC2}/boot/device.hints
@


1.865
log
@It turns out the ia64 architecture's disc2 overflows if we put the
ports/ tree on it.  This makes putting the ports/ tree on disc2 at
all dependent on the NOPORTREADMES knob as well as the NOPORT knob
(at the moment NOPORT may be set while NOPORTREADMES isn't, that
should probably be revisited).  And it hardcodes ia64 for NOPORTREADMES
by request the ia64 release builder.

While here really get rid of the temp file 'make index' leaves behind.

Tested by:	i386 and ia64 'make release'
Reviewed by:	marcel
MFC after:	1 day
@
text
@d589 2
a590 1
	cd ${.CURDIR}/.. && ${CROSSMAKE} distributeworld DISTDIR=${RD}/trees
@


1.864
log
@Fix-ups for a few problems reported with how ports are handled in the
release:

	- run 'make index' as part of release build, INDEX* files in
	  CVS no longer updated and likely to be removed from CVS soon
	- don't include README.html files in ports.tgz tarball because
	  they cause cvsup problems for users later
	- put a copy of /usr/ports on disc2 that does include README.html
	  files so users have access to them

Reviewed by:	ru (found one bug, several clean-up suggestions)
Tested by:	'make release'
MFC before:	BETA6 build (this isn't likely to be tested in -current
		anyway...)
@
text
@d257 7
d518 1
a518 1
	echo "	rm -f INDEX.tmp"		>> ${_MK}
d925 1
a925 1
.if !defined(NOPORTS)
@


1.863
log
@Don't attempt to install the (obsolete and disconnected) Early Adopters
Guide on release media.
@
text
@d145 3
d419 2
d500 16
a515 1
	echo "if [ ! -f /tmp/.skip_ports ]; then" >> ${_MK}
d519 1
a519 1
	echo "	touch /tmp/.skip_ports"		>> ${_MK}
d527 3
d531 1
a531 1
	touch ${CHROOTDIR}/tmp/.skip_ports
d542 5
d663 2
a664 2
	@@tar --exclude CVS --exclude 'ports/distfiles/*' -czf \
	  ${RD}/dists/ports/ports.tgz -C /usr ports
d918 4
@


1.862
log
@The early-adopter doesn't exist in HEAD anymore.  The source is there,
but it's disconnected from the build.  Remove it from the architecture
independent release documentation set, because it breaks "make release"
when NODOC is undefined.

Reviewed by:	hrs
@
text
@a719 2
	@@mv ${RD}/mfsfd/stand/help/EARLY-ADOPTER.TXT \
	    ${RD}/mfsfd/stand/help/EARLY.TXT
a862 2
	@@mv ${FD}/EARLY-ADOPTER.TXT ${FD}/EARLY.TXT
	@@mv ${FD}/EARLY-ADOPTER.HTM ${FD}/EARLY.HTM
a905 2
	@@mv ${CD_DISC1}/EARLY-ADOPTER.TXT ${CD_DISC1}/EARLY.TXT
	@@mv ${CD_DISC1}/EARLY-ADOPTER.HTM ${CD_DISC1}/EARLY.HTM
@


1.861
log
@Use "cp -f" instead of "rm" and "cp" to break the hardlink to
device.hints.

Submitted by:	ru
@
text
@d163 1
a163 1
DIST_DOCS_ARCH_INDEP=	readme errata early-adopter
@


1.860
log
@Add 'hint.atkbd.0.flags="0x1"' back to /boot/device.hints on the
install media on i386 and amd64.  While the current default is very
useful in server environments, the ability to use USB keyboards is
vastly more important then the ability to use PS/2 keyboards the admin
forgot to plug in during the install process.

PR:		kern/71443
@
text
@d922 1
a922 2
	@@rm ${CD_DISC2}/boot/device.hints
	@@cp ${HINTSFILE} ${CD_DISC2}/boot/device.hints
@


1.859
log
@Correct a typo in a comment.

Submitted by:	Xin LI
@
text
@d920 8
d1160 5
a1164 1
	@@gzip -9nc ${HINTSFILE} > ${IMAGEDIR}/boot/device.hints.gz
@


1.858
log
@Document the following knobs: CD_EXTRA_BITS, EXTRA_SRC, HTTP_PROXY
and FTP_PROXY.  Removed bitrot (BOOT_CONFIG).

PR:		misc/71465
Submitted by:	Jon Passki <cykyc@@yahoo.com>
@
text
@d344 1
a344 1
	# NB: clear any vestigal devfs mount, just in case
@


1.857
log
@Start the de-orbital burn of our previous FreeBSD version compat libs
living in usr/src.  We need to use them from ports to record dependencies.

Discussed with:	re(scottl)
@
text
@d104 14
a442 1
	BOOT_CONFIG \
@


1.856
log
@Fixed the shell arithmetic to work with 4.x /bin/sh.

Tested by:	make release of HEAD on 4.10-STABLE
@
text
@a155 5
.if ${TARGET_ARCH} == "i386"
COMPAT_DISTS?=	compat1x compat20 compat21 compat22 compat3x compat4x
.elif ${TARGET_ARCH} == "alpha"
COMPAT_DISTS?=	compat4x
.endif
d158 1
a158 1
DISTRIBUTIONS?=	${BASE_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS}
d599 1
a599 1
		find ${OTHER_DISTS} ${COMPAT_DISTS} -depth -type d -print | xargs rmdir
@


1.855
log
@Meet the new era of 6.0-CURRENT.
@
text
@d1089 1
a1089 1
	lines=$$((lines - 1)) ; \
@


1.854
log
@PPC definitions required for 'make release'

Reviewed by:	ru
Submitted by:	ssouhlal
@
text
@d21 1
a21 1
#BUILDNAME=5.2-RELEASE
d25 1
a25 1
BASE = 5.2
@


1.853
log
@Bring back 'NO_FLOPPIES', but as a user external knob.
The internal logic knob remains MAKE_FLOPPIES.

Suggested by:	ru
@
text
@d213 5
d718 1
a718 1
.if ${TARGET_ARCH} != "ia64"
@


1.853.2.1
log
@s/5.2/5.3/

Approved by:	re (scottl)
@
text
@d21 1
a21 1
#BUILDNAME=5.3-RELEASE
d25 1
a25 1
BASE = 5.3
@


1.853.2.2
log
@MFC: Tweak the shell arithmetic to work with older /bin/sh (4.x and 5.1).

Approved by:	re (kensmith)
@
text
@d1084 1
a1084 1
	lines=$$(($$lines - 1)) ; \
@


1.853.2.3
log
@Give the Migration Guide an appropriate 8.3 name (MIGRATE5.*) on
release media.

Approved by:	re (implicitly)
@
text
@d708 1
a708 1
	    ${RD}/mfsfd/stand/help/MIGRATE5.TXT
d852 2
a853 2
	@@mv ${FD}/EARLY-ADOPTER.TXT ${FD}/MIGRATE5.TXT
	@@mv ${FD}/EARLY-ADOPTER.HTM ${FD}/MIGRATE5.HTM
d897 2
a898 2
	@@mv ${CD_DISC1}/EARLY-ADOPTER.TXT ${CD_DISC1}/MIGRATE5.TXT
	@@mv ${CD_DISC1}/EARLY-ADOPTER.HTM ${CD_DISC1}/MIGRATE5.HTM
@


1.853.2.4
log
@MFC revs 1.860 and 1.861:

Add 'hint.atkbd.0.flags="0x1"' back to /boot/device.hints on the
install media on i386 and amd64.  While the current default is very
useful in server environments, the ability to use USB keyboards is
vastly more important then the ability to use PS/2 keyboards the admin
forgot to plug in during the install process.

Approved by:	re (scottl)
PR:		kern/71443 kern/71568 (probably others)
@
text
@a906 7
.if exists(${HINTSFILE})
	# Break the link to device.hints so we can modify it
	@@cp -f ${HINTSFILE} ${CD_DISC2}/boot/device.hints
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_DISC2}/boot/device.hints
.endif
.endif
d1139 1
a1139 5
	@@cp ${HINTSFILE} ${IMAGEDIR}/boot/device.hints
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${IMAGEDIR}/boot/device.hints
.endif
	@@gzip -9n ${IMAGEDIR}/boot/device.hints
@


1.853.2.5
log
@MFC rev 1.864: Fix-ups for problems reported with how ports get packaged
for the release.

Approved by:	re (scottl)
@
text
@a130 3
#
# Doing 'make index' in /usr/ports requires Perl.
MAKEINDEXPORTS=	lang/perl5.8
a401 2
	rm -f ${CHROOTDIR}/tmp/.skip_ports_index \
	    ${CHROOTDIR}/tmp/.skip_ports_readmes
d482 1
a482 16
	echo "if [ ! -f /tmp/.skip_ports_index ]; then" >> ${_MK}
	echo "	echo \">>> make index started on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "	for i in ${MAKEINDEXPORTS}"	>> ${_MK}
	echo "	do"			>> ${_MK}
	echo "		cd /usr/ports/\$${i}"	>> ${_MK}
	echo "		env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \\" >> ${_MK}
	echo "		make all install clean BATCH=yes FORCE_PKG_REGISTER=yes" >> ${_MK}
	echo "	done"				>> ${_MK}
	echo "	cd /usr/ports"			>> ${_MK}
	echo "	rm -f INDEX*"			>> ${_MK}
	echo "	make index -DINDEX_PRISTINE"	>> ${_MK}
	echo "	rm -f INDEX.tmp"		>> ${_MK}
	echo "	touch /tmp/.skip_ports_index"	>> ${_MK}
	echo "	echo \">>> make index finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${_MK}
	echo "fi"				>> ${_MK}
	echo "if [ ! -f /tmp/.skip_ports_readmes ]; then" >> ${_MK}
d486 1
a486 1
	echo "	touch /tmp/.skip_ports_readmes"	>> ${_MK}
a493 3
.if defined(NOPORTS)
	touch ${CHROOTDIR}/tmp/.skip_ports_index
.endif
d495 1
a495 1
	touch ${CHROOTDIR}/tmp/.skip_ports_readmes
a505 5
	@@for i in ${MAKEINDEXPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			checksum-recursive ; \
	done
d622 2
a623 2
	@@tar --exclude CVS --exclude 'ports/distfiles/*' \
	  --exclude README.html -czf ${RD}/dists/ports/ports.tgz -C /usr ports
a880 4
.if !defined(NOPORTS)
	@@tar --exclude CVS --exclude 'ports/distfiles/*' -czf - \
	  -C /usr ports | (cd ${CD_DISC2}/usr; tar -xpBf -)
.endif
@


1.853.2.6
log
@MFC v1.865: Address ia64 disc2 overflow problem and fix to removal of
temp file left by 'make index'.

Approved by:	re (scottl)
@
text
@a242 7
# Some architectures may not have space for the ports tree on disc2.
# For these architectures there is no sense building the README.html
# files no matter what.
.if ${TARGET_ARCH} == "ia64"
NOPORTREADMES=		yes
.endif

d498 1
a498 1
	echo "	rm -f INDEX*.tmp"		>> ${_MK}
d909 1
a909 1
.if !defined(NOPORTS) && !defined(NOPORTREADMES)
@


1.853.2.6.2.1
log
@Use URL_ABSOLUTE=yes for making release documentation.

Approved by:	re (implicitly)
@
text
@d1015 1
a1015 2
	    INSTALL_COMPRESSED='' DOCDIR=${RND} \
	    URLS_ABSOLUTE=YES	
@


1.853.2.7
log
@Use URL_ABSOLUTE=yes for making release documentation.

Approved by:	re (implicitly)
@
text
@d1015 1
a1015 2
	    INSTALL_COMPRESSED='' DOCDIR=${RND} \
	    URLS_ABSOLUTE=YES
@


1.853.2.8
log
@MFC: 1.858: Document some knobs.
     1.859: Correct a typo in a comment.
     1.866: Pass WORLD_FLAGS down to distributeworld.
     1.867: Put hint.atkbd.0.flags="0x1" in cdrom:/boot/device.hints.
@
text
@a103 14
# When retrieving ports using the pkg_add -r method, set your proxies to these.
# src/release/${arch}/mkisoimages.sh can use these.
#HTTP_PROXY?=	www.example.com
#FTP_PROXY?=	ftp.example.com

# When creating ISO images, point ${CD_EXTRA_BITS} to a directory containing
# extra packages or other files.  It will be appended to the disk 1 ISO.
#CD_EXTRA_BITS=	/path/to/pkg

# Extra source tarballs; each argument is a pair of source dir and
# distribution name.  The dist name should not exceed 7 characters
# (another "s" for "source" will be prepended).
#EXTRA_SRC=	games/fortune fortune

d340 1
a340 1
	# NB: clear any vestigial devfs mount, just in case
d441 1
d576 1
a576 2
	cd ${.CURDIR}/.. && ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \
	    DISTDIR=${RD}/trees
d946 1
a946 1
.if exists(${RD}/trees/base/boot/device.hints)
d948 1
a948 2
	@@rm -f ${CD_DISC2}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_DISC2}/boot/device.hints
@


1.853.2.9
log
@MFC rev 1.876 including changes to support merging the install and livefs
cdrom images into one image.

Approved by:	re
@
text
@d66 1
d69 1
d133 3
a135 3
DISC1_LABEL?=	FreeBSD_Install
DISC1_NAME?=	disc1
DISC2_LABEL?=	FreeBSD_LiveFS
a253 1
.if defined(SEPARATE_LIVEFS)
d255 7
a261 3
CD_LIVEFS=		${CD_DISC2}
.else
CD_LIVEFS=		${CD_DISC1}
a262 1
_MK?=			${CHROOTDIR}/mk
d290 1
a290 1
EXTRAS+= cdrom.1 cdrom.2 cdrom.3
d426 2
a427 1
	rm -f ${CHROOTDIR}/tmp/.skip_ports_index
a482 1
	SEPARATE_LIVEFS \
d522 7
d537 3
d672 1
a672 1
	  -czf ${RD}/dists/ports/ports.tgz -C /usr ports
d907 3
a909 1
# Build a live filesystem cdrom image
d911 7
a917 2
	@@echo "Building CDROM live filesystem image"
	@@mkdir -p ${CD_LIVEFS}
d923 1
a923 1
			    find . -depth -print | cpio -dumpl ${CD_LIVEFS} ) ; \
d926 7
a932 16
	@@rm -f ${CD_LIVEFS}/.profile
	@@cp ${.CURDIR}/fixit.profile ${CD_LIVEFS}/.profile
.if ${TARGET} != "pc98"
	@@echo "Setting up CDROM boot area"
	@@rm -f ${CD_LIVEFS}/boot/loader.conf
	@@cp ${RD}/mfsroot/mfsroot.gz ${CD_LIVEFS}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_LIVEFS}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_LIVEFS}/boot/loader.conf
.if exists(${RD}/trees/base/boot/device.hints)
	# Break the link to device.hints so we can modify it
	@@rm -f ${CD_LIVEFS}/boot/device.hints
	@@cp ${RD}/trees/base/boot/device.hints ${CD_LIVEFS}/boot/device.hints
.if ${TARGET} == "i386" || ${TARGET_ARCH} == "amd64"
	@@echo 'hint.atkbd.0.flags="0x1"' >> ${CD_LIVEFS}/boot/device.hints
.endif
a933 12
.endif
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_LIVEFS}/cdrom.inf
	touch ${.TARGET}

# Build disc1 cdrom image
cdrom.2:
	@@echo "Building CDROM disc1 filesystem image"
	@@mkdir -p ${CD_DISC1}/${BUILDNAME}
.if defined(MAKE_FLOPPIES)
	@@cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
.endif
	@@cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}/${BUILDNAME}
d953 14
a966 3
.if defined(SEPARATE_LIVEFS)
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_DISC1}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
a967 6
	touch ${.TARGET}

#
# --==## Setup a suitable cdrom-area ##==--
#
cdrom.3:
d969 1
a969 3
	@@echo "Building bootonly CDROM filesystem image"
	@@mkdir -p ${CD_BOOT}
	@@cp -Rp ${CD_LIVEFS}/boot ${CD_BOOT}
a970 1
	@@echo "Building bootonly UFS filesystem image"
d977 2
d991 1
a991 3
	    ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1} \
	    ${CD_EXTRA_BITS}
.if defined(SEPARATE_LIVEFS)
d995 6
@


1.853.2.10
log
@MFC: Use a separate livefs image for ia64.

Approved by:	re (scottl)
@
text
@a223 1
SEPARATE_LIVEFS=
@


1.853.2.11
log
@MFC: Bring all the package split and merged ISO stuff back from HEAD to
RELENG_5 including:
- make package-split target and changes to iso.1 and cdrom.* targets.
- Replace print-cdrom-packages.sh with package-split.py and add
  package-trees.sh.
- Merge livefs onto disc1 unless SEPARATE_LIVEFS is set in which case it
  is put on livefs.iso instead.
- Add /stand symlink to livefs to fix fixit.profile.
- Sync release(7).
- Remove drivers.conf(5).

Approved by:	re (kensmith)
@
text
@d107 3
a109 3
# When creating ISO images, point ${CD_PACKAGE_TREE} to a directory containing
# the package split by an earlier invocation of the 'package-split' target.
#CD_PACKAGE_TREE=	/path/to/pkg
d130 6
d253 1
d255 1
a255 2
.if defined(SEPARATE_LIVEFS)
CD_LIVEFS=		${CD}/livefs
d302 1
a302 1
.if !make(release) && !make(rerelease) && !make(package-split)
d452 5
a456 1
	CD_PACKAGE_TREE \
a907 1
	@@ln -sf /rescue ${CD_LIVEFS}/stand
d927 1
a927 1
# Build disc1 and disc2 cdrom images
a953 1
	@@echo "CD_VOLUME = 1" >> ${CD_DISC1}/cdrom.inf
a957 4
	@@echo "Building CDROM disc2 filesystem image"
	@@mkdir -p ${CD_DISC2}
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	@@echo "CD_VOLUME = 2" >> ${CD_DISC2}/cdrom.inf
a967 1
	@@echo "CD_VERSION = ${BUILDNAME}" > ${CD_BOOT}/cdrom.inf
a977 11
.if make(iso.1)
.if defined(CD_PACKAGE_TREE)
.if exists(${CD_PACKAGE_TREE}/disc1)
CD_DISC1_PKGS=	${CD_PACKAGE_TREE}/disc1
.endif
.if exists(${CD_PACKAGE_TREE}/disc2)
CD_DISC2_PKGS=	${CD_PACKAGE_TREE}/disc2
.endif
.endif
.endif

d983 1
a983 1
	    FreeBSD_bootonly \
d987 3
a989 7
	    FreeBSD_Install \
	    ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
	    ${CD_DISC1_PKGS}
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    FreeBSD_Packages \
	    ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \
	    ${CD_DISC2_PKGS}
d992 2
a993 2
	    FreeBSD_LiveFS \
	    ${CD}/${BUILDNAME}-${TARGET}-livefs.iso ${CD_LIVEFS}
a1223 36
.if make(package-split)
# Targets related to making a package split
#
# PKG_COPY instructs the script to copy the actual package files rather than
#     make hard links
# PKG_TREE is the path to the package tree to be split
# PKG_DEST is the path to the destination tree to create the split in
# PKG_VERBOSE asks for verbose output of the layout process

.if defined(PKG_COPY)
PKG_DO_COPY=	cp
.else
PKG_DO_COPY=	ln
.endif
PKG_INDEX=	${PKG_DEST}/INDEX.master
PKG_ENV?=
.if defined(TARGET_ARCH)
PKG_ENV+=	PKG_ARCH=${TARGET_ARCH}
.endif
.if defined(PKG_VERBOSE)
PKG_ENV+=	PKG_VERBOSE=1
.endif

package-split:
.if !defined(PKG_TREE)
	@@echo "PKG_TREE must be defined" && exit 1
.endif
.if !defined(PKG_DEST)
	@@echo "PKG_DEST must be defined" && exit 1
.endif
	@@env ${PKG_ENV} python ${.CURDIR}/scripts/package-split.py \
	    ${PKG_TREE}/INDEX ${PKG_INDEX}
	@@env ${PKG_ENV} sh ${.CURDIR}/scripts/package-trees.sh ${PKG_DO_COPY} \
	    ${PKG_INDEX} ${PKG_TREE} ${PKG_DEST}
.endif

@


1.853.2.12
log
@MFC: Move the docproj docs over to disc2 to make more room on the disc1
ISO image.

Approved by:	re (scottl)
@
text
@a953 10
.if !defined(NODOC)
	@@mkdir -p ${CD_DISC2}/usr/share/doc
	@@for i in `ls ${CD_LIVEFS}/usr/share/doc`; do \
		if [ -L ${CD_LIVEFS}/usr/share/doc/$$i -o \
		    -d /usr/doc/$$i ]; then \
			mv ${CD_LIVEFS}/usr/share/doc/$$i \
			    ${CD_DISC2}/usr/share/doc; \
		fi \
	done
.endif
a1006 1
	@@echo "Generating MD5 sums..."
@


1.853.2.13
log
@Caught this while reviewing files in preparation for the branch
tagging.  Change the (commented out) suggestion of what to set
RELEASETAG to so it's RELENG_5.

Approved by:	re (implicit)
@
text
@d30 1
a30 1
#RELEASETAG=RELENG_5
@


1.853.2.14
log
@Update for 5.4.
@
text
@d21 1
a21 1
#BUILDNAME=5.4-RELEASE
d25 1
a25 1
BASE = 5.4
@


1.853.2.15
log
@Remove the Migration Guide from {release,ftp,cdrom}.* targets.

Pointed out by:	jhb
@
text
@d158 1
a158 1
DIST_DOCS_ARCH_INDEP=	readme errata
d733 2
d878 2
d942 2
@


1.853.2.16
log
@MFC 1.883: Allow specifying which INDEX file to use by setting PKG_INDEX.
@
text
@a1248 1
# PKG_INDEX is the path to the INDEX file. By default ${PKG_TREE}/INDEX.
d1255 1
a1255 1
PKG_WRKIDX=	${PKG_DEST}/INDEX.master
a1262 1
PKG_INDEX?=	${PKG_TREE}/INDEX
d1272 1
a1272 1
	    ${PKG_INDEX} ${PKG_WRKIDX}
d1274 1
a1274 1
	    ${PKG_WRKIDX} ${PKG_TREE} ${PKG_DEST}
@


1.853.2.17
log
@MFC revision 1.890:
> date: 2005/09/28 12:39:00;  author: kensmith;  state: Exp;  lines: +17 -6
> Add SHA256 checksums to the release build.
>
> Requested by:           cperciva (so)
> Reviewed/improved by:   ru
@
text
@d652 2
a653 4
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
d684 1
a684 5
	(cd ${RD}/dists/src; \
	  rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
	  md5 * > .CHECKSUM.MD5; \
	  sha256 * > CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5)
a843 1
	@@(cd ${RD}/floppies; sha256 README.TXT *.flp > CHECKSUM.SHA256)
a845 1
	@@(cd ${RD}/floppies; sha256 *.flp > CHECKSUM.SHA256)
d1011 1
a1011 1
	@@echo "Generating MD5 and SHA256 sums..."
a1012 1
	@@(cd ${CD} && sha256 *.iso > ${BUILDNAME}-${TARGET}-iso.CHECKSUM.SHA256)
d1081 2
a1082 4
		rm -f .CHECKSUM.MD5 CHECKSUM.SHA256; \
		md5 * > .CHECKSUM.MD5; \
		sha256 * > CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5) \
@


1.853.2.18
log
@MFC: revision 1.894 and 1.895

 - Request boot floppy after loading mfsroot floppy.
 - Add EXTPORTSDIR.
@
text
@a37 4
# To use a checked-out ports collection directory instead of
# checking out from a local CVS repository, set this option.
#EXTPORTSDIR=/usr/ports
#
a382 5
.if defined(EXTPORTSDIR)
	cd ${CHROOTDIR}/usr && cp -R -H ${EXTPORTSDIR} ports
	# If there are distfiles downloaded removing them
	rm -rf ports/distfiles/*
.else
a385 1
.endif
d414 1
a414 1
.if !defined(NOPORTS) && !defined(EXTPORTSDIR)
a1242 3
.if defined(SPLIT_MFSROOT)
	@@echo 'mfsroot_after="read -p \"Insert boot floppy and press Enter\""' >> ${IMAGEDIR}/boot/loader.conf
.endif
@


1.853.2.19
log
@MFC: Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.

Approved by:	re (scottl)
@
text
@d662 1
a662 1
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d664 2
a665 3
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
d697 1
a697 1
	  rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d699 2
a700 3
	  sha256 * > .CHECKSUM.SHA256; \
	  mv .CHECKSUM.MD5 CHECKSUM.MD5; \
	  mv .CHECKSUM.SHA256 CHECKSUM.SHA256)
d1100 1
a1100 1
		rm -f CHECKSUM.MD5 CHECKSUM.SHA256; \
d1102 2
a1103 3
		sha256 * > .CHECKSUM.SHA256; \
		mv .CHECKSUM.MD5 CHECKSUM.MD5; \
		mv .CHECKSUM.SHA256 CHECKSUM.SHA256) \
@


1.853.2.20
log
@MFC v1.887.2.9
> Drop the languages we'll build docs for as part of the release down to
> just English due to a ISO size crisis for disc2.  This is being done
> after consultation with the doceng folks, who basically agreed that
> of the two evils this is less evil than going with the -lite versions
> of gnome/kde.  We are only doing this on RELENG_5/RELENG_6.  On HEAD
> we plan to adjust sysinstall so there will be no packages at all on
> disc1/disc2 and we can have an arbitrary number of dedicated package
> discs but that seems like too much of a change for RELENG_5/RELENG_6
> particularly at this stage in the release.

Discussed with: re@@, doceng@@
Approved by:    re (scottl)
@
text
@d144 5
a148 6
# By default, only English documentation (Handbook, FAQ, etc.) is built
# to cut down on space used for documentation on disc2.  You can change
# DOC_LANG to be other languages, or comment that line out to build
# documentation for all languages. The language for the release notes
# is controlled by the RELNOTES_LANG variable above.
DOC_LANG=	en_US.ISO8859-1
@


1.853.2.20.2.1
log
@5.4 -> 5.5

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=5.5-RELEASE
d25 1
a25 1
BASE = 5.5
@


1.853.2.21
log
@5.4 -> 5.5

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=5.5-RELEASE
d25 1
a25 1
BASE = 5.5
@


1.853.2.13.2.1
log
@Update for RELENG_5_4.

Approved by:	re (implicit)
@
text
@d21 1
a21 1
#BUILDNAME=5.4-RELEASE
d25 1
a25 1
BASE = 5.4
d29 2
a30 2
# If this is a security/errata branch snapshot, then set
#RELEASETAG=RELENG_5_4
@


1.852
log
@Follow 'MAKE_ISOS' in naming and s/FLOPPIES/MAKE_FLOPPIES/g

Submitted by:	ru
@
text
@d214 3
d454 1
@


1.851
log
@Accept the fact that floppies either aren't applicable or relevant on most
platforms.  So make the floppy logic easier to read.
@
text
@d171 1
d173 1
a173 1
FLOPPIES=		true
d189 1
a189 1
FLOPPIES=		true
d254 1
a254 1
.if defined(FLOPPIES)
d442 1
a450 1
	FLOPPIES \
d516 1
a516 1
.if defined(FLOPPIES)
d828 1
a828 1
.if defined(FLOPPIES)
d861 1
a861 1
.if defined(FLOPPIES)
@


1.850
log
@Now that make(1) passes variables that were given on the command line
to subordinate make(1) invocations through MAKEFLAGS, we cannot add
CFLAGS onto the make(1) command line. This will conflict with the
individual makefiles wanting to append to it, which is not respected
when CFLAGS is given on the command line. Hence build breakage.
So, put CFLAGS in the environment instead.
@
text
@d172 1
d188 1
a203 1
NO_FLOPPIES=
a207 1
NO_FLOPPIES=
a211 1
NO_FLOPPIES=
d253 1
a253 1
.if !defined(NO_FLOPPIES)
d449 1
a449 1
	NO_FLOPPIES \
d515 1
a515 1
.if !defined(NO_FLOPPIES)
d827 1
a827 1
.if !defined(NO_FLOPPIES)
d860 1
a860 1
.if !defined(NO_FLOPPIES)
@


1.849
log
@Clean up after mechanical renumbering.
@
text
@d572 2
a573 2
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk \
	    CFLAGS="-Os -pipe" -DNO_CPU_CFLAGS all
@


1.848
log
@Crypto is now part of the "base" distribution, and the old "release.3"
target no longer exists.  Renumber the old release.[4-9] targets to
release.[3-8].

Reminded by:	ru
@
text
@d499 1
a499 1
	rm -rf ${CRUNCH_TARGETS:S/$/_crunch/} release.[0-9] ${EXTRAS}
@


1.847
log
@Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
@
text
@d14 1
a14 1
# otherwise the target 'release.9' and possibly others will fail.
d541 1
a541 1
release.4:
d561 1
a561 1
release.5:
d583 1
a583 1
release.6:
d601 1
a601 1
release.7:
d632 1
a632 1
release.8:
d660 1
a660 1
release.9:
d1009 2
a1010 2
doRELEASE: release.1 release.2 ${DOCREL} release.4 release.5 \
    release.6 release.7 release.8 release.9 ${EXTRAS}
d1014 2
a1015 2
	@@rm -f release.5 release.9 floppies.[123]
	@@cd ${.CURDIR} && ${MAKE} release.5 release.9 floppies.1 floppies.2 \
@


1.846
log
@Remove some serious foot-shooting potential from the release Makefile.  For
some unknown reason, when LOCAL_PATCHES and LOCAL_SCRIPT were originally
added, they were silently ignored if the actual file did not exist.  As a
result, if one mistyped the pathname to a patch or script, then the release
silently succeeded.  However, it was not built with the desired changes and
no warning was given to inform the builder either.  This commit explicitly
checks to see that all of the defined patches and scripts exist up front
and bails if any of them do not exist.  I lost several hours of valuable
sleeping time this evening due to this "feature" so I've finally gone and
ripped out.  I've tripped over this in the past several other times as
well.

Glanced at by:	scottl
@
text
@a161 1
CRYPTO_DISTS?=	crypto
d163 1
a163 1
DISTRIBUTIONS?=	${BASE_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
a222 5
# Things that need to be compiled without crypto support in releases
.if !defined(FIXCRYPTO) && !make(release) && !make(rerelease)
FIXCRYPTO!=	cd ${.CURDIR}/../secure; ${MAKE} -V SPROGS
.endif

a436 1
	FIXCRYPTO \
a539 10
# Build and install non-crypto versions of some tools.
release.3:
	# Handle some grief caused by the munition braindeadness.
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNOCRYPT \
	    SUBDIR_OVERRIDE="${FIXCRYPTO}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
	-chflags -R noschg ${RD}/trees
	touch ${.TARGET}

d595 1
a595 1
		find ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS} -depth -type d -print | xargs rmdir
a653 6
	if [ -d ${RD}/dists/crypto ] ; then ( cd ${RD}/dists/src && \
		if [ -f ssecure.aa ] ; then mv ssecure.* ../crypto ; fi && \
		if [ -f scrypto.aa ] ; then mv scrypto.* ../crypto ; fi && \
		if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; \
		cd ${RD}/dists/crypto; rm -f CHECKSUM.MD5; \
		md5 * > CHECKSUM.MD5 ) ; fi
d1009 1
a1009 1
doRELEASE: release.1 release.2 release.3 ${DOCREL} release.4 release.5 \
@


1.845
log
@Die if make buildworld fails -- don't wait 'till installworld can't find
what it needs.
@
text
@d317 12
a361 1
.if exists(${p})
a362 1
.endif
d365 1
a365 1
.if defined(LOCAL_SCRIPT) && exists(${LOCAL_SCRIPT})
@


1.844
log
@Add URLS_ABSOLUTE=YES into the doc.1 target.
@
text
@d473 1
a473 1
	echo "	touch /tmp/.world_done"		>> ${_MK}
@


1.843
log
@Sorry for doing this backwards, but as with most release related stuff
we only pay attention to it during release time and at the moment it's
a -stable release in progress.

This is a MFS I guess, moving rev 1.536.2.113 to HEAD.  I ran out of
time to follow through with doing this last night.  Sorry for the delay.

Adding a couple of variables to make tweaking the CD-ROM label and .iso
filenames easier.
@
text
@d968 2
a969 1
	    INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/base/usr/share/doc
@


1.842
log
@- Only build a fixit floppy on i386 and pc98.
- Reenable boot floppies for Alpha.
@
text
@d118 6
d425 4
d938 2
a939 2
	    fbsd_miniinst \
	    ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1}
d941 2
a942 2
	    fbsd_livefs \
	    ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2}
@


1.841
log
@- Use a stock loader with forth support on the boot floppies.
- Use the regular forth scripts including the stock device.hints file on
  the boot floppies.
- gzip all the various text files on the boot floppy that are larger than
  one sector to save on space.
- Generate a loader.conf to load the kernel, acpi.ko, and mfsroot making
  use of the 'module_before' variables to prompt for a floppy to be entered
  when required and use a stock loader.rc.  This enables the beastie menu
  on i386.
- PC98 has been changed to split the mfsroot for now so that the floppies
  fit.  When the PC98 bootstrap is updated to work with ELF files (which
  needs to happen anyway), then SPLIT_MFSROOT can be turned off for PC98.
@
text
@d182 5
d190 1
a190 1
NO_FLOPPIES=
d255 5
a259 1
EXTRAS= floppies.1 floppies.2 floppies.3
@


1.840
log
@- Tweak order of arch fs options to stick all floppy options together and
  all MFS root options together and in the same order on all archs.
- Drop support for using the no longer existing 2.88 floppy image for CD
  booting on i386 via the EMUL_BOOT variable.
- Use a stock loader on the boot floppy rather than one without forth.
- Force the gzip of the mfsroot in release.9 to succeed.  This is useful
  when doing lots of rereleases when testing floppy changes.
- If an acpi kernel module exists, stick it on the boot floppy and for
  now always load it after the kernel.
@
text
@d171 1
d1091 3
a1093 2
HINTSFILE=	${.CURDIR}/../sys/${TARGET}/conf/GENERIC.hints
ACPI_KO=	${RD}/trees/base/boot/kernel/acpi.ko
d1121 1
a1121 1
	    ${IMAGEDIR}/boot/loader ${RD}/trees/base/boot/loader
d1123 1
a1123 1
	@@cp ${RD}/trees/base/boot/loader ${IMAGEDIR}/boot
d1125 8
a1132 8
	@@[ -r ${HINTSFILE} ] && \
	  sed -e '/^hint/s/^/set /' -e '/^#/d' ${HINTSFILE} > \
	    ${IMAGEDIR}/boot/device.hints && \
	  echo "include /boot/device.hints" > ${IMAGEDIR}/boot/loader.rc
	@@echo "load /kernel" >> ${IMAGEDIR}/boot/loader.rc
	@@echo "echo \\007\\007" >> ${IMAGEDIR}/boot/loader.rc
	@@echo "echo Please insert boot floppy and press enter:" >> ${IMAGEDIR}/boot/loader.rc
	@@echo "read" >> ${IMAGEDIR}/boot/loader.rc
d1135 9
a1143 1
	@@echo "load /acpi.ko" >> ${IMAGEDIR}/boot/loader.rc
a1144 3
	@@echo "load -t mfs_root /mfsroot" >> ${IMAGEDIR}/boot/loader.rc
	@@echo "echo \\007\\007" >> ${IMAGEDIR}/boot/loader.rc
	@@echo "autoboot 10" >> ${IMAGEDIR}/boot/loader.rc
@


1.839
log
@Two nits from rev. 1.835:

- Fixed spelling of NO_FLOPPIES to unbreak snapshot building on
  architectures that don't support them (as installation source).

- Don't rely on CVS setting execution bits on the shell script.
  (This is also consistent with the rest of this makefile.)

Reviewed by:	jhb
@
text
@a173 1
MFSSIZE=		4320
d175 1
d177 1
a178 1
FLOPPYLABEL=		fd1440
d193 1
a195 1
MFSSIZE=		8192
d257 1
a257 3
.if ${TARGET} == "i386" && defined(EMUL_BOOT)
BOOTABLE="-eb"
.elif ${TARGET} == "pc98"
d498 1
a498 1
	for i in ${DISTRIBUTIONS} special; do \
a653 6
.if exists(${.CURDIR}/../sys/boot/${TARGET}/loader)
	cd ${.CURDIR}/../sys/boot/${TARGET}/loader; \
	${WMAKE} clean cleandepend; \
	${WMAKE} -DNOMAN -DNOFORTH all; \
	${WMAKE} -DNOMAN -DNOFORTH install DESTDIR=${RD}/trees/special
.endif
d713 1
a713 1
	@@gzip -9nv ${RD}/mfsroot/mfsroot
a905 9
.if ${TARGET} == "i386" && defined(EMUL_BOOT) && !defined(NO_FLOPPIES)
	# In case bootable ISO with floppy emulation is desired.
.if defined(CD_BOOT)
	@@mkdir -p ${CD_BOOT}/floppies
	@@cp ${CD_DISC1}/floppies/boot.flp ${CD_BOOT}/floppies
.endif
	@@mkdir -p ${CD_DISC2}/floppies
	@@cp ${CD_DISC1}/floppies/boot.flp ${CD_DISC2}/floppies
.endif
d1091 1
d1119 1
a1119 1
	    ${IMAGEDIR}/boot/loader ${RD}/trees/special/boot/loader
d1121 1
a1121 1
	@@cp ${RD}/trees/special/boot/loader ${IMAGEDIR}/boot
d1131 4
a1135 1
	@@echo "set hint.acpi.0.disabled=1" >> ${IMAGEDIR}/boot/loader.rc
@


1.838
log
@The name of small boot floppy should be boot-small.flp to avoid conflicting
normal size floppy.

Reviewed by:	jhb
@
text
@d248 1
a248 1
.if !defined(NOFLOPPIES)
d1085 1
a1085 1
	${.CURDIR}/scripts/split-file.sh ${SPLITFILE} \
@


1.837
log
@Revert revision 1.833 -- the reinstallkernel.debug target calls the
installkernel.debug target (in the kernel build directory) which is
only defined if the kernel was configured for debugging which it is
not the case for GENERIC kernels on release branches.
@
text
@d761 1
a761 1
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
d771 1
a771 1
	@@cd ${.CURDIR} && ${MAKE} buildBootFloppy FSIMAGE="boot" \
@


1.836
log
@Only i386 and Alpha have the compat4x distribution.
@
text
@d544 1
a544 1
	    reinstallkernel.debug \
@


1.835
log
@Overhaul our boot floppy generation system so that it scales better and
requires minimal care and feeding for future releases.
- Consolidate multitude of floppy related constants down to a normal
  FLOPPY set for 1.44 floppies and on PC98 a SMALLFLOPPY set for 1.2
  floppies.  Also, cleanup the i386 arch section by not duplicating
  constants that are the same on both machine types (i386 and pc98).
- Update the ZIPNSPLIT macro to generate a file chunks that will actually
  fit onto 1.44 floppies formatted with UFS1.  Unfortunately, split(1)
  seems to be somewhat buggy, so the files generated are slightly larger
  than the argument passed to split.
- Split the release.10 target into 3 targers: floppies.1, floppies.2 and
  floppies.3 that are added to EXTRAS only if NOFLOPPIES is defined.
  floppies.1 builds the install floppies, floppies.2 builds the fixit
  floppy, and floppies.3 generates the md5 sums and READMEs for the
  floppies/ directory.
- Drop the by now largely obsolete and less useful boot.flp picture.  This
  was more useful when the mfsroot lived inside the kernel rather than
  being loaded from a separate file by the loader.
- Only build a single mfsroot containing no modules that is used for all
  installation methods.
- Use split-file.sh to split up a gzipped GENERIC kernel into however many
  floppies it takes for the boot kernel.  Currently, a stock 5.2 GENERIC
  kernel including WITNESS, INVARIANTS, DDB, and other assorted bloat fits
  onto 2 additional floppies besides the boot floppy with some room to
  spare.
- If SPLIT_MFSROOT is defined, the mfsroot.gz file is similar split into
  however many floppies are needed.  Currently it is not defined as the
  mfsroot.gz fits onto the current boot.flp with room to spare.
- Add a 'makeFloppySet' target which builds a floppy set for a file that
  was split using split-file.sh.
- Rename the doMFSKERN target to 'buildBootFloppy' as that more closely
  matches what it does now.  We no longer build a custom BOOTMFS kernel for
  each boot floppy.
- We no longer build a 2.88 boot.flp image to use with emulated CD booting.
  The non-emulated cdboot works for almost everyone who boots off of CD and
  if it doesn't work on a particular machine, the user can always boot from
  the 1.44 floppy images.
- We no longer build a driver floppy or stick kernel modules in the mfsroot
  since we now use a stock kernel when booting from floppy.
@
text
@d152 1
a152 1
.elif ${TARGET_ARCH} != "ia64"
@


1.834
log
@- Run makewhatis(1) in etc/Makefile at the end of "install".
- Removed redundant and undocumented NO_MAKEDB_RUN knob.
@
text
@d168 6
a173 4
SMALLBOOTSIZE=		1200
BOOTSIZE=		1440
SMALLFIXITSIZE=		1200
FIXITSIZE=		1440
d175 1
a176 1
FIXITINODE=		40000
d178 1
a178 4
SMALLBOOTLABEL=		fd1200
BOOTLABEL=		fd1440
SMALLFIXITLABEL=	fd1200
FIXITLABEL=		fd1440
a179 16
.else
DRIVERSIZE=		1440
BOOTSIZE=		1440
FIXITSIZE=		1440
MFSSIZE=		4320
BIGBOOTSIZE=		2880
DRIVERINODE=		40000
BOOTINODE=		80000
FIXITINODE=		40000
MFSINODE=		8000
DRIVERLABEL=		fd1440
BOOTLABEL=		fd1440
FIXITLABEL=		fd1440
MFSLABEL=		minimum3
BIGBOOTLABEL=		minimum2
.endif
d210 1
a210 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 1423k -
d248 4
a251 1
EXTRAS= ftp.1
d478 1
a478 2
	rm -rf ${CRUNCH_TARGETS:S/$/_crunch/} release.[0-9] release.10 \
	    ${EXTRAS}
d654 1
a654 13
# Complete the bootfd
#
# Now, just to get this picture down once and for all:
#
# +------------------------------------------------------------------------+
# |boot.flp                                                                |
# +-----+-----+------------------------------------------------------------+
# |boot1|boot2|floppy filesystem "bootfd"                                  |
# +-----+-----+-+----------------------+---------------------------------+-+
#               |kernel.gz             |mfsroot.gz                       |
#               +----------------------+---------------------------------+
#

a717 19
.if defined(SMALLBOOTSIZE)
	@@mkdir -p ${RD}/mfsroot-small
.if exists(${.CURDIR}/${TARGET}/drivers-small.conf)
	@@mkdir -p ${RD}/mfsfd/modules
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 2 \
	    ${.CURDIR}/${TARGET}/drivers-small.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/modules
.endif
	sh -e ${DOFS_SH} ${RD}/mfsroot-small/mfsroot ${RD} ${MNT} \
	    ${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9nv ${RD}/mfsroot-small/mfsroot
	@@rm -rf ${RD}/mfsfd/modules
.endif
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@mkdir -p ${RD}/mfsfd/modules
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 2 \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/modules
.endif
d724 9
a732 16
release.10:
.if !defined(NO_FLOPPIES)
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@echo "Making the drivers floppy."
	@@rm -rf ${RD}/driversfd
	@@mkdir ${RD}/driversfd
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 3 \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/driversfd
	-@@rmdir ${RD}/driversfd
	if [ -d ${RD}/driversfd ]; then \
	    sh -e ${DOFS_SH} ${RD}/floppies/drivers.flp ${RD} ${MNT} \
	        ${DRIVERSIZE} ${RD}/driversfd ${DRIVERINODE} ${DRIVERLABEL}; \
	    cd ${RD}/driversfd && awk -f  ${.CURDIR}/scripts/driver-desc.awk \
		*.dsc >> ${RD}/floppies/DRIVERS.TXT; \
	fi
d734 41
a774 11
.if defined(BOOTSIZE)
	@@echo "Making the regular boot floppy."
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern
.endif
.if defined(SMALLBOOTSIZE)
	@@echo "Making the small boot floppy."
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern-small FDSIZE=SMALL
.endif
.if defined(BIGBOOTSIZE)
	@@echo "Making the big boot floppy."
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot FDSIZE=BIG
d776 5
a780 1
.if defined(FIXITSIZE) || defined(SMALLFIXITSIZE)
d797 1
a797 1
.if defined(SMALLFIXITSIZE)
d801 1
a801 1
	    ${SMALLFIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${SMALLFIXITLABEL}
a804 1
.if defined(FIXITSIZE)
d808 5
a812 4
	    ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL}
.endif
.endif
# Do our last minute floppies directory setup in a convenient place.
a819 1
.endif
d1019 1
a1019 1
    release.6 release.7 release.8 release.9 release.10 ${EXTRAS}
d1023 3
a1025 2
	@@rm -f release.5 release.9 release.10
	@@cd ${.CURDIR} && ${MAKE} release.5 release.9 release.10
d1055 1
a1055 1
# --==## Put a filesystem into a BOOTMFS kernel ##==--
d1057 71
a1127 1
doMFSKERN:
d1129 2
a1130 34
	@@rm -f ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@cd ${.CURDIR}/../sys/${TARGET}/conf; \
	if [ -r ${.CURDIR}/${TARGET}/dokern.sh ]; then \
	    sh ${.CURDIR}/${TARGET}/dokern.sh ${FDSIZE}; \
	else \
	    sed -e 's/ident.*GENERIC/ident		BOOTMFS/g'; \
	fi < GENERIC > BOOTMFS; \
	[ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints
.if defined(FDSIZE) && ${FDSIZE} == "SMALL" && \
    exists(${.CURDIR}/${TARGET}/drivers-small.conf)
	@@awk -f ${.CURDIR}/scripts/driver-remove.awk \
	    ${.CURDIR}/${TARGET}/drivers-small.conf \
	    ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
.elif exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@awk -f ${.CURDIR}/scripts/driver-remove.awk \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
.endif
	cd ${.CURDIR}/..; \
	KERNEL_KO=BOOTMFS KODIR= \
	    ${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES -DNO_KERNELCLEAN \
	    KERNCONF=BOOTMFS COPTFLAGS="-Os -pipe" -DNO_CPU_COPTFLAGS \
	    buildkernel reinstallkernel \
	    DESTDIR=${RD}/kernels
	[ -r ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ] && \
	    cp ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ${RD}/kernels
	@@rm -rf ${RD}/image.${FSIMAGE}
	@@mkdir ${RD}/image.${FSIMAGE}
	@@cd ${RD}/kernels && \
	    (chflags noschg BOOTMFS || true) && \
	    ${WMAKEENV} strip -R .comment BOOTMFS && \
	    cp BOOTMFS BOOTMFS.${FSIMAGE} && \
	    [ -r BOOTMFS.hints ] && mv BOOTMFS.hints BOOTMFS.${FSIMAGE}.hints
	mv ${RD}/kernels/BOOTMFS ${RD}/image.${FSIMAGE}/kernel
d1132 1
a1132 1
	@@mkdir -p ${RD}/image.${FSIMAGE}/boot
d1135 1
a1135 1
	    ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/special/boot/loader
d1137 1
a1137 1
	@@cp ${RD}/trees/special/boot/loader ${RD}/image.${FSIMAGE}/boot
d1139 12
a1150 20
	@@[ -r ${RD}/kernels/BOOTMFS.${FSIMAGE}.hints ] && \
	  sed -e '/^hint/s/^/set /' -e '/^#/d' \
	      ${RD}/kernels/BOOTMFS.${FSIMAGE}.hints > \
	      ${RD}/image.${FSIMAGE}/boot/device.hints && \
	  echo "include /boot/device.hints" \
	      > ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "load /kernel" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
.if !defined(FDSIZE) || ${FDSIZE} != "BIG"
	@@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
.endif
	@@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "set hint.acpi.0.disabled=1" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@if [ -r ${RD}/floppies/drivers.flp ]; then \
		echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc; \
	fi
	@@echo "set module_path=\"/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
d1152 1
a1152 20
	@@echo "-P" >> ${RD}/image.${FSIMAGE}/boot.config
.endif
	@@gzip -9v ${RD}/image.${FSIMAGE}/kernel
	@@rm -f ${RD}/floppies/${FSIMAGE}.flp
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
	@@cp ${RD}/mfsroot/mfsroot.gz ${RD}/image.${FSIMAGE}
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp ${RD} ${MNT} \
	    ${BIGBOOTSIZE} ${RD}/image.${FSIMAGE} ${BOOTINODE} ${BIGBOOTLABEL}
.elif defined(FDSIZE) && ${FDSIZE} == "SMALL"
	sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp ${RD} ${MNT} \
	    ${SMALLBOOTSIZE} ${RD}/mfsroot-small/mfsroot.gz ${BOOTINODE} \
	    ${SMALLBOOTLABEL}
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp ${RD} ${MNT} \
	    ${SMALLBOOTSIZE} ${RD}/image.${FSIMAGE} ${BOOTINODE} \
	    ${SMALLBOOTLABEL}
.else
	sh -e ${DOFS_SH} ${RD}/floppies/mfsroot.flp ${RD} ${MNT} \
	    ${BOOTSIZE} ${RD}/mfsroot/mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp ${RD} ${MNT} \
	    ${BOOTSIZE} ${RD}/image.${FSIMAGE} ${BOOTINODE} ${BOOTLABEL}
d1154 4
@


1.833
log
@Use the reinstallkernel.debug target, now that we have it.
@
text
@d538 1
a538 1
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DNOCRYPT \
@


1.832
log
@Fix "5.x release on 4.x box" support.

It is required to check /etc/rc.d/ldconfig before use, because
${CHROOT} sandbox is sometimes 4.x world.  If /etc/rc.d/ldconfig
is not there, run ldconfig(8) directly.

Discussed with: imp, obrien, ru
@
text
@d559 1
a559 1
	    reinstallkernel -DINSTALL_DEBUG \
@


1.831
log
@Once upon a time we had both "crypto" and "krb5" distributions,
and rebuilt some bits with crypto but without Kerberos support
(most notably SSH) during "make release", to put them into the
"crypto" distribution.

Now that we don't ship the separate "krb5" distribution anymore
(it's now part of the "crypto" distribuion), don't waste time
recompiling SSH bits without crypto and without Kerberos support
in an attempt to put them in the "base" distribution -- it just
doesn't work as SSH always uses crypto code.

We avoid this by not rebuilding KPROGS from kerberos5/Makefile in
release/Makefile and adding "libpam" to SPROGS in secure/Makefile
to ensure it's still rebuilt without crypto support for the "base"
distribution.  (Disabling crypto (NOCRYPT) also disables building
of Kerberos-related PAM modules, and it's OK to depend on this.)

This should be a no-op change saving some "make release" time.
@
text
@d461 5
a465 1
	echo "/etc/rc.d/ldconfig start"		>> ${_MK}
@


1.830
log
@MFRELENG_5_2: Default the snapshot versioning to 5.2.

PR:		misc/61402
Submitted by:	Chris Knight
@
text
@d231 1
a231 2
FIXCRYPTO!=	cd ${.CURDIR}/../kerberos5; ${MAKE} -V KPROGS; \
		cd ${.CURDIR}/../secure; ${MAKE} -V SPROGS
@


1.829
log
@Add missing '\' in previous change.
@
text
@d21 1
a21 1
#BUILDNAME=5.1-RELEASE
d25 1
a25 1
BASE = 5.1
@


1.828
log
@* if-like-constructs now use <TAB>body consistently.
* Long statements with '\' continuation now use <4 spaces>continuation
  consistently.
* wraps some long lines
* More consistent on how very simular repeated commands are wrapped.
@
text
@d990 1
a990 1
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' 
@


1.827
log
@Use /etc/rc.d/ldconfig script rather than the ldconfig command directly.

Submitted by:	matusita
@
text
@d343 1
a343 1
		cp -R -H ${EXTSRCDIR} src
d346 2
a347 1
		${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} ${CVS_SRCARGS} ${RELEASESRCMODULE}
d357 2
a358 1
	cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT}
d362 2
a363 1
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} ${CVS_PORTSARGS} ${RELEASEPORTSMODULE}
d370 2
a371 1
	cd ${CHROOTDIR}/usr && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} ${CVS_DOCARGS} ${RELEASEDOCMODULE}
d386 2
a387 1
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q update ${CVSCMDARGS} -P -d -A
d389 2
a390 1
	cd ${CHROOTDIR}/usr/src && ${CVSPREFIX} cvs -R ${CVSARGS} -q update ${CVSCMDARGS} -P -d -r ${RELEASETAG}
d394 2
a395 1
	cd ${CHROOTDIR}/usr/ports && ${CVSPREFIX} cvs -R ${CVSARGS} -q update ${CVSCMDARGS} -P -d
d399 2
a400 1
		( cd ${CHROOTDIR}/usr/$$i && ${CVSPREFIX} cvs -R ${CVSARGS} -q update ${CVSCMDARGS} -P -d ) ; \
d404 2
a405 1
	cd ${CHROOTDIR}/usr/doc && ${CVSPREFIX} cvs -R ${CVSARGS} -q update ${CVSCMDARGS} -P -d
d483 2
a484 1
	# Ensure md.ko is loaded if md(4) is not statically compiled into the kernel
d569 2
a570 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${TARGET}/${j}_crunch.conf
d699 2
a700 1
	cp ${.CURDIR}/../etc/defaults/pccard.conf ${RD}/mfsfd/etc/defaults/pccard.conf
d719 2
a720 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d723 2
a724 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d726 4
a729 2
	@@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT ${RD}/mfsfd/stand/help/INSTALL.TXT
	@@mv ${RD}/mfsfd/stand/help/EARLY-ADOPTER.TXT ${RD}/mfsfd/stand/help/EARLY.TXT
d731 2
a732 1
	-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
d751 1
a751 1
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
d763 1
a763 1
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
d778 2
a779 3
	    sh -e ${DOFS_SH} \
		${RD}/floppies/drivers.flp ${RD} ${MNT} ${DRIVERSIZE} \
		${RD}/driversfd ${DRIVERINODE} ${DRIVERLABEL}; \
d801 2
a802 2
		mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
		usr/share/misc
d804 1
a804 1
		${RD}/fixitfd/etc
d806 1
a806 1
		> ${RD}/fixitfd/etc/protocols
d808 1
a808 1
		> ${RD}/fixitfd/usr/share/misc/scsi_modes
d815 3
a817 4
		DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit-small.flp \
		${RD} ${MNT} ${SMALLFIXITSIZE} ${RD}/fixitfd ${FIXITINODE} \
		${SMALLFIXITLABEL}
d823 3
a825 3
		DIR=${RD}/fixitfd/stand ZIP=false
	@@sh -e ${DOFS_SH} ${RD}/floppies/fixit.flp ${RD} \
		${MNT} ${FIXITSIZE} ${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL}
d831 1
a831 1
		${RD}/floppies/README.TXT
d852 4
a855 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d858 4
a861 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d888 1
a888 1
			find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \
d897 4
a900 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d903 4
a906 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d958 2
a959 2
	@@sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
	    ${BOOTABLE} fbsd_boot \
d981 2
a982 1
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/base/usr/share/doc
d990 2
a991 1
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' INSTALL_COMPRESSED='' DOCDIR=${RND}
d1017 2
a1018 2
		sh ${.CURDIR}/scripts/info.sh ${RD}/dists/${TD}/$$tn > \
		   ${RD}/dists/${TD}/$$tn.inf && \
d1020 2
a1021 1
		  cp -p ${.CURDIR}/scripts/$${TD}-install.sh ${RD}/dists/${TD}/install.sh; \
d1030 3
a1032 3
		(cd ${RD}/dists/${TD}; \
		   rm -f CHECKSUM.MD5; \
		   md5 * > CHECKSUM.MD5) \
d1086 2
a1087 2
		${.CURDIR}/${TARGET}/drivers-small.conf \
		${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
d1090 2
a1091 2
		${.CURDIR}/${TARGET}/drivers.conf \
		${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
d1100 1
a1100 1
	cp ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ${RD}/kernels
d1104 4
a1107 4
	  (chflags noschg BOOTMFS || true) && \
	  ${WMAKEENV} strip -R .comment BOOTMFS && \
	  cp BOOTMFS BOOTMFS.${FSIMAGE} && \
	  [ -r BOOTMFS.hints ] && mv BOOTMFS.hints BOOTMFS.${FSIMAGE}.hints
d1112 2
a1113 2
	@@${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o \
	    -o ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/special/boot/loader
d1119 4
a1122 3
	    ${RD}/kernels/BOOTMFS.${FSIMAGE}.hints > \
	    ${RD}/image.${FSIMAGE}/boot/device.hints && \
	  echo "include /boot/device.hints" > ${RD}/image.${FSIMAGE}/boot/loader.rc
d1132 1
a1132 1
	    echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc; \
d1144 2
a1145 3
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${BIGBOOTSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${BIGBOOTLABEL}
d1147 6
a1152 6
	sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/mfsroot-small/mfsroot.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${SMALLBOOTLABEL}
d1154 4
a1157 6
	sh -e ${DOFS_SH} ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${BOOTSIZE} ${RD}/mfsroot/mfsroot.gz \
		${BOOTINODE} ${BOOTLABEL}
	sh -e ${DOFS_SH} ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${BOOTSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${BOOTLABEL}
@


1.826
log
@Run ldconfig in the chroot environment to find shared libraries in
/usr/local/lib.
@
text
@d453 1
a453 1
	echo "ldconfig /lib /usr/lib /usr/local/lib"	>> ${_MK}
@


1.825
log
@Automatically generate the CHECKSUM.MD5 file for ISO's.

Approved by:	scottl
@
text
@d453 1
@


1.825.2.1
log
@Version number bumps for the upcoming 5.2-RELEASE.

Approved by:	re
@
text
@d21 1
a21 1
#BUILDNAME=5.2-RELEASE
d25 1
a25 1
BASE = 5.2
@


1.825.2.2
log
@Run 'strip -x' on the kernel modules on the mfsroot floppy to reclaim some
space.  This appears to be safe for what we need here.  This is needed now
because the slight addition to the readme files has caused the mfsroot
floppy to overflow again.

Approved by:	re (implicit)
@
text
@a741 1
	@@strip -x ${RD}/mfsfd/modules/*.ko
@


1.825.2.3
log
@Use 'strip -g' instead of 'strip -x' on the boot floppy modules.  Hopefully
this will allows them to work again.

Approved by:	re (implicit)
@
text
@d742 1
a742 1
	@@strip -g ${RD}/mfsfd/modules/*.ko
@


1.825.2.4
log
@Update the release makefile for 5.2.1
@
text
@d21 1
a21 1
#BUILDNAME=5.2.1-RELEASE
d25 1
a25 1
BASE = 5.2.1
@


1.824
log
@Generate minimal /etc/group file for mfsroot tree.

This fixes newfs failures at installation.

Reviewed by:	re (scottl)
@
text
@d940 1
@


1.823
log
@Fix ${LOCAL_PATCHES} (chdir was ignored).
@
text
@d698 2
d701 1
@


1.822
log
@Combining "all" and "install" in one invocation is a very bad idea as
conditional evaluation is done only once in this case, and this may
not account for the fact that some conditionals would be evaluated
differently if "all" has already been run, like is the case with the
loader.help existance check in sys/boot/alpha/common/Makefile.common,
beforeinstall target.  This should fix Alpha snapshot builds.
@
text
@a348 1
	cd ${CHROOTDIR}/usr/${RELEASESRCMODULE}
d351 1
a351 1
	patch ${PATCH_FLAGS} < ${p}
@


1.821
log
@Correct the description of what the release.3 stage does nowadays.
@
text
@d672 2
a673 1
	${WMAKE} -DNOMAN -DNOFORTH all install DESTDIR=${RD}/trees/special
@


1.820
log
@Make LOCAL_PATCHES accept multiple patch files, as its name suggests.
@
text
@d521 1
a521 1
# Build and install crypto distributions.
@


1.819
log
@For boot floppies, build a lightweight version of loader(8)
without Forth support.  Saves 28K of kern.flp and boot.flp
on i386.

Reviewed by:	jhb
@
text
@d348 7
a354 2
.if defined(LOCAL_PATCHES) && exists(${LOCAL_PATCHES})
	cd ${CHROOTDIR}/usr/src && patch ${PATCH_FLAGS} < ${LOCAL_PATCHES}
@


1.818
log
@2nd part of making the name of the release running script overrideable.
@
text
@d497 1
a497 1
	for i in ${DISTRIBUTIONS} ; do \
d664 5
d1077 1
a1077 1
	    -o ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
d1079 1
a1079 1
	@@cp ${RD}/trees/base/boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.817
log
@Make the name of the release running script overrideable.
@
text
@d471 1
a471 1
	env -i /usr/sbin/chroot ${CHROOTDIR} /mk
@


1.816
log
@Added the new knob MINIROOT that, when set, causes the creation
of the bootable UFS image, miniroot.ufs, fully identical to the
contents of the "bootonly" CD-ROM.  The image is made available
on FTP as miniroot/miniroot.ufs.gz, for resemblance with NetBSD.

This replaces the boot.flp image for sparc64, making the latter
as coming with NO_FLOPPIES.

Reviewed by:	jhb
Tested by:	hrs
@
text
@d247 1
d404 4
a407 4
	echo "#!/bin/sh"			> ${CHROOTDIR}/mk
	echo "set -ex"				>> ${CHROOTDIR}/mk
	echo "trap 'umount /dev || true' 0"	>> ${CHROOTDIR}/mk
	echo "_RELTARGET=\$${1:-doRELEASE}"	>> ${CHROOTDIR}/mk
d439 1
a439 1
	echo "export ${var}=\"${${var}}\""	>> ${CHROOTDIR}/mk
d443 3
a445 3
	echo "export RELEASEDIR=${_R}"		>> ${CHROOTDIR}/mk
	echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}"	>> ${CHROOTDIR}/mk
	echo "export MANBUILDCAT=YES"		>> ${CHROOTDIR}/mk
d447 19
a465 20
	echo "umount /dev >/dev/null 2>&1 || true" >> ${CHROOTDIR}/mk
	echo "mount -t devfs devfs /dev >/dev/null 2>&1 || true" \
						>> ${CHROOTDIR}/mk
	echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
	echo "	cd /usr/src"			>> ${CHROOTDIR}/mk
	echo "	${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${CHROOTDIR}/mk
	echo "	touch /tmp/.world_done"		>> ${CHROOTDIR}/mk
	echo "fi"				>> ${CHROOTDIR}/mk
	echo "if [ ! -f /tmp/.skip_ports ]; then" >> ${CHROOTDIR}/mk
	echo "	echo \">>> make readmes started on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
	echo "	cd /usr/ports"			>> ${CHROOTDIR}/mk
	echo "	make ${PORTREADMES_FLAGS} readmes" >> ${CHROOTDIR}/mk
	echo "	touch /tmp/.skip_ports"		>> ${CHROOTDIR}/mk
	echo "	echo \">>> make readmes finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
	echo "fi"				>> ${CHROOTDIR}/mk
	echo "cd /usr/src/release"		>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
	echo "make \$${_RELTARGET}"		>> ${CHROOTDIR}/mk
	echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
	chmod 755 ${CHROOTDIR}/mk
@


1.815
log
@- Eliminate the "rm" command that was causing us trouble in rev. 1.799.

- Normalize doRELEASE to avoid seeing "`ftp.1' is up to date." warning
  when doing "make rerelease", and ftp.1 was already built.

Reviewed by:	jhb
@
text
@a203 1
BIGBOOTSIZE=		4096
a204 1
BOOTINODE=		8192
a205 1
BIGBOOTLABEL=		auto
d207 2
d251 1
a251 1
.if ${TARGET} != ${MACHINE}
d886 6
@


1.814
log
@- Unbreak Alpha snapshots (we were still attempting to build a
  no longer existing "fixit" crunched binary).

- Simplify the CRUNCH_TARGETS variable's initialization.

- Simplify the release.5 logic a bit by accounting for the fact
  that release/*_crunch.conf files were removed two years ago.
@
text
@d720 1
a720 1
	sh -e ${DOFS_SH} mfsroot-small ${RD} ${MNT} \
d722 1
a722 1
	@@gzip -9cnv mfsroot-small > ${RD}/mfsroot-small/mfsroot.gz
d732 1
a732 1
	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
d734 1
a734 2
	@@gzip -9cnv mfsroot > ${RD}/mfsroot/mfsroot.gz
	@@rm -f mfsroot mfsroot-small
d989 2
a990 3
doRELEASE:  release.1 release.2 release.3 ${DOCREL} release.4 release.5 \
		release.6 release.7 release.8 release.9 release.10
	@@cd ${.CURDIR} && ${MAKE} ${EXTRAS}
@


1.813
log
@Back out LC_ALL=C since tr here supposed to run under clean env -i
environment always.

Pointed by:     ru
@
text
@d258 6
a263 8
.if ${TARGET_ARCH} == "sparc64"
CRUNCH_TARGETS= boot
.elif ${TARGET_ARCH} == "ia64"
CRUNCH_TARGETS= boot
.elif ${TARGET} == "pc98"
CRUNCH_TARGETS=	boot fixit fixit-small
.elif ${TARGET_ARCH} == "amd64"
CRUNCH_TARGETS= boot
a265 2
CRUNCH_TARGETS?=boot fixit

d552 1
a554 1
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
a555 3
.else
	cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${j}_crunch.conf
.endif
d562 1
@


1.812
log
@LANG->LC_ALL

Pointed by:     ru
@
text
@d700 1
a700 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
d703 1
a703 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
d831 2
a832 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
d835 2
a836 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
d872 2
a873 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
d876 2
a877 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | LC_ALL=C tr 'a-z' 'A-Z'`.HTM; \
d975 1
a975 1
		tn=`echo ${TN} | LC_ALL=C tr 'A-Z' 'a-z' | cut -c1-8` && \
@


1.811
log
@Prepend LANG=C to all tr 'a-z' 'A-Z' and vice versa.
Note: this is POSIX requirement, c-c ranges are portable only in POSIX locale
@
text
@d700 1
a700 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
d703 1
a703 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
d831 2
a832 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
d835 2
a836 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
d872 2
a873 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
d876 2
a877 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | LANG=C tr 'a-z' 'A-Z'`.HTM; \
d975 1
a975 1
		tn=`echo ${TN} | LANG=C tr 'A-Z' 'a-z' | cut -c1-8` && \
@


1.810
log
@- Removed vestiges of the IA64 boot floppy support.
- Fixed the bootable CD-ROM support for IA64.

Reviewed by:	marcel
Tested by:	marcel
@
text
@d700 1
a700 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d703 1
a703 1
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
d831 2
a832 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d835 2
a836 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d872 2
a873 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d876 2
a877 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d975 1
a975 1
		tn=`echo ${TN} | tr '[A-Z]' '[a-z]' | cut -c1-8` && \
@


1.809
log
@- Boot-only CD-ROM support (bootonly.iso).

Submitted by:	jhb, ru

- Moved the creation of the ports distribution to release.7.
- Call MFS root floppy mfsroot.flp even on a small PC98 disk.

Submitted by:	jhb

Reviewed by:	ru, jhb
@
text
@d252 1
a252 3
.if exists(${.CURDIR}/${TARGET_ARCH}/doFS.sh)
DOFS_SH=	${.CURDIR}/${TARGET_ARCH}/doFS.sh
.elif ${TARGET} != ${MACHINE}
a1075 2
.elif ${TARGET_ARCH} == "ia64"
	@@cp ${RD}/trees/base/boot/loader.efi ${RD}/image.${FSIMAGE}/boot
a1090 1
.if ${TARGET_ARCH} != "ia64"
a1091 1
.endif
@


1.808
log
@From now on, Alpha releases will come with NO_FLOPPIES.

Approved by:	consensus on freebsd-alpha

A replacement (miniboot.iso) is currently under development.
@
text
@d243 3
d607 13
a719 1
	@@mkdir -p ${RD}/mfsroot
d721 1
d730 1
a730 1
	@@gzip -9vc mfsroot-small > ${RD}/mfsroot/mfsroot-small.gz
d739 1
d742 1
a742 1
	@@gzip -9vc mfsroot > ${RD}/mfsroot/mfsroot.gz
a846 3
.if !defined(NOPORTS)
	@@tar --exclude CVS -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
.endif
d854 1
a854 1
	@@mkdir -p ${CD_DISC1} ${CD_DISC2}
d888 1
a888 1
	@@echo "Setting up /boot"
d894 3
a897 1
.endif
d900 4
a906 6
.if !defined(NOPORTS)
	@@mkdir -p ${CD_DISC1}/ports && \
	  tar --exclude CVS --exclude 'ports/distfiles/*' -czf \
	  ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
	  cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh \
	  && (cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
d913 5
a1093 3
.if defined(FDSIZE) && ${FDSIZE} == "SMALL"
	@@echo "load -t mfs_root /mfsroot-small" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
.else
a1094 1
.endif
d1116 1
a1116 1
		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/mfsroot/mfsroot-small.gz \
@


1.807
log
@Revert last delta, sys/conf/kern.pre.mk,v 1.33 does the job.

OK'ed by:	scottl
@
text
@a197 3
DRIVERSIZE=		1440
BOOTSIZE=		1440
FIXITSIZE=		2880
a198 4
BIGBOOTSIZE=		2880
DRIVERINODE=		40000
BOOTINODE=		80000
FIXITINODE=		40000
a199 3
DRIVERLABEL=		fd1440
BOOTLABEL=		fd1440
FIXITLABEL=		minimum2
d201 1
a201 1
BIGBOOTLABEL=		minimum2
a703 3
.if ${TARGET_ARCH} == "alpha" && !defined(NO_FLOPPIES)
	rm -rf ${RD}/mfsfd/stand/help/*
.endif
@


1.806
log
@The -Os kernel build with GCC 3.3.1 also requires -fno-strict-aliasing
to survive.

Discussed with:	bde
Tested on:	i386 and pc98
@
text
@d1054 1
a1054 2
	    KERNCONF=BOOTMFS COPTFLAGS="-Os -fno-strict-aliasing -pipe" \
	    -DNO_CPU_COPTFLAGS \
@


1.805
log
@Initialize the FIXCRYPTO, BINMAKE and related variables (that use
the != operator) only when needed.

This change allows me to check out the current version of release/
makefiles only (co -l) to /tmp/release, and use that directory to
build a release (supplying the correct WORLDDIR).

Without this, attempt to "make release" caused an endless fork bomb
while trying to evaluate FIXCRYPTO, and the only way I could get
away from this on a remote box was to "kill -INT 1", thanks to
tcsh(1) and its internal "kill" command.
@
text
@d1054 2
a1055 1
	    KERNCONF=BOOTMFS COPTFLAGS="-Os -pipe" -DNO_CPU_COPTFLAGS \
@


1.804
log
@Embed a simplistic version of the dokern.sh script directly into
release/Makefile.

Reviewed by:	marcel

The original patch also removed ia64/dokern.sh, but this was OBE.
@
text
@d241 1
a241 1
.if !defined(FIXCRYPTO)
d298 1
d303 1
@


1.803
log
@Moved the MFS root floppies creation code from release.10 to
doMFSKERN (where it logically belongs).
@
text
@d1032 7
a1038 3
	@@cd ${.CURDIR}/../sys/${TARGET}/conf && \
	    sh ${.CURDIR}/${TARGET}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS && \
	    [ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints
@


1.802
log
@Make IA64 a second port that comes with NO_FLOPPIES.

Reviewed by:	marcel
@
text
@a759 3
	@@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${BOOTSIZE} ${RD}/mfsroot/mfsroot.gz \
		${BOOTINODE} ${BOOTLABEL}
a763 3
	@@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/mfsroot/mfsroot-small.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
d1107 3
d1114 3
@


1.801
log
@Bah, I go and get all preachy, and then commit from the wrong branch.  Revert
the use of '-j8'.

Apologies to:	ru
@
text
@a220 3
BIGBOOTLABEL=		efi
BIGBOOTSIZE=		5154
BOOTINODE=		15872
d224 1
@


1.800
log
@Fix the release build with a forgotten '-f'.
@
text
@d67 2
a68 2
WORLD_FLAGS=-j8 -s
KERNEL_FLAGS=-j8 -s
@


1.799
log
@Make the PC98 small boot floppy usable again.

Spotted by:	nyan
Reviewed by:	nyan
@
text
@d67 2
a68 2
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4
d739 1
a739 1
	@@rm mfsroot mfsroot-small
@


1.798
log
@The RELEASE9 knob is now OBE.

OK'ed by:	jhb
@
text
@d1090 3
d1094 1
@


1.797
log
@Moved the boot floppy generation code out from release.9 to release.10.
The release.9 target is now responsible only for generation of MFS root
file systems, that are built for all architectures, even those that do
not provide a floppy installation option.  The release.10 target is now
responsible for creation of a set of boot, MFS root, and fixit floppies,
and the NO_FLOPPIES variable now affects only this target.

Also, replaced the FIXIT_TARGET variable with a check of whether the
*FIXITSIZE variables are present for a given architecture, similar to
how this is done when generating boot floppies.

Discussed with:	jhb
@
text
@a997 6
.if target(release.9.${TARGET_ARCH})
RELEASE9=release.9.${TARGET_ARCH}
.else
RELEASE9=release.9 
.endif

d999 1
a999 1
		release.6 release.7 release.8 ${RELEASE9} release.10
@


1.796
log
@Forced commit.

The previous commit included some commented-out macro-assignments
with comments documenting their function. These macros were of
considerable use to me in building a test "make release".
@
text
@a270 1
FIXIT_TARGET=
a272 1
FIXIT_TARGET=
a276 1
FIXIT_TARGET=
a280 4
.if !defined(FIXIT_TARGET)
FIXIT_TARGET= release.10
.endif

d488 1
a488 1
	rm -rf ${CRUNCH_TARGETS:S/$/_crunch/} release.[0-9] ${FIXIT_TARGET} \
a666 1
.if ${TARGET_ARCH} != "ia64" || ${TARGET_ARCH} == ${MACHINE_ARCH}
a711 1
	@@echo "Making the regular boot floppy."
d717 2
a718 1
.if defined(SMALLBOOTSIZE) && !defined(NO_FLOPPIES)
a719 1
	@@rm -rf ${RD}/mfsfd/modules
d725 1
a725 1
	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
d727 2
a728 4
	@@gzip -9vc mfsroot > mfsroot.gz
	@@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
a730 1
	@@rm -rf ${RD}/mfsfd/modules
d735 8
d744 2
a759 7
.endif
	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9vc mfsroot > mfsroot.gz
	@@mkdir -p ${RD}/mfsroot
	@@cp mfsroot.gz ${RD}/mfsroot
.if !defined(NO_FLOPPIES)
d761 1
d763 2
a764 1
		${RD} ${MNT} ${BOOTSIZE} mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
d768 4
d775 1
d778 1
a778 11
.endif
	@@rm mfsroot mfsroot.gz
	@@echo "Regular and MFS boot floppies made."
.endif
	touch ${.TARGET}

#
# --==## Create a fixit floppy ##==--
#
release.10:
.if !defined(NO_FLOPPIES)
d804 1
d809 2
d1005 1
a1005 1
		release.6 release.7 release.8 ${RELEASE9} ${FIXIT_TARGET}
d1010 2
a1011 2
	@@cd ${.CURDIR} && ${MAKE} boot.flp
	@@cd ${.CURDIR} && ${MAKE} fixit.flp
a1013 8
boot.flp:
	@@rm -f release.5 release.9
	@@cd ${.CURDIR} && ${MAKE} release.5 release.9 CRUNCH_TARGETS=boot

fixit.flp:
	@@rm -f release.5 release.10
	@@cd ${.CURDIR} && ${MAKE} release.5 release.10 CRUNCH_TARGETS=fixit

d1112 1
a1112 1
	@@cp mfsroot.gz ${RD}/image.${FSIMAGE}
@


1.795
log
@Get the correct set of cryptographically-infected binaries
automagically from the (secure|kerberos5)/Makefile:[KS]PROG.
@
text
@@


1.794
log
@Replaced the hardcoded target names in the touch(1) commands with
${.TARGET}, to ease maintenance.
@
text
@d32 6
d47 3
d244 2
a245 5
FIXCRYPTO!=	cd ${.CURDIR}/../kerberos5; ${MAKE} -V KPROGS
FIXCRYPTO+=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
		lib/libfetch usr.bin/fetch
.if !defined(NO_SENDMAIL)
FIXCRYPTO+=	usr.sbin/sendmail
a246 2
.endif

@


1.793
log
@Added the (undocumented) EMUL_BOOT variable (for TARGET=i386 only)
that causes the bootable ISO images to be created using the floppy
emulation (the old method) as opposed to the new "cdboot" method.

Only copy boot.flp to the 2nd CD-ROM if this variable is defined.

Reviewed by:	murray
@
text
@d525 1
a525 1
	touch release.1
d531 1
a531 1
	touch release.2
d541 1
a541 1
	touch release.3
d560 1
a560 1
	touch release.4
d582 1
a582 1
	touch release.5
d600 1
a600 1
	touch release.6
d617 1
a617 1
	touch release.7
d654 1
a654 1
	touch release.8
d780 1
a780 1
	touch release.9
d825 1
a825 1
	touch release.10
d857 1
a857 1
	touch ftp.1
d918 1
a918 1
	touch cdrom.1
d936 1
a936 1
	touch iso.1
d953 1
a953 1
	touch doc.1
d961 1
a961 1
	touch doc.2
@


1.792
log
@Added the WORLDDIR variable (defaulting to ${.CURDIR}/..) that
points to a directory where "make buildworld" was run.  Useful
for building 5.x snapshots on 4.x.
@
text
@d290 5
a294 1
.if ${TARGET} != "pc98"
d906 1
a906 1
.if ${TARGET} == "i386" && !defined(NO_FLOPPIES)
@


1.791
log
@Make NO_FLOPPIES really mean "no floppies", including not even
creating the "floppies" directory on FTP and CD-ROMs.  Enforce
NO_FLOPPIES on amd64.

Tested for:	amd64, i386 with -DNO_FLOPPIES
@
text
@d319 2
d342 1
a342 1
	cd ${.CURDIR}/.. && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNOMAN \
d344 1
a344 1
	cd ${.CURDIR}/../etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
@


1.790
log
@Revert revision 1.788, and explain a bit the intent of having
the boot.flp image on the second CD-ROM.

Explained by:	jhb
Desired by:	vendors
@
text
@d222 1
d503 1
d505 1
d716 1
a716 1
.if defined(SMALLBOOTSIZE)
d737 1
d752 1
d828 1
d830 1
d860 1
d862 1
d900 1
a900 1
.if ${TARGET} == "i386"
@


1.789
log
@Do not define BIGBOOTSIZE and the friends for amd64; it serves
no useful purpose other than wasting CPU time in "make release"
creating useless boot.flp.

Desired by:	peter
@
text
@d891 5
@


1.788
log
@/floppies/boot.flp is no longer necessary on bootable i386 CD-ROMs.

Forgotten by:	jhb
@
text
@a218 1
BIGBOOTSIZE=		4096
a219 1
BOOTINODE=		8192
a220 1
BIGBOOTLABEL=		auto
@


1.787
log
@Fixed the last-minute bug I made in previous commit.
@
text
@a893 4
.if ${TARGET} == "i386"
	@@mkdir -p ${CD_DISC2}/floppies
	@@cp ${CD_DISC1}/floppies/boot.flp ${CD_DISC2}/floppies
.endif
@


1.786
log
@Fixed style bugs related to parentheses in Makefile.inc1.

Submitted by:	bde

Fixed nearby bug: propagate the root Makefile's idea of
the appropriate "make" binary down to release/Makefile.
@
text
@d570 1
a570 1
	cd ${.CURDIR}/..; ${BINMAKE} _build-tools
@


1.785
log
@MFRELENG_5_1: Default the release makefile to 5.1.
@
text
@d68 2
a69 1
CROSSMAKE=	${MAKE} TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
d301 4
a304 2
WMAKEENV!=	cd ${.CURDIR}/..; ${CROSSMAKE} -f Makefile.inc1 -V WMAKEENV
WMAKE=		${WMAKEENV} ${MAKE} -m ${.CURDIR}/../share/mk
d570 1
a570 2
	cd ${.CURDIR}/..; ${MAKE} -m ${.CURDIR}/../share/mk -f Makefile.inc1 \
	    _build-tools
@


1.784
log
@Be laconic.
@
text
@d21 1
a21 1
#BUILDNAME=5.0-RELEASE
d25 1
a25 1
BASE = 5.0
@


1.783
log
@Add amd64 support
@
text
@d279 1
a279 3
.if !defined(CRUNCH_TARGETS)
CRUNCH_TARGETS=	boot fixit
.endif
@


1.782
log
@TARGET_ARCH == amd64 also has /boot/mbr.
@
text
@d217 7
d274 3
@


1.781
log
@Have the port readmes follow the same logic as buildworld. We skip
doing make readmes if /tmp/.skip_ports exists. This file is created
after a complete run, which avoids that we do the lengthy operation
again for a rerelease.
When NOPORTS or NOPORTREADMES are defined, we create the file prior
to starting the release.
@
text
@d697 1
a697 1
.if ${TARGET} == "i386"
@


1.780
log
@Add some missing items to the make clean target.
@
text
@d456 1
a456 5
.if defined(NOPORTS) || defined(NOPORTREADMES)
	echo "if false; then"			>> ${CHROOTDIR}/mk
.else
	echo "if true; then"			>> ${CHROOTDIR}/mk
.endif
d460 1
d468 3
@


1.779
log
@Remove alpha-specific floppy build target for now.

Approved by:	re(jhb)
@
text
@d476 2
a477 1
	rm -rf boot_crunch release.[0-9]
@


1.779.2.1
log
@Default the release makefile to 5.1
@
text
@d21 1
a21 1
#BUILDNAME=5.1-RELEASE
d25 1
a25 1
BASE = 5.1
@


1.778
log
@Move the isp driver back to the alpha BOOTMFS kernel, and trim the size
of inodes for the alpha driver floppy.  With this patch, alpha actually
built a full release!

Submitted by:	ru
@
text
@a762 111
release.9.alpha:
.if ${TARGET_ARCH} != "ia64" || ${TARGET_ARCH} == ${MACHINE_ARCH}
	cp ${RD}/trees/base/etc/disktab /etc
	rm -rf ${RD}/mfsfd
	mkdir ${RD}/mfsfd
	cd ${RD}/mfsfd && \
		mkdir -p etc/defaults dev mnt stand/etc/defaults stand/help
	@@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=boot \
		DIR=${RD}/mfsfd/stand ZIP=false
	( cd ${RD}/mfsfd && \
	  for dir in bin sbin ; do \
		ln -sf /stand $$dir; \
	  done )
	cp ${RD}/trees/base/sbin/dhclient-script ${RD}/mfsfd/stand
.if ${TARGET} == "pc98"
	cp ${.CURDIR}/../etc/defaults/pccard.conf ${RD}/mfsfd/etc/defaults/pccard.conf
.endif
	cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
	( for F in defaults/rc.conf netconfig protocols ; do \
		sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
		${RD}/trees/base/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \
	  done )
	grep -E '^(ftp|nameserver|domain|sunrpc|cmd|nfsd)[^-\w]' \
	    ${RD}/trees/base/etc/services | \
	    sed -e '/^#.*$$/d' -e 's/[:space:]*#.*$$//g' \
	    > ${RD}/mfsfd/stand/etc/services
	ln ${RD}/mfsfd/stand/etc/services ${RD}/mfsfd/etc/services
	ln ${RD}/mfsfd/stand/etc/netconfig ${RD}/mfsfd/etc/netconfig
	cp ${RD}/trees/base/COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	done
	@@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT ${RD}/mfsfd/stand/help/INSTALL.TXT
	@@mv ${RD}/mfsfd/stand/help/EARLY-ADOPTER.TXT ${RD}/mfsfd/stand/help/EARLY.TXT
.endif
	-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
	@@mkdir -p ${RD}/mfsfd/boot
.if ${TARGET_ARCH} != "ia64"
	@@cp ${RD}/trees/base/boot/boot* ${RD}/mfsfd/boot
.endif
.if ${TARGET} == "i386"
	@@cp ${RD}/trees/base/boot/mbr ${RD}/mfsfd/boot
.endif
	@@echo "Making the regular boot floppy."
	@@tar --exclude CVS -cf - -C ${.CURDIR}/../usr.sbin/sysinstall help | \
		tar xf - -C ${RD}/mfsfd/stand
.if ${TARGET_ARCH} == "alpha" && !defined(NO_FLOPPIES)
	rm -rf ${RD}/mfsfd/stand/help/*
.endif
.if defined(SMALLBOOTSIZE)
.if exists(${.CURDIR}/${TARGET}/drivers-small.conf)
	@@rm -rf ${RD}/mfsfd/modules
	@@mkdir -p ${RD}/mfsfd/modules
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 2 \
	    ${.CURDIR}/${TARGET}/drivers-small.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/modules
.endif
	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9vc mfsroot > mfsroot.gz
	@@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot-small.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
.endif
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@rm -rf ${RD}/mfsfd/modules
	@@mkdir -p ${RD}/mfsfd/modules
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 2 \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/modules
	@@rm -rf ${RD}/driversfd
	@@mkdir ${RD}/driversfd
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 3 \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/driversfd
	-@@rmdir ${RD}/driversfd
	if [ -d ${RD}/driversfd ]; then \
	    sh -e ${DOFS_SH} \
		${RD}/floppies/drivers.flp ${RD} ${MNT} ${DRIVERSIZE} \
		${RD}/driversfd ${DRIVERINODE} ${DRIVERLABEL}; \
	    cd ${RD}/driversfd && awk -f  ${.CURDIR}/scripts/driver-desc.awk \
		*.dsc >> ${RD}/floppies/DRIVERS.TXT; \
	fi
.endif
	sh -e ${DOFS_SH} mfsroot ${RD} ${MNT} \
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9vc mfsroot > mfsroot.gz
	@@mkdir -p ${RD}/mfsroot
	@@cp mfsroot.gz ${RD}/mfsroot
.if !defined(NO_FLOPPIES)
.if defined(BOOTSIZE)
	@@sh -e ${DOFS_SH} ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${BOOTSIZE} mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern
.endif
.if defined(SMALLBOOTSIZE)
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern-small FDSIZE=SMALL
.endif
.if defined(BIGBOOTSIZE)
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot FDSIZE=BIG
.endif
.endif
	@@rm mfsroot mfsroot.gz
	@@echo "Regular and MFS boot floppies made."
.endif
	touch release.9.alpha

d979 1
a979 1
.if ${TARGET_ARCH} == "alpha"
@


1.777
log
@For EXT*DIR, use -H in addition to -R, so that a symlink may be
used in the EXTSRCDIR case, for example, if one finds it useful
to symlink /usr/src to an actual source tree, and use /usr/src
as the EXTSRCDIR.

This has no effects on release builds not using external directories.

Reviewed by:	ru
Approved by:	scottl (re)
@
text
@d193 1
a193 1
DRIVERINODE=		80000
@


1.776
log
@disklabel(8) is spelled bsdlabel(8) or sunlabel(8) these days.
Also make sure bsdlabel(8) (along with the disklabel(8) compat
link) still appear on the fixit floppies of platforms that use
it natively (alpha, i386, and pc98).

Approved by:	re (scottl)
@
text
@d339 1
a339 1
	cd ${CHROOTDIR}/usr && cp -R ${EXTLOCALDIR} local
d344 1
a344 1
		cp -R ${EXTSRCDIR} src
d362 1
a362 1
	cd ${CHROOTDIR}/usr && cp -R ${EXTDOCDIR} doc
@


1.775
log
@release.9 has become the biggest festering pile of spaghetti s(*^% code.
Duplicate the target for Alpha so I can start hacking and slashing bits out.

Approved by:	re(blanket to make Alpha build)
@
text
@d219 3
d223 1
@


1.774
log
@Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
@
text
@d759 111
d1086 6
d1093 1
a1093 1
		release.6 release.7 release.8 release.9 ${FIXIT_TARGET}
@


1.773
log
@Move the setting of the BOOTABLE flag outside of .if MAKE_ISOS so that
bootable CDs can still be created if the iso.1 target is called
directly.

PR:		misc/47191
Submitted by:	Joost Bekkers <joost@@bps.jodocus.org>
MFC after:	1 week
@
text
@a222 5
# Things that need to be recompiled with Kerberos support.
.if exists(${.CURDIR}/../kerberos5) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
K5PROGS!=	cd ${.CURDIR}/../kerberos5; ${MAKE} -V KPROGS
.endif

d225 2
a226 1
FIXCRYPTO=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
a422 1
	NOKERBEROS \
a517 7
.if exists(${.CURDIR}/../kerberos5) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS5 \
	    SUBDIR_OVERRIDE="kerberos5 ${K5PROGS}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
	rm -f ${RD}/trees/krb5/usr/share/info/dir
.endif
@


1.772
log
@KerberosIV removal. Also crunch down the "krb5" distribution into
"secure".
@
text
@d282 1
a284 1
.endif
@


1.771
log
@Removing comment in some text files for fixit floppy overflow.

Approved by:	re (murray)
@
text
@d146 1
a146 1
CRYPTO_DISTS?=	crypto krb5
d516 1
a516 1
# Build and install crypto and krb5 distributions.
a607 7
	# More munition braindeadness.
	( cd ${RD}/dists && \
		if [ -f krb5/krb5.aa ] ; then \
			mv krb5/krb5.* crypto && \
			cat krb5/CHECKSUM.MD5 >> crypto/CHECKSUM.MD5 && \
			rm -r krb5; \
		fi )
@


1.770
log
@Presumably fix sparc64 "make release".  (The breakage was due to
sunlabel(8) no longer being linked to disklabel(8).)

Reviewed by:	phk
@
text
@d790 5
a794 3
		${RD}/trees/base/etc/protocols ${RD}/fixitfd/etc
	@@cp ${RD}/trees/base/usr/share/misc/scsi_modes \
		${RD}/fixitfd/usr/share/misc
@


1.769
log
@continuation not needed
@
text
@d203 1
d219 2
d251 2
a252 3
# ia64 is different enough that we want our own doFS.sh.
.if ${TARGET_ARCH} == "ia64"
DOFS_SH=	${.CURDIR}/ia64/doFS.sh
d254 1
a254 1
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ${TARGET}
d256 1
a256 1
DOFS_SH=	${.CURDIR}/scripts/doFS.sh ""
@


1.768
log
@Don't play with MAKEFLAGS in one other place too; it's dangerous.
@
text
@d912 1
a912 1
	    ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1}; \
@


1.767
log
@Makefile.inc1 rev. 1.341 broke release.5 -- the fuss with MAKEFLAGS
here interferenced with one in Makefile.inc1.  Since we can't avoid
the jugglery in Makefile.inc1 (we want -m /usr/src/tools/build/mk
to come first, before any other -m specified on the command line),
avoid it here.

Reported by:	imp
@
text
@d290 2
a291 3
WMAKEENV!=	echo MAKEFLAGS=\"-m ${.CURDIR}/../share/mk\"; \
		cd ${.CURDIR}/..; ${CROSSMAKE} -f Makefile.inc1 -V WMAKEENV
WMAKE=		${WMAKEENV} ${MAKE}
@


1.766
log
@Revert revision 1.639 -- the "nodev" mount(8) option restriction
does not apply to ${CHROOTDIR} file system since revision 1.712.
@
text
@a289 2
TMAKE!=		echo MAKEFLAGS=\"-m ${.CURDIR}/../share/mk\"; \
		cd ${.CURDIR}/..; ${MAKE} -f Makefile.inc1 -V TMAKE
d565 2
a566 1
	cd ${.CURDIR}/..; ${TMAKE} build-tools
@


1.765
log
@Strip the .comment section out from the BOOTMFS kernel.
@
text
@a15 4
# Note:  "/some/dir" cannot reside on a filesystem mounted with
# the "nodev" option, otherwise the chrooted "buildworld" will likely
# fail.
#
@


1.764
log
@s/loaded as a module/available as a module/g

Submitted by:	ru
@
text
@d1071 1
a1071 1
	  ${WMAKEENV} strip BOOTMFS && \
@


1.763
log
@Use the target arhitecture's disktab(5) file.
@
text
@d13 1
a13 1
# (either by being compiled in or loaded as a kld(4) module),
@


1.762
log
@Pass the target machine architecture down to disklabel(8).
Do it so that systems without the -m option in disklabel(8),
e.g. 5.0-RELEASE, can still build current snapshots.

While here, drop the -s option from doFS.sh; we have not
been using the .size files for a long time.
@
text
@d673 1
@


1.761
log
@In rev 1.603 I should have changed it to mdconfig rather than remove it.
I don't recall now, but for some reason I didn't think it was needed.
Also place the mdconfig right before the chroot call, to make it stand out
this needs to be done in the standard environment, as we've tried doing it
in the chroot environment before.
@
text
@d255 2
d258 1
a258 1
DOFS_SH=	${.CURDIR}/scripts/doFS.sh
d731 1
a731 1
	sh -e ${DOFS_SH} -s mfsroot ${RD} ${MNT} \
d758 1
a758 1
	sh -e ${DOFS_SH} -s mfsroot ${RD} ${MNT} \
@


1.760
log
@Unbreak iso.1.
@
text
@d475 2
@


1.759
log
@Use positive logic rather than harder-to-read negative logic.
@
text
@d909 1
a909 1
.if exist(${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh)
d916 1
a916 1
	    ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2}; \
d926 1
a926 1
	@@echo "Do not know how to create an ISO for ${TARGET_ARCH}."; \
@


1.758
log
@Make PREFETCHDISTFILES the default.  Set NO_PREFETCHDISTFILES if you don't
like this.  Also make it easier to issue the distfile fetching on command.
@
text
@d460 3
a462 1
.if !defined(NOPORTS) && !defined(NOPORTREADMES)
a463 2
.else
	echo "if false; then"			>> ${CHROOTDIR}/mk
d909 15
a923 18
	@@if [ -r ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ]; then \
		echo "Creating ISO images..."; \
		sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
		    fbsd_miniinst \
		    ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1}; \
		sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
		    fbsd_livefs \
		    ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2}; \
		if [ "x${CD_EXTRA_BITS}" != "x" ]; then \
			sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh \
			    ${BOOTABLE} fbsd_boot \
			    ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} \
			    ${CD_EXTRA_BITS} \
			    && false; \
		fi \
	else \
		echo "Do not know how to create an ISO for ${TARGET_ARCH}."; \
	fi
d925 3
@


1.757
log
@Add PORTREADMES_FLAGS which can really speed up the build on SMP machines
when set to -j<3*#CPU's>
@
text
@d374 2
a375 7
.if defined(PREFETCHDISTFILES)
	@@for i in ${DOCPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
			checksum-recursive ; \
	done
d479 8
@


1.756
log
@KerberosIV de-orbit burn continues. Disconnect from "make release".
@
text
@d61 1
d64 1
d472 1
a472 1
	echo "	make readmes"			>> ${CHROOTDIR}/mk
@


1.755
log
@o  Run make readmes (ports) from within CHROOTDIR to avoid pollution
   and/or breakages due to /etc/make.conf on the host. Move it after
   make world and put it in an if-block so that we can include the
   commands in the script even if we're not going to make the readmes.
o  When building docproj, make sure we propagate the setting of the
   FTP_PASSIVE_MODE environment variable. Not propagating the envvar
   may cause fetch failures. This increases the number of cases for
   which one does not have to prefetch the packages.
@
text
@d148 1
a148 1
CRYPTO_DISTS?=	crypto krb4 krb5
a222 3
.if exists(${.CURDIR}/../kerberosIV) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
K4PROGS!=	cd ${.CURDIR}/../kerberosIV; ${MAKE} -V KPROGS
.endif
d512 1
a512 1
# Build and install crypto, krb4 and krb5 distributions.
a518 6
.if exists(${.CURDIR}/../kerberosIV) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS4 \
	    SUBDIR_OVERRIDE="kerberosIV ${K4PROGS}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
.endif
a604 6
		if [ -f krb4/krb4.aa ] ; then \
			mv krb4/krb4.* crypto && \
			cat krb4/CHECKSUM.MD5 >> crypto/CHECKSUM.MD5 && \
			rm -r krb4; \
		fi )
	( cd ${RD}/dists && \
a624 1
					-e 's/kerberosIV/krb4/' \
a640 1
		if [ -f skrb4.aa ] ; then mv skrb4.* ../crypto ; fi && \
@


1.754
log
@If we are told to update the sources in "make rerelease", we also
probably want to re-buildworld.

If we are not going to rebuild (make rerelease -DRELEASENOUPDATE
and the file ${CHROOTDIR}/tmp/.world_done exists), do not touch
${CHROOTDIR}/usr/src/sys/conf/newvers.sh, as the only effect that
is has is upsetting release.2.  Hey, have you ever seen this
"touch: not found" during rerelease?  :-)
@
text
@a292 6
.if !defined(NOPORTREADMES)
MAKEREADMES=	make readmes PORTSDIR=${CHROOTDIR}/usr/ports
.else
MAKEREADMES=	true
.endif

a362 3
.if !defined(NOPORTS)
	cd ${CHROOTDIR}/usr/ports && ${MAKEREADMES}
.endif
d466 10
d948 3
a950 3
	    env -i PATH=$${PATH} make all install clean \
		BATCH=yes WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
		FORCE_PKG_REGISTER=yes; \
@


1.753
log
@At least we don't need the whole <bsd.prog.mk> glue.

(I did test build the original change, but apparently
forgot to include it to LOCAL_PATCHES.  It happens.)
@
text
@d401 1
d416 6
a421 3
	( cd ${CHROOTDIR}/usr/src/sys/conf && \
	  mv newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh && rm foo )
@


1.752
log
@mk file needed for 'make obj' done by $CHROOTDIR/mk
@
text
@d1129 1
a1129 1
.include <bsd.prog.mk>
@


1.751
log
@Fixed synopsis.
Mention that md(4) should be active (from release(7)).
Yet, this has nothing to do with bsd.prog.mk.
@
text
@d1128 2
@


1.750
log
@Pass FTP_PASSIVE_MODE, FTP_PROXY, and HTTP_PROXY variables to chroot sandbox.
These variables will be used by pkg_add, which installs mkisofs package
while MAKE_ISOS=YES.  See src/release/${arch}/mkisoimages.sh if you doubt.

No objection heard from:	current@@FreeBSD.org
Suggested by:			des, nectar (about *_PROXY variables)
@
text
@d3 2
a4 2
# make release CHROOTDIR=/some/dir BUILDNAME=somename CVSROOT=/cvs/dir \
#	[ RELEASETAG=tag ]
d12 2
a13 2
# Please note: the md(4) driver must be compiled into your kernel
# or available as a kld(4)-style kernel module,
d320 1
a320 1
rerelease release:
a1127 2

.include <bsd.prog.mk>
@


1.749
log
@Run kgzip(8) in a right environment and pass it the correct loader object.
@
text
@d433 3
@


1.748
log
@Part 2/3 of unbreaking cross releases:

Use the right strip(1) binary.
@
text
@d1077 2
a1078 1
	@@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
@


1.747
log
@Use checksum-recursive rather than fetch-recursive-list in PREFETCHDISTFILES
so as to catch errors ASAP rather than later between the ports cvs checkout
and docs cvs checkout.  If a distfile doesn't checksum OK, it is very
hard to restart the release with "make rerelease" as that target assumes
all the cvs checkout's happened OK, and if that is not the case the cvs
update that is attempted fails..
@
text
@d566 1
a566 1
	strip -R .comment ${j}_crunch/${j}_crunch
@


1.746
log
@Fix 'make release' from erroring out if this is an arch without driver
floppies.

Submitted by:   nyan
Reviewed by:   jhb
@
text
@d389 1
a389 1
			fetch-recursive ; \
@


1.745
log
@If there is a driver floppy for this arch, then add a line to the loader.rc
on the boot floppies to set the 'driver_floppy' variable in the loader so
that it ends up in the kernel environment and sysinstall will prompt for the
diskette.  Booting from CD-ROM does not use this loader.rc file, so folks
booting from CD to do an install will not be prompted.

X-MFC after:	as soon as I finish committing to current
Approved by:	re (blanket)
@
text
@d1098 3
a1100 2
	@@[ -r ${RD}/floppies/drivers.flp ] && \
	    echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.744
log
@Make iso.1 more readable.
@
text
@d1098 2
@


1.743
log
@Backout phk's backout of obrien's change.

Hat: core
@
text
@d916 2
a917 1
		  fbsd_miniinst ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1}; \
d919 2
a920 1
		  fbsd_livefs ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2}; \
d922 4
a925 2
			sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
			  fbsd_boot ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS} \
@


1.742
log
@Reduce size of individual bits of the dists to 240640 bytes again
so snapshots can be installed.

I have no idea what breaks, but at least the passive FTP install
goes haywire.
@
text
@d220 1
a220 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 240640 -
@


1.741
log
@Setup a symlink to the distribution name in the root of the first CD image
so that it can be used as a anon-ftp area.
@
text
@d220 1
a220 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 1423k -
@


1.740
log
@Change 'mfsroot' filename in mfsroot-small floppies from 'mfsroot-small'
to 'mfsroot'.

This is MFC candidate.

Noticed by:	Toru Morimoto <too@@os.gulf.or.jp>
@
text
@d860 1
@


1.739
log
@MFS: Split export list.
@
text
@d731 1
a731 1
	sh -e ${DOFS_SH} -s mfsroot-small ${RD} ${MNT} \
d733 1
a733 1
	@@gzip -9vc mfsroot-small > mfsroot-small.gz
d735 1
a735 1
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot-small.gz \
@


1.738
log
@Split files into 1.44MB chunks rather than a tiny, high-ftp overhead size.

Approved by:	rwatson
@
text
@d424 27
a450 6
	AUTO_KEYBOARD_DETECT BOOT_CONFIG BUILDNAME \
	CD_EXTRA_BITS DISTRIBUTIONS DOC_LANG DOMINIMALDOCPORTS \
	EXTRA_SRC FIXCRYPTO KERNELS KERNEL_FLAGS \
	MAKE_ISOS NOCDROM NODOC NO_FLOPPIES NOKERBEROS NOPORTS NOSHARED \
	NOSRC NO_CPU_CFLAGS NO_CPU_COPTFLAGS NO_SENDMAIL RELEASETAG \
	RELNOTES_LANG TARGET TARGET_ARCH WORLD_FLAGS
@


1.737
log
@Strip out any .comment ELF sections from crunchgen'ed binaries.
@
text
@d220 1
a220 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 240640 -
@


1.736
log
@Move the creation of the DRIVERS.TXT file to a more appropriate area
of this file, so it will be created for other platforms that use a
third floppy disk, not just i386.

Approved by:	re
@
text
@d545 1
@


1.736.2.1
log
@MFC: Change 'mfsroot' filename in mfsroot-small floppies from 'mfsroot-small'
     to 'mfsroot'.

Approved by:	re (jhb)
@
text
@d709 1
a709 1
	sh -e ${DOFS_SH} -s mfsroot ${RD} ${MNT} \
d711 1
a711 1
	@@gzip -9vc mfsroot > mfsroot.gz
d713 1
a713 1
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot.gz \
@


1.736.2.2
log
@MFC: Prompt for the driver floppy when booted from floppy prior to the main
menu in sysinstall.

Approved by:	re (blanket)
@
text
@a1070 2
	@@[ -r ${RD}/floppies/drivers.flp ] && \
	    echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.736.2.3
log
@Fix 'make release' from erroring out if this is an arch without driver
floppies.

Submitted by:	nyan
Reviewed bby:	jhb
@
text
@d1071 2
a1072 3
	@@if [ -r ${RD}/floppies/drivers.flp ]; then \
	    echo "set driver_floppy=YES" >> ${RD}/image.${FSIMAGE}/boot/loader.rc; \
	fi
@


1.735
log
@Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

For the most part, re@@ was doing this manually before putting ISO images
on ftp-master, but not always.  This should make naming more consistent
and descriptive.

Requested by:	jason andrade <jason@@dstc.edu.au>, hubs@@
Approved by:	re (rwatson)
MFC after:	1 month
@
text
@d732 2
a792 4
.if ${TARGET} == "i386"
	@@(cd ${RD}/driversfd; awk -f  ${.CURDIR}/scripts/driver-desc.awk \
		*.dsc >> ${RD}/floppies/DRIVERS.TXT)
.endif
@


1.734
log
@Only create the DRIVERS.TXT file on i386 for now.

Approved by:	re
@
text
@d895 1
a895 1
		  fbsd_miniinst ${CD}/miniinst.iso ${CD_DISC1}; \
d897 1
a897 1
		  fbsd_livefs ${CD}/disc2.iso ${CD_DISC2}; \
d900 1
a900 1
			  fbsd_boot ${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS} \
@


1.733
log
@Create DRIVERS.TXT file to describe the contents of drivers.flp.

Approved by:	re
@
text
@d791 1
d794 1
@


1.732
log
@Add lib/libfetch and usr.bin/fetch to FIXCRYPTO since they need the crypto
libraries for SSL support.

Approved by:	re (rwatson)
@
text
@d791 2
@


1.731
log
@Export NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot.
@
text
@d232 2
a233 1
FIXCRYPTO=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump 
@


1.730
log
@Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.
@
text
@d427 1
a427 1
	NOSRC NO_SENDMAIL RELEASETAG \
@


1.729
log
@Rework the checking out of the doc, src, and ports trees a bit to make it
more manageable.
- Add some helper variables (CVS_{SRC,DOC,PORTS}ARGS) to be used when
  using CVS to checkout files.  We stick release tags in these helper
  variables if they are defined and then use only one cvs command instead
  of two cvs commands with an .ifdef to choose between them.
- rm the old src/doc/ports directories as separate commands from the
  CVS comands so that the rm commands don't need to be duplicated.
- Simplify the DOMINIMALDOCPORTS case by overriding RELEASEPORTSMODULE to
  be ${MINIMALDOCPORTS} thus removing yet another nearly-duplicate cvs
  command in an .ifdef.
- Add support for grabbing src/ and doc/ from external directories
  specified via EXTSRCDIR and EXTDOCDIR instead of from CVS.  The same
  is not done for ports/ quite yet as the DOMINIMALDOCPORTS case is a
  bit tricky.

The rerelease target scripts have not been changed to use the helper
variables yet, so there is still some room for improvement.

Submitted by:	kuriyama (4)
@
text
@d346 4
@


1.728
log
@Allow a person to specify NOCDROM to skip the cdrom.1 target during a
release build.

PR:		45300
Submitted by:	David Yeske <dyeske@@yahoo.com>
@
text
@d107 1
d304 15
d346 4
a349 3
.if !defined(RELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf src && \
		${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASESRCMODULE}
d351 2
a352 2
	cd ${CHROOTDIR}/usr && rm -rf src && \
		${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d360 4
d365 1
a365 11
.if defined(PORTSRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
.else
	cd ${CHROOTDIR}/usr && rm -rf ports && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
.endif
.elif defined(DOMINIMALDOCPORTS) && ${DOMINIMALDOCPORTS} == "YES"
.if defined(PORTSRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${MINIMALDOCPORTS}
.else
	cd ${CHROOTDIR}/usr && rm -rf ports && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P ${MINIMALDOCPORTS}
.endif
d368 3
a370 2
.if defined(DOCRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf doc && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${DOCRELEASETAG} ${RELEASEDOCMODULE}
d372 1
a372 1
	cd ${CHROOTDIR}/usr && rm -rf doc && ${CVSPREFIX} cvs -R ${CVSARGS} -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEDOCMODULE}
@


1.727
log
@release.9 for ia64 cannot be currently cross-built -- gpt(8)
is built on ia64 only.
@
text
@d276 3
a278 1
EXTRAS= cdrom.1 ftp.1
d285 1
d410 1
a410 1
	MAKE_ISOS NODOC NO_FLOPPIES NOKERBEROS NOPORTS NOSHARED \
@


1.726
log
@Don't ever disable ACPI on ia64. We cannot life without it.
@
text
@d630 1
d734 1
@


1.725
log
@o  Introduce variable DOFS_SH to hold the path of the doFS.sh.
o  ia64: Set DOFS_SH to point to an alternate version.
o  ia64: Lower BIGBOOTSIZE from 120M (LS-120) to ~5M.
o  ia64: Set BIGBOOTLABEL to efi so that we can check for it
   in the alternate doFS.sh script. If the label is not efi, we
   can invoke the generic doFS.sh.
@
text
@d1044 1
d1046 1
@


1.724
log
@Fixes to unbreak Alpha releases:

Strip ${RD}/mfsfd/stand/etc/defaults/rc.conf.

Don't copy loader.help to ${RD}/mfsfd/boot, it serves no useful purpose.

Removed the now no-op commands to copy ${RD}/trees/base/dev bits to
${RD}/mfsfd/dev, now that DEVFS is the default.

Removed UFS_ACL, PSEUDOFS, and COMPAT_FREEBSD4 options from the BOOTMFS
kernel.

Moved miibus network module to the drivers floppy.

isp(4) and mpt(4) now have corresponding modules, move them to the third
floppy as well.

Caution!  With these changes, mfsroot.flp has only 11K left, and
kern.flp has even less -- 5K.
@
text
@d211 2
a212 2
BIGBOOTLABEL=		fd120m
BIGBOOTSIZE=		123264
d251 7
d688 1
a688 1
	sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot-small ${RD} ${MNT} \
d691 1
a691 1
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/mfsroot-small.flp \
d708 1
a708 1
	    sh -e ${.CURDIR}/scripts/doFS.sh \
d713 1
a713 1
	sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \
d720 1
a720 1
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/mfsroot.flp \
d757 1
a757 1
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit-small.flp \
d765 1
a765 1
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/fixit.flp ${RD} \
d1055 1
a1055 1
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
d1059 1
a1059 1
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
d1063 1
a1063 1
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
@


1.723
log
@Make a small (1.2M) fixit floppy image for pc98.
@
text
@a150 2
BOOT1=	etc/defaults/rc.conf

d626 1
a626 1
		mkdir -p etc/defaults dev mnt stand/help
a628 4
	( cd ${RD}/trees/base/dev && \
		ls console tty bpf0 ttyd0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem xpt0 | \
	cpio -dump ${RD}/mfsfd/dev )
	( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] )
d638 1
a638 2
	cd ${RD}/trees/base && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
	( for F in netconfig protocols ; do \
a666 1
	@@cp ${RD}/trees/base/boot/loader.help ${RD}/mfsfd/boot
@


1.722
log
@Use ${TARGET_ARCH} for ia64 tests.
@
text
@d163 1
d171 1
d259 2
a746 2
	@@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \
		DIR=${RD}/fixitfd/stand ZIP=false
d755 11
@


1.721
log
@Move the modules in the mfsroot to /modules instead of /stand/modules so
that they aren't copied over into /stand of new installations.

Submitted by:	matusita
Tested on:	i386
@
text
@d664 1
a664 1
.if ${TARGET} != "ia64"
d1015 1
a1015 1
.elif ${TARGET} == "ia64"
@


1.720
log
@Use ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader.
@
text
@d679 2
a680 2
	@@rm -rf ${RD}/mfsfd/stand/modules
	@@mkdir -p ${RD}/mfsfd/stand/modules
d683 1
a683 1
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules
d693 2
a694 2
	@@rm -rf ${RD}/mfsfd/stand/modules
	@@mkdir -p ${RD}/mfsfd/stand/modules
d697 1
a697 1
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules
d1033 1
a1033 1
	@@echo "set module_path=\"/stand/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.719
log
@Add the necessary tweaks for FreeBSD/ia64 releases. Note that this is
in no way final. A typical ia64 wart is that there are no boot blocks.
Instead, we need to create disks with EFI partitions if we want auto
boot to work. All this functionality is not present yet.
@
text
@d1014 1
a1014 1
	@@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader /boot/loader
d1016 1
a1016 1
	@@cp /boot/loader.efi ${RD}/image.${FSIMAGE}/boot
d1018 1
a1018 1
	@@cp /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.718
log
@Add CVSARGS for cvs arguments (vs. cvs subcommand arguments).
Allow the cvs command to be prefixed by using CVSPREFIX.
@
text
@d143 1
a143 1
.else
d210 7
d254 3
d664 1
d666 1
d1015 2
@


1.717
log
@- Copy the mfsroot.gz file to /R/stage/mfsroot/ so that the CD-ROM layout
  can fetch it from there instead of looking in the boot floppy's
  directory.
- Add a NO_FLOPPIES variable that disables building of any boot floppies.

Tested on:	alpha
@
text
@d35 2
a36 1
# If you want to add other options to CVS commands, then set
d39 6
d310 1
a310 1
		cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASESRCMODULE}
d313 1
a313 1
		cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d323 1
a323 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d325 1
a325 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d329 1
a329 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${MINIMALDOCPORTS}
d331 1
a331 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${MINIMALDOCPORTS}
d336 1
a336 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${DOCRELEASETAG} ${RELEASEDOCMODULE}
d338 1
a338 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEDOCMODULE}
d358 1
a358 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update ${CVSCMDARGS} -P -d -A
d360 1
a360 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update ${CVSCMDARGS} -P -d -r ${RELEASETAG}
d363 1
a363 1
	cd ${CHROOTDIR}/usr/ports && cvs -R -q update ${CVSCMDARGS} -P -d
d367 1
a367 1
		( cd ${CHROOTDIR}/usr/$$i && cvs -R -q update ${CVSCMDARGS} -P -d ) ; \
d371 1
a371 1
	cd ${CHROOTDIR}/usr/doc && cvs -R -q update ${CVSCMDARGS} -P -d
@


1.716
log
@Hook the early adopter's guide into the release build.  Its basename
is "EARLY", which is kind of an odd name, but I couldn't think of
anything better that fit the traditional 8.3 naming convention for
release documentation files.
@
text
@d381 1
a381 1
	MAKE_ISOS NODOC NOKERBEROS NOPORTS NOSHARED \
d655 1
a655 1
.if ${TARGET_ARCH} == "alpha"
d694 3
d708 1
d717 1
d744 1
a813 2
	@@rm -f ${CD_DISC1}/boot/mfsroot.gz
	@@rm -f ${CD_DISC2}/boot/mfsroot.gz
d815 4
a819 6
	@@ln -f ${RD}/image.boot/mfsroot.gz ${CD_DISC1}/boot/mfsroot.gz
	@@ln -f ${CD_DISC1}/boot/mfsroot.gz ${CD_DISC2}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DISC1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DISC1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC1}/boot/loader.conf
	@@ln -f ${CD_DISC1}/boot/loader.conf ${CD_DISC2}/boot/loader.conf
@


1.715
log
@Remove unneeded variables.
@
text
@d127 1
a127 1
DIST_DOCS_ARCH_INDEP=	readme errata
d643 1
d762 2
d803 2
@


1.714
log
@Make floppy-making part of release.9 conditional on *BOOTSIZE
rather than on "pc98" (rev. 1.710) and "sparc64" (rev. 1.711).
@
text
@a154 1
DRIVERSIZE=		1440
a157 1
DRIVERINODE=		80000
a161 1
DRIVERLABEL=		fd1440
@


1.713
log
@Nuke pccard.conf from FreeBSD/i386 mfsroot (no longer needed).

Suggested by: nyan
@
text
@d660 1
a660 1
.if ${TARGET} == "pc98"
d674 1
a680 14
.endif
	sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9vc mfsroot > mfsroot.gz
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${BOOTSIZE} mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern-small FDSIZE=SMALL
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern
.else
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@mkdir -p ${RD}/mfsfd/stand/modules
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk 2 \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules
d696 1
a696 1
.if ${TARGET_ARCH} != "sparc64"
d701 4
@


1.712
log
@Fixups to get make release going again for i386:

o mount (and unmount) devfs in the chroot'd filesystem
o handle umounting devfs in case of a keyboard interrupt
o remove MAKEDEV from the fixit floppy so things fit again (mount_devfs was
  added in a separate commit)
o explicitly remove mfsroot.gz and loader.conf when building the cd-rom area
  as otherwice cp -Rp aborts when a previous run left identical files around
o increase the number of inodes on the drivers floppy; moving drivers from
  the kernel there (to shrink it's size) caused things to overflow
o while we're increasing the driver's floppy inode config, separate out all
  parameters from the boot floppy

Approved by:	re
@
text
@d622 1
a622 1
.if ${TARGET_ARCH} == "i386"
@


1.711
log
@Add support for building sparc64 releases.

Reviewed by:	murray
@
text
@d155 1
d159 1
d164 1
d169 1
d174 1
d178 1
d185 1
d190 1
d194 1
d290 2
d378 1
d395 4
d702 2
a703 2
		${RD}/floppies/drivers.flp ${RD} ${MNT} ${BOOTSIZE} \
		${RD}/driversfd ${BOOTINODE} ${BOOTLABEL}; \
a731 3
	@@( cd ${RD}/fixitfd/dev && \
		cp ${RD}/trees/base/dev/MAKEDEV MAKEDEV && \
		chmod 755 MAKEDEV)
d815 3
@


1.710
log
@Fixed disk full problem for pc98 distribution. Now, it makes 4 installation
floppies.

kern-small.flp and mfsroot-small.flp are for old machines that don't
support 1.44MB floppy. These floppies don't have pci related devices.

kern.flp and mfsroot.flp are normal 1.44MB floppy images.
@
text
@d190 7
d231 5
d240 4
d693 1
d697 1
d903 1
a903 1
		release.6 release.7 release.8 release.9 release.10
@


1.709
log
@Pass -o option to crunchgen(1) to ensure object files end up
in seperate directories.  This mostly affects RELENG_4 where
not doing so results in ${CHROOTDIR}/usr/src/release being
filled with object files, and "srelease" distribution having
them in.

PR:		misc/43825
Prodded by:	re (murray)
@
text
@d628 29
a676 7
.if ${TARGET} == "pc98"
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern-small FDSIZE=SMALL
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern
.else
d937 6
a942 1
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
@


1.708
log
@Don't make an error even if drivers.conf does not exist.

Tested on:	snapshots.pc98.jp.FreeBSD.org
@
text
@d462 1
a462 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${TARGET}/${j}_crunch.conf
d464 1
a464 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${j}_crunch.conf
@


1.707
log
@ALLLANG is long dead, garbage collect it.  Instead, make it possible
to use DOC_LANG to specify which languages the doc/ is built for.

Note: be aware that the DOC_LANG setting in /etc/make.conf will now
take the effect on "make release".  (This is probably the desired
behavior anyway.)

PR:		docs/42924
@
text
@d639 5
a643 3
	[ -d ${RD}/driversfd ] && sh -e ${.CURDIR}/scripts/doFS.sh \
	    ${RD}/floppies/drivers.flp ${RD} ${MNT} ${BOOTSIZE} \
	    ${RD}/driversfd ${BOOTINODE} ${BOOTLABEL}
@


1.706
log
@Kernel MIB name for disabling ACPI was changed.

Pointed out by: iwasaki
@
text
@d109 5
a113 4
# Set ALLLANG=no if you want the documentation (e.g. Handbook, FAQ) to be
# in English only.  The language for the release notes is controlled
# by the RELNOTES_LANG variable above.
ALLLANG?=	yes
d354 1
a354 1
	CD_EXTRA_BITS DISTRIBUTIONS DOMINIMALDOCPORTS \
a362 5
.if defined(ALLLANG) && ${ALLLANG} != "NO" && ${ALLLANG} != "no"
	echo "export ALLLANG=${ALLLANG}"	>> ${CHROOTDIR}/mk
.else
	echo "export DOC_LANG=en_US.ISO8859-1"	>> ${CHROOTDIR}/mk
.endif
@


1.705
log
@Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
@
text
@d957 1
a957 1
	@@echo "set hint.acpi.0.disable=1" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.704
log
@Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
(pc98/dokern.sh is (repository) copied from i386/dokern.sh.)
@
text
@a72 3
# Unless set elsewhere, indicate the object format we'll be using.
OBJFORMAT?=		elf

a346 1
	echo OBJFORMAT=${OBJFORMAT} > ${CHROOTDIR}/etc/objformat
d356 1
a356 1
	NOSRC NO_SENDMAIL OBJFORMAT RELEASETAG \
d486 1
a486 1
			env OBJFORMAT=${OBJFORMAT} RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
@


1.703
log
@Collapsed the export list, added CD_EXTRA_BITS to it.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.702 2002/08/13 16:59:56 ru Exp $
d919 1
a919 1
	    sh ${.CURDIR}/${TARGET_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS && \
@


1.702
log
@Two more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.

Submitted by:	Alan Judge <Alan.Judge@@eircom.net>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.701 2002/08/09 08:22:02 jhay Exp $
d92 1
a92 1
# Uncomment and modify this definition if you want the release notes 
d94 1
a94 1
#RELNOTES_LANG=	en_US.ISO8859-1
d355 9
a363 17
	echo "export DISTRIBUTIONS=\"${DISTRIBUTIONS}\"" >> ${CHROOTDIR}/mk
	echo "export BUILDNAME=${BUILDNAME}"	>> ${CHROOTDIR}/mk
	echo "export OBJFORMAT=${OBJFORMAT}"	>> ${CHROOTDIR}/mk
.if defined(RELEASETAG)
	echo "export RELEASETAG=\"${RELEASETAG}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(NOPORTS)
	echo "export NOPORTS=${NOPORTS}"	>> ${CHROOTDIR}/mk
.endif
.if defined(MAKE_ISOS)
	echo "export MAKE_ISOS=${MAKE_ISOS}"	>> ${CHROOTDIR}/mk
.endif
.if defined(DOMINIMALDOCPORTS)
	echo "export DOMINIMALDOCPORTS=${DOMINIMALDOCPORTS}" >> ${CHROOTDIR}/mk
.endif
.if defined(NODOC)
	echo "export NODOC=${NODOC}"		>> ${CHROOTDIR}/mk
d365 1
a369 44
.endif
.if defined(AUTO_KEYBOARD_DETECT)
	echo "export AUTO_KEYBOARD_DETECT=\"${AUTO_KEYBOARD_DETECT}\"" 	>> ${CHROOTDIR}/mk
.endif
.if defined(NOSRC)
	echo "export NOSRC=${NOSRC}"		>> ${CHROOTDIR}/mk
.endif
.if defined(RELNOTES_LANG)
	echo "export RELNOTES_LANG=${RELNOTES_LANG}"	>> ${CHROOTDIR}/mk
.else
	echo "export RELNOTES_LANG=en_US.ISO8859-1"	>> ${CHROOTDIR}/mk
.endif
.if defined(NOSHARED)
	echo "export NOSHARED=${NOSHARED}"	>> ${CHROOTDIR}/mk
.endif
.if defined(BOOT_CONFIG)
	echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
.endif
.if defined(WORLD_FLAGS)
	echo "export WORLD_FLAGS=\"${WORLD_FLAGS}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(KERNEL_FLAGS)
	echo "export KERNEL_FLAGS=\"${KERNEL_FLAGS}\"" >> ${CHROOTDIR}/mk
.endif
.if defined(TARGET)
	echo "export TARGET=\"${TARGET}\"" >> ${CHROOTDIR}/mk
.endif
.if defined(TARGET_ARCH)
	echo "export TARGET_ARCH=\"${TARGET_ARCH}\"" >> ${CHROOTDIR}/mk
.endif
.if defined(EXTRA_SRC)
	echo "export EXTRA_SRC=\"${EXTRA_SRC}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(FIXCRYPTO)
	echo "export FIXCRYPTO=\"${FIXCRYPTO}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(KERNELS)
	echo "export KERNELS=\"${KERNELS}\""		>> ${CHROOTDIR}/mk
.endif
.if defined(NOKERBEROS)
	echo "export NOKERBEROS=\"${NOKERBEROS}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(NO_SENDMAIL)
	echo "export NO_SENDMAIL=\"${NO_SENDMAIL}\""	>> ${CHROOTDIR}/mk
@


1.701
log
@Remove a stray ';'.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.700 2002/08/09 08:18:15 jhay Exp $
d378 3
d412 3
@


1.700
log
@Remove a '-' that is not needed.

Submitted by:	ru
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.699 2002/08/09 07:45:20 jhay Exp $
d843 1
a843 1
			  fbsd_boot ${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
@


1.699
log
@Add a third floppy to releases. It will only be built if there is a
release/${TARGET}/drivers.conf file which list drivers that have to
go into the third floppy.

Also shuffle i386/drivers.conf so that the floppies don't overflow
anymore. Anybody with real/better usage statistics is welcome to
shuffle it differently.

Reviewed by:	ru
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.698 2002/08/05 16:57:43 ru Exp $
d686 1
a686 1
	-@@rm -rf ${RD}/driversfd
@


1.698
log
@Stop eating all process memory if either of ${.CURDIR}/../kerberosIV
or ${.CURDIR}/../kerberos5 does not exist.

Spotted by:	Alexandr Listopad <laa@@reis.zp.ua>
MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.697 2002/08/05 16:46:14 ru Exp $
d521 2
a522 1
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk all
d658 1
a658 1
	gzip -9c ${RD}/trees/base/COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
d661 1
a661 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d664 1
a664 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${TARGET}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d666 1
a666 1
	@@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT.gz ${RD}/mfsfd/stand/help/INSTALL.TXT.gz
a677 2
	@@echo "Compressing doc files..."
	@@gzip -9 ${RD}/mfsfd/stand/help/*.hlp
d683 1
a683 1
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk \
d686 9
d974 2
a975 1
	    KERNCONF=BOOTMFS buildkernel reinstallkernel \
d1007 1
@


1.697
log
@The side effect of revision 1.687 (env -i) was that many useful knobs
are no longer propagated to the chrooted environment, e.g. NOKERBEROS.
On the other hand, TMPDIR and MAKEOBJDIRPREFIX should no longer be.

Spotted by:	Alexandr Listopad <laa@@reis.zp.ua>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.696 2002/08/02 16:23:20 ru Exp $
d197 1
d199 2
d202 1
@


1.696
log
@Catch up to the rev. 1.694 changes; WITHOUT_X11 is not anymore set in
the environment.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.695 2002/07/27 19:43:52 jhb Exp $
d400 12
a414 2
	echo "export TMPDIR=/tmp"		>> ${CHROOTDIR}/mk
	echo "export MAKEOBJDIRPREFIX=/usr/obj"	>> ${CHROOTDIR}/mk
@


1.695
log
@If we are building docs with this release and PREFETCHDISTFILES is defined
then download the distfiles for the ports needed to build the docs before
we enter the chroot environment.  This is useful since often times releases
get in a funk trying to download distfiles in the chroot.

Approved by:	re (murray, bmah)
MFC after:	5 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.694 2002/07/26 11:27:11 ru Exp $
d316 2
a317 1
			JADETEX=no WITHOUT_PYTHON=yes fetch-recursive ; \
@


1.694
log
@Build FDP ports with a clean runtime environment; gmake(1) somehow
uses ${TARGET_ARCH}, in a way that is incompatible with our usage.

Submitted by:	jhay, ru
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.693 2002/07/25 14:42:08 ru Exp $
d312 7
@


1.693
log
@Braino in the 1.672 commit: scripts/games-make.sh expects the
"manpages" and "catpages" dists to be already built.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.692 2002/07/24 20:37:21 ru Exp $
a342 1
	echo "export WITHOUT_X11=YES"		>> ${CHROOTDIR}/mk
d827 4
a830 1
	  cd /usr/ports/$$i && make all install clean BATCH=yes JADETEX=no WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
@


1.692
log
@Copy the right dhclient-script(8).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.691 2002/07/12 15:15:35 ru Exp $
d141 1
a141 1
OTHER_DISTS?=	games catpages manpages proflibs dict info doc
@


1.691
log
@Fix ${TMAKE} to use the correct .mk files.
Removed stray -DNO_WERROR's.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.690 2002/07/11 16:27:04 ru Exp $
d620 1
a620 1
	cp /sbin/dhclient-script ${RD}/mfsfd/stand
@


1.690
log
@Do not override the CFLAGS with its standard value.  At some point,
different architectures may choose to use different default values
for CFLAGS, for example.  (It was added in rev. 1.200 as a measure
to make boot images fit the floppies, and was never reverted.)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.689 2002/07/06 15:00:07 ru Exp $
d244 2
a245 1
TMAKE!=		cd ${.CURDIR}/..; ${MAKE} -f Makefile.inc1 -V TMAKE
d470 1
a470 1
	${CROSSMAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES \
d476 1
a476 1
	${CROSSMAKE} ${KERNEL_FLAGS} -DNO_WERROR \
d941 1
a941 1
	    ${CROSSMAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES -DNO_KERNELCLEAN \
@


1.689
log
@Part 2/2 of the kerberos5/doc/ "make release" breakage fix:

Make sure the "krb5" does not have the /usr/share/info/dir,
or it will clobber the "base" version on install.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.688 2002/07/03 18:04:10 trhodes Exp $
a341 1
	echo "export CFLAGS='-O -pipe'"	>> ${CHROOTDIR}/mk
@


1.688
log
@Fix a typo: s/und/and/

Not Reviewed by:	re@@
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.687 2002/06/19 15:06:38 matusita Exp $
d461 1
@


1.687
log
@Set PATH statically, and use 'env -i' to kick chroot(8).  As a result,
the second buildworld environment is fully isolated from parent's
environment variables.

Tested virtually on: snapshots.jp.FreeBSD.org
Approved by:	arch@@ (silently)
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.686 2002/06/08 03:15:50 matusita Exp $
d82 1
a82 1
# the entire ports collection (und much less time due to the huge number
@


1.686
log
@Explicitly set TARGET and TARGET_ARCH in a chroot sandbox.

In fact, these variable are set as environment variables since we run
"make TARGET=xxx TARGET_ARCH=xxx"; TARGET and TARGET_ARCH are declared
in the command line arguments.  However, if you are not make(1) guy,
it is hard to understand that TARGET/TARGET_ARCH are appropriately set
in a chroot environment (as environment variables).

Now, the only environment variable need to be set explicitly is 'PATH'.
If we set PATH in /mk script, we can make pristine sandbox for release
build (i.e., "env -i /usr/sbin/chroot ${CHROOT} /mk" will work).

Valuable comments about this issue from: ru
Tested on (virtually): snapshots.jp.FreeBSD.org
MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.685 2002/06/04 12:05:29 nyan Exp $
d395 1
a395 1
	echo "export PATH=$${PATH}:${LOCALDIR}"	>> ${CHROOTDIR}/mk
d409 1
a409 1
	chroot ${CHROOTDIR} /mk
@


1.685
log
@Install MD documentations in ${TARGET} directory instead of ${TARGET_ARCH}.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.684 2002/05/27 10:59:41 ru Exp $
d386 6
@


1.684
log
@Change the ">>> make release ..." output to also include ${TARGET}.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.683 2002/05/27 10:52:03 ru Exp $
d635 1
a635 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d706 1
a706 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${TARGET_ARCH}/article.txt \
d729 2
a730 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d768 2
a769 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
@


1.683
log
@Fixed the nasty bug I introduced in rev. 1.671 that got
fatal in the previous delta.  Repeat after me: exists()
is executed at parse time.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.682 2002/05/25 16:13:52 ru Exp $
d267 1
a267 1
	@@echo ">>> make release started on `LC_ALL=C TZ=GMT date`"
d401 1
a401 1
	echo "echo \">>> make ${.TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.682
log
@PC98 creates different BOOTMFS configs for different floppy sizes.

Broken in:	rev. 1.672
Spotted by:	nyan
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.681 2002/05/24 11:03:40 ru Exp $
d937 1
a937 1
.if exists(${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints)
a938 1
.endif
@


1.681
log
@Convert Perl scripts to awk(1).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.680 2002/05/18 00:00:41 bmah Exp $
a645 12
	@@cd ${.CURDIR}/../sys/${TARGET}/conf && \
	    sh ${.CURDIR}/${TARGET_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS && \
	    [ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@awk -f ${.CURDIR}/scripts/driver-remove.awk \
		${.CURDIR}/${TARGET}/drivers.conf \
		${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
	@@mkdir -p ${RD}/mfsfd/stand/modules
	@@awk -f ${.CURDIR}/scripts/driver-copy2.awk \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/base/boot/kernel ${RD}/mfsfd/stand/modules
.endif
d654 6
d924 8
@


1.680
log
@Build ports needed for release documentation WITHOUT_PYTHON.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.679 2002/05/14 13:59:32 ru Exp $
d650 1
a650 1
	@@perl ${.CURDIR}/scripts/driver-remove.pl \
d654 1
a654 1
	@@perl ${.CURDIR}/scripts/driver-copy2.pl \
@


1.679
log
@Split release.2 into two stages.  release.2 now install the base
dist, while release.3 makes and installs crypto, krb4, and krb5
dists.  This makes release.3 restartable (with "make rerelease").
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.678 2002/05/14 13:45:50 ru Exp $
d827 1
a827 1
	  cd /usr/ports/$$i && make all install clean BATCH=yes JADETEX=no FORCE_PKG_REGISTER=yes; \
@


1.678
log
@Make sure the first ${CHROOTDIR} installworld is done for the correct
arch.  This makes "make release TARGET_ARCH=foo" really work.

(I only tested with "make rerelease" before to save some time and did
not notice the problem.)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.677 2002/05/14 13:41:18 ru Exp $
d14 1
a14 1
# otherwise the target 'release.8' and possibly others will fail.
d435 4
d457 1
a457 1
	touch release.2
d460 1
a460 1
release.3:
d476 1
a476 1
	touch release.3
d480 1
a480 1
release.4:
d496 1
a496 1
	touch release.4
d501 1
a501 1
release.5:
d514 1
a514 1
	touch release.5
d519 1
a519 1
release.6:
d544 1
a544 1
	touch release.6
d550 1
a550 1
release.7:
d583 1
a583 1
	touch release.7
d598 1
a598 1
release.8:
d683 1
a683 1
	touch release.8
d688 1
a688 1
release.9:
d718 1
a718 1
	touch release.9
d880 2
a881 2
doRELEASE:  release.1 release.2 ${DOCREL} release.3 release.4 release.5 \
		release.6 release.7 release.8 release.9
d891 2
a892 2
	@@rm -f release.4 release.8
	@@cd ${.CURDIR} && ${MAKE} release.4 release.8 CRUNCH_TARGETS=boot
d895 2
a896 2
	@@rm -f release.4 release.9
	@@cd ${.CURDIR} && ${MAKE} release.4 release.9 CRUNCH_TARGETS=fixit
@


1.677
log
@GC now redundant BOOTSTRAPUTILS stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.676 2002/04/30 11:50:01 ru Exp $
d64 1
d268 1
a268 1
	cd ${.CURDIR}/.. && ${MAKE} -DNOGAMES -DNOHTML -DNOINFO -DNOMAN \
d270 1
a270 1
	cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR}
@


1.676
log
@Milestone #2 in cross-arch make releases.  They now work!

You need to set TARGET_ARCH and possibly TARGET, the same
way you normally do it for a cross build(7).

Renamed `distribworld' to a more natutal `distributeworld'.

Put pwd_mkdb(8) under ${INSTALLTMP}; for `distributeworld'.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.675 2002/04/29 15:26:37 ru Exp $
a220 15
# ${BOOTSTRAPDIR} is for those utilities that refer to the hosting
# environment, rather than the target environment.  This is specifically
# intended for kernel-dependent utilities that are used during the build.
#
# ${BOOTSTRAPDIR} is actually being used by prepending it to the normal
# ${PATH}.  Thus, it's also available to outside utilities like doFS.sh.
BOOTSTRAPDIR=	/bootstrap
#
# The mount subsystem has been changed between 2.2 and 3.0 by the
# Lite2 import.
BOOTSTRAPUTILS=	/sbin/mount /sbin/umount
#
# 3.0 cpio tries to reference lchown(2) which is not available in 2.2
BOOTSTRAPUTILS+= /usr/bin/cpio

a272 4
	mkdir ${CHROOTDIR}/${BOOTSTRAPDIR}
	for i in ${BOOTSTRAPUTILS} ; do \
		cp -p ${CHROOTDIR}$$i ${CHROOTDIR}/${BOOTSTRAPDIR} ; \
	done
d388 1
a388 1
	echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
@


1.675
log
@Some components of the crunched binaries may use build-tools
that are to be run on the building host.  (Currently, bin/sh
and usr.sbin/sysinstall use them.)  Make sure we build them
in the correct environment, like we do it in the buildworld.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.674 2002/04/27 14:23:32 matusita Exp $
d57 8
d135 1
a135 1
.if ${MACHINE_ARCH} == "i386"
d153 2
a154 2
.if ${MACHINE_ARCH} == "i386"
.if ${MACHINE} == "pc98"
d179 1
a179 1
.elif ${MACHINE_ARCH} == "alpha"
d243 1
a243 1
.if ${MACHINE} != "pc98"
d259 2
a260 1
WMAKEENV!=	cd ${.CURDIR}/..; ${MAKE} -f Makefile.inc1 -V WMAKEENV
d413 1
a413 1
	echo "	make ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${CHROOTDIR}/mk
d452 1
a452 1
	cd ${.CURDIR}/.. && make distribworld DISTDIR=${RD}/trees
d455 1
a455 1
	${MAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DNOCRYPT \
d457 1
a457 1
	    buildworld distribworld DISTDIR=${RD}/trees
d460 1
a460 1
	${MAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS4 \
d462 1
a462 1
	    buildworld distribworld DISTDIR=${RD}/trees
d466 1
a466 1
	${MAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS5 \
d468 1
a468 1
	    buildworld distribworld DISTDIR=${RD}/trees
d477 1
a477 1
	${MAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES \
d483 1
a483 1
	${MAKE} ${KERNEL_FLAGS} -DNO_WERROR \
d487 1
a487 1
	${MAKE} ${KERNEL_FLAGS} -DNO_MODULES \
d500 2
a501 2
.if exists(${.CURDIR}/${MACHINE}/${j}_crunch.conf)
	cd ${j}_crunch; crunchgen ${.CURDIR}/${MACHINE}/${j}_crunch.conf
d503 1
a503 1
	cd ${j}_crunch; crunchgen ${.CURDIR}/${j}_crunch.conf
d628 1
a628 1
.if ${MACHINE_ARCH} == "i386"
d649 1
a649 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d656 1
a656 1
.if ${MACHINE} == "i386"
d660 2
a661 2
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && \
	    sh ${.CURDIR}/${MACHINE_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS && \
d663 1
a663 1
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
d665 2
a666 2
		${.CURDIR}/${MACHINE}/drivers.conf \
		${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
d669 1
a669 1
	    ${.CURDIR}/${MACHINE}/drivers.conf \
d677 1
a677 1
.if ${MACHINE_ARCH} == "alpha"
d683 1
a683 1
.if ${MACHINE} == "pc98"
d726 1
a726 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d749 2
a750 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d788 2
a789 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d795 1
a795 1
.if ${MACHINE} != "pc98"
d805 1
a805 1
.if ${MACHINE} == "i386"
d819 1
a819 1
	@@if [ -r ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
d821 1
a821 1
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
d823 1
a823 1
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
d826 1
a826 1
			sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
d831 1
a831 1
		echo "Do not know how to create an ISO for ${MACHINE_ARCH}."; \
d928 2
a929 2
	@@if [ -f ${.CURDIR}/${MACHINE}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.CURDIR}/${MACHINE}/${CRUNCH}_crunch.conf` ; do \
d946 1
a946 1
	    ${MAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES -DNO_KERNELCLEAN \
d949 2
a950 2
.if exists(${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS.hints)
	cp ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS.hints ${RD}/kernels
d956 1
a956 1
	  strip BOOTMFS && \
d962 1
a962 1
.if ${MACHINE} == "i386"
d982 1
a982 1
.if ${MACHINE_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT}
@


1.674
log
@Introduce CVSCMDARGS make variable to set command-line options for cvs.
You may want set '-D data-spec' to this variable.

PR:		31218
Submitted by:	Alexandr Listopad <laa@@laa.zp.ua>
MFC after:	5 days
		(if re@@ permits)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.673 2002/04/26 19:40:45 ru Exp $
d250 1
d488 13
a500 11
	for j in ${CRUNCH_TARGETS} ; do \
		rm -rf $${j}_crunch && \
		mkdir $${j}_crunch && \
		( cd $${j}_crunch && \
		  ( ( [ -f ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ] && \
		    crunchgen ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ) || \
		    ( crunchgen ${.CURDIR}/$${j}_crunch.conf ) ) && \
		  ${WMAKE} -f $${j}_crunch.mk subclean all ) && \
		mv $${j}_crunch/$${j}_crunch ${RD}/crunch/$${j} && \
		true || { rm -rf $${j}_crunch ; false ; } ; \
	done
@


1.673
log
@If we are making a "release", we can obviously use -DNOCLEAN buildworld,
to save some time, because ${CHROOTDIR}/usr/obj does not even exist.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.672 2002/04/26 17:55:19 ru Exp $
d35 2
d284 1
a284 1
		cvs -R -d ${CVSROOT} co -P ${RELEASESRCMODULE}
d287 1
a287 1
		cvs -R -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d297 1
a297 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d299 1
a299 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d303 1
a303 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${PORTSRELEASETAG} ${MINIMALDOCPORTS}
d305 1
a305 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${MINIMALDOCPORTS}
d310 1
a310 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${DOCRELEASETAG} ${RELEASEDOCMODULE}
d312 1
a312 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE}
d324 1
a324 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d -A
d326 1
a326 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d -r ${RELEASETAG}
d329 1
a329 1
	cd ${CHROOTDIR}/usr/ports && cvs -R -q update -P -d
d333 1
a333 1
		( cd ${CHROOTDIR}/usr/$$i && cvs -R -q update -P -d ) ; \
d337 1
a337 1
	cd ${CHROOTDIR}/usr/doc && cvs -R -q update -P -d
@


1.672
log
@Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@@sunbay.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.671 2002/04/24 12:54:34 ru Exp $
a400 4
.if make(release)
	echo "	make ${WORLD_FLAGS} buildworld && \\" >> ${CHROOTDIR}/mk
.endif
.if make(rerelease)
a401 1
.endif
@


1.671
log
@Build the catpages distribution in a more natural way.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.670 2002/04/24 12:51:48 ru Exp $
a48 2
KERNCONF?=GENERIC

d130 1
a130 1
OTHER_DISTS?=	catpages manpages games proflibs dict info doc
a133 1
KERNELS?=	GENERIC
d185 4
d248 3
d270 2
a271 1
	cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
a275 2
	cd ${.CURDIR}/.. && ${MAKE} -DNOHTML -DNOINFO -DNOMAN installworld \
	    DESTDIR=${CHROOTDIR}
d322 1
a322 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d
d387 3
d402 1
a402 2
	echo "	(cd etc; make distrib-dirs distribution)" >> ${CHROOTDIR}/mk
	echo "	make ${WORLD_FLAGS} world && \\"	>> ${CHROOTDIR}/mk
d405 1
a405 1
	echo "	make ${WORLD_FLAGS} -DNOCLEAN world && \\" >> ${CHROOTDIR}/mk
a427 1
	mkdir ${RD}/dists
a430 1
		mkdir ${RD}/dists/$$i && \
d446 5
d452 4
a455 5
	cd ${.CURDIR}/../kerberosIV && ( \
		make bootstrap &&\
		make obj all help-distribute DISTDIR=${RD}/trees &&\
		make kprog \
	)
d458 4
a461 5
	cd ${.CURDIR}/../kerberos5 && ( \
		make bootstrap &&\
		make obj all help-distribute DISTDIR=${RD}/trees &&\
		make kprog \
	)
d469 4
a472 7
	-chflags -R noschg ${RD}/kernels/${kernel}
	rm -rf ${RD}/kernels/${kernel}
	rm -rf ${.CURDIR}/../sys/${MACHINE}/compile/${kernel}
	cd ${.CURDIR} && ${MAKE} doSTDKERNEL KERNEL=${kernel} KODIR=/${kernel}
	rm -rf ${.CURDIR}/../sys/${MACHINE}/compile/${kernel}
	-mkdir ${RD}/trees/base/boot/${kernel}
	cp -p ${RD}/kernels/${kernel}/kernel ${RD}/trees/base/boot/${kernel}
d474 9
a482 3
	# Install a standard boot kernel+modules
	mkdir -p ${RD}/trees/base/boot/kernel
	cp -Rp ${RD}/kernels/GENERIC/* ${RD}/trees/base/boot/kernel
a487 1
	@@mkdir -p /stand
d497 1
a497 1
		  ${MAKE} -f $${j}_crunch.mk subclean all ) && \
a506 6
	# Handle some grief caused by the munition braindeadness.
	for i in ${FIXCRYPTO}; do \
		( cd ${.CURDIR}/../$$i; \
		  make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
	done

d629 1
a629 1
	    ${.CURDIR}/../etc/services | \
d634 1
a634 1
	gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
d646 1
a646 1
	@@cp /boot/boot* ${RD}/mfsfd/boot
d648 1
a648 1
	@@cp /boot/mbr ${RD}/mfsfd/boot
d650 4
a653 2
	@@cp /boot/loader.help ${RD}/mfsfd/boot
	@@cd ${.CURDIR} && ${MAKE} createBOOTMFS 
d655 7
a661 1
	@@cd ${.CURDIR} && ${MAKE} doMODULES KERNEL=BOOTMFS KERNEL_KO=BOOTMFS KODIR=""
d664 1
a664 1
	@@tar --exclude CVS -cf - -C /usr/src/usr.sbin/sysinstall help | \
a670 6
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
	@@mkdir -p ${RD}/mfsfd/stand/modules
	@@perl ${.CURDIR}/scripts/driver-copy2.pl \
		${.CURDIR}/${MACHINE}/drivers.conf \
		${RD}/kernels ${RD}/mfsfd/stand/modules
.endif
a929 55
# --==## BOOTMFS config file ##==--
#

createBOOTMFS:
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && \
	  sh ${.CURDIR}/${MACHINE_ARCH}/dokern.sh ${FDSIZE} < ${KERNCONF} > BOOTMFS && \
	  [ -r ${KERNCONF}.hints ] && cp ${KERNCONF}.hints BOOTMFS.hints
.if 0 && ${MACHINE_ARCH} == "i386"
	@@echo "options  INTRO_USERCONFIG" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
	@@perl ${.CURDIR}/scripts/driver-remove.pl \
		${.CURDIR}/${MACHINE}/drivers.conf \
		${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif

#
# --==## Compile a kernel by name ${KERNEL} ##==--
#
# We don't erase the sys/${MACHINE}/compile/${KERNEL} directory, since somebody
# may want to reuse it (release.8 presently)
#
doKERNEL:
	@@rm -f ${RD}/kernels/${KERNEL}
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
	@@cd ${.CURDIR}/../sys/${MACHINE}/compile/${KERNEL} && \
			make kernel-depend && \
			make -DNO_WERROR ${KERNEL_FLAGS} ${KERNEL_KO} && \
			make kernel-reinstall DESTDIR=${RD}/kernels && \
			[ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \
			cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels

doMODULES:
	@@rm -f ${RD}/kernels/*.ko
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
	@@cd ${.CURDIR}/../sys/${MACHINE}/compile/${KERNEL} && \
			make modules-depend && \
			make -DNO_WERROR ${KERNEL_FLAGS} modules && \
			make modules-reinstall DESTDIR=${RD}/kernels && \

doSTDKERNEL:
	@@rm -f ${RD}/kernels/${KERNEL}
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
	@@cd ${.CURDIR}/../sys/${MACHINE}/compile/${KERNEL} && \
			make depend && \
			make -DNO_WERROR ${KERNEL_FLAGS} KERNEL=${KERNEL} && \
			make KERNEL=${KERNEL} DESTDIR=${RD}/kernels install && \
			[ -r ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ] && \
			cp ${.CURDIR}/../sys/${MACHINE}/conf/${KERNEL}.hints ${RD}/kernels
	@@-cd ${.CURDIR}/../sys/${MACHINE}/compile/${KERNEL} && \
			make KERNEL=${KERNEL} DESTDIR=${RD}/kernels \
				kernel-reinstall.debug

#
d933 10
a942 4
	@@echo "Running doMFSKERN for ${FSIMAGE}"
	@@rm -f ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@cd ${.CURDIR} && ${MAKE} createBOOTMFS 
	@@cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS KERNEL_KO=BOOTMFS KODIR=""
d944 1
a944 1
	@@mkdir  ${RD}/image.${FSIMAGE}
@


1.670
log
@The chrooted environment isn't nearly pristine, so reset
MAKEOBJDIRPREFIX to the canonical /usr/obj while there.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.669 2002/04/23 22:16:40 obrien Exp $
d132 1
a132 1
OTHER_DISTS?=	manpages catpages games proflibs dict info doc
d392 1
@


1.669
log
@Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.668 2002/04/23 09:24:00 ru Exp $
d391 1
@


1.668
log
@Do not spam initial ${CHROOTDIR} world with Texinfo and HTML docs.

For rerelease, run "make -DNOCLEAN world" instead of simple and
insufficient in some cases "make all install".  This is especially
true for cross-arch "make release"s which we don't (yet) support.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.667 2002/04/09 01:17:47 matusita Exp $
d125 1
a125 1
# BIN_DISTS are special in that they get full /etc installation sets.
d134 2
a135 2
BIN_DISTS?=	bin
DISTRIBUTIONS?=	${BIN_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
d439 1
a439 1
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/bin
d466 2
a467 2
	-mkdir ${RD}/trees/bin/boot/${kernel}
	cp -p ${RD}/kernels/${kernel}/kernel ${RD}/trees/bin/boot/${kernel}
d470 2
a471 2
	mkdir -p ${RD}/trees/bin/boot/kernel
	cp -Rp ${RD}/kernels/GENERIC/* ${RD}/trees/bin/boot/kernel
d606 1
a606 1
	( cd ${RD}/trees/bin/dev && \
d619 1
a619 1
	cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
d622 1
a622 1
		${RD}/trees/bin/etc/$$F > ${RD}/mfsfd/stand/etc/$$F ; \
d697 1
a697 1
		cp ${RD}/trees/bin/dev/MAKEDEV MAKEDEV && \
d699 3
a701 3
	@@cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \
		${RD}/trees/bin/etc/protocols ${RD}/fixitfd/etc
	@@cp ${RD}/trees/bin/usr/share/misc/scsi_modes \
d828 1
a828 1
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/bin/usr/share/doc
@


1.667
log
@Set hint.acpi.0.disable to 1 in /boot/loader.rc of {boot,kern}.flp,
since we have no ACPI feature in the installation kernel at this time.

Without having this, we'll see

	ACPI no autoload failed -- no such file or directory

message at boot time, and it makes some confusion to the users.  We can
backout this change if installation kernel has ACPI feature.

PR:		36911 (partly)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.666 2002/04/02 15:07:34 matusita Exp $
d271 2
a272 1
	cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1
d398 1
a398 1
	echo "	make ${WORLD_FLAGS} all install && \\" >> ${CHROOTDIR}/mk
@


1.666
log
@Fix recent fixit.flp flood:
	- don't make device files since we are in the DEVFS era.
	  (for the last resort, fixit.flp still has /dev/MAKEDEV.)
	- increase FIXITINODE size to 10 times (40000).

After this change, we have 42kbytes of free space, and 38
of free inodes (confirmed with 5.0-CURRENT-20020327-JPSNAP).

Since 4-stable doesn't have DEVFS, we can't MFC this (except FIXITINODE).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.665 2002/03/31 17:21:29 murray Exp $
d1012 1
@


1.665
log
@Make it easier to specify a custom kernel configuration for the boot
floppies.

PR:		misc/36032
Submitted by:	David Yeske <dyeske@@yahoo.com>
MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.664 2002/03/30 02:31:17 murray Exp $
d153 1
a153 1
FIXITINODE=		4000
d165 1
a165 1
FIXITINODE=		4000
d178 1
a178 1
FIXITINODE=		4000
d697 1
a697 2
		chmod 755 MAKEDEV && \
		sh MAKEDEV fixit )
@


1.664
log
@Bump MFSSIZE to the value used by i386 and pc98.  This larger MFS
filesystem will still compress below the 1.44 megabyte threshold for
the floppy image.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.663 2002/03/29 22:22:34 murray Exp $
d49 1
a49 1
KERNCONF=GENERIC
@


1.663
log
@Alpha does not support PCCARD installs, so we do not need the 58k
/etc/defaults/pccard.conf.  Assume for now that only
MACHINE_ARCH=="i386" wants to do PCCARD installs.  We're still using
too much space, but this is a big help.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.662 2002/03/28 08:23:33 ru Exp $
d175 1
a175 1
MFSSIZE=		3200
@


1.662
log
@Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary.  This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.

Suggested by:	jhb
MFC in:		1 week
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.661 2002/03/26 18:12:26 jhb Exp $
d614 1
d616 1
@


1.661
log
@Remove all traces of write_mfs_in_kernel from the base system release
area.

Requested by:	joe
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.660 2002/03/17 07:34:12 murray Exp $
d640 3
@


1.660
log
@Remind developers to update release(7) if they make substantial
changes to this file.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.659 2002/02/25 21:53:18 peter Exp $
a890 3

write_mfs_in_kernel:	${.CURDIR}/write_mfs_in_kernel.c
	${CC} ${CFLAGS} -o write_mfs_in_kernel ${.CURDIR}/write_mfs_in_kernel.c
@


1.659
log
@Supply -DNO_WERROR to the kernel build during release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.658 2002/02/25 05:35:39 matusita Exp $
d19 2
@


1.658
log
@Typo fix: missing ;.

Pointed out by: Manfred Antar <null@@pozo.com>
Pointy hat to: matusita
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.657 2002/02/12 16:56:06 matusita Exp $
d948 1
a948 1
			make ${KERNEL_FLAGS} ${KERNEL_KO} && \
d958 1
a958 1
			make ${KERNEL_FLAGS} modules && \
d966 1
a966 1
			make ${KERNEL_FLAGS} KERNEL=${KERNEL} && \
@


1.657
log
@Mkdir ${CHROOTDIR}/usr/ports/distfiles if RELEASEDISTFILES is not set.
We ensure that 'ports.tgz' tarball should have ports/distfiles directory.

At first, ${CHROOTDIR}/usr/ports is empty (rm -rf ports), then extract
ports files from CVS repository.  Then if RELEASEDISTFILES is defined,
${CHROOTDIR}/usr/ports/distfiles directory is created by cp(1).  However,
if you don't specify RELEASEDISTFILES, there is no chance to create
${CHROOTDIR}/usr/ports/distfiles directory.

Submitted by:	{ushi,tora}.jp.FreeBSD.org
MFC after:	5 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.656 2002/02/03 07:00:37 matusita Exp $
d309 1
a309 1
		mkdir -p ${CHROOTDIR}/usr/ports/distfiles \
@


1.656
log
@Change variable name from DOCDISTFILES to RELEASEDISTFILES.  Respect
DOCDISTFILES if defined.  No impact should happen with this change.

DOCDISTFILES is introduced by rev. 1.541, to point the directory that
contains the distfiles for ports/textproc/docproj.  It's good, but
we also build ports/sysutils/mkisofs during the release (if MAKE_ISOS
is defined).  It is natural that cdrtools tarball is prefetched, then
copy it under ${CHROOTDIR}/usr/ports/distfiles.

As a result, DOCDISTFILES variable is somewhat abused for non-doc
tarballs; *DOC*DISTFILES is no longger appropriate name for that.

PR:		16843
PR:		34194
Submitted by:	murray
MFC after:	6 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.655 2002/01/31 00:38:09 matusita Exp $
d308 2
@


1.655
log
@In revision 1.351, All files/directories in ${CHROOTDIR}/usr/ports/distfiles
are removed, because ports.tgz includes distfiles by accident.

However, removing files/directories is *not* mandatory.  The only
requirement is "ports.tgz doesn't include distfiles/* but distfiles
directory itself".  If this is correct, the right way is to set an
option to tar(1), not to include these files.

This commit is based on PR: 34194, but a little bit of modification
is made by me (original patch doesn't include 'distfiles' directory).

PR:		34194
Reviewed by:	Adrian Steinmann <ast@@marabu.ch> (PR submitter)
MFC after:	9 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.654 2002/01/20 23:17:52 matusita Exp $
d106 7
a112 2
# Set this to wherever the distfiles required by ${DOCPORTS} live.
DOCDISTFILES?=	${.CURDIR}/../../ports/distfiles
d306 2
a307 2
	if [ -d ${DOCDISTFILES}/ ]; then \
		cp -rp ${DOCDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
@


1.654
log
@MFS 1.536.2.52 (partial) and 1.536.2.70: kgzip loader if i386 (only).

5.0-CURRENT-20020121-JPSNAP was failed to build since kern.flp has no
space.  There is already a hack to kgzip loader, and it makes:

-r-xr-xr-x  1 root  wheel  163840 Jan 21 07:40 loader*
-r-xr-xr-x  1 root  wheel   90121 Jan 21 08:06 loader.kgz*

73719 bytes of free spaces to us.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.653 2002/01/17 20:29:02 joerg Exp $
a780 1
	@@-rm -rf /usr/ports/distfiles/*
d782 2
a783 1
	  tar --exclude CVS -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
@


1.653
log
@Include /dev/xpt0 into the list of devices to go onto the boot floppy, so
camcontrol can get a handle to initiate a rescan or reset.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.652 2001/12/28 17:21:28 bmah Exp $
d985 3
d989 1
@


1.652
log
@Modify the release-building process so the srelease distribution
doesn't get spammed by RELNOTESng files.

Previously, we built the RELNOTESng files "in place" and then
populated the media (e.g. floppy, cdrom, ftp) areas from the build
directories.  However, the distributions got rolled after the
RELNOTESng build, and thus picked up the rendered RELNOTESng files.

Now, we install the RELNOTESng documents to R/stage/release.doc, then
clean out the original directories in src/release/doc.  We use the
renditions in the staging area to populate the media areas.

PR:		33141
MFC after:	3 days
		(plus re approval)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.651 2001/12/27 22:32:33 bmah Exp $
d597 1
a597 1
		ls console tty bpf0 ttyd0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | \
@


1.651
log
@At least I'm consistent.  Back out the last accidental rev to this file on
HEAD too.

Noticed by:		ben
Another pointy hat to:	bmah
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.649 2001/12/18 20:05:20 green Exp $
d194 1
d621 1
a621 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d624 1
a624 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d697 1
a697 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d716 2
a717 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d720 2
a721 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d723 1
a723 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${FD}
d755 2
a756 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d759 2
a760 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d762 1
a762 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d822 1
a822 1
	@@cd ${.CURDIR}/doc && make all 'FORMATS=html txt'
@


1.650
log
@New release notes found while trying to catch-up RELENG_4 to reality:
whois(1) -c, pkg_delete -r, rc.conf(5) support for IPFilter state tables.
@
text
@a193 1
RND=			${RD}/release.doc
d620 1
a620 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d623 1
a623 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d696 1
a696 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d715 2
a716 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d719 2
a720 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d722 1
a722 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
d754 2
a755 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d758 2
a759 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d761 1
a761 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d821 1
a821 1
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' INSTALL_COMPRESSED='' DOCDIR=${RND}
@


1.649
log
@set TMPDIR to /tmp
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.648 2001/11/25 16:43:45 nyan Exp $
d194 1
d621 1
a621 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d624 1
a624 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d697 1
a697 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d716 2
a717 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d720 2
a721 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d723 1
a723 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${FD}
d755 2
a756 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d759 2
a760 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d762 1
a762 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d822 1
a822 1
	@@cd ${.CURDIR}/doc && make all 'FORMATS=html txt'
@


1.648
log
@Set a BOOTABLE variable to "-b" if MACHINE is not pc98, and use it for
mkisoimages.sh instead of "-b" directly.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.647 2001/11/24 05:21:53 nyan Exp $
d379 1
@


1.647
log
@PC98 boxes cannot boot from CD-ROM.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.646 2001/11/23 14:08:25 nyan Exp $
d224 3
d790 4
a793 4
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
		  ${CD}/miniinst.iso ${CD_DISC1}; \
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
		  ${CD}/disc2.iso ${CD_DISC2}; \
d795 2
a796 2
			sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
			  ${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
@


1.646
log
@Search ${MACHINE}/drivers.conf instead of ${MACHINE_ARCH}/drivers.conf.
The previous commit is not completely.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.645 2001/11/22 11:04:12 nyan Exp $
d761 1
d770 1
@


1.645
log
@Use a separate drivers.conf between i386 and pc98.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.644 2001/11/22 04:02:09 jhb Exp $
d628 1
a628 1
.if exists(${.CURDIR}/${MACHINE_ARCH}/drivers.conf)
d642 1
a642 1
		${.CURDIR}/${MACHINE_ARCH}/drivers.conf \
d919 1
a919 1
		${.CURDIR}/${MACHINE_ARCH}/drivers.conf \
@


1.644
log
@Switch to using a standard /boot directory including the GENERIC kernel
on CD's 1 and 2.  Create a simple /boot/loader.conf on each CD that loads
/boot/mfsroot.gz as a mfs_root image.  The mfsroot moved from /mfsroot.gz
to /boot/mfsroot.gz so that all of the boot stuff is in /boot.  This allows
a full kernel to be used when installing from CD on all architectures
that support CD booting.  Note that on x86, this requires using
/boot/cdboot as a no-emulation boot image instead of /floppies/boot.flp.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.643 2001/11/21 09:42:06 nyan Exp $
d639 1
a639 1
.if exists(${.CURDIR}/${MACHINE_ARCH}/drivers.conf)
d917 1
a917 1
.if exists(${.CURDIR}/${MACHINE_ARCH}/drivers.conf)
@


1.643
log
@Increase the size of a mfsroot floppy for pc98 to 4320.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.642 2001/11/20 20:27:54 jhb Exp $
d761 9
a769 10
.if ${MACHINE_ARCH} == "alpha"
	@@echo "Setting up Alpha CD disc1 for booting"
	@@cp -Rp ${RD}/image.boot/boot ${CD_DISC1}
	@@ln -f ${RD}/image.boot/kernel.gz ${CD_DISC1}/kernel.gz
	@@ln -f ${RD}/image.boot/mfsroot.gz ${CD_DISC1}/mfsroot.gz
	@@ln -f ${CD_DISC2}/boot/cdboot ${CD_DISC1}/boot
	@@ln -f ${CD_DISC1}/boot/loader.rc ${CD_DISC2}/boot
	@@ln -f ${CD_DISC1}/kernel.gz ${CD_DISC2}/kernel.gz
	@@ln -f ${CD_DISC1}/mfsroot.gz ${CD_DISC2}/mfsroot.gz
.elif ${MACHINE} == "i386"
@


1.642
log
@Bump the mfsroot up from 2880 to 3200 for Alpha so it fits again.  Use
a label of auto instead of the fixed size minimum2 so that the bump in
size actually has an effect.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.641 2001/11/19 21:42:08 jhb Exp $
d144 1
a144 1
MFSSIZE=		2880
d151 1
a151 1
MFSLABEL=		minimum2
@


1.641
log
@Use modules-depend instead of kernel-depend for doing the depend stage
in doMODULES.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.640 2001/11/19 21:27:00 jhb Exp $
d168 1
a168 1
MFSSIZE=		2880
d175 1
a175 1
MFSLABEL=		minimum2
@


1.640
log
@Split the mfsroot out from the kernel for the 2.88 boot floppy and the
Alpha CD.  This makes it easier to customize ISO's locally by being able
to replace either the mfsroot or the kernel w/o having to do both.  It also
allows us to switch to using the full GENERIC kernel when booting from CD
on the Alpha and on x86 when using cdboot.  We don't do this yet, however.

Tested on:	x86, alpha
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.639 2001/11/17 19:54:22 bmah Exp $
d944 1
a944 1
			make kernel-depend && \
@


1.639
log
@Add a comment that the chroot area cannot reside on a "nodev"-mounted
filesystem.

PR:		12712
Submitted by:	Sergei Laskavy <laskavy@@Berkeley.Gambit.Msk.SU>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.638 2001/10/29 16:25:13 nyan Exp $
d579 3
a581 5
# +-----+-----+-+--------------------------------------------------------+-+
#               |kernel                                                  |
#               +------------+-----------------------------------------+-+
#                            |mfs filesystem "mfsfd"                   |
#                            +-----------------------------------------+
d584 1
a584 1
release.8: write_mfs_in_kernel
d660 1
a660 1
	@@rm mfsroot mfsroot.gz mfsroot.size
a735 3
.if ${MACHINE} != "pc98"
	@@ln -f ${RD}/kernels/MFSKERNEL.boot ${CD_DISC1}/kernel
.endif
d764 2
d768 2
a769 1
	@@ln -f ${CD_DISC1}/kernel ${CD_DISC2}/kernel
a917 4
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
	@@echo "options MD_ROOT_SIZE=`cat mfsroot.size`" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif
d990 1
a991 1
.endif
a996 5
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
	@@echo "Writing MFS image into kernel for ${FSIMAGE} floppy"
	@@./write_mfs_in_kernel ${RD}/image.${FSIMAGE}/kernel mfsroot
	@@cp ${RD}/image.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
.endif
d1000 1
@


1.638
log
@Make CD-ROM distributions at the pc98 release target.

MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.637 2001/09/23 22:32:09 bmah Exp $
d15 4
@


1.637
log
@The README file in the floppies/ directory of a distribution should
come from the installation document (of the release documentation)
not the readme.  The installation document is the one that has the
content of the old FLOPPIES.TXT.

Pointy hat to:	bmah
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.636 2001/09/13 06:44:36 murray Exp $
a216 3
.if ${MACHINE} == "pc98"
EXTRAS= ftp.1
.else
a217 1
.endif
d734 1
d736 1
d768 1
a768 1
.elif ${MACHINE_ARCH} == "i386"
@


1.636
log
@'make release' should install docproj ports with BATCH=yes so that your
release builds don't stop in the middle of the night asking for user
input about which Ghostscript drivers to install.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.635 2001/09/03 20:27:03 obrien Exp $
d694 1
a694 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \
@


1.635
log
@Cause an error condition to be sensed by make(1) if we have trouble
making the ISO.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.634 2001/09/02 19:05:27 jkh Exp $
d806 1
a806 1
	  cd /usr/ports/$$i && make all install clean JADETEX=no FORCE_PKG_REGISTER=yes; \
@


1.634
log
@Use sh to execute scripts and just check that the script is readable.
I guess I pooched the permissions on the scripts before committing them
since they're not executable and now it's too late to change (I think -
I suppose you could chmod the ,v files and it might inheirit but I don't
feel like asking the repomeisters to try that).

Noticed by:	Dirk Froemberg <dirk@@freebsd.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.633 2001/08/20 21:22:01 obrien Exp $
d793 1
@


1.633
log
@+ back out my `iso' target
+ allows one to set _R so one can more easily make an iso after the fact,
  in the directory `make release' was issued in
+ changes name from miniboot to miniinst since we make other bootable ISOs
  also (and we might confuse someone)

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.632 2001/08/15 20:57:08 obrien Exp $
d784 1
a784 1
	@@if [ -x ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
d786 1
a786 1
		${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
d788 1
a788 1
		${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
d791 1
a791 1
			${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
@


1.632
log
@Add an `iso' target to create ISO images properly for each platform.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.631 2001/07/23 09:01:46 jkh Exp $
a44 10
ISO_DISC1?=${CHROOTDIR}/${_R}/${BUILDNAME}_disc1.iso
ISO_DISC2?=${CHROOTDIR}/${_R}/${BUILDNAME}_disc2.iso
ISOTITLE?="${BUILDNAME} ${MACHINE}"
ISOCOPYRIGHT?="(c)2001 The FreeBSD Project"
#	for x86, et. al.
.if ${MACHINE_ARCH} == "i386"
ISOBOOTABLE=-b floppies/boot.flp -c floppies/boot.catalog
.endif
MKISOFLAGS=${ISOBOOTABLE} -d -N -D -R -T -V ${ISOTITLE} -P ${ISOCOPYRIGHT}

d188 1
a188 1
_R=			/R
d786 2
a787 2
		${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniboot \
		  ${CD}/miniboot.iso ${CD_DISC1}; \
d794 2
a1020 10

iso:
	mkisofs ${MKISOFLAGS} -o ${ISO_DISC1} ${CHROOTDIR}${CD_DISC1}
	mkisofs ${MKISOFLAGS} -o ${ISO_DISC2} ${CHROOTDIR}${CD_DISC2}
	# post-processing
.for disc in ${ISO_DISC1} ${ISO_DISC2}
.if ${MACHINE_ARCH} == "alpha"
	setcdboot ${disc} /boot/cdboot
.endif
.endfor
@


1.631
log
@Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.630 2001/07/21 17:21:52 obrien Exp $
d45 10
d1029 10
@


1.630
log
@dokern.sh was repo copied from src/release/scripts to
src/release/${MACHINE_ARCH}
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.629 2001/07/18 05:40:30 phk Exp $
d222 3
d342 3
d770 3
d782 14
@


1.629
log
@Use quotes around ${RELEASETAG} to allow values like
	-r RELENG_4 -D "2001-07-17 12:00"
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.628 2001/07/05 22:14:25 bmah Exp $
d886 1
a886 1
	  sh ${.CURDIR}/scripts/dokern.sh ${FDSIZE} < ${KERNCONF} > BOOTMFS && \
@


1.628
log
@When building an FTP area, put the CSS file for the release documentation
in the FTP area, not the CDROM area.

MFC after:	3 days
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.627 2001/06/30 17:20:12 imp Exp $
d34 1
a34 1
ISRELEASE!=	expr ${RELEASETAG} : '^RELENG_.*_RELEASE$$' || true
d334 1
a334 1
	echo "export RELEASETAG=${RELEASETAG}"	>> ${CHROOTDIR}/mk
@


1.627
log
@Fix make release for new kernel locations
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.626 2001/06/25 00:43:10 jkh Exp $
d714 1
a714 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
@


1.626
log
@Fix crypto targets to be user-overridable and also obey the
NO_SENDMAIL flag if set.  The whole NO_FOO mechanism in /usr/src
is pretty bogus and needs to be re-examined in the context of a
larger argument about modularity, but that's something for another
time.

Submitted by:		Peter Pentchev <roam@@orbitel.bg>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.625 2001/06/22 01:15:43 bmah Exp $
d442 1
a442 1
	rm -rf ${.CURDIR}/../sys/compile/${kernel}
d444 1
a444 1
	rm -rf ${.CURDIR}/../sys/compile/${kernel}
d905 1
a905 1
# We don't erase the sys/compile/${KERNEL} directory, since somebody
d911 1
a911 1
	@@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
d921 1
a921 1
	@@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
d929 1
a929 1
	@@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
d935 1
a935 1
	@@-cd ${.CURDIR}/../sys/compile/${KERNEL} && \
@


1.625
log
@Put docbook.css in the ftp and cdrom areas of a release build because
they have HTML renderings of the release documentation.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.624 2001/06/14 23:48:13 peter Exp $
d177 8
d477 1
a477 1
	for i in bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
@


1.624
log
@Temporarily disable INTRO_USERCONFIG for the moment.

Noted by:  Dave Cornejo <dave@@dogwood.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.623 2001/06/11 02:00:21 ache Exp $
d706 1
d746 1
@


1.623
log
@ISO_ -> ISO
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.622 2001/06/05 14:16:50 bmah Exp $
d878 1
a878 1
.if ${MACHINE_ARCH} == "i386"
@


1.622
log
@Use WITHOUT_X11, not NO_X, as the standardized way of turning off doc
ports' dependencies on X Windows during release builds.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.621 2001/06/03 01:36:06 dd Exp $
d79 1
a79 1
#RELNOTES_LANG=	en_US.ISO_8859-1
d340 1
a340 1
	echo "export DOC_LANG=en_US.ISO_8859-1"	>> ${CHROOTDIR}/mk
d348 1
a348 1
	echo "export RELNOTES_LANG=en_US.ISO_8859-1"	>> ${CHROOTDIR}/mk
@


1.621
log
@Remove unused VNDEVICE variable.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.620 2001/05/30 17:05:15 bmah Exp $
d321 1
a321 1
	echo "export NO_X=YES"			>> ${CHROOTDIR}/mk
@


1.620
log
@Fold the functionality of NORELNOTES into NODOC.  There is now only
one Makefile variable to control the building/installation of both
the DocProj documents and RELNOTESng.

Suggested by:  obrien, dd
Tested by:  John Hay <jhay@@icomtek.csir.co.za>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.619 2001/05/29 17:14:59 bmah Exp $
a177 2
VNDEVICE?=		vn0

a323 1
	echo "export VNDEVICE=${VNDEVICE}"	>> ${CHROOTDIR}/mk
@


1.619
log
@Unbreak make release (didn't completely account for removal of *.TXT
files).

Another diff will be forthcoming to fold the functionality of
NORELNOTES into NODOC.

Tested by:  John Hay <jhay@@icomtek.csir.co.za>
Pointy hat to:  bmah
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.618 2001/05/25 18:01:31 bmah Exp $
d72 2
a73 1
# Setting this also disables doc.2 (RELNOTESng).
a76 5
# RELNOTESng can be disabled by uncommenting the following variable
# definition.  RELNOTESng depends on having ports enabled for this
# release build.
#NORELNOTES=	YES

d108 1
a108 1
.if !defined(NORELNOTES)
d218 1
a218 4
DOCREL= doc.1
.if !defined(NORELNOTES)
DOCREL+= doc.2
.endif
a235 5
.if !defined(NORELNOTES) && defined(NODOC)
	@@echo "Docs are required for building the release notes.  Either"
	@@echo "set NORELNOTES or unset NODOC!"
	@@exit 1
.endif
a347 3
.if defined(NORELNOTES)
	echo "export NORELNOTES=${NORELNOTES}"	>> ${CHROOTDIR}/mk
.endif
d605 1
a605 1
.if !defined(NORELNOTES)
d682 1
a682 1
.if !defined(NORELNOTES)
d700 1
a700 1
.if !defined(NORELNOTES)
d739 1
a739 1
.if !defined(NORELNOTES)
@


1.618
log
@RELNOTESng is now the default for -CURRENT release builds.  (Floppy
images get TXT renderings only; CDROM and FTP areas get TXT and HTML.)

Remove the old *.TXT release documentation files, as they
have been subsumed into RELNOTESng.  The new layout will greatly
facilitate their maintenence and help keep them internally consistent.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.617 2001/05/21 18:15:01 bmah Exp $
d697 3
a699 1
	@@cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT
d701 3
@


1.617
log
@Update comment:  We don't use vn(4) anymore in -CURRENT, we use md(4).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.616 2001/05/04 19:50:34 joerg Exp $
d76 2
a77 2
# RELNOTESng can be enabled be uncommenting the following variable
# definition.  It depends on having ports and docs enabled for this
d79 5
a83 2
#RELNOTESNG=	YES
#RELNOTESNG_LANG=	en_US.ISO_8859-1
d101 3
a103 2
# Set ALLLANG=no if you want the release documentation to be
# in English only.
d112 1
a112 1
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES"
a114 3
.else
DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \
           RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT INSTALL.TXT
d223 1
a223 1
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES"
d243 3
a245 3
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES" && defined(NODOC)
	@@echo "Ports and docs are required for building RELNOTESng.  Either"
	@@echo "unset RELNOTESNG or unset both NOPORTS and NODOC!"
d360 2
a361 2
.if defined(RELNOTESNG)
	echo "export RELNOTESNG=${RELNOTESNG}"	>> ${CHROOTDIR}/mk
d363 2
a364 2
.if defined(RELNOTESNG_LANG)
	echo "export RELNOTESNG_LANG=${RELNOTESNG_LANG}"	>> ${CHROOTDIR}/mk
d366 1
a366 1
	echo "export RELNOTESNG_LANG=en_US.ISO_8859-1"	>> ${CHROOTDIR}/mk
d620 1
a620 1
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES"
d622 1
a622 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d625 1
a625 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
a627 8
.else
	@@for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     gzip -9c ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; \
	  else \
	     gzip -9c ${.CURDIR}/texts/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; \
	  fi; \
	done
d710 1
a710 1
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES"
d712 2
a713 2
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d716 2
a717 2
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
a720 10
.else
	@@for i in ${DIST_DOCS}; do \
	  if [ -f ${.CURDIR}/texts/$${i} ]; then \
	     cp ${.CURDIR}/texts/$${i} ${FD}; \
	  fi; \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
	     cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${FD}/$${i}; \
	  fi; \
	done
d749 1
a749 1
.if defined(RELNOTESNG) && ${RELNOTESNG} == "YES"
d751 2
a752 2
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d755 2
a756 2
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTESNG_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
a759 10
.else
	@@for i in ${DIST_DOCS}; do \
	  if [ -f ${.CURDIR}/texts/$${i} ]; then \
	     cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
	  fi; \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${CD_DISC1}/$${i}; \
	     cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${CD_DISC1}/$${i}; \
	  fi; \
        done
@


1.616
log
@Add infrastructure that allows to build docs and RELNOTESng without
the need to also create the entire ports tree during a `make release'.
The main motivation behind this is that handling the ports tree still
takes a huge amount of time due to the large number of directories
involved, even on modern disks.

The solution is to establish a list of dependent ports that are
minimally required.  This list needs to be manually maintained in case
the doc ports toolchain changes, and has thus been broken out into a
separate file Makefile.inc.docports.  (release/Makefile has gotten
overly lengthy already anyway.)

Discussed with:	bmah, nik
Reviewed by:	bmah
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.615 2001/04/27 21:27:49 bmah Exp $
d12 2
a13 1
# Please note: the vn driver must also be compiled into your kernel,
@


1.615
log
@First commit of RELNOTESng, the rewrite of the *.TXT documentation
files.

src/release/doc/README has additional information.

Reviewed by:	-current, -doc
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.614 2001/04/22 16:54:01 obrien Exp $
d60 11
a70 2
# Uncomment this to disable the doc.1 target.  It is also an ERROR
# to set NOPORTS and not set NODOC since docs depend on ports.
d81 16
d236 1
a236 1
.if defined(NOPORTS) && !defined(NODOC)
d238 1
a238 1
	@@echo "unset NOPORTS!"
d285 6
d313 5
d343 3
@


1.614
log
@Allow the `release' target to work if one disables the debug kernel build.

Submitted by:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.613 2001/04/17 18:32:35 obrien Exp $
d62 1
d65 7
d82 4
a85 1

d88 1
d196 3
d216 5
d319 8
d579 9
d595 1
d677 12
d698 1
d726 12
d747 1
d764 3
d774 8
@


1.613
log
@Optimize make invocations by using multiple targets.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.612 2001/04/16 15:17:27 obrien Exp $
d847 1
a847 2
			make KERNEL=${KERNEL} DESTDIR=${RD}/kernels \
				install kernel-reinstall.debug && \
d850 3
@


1.612
log
@Grrr, get the right change from the the machine I tested this on.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.611 2001/04/15 19:37:28 obrien Exp $
d847 2
a848 1
			make KERNEL=${KERNEL} DESTDIR=${RD}/kernels install && \
a850 1
			make KERNEL=${KERNEL} DESTDIR=${RD}/kernels kernel-reinstall.debug
@


1.611
log
@Turn on kernel debugging support (DDB, INVARIANTS, INVARIANT_SUPPORT, WITNESS)
by default while SMPng is still being developed.

Submitted by:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.610 2001/04/14 22:29:31 jkh Exp $
d850 1
a850 1
			make KERNEL=${kernel} DESTDIR=${RD}/kernels kernel-reinstall.debug
@


1.610
log
@Get the crypto checksums in the right file.  This bug has been
around for a very long time and it's my fault.  Sorry. :)

PR:		20311
Submitted by:	Makoto MATSUSHITA <matusita@@jp.freebsd.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.609 2001/04/11 06:16:52 obrien Exp $
d850 1
@


1.609
log
@Missed one in rev 1.608.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.608 2001/04/11 02:21:13 obrien Exp $
d498 4
a501 1
		if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; ) ; fi
@


1.608
log
@Properly set `KERNEL' w/in the "doSTDKERNEL:" target.

Reviewed by:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.607 2001/04/08 23:02:12 obrien Exp $
d843 1
a843 1
			make ${KERNEL_FLAGS} KERNEL=${kernel} && \
@


1.607
log
@Fix typo in error message.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.606 2001/04/07 01:53:14 obrien Exp $
d844 1
a844 1
			make KERNEL=${kernel} DESTDIR=${RD}/kernels install && \
@


1.606
log
@Strip comments from the MFSROOT's /stand/etc files.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.605 2001/04/07 01:48:55 obrien Exp $
d716 1
a716 1
	@@echo "TB undefined in doTARBALL" && exit 1
@


1.605
log
@Blow away all the help files on the MFSROOT for the Alpha.
Someone did something that really blew up the size of the crunchgen'ed
sysinstall+friends.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.604 2001/04/06 19:06:19 obrien Exp $
d92 1
a92 1
BOOT1=	etc/protocols etc/netconfig etc/defaults/rc.conf
d537 4
d542 3
a544 1
	    ${.CURDIR}/../etc/services > ${RD}/mfsfd/stand/etc/services
@


1.604
log
@Correct a bug in rev 1.589.  The `make obj' that was removed for
sysinstall was also effectively a `make obj' for src/release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.603 2001/04/05 22:36:41 obrien Exp $
d562 3
@


1.603
log
@Don't need to preload the `vn' KLD anymore as we use `md' for release
building.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.602 2001/04/04 12:15:52 ru Exp $
d323 1
@


1.602
log
@Put back required ')'.

Submitted by:	jhay
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.601 2001/04/03 13:34:32 ru Exp $
a200 1
	-vnconfig 2>/dev/null
@


1.601
log
@Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY in
${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.600 2001/03/31 17:02:37 ru Exp $
d407 1
a407 1
		  ${MAKE} -f $${j}_crunch.mk subclean all && \
@


1.600
log
@Moved -DRELEASE_CRUNCH into crunchgen(1) config files.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.599 2001/03/27 01:06:58 obrien Exp $
a395 5
#
# NB: the "RELEASE_BUILD_FIXIT" magic prevents vi from including the
# Tcl and Perl APIs.  See also /usr/src/usr.bin/vi/Makefile.
# It also prevents ls linking against termcap by disabling color support.
# See /usr/src/bin/ls/Makefile.
a399 1
	export RELEASE_BUILD_FIXIT=noway ; \
d407 1
a407 2
		  ${MAKE} -f $${j}_crunch.mk subclean all \
		    NOCRYPT=yes "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY") && \
@


1.599
log
@Add ttyd0 which is needed on the Alpha when using the fix-it CDROM
over a serial console.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.598 2001/03/23 21:43:47 jkh Exp $
d413 1
a413 1
		  ${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all \
@


1.598
log
@The early compat dists only make sense on the i386
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.597 2001/03/21 23:53:40 alfred Exp $
d533 1
a533 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | \
@


1.597
log
@This adds /etc/netconfig to the list of files that get copied to
/stand/etc on the mfsroot, and hence to /etc on the install target
disk for use during the install. It also links netconfig and services
into /etc on the mfsroot so that they are available to a fixit
shell.

Submitted by: iedowse
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.596 2001/03/07 07:39:32 jkh Exp $
d81 1
d83 3
@


1.596
log
@Set NO_X during release build so the doc ports don't try to build XFree86.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.595 2001/03/02 16:52:11 ru Exp $
d88 1
a88 1
BOOT1=	etc/protocols etc/defaults/rc.conf
d540 4
a543 5
	echo "nameserver      42/tcp name"	> ${RD}/mfsfd/stand/etc/services
	echo "ftp             21/tcp"		>> ${RD}/mfsfd/stand/etc/services
	echo "domain          53/tcp          nameserver" >> ${RD}/mfsfd/stand/etc/services
	echo "domain          53/udp          nameserver" >> ${RD}/mfsfd/stand/etc/services
	echo "cmd             514/tcp    shell" >> ${RD}/mfsfd/stand/etc/services
@


1.595
log
@setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.594 2001/02/21 23:01:59 jkh Exp $
d274 1
a297 3
.endif
.if defined(USA_RESIDENT)
	echo "export USA_RESIDENT=${USA_RESIDENT}" >> ${CHROOTDIR}/mk
@


1.594
log
@Put the kerberos checksum information into the correct CHECKSUM file,
fixing a long-standing bogon with this.

PR:		24264
Submitted by:	Alec Wolman <wolman@@cs.washington.edu>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.593 2001/02/19 14:23:49 asmodai Exp $
d207 1
a207 1
	@@echo ">>> make release started on `LC_TIME=C TZ=GMT date`"
d323 1
a323 1
	echo "echo \">>> make ${.TARGET} finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.593
log
@Actually make sure the make release line at the top isn't misleading.

CVSROOT is mandatory.  Also note what CVSROOT has to be set to.

Found by:	local make release hacking
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.592 2001/02/09 19:00:50 murray Exp $
d459 5
a463 1
		if [ -f krb4/krb4.aa ] ; then mv krb4/* crypto && rmdir krb4 ; fi )
d465 5
a469 1
		if [ -f krb5/krb5.aa ] ; then mv krb5/* crypto && rmdir krb5 ; fi )
@


1.592
log
@  Add the `compat4x' distribution to the release Makefile.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.591 2001/02/06 08:36:00 jkh Exp $
d3 2
a4 1
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
d6 5
a10 5
# Where "/some/dir" is the pathname of a directory on a some
# filesystem with at least 1000MB of free space, "somename" is what
# you want the release to call itself and, optionally, which CVS "tag"
# name should be used when checking out the sources to build the release
# (default is HEAD).
@


1.591
log
@Ack, that will teach me to grep for "symbolic link" as well as "symlink" in
the commit logs - I just found the reason for the self-pointing symlink, as
documented in revision 1.517 by phk, who committed the change over a year
ago.  Accordingly, put the feature back and drop all plans to MFC the previous
"fix".
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.590 2001/02/06 08:27:56 jkh Exp $
d80 1
a80 1
COMPAT_DISTS?=	compat1x compat20 compat21 compat22 compat3x
@


1.590
log
@Remove the annoying ftp area symlink pointing at ourselves - people keep
asking what it's for and I can't answer since I can't see any conceivable
use for it.  Unless someone corrects that impression, I'll also MFC this
change in a few days.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.589 2001/01/17 07:13:40 jhb Exp $
d621 1
@


1.589
log
@- sysinstall now gets built as part of world, so don't throw in extra
  commands to build sysinstall manually during release.
- Get the sysinstall help files from /usr/src/usr.sbin/sysinstall/help
  rather than ${.CURDIR}/sysinstall/help.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.588 2001/01/01 21:39:00 peter Exp $
a620 1
	-@@ln -s . ${FD}/${BUILDNAME}
@


1.588
log
@Further tidy up the sbin/init and release builds.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.587 2000/12/28 10:31:59 peter Exp $
a319 2
	echo "cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
a399 1
	cd ${.CURDIR}/sysinstall && make obj depend all install
d555 1
a555 1
	@@tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
@


1.587
log
@Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before.  If this is
  not called, it tries to heuristically figure out the hash format, and
  if all else fails, it uses the optional auth.conf entry to chose the
  overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
  having the source it in some countries, so preserve the "secure/*"
  division.  You can still build a des-free libcrypt library if you want
  to badly enough.  This should not be a problem in the US or exporting
  from the US as freebsd.org had notified BXA some time ago.  That makes
  this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5.  This
  is to try and minimize POLA across buildworld where folk may suddenly
  be activating des-crypt()-hash support.  Since the des hash may not
  always be present, it seemed sensible to make the stronger md5 algorithm
  the default.
All things being equal, no functionality is lost.

Reviewed-by: jkh

(flame-proof suit on)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.586 2000/11/21 04:37:30 marcel Exp $
d425 1
a425 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
@


1.586
log
@Fix release, broken by the perl cross-build fixes.

The distribute target is basicly the same as an install. For
perl, this means that miniperl is needed. Since miniperl is
only present in the object directory, we need to make sure
the path is set correctly. To do this, we have make release
use a new distribworld target that sets the path before doing
a make distribute.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.585 2000/11/12 11:04:11 jkh Exp $
a437 9

	# Create symlinks for the MD5-based crypt lib, too.  The
	# automatically created links still point to the DES stuff,
	# which went into its own distribution.
	for i in ${RD}/trees/bin/usr/lib/libscrypt* ; do \
		c=`echo $$i | sed -e 's/libscrypt/libcrypt/'` ; \
		rm -f $$c ; \
		ln -s `basename $$i` $$c ; \
	done
@


1.585
log
@Stop using AUXRELEASETAG for everything and use PORTSRELEASETAG and
DOCRELEASETAG in the appropriate places instead.

Submitted by:	asami
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.584 2000/11/05 22:49:14 jkh Exp $
d359 1
a359 1
	cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees
@


1.584
log
@MFS: comment character and readability fixes.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.583 2000/11/05 15:38:05 truckman Exp $
d36 2
d231 2
a232 2
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d238 2
a239 2
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEDOCMODULE}
@


1.583
log
@Ignore chflags failure so that doMFSKERN won't abort on an NFS mounted
filesystem.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.582 2000/11/05 15:34:58 truckman Exp $
d322 1
a322 1
	echo "echo \" >>> make ${.TARGET} Finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.582
log
@Change MAKEDEV so that it prepends /sbin:/bin to $PATH instead of totally
overwriting $PATH, and find mknod $PATH instead of hardcoding /sbin so
that the copy of MAKEDEV on the fixit floppy is usable, since mknod and
expr live in /mnt2/stand when the fixit floppy is running.

Get rid of the sed invokation in release/Makefile that attempts to
delete the PATH setting stuff from MAKEDEV on the fixit floppy.  This
hasn't worked since a long ago change to MAKEDEV caused the sed
expression to no longer match.

PR:		misc/21241
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.581 2000/11/02 15:14:27 hosokawa Exp $
d857 1
a857 1
	  chflags noschg BOOTMFS && \
@


1.581
log
@Better way to ensure vn.ko is loaded.
This does not affect the kernel that vn is linked statically.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.580 2000/11/02 13:22:25 hosokawa Exp $
d607 1
a607 1
		sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \
@


1.580
log
@Revert 1.574 (maybe dummy vnconfig is better)
Requested by:	jkh@@FreeBSD.org
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.579 2000/11/02 12:29:22 hosokawa Exp $
d194 1
@


1.579
log
@Merge from RELENG_4 (1.536.2.24 to 1.536.2.25).
Ensure vn.ko is loaded.

Submitted by:	obrien@@FreeBSD.org
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.578 2000/10/31 07:39:06 hosokawa Exp $
a193 1
	-kldload vn.ko
@


1.578
log
@Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@@FreeBSD.org
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.577 2000/10/26 15:22:47 jwd Exp $
d194 1
@


1.577
log
@Always need to 'load /kernel', it's the 'read' that needs to
be isolated out for the 2 floppy install.

5.0-20001026-SNAP cdrom now boots correctly.

Reviewed by:	Mike Smith <msmith@@FreeBSD.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.576 2000/10/24 19:05:39 obrien Exp $
d92 2
d109 1
a109 1
MFSSIZE=		2880
d116 1
a116 1
MFSLABEL=		minimum2
d119 2
a120 3

# overrides.
.if ${MACHINE_ARCH} == "alpha"
d122 6
d129 2
d559 4
d568 6
d790 22
d827 8
d851 1
a851 11
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && \
	  sh ${.CURDIR}/scripts/dokern.sh ${FDSIZE} < ${KERNCONF} > BOOTMFS && \
	  [ -r ${KERNCONF}.hints ] && cp ${KERNCONF}.hints BOOTMFS.hints
.if ${MACHINE_ARCH} == "i386"
	@@echo "options  INTRO_USERCONFIG" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
	@@echo "options MD_ROOT_SIZE=`cat mfsroot.size`" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif
@


1.576
log
@Remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Submitted by:	Makoto MATSUSHITA <matusita@@jp.FreeBSD.org>
Reviewed by:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.575 2000/10/24 16:04:42 gshapiro Exp $
d830 1
a831 1
	@@echo "load /kernel" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.575
log
@Fix up the build for the STARTTLS version of sendmail (again).  This method
mimics that of tcpdump in that for normal builds, sendmail will only be
built once.  For 'make release', it is built once for the bin dist and
once for the crypto dist.  This method also removes the need for two separate
Makefiles (which could become out of sync).

Suggested by: bde
Assisted by: kris
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.574 2000/10/22 05:57:50 gshapiro Exp $
d824 1
a824 1
	@@cp /boot/boot[12] /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.574
log
@Remove obsolete setting.  The directory src/usr.sbin/sendmail/cf hasn't
existing since sendmail was moved to contrib.  Also, we now provide the cf
subdirectory in /usr/share/sendmail/cf/.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.573 2000/10/08 18:45:01 obrien Exp $
d413 1
a413 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump ; do \
@


1.573
log
@Duh, it is mtree(8) that creates boot/kernel for us as refered to in
rev 1.572.  Of course if you are manually running the various Makefile
targets, it may or may not get run.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.572 2000/10/07 05:52:41 obrien Exp $
a83 5

# Extra source tarballs; each argument is a pair of source dir and
# distribution name.  The dist name should not exceed 7 characters
# (another "s" for "source" will be prepended).
EXTRA_SRC+=	usr.sbin/sendmail/cf smailcf
@


1.572
log
@Seems ${RD}/trees/bin/boot/kernel can exist before the `release.6:' target
runs.  So perform a copy that take that into account.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.571 2000/10/05 06:51:56 obrien Exp $
@


1.571
log
@This change adds:
    /boot/GENERIC/kernel
    /boot/kernel/kernel
    /boot/kernel/*.ko
and removes:
    /kernel.GENERIC
from the bin dist.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.570 2000/09/07 16:51:23 jhb Exp $
d382 2
a383 1
	cp -Rp ${RD}/kernels/GENERIC ${RD}/trees/bin/boot/kernel
@


1.570
log
@- Revert gratuitous reinstall -> install change in previous commit.
- Don't try to build modules when compiling a kernel during release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.569 2000/09/07 05:52:43 obrien Exp $
a269 1
	echo "export MODULES_WITH_WORLD=YES"	>> ${CHROOTDIR}/mk
d373 2
a374 1
	rm -f ${RD}/kernels/${kernel}
d376 1
a376 1
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=${kernel} KERNEL_KO=${kernel} KODIR=""
d378 2
a379 1
	cp ${RD}/kernels/${kernel} ${RD}/trees/bin/kernel.${kernel}
d381 2
d787 10
@


1.569
log
@The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.  So tweak the release build to match previous
assumptions and expectations.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.568 2000/08/28 23:16:14 jhb Exp $
d782 2
a783 2
			make ${KERNEL_FLAGS} && \
			make kernel-install DESTDIR=${RD}/kernels && \
@


1.568
log
@Revert back to the previous i-node values for the fixit floppy.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.567 2000/08/28 14:25:53 jhay Exp $
d376 1
a376 1
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=${kernel}
d782 2
a783 2
			make ${KERNEL_FLAGS} ${KERNEL} && \
			make kernel-reinstall DESTDIR=${RD}/kernels && \
d804 1
a804 1
	@@cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
@


1.567
log
@The fixit floppy needs a few more inodes.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.566 2000/08/22 09:43:12 jkh Exp $
d103 1
a103 1
FIXITINODE=		3000
d115 1
a115 1
FIXITINODE=		3000
@


1.566
log
@Use consistent timezone so date information can be meaningfully compared.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.565 2000/08/21 22:42:09 jhb Exp $
d103 1
a103 1
FIXITINODE=		4000
d115 1
a115 1
FIXITINODE=		4000
@


1.565
log
@Touch ftp.1 and cdrom.1 when those stages are done to speed up make
rerelease when a release dies very late.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.564 2000/08/16 09:30:47 nyan Exp $
d199 1
a199 1
	@@echo ">>> make release started on `LC_TIME=C date`"
d318 1
a318 1
	echo "echo \" >>> make ${.TARGET} Finished on \`LC_TIME=C date\`\"" >> ${CHROOTDIR}/mk
@


1.564
log
@Decrease the size of mfsroot.flp for PC-98 to 1.2MB.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.563 2000/08/12 14:21:33 nyan Exp $
d628 1
d674 1
@


1.563
log
@- Make both 1.2MB and 1.44MB floppy images for PC-98.
- Rename BIGBOOT to FDSIZE for the floppy image size.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.562 2000/07/26 12:19:14 jkh Exp $
d559 1
d561 2
a562 2
		${RD} ${MNT} ${BOOTSIZE} mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
.if ${MACHINE} == "pc98"
d566 2
@


1.562
log
@Fix a paste-o error which broke the build

Pointy-hat to:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.561 2000/07/26 04:28:21 jhb Exp $
d98 2
a99 1
BOOTSIZE=		1200
d105 2
a106 1
BOOTLABEL=		fd1200
d561 2
d564 3
a566 2
.if ${MACHINE} != "pc98"
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot BIGBOOT=YES
d789 1
a789 1
	  sh ${.CURDIR}/scripts/dokern.sh ${BIGBOOT} < ${KERNCONF} > BOOTMFS && \
d795 1
a795 1
.if defined(BIGBOOT)
d816 1
a816 1
.if !defined(BIGBOOT)
d828 1
a828 1
.if defined(BIGBOOT)
d835 1
a835 1
.if defined(BIGBOOT)
d839 4
@


1.561
log
@Take a lesson from picoBSD: symlink /bin and /sbin to /stand in the mfsroot
and install dhclient-script in stand/.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.560 2000/07/25 22:30:09 jhb Exp $
d412 1
a412 2
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tc
pdump ; do \
@


1.560
log
@Grrr, build a non-crypto version of tcpdump to stick in the bin distribution.

Submitted by:	kris
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.559 2000/07/25 08:16:10 jkh Exp $
d525 5
a529 2
	( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh )
	cp /sbin/dhclient-script ${RD}/mfsfd/sbin
@


1.559
log
@Actually make the date printing hack work.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.558 2000/07/23 16:32:58 marcel Exp $
d412 2
a413 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd ; do \
@


1.558
log
@Backout addition of -L switch to mtree. Using -L breaks the
build process in too many cases. Adding mtree to bootstrap-tools
to solve this breaks the upgrade path because mtree needs a
libc that has strtofflags and fflagstostr.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.557 2000/07/20 03:07:29 jhb Exp $
d316 1
a316 1
	echo "echo \" >>> make ${.TARGET} Finished on `LC_TIME=C date`\"" >> ${CHROOTDIR}/mk
@


1.557
log
@- Don't use quotes for the MD_ROOT_SIZE option when generating the BOOTMFS
  kernel config file.
- Add WORLD_FLAGS and KERNEL_FLAGS so you can build world and kernel with
  extra make options such as -jX to speed up release builds.
- When building kernels, allow their hints to tag along, and use this to
  install hints onto the boot floppy.  Since the boot floppy doesn't load
  loader.4th, we have to change device.hints to strip comments and change
  each line to an explicit set command.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.556 2000/07/17 04:50:28 jkh Exp $
d337 1
a337 1
		mtree -deLU -f ${MTREEFILES}/BSD.root.dist \
d339 1
a339 1
		mtree -deLU -f ${MTREEFILES}/BSD.usr.dist \
d341 1
a341 1
		mtree -deLU -f ${MTREEFILES}/BSD.include.dist \
d343 1
a343 1
		mtree -deLU -f ${MTREEFILES}/BSD.var.dist \
d700 1
a700 1
			mtree -L -c -i -p ${SD}/${ARG} \
@


1.556
log
@Add descriptive start/stop time information to make release.  Now
you can just ``grep >>> release.log'' and get all the highlights.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.555 2000/07/16 08:20:54 ache Exp $
d41 6
d295 3
d305 1
a305 1
	echo "	make world && \\"		>> ${CHROOTDIR}/mk
d308 1
a308 1
	echo "	make all install && \\"		>> ${CHROOTDIR}/mk
d769 4
a772 2
			make  ${KERNEL} && \
			make kernel-reinstall DESTDIR=${RD}/kernels
d781 2
a782 1
	  sh ${.CURDIR}/scripts/dokern.sh ${BIGBOOT} < ${KERNCONF} > BOOTMFS
d788 1
a788 1
	@@echo "options \"MD_ROOT_SIZE=`cat mfsroot.size`\"" >> \
d794 5
a798 3
	@@chflags noschg ${RD}/kernels/BOOTMFS
	@@strip ${RD}/kernels/BOOTMFS
	@@cp ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
d803 5
d809 1
a809 1
	@@echo "load /kernel" > ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.555
log
@Forget to add -L to one mtree call
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.554 2000/07/16 08:02:48 ache Exp $
d191 1
d307 1
a307 1
	echo "echo make ${.TARGET} Finished"	>> ${CHROOTDIR}/mk
@


1.554
log
@Add -L to mtree calls since default changed back
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.553 2000/07/14 18:03:32 jhb Exp $
d690 1
a690 1
			mtree -c -i -p ${SD}/${ARG} \
@


1.553
log
@- Add in some sanity checking.  If NOPORTS is set but NODOC is not set,
  print an error message and die immediately rather than an hour later.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.552 2000/07/14 08:33:07 ume Exp $
d327 1
a327 1
		mtree -deU -f ${MTREEFILES}/BSD.root.dist \
d329 1
a329 1
		mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
d331 1
a331 1
		mtree -deU -f ${MTREEFILES}/BSD.include.dist \
d333 1
a333 1
		mtree -deU -f ${MTREEFILES}/BSD.var.dist \
@


1.552
log
@IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.551 2000/07/01 21:48:05 jhb Exp $
d176 5
@


1.551
log
@- Build modules with world so that modules are back in the bin dist.
- Small cleanups to kernel installs.
- Don't install kernel.config and loader.config on the boot floppy since
  they haven't been used in quite some time.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.550 2000/06/29 13:34:53 nyan Exp $
d506 1
a506 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 | \
@


1.550
log
@- Removed machine dependent directory and command from
  src/release/{boot,fixit}_crunch.conf.
- Added machine specific fixit_crunch.conf for PC/AT and PC-98 to
  src/release/$MACHINE.
- Use config file in src/release/$MACHINE if exist. If it does not exist,
  use in src/release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.549 2000/06/23 17:49:54 alex Exp $
d256 1
d361 1
a361 1
	ln -f ${RD}/kernels/${kernel} ${RD}/trees/bin/kernel.${kernel}
d753 1
a753 1
			make  depend && \
d755 1
a755 2
			strip --strip-debug ${KERNEL} && \
			cp ${KERNEL} ${RD}/kernels/${KERNEL}
d776 1
a791 1
	@@touch ${RD}/image.${FSIMAGE}/boot/loader.config
a800 1
	@@touch ${RD}/image.${FSIMAGE}/kernel.config
@


1.549
log
@Fix doc: RELENG_4 is -stable now.

PR:		19474
Submitted by:	Bruce A. Mah <bmah@@cisco.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.548 2000/06/23 12:22:08 nyan Exp $
a305 1
	rm -rf ${.OBJDIR}/boot_crunch.conf ${.OBJDIR}/fixit_crunch.conf
a377 3
		sed -e "s:MACHINE:${MACHINE}:" \
			${.CURDIR}/$${j}_crunch.conf > \
			${.OBJDIR}/$${j}_crunch.conf && \
d381 3
a383 1
		  crunchgen ${.OBJDIR}/$${j}_crunch.conf && \
d732 9
a740 3
	@@for i in `crunchgen -l ${.OBJDIR}/${CRUNCH}_crunch.conf` ; do \
		ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
	done
@


1.548
log
@Set BASE=5.0
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.547 2000/06/05 13:17:22 nyan Exp $
d26 1
a26 1
#RELEASETAG=RELENG_3
@


1.547
log
@- Remove obsolete PC-card boot.flp hack. It was for making both PC-card
  boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.546 2000/06/05 02:25:55 joe Exp $
d17 1
a17 1
#BUILDNAME=4.0-RELEASE
d21 1
a21 1
BASE = 4.0
@


1.546
log
@Disable colour support in ls when building the fixit floppy, and make
a note of it in the release Makefile.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.545 2000/06/04 04:41:41 jkh Exp $
d91 11
d107 1
a108 1
FIXITINODE=		4000
d111 1
d113 1
a113 1
MFSLABEL=		minimum2
d157 2
a158 3
.if ${MACHINE_ARCH} == "i386"
# Make both PC-card boot.flp and plain boot.flp
EXTRAS= floppies cdrom.1 ftp.1
d305 2
a306 1
	rm -rf boot_crunch ${.OBJDIR}/boot_crunch.conf release.[0-9]
a373 1
	cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf
d379 3
d385 1
a385 4
		  ( ( [ -f ${.CURDIR}/$${j}_crunch.conf ] && \
		    crunchgen ${.CURDIR}/$${j}_crunch.conf ) || \
		    ( [ -f ${.OBJDIR}/$${j}_crunch.conf ] && \
		    crunchgen ${.OBJDIR}/$${j}_crunch.conf ) ) && \
d543 1
d545 1
d734 3
a736 9
	@@if [ -f ${.OBJDIR}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.OBJDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	else \
		for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	fi
d746 1
a746 1
	@@cd ${.CURDIR}/../sys/${MACHINE_ARCH}/conf && config ${KERNEL}
d759 1
a759 1
	@@cd ${.CURDIR}/../sys/${MACHINE_ARCH}/conf && \
d762 2
a763 1
	@@echo "options  INTRO_USERCONFIG" >> ${.CURDIR}/../sys/i386/conf/BOOTMFS
d767 1
a767 1
	  ${.CURDIR}/../sys/${MACHINE_ARCH}/conf/BOOTMFS
@


1.545
log
@Add a new release variable, AUTO_KEYBOARD_DETECT.  If you set it to
1, the -P flag is used on the boot floppies.  If not, don't.  The new
default is to not use it.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.544 2000/06/01 02:43:55 jkh Exp $
d358 2
@


1.544
log
@Make the ports readmes and foreign docs more optional.

Submitted by:	Ben Smithurst <ben@@scientia.demon.co.uk>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.543 2000/05/12 02:58:59 jhb Exp $
d61 4
d778 1
a778 1
.if ${MACHINE_ARCH} == "i386"
@


1.543
log
@Add USB devices to /dev on the install floppy.
Add usbd.conf to /etc on the install floppy.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.542 2000/05/09 21:21:42 jhb Exp $
d55 1
a55 1
# Comment the following if you want the release documentation to be
d57 1
a57 1
ALLLANG=	yes
d152 6
d196 1
a196 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d198 1
a198 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d250 1
a250 1
.if defined(ALLLANG)
@


1.542
log
@Actually, overriding DISTFILES at all is just a bad idea, so remove the
variable all together.

PR:		misc/14104
Submitted by:	Don Croyle <croyle@@gelemna.ft-wayne.in.us>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.541 2000/05/08 22:21:17 jhb Exp $
d484 1
a484 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 | \
d490 1
@


1.541
log
@Add a DOCDISTFILES variable to point to a directory containing the
distfiles to build the docproj port during release.  Prior to this, the
distfiles were copied froom ${DISTFILES}.  However, if like me, you needed
to store the distfiles in some directory other than /usr/ports/distfiles,
for example /usr/docdistfiles, then when you overrode ${DISTFILES} it broke
the release build when it tried to build docproj port in the chroot'd
release area.  To preserve backwards compatibility, DOCDISTFILES defaults
to the value of DISTFILES.

Ok'd by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.540 2000/04/22 09:00:51 jkh Exp $
a58 1
DISTFILES?=	${.CURDIR}/../../ports/distfiles
d60 1
a60 1
DOCDISTFILES?=	${DISTFILES}
@


1.540
log
@make release builds a bit more error-resistant
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.539 2000/04/17 05:13:27 iwasaki Exp $
d59 1
d61 1
a61 1
DISTFILES?=	${.CURDIR}/../../ports/distfiles
d202 2
a203 2
	if [ -d ${DISTFILES}/ ]; then \
		cp -rp ${DISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
@


1.539
log
@Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.538 2000/04/17 03:09:05 iwasaki Exp $
d268 1
a268 1
	echo "	make world"			>> ${CHROOTDIR}/mk
d271 1
a271 1
	echo "	make all install"		>> ${CHROOTDIR}/mk
@


1.538
log
@Fix the location of pccard.conf,
	etc/pccard.conf.sample -> etc/defaults/pccard.conf.

Submitted by:	Makoto MATSUSHITA <matusita@@jp.freebsd.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.537 2000/04/06 10:00:20 asami Exp $
d480 1
a480 1
		mkdir -p etc dev mnt stand/help
@


1.537
log
@Convert "RELENG_ver_RELEASE" to "RELEASE_ver" and use it to check out
the ports and doc trees.  There is no change if we are not building a
release (i.e., we are not using a tag of the form RELENG_ver_RELEASE
--e.g., a RELENG_ver tag used to build a snapshot).

This should allow the ports and doc freezes during the release cycles
to be somewhat shorter, as commits to those (non-branched) trees can
resume as soon as the tags are laid down.

Reviewed by:	nik
Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536 2000/03/12 19:19:31 jkh Exp $
d489 1
a489 1
	cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf
@


1.536
log
@Add USA_RESIDENT to release make variables; can't hurt.

Submitted by:	Tatsumi Hosokawa <hosokawa@@itc.keio.ac.jp>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.535 2000/03/03 20:39:22 jhay Exp $
d27 11
d189 3
d194 1
d196 3
d200 1
@


1.536.2.1
log
@MFC: 1.537 (use release tags for ports and doc trees)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536 2000/03/12 19:19:31 jkh Exp $
a26 11
#
# Non-zero if ${RELEASETAG} is in the form "RELENG_ver_RELEASE"; we
# are building an official release.  Otherwise, we are building for
# a branch.
.if defined(RELEASETAG)
ISRELEASE!=	expr ${RELEASETAG} : '^RELENG_.*_RELEASE$$' || true
.if ${ISRELEASE} != 0
# Convert "RELENG_ver_RELEASE" to "RELEASE_ver" for ports and doc trees.
AUXRELEASETAG!=	echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//'
.endif
.endif
a177 3
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
.else
a179 1
.endif
a180 3
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEDOCMODULE}
.else
a181 1
.endif
@


1.536.2.2
log
@MFC: etc/pccard.conf.sample -> etc/defaults/pccard.conf
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.1 2000/04/06 10:01:44 asami Exp $
d489 1
a489 1
	cp ${.CURDIR}/../etc/defaults/pccard.conf ${RD}/mfsfd/etc/defaults/pccard.conf
@


1.536.2.3
log
@MFC:Create mfsfd/etc/defaults/ first before copying etc/defaults/pccard.conf.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.2 2000/04/17 03:14:36 iwasaki Exp $
d480 1
a480 1
		mkdir -p etc/defaults dev mnt stand/help
@


1.536.2.4
log
@MFC: USB support during installation and enabling of USB in the
GENERIC kernel.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.3 2000/04/17 05:14:35 iwasaki Exp $
d484 1
a484 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 | \
a489 1
	cp ${.CURDIR}/../etc/usbd.conf ${RD}/mfsfd/etc/usbd.conf
@


1.536.2.5
log
@MFC: RELENG_4 is FreeBSD-STABLE now.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.4 2000/06/08 23:07:27 jhb Exp $
d26 1
a26 1
#RELEASETAG=RELENG_4
@


1.536.2.6
log
@MFC: Added PC-98 support.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.5 2000/06/23 17:51:17 alex Exp $
a86 11
.if ${MACHINE} == "pc98"
BOOTSIZE=		1200
FIXITSIZE=		1440
MFSSIZE=		2880
BOOTINODE=		80000
FIXITINODE=		4000
MFSINODE=		8000
BOOTLABEL=		fd1200
FIXITLABEL=		fd1440
MFSLABEL=		minimum2
.else
d92 1
a93 1
MFSINODE=		8000
d96 1
a97 2
BIGBOOTLABEL=		minimum2
.endif
d141 3
a143 2
.if ${MACHINE} == "pc98"
EXTRAS= ftp.1
d284 1
a284 1
	rm -rf boot_crunch release.[0-9]
d350 1
d359 4
a362 3
		  ( ( [ -f ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ] && \
		    crunchgen ${.CURDIR}/${MACHINE}/$${j}_crunch.conf ) || \
		    ( crunchgen ${.CURDIR}/$${j}_crunch.conf ) ) && \
a519 1
.if ${MACHINE} != "pc98"
a520 1
.endif
d709 2
a710 2
	@@if [ -f ${.CURDIR}/${MACHINE}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.CURDIR}/${MACHINE}/${CRUNCH}_crunch.conf` ; do \
d727 1
a727 1
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
d740 1
a740 1
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && \
d743 1
a743 2
	@@echo "options  INTRO_USERCONFIG" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
d747 1
a747 1
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
@


1.536.2.7
log
@MFC: Axe the loader.config and kernel.config files on the kern and boot
     floppies.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.6 2000/07/04 12:33:55 nyan Exp $
d779 1
d789 1
@


1.536.2.8
log
@MFC: Make releases a bit more error-resistant.
@
text
@d1 1
a1 1
# $FreeBSD$
d279 1
a279 1
	echo "	make world && \\"		>> ${CHROOTDIR}/mk
d282 1
a282 1
	echo "	make all install && \\"		>> ${CHROOTDIR}/mk
@


1.536.2.9
log
@MFC: Use DOCDISTFILES instead of DISTFILES.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.8 2000/07/14 09:14:02 jhb Exp $
d60 1
a60 1
DOCDISTFILES?=	${.CURDIR}/../../ports/distfiles
d212 2
a213 2
	if [ -d ${DOCDISTFILES}/ ]; then \
		cp -rp ${DOCDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
@


1.536.2.10
log
@MFC: Make it easier to disable non-English documentation and ports readmes.
     Add the AUTO_KEYBOARD_DETECT option which defaults to off.
@
text
@d1 1
a1 1
# $FreeBSD$
d55 1
a55 1
# Set ALLLANG=no if you want the release documentation to be
d57 1
a57 1
ALLLANG?=	yes
a60 3
# Set this to 1 if you want -P to be used for automatic keyboard detection
# on the boot floppy.  WARNING: Breaks on some Athlon (K7) motherboards.
AUTO_KEYBOARD_DETECT?= 0
a162 6
.if !defined(NOPORTREADMES)
MAKEREADMES=	make readmes PORTSDIR=${CHROOTDIR}/usr/ports
.else
MAKEREADMES=	true
.endif

d201 1
a201 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d203 1
a203 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d255 1
a255 1
.if defined(ALLLANG) && ${ALLLANG} != "NO" && ${ALLLANG} != "no"
d779 1
a779 1
.if ${MACHINE_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT}
@


1.536.2.11
log
@MFC: Error out at the beginning if NOPORTS without NODOC.
@
text
@a175 5
.if defined(NOPORTS) && !defined(NODOC)
	@@echo "Ports are required for building the docs.  Either set NODOC or"
	@@echo "unset NOPORTS!"
	@@exit 1
.endif
@


1.536.2.12
log
@MFC: Build modules with world and clean up the kernel builds.
@
text
@a259 1
	echo "export MODULES_WITH_WORLD=YES"	>> ${CHROOTDIR}/mk
d364 1
a364 1
	cp ${RD}/kernels/${kernel} ${RD}/trees/bin/kernel.${kernel}
d754 1
a754 1
			make kernel-depend && \
d756 2
a757 1
			make kernel-reinstall DESTDIR=${RD}/kernels
a777 1
	@@chflags noschg ${RD}/kernels/BOOTMFS
@


1.536.2.13
log
@MFC: IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.12 2000/07/14 22:25:41 jhb Exp $
d508 1
a508 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | \
@


1.536.2.14
log
@Make the default BUILDNAME contain "STABLE" to match this branch.

Approved by:	JKH
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.13 2000/07/16 17:29:58 ume Exp $
d22 1
a22 1
BUILDNAME?=${BASE}-${DATE}-STABLE
@


1.536.2.15
log
@MFC: - Add WORLD_FLAGS and KERNEL_FLAGS.
     - Don't quote MD_ROOT_SIZE.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.14 2000/07/18 18:16:45 obrien Exp $
a40 6
# If you want to pass flags to the world build such as -j X, use
# WORLD_FLAGS.  Similarly, you can specify make flags for kernel
# builds via KERNEL_FLAGS.
#WORLD_FLAGS=-j4
#KERNEL_FLAGS=-j4

a286 3
.if defined(KERNEL_FLAGS)
	echo "export KERNEL_FLAGS=\"${KERNEL_FLAGS}\"" >> ${CHROOTDIR}/mk
.endif
d294 1
a294 1
	echo "	make ${WORLD_FLAGS} world && \\"	>> ${CHROOTDIR}/mk
d297 1
a297 1
	echo "	make ${WORLD_FLAGS} all install && \\" >> ${CHROOTDIR}/mk
d756 1
a756 1
			make ${KERNEL_FLAGS} ${KERNEL} && \
d772 1
a772 1
	@@echo "options MD_ROOT_SIZE=`cat mfsroot.size`" >> \
@


1.536.2.16
log
@MFC: print start and stop times for release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.15 2000/07/20 03:12:53 jhb Exp $
a195 1
	@@echo ">>> make release started on `LC_TIME=C date`"
d314 1
a314 1
	echo "echo \">>> make ${.TARGET} Finished on `LC_TIME=C date`\"" >> ${CHROOTDIR}/mk
@


1.536.2.17
log
@MFC: fix date hack
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.16 2000/07/22 08:45:26 jkh Exp $
d315 1
a315 1
	echo "echo \">>> make ${.TARGET} Finished on \`LC_TIME=C date\`\"" >> ${CHROOTDIR}/mk
@


1.536.2.18
log
@MFC: Symlink /bin and /sbin to /stand on the boot floppy.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD$
d521 2
a522 5
	( cd ${RD}/mfsfd && \
	  for dir in bin sbin ; do \
		ln -sf /stand $$dir; \
	  done )
	cp /sbin/dhclient-script ${RD}/mfsfd/stand
@


1.536.2.19
log
@MFC: Build a non-crypto tcpdump for the bin dist.

Approved by:	jkh
@
text
@d409 1
a409 2
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tc
pdump ; do \
@


1.536.2.20
log
@MFC: fix last-minute paste-o
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.19 2000/07/26 07:24:13 jhb Exp $
d409 2
a410 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump ; do \
@


1.536.2.21
log
@MFC: Make both 1.2MB and 1.44MB floppy images for PC-98.
@
text
@d1 1
a1 1
# $FreeBSD$
d97 1
a97 2
SMALLBOOTSIZE=		1200
BOOTSIZE=		1440
d103 1
a103 2
SMALLBOOTLABEL=		fd1200
BOOTLABEL=		fd1440
a553 7
.if ${MACHINE} == "pc98"
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/mfsroot.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} mfsroot.gz \
		${BOOTINODE} ${SMALLBOOTLABEL}
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern-small FDSIZE=SMALL
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern
.else
d557 2
a558 1
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot FDSIZE=BIG
d779 1
a779 1
	  sh ${.CURDIR}/scripts/dokern.sh ${FDSIZE} < ${KERNCONF} > BOOTMFS
d784 1
a784 1
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
d798 1
a798 1
.if !defined(FDSIZE) || ${FDSIZE} != "BIG"
d810 1
a810 1
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
d817 1
a817 1
.if defined(FDSIZE) && ${FDSIZE} == "BIG"
a820 4
.elif defined(FDSIZE) && ${FDSIZE} == "SMALL"
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${SMALLBOOTSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${SMALLBOOTLABEL}
@


1.536.2.22
log
@MFC: use consistent timezone in dates
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.21 2000/08/17 11:58:03 nyan Exp $
d198 1
a198 1
	@@echo ">>> make release started on `LC_TIME=C TZ=GMT date`"
d317 1
a317 1
	echo "echo \">>> make ${.TARGET} Finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.536.2.23
log
@MFC: style changes, touch ftp/cdrom passes on completion
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.22 2000/08/22 09:43:55 jkh Exp $
a70 1

d317 1
a317 1
	echo "echo \">>> make ${.TARGET} finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
a385 2
# It also prevents ls linking against termcap by disabling color support.
# See /usr/src/bin/ls/Makefile.
a624 1
	touch ftp.1
a669 1
	touch cdrom.1
@


1.536.2.24
log
@Reduce one diff from HEAD to this branch.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.23 2000/09/23 17:15:17 jkh Exp $
d318 1
a318 1
	echo "echo \" >>> make ${.TARGET} Finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.536.2.25
log
@Ensure vn.ko is loaded.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.24 2000/09/28 03:03:56 obrien Exp $
a189 1
	-kldload vn.ko
@


1.536.2.26
log
@Revert rev 1.536.2.25.

Requested by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.25 2000/09/28 03:05:01 obrien Exp $
d190 1
@


1.536.2.27
log
@MFC: Remove obsolete setting.  The directory src/usr.sbin/sendmail/cf hasn't
     existing since sendmail was moved to contrib.  Also, we now provide the cf
     subdirectory in /usr/share/sendmail/cf/.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.26 2000/10/12 02:11:28 obrien Exp $
d84 5
@


1.536.2.28
log
@MFC: STARTTLS support for sendmail(8)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.27 2000/10/24 15:52:19 gshapiro Exp $
d409 1
a409 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/sendmail usr.sbin/tcpdump/tcpdump ; do \
@


1.536.2.29
log
@fix a comment line to make grepping the output for milestones easier.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.28 2000/10/26 18:58:30 gshapiro Exp $
d313 1
a313 1
	echo "echo \">>> make ${.TARGET} finished on \`LC_TIME=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.536.2.30
log
@MFC: stop abusing AUXRELEASETAG
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.29 2000/11/05 22:41:06 jkh Exp $
a35 2
DOCRELEASETAG?=		${AUXRELEASETAG}
PORTSRELEASETAG?=	${AUXRELEASETAG}
d219 2
a220 2
.if defined(PORTSRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d226 2
a227 2
.if defined(DOCRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${DOCRELEASETAG} ${RELEASEDOCMODULE}
@


1.536.2.31
log
@(MFC: 1.581) make sure vn.ko is loaded.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.30 2000/11/12 11:08:08 jkh Exp $
a186 1
	-vnconfig 2>/dev/null
@


1.536.2.32
log
@MFC:	Mention CVSROOT for successful make releases.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.31 2000/12/04 06:37:42 hosokawa Exp $
d3 1
a3 2
# make release CHROOTDIR=/some/dir BUILDNAME=somename CVSROOT=/cvs/dir \
#	[ RELEASETAG=tag ]
d5 5
a9 5
# Where "/some/dir" is the pathname of a directory on a some filesystem with
# at least 1000MB of free space, "somename" is what you want the release to
# call itself, "/cvs/dir" is where our source repo resides and, optionally,
# which CVS "tag" name should be used when checking out the sources to build
# the release (default is HEAD).
@


1.536.2.33
log
@MFC: fix setlocale(3) so that LC_ALL environment variable (if set
and not NULL) is preferred over other LC_* environment variables,
as required by POSIX.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.32 2001/02/19 14:27:06 asmodai Exp $
d198 1
a198 1
	@@echo ">>> make release started on `LC_ALL=C TZ=GMT date`"
d317 1
a317 1
	echo "echo \">>> make ${.TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
@


1.536.2.34
log
@MFC: fix problem with checksums in crypto distribution
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.33 2001/03/05 13:08:43 ru Exp $
d458 1
a458 5
		if [ -f krb4/krb4.aa ] ; then \
			mv krb4/krb4.* crypto && \
			cat krb4/CHECKSUM.MD5 >> crypto/CHECKSUM.MD5 && \
			rm -r krb4; \
		fi )
d460 1
a460 5
		if [ -f krb5/krb5.aa ] ; then \
			mv krb5/krb5.* crypto && \
			cat krb5/CHECKSUM.MD5 >> crypto/CHECKSUM.MD5 && \
			rm -r krb5; \
		fi )
@


1.536.2.35
log
@MFC: Add NO_X.  Remove obsolete USA_RESIDENT stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.34 2001/03/06 01:39:44 jkh Exp $
a264 1
	echo "export NO_X=YES"			>> ${CHROOTDIR}/mk
d289 3
@


1.536.2.36
log
@Update the BASE.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.35 2001/03/07 07:45:46 jkh Exp $
d22 1
a22 1
BASE = 4.3
@


1.536.2.37
log
@MFC: libssl and libcrypto compat4x libraries.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.36 2001/03/08 05:46:26 obrien Exp $
d81 1
a81 1
COMPAT_DISTS?=	compat1x compat20 compat21 compat22 compat3x compat4x
@


1.536.2.38
log
@Turn building port readmes in releases off by default.  It breaks
on too many of my test machines and they're not strictly necessary to the
proper operation of ports.  Deliberately not turning it off in -current
yet since we may yet be able to fix this there.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.37 2001/03/22 01:43:45 ps Exp $
a58 3

# Comment this out to enable port readmes to be built.
NOPORTREADMES?=	YES
@


1.536.2.39
log
@MFC: include the correct compat dists
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.38 2001/03/23 09:13:54 jkh Exp $
a83 1
.if ${MACHINE_ARCH} == "i386"
a84 3
.else
COMPAT_DISTS?=	compat4x
.endif
@


1.536.2.40
log
@MFC: rev 1.599 (add ttyd0 to MFSROOT's /dev for serial fix-its)

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.39 2001/03/23 21:47:35 jkh Exp $
d535 1
a535 1
		ls console tty bpf0 ttyd0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem | \
@


1.536.2.41
log
@MFC: crypto checksums go to correct file
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.40 2001/03/27 16:49:58 obrien Exp $
d507 1
a507 4
		if [ -f skrb5.aa ] ; then mv skrb5.* ../crypto ; fi ; \
		cd ${RD}/dists/crypto; rm -f CHECKSUM.MD5; \
		md5 * > CHECKSUM.MD5 ) ; fi
	(cd ${RD}/dists/src; rm -f CHECKSUM.MD5; md5 * > CHECKSUM.MD5)
@


1.536.2.42
log
@MFC:  Disable X11 support in doc ports using WITHOUT_X11, not NO_X.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.41 2001/04/14 22:29:49 jkh Exp $
d272 1
a272 1
	echo "export WITHOUT_X11=YES"		>> ${CHROOTDIR}/mk
@


1.536.2.43
log
@MFC:  RELNOTESng is now the default for release builds.

	Makefile 1.615->1.616, 1.617->1.620
	Makefile.inc.docports (new file)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.42 2001/06/05 14:22:33 bmah Exp $
d63 2
a64 13
# Uncomment this to disable the doc.1 target.  Docs normally require
# the ports tree, so NOPORTS can be set together with NODOC in order
# to have neither ports or docs.  If only NOPORTS is set to YES, but
# docs are still desired, the DOMINIMALDOCPORTS logic below will only
# install the ports that are minimally required for the docs.  This is
# intended as a compromise, less disk space is required than for using
# the entire ports collection (und much less time due to the huge number
# of directories it would create), but still quite a bit as well as some
# CPU cycles (some of the programs are C++, and things like ghostscript
# belong to the required ports nevertheless).
#
# Setting this also disables building of release note documentation
# (RELNOTESng).
d67 2
a68 24

# Uncomment and modify this definition if you want the release notes 
# and other release documentation in a language other than English.
#RELNOTES_LANG=	en_US.ISO_8859-1

# As an alternative to installing the entire ports collection (which
# can take a huge amount of time, in particular on slower disks),
# setting ${MINIMALDOCPORTS} allows to install and build just those
# ports that are really required for getting the docs up & running.
.if defined(NOPORTS) && !defined(NODOC)
DOMINIMALDOCPORTS=	YES
.include "Makefile.inc.docports"
.endif

# Helper variable
.if defined(NOPORTS)
.if !defined(DOMINIMALDOCPORTS) || ${DOMINIMALDOCPORTS} != "YES"
NOPORTSATALL=	YES
.endif
.endif

# Set ALLLANG=no if you want the documentation (e.g. Handbook, FAQ) to be
# in English only.  The language for the release notes is controlled
# by the RELNOTES_LANG variable above.
d77 3
a79 4
.if !defined(NODOC)
DIST_DOCS_ARCH_INDEP=	readme errata
DIST_DOCS_ARCH_DEP=	installation relnotes hardware
.endif
d177 1
a177 1
DOCREL= doc.1 doc.2
d190 1
a190 1
.if defined(NOPORTSATALL) && !defined(NODOC)
d192 1
a192 1
	@@echo "unset NOPORTS, or set at least DOMINIMALDOCPORTS to YES!"
a234 6
.elif defined(DOMINIMALDOCPORTS) && ${DOMINIMALDOCPORTS} == "YES"
.if defined(PORTSRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${PORTSRELEASETAG} ${MINIMALDOCPORTS}
.else
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${MINIMALDOCPORTS}
.endif
a256 5
.if defined(DOMINIMALDOCPORTS) && ${DOMINIMALDOCPORTS} == "YES"
	for i in ${MINIMALDOCPORTS}; do \
		( cd ${CHROOTDIR}/usr/$$i && cvs -R -q update -P -d ) ; \
	done
.endif
a283 3
.if defined(DOMINIMALDOCPORTS)
	echo "export DOMINIMALDOCPORTS=${DOMINIMALDOCPORTS}" >> ${CHROOTDIR}/mk
.endif
a294 5
.if defined(RELNOTES_LANG)
	echo "export RELNOTES_LANG=${RELNOTES_LANG}"	>> ${CHROOTDIR}/mk
.else
	echo "export RELNOTES_LANG=en_US.ISO_8859-1"	>> ${CHROOTDIR}/mk
.endif
d555 6
a560 3
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
a561 5
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
	done
	@@mv ${RD}/mfsfd/stand/help/INSTALLATION.TXT.gz ${RD}/mfsfd/stand/help/INSTALL.TXT.gz
.endif
d617 1
a617 3
.if !defined(NODOC)
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/article.txt \
		${RD}/floppies/README.TXT
a618 3
.else
	@@(cd ${RD}/floppies; md5 *.flp > CHECKSUM.MD5)
.endif
d630 8
a637 8
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
a638 3
	@@mv ${FD}/INSTALLATION.TXT ${FD}/INSTALL.TXT
	@@mv ${FD}/INSTALLATION.HTM ${FD}/INSTALL.HTM
.endif
d666 9
a674 12
.if !defined(NODOC)
	@@for i in ${DIST_DOCS_ARCH_INDEP}; do \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@for i in ${DIST_DOCS_ARCH_DEP}; do \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
	done
	@@mv ${CD_DISC1}/INSTALLATION.TXT ${CD_DISC1}/INSTALL.TXT
	@@mv ${CD_DISC1}/INSTALLATION.HTM ${CD_DISC1}/INSTALL.HTM
.endif
a690 3
#
# --==## Documentation Project files such as the Handbook and FAQ ##==--
#
a697 8

#
# --==## RELNOTESng:  Next-generation replacements for *.TXT files ##==--
#
doc.2:
	@@echo "Making release documentation..."
	@@cd ${.CURDIR}/doc && make all 'FORMATS=html txt'
	touch doc.2
@


1.536.2.44
log
@MFC: DOC_LANG: ISO_ -> ISO
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.43 2001/06/05 16:09:25 bmah Exp $
d338 1
a338 1
	echo "export DOC_LANG=en_US.ISO8859-1"	>> ${CHROOTDIR}/mk
@


1.536.2.45
log
@With the ISO_ -> ISO rename for RELNOTESng completed, unbreak
(hopefully) release builds.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.44 2001/06/11 16:25:28 ache Exp $
d81 1
a81 1
#RELNOTES_LANG=	en_US.ISO8859-1
d346 1
a346 1
	echo "export RELNOTES_LANG=en_US.ISO8859-1"	>> ${CHROOTDIR}/mk
@


1.536.2.46
log
@MFC:  Put docbook.css in the ftp and cdrom areas of a release build because
they have HTML renderings of the release documentation.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.45 2001/06/22 00:37:19 bmah Exp $
a698 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
a737 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
@


1.536.2.47
log
@MFC:  Put CSS file for release documentation in the right directory
when building FTP area.

	Makefile	1.627->1.628
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.46 2001/06/22 01:18:40 bmah Exp $
d699 1
a699 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${FD}
@


1.536.2.48
log
@MFC: crypto target fix and sendmail disable knob
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.47 2001/07/09 18:23:00 bmah Exp $
a169 8
# Things that need to be compiled without crypto support in releases
.if !defined(FIXCRYPTO)
FIXCRYPTO=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump 
.if !defined(NO_SENDMAIL)
FIXCRYPTO+=	usr.sbin/sendmail
.endif
.endif

d471 1
a471 1
	for i in ${FIXCRYPTO} ; do \
@


1.536.2.49
log
@Add back sbin/init to CRYPTO targets.  Not sure why this appears
in -stable but not in -current, but I'll put this back while I check
into it.

Reminded by:	Peter Pentchev <roam@@orbitel.bg>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.48 2001/07/14 20:16:57 jkh Exp $
d172 1
a172 1
FIXCRYPTO=	sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump 
@


1.536.2.50
log
@MFC: stop doing magic for seperate libscrypt/libdescrypt.  sbin/init no
longer needs distribution fixup help.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.49 2001/07/15 22:40:35 jkh Exp $
d172 1
a172 1
FIXCRYPTO=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump 
d492 9
@


1.536.2.51
log
@MFC: rev 1.576: remove /boot/boot[12] from the MFS installation floppies.
This saves us 8KB.

Approved by:	liberal interpretation of JHK's "Any ideas of what else to
                trim?" email.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.50 2001/07/16 03:33:11 peter Exp $
d903 1
a903 1
	@@cp /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.536.2.52
log
@`kgzip' the loader in the x86 case.  (too bad kgzip won't build on the Alpha)

PR:		29272
Submitted by:	Adrian Steinmann <ast@@marabu.ch>
Approved by:	liberal interpretation of JHK's "Feh, we're still out of
		space.   Any ideas of what else to trim?" email.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.51 2001/08/04 01:51:22 obrien Exp $
d237 1
a582 1
	-vnconfig 2>/dev/null
a902 3
.if ${MACHINE_ARCH} == "i386"
	@@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader /boot/loader
.else
a903 1
.endif
@


1.536.2.53
log
@Don't make chflags mandatory, building releases on NFS should be possible.

Approved by:	murray
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.52 2001/08/04 05:45:52 obrien Exp $
d897 1
a897 1
	@@chflags noschg ${RD}/kernels/BOOTMFS || true
@


1.536.2.54
log
@MFC: rev 1.631: `iso' target and support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the first CD with
packages (in addition to the "minimal" CD) if CD_EXTRA_BITS points to them.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.53 2001/08/17 09:34:55 phk Exp $
d183 1
a183 1
_R?=			/R
a216 3
.if defined(MAKE_ISOS)
EXTRAS+= iso.1
.endif
a335 3
.if defined(MAKE_ISOS)
	echo "export MAKE_ISOS=${MAKE_ISOS}"	>> ${CHROOTDIR}/mk
.endif
a747 3
.elif ${MACHINE_ARCH} == "i386"
	@@mkdir -p ${CD_DISC2}/floppies
	@@cp ${CD_DISC1}/floppies/boot.flp ${CD_DISC2}/floppies
a756 16

iso.1:
	@@if [ -x ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
		echo "Creating ISO images..."; \
		${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
		  ${CD}/miniinst.iso ${CD_DISC1}; \
		${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
		  ${CD}/disc2.iso ${CD_DISC2}; \
		if [ "x${CD_EXTRA_BITS}" != "x" ]; then \
			${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
			  ${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
		fi \
	else \
		echo "Do not know how to create an ISO for ${MACHINE_ARCH}."; \
	fi
	touch iso.1
@


1.536.2.55
log
@MFC: execute ISO script more flexibly.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.54 2001/08/20 21:26:08 obrien Exp $
d768 1
a768 1
	@@if [ -r ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ]; then \
d770 1
a770 1
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_miniinst \
d772 1
a772 1
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_livefs \
d775 1
a775 1
			sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh -b fbsd_boot \
@


1.536.2.56
log
@MFC: use BATCH mode when compiling docproj ports. (rev 1.636)

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.55 2001/09/02 19:13:58 jkh Exp $
d789 1
a789 1
	  cd /usr/ports/$$i && make all install clean BATCH=yes JADETEX=no FORCE_PKG_REGISTER=yes; \
@


1.536.2.57
log
@BASE=4.4

Submitted by:	dirk
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.56 2001/09/13 06:58:31 murray Exp $
d22 1
a22 1
BASE = 4.4
@


1.536.2.58
log
@MFC:  Put the correct document in the floppies/ directory of a
distribution.

	Makefile	1.636->1.637
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.57 2001/09/23 22:16:18 jkh Exp $
d678 1
a678 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
@


1.536.2.59
log
@MFC: Make CD-ROM distributions at the pc98 release target.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.58 2001/09/23 22:34:57 bmah Exp $
d212 3
d216 1
a721 1
.if ${MACHINE} != "pc98"
a722 1
.endif
d754 1
a754 1
.elif ${MACHINE} == "i386"
@


1.536.2.60
log
@Check /usr/src/release/sysinstall is exist or not.
Run 'make obj' for /usr/src/release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.59 2001/11/01 09:44:17 nyan Exp $
d380 2
a381 4
	echo "if [ -d /usr/src/release/sysinstall ]; then" >> ${CHROOTDIR}/mk
	echo "	cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "	make obj"			>> ${CHROOTDIR}/mk
	echo "fi"				>> ${CHROOTDIR}/mk
a382 1
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.536.2.61
log
@MFC:  Add comment about "nodev" filesystems.

	Makefile        1.638->1.639
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.60 2001/11/15 07:31:08 nyan Exp $
a13 4
#
# Note:  "/some/dir" cannot reside on a filesystem mounted with
# the "nodev" option, otherwise the chrooted "buildworld" will likely
# fail.
@


1.536.2.62
log
@MFC: Set a BOOTABLE variable if MACHINE is not pc98.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.61 2001/11/17 19:56:27 bmah Exp $
a218 3
.if ${MACHINE} != "pc98"
BOOTABLE="-b"
.endif
d775 4
a778 4
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
		  fbsd_miniinst ${CD}/miniinst.iso ${CD_DISC1}; \
		sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
		  fbsd_livefs ${CD}/disc2.iso ${CD_DISC2}; \
d780 2
a781 2
			sh ${.CURDIR}/${MACHINE_ARCH}/mkisoimages.sh ${BOOTABLE} \
			  fbsd_boot ${CD}/disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
@


1.536.2.63
log
@MFC:  whois(1) -c, IPFilter state table support in rc.conf(5),
pkg_delete(1) -r.

Approved by:	re (implicitly)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.62 2001/12/02 10:31:28 nyan Exp $
a188 1
RND=			${RD}/release.doc
d621 1
a621 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d624 1
a624 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d684 1
a684 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d703 2
a704 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d707 2
a708 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d710 1
a710 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
d745 2
a746 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d749 2
a750 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d752 1
a752 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d807 1
a807 1
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' INSTALL_COMPRESSED='' DOCDIR=${RND}
@


1.536.2.64
log
@Grrr.  Back out previous commit; it got caught up in a commit for
another file.

Found by:		ben
Pointy hat to:		bmah
Not approved by:	anybody
@
text
@d189 1
d622 1
a622 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d625 1
a625 1
	  gzip -9c ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d685 1
a685 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d704 2
a705 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d708 2
a709 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d711 1
a711 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${FD}
d746 2
a747 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d750 2
a751 2
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${.CURDIR}/doc/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d753 1
a753 1
	@@cp ${.CURDIR}/doc/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d808 1
a808 1
	@@cd ${.CURDIR}/doc && make all 'FORMATS=html txt'
@


1.536.2.65
log
@MFC:  Modify the release-building process so that the srelease distribution
doesn't get spammed by RELNOTESng files.

	Makefile	1.651->1.652

PR:		33141
Approved by:	murray
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.64 2001/12/27 22:23:43 bmah Exp $
a188 1
RND=			${RD}/release.doc
d621 1
a621 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d624 1
a624 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d684 1
a684 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${MACHINE_ARCH}/article.txt \
d703 2
a704 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d707 2
a708 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d710 1
a710 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${FD}
d745 2
a746 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d749 2
a750 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${MACHINE_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d752 1
a752 1
	@@cp ${RND}/${RELNOTES_LANG}/readme/docbook.css ${CD_DISC1}
d807 1
a807 1
	@@cd ${.CURDIR}/doc && make all install clean 'FORMATS=html txt' INSTALL_COMPRESSED='' DOCDIR=${RND}
@


1.536.2.66
log
@MFC: Rev. 1.640 and 1.644: split the mfsroot out of boot.flp kernel and
don't use write_mfs_in_kernel anymore.  Also, switch to using a stock
GENERIC kernel for booting off the CD on Alpha and on x86 with cdboot.
On x86 INTRO_USERCONFIG isn't enabled for a CD that boots from cdboot
however.   It still works fine for a CD that boots from boot.flp like we
currently do.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.65 2002/01/03 00:02:31 bmah Exp $
d587 5
a591 3
# +-----+-----+-+----------------------+---------------------------------+-+
#               |kernel.gz             |mfsroot.gz                       |
#               +----------------------+---------------------------------+
d594 1
a594 1
release.8:
d653 1
a653 1
	@@rm mfsroot mfsroot.gz
d729 3
d757 7
a763 16
.if ${MACHINE} != "pc98"
	@@echo "Setting up /boot"
	@@cp -Rp ${CD_DISC2}/boot ${CD_DISC1}
	@@ln -f ${RD}/image.boot/mfsroot.gz ${CD_DISC1}/boot/mfsroot.gz
	@@ln -f ${CD_DISC1}/boot/mfsroot.gz ${CD_DISC2}/boot/mfsroot.gz
	@@echo 'mfsroot_load="YES"' > ${CD_DISC1}/boot/loader.conf
	@@echo 'mfsroot_type="mfs_root"' >> ${CD_DISC1}/boot/loader.conf
	@@echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC1}/boot/loader.conf
.if ${MACHINE} == "i386"
	@@echo 'userconfig_script_load="YES"' >> ${CD_DISC1}/boot/loader.conf
	@@echo 'intro' > ${CD_DISC1}/boot/kernel.conf
.endif
	@@ln -f ${CD_DISC1}/boot/loader.conf ${CD_DISC2}/boot/loader.conf
	@@ln -f ${CD_DISC2}/kernel.${KERNCONF} ${CD_DISC1}/kernel
.endif
.if ${MACHINE} == "i386"
d924 4
d942 1
a943 1
.if !defined(FDSIZE) || ${FDSIZE} != "BIG"
d947 1
a948 1
	@@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
d954 5
a961 1
	@@cp mfsroot.gz ${RD}/image.${FSIMAGE}
@


1.536.2.67
log
@chflags noschg old kernels in release.3 before attempting to delete
it; otherwise "make rerelease" might fail.

This is a partial MFC of obrien's rev 1.571.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.66 2002/01/07 07:42:40 jhb Exp $
d451 1
a451 2
	-chflags -R noschg ${RD}/kernels/${kernel}
	rm -rf ${RD}/kernels/${kernel}
@


1.536.2.68
log
@Partial MFC of r1.578 : drivers.conf support for "make release".

Approved by: re
Reviewed by: -qa
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.67 2002/01/16 13:10:02 joerg Exp $
a631 4
	@@cd ${.CURDIR} && ${MAKE} createBOOTMFS 
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
	@@cd ${.CURDIR} && ${MAKE} doMODULES KERNEL=BOOTMFS KERNEL_KO=BOOTMFS KODIR=""
.endif
a636 6
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
	@@mkdir -p ${RD}/mfsfd/stand/modules
	@@perl ${.CURDIR}/scripts/driver-copy2.pl \
		${.CURDIR}/${MACHINE}/drivers.conf \
		${RD}/kernels/modules ${RD}/mfsfd/stand/modules
.endif
a903 17
# --==## BOOTMFS config file ##==--
#

createBOOTMFS:
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && \
	  sh ${.CURDIR}/scripts/dokern.sh ${FDSIZE} < ${KERNCONF} > BOOTMFS
.if ${MACHINE_ARCH} == "i386"
	@@echo "options  INTRO_USERCONFIG" >> \
	  ${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif
.if exists(${.CURDIR}/${MACHINE}/drivers.conf)
	@@perl ${.CURDIR}/scripts/driver-remove.pl \
		${.CURDIR}/${MACHINE}/drivers.conf \
		${.CURDIR}/../sys/${MACHINE}/conf/BOOTMFS
.endif

#
a916 17
doMODULES:
	-mkdir ${RD}/kernels/modules
#
# XXX Many modules install shell script wrappers and other lame things.
#
	mtree -deU -f ${MTREEFILES}/BSD.root.dist \
	    -p ${RD}/kernels > /dev/null && \
	mtree -deU -f ${MTREEFILES}/BSD.usr.dist \
	    -p ${RD}/kernels/usr > /dev/null && \

	@@rm -f ${RD}/kernels/modules/*.ko
	@@cd ${.CURDIR}/../sys/${MACHINE}/conf && config ${KERNEL}
	@@cd ${.CURDIR}/../sys/compile/${KERNEL} && \
			make modules-depend && \
			make ${KERNEL_FLAGS} modules && \
			make NOMAN=1 modules-reinstall DESTDIR=${RD}/kernels

d923 6
a928 1
	@@cd ${.CURDIR} && ${MAKE} createBOOTMFS 
@


1.536.2.69
log
@Fix mfsroot floppy overflow with docs enabled.

Approved by:	re
Obtained from:	jhb
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.68 2002/01/17 21:31:41 murray Exp $
a139 2

.if ${MACHINE_ARCH} == "i386"
d144 1
a144 1
MFSSIZE=		4320
d151 1
a151 1
MFSLABEL=		minimum3
d155 1
a155 1
MFSSIZE=		4320
d162 1
a162 1
MFSLABEL=		minimum3
d165 3
a167 2
.elif ${MACHINE_ARCH} == "alpha"
BOOTSIZE=		1440
a168 6
MFSSIZE=		3200
BIGBOOTSIZE=		2880
BOOTINODE=		80000
FIXITINODE=		4000
MFSINODE=		8000
BOOTLABEL=		fd1440
a169 2
MFSLABEL=		auto
BIGBOOTLABEL=		minimum2
@


1.536.2.70
log
@Don't kgzip loader for pc98.

Currently, the boot2 program for pc98 cannot load ELF binary. So, if
the loader program is kgzip-ed, the boot2 cannot load the lodaer.

Submitted by:	Nobuyuki Koganemaru <n-kogane@@syd.odn.ne.jp>
Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.69 2002/01/19 07:55:19 wilko Exp $
d986 1
a986 1
.if ${MACHINE} == "i386"
@


1.536.2.71
log
@MFC: include the minimalistic camcontrol and /dev/xpt0 into the
installation environment.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.70 2002/01/19 14:56:22 nyan Exp $
d611 1
a611 1
		ls console tty bpf0 ttyd0 ttyv0 ttyv1 ttyv2 ttyv3 null zero card0 card1 card2 card3 usb usb0 uhid0 ums0 ulpt0 ugen0 kbd0 kmem mem xpt0 | \
@


1.536.2.72
log
@Change 'BASE' to '4.5'.

We should note that this file should be changed after making a branch
for the new release.

PR:		34689
Submitted by:	Udo Schweigert <udo.schweigert@@siemens.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.71 2002/01/22 09:47:30 joerg Exp $
d26 1
a26 1
BASE = 4.5
@


1.536.2.73
log
@MFC 1.655: exclude ports/distfiles/* by tar(1) option instead of removing it.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.72 2002/02/07 15:28:17 matusita Exp $
d792 1
d794 1
a794 2
	  tar --exclude CVS --exclude 'ports/distfiles/*' -czf \
	  ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
@


1.536.2.74
log
@MFC 1.656: s/DOCDISTFILES/RELEASEDISTFILES/, but respect DOCDISTFILES
for backward compatibility.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.73 2002/02/08 17:00:29 matusita Exp $
d108 2
a109 7
# Set this to wherever the distfiles required by release procedures.
.if defined(DOCDISTFILES)
# Respect DOCDISTFILES which is used before.
RELEASEDISTFILES?=	${DOCDISTFILES}
.else
RELEASEDISTFILES?=	${.CURDIR}/../../ports/distfiles
.endif
d305 2
a306 2
	if [ -d ${RELEASEDISTFILES}/ ]; then \
		cp -rp ${RELEASEDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
@


1.536.2.75
log
@MFC 1.657: mkdir ${CHROOTDIR}/usr/ports/distfiles if !RELEASEDISTFILES.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.74 2002/02/08 17:02:30 matusita Exp $
a311 2
	else \
		mkdir -p ${CHROOTDIR}/usr/ports/distfiles \
@


1.536.2.76
log
@MFC 1.658: typo fix.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.75 2002/02/17 13:41:43 matusita Exp $
d313 1
a313 1
		mkdir -p ${CHROOTDIR}/usr/ports/distfiles; \
@


1.536.2.77
log
@MFC: r1.660 - Remind potential modifiers of this file to keep
release(7) in sync with any changes.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.76 2002/02/25 05:36:34 matusita Exp $
a17 2
#
# Note: If you add options to this file, please keep release(7) updated!
@


1.536.2.78
log
@MFC: Teach sysinstall(8) how to read boot managers out of /boot.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.77 2002/03/22 12:27:38 murray Exp $
a648 3
.if ${MACHINE} == "i386"
	@@cp /boot/mbr ${RD}/mfsfd/boot
.endif
@


1.536.2.79
log
@MFC: r1.665 - Make it easier to specify a custom kernel configuration
for the boot floppies.
@
text
@d1 1
a1 1
# $FreeBSD$
d48 1
a48 1
KERNCONF?=GENERIC
@


1.536.2.80
log
@MFC: r1.663-1.664 - Bump MFSSIZE for Alpha and only copy pccard.conf
to the mfsroot floppy if MACHINE_ARCH=i386
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.79 2002/04/08 08:38:03 murray Exp $
d177 1
a177 1
MFSSIZE=		4320
a627 1
.if ${MACHINE_ARCH} == "i386"
a628 1
.endif
@


1.536.2.81
log
@MFC:

Moved -DRELEASE_CRUNCH into crunchgen(1) config files.
Record libtelnet.a death.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.80 2002/04/11 19:24:30 murray Exp $
d498 1
a498 1
		  ${MAKE} -f $${j}_crunch.mk subclean all \
@


1.536.2.82
log
@MFC: Drop support for -DRELEASE_BUILD_FIXIT and -DCRUNCHED_BINARY
in ${CFLAGS}.  The only supported method thus is -DRELEASE_CRUNCH.

Sponsored by:	FreeBSD 4.4 CD set from FreeBSD Mall, Inc.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.81 2002/04/19 12:42:50 ru Exp $
d480 5
d490 1
d498 2
a499 1
		  ${MAKE} -f $${j}_crunch.mk subclean all ) && \
@


1.536.2.83
log
@MFC 1.674: Add "CVSCMDARGS" variable.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.82 2002/04/19 13:22:46 ru Exp $
a33 2
# If you want to add other options to CVS commands, then set
#CVSCMDARGS="-D '01/01/2002 00:00:00 UTC'"
d282 1
a282 1
		cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASESRCMODULE}
d285 1
a285 1
		cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d295 1
a295 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d297 1
a297 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEPORTSMODULE} && cd ports && ${MAKEREADMES}
d301 1
a301 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${MINIMALDOCPORTS}
d303 1
a303 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${MINIMALDOCPORTS}
d308 1
a308 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${DOCRELEASETAG} ${RELEASEDOCMODULE}
d310 1
a310 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEDOCMODULE}
d322 1
a322 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update ${CVSCMDARGS} -P -d
d324 1
a324 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update ${CVSCMDARGS} -P -d -r ${RELEASETAG}
d327 1
a327 1
	cd ${CHROOTDIR}/usr/ports && cvs -R -q update ${CVSCMDARGS} -P -d
d331 1
a331 1
		( cd ${CHROOTDIR}/usr/$$i && cvs -R -q update ${CVSCMDARGS} -P -d ) ; \
d335 1
a335 1
	cd ${CHROOTDIR}/usr/doc && cvs -R -q update ${CVSCMDARGS} -P -d
@


1.536.2.84
log
@MFC:  Build ports needed for release documentation WITHOUT_PYTHON.

Approved by:	re (bmah)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.83 2002/05/03 12:41:43 matusita Exp $
d831 1
a831 1
	  cd /usr/ports/$$i && make all install clean BATCH=yes JADETEX=no WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
@


1.536.2.85
log
@Now we are in 4.6-STABLE world; change 'BASE' to 4.6.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.84 2002/05/18 16:50:09 bmah Exp $
d28 1
a28 1
BASE = 4.6
@


1.536.2.86
log
@MFC 1.687: Set PATH statically, and use 'env -i' to kick chroot(8).

I hope it causes zero problem; but if you find any, please email me.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.85 2002/06/17 11:57:37 matusita Exp $
d396 1
a396 1
	echo "export PATH=${BOOTSTRAPDIR}:/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}" >> ${CHROOTDIR}/mk
d417 1
a417 1
	env -i /usr/sbin/chroot ${CHROOTDIR} /mk
@


1.536.2.87
log
@MFC: Typo s/und/and/
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.86 2002/07/03 14:41:14 matusita Exp $
d77 1
a77 1
# the entire ports collection (and much less time due to the huge number
@


1.536.2.88
log
@MFC: cross-release support.

Assorted fixes:

- Changed the way the `catpages' dist is built (all MD catpages
  were missing before).

- Perl manpages now end up in the `manpage' dist.

- Clean up the `dict' dist generation script.

- Diff reduction to -CURRENT.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.87 2002/07/08 21:17:44 trhodes Exp $
d41 1
a41 1
ISRELEASE!=	expr "${RELEASETAG}" : '^RELENG_.*_RELEASE$$' || true
d50 2
a57 9
TARGET_ARCH?=	${MACHINE_ARCH}
.if ${TARGET_ARCH} == ${MACHINE_ARCH}
TARGET?=	${MACHINE}
.else
TARGET?=	${TARGET_ARCH}
.endif
CROSSMAKE=	${MAKE} TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}
NATIVEMAKE=	${MAKE} TARGET_ARCH=${MACHINE_ARCH} TARGET=${MACHINE}

d131 1
a131 1
.if ${TARGET_ARCH} == "i386"
d136 1
a136 1
OTHER_DISTS?=	catpages manpages games proflibs dict info doc
d140 1
d150 2
a151 2
.if ${TARGET_ARCH} == "i386"
.if ${TARGET} == "pc98"
d176 1
a176 1
.elif ${TARGET_ARCH} == "alpha"
a191 4
# Things that need to be recompiled with Kerberos support.
K4PROGS!=	cd ${.CURDIR}/../kerberosIV; ${MAKE} -V KPROGS
K5PROGS!=	cd ${.CURDIR}/../kerberos5; ${MAKE} -V KPROGS

d216 15
d238 1
a238 1
.if ${TARGET} != "pc98"
a252 6
TMAKE!=		echo MAKEFLAGS=\"-m ${.CURDIR}/../share/mk\"; \
		cd ${.CURDIR}/..; ${MAKE} -f Makefile.inc1 -V TMAKE
WMAKEENV!=	echo MAKEFLAGS=\"-m ${.CURDIR}/../share/mk\"; \
		cd ${.CURDIR}/..; ${CROSSMAKE} -f Makefile.inc1 -V WMAKEENV
WMAKE=		${WMAKEENV} ${MAKE}

d271 3
a273 4
	@@echo ">>> make release for ${TARGET} started on `LC_ALL=C TZ=GMT date`"
	cd ${.CURDIR}/.. && ${NATIVEMAKE} -DNOGAMES -DNOHTML -DNOINFO -DNOMAN \
	    -DNOPROFILE installworld DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/../etc && ${NATIVEMAKE} distribution DESTDIR=${CHROOTDIR}
d277 5
d324 1
a324 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update ${CVSCMDARGS} -P -d -A
d350 1
d358 1
a358 1
	echo "export RELEASETAG=\"${RELEASETAG}\""	>> ${CHROOTDIR}/mk
a390 3
.if defined(WORLD_FLAGS)
	echo "export WORLD_FLAGS=\"${WORLD_FLAGS}\""	>> ${CHROOTDIR}/mk
.endif
a393 6
.if defined(TARGET)
	echo "export TARGET=\"${TARGET}\"" >> ${CHROOTDIR}/mk
.endif
.if defined(TARGET_ARCH)
	echo "export TARGET_ARCH=\"${TARGET_ARCH}\"" >> ${CHROOTDIR}/mk
.endif
d396 1
a396 4
	echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}"	>> ${CHROOTDIR}/mk
	echo "export TMPDIR=/tmp"		>> ${CHROOTDIR}/mk
	echo "export MAKEOBJDIRPREFIX=/usr/obj"	>> ${CHROOTDIR}/mk
	echo "export MANBUILDCAT=YES"		>> ${CHROOTDIR}/mk
d399 7
a405 1
	echo "	${CROSSMAKE} ${WORLD_FLAGS} -DNOCLEAN buildworld && \\" >> ${CHROOTDIR}/mk
d415 1
a415 1
	echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
d431 1
d435 1
d450 1
a450 10
	cd ${.CURDIR}/.. && ${CROSSMAKE} distributeworld DISTDIR=${RD}/trees
	touch release.2

# Build and install crypto, krb4 and krb5 distributions.
release.3:
	# Handle some grief caused by the munition braindeadness.
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DNOCRYPT \
	    SUBDIR_OVERRIDE="${FIXCRYPTO}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
d452 5
a456 4
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS4 \
	    SUBDIR_OVERRIDE="kerberosIV ${K4PROGS}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
d459 5
a463 4
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${WORLD_FLAGS} -DNO_MAKEDB_RUN -DMAKE_KERBEROS5 \
	    SUBDIR_OVERRIDE="kerberos5 ${K5PROGS}" \
	    buildworld distributeworld DISTDIR=${RD}/trees
d466 1
a466 1
	touch release.3
d469 1
a469 1
release.4:
d471 6
a476 4
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES \
	    KERNCONF=${kernel} INSTKERNNAME=kernel.${kernel} kernel \
	    DESTDIR=${RD}/trees/bin
d478 1
a478 6
	# Install a standard boot kernel.
	cd ${.CURDIR}/..; \
	${CROSSMAKE} ${KERNEL_FLAGS} \
	    INSTKERNNAME=kernel.GENERIC kernel \
	    DESTDIR=${RD}/trees/bin
	touch release.4
d482 1
a482 1
release.5:
d487 12
a498 14
.for j in ${CRUNCH_TARGETS}
	rm -rf ${j}_crunch
	mkdir ${j}_crunch
.if exists(${.CURDIR}/${TARGET}/${j}_crunch.conf)
	cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${TARGET}/${j}_crunch.conf
.else
	cd ${j}_crunch; ${WMAKEENV} crunchgen ${.CURDIR}/${j}_crunch.conf
.endif
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk subclean
	cd ${.CURDIR}/..; ${TMAKE} build-tools
	cd ${j}_crunch; ${WMAKE} -f ${j}_crunch.mk all
	mv ${j}_crunch/${j}_crunch ${RD}/crunch/${j}
.endfor
	touch release.5
d503 7
a509 1
release.6:
d522 1
a522 1
	touch release.6
d527 1
a527 1
release.7:
d552 1
a552 1
	touch release.7
d558 1
a558 1
release.8:
d591 1
a591 1
	touch release.8
d606 1
a606 1
release.9:
d622 2
a623 2
	cp ${RD}/trees/bin/sbin/dhclient-script ${RD}/mfsfd/stand
.if ${TARGET_ARCH} == "i386"
d633 1
a633 1
	gzip -9c ${RD}/trees/bin/COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
d639 1
a639 1
	  gzip -9c ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt > ${RD}/mfsfd/stand/help/`echo $${i} | tr 'a-z' 'A-Z'`.TXT.gz; \
d645 8
a652 3
	@@cp ${RD}/trees/bin/boot/boot* ${RD}/mfsfd/boot
.if ${TARGET} == "i386"
	@@cp ${RD}/trees/bin/boot/mbr ${RD}/mfsfd/boot
a653 1
	@@cp ${RD}/trees/bin/boot/loader.help ${RD}/mfsfd/boot
d659 1
a659 1
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
d662 2
a663 2
		${.CURDIR}/${TARGET}/drivers.conf \
		${RD}/trees/bin/modules ${RD}/mfsfd/stand/modules
d668 1
a668 1
.if ${TARGET} == "pc98"
d682 1
a682 1
	touch release.9
d687 1
a687 1
release.10:
d712 1
a712 1
	@@cp ${RND}/${RELNOTES_LANG}/installation/${TARGET_ARCH}/article.txt \
d718 1
a718 1
	touch release.10
d735 2
a736 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.html ${FD}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d774 2
a775 2
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.txt ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.TXT; \
	  cp ${RND}/${RELNOTES_LANG}/$$i/${TARGET_ARCH}/article.html ${CD_DISC1}/`echo $${i} | tr 'a-z' 'A-Z'`.HTM; \
d781 1
a781 1
.if ${TARGET} != "pc98"
d789 1
a789 1
.if ${TARGET} == "i386"
d794 1
a794 1
	@@ln -f ${CD_DISC2}/kernel.GENERIC ${CD_DISC1}/kernel
d796 1
a796 1
.if ${TARGET} == "i386"
d810 1
a810 1
	@@if [ -r ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ]; then \
d812 1
a812 1
		sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d814 1
a814 1
		sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d817 1
a817 1
			sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \
d821 1
a821 1
		echo "Do not know how to create an ISO for ${TARGET_ARCH}."; \
d855 1
a855 1
	@@echo "TD undefined in doTARBALL" && exit 1
d884 2
a885 2
doRELEASE:  release.1 release.2 release.3 ${DOCREL} release.4 release.5 \
		release.6 release.7 release.8 release.9 release.10
d895 2
a896 2
	@@rm -f release.5 release.9
	@@cd ${.CURDIR} && ${MAKE} release.5 release.9 CRUNCH_TARGETS=boot
d899 2
a900 2
	@@rm -f release.5 release.10
	@@cd ${.CURDIR} && ${MAKE} release.5 release.10 CRUNCH_TARGETS=fixit
d921 2
a922 2
	@@if [ -f ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.CURDIR}/${TARGET}/${CRUNCH}_crunch.conf` ; do \
d936 1
a936 1
	@@cd ${.CURDIR}/../sys/${TARGET}/conf && \
d938 1
a938 1
.if ${TARGET_ARCH} == "i386"
d940 1
a940 1
	  ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
d942 1
a942 1
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
d944 2
a945 2
		${.CURDIR}/${TARGET}/drivers.conf \
		${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
d949 31
d983 4
a986 18
	@@echo "Running ${.TARGET} for ${FSIMAGE}"
	@@rm -f ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@cd ${.CURDIR}/../sys/${TARGET}/conf && \
	    sh ${.CURDIR}/scripts/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS
.if ${TARGET_ARCH} == "i386"
	@@echo "options  INTRO_USERCONFIG" >> \
	  ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
.endif
.if exists(${.CURDIR}/${TARGET}/drivers.conf)
	@@perl ${.CURDIR}/scripts/driver-remove.pl \
		${.CURDIR}/${TARGET}/drivers.conf \
		${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS
.endif
	cd ${.CURDIR}/..; \
	INSTKERNNAME=BOOTMFS \
	    ${CROSSMAKE} ${KERNEL_FLAGS} -DNO_MODULES -DNO_KERNELCLEAN \
	    KERNCONF=BOOTMFS buildkernel reinstallkernel \
	    DESTDIR=${RD}/kernels
d988 4
a991 5
	@@mkdir ${RD}/image.${FSIMAGE}
	@@cd ${RD}/kernels && \
	  (chflags noschg BOOTMFS || true) && \
	  ${WMAKEENV} strip BOOTMFS && \
	  cp BOOTMFS BOOTMFS.${FSIMAGE}
d995 1
a995 1
.if ${TARGET} == "i386"
d1009 1
a1009 1
.if ${TARGET_ARCH} == "i386" && ${AUTO_KEYBOARD_DETECT}
@


1.536.2.89
log
@Forgot to remove this in the previous revision.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.88 2002/07/25 09:33:16 ru Exp $
d932 17
@


1.536.2.90
log
@MFC: remnants of 1.589.

Don't throw in extra commands to build sysinstall(8) manually during
release; they don't do anything useful nowadays except delaying the
process and spamming the /usr/src/release/sysinstall with the object
files (executing "make obj all" is always a bug; "make obj; make all"
would be right).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.89 2002/07/26 19:49:36 ru Exp $
d410 4
d493 2
@


1.536.2.91
log
@MFC: Build FDP ports in a clean environment; gmake(1) doesn't like
our ${TARGET_ARCH}.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.90 2002/07/26 19:58:14 ru Exp $
d347 1
d827 1
a827 4
	    cd /usr/ports/$$i && \
	    env -i PATH=$${PATH} make all install clean \
		BATCH=yes WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
		FORCE_PKG_REGISTER=yes; \
@


1.536.2.92
log
@MFC: Split scripts/dokern.sh into MD parts.

The old version used ``uname -m'' to choose the appropriate
sed(1) filter, and this did not obviously work in the case
of cross release.  I've been getting kern.flp overflows on
i386 attempting to cross-release Alpha.

Many thanks to Wilko for providing me with an account on
his Alpha box.  Comparing generated BOOTMFS configs helped
fix this problem almost immediately.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.91 2002/07/26 20:00:26 ru Exp $
d936 1
a936 1
	    sh ${.CURDIR}/${TARGET_ARCH}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS
@


1.536.2.93
log
@MFC: Add PREFETCHDISTFILES support.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.92 2002/08/01 10:05:28 ru Exp $
a315 7
.if defined(PREFETCHDISTFILES)
	@@for i in ${DOCPORTS}; do \
		cd ${CHROOTDIR}/usr/ports/$$i && \
			make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
			JADETEX=no WITHOUT_PYTHON=yes fetch-recursive ; \
	done
.endif
@


1.536.2.94
log
@MFC: 1.696: Added forgotten WITHOUT_X11.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.93 2002/08/01 13:30:20 jhb Exp $
d320 1
a320 2
			WITHOUT_X11=yes JADETEX=no WITHOUT_PYTHON=yes \
			fetch-recursive ; \
@


1.536.2.95
log
@MFC: 1.697: ``env -i'' side effect fix.
MFC: 1.698: Endless recursion fix.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.94 2002/08/02 16:27:15 ru Exp $
a198 1
.if exists(${.CURDIR}/../kerberosIV) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
a199 2
.endif
.if exists(${.CURDIR}/../kerberos5) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
a200 1
.endif
a405 12
.if defined(EXTRA_SRC)
	echo "export EXTRA_SRC=\"${EXTRA_SRC}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(FIXCRYPTO)
	echo "export FIXCRYPTO=\"${FIXCRYPTO}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(NOKERBEROS)
	echo "export NOKERBEROS=\"${NOKERBEROS}\""	>> ${CHROOTDIR}/mk
.endif
.if defined(NO_SENDMAIL)
	echo "export NO_SENDMAIL=\"${NO_SENDMAIL}\""	>> ${CHROOTDIR}/mk
.endif
d409 2
@


1.536.2.96
log
@MFC: Convert perl(1) scripts to awk(1).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.95 2002/08/08 07:55:00 ru Exp $
d678 3
a680 3
	@@awk -f  ${.CURDIR}/scripts/driver-copy2.awk \
	    ${.CURDIR}/${TARGET}/drivers.conf \
	    ${RD}/trees/bin/modules ${RD}/mfsfd/stand/modules
d964 1
a964 1
	@@awk -f ${.CURDIR}/scripts/driver-remove.awk \
@


1.536.2.97
log
@MFC: 1.702: Export KERNELS and AUTO_KEYBOARD_DETECT to chroot.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.96 2002/08/08 08:38:17 ru Exp $
a383 3
.if defined(AUTO_KEYBOARD_DETECT)
	echo "export AUTO_KEYBOARD_DETECT=\"${AUTO_KEYBOARD_DETECT}\"" 	>> ${CHROOTDIR}/mk
.endif
a414 3
.endif
.if defined(KERNELS)
	echo "export KERNELS=\"${KERNELS}\""		>> ${CHROOTDIR}/mk
@


1.536.2.98
log
@MFC: 1.709: Unspam the release media ("srelease" dist) from object files.

PR:		misc/43825
@
text
@d1 1
a1 1
# $FreeBSD$
d522 1
a522 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${TARGET}/${j}_crunch.conf
d524 1
a524 1
	cd ${j}_crunch; ${WMAKEENV} crunchgen -o ${.CURDIR}/${j}_crunch.conf
@


1.536.2.99
log
@Fixed spelling of automatic snapshots' names to be 4.7-STABLE.
@
text
@d28 1
a28 1
BASE = 4.7
@


1.536.2.100
log
@MFC: Use ${TARGET}/dokern.sh instead of ${TARGET_ARCH}/dokern.sh.
@
text
@d964 1
a964 1
	    sh ${.CURDIR}/${TARGET}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS
@


1.536.2.101
log
@MFC: Use ${RD}/trees/bin/boot/loader for kern.flp instead of /boot/loader.
@
text
@d989 1
a989 1
	@@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/bin/boot/loader
d991 1
a991 1
	@@cp ${RD}/trees/bin/boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.536.2.102
log
@MFC: 1.703 (collapsed the export list, added CD_EXTRA_BITS to it),
     1.707 (garbage collect ALLLANG, respect DOC_LANG).
@
text
@d94 1
a94 1
# Modify this definition if you want the release notes 
d96 1
a96 1
RELNOTES_LANG?=	en_US.ISO8859-1
d114 4
a117 5
# By default, documentation (Handbook, FAQ, etc.) is built for all
# the languages.  To speed up building, set the DOC_LANG to just
# the languages you need.  (The language for the release notes is
# controlled by the RELNOTES_LANG variable above.)
#DOC_LANG=	en_US.ISO8859-1
d359 4
d364 63
a426 28
.for var in \
	AUTO_KEYBOARD_DETECT \
	BOOT_CONFIG \
	BUILDNAME \
	CD_EXTRA_BITS \
	DISTRIBUTIONS \
	DOC_LANG \
	DOMINIMALDOCPORTS \
	EXTRA_SRC \
	FIXCRYPTO \
	KERNELS \
	KERNEL_FLAGS \
	MAKE_ISOS \
	NODOC \
	NOKERBEROS \
	NOPORTS \
	NOSHARED \
	NOSRC \
	NO_SENDMAIL \
	OBJFORMAT \
	RELEASETAG \
	RELNOTES_LANG \
	TARGET \
	TARGET_ARCH \
	VNDEVICE \
	WORLD_FLAGS
.if defined(${var})
	echo "export ${var}=\"${${var}}\""	>> ${CHROOTDIR}/mk
a427 1
.endfor
@


1.536.2.103
log
@MFC: (rev 1.732) add lib/libfetch and usr.bin/fetch to FIXCRYPTO.
@
text
@d209 1
a209 2
FIXCRYPTO=	bin/ed usr.sbin/ppp usr.sbin/pppd usr.sbin/tcpdump/tcpdump \
		lib/libfetch usr.bin/fetch
@


1.536.2.104
log
@MFC:  Add ${BUILDNAME} and ${TARGET} to the filenames of ISO images
generated during release builds.

	Makefile	1.734->1.735
@
text
@d800 1
a800 1
		  fbsd_miniinst ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1}; \
d802 1
a802 1
		  fbsd_livefs ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2}; \
d805 1
a805 1
			  fbsd_boot ${CD}/${BUILDNAME}-${TARGET}-disc1.iso ${CD_DISC1} ${CD_EXTRA_BITS}; \
@


1.536.2.105
log
@MFC: rev 1.750: Pass fetch(1)-related variables to chroot sandbox.

Approved by:	re (jhb)
@
text
@a371 3
	FTP_PASSIVE_MODE \
	FTP_PROXY \
	HTTP_PROXY \
@


1.536.2.106
log
@MFC: rev 1.755 (make readmes (ports) from within CHROOTDIR & FTP_PASSIVE_MODE)
Approved by:	murray(re)

MFC: revs 1.757 (PORTREADMES_FLAGS) and 1.759 (negative logic)
     as they are related to rev 1.755.
@
text
@a52 1
# Similarly, you can specify make flags for make readmes via PORTREADMES_FLAGS.
a54 1
#PORTREADMES_FLAGS=-j4
d248 6
d300 1
a300 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P -r ${PORTSRELEASETAG} ${RELEASEPORTSMODULE}
d302 1
a302 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co ${CVSCMDARGS} -P ${RELEASEPORTSMODULE}
a403 10
.if defined(NOPORTS) || defined(NOPORTREADMES)
	echo "if false; then"			>> ${CHROOTDIR}/mk
.else
	echo "if true; then"			>> ${CHROOTDIR}/mk
.endif
	echo "	echo \">>> make readmes started on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
	echo "	cd /usr/ports"			>> ${CHROOTDIR}/mk
	echo "	make ${PORTREADMES_FLAGS} readmes" >> ${CHROOTDIR}/mk
	echo "	echo \">>> make readmes finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
	echo "fi"				>> ${CHROOTDIR}/mk
d822 3
a824 3
	    env -i FTP_PASSIVE_MODE=$${FTP_PASSIVE_MODE:-no} PATH=$${PATH} \
		make all install clean BATCH=yes WITHOUT_X11=yes JADETEX=no \
		WITHOUT_PYTHON=yes FORCE_PKG_REGISTER=yes; \
@


1.536.2.107
log
@MFC: Strip the .comment section out from crunch binaries and MFSROOT kernel.
@
text
@a501 1
	${WMAKEENV} strip -R .comment ${j}_crunch/${j}_crunch
d956 1
a956 1
	  ${WMAKEENV} strip -R .comment BOOTMFS && \
@


1.536.2.108
log
@Fixed spelling of automatic snapshots' names to be 4.8-STABLE.

Submitted by:	"Igor B. Bykhalo" <goshik@@binep.ac.ru>
@
text
@d28 1
a28 1
BASE = 4.8
@


1.536.2.109
log
@MFC: r1.728 - Allow a person to specify NOCDROM to skip the cdrom.1
target during a release build.
@
text
@d238 1
a238 3
EXTRAS= ftp.1
.if !defined(NOCDROM)
EXTRAS+= cdrom.1
a244 1
.endif
a373 1
	NOCDROM \
@


1.536.2.110
log
@MFC: r1.773 - set BOOTABLE flag in all !NOCDROM cases.
@
text
@a242 1
.endif
d245 1
@


1.536.2.111
log
@Fix (one of) 4.9-RELEASE release breaker, "Loading kernel modules while
installation phase sometimes causes an error" bug.  It also includes
"there's an error while loading firewire modules" bug.

Since the results of readdir(3)'s whims, either sbp.ko or if_fwe.ko is
picked up for load BEFORE firewire.ko.  Unfortunately module_path is
not properly set, kldload(2) cannot find kernel modules, firewire.ko,
which is required to load sbp.ko/if_fwe.ko.  This is why you'll see
"loading failed" message.

Actually these are mostly comes from following commits on the HEAD:
	src/release/Makefile rev 1.721
	src/usr.sbin/sysinstall/modules.c rev 1.5

Approved by:	murray (as of re@@, pre-approved)
@
text
@d661 1
a661 1
	@@mkdir -p ${RD}/mfsfd/modules
d664 1
a664 1
	    ${RD}/trees/bin/modules ${RD}/mfsfd/modules
a977 1
	@@echo "set module_path=\"/modules;/dist\"" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.536.2.112
log
@Bump BASE variable definition for 4.9.

Pointed out by:	Kent Hauser <kent.hauser@@verizon.net>
@
text
@d28 1
a28 1
BASE = 4.9
@


1.536.2.112.2.1
log
@MF-RELENG_4 of rev 1.536.2.113.  Adding ability to tweak CD labels using
Makefile.

Approved by:	re (scottl)
@
text
@a108 7
# Make changing names of disc1 CD possible.  Usually disc1 directory
# contents is used for creating both miniinst and disc1.
DISC1_LABEL?=	fbsd_miniinst
DISC1_NAME?=	miniinst
DISC2_LABEL?=	fbsd_livefs
DISC2_NAME?=	disc2

a365 4
	DISC1_LABEL \
	DISC1_NAME \
	DISC2_LABEL \
	DISC2_NAME \
d814 1
a814 1
		  ${DISC1_LABEL} ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1}; \
d816 1
a816 1
		  ${DISC2_LABEL} ${CD}/${BUILDNAME}-${TARGET}-${DISC2_NAME}.iso ${CD_DISC2}; \
@


1.536.2.112.2.2
log
@MFS: Add URLS_ABSOLUTE=YES into the doc.1 target.

Approved by:	re (implicitly)
@
text
@d848 1
a848 1
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/bin/usr/share/doc URLS_ABSOLUTE=YES
@


1.536.2.112.2.3
log
@Update for 4.10

Approved by: re
@
text
@d28 1
a28 1
BASE = 4.10
@


1.536.2.113
log
@This allows for tweaking the name put in the label on the CD's when using the
Makefile to build the ISO's.  Previous 4.X releases had a non-generic name
for the labels but were put together 'manually' instead of using the Makefile.

This will be insta-MFC'ed...
@
text
@a108 7
# Make changing names of disc1 CD possible.  Usually disc1 directory
# contents is used for creating both miniinst and disc1.
DISC1_LABEL?=	fbsd_miniinst
DISC1_NAME?=	miniinst
DISC2_LABEL?=	fbsd_livefs
DISC2_NAME?=	disc2

a365 4
	DISC1_LABEL \
	DISC1_NAME \
	DISC2_LABEL \
	DISC2_NAME \
d814 1
a814 1
		  ${DISC1_LABEL} ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1}; \
d816 1
a816 1
		  ${DISC2_LABEL} ${CD}/${BUILDNAME}-${TARGET}-${DISC2_NAME}.iso ${CD_DISC2}; \
@


1.536.2.114
log
@MFC: Add URLS_ABSOLUTE=YES into the doc.1 target.
@
text
@d848 1
a848 1
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/bin/usr/share/doc URLS_ABSOLUTE=YES
@


1.536.2.115
log
@MF RELENG_4_10: Update for 4.10.
@
text
@d28 1
a28 1
BASE = 4.10
@


1.536.2.116
log
@Change version to 4.11 in preparation for RELENG_4_11 branch.

Approved by:	re (implicit)
@
text
@d28 1
a28 1
BASE = 4.11
@


1.536.2.117
log
@Populate /R/ftp/ports explicitly and copy this to /R/cdrom/disc1/ports
instead of attempting the reverse, because the ftp.1 target is executed
before the cdrom.1 target, which is optional.  This has been broken
ever since the order of the targets was swapped and cdrom.1 was made
optional, which happened a very long time ago.
@
text
@d756 1
a756 5
	@@mkdir -p ${FD}/ports && \
	  tar --exclude CVS --exclude 'ports/distfiles/*' -czf \
	  ${FD}/ports/ports.tgz -C /usr ports && \
	  cp ${.CURDIR}/scripts/ports-install.sh ${FD}/ports/install.sh \
	  && (cd ${FD}/ports; md5 * > CHECKSUM.MD5)
d813 5
a817 1
	@@tar --exclude CVS -cBf - -C ${FD} ports | tar -xBf - -C ${CD_DISC1}
@


1.536.2.118
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/release/Makefile 147737 2005-07-02 07:22:12Z truckman $
@


1.536.2.111.2.1
log
@Version bump.
@
text
@d28 1
a28 1
BASE = 4.9
@


1.536.2.106.2.1
log
@Update BASE on release branch.
@
text
@d28 1
a28 1
BASE = 4.8
@


1.536.2.97.2.1
log
@Update BASE for 4.7.

Approved by:	re
@
text
@d1 1
a1 1
# $FreeBSD$
d28 1
a28 1
BASE = 4.7
@


1.536.2.84.2.1
log
@Update BASE for 4.6.

Approved by:	re (implicit)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.536.2.84 2002/05/18 16:50:09 bmah Exp $
d28 1
a28 1
BASE = 4.6
@


1.535
log
@Fix a copy and paste error. Make release should be operational again.

Reviewed by:	markm
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.534 2000/02/29 11:26:24 jkh Exp $
d235 3
@


1.534
log
@release glue to support s/des/crypto/

Submitted by:	markm
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.533 2000/01/29 01:15:52 obrien Exp $
d433 1
a433 1
		if [ -f skrb4.aa ] ; then mv skrb4.* ../crypto ; fi ; ) ; fi
@


1.533
log
@Forgot to setup disc2 (the livefs) for booting also.
@
text
@d1 1
a1 1
# $FreeBSD$
d59 1
a59 1
CRYPTO_DISTS?=	des krb4
d300 7
d398 3
a400 1
		if [ -f krb4/krb4.aa ] ; then mv krb4/* des && rmdir krb4 ; fi )
d414 4
a417 1
				TN=`echo s$$i | tr -d '.' | sed 's/usr/u/'` \
d430 5
a434 4
	if [ -d ${RD}/dists/des ] ; then ( cd ${RD}/dists/src && \
		if [ -f ssecure.aa ] ; then mv ssecure.* ../des ; fi && \
		if [ -f scrypto.aa ] ; then mv scrypto.* ../des ; fi && \
		if [ -f skerbero.aa ] ; then mv skerbero.* ../des ; fi ; ) ; fi
d611 4
@


1.532
log
@Setup cdrom/disc1/ for booting in the Alpha case.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.531 2000/01/25 07:07:32 obrien Exp $
a574 1
	@@ln -f ${RD}/image.boot/kernel.gz ${CD_DISC1}
d576 3
a578 1
	@@cp -p /boot/cdboot ${CD_DISC1}/boot/
@


1.531
log
@Remove historical vestage from the days when there was 1 boot floppy for
i386 and 2 for the Alpha.

Ok'ed by:	JKH
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.530 2000/01/24 01:22:30 obrien Exp $
d573 6
@


1.530
log
@In the "cdrom" target it is best to write to the CDROM stage area, *NOT*
the FTP stage area.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.529 2000/01/23 10:03:21 wilko Exp $
d711 1
a711 1
.if !defined(BIGBOOT) || ${MACHINE_ARCH} == "alpha"
@


1.529
log
@missing ] in if at cdrom.1 target
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.528 2000/01/22 18:33:24 wilko Exp $
d569 1
a569 1
	     echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
@


1.528
log
@Check if the various .TXT files exist before trying to copy them.
Oh why did I select a first project that needed to touch release/Makefile..
The fact that my release-building Alpha panics on me does not help either :(
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.527 2000/01/19 22:48:50 wilko Exp $
d565 1
a565 1
	  if [ -f ${.CURDIR}/texts/$${i}; then \
@


1.527
log
@Allow automatic 'pulling in' of machdep *.TXT files from ./texts/[alpha,i386]
and concat these  to the corresponding generic *.TXT living in ./texts
This is currently aimed at HARDWARE.TXT but works for things like RELNOTES.TXT
too.

Reviewed by: jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.526 2000/01/16 17:21:28 phk Exp $
d530 3
a532 1
	  cp ${.CURDIR}/texts/$${i} ${FD}; \
d565 3
a567 1
	  cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
@


1.526
log
@Fix !crypto releases once more.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.525 2000/01/14 02:17:52 hosokawa Exp $
d530 1
d532 2
a533 3
	     cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; \
	  else \
	     cp ${.CURDIR}/texts/$${i} ${FD}; \
d563 1
d565 2
a566 3
	     cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${CD_DISC1}; \
          else \
	     cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
@


1.525
log
@Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.524 2000/01/10 16:27:32 imp Exp $
d418 1
a418 2
.if exists(${RD}/dists/des)
	( cd ${RD}/dists/src && \
d421 1
a421 2
		if [ -f skerbero.aa ] ; then mv skerbero.* ../des ; fi ; )
.endif
@


1.524
log
@Use GENERIC for both pccard and non-pccard disks now that GENERIC is
(or should be) everything that PCCARD is.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.523 2000/01/10 06:15:43 peter Exp $
a27 9
PCCARD?=NO

.if ${PCCARD} == "YES"
CARDDEV=card0 card1 card2 card3
.else
CARDDEV=
.endif

# We now use GENERIC for the pccard kernel.
a271 3
.if ${MACHINE_ARCH} == "i386"
	mkdir ${RD}/floppies/pccard
.endif
a320 3
.if ${PCCARD} == "YES"
	cp ${.CURDIR}/boot_crunch.conf.pccard ${.OBJDIR}/boot_crunch.conf
.else
a321 1
.endif
d451 1
a451 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \
a455 1
.if ${PCCARD} == "YES"
a456 1
.endif
a519 4
.if ${MACHINE_ARCH} == "i386"
	@@cp ${.CURDIR}/texts/PCCARD.TXT ${RD}/floppies/pccard/README.TXT
	@@(cd ${RD}/floppies/pccard; md5 *.flp > CHECKSUM.MD5)
.endif
a628 5
.if ${MACHINE_ARCH} == "i386"
	@@cd ${.CURDIR} && ${MAKE} PCCARD=YES boot.flp
	mv ${RD}/floppies/boot.flp ${RD}/floppies/kern.flp \
		${RD}/floppies/mfsroot.flp ${RD}/floppies/pccard
.endif
@


1.523
log
@- Revert --strip-all of /kernel on a new installed system (it would work
with kld etc just fine, but tracebacks would have less information and
nm /kernel wouldn't be so good).
- Just strip the kernel on the boot disk. This does not affect kld or
module loading, there are two symbol tables in a kernel.  There is the
dynamic linking one (.dynsym+.strtab) with just global symbols and a user
symbol table (.symtab+.strtab) with all symbols.  BTW; objdump lies and
hides the second one.  There's a good half a meg or so that can be saved
from an average kernel by stripping it.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.522 2000/01/09 08:23:17 jkh Exp $
a31 1
KERNCONF=PCCARD
a33 1
KERNCONF=GENERIC
d36 2
@


1.522
log
@Strip even more unneeded symbols.
Suggested by:	peter
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.521 2000/01/03 09:59:37 jkh Exp $
d709 1
a709 1
			strip --strip-all ${KERNEL} && \
d730 1
@


1.521
log
@nuke debugging symbols from kern.flp kernels.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.520 1999/12/22 18:56:14 phk Exp $
d709 1
a709 1
			strip --strip-debug ${KERNEL} && \
@


1.520
log
@Don't barf on the releasename symlink in the ftp area on make rerelease.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.519 1999/12/16 00:58:58 jkh Exp $
d709 1
@


1.519
log
@Copy the loader.help file to the boot floppy.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.518 1999/12/14 22:41:08 joerg Exp $
d550 1
a550 1
	@@ln -s . ${FD}/${BUILDNAME}
@


1.518
log
@Step #2 of fixing the fixit floppy.

Kill duplicates for programs that have been in the boot crunched image
as well as on the fixit floppy (pwd, newfs, hostname, test).  Our
space is really too valuable to have them around there twice.  I doubt
pwd needs to be there at all since it's a builtin into sh(1) anyway
(oh, and the same applies to test(1) IIRC), but heck, leave them by
now.

Use the new `fixit' target in MAKEDEV to create the /dev nodes on
the floppy, instead of including the kitchensink...

Finally, tune the values used for creating the floppy.  I currently
end up with

Filesystem  1K-blocks     Used    Avail Capacity iused   ifree  %iused
/dev/vnn0c       1363     1301      -47   104%     368      14    96%

...which is not quite ideal yet, but at least a working configuration
again.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.517 1999/11/27 14:32:27 phk Exp $
d492 1
@


1.517
log
@Create a symbolic link in the ftp directory, so that the user can
enter the URL directly to the FTP directory without worrying about
the BUILD_NAME.

Remove some extra quoting in a kernel config file.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.516 1999/10/07 22:56:16 nsayer Exp $
d91 1
a91 1
FIXITINODE=		2000
d98 1
a98 1
#.if ${MACHINE_ARCH} == "alpha"
d101 1
a101 1
#.endif
d523 1
a523 1
		sh MAKEDEV all )
@


1.516
log
@Reverse order of krb4 and des build so that SRA telnet does not
overwrite Kerberos Telnet.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.515 1999/10/03 06:43:57 phk Exp $
d549 1
d722 1
a722 1
	@@echo "options \"MFS_ROOT_SIZE=`cat mfsroot.size`\"" >> \
@


1.515
log
@Fix building non-crypto releases.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.514 1999/09/23 18:40:54 jkh Exp $
d68 1
a68 1
CRYPTO_DISTS?=	krb4 des
@


1.514
log
@Guard against an rm returning non-zero status.

Noticed by:		Makoto MATSUSHITA
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.513 1999/09/19 22:30:37 markm Exp $
d434 2
a435 1
	( test -d ${RD}/dists/des && cd ${RD}/dists/src && \
d439 1
@


1.513
log
@Prepare for K5.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.512 1999/09/19 02:05:52 jkh Exp $
d276 1
a276 1
	rm -rf ${_R}/* 2> /dev/null
@


1.512
log
@Make trash removals less chatty.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.511 1999/09/17 09:32:21 jkh Exp $
d68 1
a68 1
CRYPTO_DISTS?=	krb des
d407 1
a407 1
		if [ -f krb/krb.aa ] ; then mv krb/* des && rmdir krb ; fi )
@


1.511
log
@MF3: various small tweaks.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.510 1999/09/16 08:44:22 jkh Exp $
d158 1
a158 1
	-rm -rf ${CHROOTDIR}
d276 1
@


1.510
log
@Some minor cosmetics: make mkdir less chatty in the output and stop making /R
magic.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.509 1999/09/13 19:06:21 peter Exp $
d433 1
a433 2
.if exists(${RD}/dists/des)
	( cd ${RD}/dists/src && \
a436 1
.endif
@


1.509
log
@Make the fixit floppy 2.88MB as a temporary "solution" to get the nightly
snaps re-running.  This is not a fix.  (The alpha already does this)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.508 1999/09/07 20:47:42 jkh Exp $
d110 4
a113 3
RD=			/R/stage
FD=			/R/ftp
CD=			/R/cdrom
d162 1
a162 1
	-mkdir -p ${CHROOTDIR}
d249 1
a249 1
	echo "export RELEASEDIR=/R"		>> ${CHROOTDIR}/mk
d273 1
a273 1
# Clean out /R and make the directory structure.
d275 3
a277 3
	-mkdir /R
	-chflags -R noschg /R/.
	rm -rf /R/*
@


1.508
log
@Allow flags to be passed to patch when using LOCAL_PATCHES
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.507 1999/09/06 03:30:38 jkh Exp $
d98 1
a98 1
.if ${MACHINE_ARCH} == "alpha"
d101 1
a101 1
.endif
@


1.507
log
@Fix an old reference to the old docs directories.  Looks like
this one went completely uncaught for months!

Caught by:	jack <jack@@germanium.xtalwind.net>
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.506 1999/09/04 08:47:15 jkh Exp $
d180 1
a180 1
	cd ${CHROOTDIR}/usr/src && patch --silent < ${LOCAL_PATCHES}
@


1.506
log
@MFS: I found a few bogons here which were fixed in -stable (!) but not
     -current.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.505 1999/08/28 01:33:09 peter Exp $
d480 7
a486 2
	for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
	   gzip -9c ${.CURDIR}/texts/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; done
@


1.505
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d480 1
a480 1
	for i in README.TXT RELNOTES.TXT UPGRADE.TXT HARDWARE.TXT; do \
d547 1
a547 1
          else \
d550 1
a550 1
        done
@


1.504
log
@Handle the new Makefile infrastructure in the doc/ repository.

Set ALLLANG to install all the languages, otherwise set DOC_LANG
to just the languages (and encodings) you want to install.

Default to building the html-split (lots of small HTML files, with
links to go between them), html (one big honking HTML file), and plain
text versions of the documentation.  Does not compress any of the docs
prior to doing the installation.

Testing and feedback:   Jack O'Neill <jack@@germanium.xtalwind.net>,
Cockups and typos:      nik
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.503 1999/08/05 08:37:31 jkh Exp $
@


1.503
log
@I was clearly smoking crack when I committed the change to allow for
architecture-specific docs on the boot floppy and CDROM.  Do it right this
time.

Noticed by:	jhay
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.502 1999/08/05 01:28:00 jkh Exp $
d236 1
a236 1
	echo "export DOC_LANG=en"		>> ${CHROOTDIR}/mk
d597 1
a597 1
	@@cd /usr/doc && make all distribute DISTDIR=${RD}/trees
@


1.502
log
@Turn docs back on - ache was very quick.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.501 1999/08/04 17:30:00 jkh Exp $
d544 7
a550 1
	@@for i in ${DIST_DOCS}; do if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$$i ]; then cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; else cp ${.CURDIR}/texts/$${i} ${FD}; fi; done
d577 7
a583 1
	@@for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; done
@


1.501
log
@Turn docs off by default again - somebody has broken the docproj port.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.500 1999/07/31 19:15:29 jkh Exp $
d51 1
a51 1
NODOC=  YES
@


1.500
log
@Add INSTALL.TXT back.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.499 1999/07/20 05:00:00 jkh Exp $
d51 1
a51 1
#NODOC=  YES
@


1.499
log
@Get bpf0 onto the MFS image.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.498 1999/07/19 10:06:15 jkh Exp $
d61 1
a61 1
           RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT
@


1.498
log
@Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.497 1999/07/18 02:20:55 jkh Exp $
d465 1
a465 1
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \
@


1.497
log
@Miscellaneous fixes for dhcp client support.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.496 1999/07/06 13:07:47 hosokawa Exp $
d468 1
a468 1
	( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s stand/sh bin/sh )
@


1.496
log
@Added a short README to PC-card boot.flp directory.
(please check English grammer...:-) )
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.495 1999/07/06 09:15:53 hosokawa Exp $
d468 2
@


1.495
log
@Use #include <pccard_conf.h> instead of -DPCCARD.
Now we don't have to make clean before make boot.flp's.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.493 1999/07/05 07:15:42 hosokawa Exp $
d529 1
@


1.494
log
@Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy directory.
@
text
@d336 1
a336 1
	cd ${.CURDIR}/sysinstall && make clean obj depend all install
@


1.493
log
@My last modification for PC-card boot.flp was incomplete, and one more patch
is needed.
This seems a sort of quick-hack, but it's hard to fix it in proper way.
I'll do it later.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.492 1999/07/04 13:31:05 hosokawa Exp $
d529 1
a529 1
	@@(cd ${RD}/floppies/pccard; md5 * > CHECKSUM.MD5)
@


1.492
log
@make release (actually, make floppies) makes PC-card boot.flp automatically.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.491 1999/06/17 19:04:43 markm Exp $
d138 4
d143 1
@


1.491
log
@Add bits of PAO that are non-controversial.

Submitted by: Tatsumi HOSOKAWA
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.490 1999/05/29 00:42:05 jkh Exp $
d274 3
d331 1
a331 1
	cd ${.CURDIR}/sysinstall && make obj depend all install
d522 4
a525 1
	@@(cd ${RD}/floppies; md5 * > CHECKSUM.MD5)
d622 5
@


1.490
log
@Don't put CVS files in ports.  It's kinda useful for cvs updating
a ports tree which was installed initially with the system later,
but this is probably not the general case (user CVSups the repository
rather than the checked-out bits) and it's penalizing everyone else
with excessive inode consumption.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.489 1999/05/23 20:01:20 brian Exp $
d28 11
d265 1
a265 1
	rm -rf boot_crunch release.[0-9]
d323 5
d336 4
a339 1
		  crunchgen ${.CURDIR}/$${j}_crunch.conf && \
d457 1
a457 1
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero | \
d460 3
d647 9
a655 3
	@@for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
		ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
	done
d678 1
a678 1
	  sh ${.CURDIR}/scripts/dokern.sh ${BIGBOOT} < GENERIC > BOOTMFS
@


1.489
log
@Use RELENG_3 as an example, not RELENG_2_2.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.488 1999/05/16 12:21:54 phk Exp $
d511 1
a511 1
	@@tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
d539 1
a539 1
	  tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
@


1.488
log
@More crypto bogosity.

(I just built a current snap-shot)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.487 1999/05/16 08:07:34 phk Exp $
d25 2
a26 2
# If this is a RELEASE, then set
#RELEASETAG=RELENG_2_2
@


1.487
log
@INSTALL.TXT is gone in -current (despite what Jordan says :-)
kerberisIV requires crypto as well.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.486 1999/05/15 19:05:40 phk Exp $
d405 1
d410 1
@


1.486
log
@cp ${KERNEL} instead of cp kernel
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.485 1999/05/15 11:51:39 jkh Exp $
d50 1
a50 1
           INSTALL.TXT RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT
d284 1
a284 1
.if exists(${.CURDIR}/../kerberosIV) && !defined(NOKERBEROS)
d446 1
a446 1
	for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
@


1.485
log
@target is ${KERNEL}, not kernel.

Noticed by:	"John W. DeBoskey" <jwd@@unx.sas.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.484 1999/05/13 02:49:23 jkh Exp $
d639 1
a639 1
			cp kernel ${RD}/kernels/${KERNEL}
@


1.484
log
@fix stupid typo.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.483 1999/05/12 08:19:54 jkh Exp $
d638 1
a638 1
			make  kernel && \
@


1.483
log
@Support divergent docs for different architectures.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.482 1999/05/09 17:00:04 obrien Exp $
d506 1
a506 1
	@@for i in ${DIST_DOCS}; do if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$$i ]; then cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; else cp ${.CURDIR}/texts/$${i} ${FD}; done; fi
@


1.482
log
@Turn on compat22 dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.481 1999/05/02 17:43:45 max Exp $
d506 1
a506 1
	@@for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${FD}; done
@


1.481
log
@Install boot.config with `-P' in it in the i386 boot floppy.

Also, let the bigboot floppy to have /boot/loader.rc with
  echo \007\007
  autoboot 10
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.480 1999/04/29 17:56:28 jdp Exp $
d55 1
a55 1
COMPAT_DISTS?=	compat1x compat20 compat21 compat3x
@


1.480
log
@pppd/Makefile:
  Enable MS-CHAP support.

release/Makefile:
  Build a separate NOCRYPT version of pppd, to keep This Great
  Nation's top-secret cryptographic tools out of the filthy hands
  of those evil furriners.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.479 1999/04/27 05:09:43 max Exp $
d670 2
a671 1
	@@echo "echo \\007\\007\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
d674 2
@


1.479
log
@echo ^G^G -> echo \007\007 in loader.rc in kern.flp.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.478 1999/04/25 16:42:46 max Exp $
d333 1
a333 1
	for i in sbin/init bin/ed usr.sbin/ppp ; do \
@


1.478
log
@Change the loader.rc in the boot floppy to:

1. Enable use of serial console for installation by using autoboot
  instead of boot.

2. Beep when the mfs root floppy needs to be placed in the fdd.

3. Beep again when mfs root image is loaded and the loader waits
  for ten seconds before it starts booting for any input.  (Serial
  console users can say " boot -h" here.)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.477 1999/04/20 11:41:59 obrien Exp $
d666 1
a666 1
	@@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
d670 1
a670 1
	@@printf "echo \a\a\n" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.477
log
@Add the compat3x dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.476 1999/03/31 11:18:52 sada Exp $
d666 1
d670 2
a671 1
	@@echo "boot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.476
log
@Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR:	misc/9913
Submitted by:	YAMAMOTO Shigeru <shigeru@@bremen.or.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.475 1999/03/27 16:02:04 nik Exp $
d55 1
a55 1
COMPAT_DISTS?=	compat1x compat20 compat21
@


1.475
log
@If ALLLANG is not set then ensure that DOC_LANG=en is, so that
the English Handbook is built (it's not built by default any more).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.474 1999/03/14 20:41:12 markm Exp $
d148 3
a150 1
	[ -f /etc/resolv.conf ] && cp -p /etc/resolv.conf ${CHROOTDIR}/etc
d174 3
a176 1
	[ -d ${DISTFILES}/ ] && cp -rp ${DISTFILES} ${CHROOTDIR}/usr/ports/distfiles
@


1.474
log
@Bitrot. Remove objlink as it is not pleasant to be downwind.

PR:		8071
Reviewed by:	Sheldon Hearn <sheldonh@@iafrica.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.473 1999/03/10 03:50:38 jkh Exp $
d215 2
@


1.473
log
@We don't use this anymore - nuke it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.472 1999/02/14 13:56:14 des Exp $
a241 1
	echo "make objlink"			>> ${CHROOTDIR}/mk
@


1.472
log
@Ignore errors from chflags. This makes it possible to make installworld
with DESTDIR set to an NFS-mounted file system.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.471 1999/02/10 09:15:27 jkh Exp $
d423 1
a423 1
release.8: write_mfs_in_kernel dumpnlist
a600 4

# Add -DDO_SCSI to CFLAGS to enable scsi frobbing support.
dumpnlist:	${.CURDIR}/dumpnlist.c
	${CC} ${CFLAGS} -o dumpnlist ${.CURDIR}/dumpnlist.c
@


1.471
log
@Install the correct rc.conf file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.470 1999/02/10 01:57:38 msmith Exp $
d519 1
a519 1
			chflags -R noschg ${RD}/trees/$${i} ; \
@


1.470
log
@The loader doesn't use '@@' to suppress command lines anymore.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.469 1999/02/06 06:51:30 jkh Exp $
d67 1
a67 1
BOOT1=	etc/protocols etc/rc.conf
@


1.469
log
@BASE=4.0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.468 1999/02/05 10:09:11 jkh Exp $
d664 5
a668 5
	@@echo "@@load /kernel" > ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "@@echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "@@read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "@@load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "@@boot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.468
log
@Bump MFS up to 2.88MB. Now there's room for quite a bit more stuff
(like a dhcp client?).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.467 1999/02/01 18:08:07 jkh Exp $
d17 1
a17 1
#BUILDNAME=2.2-RELEASE
d21 1
a21 1
BASE = 3.0
@


1.467
log
@Whoops, don't break the alpha release build in copying the boot
images - be smarter about it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.466 1999/01/31 12:38:19 jkh Exp $
d76 1
a76 1
MFSSIZE=		1440
d84 1
a84 1
MFSLABEL=		fd1440
a87 2
MFSSIZE=		2880
MFSLABEL=		minimum2
@


1.466
log
@Well, we've blown out boot.flp again.  Time to go to 2.88MB format
for those folks with large floppy drives, LS-120s or CDROMs.  Everyone
else will now have to use kern.flp & mfsroot.flp to install from.
We've held this off as long as possible and there's just no more fat
to trim. :(  I'll look at increasing the mfsroot size too later, depending
on how well it compresses.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.465 1999/01/31 03:53:55 jkh Exp $
d664 1
a664 1
	@@cp /boot/boot1 /boot/boot2 /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.465
log
@Be more selective about installing things from /boot; no telling
what might wind up there in the future to overflow us again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.464 1999/01/30 22:15:35 jkh Exp $
d77 1
d83 1
d459 1
a459 1
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot _MFSKERN=YES
d649 1
a649 1
	  sh ${.CURDIR}/scripts/dokern.sh ${_MFSKERN} < GENERIC > BOOTMFS
d653 1
a653 1
.if defined(_MFSKERN)
d665 1
a665 1
.if !defined(_MFSKERN) || ${MACHINE_ARCH} == "alpha"
d673 1
a673 1
.if defined(_MFSKERN)
d681 1
a681 1
.if defined(_MFSKERN)
d683 2
a684 2
		${RD} ${MNT} ${MFSSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${MFSLABEL}
@


1.464
log
@1. Install /boot/loader correctly on boot.flp

2. Back up old rc.conf.site if it exists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.463 1999/01/29 11:39:03 jkh Exp $
d662 1
a662 3
	@@cp /boot/* ${RD}/image.${FSIMAGE}/boot
	@@rm -f ${RD}/image.${FSIMAGE}/boot/netboot
	@@rm -f ${RD}/image.${FSIMAGE}/boot/loader.old
@


1.463
log
@More support for Alpha installs.

Submitted by:	dfr
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.462 1999/01/26 15:22:29 jkh Exp $
a659 1
.if !defined(_MFSKERN) || ${MACHINE_ARCH} == "alpha"
d664 2
a665 1

@


1.462
log
@OK, now the boot floppies work again.  Also collapse some common
build cases.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.461 1999/01/25 04:57:07 jkh Exp $
d76 1
d82 1
d86 2
d451 2
a452 2
	@@sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \
		${BOOTSIZE} ${RD}/mfsfd ${MFSINODE} ${BOOTLABEL}
d681 6
a686 1
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
d689 1
@


1.461
log
@Play with MFS size a little.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460 1999/01/20 23:24:06 jkh Exp $
a74 1
BOOTMFSSIZE=		1440
a79 1
BOOTMFSLABEL=		minimum
a85 1
BOOTMFSLABEL=		minimum2
d436 1
a436 1
	gzip -c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
d448 2
a449 2
		${BOOTMFSSIZE} ${RD}/mfsfd ${MFSINODE} ${BOOTMFSLABEL}
	@@gzip -vc mfsroot > mfsroot.gz
a669 8
	@@echo "Getting symbols from ${RD}/image.${FSIMAGE}/kernel for mfsroot"
	@@vnconfig /dev/${VNDEVICE} mfsroot
	@@mkdir -p /tmp/mnt_xx
	@@mount /dev/${VNDEVICE} /tmp/mnt_xx
	@@./dumpnlist ${RD}/image.${FSIMAGE}/kernel > /tmp/mnt_xx/stand/symbols
	@@umount /tmp/mnt_xx
	@@vnconfig -u /dev/${VNDEVICE}
	@@rmdir /tmp/mnt_xx
d674 1
a674 1
	@@gzip -v ${RD}/image.${FSIMAGE}/kernel
a676 5
.if defined(_MFSKERN)
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${BOOTMFSLABEL}
.else
a679 1
.endif
@


1.460
log
@Set JADETEX=no on ports build line.

Prompted by:	nik
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.459 1999/01/16 22:42:24 jkh Exp $
d81 1
a81 1
BOOTMFSLABEL=		minimum2
d88 1
@


1.460.2.1
log
@MFC: also copy the loader.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460 1999/01/20 23:24:06 jkh Exp $
d658 1
d663 1
a663 2
	@@rm -f ${RD}/image.${FSIMAGE}/boot/loader.old
.if !defined(_MFSKERN) || ${MACHINE_ARCH} == "alpha"
@


1.460.2.2
log
@MFC: be more selective in copying /boot contents.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.1 1999/01/30 22:16:11 jkh Exp $
d660 3
a662 1
	@@cp /boot/boot1 /boot/boot2 /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.460.2.3
log
@Adjust for new boot.flp size.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.466 1999/01/31 12:38:19 jkh Exp $
d75 1
a76 2
MFSSIZE=		1440
BIGBOOTSIZE=		2880
d81 1
a82 2
BIGBOOTLABEL=		minimum2
MFSLABEL=		fd1440
a85 2
MFSSIZE=		2880
MFSLABEL=		minimum2
d438 1
a438 1
	gzip -9c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
d449 3
a451 3
	sh -e ${.CURDIR}/scripts/doFS.sh -s mfsroot ${RD} ${MNT} \
		${MFSSIZE} ${RD}/mfsfd ${MFSINODE} ${MFSLABEL}
	@@gzip -9vc mfsroot > mfsroot.gz
d455 1
a455 1
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=boot BIGBOOT=YES
d645 1
a645 1
	  sh ${.CURDIR}/scripts/dokern.sh ${BIGBOOT} < GENERIC > BOOTMFS
d649 1
a649 1
.if defined(BIGBOOT)
d661 1
a661 1
.if !defined(BIGBOOT) || ${MACHINE_ARCH} == "alpha"
d669 9
a677 1
.if defined(BIGBOOT)
d682 1
a682 1
	@@gzip -9v ${RD}/image.${FSIMAGE}/kernel
d685 4
a688 4
.if defined(BIGBOOT)
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
		${RD} ${MNT} ${BIGBOOTSIZE} ${RD}/image.${FSIMAGE} \
		${BOOTINODE} ${BIGBOOTLABEL}
d690 1
a690 1
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD}/floppies/${FSIMAGE}.flp \
@


1.460.2.4
log
@MFC: smarter boot block copying.

Noticed by:	gpalmer
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.3 1999/01/31 13:55:03 jkh Exp $
d664 1
a664 1
	@@cp /boot/boot[12] /boot/loader ${RD}/image.${FSIMAGE}/boot
@


1.460.2.5
log
@MFC: bump mfs sizes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.4 1999/02/01 18:08:44 jkh Exp $
d76 1
a76 1
MFSSIZE=		2880
d84 1
a84 1
MFSLABEL=		minimum2
d88 2
@


1.460.2.6
log
@MFC: install correct rc.conf
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.5 1999/02/05 17:09:22 jkh Exp $
d67 1
a67 1
BOOT1=	etc/protocols etc/defaults/rc.conf
@


1.460.2.7
log
@MFC: don't use @@'s in loader scripts anymore.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.6 1999/02/10 09:15:41 jkh Exp $
d664 5
a668 5
	@@echo "load /kernel" > ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "read" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "boot" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
@


1.460.2.8
log
@MFC: Ignore errors from chflags.

Approved by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.7 1999/02/10 09:34:23 jkh Exp $
d519 1
a519 1
			chflags -R noschg ${RD}/trees/$${i} || true ; \
@


1.460.2.9
log
@MFC: nuke outdated mechanism
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.8 1999/02/14 14:09:43 des Exp $
d423 1
a423 1
release.8: write_mfs_in_kernel
d601 4
@


1.460.2.10
log
@don't use objlink
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.9 1999/03/10 03:51:15 jkh Exp $
d242 1
a242 1
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.460.2.11
log
@Change default release name from 3.0 to 3.1
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.10 1999/03/17 11:10:49 jkh Exp $
d21 1
a21 1
BASE = 3.1
@


1.460.2.12
log
@Make release would fail for lack of /etc/resolv.conf or $DISTFILES/
PR:	misc/9913
Submitted by:	YAMAMOTO Shigeru <shigeru@@bremen.or.jp>
Forgotton by:	sada
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.11 1999/04/03 20:54:00 gpalmer Exp $
d148 1
a148 3
	if [ -f /etc/resolv.conf ]; then \
		cp -p /etc/resolv.conf ${CHROOTDIR}/etc; \
	fi
d172 1
a172 3
	if [ -d ${DISTFILES}/ ]; then \
		cp -rp ${DISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
	fi
@


1.460.2.13
log
@Merge the serial console related tweaks from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.12 1999/05/01 07:45:31 sada Exp $
a664 1
	@@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
d668 1
a668 3
.endif
	@@echo "echo \\007\\007" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
	@@echo "autoboot 10" >> ${RD}/image.${FSIMAGE}/boot/loader.rc
a669 2
.if ${MACHINE_ARCH} == "i386"
	@@echo "-P" >> ${RD}/image.${FSIMAGE}/boot.config
@


1.460.2.14
log
@MFC: Enable MS-CHAP support.

pppd/Makefile:    1.12  -> 1.13
release/Makefile: 1.479 -> 1.480
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.13 1999/05/04 16:17:57 max Exp $
d332 1
a332 1
	for i in sbin/init bin/ed usr.sbin/ppp usr.sbin/pppd ; do \
@


1.460.2.15
log
@Turn on both compat22 and compat3x dists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.14 1999/05/07 04:29:12 jdp Exp $
d55 1
a55 1
COMPAT_DISTS?=	compat1x compat20 compat21 compat22 compat3x
@


1.460.2.16
log
@Remove the compat31 dist.

(What the hell is a RELENG_3 tagged src/release/ doing in my -CURRENT tree??)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.15 1999/05/09 16:56:53 obrien Exp $
d55 1
a55 1
COMPAT_DISTS?=	compat1x compat20 compat21 compat22
@


1.460.2.17
log
@MFC: support multiple archs
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.16 1999/05/09 16:58:39 obrien Exp $
d505 1
a505 1
	@@for i in ${DIST_DOCS}; do if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$$i ]; then cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; else cp ${.CURDIR}/texts/$${i} ${FD}; done; fi
@


1.460.2.18
log
@MFC: typo
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.17 1999/05/12 09:09:59 jkh Exp $
d505 1
a505 1
	@@for i in ${DIST_DOCS}; do if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$$i ]; then cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; else cp ${.CURDIR}/texts/$${i} ${FD}; fi; done
@


1.460.2.19
log
@MFC: exclude CVS files (this saves about 8,000 inodes).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.18 1999/05/13 02:50:57 jkh Exp $
d508 1
a508 1
	@@tar --exclude CVS -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
d536 1
a536 1
	  tar --exclude CVS -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
@


1.460.2.20
log
@We are in 3.2, not 3.1 now.

PR:		misc/11931
Submitted by:	Don Croyle <croyle@@gelemna.ft-wayne.in.us>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.19 1999/05/29 08:56:36 jkh Exp $
d21 1
a21 1
BASE = 3.2
@


1.460.2.21
log
@MFC: Add bits of PAO that are non-controversial.

Reviewed and tested by:	hosokawa, nyan, kuriyama
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.20 1999/05/30 22:36:44 billf Exp $
a27 11
PCCARD?=NO

.if ${PCCARD} == "YES"
CARDDEV=card0 card1 card2 card3
KERNCONF=PCCARD
.else
CARDDEV=
KERNCONF=GENERIC
.endif


d253 1
a253 1
	rm -rf boot_crunch ${.OBJDIR}/boot_crunch.conf release.[0-9]
a310 5
.if ${PCCARD} == "YES"
	cp ${.CURDIR}/boot_crunch.conf.pccard ${.OBJDIR}/boot_crunch.conf
.else
	cp ${.CURDIR}/boot_crunch.conf.generic ${.OBJDIR}/boot_crunch.conf
.endif
d319 1
a319 4
		  ( ( [ -f ${.CURDIR}/$${j}_crunch.conf ] && \
		    crunchgen ${.CURDIR}/$${j}_crunch.conf ) || \
		    ( [ -f ${.OBJDIR}/$${j}_crunch.conf ] && \
		    crunchgen ${.OBJDIR}/$${j}_crunch.conf ) ) && \
d435 1
a435 1
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \
a437 3
.if ${PCCARD} == "YES"
	cp ${.CURDIR}/../etc/pccard.conf.sample ${RD}/mfsfd/etc/pccard.conf
.endif
d622 3
a624 9
	@@if [ -f ${.OBJDIR}/${CRUNCH}_crunch.conf ] ; then \
		for i in `crunchgen -l ${.OBJDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	else \
		for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
			ln -f ${DIR}/${CRUNCH}_crunch ${DIR}/$$i ; \
		done \
	fi
d647 1
a647 1
	  sh ${.CURDIR}/scripts/dokern.sh ${BIGBOOT} < ${KERNCONF} > BOOTMFS
@


1.460.2.22
log
@MFC: Make release makes PC-card boot.flp automatically.
     Exclude CHECKSUM.MD5 itself from CHECKSUM.MD5 in PC-card floppy
       directory.
     Added a short README to PC-card boot.flp directory.

Reviewed and tested by:	hosokawa, nyan, kuriyama
Approved by:		jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.460.2.21 1999/08/13 16:00:21 kuriyama Exp $
a137 4
.if ${MACHINE_ARCH} == "i386"
# Make both PC-card boot.flp and plain boot.flp
EXTRAS= floppies cdrom.1 ftp.1
.else
a138 1
.endif
a272 3
.if ${MACHINE_ARCH} == "i386"
	mkdir ${RD}/floppies/pccard
.endif
d516 1
a516 5
	@@(cd ${RD}/floppies; md5 README.TXT *.flp > CHECKSUM.MD5)
.if ${MACHINE_ARCH} == "i386"
	@@cp ${.CURDIR}/texts/PCCARD.TXT ${RD}/floppies/pccard/README.TXT
	@@(cd ${RD}/floppies/pccard; md5 *.flp > CHECKSUM.MD5)
.endif
a612 5
.if ${MACHINE_ARCH} == "i386"
	@@cd ${.CURDIR} && ${MAKE} PCCARD=YES boot.flp
	mv ${RD}/floppies/boot.flp ${RD}/floppies/kern.flp \
		${RD}/floppies/mfsroot.flp ${RD}/floppies/pccard
.endif
@


1.460.2.23
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.460.2.24
log
@MFC: changes for DHCP support, some updates to docs (NOTE:  I've merged
the USB and ISDN sections more or less unchanged; if there are still
significant differences between the support in -current and the support
currently in -stable for either of these families of devices, please let
me know to adjust the docs.  I don't follow either the USB or ISDN efforts
closely enough to know for sure!).
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.23 1999/08/29 15:52:17 peter Exp $
a234 2
.else
	echo "export DOC_LANG=en_US.ISO_8859-1"	>> ${CHROOTDIR}/mk
d262 1
d302 1
a302 1
.if exists(${.CURDIR}/../kerberosIV) && exists(${.CURDIR}/../crypto) && !defined(NOKERBEROS)
a430 1
.if exists(${RD}/dists/des)
a434 1
.endif
d462 1
a462 1
		ls console tty bpf0 ttyv0 ttyv1 ttyv2 ttyv3 null zero ${CARDDEV} | \
a464 2
	( cd ${RD}/mfsfd && mkdir -p bin sbin && ln -s /stand/sh bin/sh )
	cp /sbin/dhclient-script ${RD}/mfsfd/sbin
d539 1
a539 7
	@@for i in ${DIST_DOCS}; do \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${FD}; \
          else \
	     cp ${.CURDIR}/texts/$${i} ${FD}; \
	  fi; \
        done
d566 1
a566 7
	@@for i in ${DIST_DOCS}; do \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     cp ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ${CD_DISC1}; \
          else \
	     cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
	  fi; \
        done
d580 1
a580 1
	@@cd /usr/doc && make all install 'FORMATS=html html-split txt' INSTALL_COMPRESSED='' DOCDIR=${RD}/trees/bin/usr/share/doc
d682 2
a683 2
			make  ${KERNEL} && \
			cp ${KERNEL} ${RD}/kernels/${KERNEL}
@


1.460.2.25
log
@Back out the ${KERNEL} change - it's messier in its implications than
I thought.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.24 1999/09/04 08:46:21 jkh Exp $
d699 2
a700 2
			make  kernel && \
			cp kernel ${RD}/kernels/${KERNEL}
@


1.460.2.26
log
@MFC: fix path-ological bug with docs.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.25 1999/09/05 21:06:10 jkh Exp $
d480 2
a481 7
	@@for i in README.TXT RELNOTES.TXT INSTALL.TXT UPGRADE.TXT HARDWARE.TXT; do \
	  if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
	     gzip -9c ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; \
	  else \
	     gzip -9c ${.CURDIR}/texts/$${i} > ${RD}/mfsfd/stand/help/$${i}.gz; \
	  fi; \
	done
@


1.460.2.27
log
@MFC: Allow patch flags
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.26 1999/09/06 03:34:04 jkh Exp $
d180 1
a180 1
	cd ${CHROOTDIR}/usr/src && patch ${PATCH_FLAGS} < ${LOCAL_PATCHES}
@


1.460.2.28
log
@Fix up a few small bogons I noticed while I was in here during -release.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.27 1999/09/07 20:51:36 jkh Exp $
d110 3
a112 4
_R=			/R
RD=			${_R}/stage
FD=			${_R}/ftp
CD=			${_R}/cdrom
d161 1
a161 1
	mkdir -p ${CHROOTDIR}
d248 1
a248 1
	echo "export RELEASEDIR=${_R}"		>> ${CHROOTDIR}/mk
d272 1
a272 1
# Clean out ${_R} and make the directory structure.
d274 3
a276 3
	mkdir -p ${_R}
	-chflags -R noschg ${_R}/.
	rm -rf ${_R}/*
d432 2
a433 1
	( test -d ${RD}/dists/des && cd ${RD}/dists/src && \
d437 1
@


1.460.2.29
log
@MFC: less chat
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.28 1999/09/17 09:31:46 jkh Exp $
d158 1
a158 1
	-rm -rf ${CHROOTDIR} 2>/dev/null
a275 1
	rm -rf ${_R}/* 2> /dev/null
@


1.460.2.30
log
@MFC: allow rm to return nonzero status.
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.29 1999/09/19 07:47:58 jkh Exp $
d276 1
a276 1
	-rm -rf ${_R}/* 2> /dev/null
@


1.460.2.31
log
@MFC: include loader.help
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.30 1999/10/02 09:28:50 jkh Exp $
a489 1
	@@cp /boot/loader.help ${RD}/mfsfd/boot
@


1.460.2.32
log
@MFC: 1.537 (use release tags for ports and doc trees)
@
text
@d1 1
a1 1
# $FreeBSD: src/release/Makefile,v 1.460.2.31 1999/12/16 00:59:58 jkh Exp $
a26 11
#
# Non-zero if ${RELEASETAG} is in the form "RELENG_ver_RELEASE"; we
# are building an official release.  Otherwise, we are building for
# a branch.
.if defined(RELEASETAG)
ISRELEASE!=	expr ${RELEASETAG} : '^RELENG_.*_RELEASE$$' || true
.if ${ISRELEASE} != 0
# Convert "RELENG_ver_RELEASE" to "RELEASE_ver" for ports and doc trees.
AUXRELEASETAG!=	echo ${RELEASETAG} | sed -e 's/^RELENG_/RELEASE_/' -e 's/_RELEASE$$//'
.endif
.endif
a186 3
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
.else
a188 1
.endif
a189 3
.if defined(AUXRELEASETAG)
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P -r ${AUXRELEASETAG} ${RELEASEDOCMODULE}
.else
a190 1
.endif
@


1.459
log
@More floppy size adjustments - I thought I'd already committed these, whoops!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.458 1999/01/14 15:36:53 abial Exp $
d538 1
a538 1
	  cd /usr/ports/$$i && make all install clean FORCE_PKG_REGISTER=yes; \
@


1.458
log
@(Fix null log in previous commit).

Change /boot/boot.conf to /boot/loader.rc - this name reflects what it
really is.

Agreed upon by:	jkh, msmith and many others
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.457 1999/01/13 21:56:58 abial Exp $
d75 1
a75 1
BOOTMFSSIZE=		2880
@


1.457
log
@*** empty log message ***
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.456 1999/01/12 15:37:19 joerg Exp $
d663 1
@


1.456
log
@Allow chflags(1) to fail inside the chroot environment for /R.  This
can happen iff ${CHROOTDIR} is NFS-mounted.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.455 1999/01/11 00:54:00 jkh Exp $
d663 5
a667 5
	@@echo "@@load /kernel" > ${RD}/image.${FSIMAGE}/boot/boot.conf
	@@echo "@@echo Please insert MFS root floppy and press enter:" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
	@@echo "@@read" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
	@@echo "@@load -t mfs_root /mfsroot" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
	@@echo "@@boot" >> ${RD}/image.${FSIMAGE}/boot/boot.conf
@


1.455
log
@Try some new floppy sizes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.454 1999/01/10 21:31:37 rnordier Exp $
d252 1
a252 1
	chflags -R noschg /R/.
d284 1
a284 1
	chflags -R noschg ${RD}/trees
@


1.454
log
@No longer install obsolete boot.help file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.453 1999/01/09 19:14:22 gpalmer Exp $
a73 1
.if ${MACHINE_ARCH} == "i386"
d75 1
a75 1
BOOTMFSSIZE=		1440
d81 1
a81 1
BOOTMFSLABEL=		minimum
d83 3
a85 3
.else
BOOTSIZE=		1440
BOOTMFSSIZE=		2880
a86 5
BOOTINODE=		80000
MFSINODE=		40000
FIXITINODE=		2000
BOOTLABEL=		fd1440
BOOTMFSLABEL=		minimum2
@


1.453
log
@Really delete the netboot image off the alpha floppy. I think Jordan
got his paths confused :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.452 1999/01/09 00:32:00 jkh Exp $
a431 3
.if ${MACHINE_ARCH} == "i386"
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/mfsfd/stand
.endif
a689 4
.if ${MACHINE_ARCH} == "i386"
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/image.${FSIMAGE}
	@@printf \\a\\a\\a >> ${RD}/image.${FSIMAGE}/boot.help
.endif
@


1.452
log
@Adios, kzip - you don't work on ELF kernels.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.451 1999/01/08 05:33:11 jkh Exp $
d671 1
a671 1
	@@rm -f ${RD}/boot.${FSIMAGE}/boot/netboot
@


1.451
log
@Copy only the boot1 and boot2 (if exists) files into mfs/boot since
we don't need the others there.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.450 1999/01/08 00:33:21 jkh Exp $
a690 6
.if ${MACHINE_ARCH} == "alpha"
	@@gzip -v ${RD}/image.${FSIMAGE}/kernel
	@@mv ${RD}/image.${FSIMAGE}/kernel.gz ${RD}/image.${FSIMAGE}/kernel.gz
.else
	@@kzip -v ${RD}/image.${FSIMAGE}/kernel
	@@mv ${RD}/image.${FSIMAGE}/kernel.kz ${RD}/image.${FSIMAGE}/kernel
a691 2
.else
	@@echo "Using gzip'd kernel for ${FSIMAGE}"
a692 1
.endif
@


1.450
log
@DTRT with gzip'd alpha kernels.

Submitted by:	dfr
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.449 1999/01/06 19:18:45 jkh Exp $
d451 2
a452 1
	@@cp -r /boot ${RD}/mfsfd
@


1.449
log
@copy resolv.conf to chroot area.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.448 1999/01/06 13:55:04 peter Exp $
d451 1
d670 1
d687 1
a687 1
	@@echo "Writing MFS image into kzip kernel for ${FSIMAGE} floppy"
d690 4
d696 1
@


1.448
log
@Remove some remaining references to LKM's.  Snaps were trying to unpack
slkm* etc, among other things.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.447 1999/01/05 17:03:49 jkh Exp $
d152 1
@


1.447
log
@Whoops, missed an instance of the old image naming.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.446 1999/01/05 03:53:14 jkh Exp $
a287 6
.endif
	# XXX until lkm and gets populated again by some other means
.if ${MACHINE_ARCH} == "i386"
	cd ${.CURDIR}/.. && OBJFORMAT=aout MAKEOBJDIRPREFIX=/usr/obj/aout \
		NOTOOLS=1 NOSECURE=1 NOCRYPT=1 \
		make -f Makefile.inc1 legacy-install DESTDIR=${RD}/trees/bin
@


1.446
log
@Remove legacy boot.config file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.445 1999/01/05 03:44:08 jkh Exp $
d525 1
a525 1
	@@ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel
@


1.445
log
@Hammer on the boot floppy generation bits some more.  This is looking
a little better.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.444 1999/01/05 02:35:38 jkh Exp $
a678 1
	@@echo "/boot/loader" >${RD}/image.${FSIMAGE}/boot.config
@


1.444
log
@Fix bogon in docfile placement.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.443 1999/01/05 02:09:29 jkh Exp $
d457 2
a458 2
	tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall help | \
		tar xvf - -C ${RD}/mfsfd/stand
d461 6
a466 10
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} \
		${RD}/mfsfd ${MFSINODE} ${BOOTMFSLABEL}
	@@mv fs-image fs-image.std
	@@mv fs-image.size fs-image.std.size
	@@gzip -c fs-image.std > mfsroot.gz
	@@sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${BOOTSIZE} \
		mfsroot.gz ${BOOTINODE} ${BOOTLABEL}
	mv fs-image ${RD}/floppies/mfsroot.flp
	@@rm -f mfsroot.gz fs-image.size
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=kern 
d468 1
d476 4
a479 3
	rm -rf ${RD}/fixitfd
	mkdir ${RD}/fixitfd
	cd ${RD}/fixitfd && \
d484 1
a484 1
	( cd ${RD}/fixitfd/dev && \
d488 1
a488 1
	cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \
d490 1
a490 1
	cp ${RD}/trees/bin/usr/share/misc/scsi_modes \
d492 6
a497 7
	cp ${.CURDIR}/fixit.profile ${RD}/fixitfd/.profile
	cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
	cp ${.CURDIR}/scripts/tar.sh ${RD}/fixitfd/stand/tar
	chmod 555 ${RD}/fixitfd/stand/tar
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${FIXITSIZE} \
		${RD}/fixitfd ${FIXITINODE} ${FIXITLABEL}
	mv fs-image ${RD}/floppies/fixit.flp
d499 1
a499 1
	cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT
d507 6
a512 5
	mkdir -p ${FD}
	cd ${RD} && find floppies -print | cpio -dumpl ${FD}
	cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
	for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${FD}; done
	echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
d514 1
a514 1
	tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
d521 6
a526 5
	mkdir -p ${CD_DISC1} ${CD_DISC2}
	cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
	cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel
	for i in ${DISTRIBUTIONS} ; \
d534 5
a538 5
	rm -f ${CD_DISC2}/.profile
	cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; done
d540 2
a541 2
	-rm -rf /usr/ports/distfiles/*
	mkdir -p ${CD_DISC1}/ports && \
d548 2
a549 1
	for i in ${DOCPORTS}; do \
d552 1
a552 1
	cd /usr/doc && make all distribute DISTDIR=${RD}/trees
d567 3
a569 3
	rm -rf ${RD}/dists/${TD}/${TN}*
	mkdir -p ${RD}/dists/${TD}
	( cd ${SD} && \
d593 1
a593 1
	cd ${.CURDIR} && ${MAKE} ${EXTRAS}
d597 3
a599 3
	cd ${.CURDIR} && ${MAKE} boot.flp
	cd ${.CURDIR} && ${MAKE} fixit.flp
	cd ${RD} && find floppies -print | cpio -dumpl ${FD}
d602 2
a603 2
	rm -f release.4 release.8
	cd ${.CURDIR} && ${MAKE} release.4 release.8 CRUNCH_TARGETS=boot
d606 2
a607 2
	rm -f release.4 release.9
	cd ${.CURDIR} && ${MAKE} release.4 release.9 CRUNCH_TARGETS=fixit
d626 1
a626 1
	if ${ZIP} ; then \
d631 2
a632 2
	chmod 555 ${DIR}/${CRUNCH}_crunch
	for i in `crunchgen -l ${.CURDIR}/${CRUNCH}_crunch.conf` ; do \
d643 3
a645 3
	rm -f ${RD}/kernels/${KERNEL}
	cd ${.CURDIR}/../sys/${MACHINE_ARCH}/conf && config ${KERNEL}
	cd ${.CURDIR}/../sys/compile/${KERNEL} && \
d654 1
d662 1
a662 1
	@@echo "options \"MFS_ROOT_SIZE=`cat fs-image.${FSIMAGE}.size`\"" >> \
d665 1
a665 1
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
d669 1
a669 1
	@@mv ${RD}/kernels/BOOTMFS ${RD}/image.${FSIMAGE}/kernel
d671 1
d682 3
a684 1
	@@vnconfig /dev/${VNDEVICE} fs-image.${FSIMAGE}
d687 1
a687 1
	./dumpnlist ${RD}/image.${FSIMAGE}/kernel > /tmp/mnt_xx/stand/symbols
d691 2
a692 2
.if defined(_MFSKERN)
	./write_mfs_in_kernel ${RD}/image.${FSIMAGE}/kernel fs-image.${FSIMAGE}
d694 1
a694 1
	kzip -v ${RD}/image.${FSIMAGE}/kernel
d697 2
a698 1
	gzip -v ${RD}/image.${FSIMAGE}/kernel
d707 3
a709 2
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} \
		${RD}/image.${FSIMAGE} ${BOOTINODE} ${BOOTMFSLABEL}
d711 3
a713 2
	sh -e ${.CURDIR}/scripts/doFS.sh ${RD} ${MNT} ${BOOTSIZE} \
		${RD}/image.${FSIMAGE} ${BOOTINODE} ${BOOTLABEL}
d715 1
a715 1
	mv fs-image ${RD}/floppies/${FSIMAGE}.flp
@


1.443
log
@Conditionalize make world in release.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.442 1999/01/05 01:58:44 jkh Exp $
a458 1
	@@cp ${.CURDIR}/texts/*.TXT ${RD}/mfsfd/stand
d460 1
a460 1
	@@gzip -9 ${RD}/mfsfd/stand/help/*.hlp ${RD}/mfsfd/stand/help/*.TXT
@


1.442
log
@Do some serious beating on the floppy generation code to try and
simplify it, name things more descriptively and get the kernel back
on boot.flp where it should be.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.441 1999/01/03 02:18:55 jkh Exp $
a136 10
REDO?=		sysinstall
REDOSED=	sed -e 's/dirs/release.1/' -e 's/trees/release.2/' \
		    -e 's/kerns/release.3/' -e 's/sysinstall/release.4/' \
		    -e 's/fixup/release.5/' -e 's/tarbin/release.6/' \
		    -e 's/tarsrc/release.7/' -e 's/boot\.flp/release.8/' \
		    -e 's/fixit\.flp/release.9/' -e 's/ftp/ftp.1/' \
		    -e 's/cdrom/cdrom.1/' -e 's/doc/doc.1/'

REDOREDO!=	echo ${REDO} | ${REDOSED}

d231 2
a232 1
	echo "cd /usr/src"			>> ${CHROOTDIR}/mk
d234 2
a235 2
	echo "(cd etc; make distrib-dirs distribution)" >> ${CHROOTDIR}/mk
	echo "make world"			>> ${CHROOTDIR}/mk
d238 1
a238 1
	echo "make all install"			>> ${CHROOTDIR}/mk
d240 2
a245 1
	echo "(cd obj; rm -f ${REDOREDO})"	>> ${CHROOTDIR}/mk
@


1.441
log
@Clean up some more residual /usr/mdec references.  I left all the
extra rbootd/boot rom cruft pointing at /usr/mdec since it either
doesn't exist or doesn't work anyway, so who cares? :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.440 1998/12/29 07:27:55 jkh Exp $
a73 1
# These are adjusted down to the minimum needed by doFS.sh.
d467 1
d469 1
a469 1
	@@gzip -9 ${RD}/mfsfd/stand/help/*.hlp
d472 1
a472 1
	@@cp fs-image fs-image.std
d474 1
a474 1
	@@gzip -c fs-image > mfsroot.gz; rm fs-image
d479 2
a480 4
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/kern.flp
	@@cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std _MFSKERN=YES
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/boot.flp
d674 4
a677 4
	@@rm -rf ${RD}/boot.${FSIMAGE}
	@@mkdir  ${RD}/boot.${FSIMAGE}
	@@mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
d679 9
a687 9
	@@mkdir -p ${RD}/boot.${FSIMAGE}/boot
	@@cp /boot/* ${RD}/boot.${FSIMAGE}/boot
	@@echo "@@load /kernel" > ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "@@echo Please insert MFS root floppy and press enter:" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "@@read" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "@@load -t mfs_root /mfsroot" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "@@boot" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "/boot/loader" >${RD}/boot.${FSIMAGE}/boot.config
	@@touch ${RD}/boot.${FSIMAGE}/boot/loader.config
d692 1
a692 1
	./dumpnlist ${RD}/boot.${FSIMAGE}/kernel > /tmp/mnt_xx/stand/symbols
d697 6
a702 2
	./write_mfs_in_kernel ${RD}/boot.${FSIMAGE}/kernel \
		fs-image.${FSIMAGE}
d705 2
a706 5
.if defined (_MFSKERN)
	kzip -v ${RD}/boot.${FSIMAGE}/kernel
	@@mv ${RD}/boot.${FSIMAGE}/kernel.kz ${RD}/boot.${FSIMAGE}/kernel
.else
	gzip -c ${RD}/boot.${FSIMAGE}/kernel > ${RD}/boot.${FSIMAGE}/kernel.gz
d708 2
a709 11
	@@mv ${RD}/boot.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/boot.${FSIMAGE}
.else
	@@cp ${RD}/boot.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
	gzip -v ${RD}/boot.${FSIMAGE}/kernel
	@@mv ${RD}/boot.${FSIMAGE}/kernel.gz ${RD}/boot.${FSIMAGE}/kernel.gz
.endif
	@@printf \\a\\a\\a >> ${RD}/boot.${FSIMAGE}/boot.help
	@@touch ${RD}/boot.${FSIMAGE}/boot.config
	@@touch ${RD}/boot.${FSIMAGE}/kernel.config
	@@rm -f ${RD}/floppies/boot${FSIMAGE}.flp
d712 1
a712 1
		${RD}/boot.${FSIMAGE} ${BOOTINODE} ${BOOTMFSLABEL}
d715 1
a715 1
		${RD}/boot.${FSIMAGE} ${BOOTINODE} ${BOOTLABEL}
d717 1
a717 1
	mv fs-image ${RD}/floppies/boot${FSIMAGE}.flp
@


1.440
log
@gzip the kern.flp kernel, don't kzip it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.439 1998/12/24 08:55:05 jkh Exp $
d298 1
a298 1
	# XXX until lkm and mdec gets populated again by some other means
d494 1
a494 1
		usr/share/misc usr/mdec
a504 5
	cp ${RD}/trees/bin/usr/mdec/boot[12] ${RD}/fixitfd/usr/mdec
	for type in fd od sd wd ; do \
		( cd ${RD}/fixitfd/usr/mdec && ln -s boot1 $${type}boot && \
			ln -s boot2 boot$${type} ) ; \
	done
a537 3
.if ${MACHINE_ARCH} != "alpha"
	ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD_DISC1}
.endif
@


1.439
log
@Turn off NODOC again; apparently this problem was fixed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.438 1998/12/24 04:28:25 jkh Exp $
d711 1
d713 4
a717 1
	@@mv ${RD}/boot.${FSIMAGE}/kernel.kz ${RD}/boot.${FSIMAGE}/kernel
@


1.438
log
@Turn NODOCS on for now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.437 1998/12/21 17:34:33 jkh Exp $
d40 1
a40 1
NODOC=  YES
@


1.437
log
@Just fetch distfiles from a single location.  The change to textproc/docproj
broke my fetch heuristic anyway.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.436 1998/12/18 05:13:01 jkh Exp $
d40 1
a40 1
#NODOC=  YES
@


1.436
log
@Now that textproc/docproj works properly, use it instead of the long
list of ports.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.435 1998/12/09 15:11:11 jkh Exp $
d46 2
d186 1
a186 4
	cd ${CHROOTDIR}/usr/ports && for i in ${DOCPORTS}; do \
	  (cd $$i; make fetch MASTER_SITE_OVERRIDE=file:/usr/ports/distfiles/ \
	    DISTDIR=${CHROOTDIR}/usr/ports/distfiles ); \
        done
@


1.435
log
@Don't create unpacked ports on disc2 anymore.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.434 1998/12/08 00:14:51 jkh Exp $
d44 2
a45 3
ALLLANG= yes
DOCPORTS= archivers/unzip textproc/jade textproc/iso8879 \
          textproc/linuxdoc textproc/docbook textproc/sgmlformat
@


1.434
log
@DOH!  Name the mfsroot contents properly.

Noticed by:	"Sean O'Connell" <sean@@stat.Duke.EDU>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.433 1998/12/06 04:06:38 jkh Exp $
d563 1
a563 2
	tar -cBf - -C /usr ports | tar xBpf - -C ${CD_DISC2} && \
	  mkdir -p ${CD_DISC1}/ports && \
d565 2
a566 3
	  cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
	ln -s ../ports ${CD_DISC2}/usr/ports
@


1.433
log
@Put mfsroot.gz on yet another filesystem so that the boot blocks
can really read it.  Hmm.  I have no idea *how* this worked in our
earlier tests on the x86. :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.432 1998/12/06 00:05:42 jkh Exp $
d476 1
a476 1
	@@gzip fs-image
d478 1
a478 1
		fs-image.gz ${BOOTINODE} ${BOOTLABEL}
d480 1
a480 1
	@@rm -f fs-image.gz fs-image.size
@


1.432
log
@Now that John has kindly repo-moved these files, nuke the original
copies and update the Makefile.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.431 1998/11/24 00:17:50 jkh Exp $
d474 8
a481 4
	mv fs-image fs-image.std
	mv fs-image.size fs-image.std.size
	gzip -c fs-image.std > ${RD}/floppies/mfsroot.gz
	cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std
d483 1
a483 1
	cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std _MFSKERN=YES
@


1.431
log
@Finally eliminate evil version.h smashing in sysinstall.  sysinstall
gets the initial release information from sysctl.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.430 1998/11/12 20:40:45 jkh Exp $
d472 1
a472 1
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} \
d510 1
a510 1
	cp ${.CURDIR}/tar.sh ${RD}/fixitfd/stand/tar
d512 1
a512 1
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FIXITSIZE} \
d593 1
a593 1
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > \
d725 1
a725 1
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} \
d728 1
a728 1
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTSIZE} \
@


1.430
log
@Simplify call to dokern.sh - now the no MFS case is the default.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.429 1998/11/11 08:46:52 jkh Exp $
d209 1
a209 5
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh&& rm foo )
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && \
	  mv version.h.new version.h && \
	  echo XXXX )
@


1.429
log
@We've overflowed boot.flp again.  Go to a boot.flp which contains
a bit less legacy hardware support, that all still remaining a supported
option with kern.flp (and a two-floppy install).  This will be documented
in the release notes, I promise.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.428 1998/11/08 20:47:57 jkh Exp $
d679 1
a679 1
	  sh ${.CURDIR}/scripts/dokern.sh ${_MFSKERN-NO} < GENERIC > BOOTMFS
@


1.428
log
@Whoops, properly compress doc files again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.427 1998/11/06 17:29:08 jkh Exp $
a677 1
	@@rm -f /sys/compile/BOOTMFS/mfs_vfsops.o
d679 1
a679 16
	  sed	-e '/pty/d' \
		-e '/pass0/d' \
		-e '/apm0/d' \
		-e '/ft0/d' \
		-e '/ppp/d' \
		-e '/gzip/d' \
		-e '/PROCFS/d' \
		-e '/SYSVSHM/d' \
		-e '/KTRACE/d' \
		-e '/MATH_EMULATE/d' \
		-e 's/GENERIC/BOOTMFS/g' \
		-e '/maxusers/s/32/4/' < GENERIC > BOOTMFS && \
	  echo "options  NFS_NOSERVER" >> BOOTMFS && \
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options  SCSI_NO_OP_STRINGS" >> BOOTMFS && \
	  echo "options  SCSI_NO_SENSE_STRINGS" >> BOOTMFS
@


1.427
log
@TEST -> test
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.426 1998/11/06 16:50:51 jkh Exp $
d469 1
a469 1
	   cp ${.CURDIR}/texts/$${i} ${RD}/mfsfd/stand/help; done
@


1.426
log
@Alpha loader lives in /boot now; no need for a special hack.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.425 1998/11/03 21:09:11 msmith Exp $
d470 1
a470 1
	-TEST -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
@


1.425
log
@USERCONFIG_BOOT -> INTRO_USERCONFIG
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.424 1998/11/03 03:36:34 jkh Exp $
a709 3
.if ${MACHINE_ARCH} == "alpha"
	@@cp /usr/mdec/loader ${RD}/boot.${FSIMAGE}/boot
.else
a710 1
.endif
@


1.424
log
@Copy appropriate docs into help/ directory of boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.423 1998/11/03 03:31:22 jkh Exp $
d697 1
a697 1
	@@echo "options  USERCONFIG_BOOT" >> ${.CURDIR}/../sys/i386/conf/BOOTMFS
@


1.423
log
@Use the new doc locations.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.422 1998/10/22 04:58:38 gpalmer Exp $
d468 3
a470 1
	-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
@


1.422
log
@s/boot2/loader/ on the alpha
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.421 1998/10/16 10:17:29 jkh Exp $
d48 3
d518 1
a518 1
	cp ${.CURDIR}/README.TXT ${RD}/floppies/README.TXT
d529 1
a529 10
	cp ${.CURDIR}/ABOUT.TXT ${FD}/ABOUT.TXT
	cp ${.CURDIR}/ERRATA.TXT ${FD}/ERRATA.TXT
	cp ${.CURDIR}/LAYOUT.TXT ${FD}/LAYOUT.TXT
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${FD}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${FD}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${FD}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${FD}/RELNOTES.TXT
	cp ${.CURDIR}/sysinstall/help/trouble.hlp ${FD}/TROUBLE.TXT
	cp ${.CURDIR}/sysinstall/help/upgrade.hlp ${FD}/UPGRADE.TXT

d558 1
a558 10
	cp ${.CURDIR}/ABOUT.TXT ${CD_DISC1}/ABOUT.TXT
	cp ${.CURDIR}/ERRATA.TXT ${CD_DISC1}/ERRATA.TXT
	cp ${.CURDIR}/LAYOUT.TXT ${CD_DISC1}/LAYOUT.TXT
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${CD_DISC1}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${CD_DISC1}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${CD_DISC1}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${CD_DISC1}/RELNOTES.TXT
	cp ${.CURDIR}/sysinstall/help/trouble.hlp ${CD_DISC1}/TROUBLE.TXT
	cp ${.CURDIR}/sysinstall/help/upgrade.hlp ${CD_DISC1}/UPGRADE.TXT

@


1.421
log
@Use the same boot.conf file for alpha, now that it works.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.420 1998/10/15 11:12:40 jkh Exp $
d724 1
a724 1
	@@cp /usr/mdec/boot2 ${RD}/boot.${FSIMAGE}/boot
@


1.420
log
@More attempts to DTRT for the alpha, based on what I now know about boot2.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.419 1998/10/14 10:58:12 jkh Exp $
d727 1
a734 1
.endif
@


1.419
log
@Use more rational inode sizes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.418 1998/10/14 02:13:45 jkh Exp $
d721 1
a721 1
.if exists(/boot/loader) && !defined(_MFSKERN)
d723 3
a731 1
.if ${MACHINE_ARCH} != "alpha"
a734 2
.elif defined(BOOT_CONFIG)
	@@echo "${BOOT_CONFIG}" >${RD}/boot.${FSIMAGE}/boot.config
@


1.418
log
@Fix more bogons revealed by building alpha boot floppies.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.417 1998/10/13 21:37:30 jkh Exp $
d75 1
a75 1
BOOTINODE=		1000000
d85 1
a85 1
BOOTINODE=		1000000
d88 1
a88 1
BOOTLABEL=		minimum2
@


1.417
log
@whoops, correct patch-o in last commit.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.416 1998/10/13 21:36:13 jkh Exp $
d761 4
d767 1
@


1.416
log
@More alpha patches.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.415 1998/10/13 21:09:42 jkh Exp $
a750 1
.if ${MACHINE_ARCH} == "i386"
@


1.415
log
@Properly conditionalize more stuff for the ALPHA.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.414 1998/10/13 02:32:43 jdp Exp $
d88 1
a88 1
BOOTLABEL=		fd1440
d714 1
a714 1
	  ${.CURDIR}/../sys/i386/conf/BOOTMFS
d747 1
d753 4
@


1.414
log
@Update comment.  The release tree needs about 1000 MB of free space
now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.413 1998/10/10 08:15:38 jkh Exp $
d86 1
a86 1
MFSINODE=		8000
d449 1
d451 1
d692 1
a692 1
	@@cd ${.CURDIR}/../sys/i386/conf && \
d708 4
a711 2
	  echo "options  SCSI_NO_SENSE_STRINGS" >> BOOTMFS && \
	  echo "options  USERCONFIG_BOOT" >> BOOTMFS
d750 1
d752 1
@


1.413
log
@Adjust for new MFS root code.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.412 1998/10/09 07:07:55 jkh Exp $
d6 1
a6 1
# filesystem with at least 600MB of free space, "somename" is what
@


1.412
log
@Small refinements to boot script.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.411 1998/10/09 06:28:28 jkh Exp $
a702 2
	  echo "options  MFS" >> BOOTMFS && \
	  echo "options	 MFS_ROOT" >> BOOTMFS && \
@


1.411
log
@Initialize boot configuration files on floppy correctly.  We now
support 3 kinds of floppies:  boot+mfs (standard), boot, mfs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.410 1998/10/08 10:18:55 jkh Exp $
d722 5
a726 5
	@@echo "load /kernel" > ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "echo Please insert MFS root floppy and press enter." >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "read" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "load -t mfs_root /mfsroot" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
	@@echo "boot" >> ${RD}/boot.${FSIMAGE}/boot/boot.conf
d729 1
@


1.410
log
@Finally settle on a name for the mfsroot image.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.409 1998/10/08 10:02:28 jkh Exp $
d719 1
a720 1
.if exists(/boot/loader) && !defined(_MFSKERN)
d722 7
d730 1
a730 1
.if defined(BOOT_CONFIG)
@


1.409
log
@Only install boot blocks if !MFSKERN.  Too big otherwise!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.408 1998/10/08 09:53:32 jkh Exp $
d473 1
a473 1
	gzip -c fs-image.std > ${RD}/floppies/mfsroot
@


1.408
log
@Add boot bits to boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.407 1998/10/08 09:06:16 jkh Exp $
d720 1
a720 1
.if exists(/boot/loader)
@


1.407
log
@Final cleanup pass over boot floppy changes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.406 1998/10/08 07:12:37 jkh Exp $
d719 4
@


1.406
log
@Remove a gratuitous copy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.405 1998/10/07 22:58:22 jkh Exp $
d71 1
a71 1
.if ${MACHINE_ARCH} == "386"
d473 1
a473 1
	gzip -c fs-image.std > ${RD}/floppies/mfsroot.img
d475 1
a475 1
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/bootkern.flp
d477 1
a477 4
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/bootmfs.flp
.if ${MACHINE_ARCH} != "alpha"
	ln -fs ${RD}/floppies/bootmfs.flp ${RD}/floppies/boot.flp
.endif
@


1.405
log
@Unreverse a conditional and gzip the mfs image by default.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.404 1998/10/07 22:54:04 jkh Exp $
a734 2
.else
	cp fs-image.${FSIMAGE} ${RD}/floppies/mfs_root.flp
@


1.404
log
@Support 3 floppy images as standard now:  boot kernel, mfs image and
kernel+mfs image.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.403 1998/10/07 22:36:48 jkh Exp $
d71 1
a71 1
.if ${MACHINE_ARCH} == "alpha"
d473 1
a473 1
	cp fs-image.std ${RD}/floppies/mfsroot.flp
@


1.403
log
@Fix typo.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.402 1998/10/07 21:53:14 jkh Exp $
a90 1
MFSKERN=		YES
d473 1
d475 7
a481 2
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/boot.flp
	@@echo "Regular boot floppy made."
d713 1
a713 1
.if defined(MFSKERN)
d732 1
a732 1
.if defined(MFSKERN)
@


1.402
log
@Add MFSKERN flag to enable the combining of kernel and MFS fs.
At some point, it will always be off from the user's POV and used
only internally to build (optionall) both mfskern floppies and
ones where mfs root and kernel go in separate places.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.401 1998/10/07 03:13:36 jkh Exp $
d702 1
a707 1
	  echo "options	 MFS_ROOT" >> BOOTMFS
@


1.401
log
@Remove hard-coded constants being passed to doFS.sh and add in a 386/alpha
configuration section.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.400 1998/10/07 02:57:16 jkh Exp $
d91 1
d544 1
a545 1
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel
d707 3
a709 1
	@@echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
a710 2
.if ${MACHINE_ARCH} == "alpha"
	@@echo "options	MFS_AUTOLOAD"
d727 1
a727 1
.if ${MACHINE_ARCH} != "alpha"
d731 1
a731 1
	cp fs-image.${FSIMAGE} ${RD}/floppies/
@


1.400
log
@Turn ALLLANG back on.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.399 1998/10/04 17:37:52 jkh Exp $
d68 2
a69 7
# other floppy parameters.
FDSIZE=			1440
FDLABEL=		fd1440

ZIPNSPLIT=		gzip --no-name -9 -c | split -b 240640 -

# Upper size for the mfs in the boot.flp kernel.
d71 2
d74 2
d78 7
d86 9
d140 1
a140 1
		    -e 's/cdrom/cdrom.1/'
d469 2
a470 2
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
		${MFSINODE} minimum
d506 2
a507 2
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/fixitfd \
		${FIXITINODE} ${FDLABEL}
d584 1
d740 2
a741 2
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		${BOOTINODE} ${FDLABEL}
@


1.399
log
@Add a symbol to aid in release debugging.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.398 1998/10/04 10:33:41 jkh Exp $
d44 1
a44 1
#ALLLANG= yes
@


1.398
log
@Collapse doRELEASE target back to being the same for alpha/i386 now
that unzip is fixed and we should hopefully be able to build the docs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.397 1998/10/04 02:32:18 jkh Exp $
d200 1
d243 1
a243 1
	echo "make doRELEASE"			>> ${CHROOTDIR}/mk
@


1.397
log
@Commit some more updates for the alpha release build.  This may be
a bit ambitious for the moment, but the only way out is through! :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.396 1998/10/04 02:01:03 jkh Exp $
a604 1
.if ${MACHINE_ARCH} == "i386"
a608 6
.elif ${MACHINE_ARCH} == "alpha"
doRELEASE:  release.1 release.2 release.3 release.4 release.5 \
		release.6 release.7 release.8 release.9
	cd ${.CURDIR} && ${MAKE} ${EXTRAS}
	@@echo "Release done"
.endif
@


1.396
log
@Don't write the fsimage in the kernel on alpha - the combined
kernel + fsimage is far too large to fit on a single floppy.
Copy it out for the later creation of a root floppy image instead.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.395 1998/10/01 09:27:02 jkh Exp $
d610 3
a612 5
.endif

.if ${MACHINE_ARCH} == "alpha"
doRELEASE:  release.1 release.2 ${DOCREL} release.3 release.5 \
		release.6 release.7
d698 3
d716 1
a716 1
.if ${MACHINE_ARCH} == "i386"
@


1.395
log
@Urk!!  At some point, CFLAGS got set to -O2 rather than -O (which
has always been our "recommended optimization flag") and this causes
problems on the Alpha in addition to being generally wrong.
Noticed by:	dfr
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.394 1998/09/30 20:54:28 jkh Exp $
d715 1
d718 3
@


1.394
log
@Finally conditionalize the SCSI frobbing code properly.  This
should return kernel config saving (under the current a.out system)
to its former functionality.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.393 1998/09/28 17:17:49 jkh Exp $
d200 1
a200 1
	echo "export CFLAGS='-O2 -pipe'"	>> ${CHROOTDIR}/mk
@


1.393
log
@Nuke ft0 device on boot floppy also since we don't need it now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.392 1998/09/24 02:01:07 jkh Exp $
d635 1
@


1.392
log
@Put MSDOSFS back - I'm going to try and find space another way.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.391 1998/09/24 00:57:05 jkh Exp $
d682 1
@


1.391
log
@Trim more stuff off the boot floppy - we're overflowing again! :(

Partially suggested by:	abial
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.390 1998/09/23 07:38:51 gpalmer Exp $
a684 1
		-e '/MSDOSFS/d' \
@


1.390
log
@Build the GENERIC kernel on the alpha too. And don't expect a MFS kernel
yet, nor will fbsdboot.exe be too useful :)

Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.389 1998/09/20 08:52:23 jkh Exp $
d681 3
@


1.389
log
@Turn NODOC off again; now that releases are releasing again, it's time to
try and unbreak docs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.388 1998/09/19 11:43:05 jkh Exp $
d527 1
d530 1
d613 2
a614 1
doRELEASE:  release.1 release.2 ${DOCREL} release.5 release.6 release.7
d666 1
a666 1
	cd ${.CURDIR}/../sys/i386/conf && config ${KERNEL}
@


1.388
log
@Turn off ALLLANG; the docs are currently in spanish and none of the docs
folks seem to have worked out why yet, so I'm switching back to english
and only english by default for now. :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.387 1998/09/17 11:25:48 jkh Exp $
d40 1
a40 1
NODOC=  YES
@


1.387
log
@Temporary hacks to get releases working again:

	o Remove MSDOSFS until I find some other way of gaining some space.
	  This *totally disables* the use of DOS partitions in installation
	  so it's truly just a temporary measure.

	o Set NODOC=YES since docs are broken right now (they try and install
	  into the bindist rather than the docdist - need to figure out why).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.386 1998/09/15 13:15:18 jhay Exp $
d44 1
a44 1
ALLLANG= yes
@


1.386
log
@Comment out NODOC and NOPORTS again. It got uncommented by mistake a few
days ago.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.385 1998/09/15 10:24:23 gibbs Exp $
d40 1
a40 1
#NODOC=  YES
d679 1
d684 1
a684 1
		-e '/maxusers/s/10/4/' < GENERIC > BOOTMFS && \
@


1.385
log
@We don't need the CAM application pass-thru driver on installation boot
floppies.  Also kill the sense and command strings to save space.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.384 1998/09/14 18:42:59 jkh Exp $
d40 2
a41 2
NODOC=  YES
NOPORTS=  YES
@


1.384
log
@Until lkm and mdec gets populated again by some other means, do it
here.
Forgotten by:	jkh
Submitted by:	jhay
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.383 1998/09/14 11:39:38 jkh Exp $
d677 1
d687 2
@


1.383
log
@Nuke gratuitous use of OBJFORMAT
Submitted by:	jhay
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.382 1998/09/13 17:20:57 phk Exp $
d284 6
@


1.382
log
@Use -R argument to cvs, this lets us work with a read-only repository,
at least to the extent that cvs bugs allow us to.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.381 1998/09/12 20:04:44 jhay Exp $
d344 1
a344 1
	for i in ${RD}/trees/bin/usr/lib/${OBJFORMAT}/libscrypt* ; do \
@


1.381
log
@Add the missing file, printf to a directory does not work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.380 1998/09/09 14:20:22 jkh Exp $
d40 2
a41 1
#NODOC=  YES
d151 1
a151 1
		cvs -d ${CVSROOT} co -P ${RELEASESRCMODULE}
d154 1
a154 1
		cvs -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d163 1
a163 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d166 1
a166 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P ${RELEASEDOCMODULE}
d176 1
a176 1
	cd ${CHROOTDIR}/usr/src && cvs -q update -P -d
d178 1
a178 1
	cd ${CHROOTDIR}/usr/src && cvs -q update -P -d -r ${RELEASETAG}
d181 1
a181 1
	cd ${CHROOTDIR}/usr/ports && cvs -q update -P -d
d184 1
a184 1
	cd ${CHROOTDIR}/usr/doc && cvs -q update -P -d
@


1.380
log
@Remove perl5 from list of ports to build now that it's in the base system.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.379 1998/09/07 23:55:22 jkh Exp $
d703 1
a703 1
	@@printf \\a\\a\\a >> ${RD}/boot.${FSIMAGE}
@


1.379
log
@Do an installworld rather than install to populate the chroot tree.
Recommended by:	jb
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.378 1998/09/05 07:43:13 jkh Exp $
d44 1
a44 1
DOCPORTS= archivers/unzip lang/perl5 textproc/jade textproc/iso8879 \
@


1.378
log
@Set CHROOTDIR's initial object type also.
Suggested by:	jb
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.377 1998/09/05 06:54:42 jkh Exp $
d143 1
a143 1
	cd ${.CURDIR}/.. && ${MAKE} install DESTDIR=${CHROOTDIR} NOMAN=1
@


1.377
log
@Add OBJFORMAT to list of variables passed into /mk script since it seems
to think you're using aout otherwise (and emits a rather confusing and
inaccurate diagnostic about OBJFORMAT being set in /etc/make.conf when
it most demonstrably is not set there).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.376 1998/09/05 00:36:18 msmith Exp $
d195 1
@


1.376
log
@Escape the \ characters so that the intended beep at the end of the
boot.help message is actually appended correctly.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.375 1998/09/04 23:51:40 jkh Exp $
d202 1
@


1.375
log
@Actually *looking* at this file now, I see that a good deal more
can be eliminated. :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.374 1998/09/04 08:22:59 jkh Exp $
d701 1
a701 1
	@@printf \a\a\a >> ${RD}/boot.${FSIMAGE}
@


1.374
log
@Just nuke the aout bootstrap stuff since we don't need it anymore.
Simplify accordingly for ELF.
Convinced by:	jb
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.373 1998/09/04 06:31:34 jkh Exp $
a227 5
	# This eases bootstrapping from a more recent hosting environment:
	echo "mkdir -p /usr/lib/compat"		>> ${CHROOTDIR}/mk
	echo "chflags noschg /usr/lib/lib*.so.*" >> ${CHROOTDIR}/mk
	echo "mv /usr/lib/lib*.so.* /usr/lib/compat" >> ${CHROOTDIR}/mk
	echo "(cd include; make all install)"   >> ${CHROOTDIR}/mk
a229 4
	echo "(cd etc; make distribution)"	>> ${CHROOTDIR}/mk
	# Now we've got our own shared libs, remove the bootstrapping
	# libs again.
	echo "rm -f /usr/lib/compat/*"		>> ${CHROOTDIR}/mk
@


1.373
log
@Only move a.out libs if we're building for a.out.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.372 1998/09/02 18:04:18 max Exp $
a228 6
.if exists(/usr/lib/aout/) && (${OBJFORMAT} == "aout")
	echo "mkdir -p /usr/lib/compat/aout"	>> ${CHROOTDIR}/mk
	echo "chflags noschg /usr/lib/aout/lib*.so.*" >> ${CHROOTDIR}/mk
	echo "mv /usr/lib/aout/lib*.so.* /usr/lib/compat/aout" >> ${CHROOTDIR}/mk
	echo "ldconfig /usr/lib/compat/aout" 	>> ${CHROOTDIR}/mk
.else
a231 2
	echo "ldconfig /usr/lib /usr/lib/compat" >> ${CHROOTDIR}/mk
.endif
a237 1
.if !exists(/usr/lib/aout/) && (${OBJFORMAT} == "aout")
a238 2
	echo "ldconfig /usr/lib"		>> ${CHROOTDIR}/mk
.endif
@


1.372
log
@Add ^G to the end of boot.help on the installation floppy so that it
beeps when the Boot: prompt appears on the screen and people installing
FreeBSD onto PC without display monitor can tell when to hit `-h'.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.371 1998/09/01 06:57:18 jkh Exp $
d36 1
a36 1
OBJFORMAT?=		aout
d229 1
a229 1
.if exists(/usr/lib/aout/)
d246 1
a246 1
.if !exists(/usr/lib/aout/)
@


1.371
log
@Put MSDOSFS back and look for something else to trim.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.370 1998/08/30 02:50:44 jb Exp $
d721 1
@


1.370
log
@BINFORMAT -> OBJFORMAT ready for E-day.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.369 1998/08/23 00:52:18 gpalmer Exp $
a688 1
		-e '/MSDOSFS/d' \
@


1.369
log
@First cut (aka hack) at getting make release building on the alpha. Don't
build floppies or kernels. The i386 release process should be unaffected.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.368 1998/08/16 01:24:40 jkh Exp $
d36 1
a36 1
BINFORMAT?=		aout
d353 1
a353 1
			env BINFORMAT=${BINFORMAT} RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
d361 1
a361 1
	for i in ${RD}/trees/bin/usr/lib/${BINFORMAT}/libscrypt* ; do \
@


1.368
log
@Make provisions for a pre-build script that one can use to frob the
chroot tree right after everything has been checked out and we're ready
to go.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.367 1998/08/16 00:44:29 jkh Exp $
d614 1
d619 7
@


1.367
log
@Trim more out of the boot floppy so that it fits in 1.44MB again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.366 1998/08/12 11:49:22 jkh Exp $
d157 3
@


1.366
log
@Bump this one more time before going on a witch hunt for space.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.365 1998/08/12 11:43:24 jkh Exp $
d78 1
a78 1
BOOTINODE=		160000
d678 2
@


1.365
log
@Bring proflibs distro back from the dead - taught about BINFORMAT.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.364 1998/08/11 03:59:12 jkh Exp $
d78 1
a78 1
BOOTINODE=		140000
@


1.364
log
@Bump BOOTINODE value a bit more.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.363 1998/07/19 05:31:35 jkh Exp $
d35 3
d350 1
a350 1
			env RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
d358 1
a358 1
	for i in ${RD}/trees/bin/usr/lib/libscrypt* ; do \
@


1.363
log
@A few size tweaks to try and get the -current boot floppy back under
control
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.362 1998/07/16 10:15:53 jkh Exp $
d75 1
a75 1
BOOTINODE=		120000
@


1.362
log
@MF22: Copy up new doc files.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.361 1998/07/16 10:09:55 jkh Exp $
d73 1
a73 1
MFSINODE=		7000
d75 1
a75 1
BOOTINODE=		100000
d676 1
@


1.361
log
@MF22: Add prototype errata file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.360 1998/07/09 08:26:38 des Exp $
d547 2
d553 3
@


1.360
log
@Use four-digit year in SNAP name.  We're eighteen months from the next
millenium, fer cryin' out loud...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.359 1998/06/26 18:54:06 brian Exp $
d511 2
d517 3
@


1.359
log
@Don't make clean after building the crunch file.  Build
a des & non-des version of ppp in the same way as init
and ed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.358 1998/06/25 06:35:20 brian Exp $
d20 1
a20 1
DATE != date +%y%m%d
@


1.358
log
@Fix syntax error from last commit
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.357 1998/06/24 06:55:18 brian Exp $
a328 3
		( cd $${j}_crunch && \
		  ${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean \
		    NOCRYPT=yes "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY") && \
d338 1
a338 1
	for i in sbin/init bin/ed ; do \
@


1.357
log
@Clean the crunchgen targets after creating the crunch binary.
This *should* avoid the -DRELEASE_CRUNCH polution that's
mis-building user-ppp.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.356 1998/06/08 20:58:02 jdp Exp $
d325 2
a326 2
		crunchgen ${.CURDIR}/$${j}_crunch.conf && \
		${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all \
d329 2
a330 1
		${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean \
@


1.356
log
@My previous change could conceivably succeed at removing CHROOTDIR.
Ignore errors from the chflags command that follows it, just in case.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.355 1998/06/07 21:53:01 jdp Exp $
d329 2
@


1.355
log
@Speed up the cleaning of CHROOTDIR by almost a factor of two, by
replacing two monstrous file tree walks with one monstrous tree walk
and two miniscule ones.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.354 1998/06/06 04:39:42 jkoshy Exp $
d134 1
a134 1
	chflags -R noschg ${CHROOTDIR}/.
@


1.354
log
@-DALLLANG is now obsolete in "src/Makefile"; move to "src/release/Makefile".

PR: 6685
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.353 1998/05/30 12:15:02 jkh Exp $
d131 3
@


1.353
log
@A bit of additional ELF changeover stuff I forgot to conditionalize earlier.
Todo: revisit and make work with either aout or ELF.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.352 1998/05/29 19:36:12 jkh Exp $
d38 3
d201 3
@


1.352
log
@Do the aout libs if they exist in preference to the older ones in /usr/lib
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.351 1998/05/20 01:06:32 jkh Exp $
d231 1
d234 1
@


1.351
log
@Don't pack distfiles left over from docs builds into ports.tgz.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.350 1998/05/12 08:02:48 jkh Exp $
d214 6
d224 1
@


1.350
log
@Go back to 240640 split size.  Interesting experiment but somebody
still needs to figure out the 1.2MB floppy problem before we touch
(or possibly eliminate) this value.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.349 1998/05/08 13:49:16 jkh Exp $
d529 1
@


1.349
log
@Try experimenting with the split size a little in an effort to
move our installation structure a little further into the 20th century
(just before it's over).
Instigated by:	Dag-Erling Coidan <dag-erli@@ifi.uio.no>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.348 1998/04/15 18:28:27 msmith Exp $
d65 1
a65 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 1468006 -
@


1.348
log
@Allow the CVS modules from which the source, doc and ports collections are
checked out to be overridden.

PR:		misc/6309
Submitted by:	"Greg A. Woods" <woods@@zeus.leitch.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.347 1998/03/30 08:29:28 jkh Exp $
d65 1
a65 1
ZIPNSPLIT=		gzip --no-name -9 -c | split -b 240640 -
@


1.347
log
@Use the correct templates file.

PR:		6135
Submitted by:	Ruslan Ermilov <ru@@ucb.crimea.ua>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.346 1998/03/22 18:39:42 jhay Exp $
d28 7
d141 1
a141 1
		cvs -d ${CVSROOT} co -P src
d144 1
a144 1
		cvs -d ${CVSROOT} co -P -r ${RELEASETAG} src
d150 1
a150 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d153 1
a153 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P doc
@


1.346
log
@Make the vn device that is being used to build the floppies configurable.
You can now do something like "make release VNDEVICE=vn1". This makes it
possible to do something else with vn0, for instance building another
release.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.345 1998/03/10 17:29:44 jkh Exp $
d143 1
a143 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes
@


1.345
log
@MF22: don't snip SYSVSHM
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.344 1998/03/06 23:03:49 jkh Exp $
d67 2
d182 1
d656 1
a656 1
	@@vnconfig /dev/vn0 fs-image.${FSIMAGE}
d658 1
a658 1
	@@mount /dev/vn0 /tmp/mnt_xx
d661 1
a661 1
	@@vnconfig -u /dev/vn0
@


1.344
log
@DOH!  Forgot a backslash.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.343 1998/03/06 06:47:09 jkh Exp $
d634 1
a634 2
	  sed	-e '/SYSV/d' \
		-e '/pty/d' \
@


1.343
log
@Go to reduced device set now that "make-unders" work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.342 1998/02/18 20:01:41 eivind Exp $
d414 1
a414 1
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero |
@


1.342
log
@... since config no long have a -n option in -current either, do the
obvious thing.  (-n gone).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.341 1998/02/13 20:34:25 jkh Exp $
d414 1
a414 3
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero \
		*[swo]d* cuaa[01] cuaa[23] fd[01] rfd[01] \
		cd0a mcd0a scd0a matcd0a wcd0c rst0 rft0 rwt0 | \
@


1.341
log
@MF22: Optimize DOC bootstrap.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.340 1998/02/01 06:35:44 pst Exp $
d623 1
a623 1
	cd ${.CURDIR}/../sys/i386/conf && config -n ${KERNEL}
@


1.340
log
@Remove INTCVSROOT, no longer needed thanks to cvsup
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.339 1998/01/28 04:05:10 jkh Exp $
d146 2
a147 1
	  (cd $$i; make fetch DISTDIR=${CHROOTDIR}/usr/ports/distfiles ); \
@


1.339
log
@Collapse 2 settings of PATH into one (didn't notice the 1st one before).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.338 1998/01/27 21:28:32 jkh Exp $
a132 4
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P src/secure src/crypto
.endif
a135 4
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P -r ${RELEASETAG} src/secure src/crypto
.endif
@


1.338
log
@Tweak PATH for ports build.  I have no idea why this worked on my test
machine but not on the -current build box.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.337 1998/01/27 01:06:49 jkh Exp $
d75 3
d207 1
a207 1
	echo "export PATH=${BOOTSTRAPDIR}:$${PATH}" >> ${CHROOTDIR}/mk
d538 1
a538 2
	  cd /usr/ports/$$i && make all install clean \
	    FORCE_PKG_REGISTER=yes PATH=$PATH:/usr/local/bin; \
@


1.337
log
@Temporary work-around for a ports building problem I really don't
understand just yet.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.336 1998/01/24 07:30:55 jkh Exp $
d535 2
a536 1
	  (cd /usr/ports/$$i; make all install clean FORCE_PKG_REGISTER=yes); \
@


1.336
log
@Clean up doc bootstrap ports afterwards.
Small stylistic cleanup.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.335 1998/01/23 20:15:54 jkh Exp $
d535 1
a535 1
	  (cd /usr/ports/$$i; make all install clean); \
@


1.335
log
@Bring back handbook and FAQ by adding a mechanism for bootstrap ports
to the build.  This will need more review as we go into it, but it should
do the basic job for now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.334 1998/01/19 16:10:51 jkh Exp $
d534 3
a536 1
	for i in ${DOCPORTS}; do (cd /usr/ports/$$i; make all install); done
@


1.334
log
@Add a missing \ the previous committer omitted from the crunch target.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.333 1998/01/17 14:21:17 brian Exp $
d28 5
a32 3
# Leave this on for now until we figure out how to build proper
# docs in the chrootdir.
NODOC=	YES
d150 3
d534 1
@


1.333
log
@Remove the necessity of -ldes and -lalias etc from release/Makefile.
When building a release, RELEASE_CRUNCH is defined for a `make' of
the objects required by the crunch of each program.  The object list
is still obtained in the same way, so you must make sure that all
objects are built (empty if necessary) by this make.  ppp/Makefile
provides an example.

Reviewed by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.332 1997/10/20 21:57:14 joerg Exp $
d297 1
a297 1
		${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all
@


1.332
log
@MF22: rev 1.246.2.65, put the bootstrap files onto the fixit floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.331 1997/10/05 22:31:40 jkh Exp $
d297 2
a298 2
		${MAKE} -f $${j}_crunch.mk all NOCRYPT=yes \
		    "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY") && \
@


1.331
log
@Turn NODOC back on - this is going to take a bit more work to get right.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.330 1997/10/05 09:47:28 jkh Exp $
d448 1
a448 1
		usr/share/misc
d459 5
@


1.330
log
@Remove NODOC setting - time to figure out how to get this working again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.329 1997/10/04 20:51:42 jkh Exp $
d28 3
a30 1
#NODOC=	YES
@


1.329
log
@Fix syntax error I introduced earlier. :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.328 1997/10/04 09:05:06 jkh Exp $
d28 1
a28 1
NODOC=	YES
@


1.328
log
@Support crypto and kerberos source dists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.327 1997/10/03 14:17:46 jkh Exp $
d382 1
a382 1
		if [ -f skerbero.aa ] ; then mv skerbero.* ../des ; fi && \
@


1.327
log
@Install boot.help differently.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.326 1997/10/03 14:05:29 markm Exp $
d363 1
a363 1
	@@for i in `cd /usr/src && echo [a-z]* | sed -e s/contrib-crypto//` ; do \
d382 1
a382 2
		if [ -f ssecure.inf ] ; then mv ssecure.inf ../des ; fi && \
		if [ -f scrypto.inf ] ; then mv scrypto.inf ../des ; fi ; )
@


1.326
log
@The eBones src distribution is gone, and crypto is here. So remove
references to sebones.* and bring in scrypto.*.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.325 1997/10/01 09:01:16 jkh Exp $
d408 1
a649 1
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help /tmp/mnt_xx
@


1.325
log
@kerberos4 -> kerberosIV
Submitted by:	Akira Watanabe <akira@@myaw.ei.meisei-u.ac.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.324 1997/09/30 08:09:03 jkh Exp $
d381 1
a381 1
		if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi && \
d383 1
a383 1
		if [ -f sebones.inf ] ; then mv sebones.inf ../des ; fi ; )
@


1.324
log
@Fix kerberos breakage for release.
Submitted by:	markm
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.323 1997/09/20 17:10:09 joerg Exp $
d258 2
a259 2
.if exists(${.CURDIR}/../kerberos4) && !defined(NOKERBEROS)
	cd ${.CURDIR}/../kerberos4 && ( \
@


1.323
log
@Don't gratuitously drop termcap.db and vgrindefs.db from the installed
set of files.

Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.322 1997/09/20 15:40:55 joerg Exp $
d128 1
a128 1
	    cvs -d ${INTCVSROOT} co -P src/secure src/eBones
d135 1
a135 1
	    cvs -d ${INTCVSROOT} co -P -r ${RELEASETAG} src/secure src/eBones
d258 2
a259 2
.if exists(${.CURDIR}/../eBones) && !defined(NOKERBEROS)
	cd ${.CURDIR}/../eBones && ( \
@


1.322
log
@Perform a `make distrib-dirs distribution' inside the chroot tree
before trying to `make world', so to become less dependant from the
correctness of the environment hosting the `make release'.  The recent
addition of a group `network' made this problem apparent.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.321 1997/09/08 11:09:35 jkh Exp $
a329 2
	# Remove some files we can faster regen after installing.
	cd ${RD}/trees/bin/usr/share/misc && rm -f termcap.db vgrindefs.db
@


1.321
log
@Do a make install in sysinstall so that its man page gets added to the
manpages dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.320 1997/09/04 11:54:01 jkh Exp $
d206 1
@


1.320
log
@Yikes!  Whomever put the non-overridable setting of BUILDNAME in
here, don't do that!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.319 1997/09/04 11:28:32 jkh Exp $
d284 2
a285 1
	cd ${.CURDIR}/sysinstall && make obj depend all
@


1.319
log
@Copy the boot.help file also into the MFS image so that the installer
can find it later and copy it over.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.318 1997/09/03 23:15:38 jkh Exp $
d22 1
a22 1
BUILDNAME=${BASE}-${DATE}-SNAP
@


1.318
log
@Skip contrib-crypto
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.317 1997/07/31 10:57:30 jkh Exp $
d649 1
@


1.317
log
@Make README.TXT for floppies reference work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.316 1997/07/31 09:52:10 jkh Exp $
d363 1
a363 1
	@@for i in `cd /usr/src && echo [a-z]*` ; do \
@


1.316
log
@Touch a default kernel.config file to shut the boot blocks up about it
when not present.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.315 1997/07/23 10:44:39 jkh Exp $
d465 1
a465 1
	cp ${.CURDIR}/floppies/README.TXT ${RD}/floppies/README.TXT
@


1.315
log
@Turn off doc.1 distribution until we figure out what we're going to do with
it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.314 1997/07/13 00:54:22 jkh Exp $
d659 1
@


1.314
log
@OK, *this* is how the ports stuff should have been built to begin
with. ;-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.313 1997/07/09 12:45:17 jkh Exp $
d27 2
@


1.313
log
@Move ports distribution copying for ftp dist into the correct place.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.312 1997/07/02 08:58:58 jkh Exp $
d88 1
a88 4
.if !defined(NOPORTS)
EXTRAS+= ports.1
.endif
EXTRAS+= ftp.1 cdrom.1
d511 5
a517 12
#
# --==## And finally, create the ports distribution & tarball ##==--
#
# NOTE: Both ftp.1 and cdrom.1 must be run before this target or it will die
#       a quick and gruesome death.  We also expect the release engineer to
#       manually populate ports/distfiles on the 2nd CDROM.

ports.1:
	tar -cBf - -C /usr ports | tar xBpf - -C ${CD_DISC2} && \
		mkdir -p ${CD_DISC1}/ports && tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
		cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
@


1.312
log
@Split section 6 catpages/manpages out into games dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.311 1997/06/29 18:07:01 jkh Exp $
d483 3
d527 1
a527 3
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) &&
		tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}

@


1.311
log
@Protect against CVSROOT not being set.
Submitted by:	fenner
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.310 1997/06/28 16:24:09 jkh Exp $
d32 1
a32 1
OTHER_DISTS?=	games manpages catpages proflibs dict info doc
@


1.310
log
@endif -> .endif (from BOOT_CONFIG changes).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.309 1997/06/28 08:21:10 pst Exp $
d108 2
a109 2
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
@


1.309
log
@Reorder things and import NOSHARED.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.308 1997/06/24 23:08:18 jkh Exp $
d651 1
a651 1
endif
@


1.308
log
@YAMF22
Submitted by:	pst
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.307 1997/06/23 01:49:35 jkh Exp $
a183 3
.if defined(BOOT_CONFIG)
	echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
.endif
d189 6
@


1.307
log
@Do ports.1 earlier.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.306 1997/06/22 17:59:04 jkh Exp $
a87 1
EXTRAS=
d91 1
a91 1
EXTRAS+= cdrom.1
d184 3
d190 3
d358 1
d383 1
d646 3
@


1.306
log
@Argh - 3rd time's a charm.  Move doc even further in the distribution chain.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.305 1997/06/22 17:21:59 jkh Exp $
d88 1
a88 1
EXTRAS=	cdrom.1
d92 1
@


1.305
log
@The doc dist was being made too early - move it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.304 1997/06/22 10:17:32 jkh Exp $
d556 1
a556 1
doRELEASE:  release.1 release.2 release.3 release.4 release.5 ${DOCREL} \
@


1.304
log
@Bag previous behavior of making all BIN_DISTS get a set of /etc files.
If a bindist clone wants etc files, it can clone them from bin.  If it
doesn't, now it won't. :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.303 1997/06/22 08:37:49 jkh Exp $
d88 9
d184 3
a207 3
.if !defined(NODOC)
	echo "cd /usr/doc && make all distribute DISTDIR=/R/stage/trees" >> ${CHROOTDIR}/mk
.endif
d517 3
d556 3
a558 7
doRELEASE:  release.1 release.2 release.3 release.4 release.5 release.6 \
		release.7 release.8 release.9
.if defined(NOPORTS)
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1
.else
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1 ports.1
.endif
@


1.303
log
@Reshuffle some of the distribution names to make them
easier to remember & allow overrides.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.45 1997/06/21 19:40:04 jkh Exp $
d238 1
a238 3
	for i in ${BIN_DISTS}; do \
	  cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/$$i; \
	done
@


1.302
log
@Make docs go to the right place finally.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.301 1997/06/21 15:45:51 jkh Exp $
d31 3
a33 3
COMPAT_DISTS=	compat1x compat20 compat21
EXPORT_DISTS=	games manpages catpages proflibs dict info doc ${COMPAT_DISTS}
EXTRA_DISTS=	krb des
d35 1
a35 1
ALL_DISTS?=	${BIN_DISTS} ${EXPORT_DISTS} ${EXTRA_DISTS}
a61 1
DISTRIBUTIONS?=		${ALL_DISTS}
d317 1
a317 1
		find ${EXPORT_DISTS} ${EXTRA_DISTS} -depth -type d -print | xargs rmdir
@


1.301
log
@Whoops, get the proper rev of this.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.300 1997/06/21 15:41:55 jkh Exp $
d198 1
a198 1
	echo "cd /usr/doc && make all install" >> ${CHROOTDIR}/mk
@


1.300
log
@Change the way distributions are built such that they can be built
either in the Makefile or by an external script.  Move some of the
existing stuff into scripts.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.299 1997/06/12 09:23:54 jkh Exp $
d300 2
a301 2
			env RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status." ; \
			echo "Done."
@


1.299
log
@Whoops - add boot.foo files to the outside of the MFS, not the inside. :)
Brain engaged now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.298 1997/06/12 09:18:29 jkh Exp $
d29 2
a30 1

d33 3
a35 2
EXTRA_DISTS=	krb des ${EXPORT_DISTS}
ALL_DISTS=	bin ${EXTRA_DISTS}
d61 2
a62 2
# Things which will get you into trouble if you change them
DISTRIBUTIONS=		${ALL_DISTS}
d85 2
a86 2
.if !defined(WHICH_CRUNCH)
WHICH_CRUNCH=	boot fixit
d156 1
d168 1
a209 4
whap:
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )

d223 1
a223 1
	for i in ${ALL_DISTS} ; do \
d239 3
a241 1
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/bin
d243 1
a243 1
.if exists(${.CURDIR}/../eBones)
d270 1
a270 1
	cd ${.CURDIR}/sysinstall && make depend all
d274 1
a274 1
	for j in ${WHICH_CRUNCH} ; do \
d296 9
a304 54
	# Move all the manpages out to their own dist
	if [ -d ${RD}/trees/bin/usr/share/man ] ; then \
		( cd ${RD}/trees/bin/usr/share/man; \
		find . | cpio -dumpl ${RD}/trees/manpages/usr/share/man ) && \
		rm -rf ${RD}/trees/bin/usr/share/man; \
	fi
	# Create the catpages
	if [ -d ${RD}/trees/manpages/usr/share/man ] ; then \
		su -m man -c 'catman ${RD}/trees/manpages/usr/share/man'; \
		( cd ${RD}/trees/manpages/usr/share/man; \
		find cat* | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) && \
		rm -rf ${RD}/trees/manpages/usr/share/man/cat*; \
	fi
	# Move all the games out to their own dist
	if [ -d ${RD}/trees/bin/usr/games ] ; then \
		tar -cf - -C ${RD}/trees/bin/usr/games . | \
			tar -xf - -C ${RD}/trees/games/usr/games && \
		rm -rf ${RD}/trees/bin/usr/games; \
	fi
	if [ -d ${RD}/trees/bin/usr/share/games ] ; then \
		tar -cf - -C ${RD}/trees/bin/usr/share/games . | \
			tar -xf - -C ${RD}/trees/games/usr/share/games && \
		rm -rf ${RD}/trees/bin/usr/share/games; \
	fi
	if [ -d ${RD}/trees/bin/var/games ] ; then \
		tar -cf - -C ${RD}/trees/bin/var/games . | \
			tar -xf - -C ${RD}/trees/games/var/games && \
		rm -rf ${RD}/trees/bin/var/games; \
	fi
	# Move the dict out to their own dist
	if [ -d ${RD}/trees/bin/usr/share/dict ] ; then \
		tar -cf - -C ${RD}/trees/bin/usr/share/dict . | \
			tar -xf - -C ${RD}/trees/dict/usr/share/dict && \
		rm -rf ${RD}/trees/bin/usr/share/dict; \
	fi
	for i in airport birthtoken flowers na.phone zipcodes ; do \
		if [ -f ${RD}/trees/bin/usr/share/misc/$$i ] ; then \
			mv ${RD}/trees/bin/usr/share/misc/$$i \
				${RD}/trees/dict/usr/share/misc; \
		fi ; \
	done
	# Move the info files out to their own dist
	if [ -d ${RD}/trees/bin/usr/share/info ] ; then \
		tar -cf - -C ${RD}/trees/bin/usr/share/info . | \
			tar -xf - -C ${RD}/trees/info/usr/share/info && \
		rm -rf ${RD}/trees/bin/usr/share/info; \
	fi
	# Move the profiled libraries out to their own dist
	for i in ${RD}/trees/bin/usr/lib/*_p.a ; do \
		if [ -f $$i ] ; then \
			mv $$i \
				${RD}/trees/proflibs/usr/lib ; \
		fi ; \
	done
d318 1
a318 1
		find ${EXTRA_DISTS} -depth -type d -print | xargs rmdir
d322 1
a322 1
# --==## Make binary dists ##==--
d336 1
d563 1
a563 1
	cd ${.CURDIR} && ${MAKE} release.4 release.8 WHICH_CRUNCH=boot
d567 1
a567 1
	cd ${.CURDIR} && ${MAKE} release.4 release.9 WHICH_CRUNCH=fixit
@


1.298
log
@Copy boot.help file onto boot.flp and write zero-length boot.config
there to shut the boot blocks' whining little face up.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.297 1997/06/11 10:03:40 jkh Exp $
a452 2
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/mfsfd
	@@touch ${RD}/mfsfd/boot.config
d687 2
@


1.297
log
@Make readmes in ports.
Submitted by:	asami
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.296 1997/06/06 02:10:03 brian Exp $
d453 2
@


1.296
log
@Make install in include before making world.

Without this, if you try to build a 2.2 release
on -current, it falls on its face here because
/usr/include contains your "make install"d headers
where the /usr/include/* symlinks point to the
RELENG_2_2 headers.

Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.295 1997/06/01 08:06:48 joerg Exp $
d133 1
a133 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports
@


1.295
log
@Create the release name of SNAPs automagically.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.294 1997/05/24 20:15:13 jkh Exp $
d182 1
@


1.294
log
@Add rules for building doc back into releases, conditionalized on NODOC.
Also clean up some of the comments at the top.  It's 12 o'clock, and
that is all.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.293 1997/05/03 12:14:21 danny Exp $
d15 9
a23 1
#BUILDNAME=3.0-970302-SNAP
@


1.293
log
@Spelling/typo fix.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.292 1997/04/25 09:11:50 jkh Exp $
d3 1
a3 1
# How to roll a release:
d5 5
a9 1
#	make release CHROOTDIR=<lots of disk> [ RELEASETAG=something ]
d11 1
a11 7
# As far as I know, this will roll everything nicely into the "stage"
# directory.  I still need to write the two rules to move that into
# the "cdrom" and "ftp" directories.
# I also need to "make ports" and install those, but I'm not going to do
# that on a 14.4 line just yet...
#
# please note: the vn driver has to be compiled into your kernel,
d14 1
a14 1
# SET THIS !!!
d33 1
a33 1
BOOT1=	etc/protocols etc/sysconfig
d127 3
d141 3
d183 3
@


1.292
log
@Eliminate a small redundancy with ALL_DISTS
Submitted by:	John-Mark Gurney <jmg@@hydrogen.nike.efn.org>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.291 1997/04/13 20:20:25 joerg Exp $
d63 2
a64 2
# environment, rather then the target environment.  This is specifically
# intended for kernel-dependant utilities that are used during the build.
@


1.291
log
@``Ooops'' :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.290 1997/04/13 08:46:58 joerg Exp $
d54 1
a54 1
DISTRIBUTIONS=		bin ${EXTRA_DISTS}
@


1.290
log
@Add more bootstrapping bandaids: copy over some of the host system
dependent utilities to /bootstrap inside the chroot tree, so the
hosting and targeted environment are not required the same.  By now,
mount/umount (due to the Lite2 changes) and cpio (due to lchown) make
it there.  This should allow building a 3.0-current release from
inside a 2.2 vintage system, and visa verse.

Isn't lchown also a reason for a shared lib version number bump?

PR:
Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.289 1997/04/12 21:55:53 joerg Exp $
d162 1
a162 1
	echo "export PATH=${BOOTSTRAPDIR}:$${PATH} >> ${CHROOTDIR}/mk
@


1.289
log
@Sync this up with RELENG_2_2.  Du-oh, i've totally spammed rev 1.278,
and quite a number of smaller fixes from 2.2 were missing as well.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.288 1997/03/15 20:35:06 joerg Exp $
d49 2
a50 2
MFSINODE=		60000
FIXITINODE=		20000
d62 15
d104 4
d152 1
a152 2
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
	echo "export CFLAGS"			>> ${CHROOTDIR}/mk
d162 1
@


1.288
log
@Brain-o.  BUILNAME is more important, RELEASETAG ain't even mandatory
at all (so protect it with .if defined).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.287 1997/03/15 19:51:16 joerg Exp $
d59 1
a59 1
CD_DISC1=		${CD}/disc1 
d107 1
a107 1
.if !defined(NO_PORTS)
d118 1
a118 1
.if !defined(NO_PORTS)
d139 2
a140 2
.if defined(NO_PORTS)
	echo "export NO_PORTS=${NO_PORTS}"	>> ${CHROOTDIR}/mk
d204 14
d491 3
a493 2
	rm -f ${CD_DISC2}/filesys/.profile
	cp ${.CURDIR}/fixit.profile ${CD_DISC2}/filesys/.profile
a494 1
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
d500 1
a500 1
.if !defined(NO_PORTS)
d509 1
d514 1
a514 1
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) && \
d556 1
a556 1
.if defined(NO_PORTS)
a654 4
	#echo 'USERCONFIG' > startup_foo
	#echo 'intro' >> startup_foo
	#dd if=startup_foo of=fs-image seek=1 bs=512 count=1 conv=notrunc
	#rm -f startup_foo
@


1.287
log
@Properly export RELEASETAG and NO_PORTS (if set) into the chrooted
make process via /mk.

2.2 candidate but i'll defer this for an hour until my test buld
proved that it works.  This should just fit Jordan's deadline. ;-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.286 1997/03/14 08:21:09 joerg Exp $
d135 2
d138 1
@


1.286
log
@Fix Jordan's botched revision 1.280 (looks like cut&paste spamming)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.285 1997/03/12 18:09:15 joerg Exp $
d135 4
@


1.285
log
@Do not spam our distributions accidentally with BOOTMFS files.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.284 1997/03/12 02:42:55 jkh Exp $
a487 1
+
d491 2
a492 3
		cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install
.sh && \
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) &&
@


1.284
log
@NO_PORTS changes...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.283 1997/03/12 02:31:12 jkh Exp $
d515 1
a515 1
		tar --exclude CVS --exclude obj -cf - ${ARG} | \
@


1.283
log
@Bring in split-CDROM changes from 2.2
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.282 1997/03/11 20:03:42 joerg Exp $
d479 1
d481 1
d536 3
d540 1
@


1.282
log
@Drop a copy of cdrom.inf in the ftp area as well, so people who wanna
cut the FTP distribution onto their own CD-R won't bite the bullet.

Jordan, it seems -current misses the disc1/disc2 split still.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.281 1997/03/11 13:55:46 joerg Exp $
d59 2
d457 5
a461 5
	mkdir -p ${CD}/filesys
	cd ${RD} && find floppies -print | cpio -dumpl ${CD}
	cd ${RD}/dists && find . -print | cpio -dumpl ${CD}
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD}/kernel
	ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD}
d467 1
a467 1
			find . -depth -print | cpio -dumpl ${CD}/filesys ) ; \
d470 9
a478 9
	rm -f ${CD}/filesys/.profile
	cp ${.CURDIR}/fixit.profile ${CD}/filesys/.profile
	echo "CD_VERSION = ${BUILDNAME}" > ${CD}/cdrom.inf
	cp ${CD}/cdrom.inf ${CD}/filesys
	cp ${.CURDIR}/ABOUT.TXT ${CD}/ABOUT.TXT
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${CD}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${CD}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${CD}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${CD}/RELNOTES.TXT
@


1.281
log
@YAMF22 (rev 1.246.2.29: bootstrapping aid)
@
text
@d1 1
a1 1
#	$Id$
d449 1
@


1.280
log
@Add support for ports collection distribution.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.279 1997/03/06 07:51:40 joerg Exp $
d137 5
d144 4
@


1.279
log
@Reincarnate one occurance of RELEASEDIR, since the build depends on
it inside some Makefiles.  (Duh-oh, i've once included these references
there myself! :)

Noticed by akira@@silvia.myaw.ei.meisei-u.ac.jp (Akira WATANABE), and by
my yesterday's build.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.278 1997/03/02 11:59:25 joerg Exp $
d105 3
d116 3
d158 1
a158 1
	rm -rf boot_crunch release.[0-9] release.1[0]
d423 3
a439 1
	cp ${.CURDIR}/floppies/README.TXT ${FD}/floppies/README.TXT
d467 16
d522 1
a522 1
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1
@


1.278
log
@. Remove the ${RELEASEDIR} variable, it turned out to be a constant
  anyway.

. Add /usr/share/misc/scsi_modes to the fixit floppy, and set the
  appropriate env variable.

. Cleanup the (commented out) tags in the entry section a little, to
  be more up-to-date.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.277 1997/02/23 15:51:47 joerg Exp $
d127 2
@


1.277
log
@Do a `make >> ${CHROOTDIR}/mk' for etc when bootstrapping, too.
Othrwise, our chroot tree ends up with the /etc from the bootstrapping
environment, as opposed to the target environment.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.276 1997/02/22 14:10:21 peter Exp $
d17 1
a17 1
#BUILDNAME=2.2-960501-SNAP
d20 1
a20 1
#RELEASETAG=RELENG_2_1_0
d56 3
a58 3
RD=			${RELEASEDIR}/stage
FD=			${RELEASEDIR}/ftp
CD=			${RELEASEDIR}/cdrom
a126 2
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/mk
	echo "export RELEASEDIR"		>> ${CHROOTDIR}/mk
d152 1
a152 1
# Clean out ${RELEASEDIR} and make the directory structure.
d154 3
a156 4
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
	-mkdir ${RELEASEDIR}
	chflags -R noschg ${RELEASEDIR}/.
	rm -rf ${RELEASEDIR}/*
a177 16
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/bin
	cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees
.if exists(${.CURDIR}/../eBones)
	cd ${.CURDIR}/../eBones && ( \
		make bootstrap &&\
		make obj all help-distribute DISTDIR=${RD}/trees &&\
		make kprog \
	)
.endif
	chflags -R noschg ${RD}/trees
	touch release.2

# Make and install the generic kernel(s).
release.3:
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a192 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a212 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a292 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a312 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a354 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a392 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
d396 2
a397 1
		mkdir dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp
d406 2
a517 5
ckRELEASEDIR:
.if !defined(RELEASEDIR)
	@@echo "To make a release RELEASEDIR must be defined" && false
.endif

a544 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a555 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
@


1.276
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
d132 1
@


1.275
log
@1. Sync ABOUT.TXT changes.
2. Go back to using a filesystem on the boot floppy; the rawboot boot blocks
   were just too non-functional for other things.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.274
log
@Copy ABOUT.TXT properly to the CD also.
@
text
@d49 3
a51 2
MFSINODE=		80000
FIXITINODE=		28000
d381 1
a381 2
		mkdir -p etc dev mnt stand/help && \
		ln -s 'AH<<<<' etc/malloc.conf
a615 1
	@@ls -l ${RD}/boot.${FSIMAGE}/kernel
d617 7
a623 7
	cat ${RD}/trees/bin/usr/mdec/rawboot ${RD}/boot.${FSIMAGE}/kernel | \
		dd conv=sync of=${RD}/floppies/boot${FSIMAGE}.flp
	@@echo 'USERCONFIG' > startup_foo
	@@echo 'intro' >> startup_foo
	dd if=startup_foo of=${RD}/floppies/boot${FSIMAGE}.flp \
	  seek=1 bs=512 count=1 conv=notrunc
	@@rm -f startup_foo
@


1.273
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d473 1
@


1.272
log
@DTRT for the 2nd CDROM and cdrom.inf automatically.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.271 1997/01/02 10:29:40 jkh Exp $
@


1.271
log
@Use the right dd conversion options for whacking on the sysinstall commands.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.270 1997/01/01 03:16:34 jkh Exp $
d472 1
@


1.270
log
@Make CHECKSUM.MD5 files automatically.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.269 1996/12/30 05:35:33 jkh Exp $
d621 1
a621 1
	  seek=1 bs=512 count=1 conv=sync
@


1.269
log
@argh!!  I thought I stomped these two lines already.. :(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.268 1996/12/30 02:57:33 jkh Exp $
d501 1
a501 1
		  if [ "${SD}" != "/usr/src" ]; then \
d504 8
a511 1
			  > ${RD}/dists/${TD}/$$tn.mtree ; else true; fi )
@


1.268
log
@More properly call objlink target than use `obj OBJLINK=yes'; the latter
form seems broken these days anyway.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.267 1996/12/29 05:51:33 jkh Exp $
a245 2
		mtree -U -f ${.CURDIR}/man.mtree -d -e \
			-p ${RD}/trees/manpages/usr/share; \
@


1.267
log
@Support the use of the 2nd CDROM as a fixit aid.  Also put the EHS
into a submenu in case you need to start it again (or at some other point
in the installation).

Submitted-By: joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.266 1996/12/29 05:28:37 jkh Exp $
d138 1
a138 1
	echo "make obj OBJLINK=yes"		>> ${CHROOTDIR}/mk
@


1.266
log
@Add a "catpages" distribution for the catman stuff.

Submitted-By: joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.265 1996/12/29 05:26:04 jkh Exp $
d466 1
d471 2
@


1.265
log
@Make sure sysinstall gets its obj directory made.  This should close
PR#2308, but I need to test it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.264 1996/12/23 05:10:31 peter Exp $
d25 1
a25 1
EXPORT_DISTS=	games manpages proflibs dict info doc ${COMPAT_DISTS}
d240 2
a241 2
		tar -cf - -C ${RD}/trees/bin/usr/share/man . | \
			tar xf - -C ${RD}/trees/manpages/usr/share/man && \
d243 9
@


1.264
log
@Build the compat dists via the standard build with the rest of the tree
rather than as a special case.

Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.263 1996/12/14 23:14:39 jkh Exp $
d135 2
d139 1
a139 3
	echo "cd obj"                           >> ${CHROOTDIR}/mk
	echo "rm -f ${REDOREDO}"                >> ${CHROOTDIR}/mk
	echo "cd /usr/src/release"              >> ${CHROOTDIR}/mk
@


1.263
log
@Merge from 2.2
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.262 1996/12/12 19:46:21 jkh Exp $
d24 2
a25 1
EXPORT_DISTS=	games manpages proflibs dict info doc
a431 11
# --==## Create the compat distributions ##==--
#
release.10:
	@@for i in compat1x compat20 compat21; do \
		mkdir -p ${RD}/dists/$$i && ( cd ${RD}/dists/$$i && \
		uudecode ${.CURDIR}/compat/$$i.tgz.uu && \
		cp ${.CURDIR}/scripts/$${i}-install.sh install.sh && \
		md5 * > CHECKSUM.MD5 ); \
	done

#
d497 1
a497 1
		release.7 release.8 release.9 release.10
@


1.262
log
@Allocate more inodes for general use now that we have the room.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.261 1996/12/11 18:26:19 jkh Exp $
d378 1
a378 1
		*[sw]d* cuaa[01] cuaa[23] fd[01] rfd[01] \
d381 1
a381 1
	( cd ${RD}/mfsfd/dev && rm -f *[sw]d*[bdefgh] )
d448 1
d453 1
@


1.261
log
@Stomp the 4MB boot floppy and punt on 1.2MB floppy images.  It's a battle
we're constantly losing and will concede for now.  Brilliant ideas
taken at the front desk.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.260 1996/12/08 18:21:29 joerg Exp $
d48 1
a48 1
MFSINODE=		110000
@


1.260
log
@Another fixit improvement: add a lame script that pretends to be
tar(1), but actually uses cpio(1).  Many people are getting confused
about the lack of a tar on the fixit floppy, and simply don't know
that cpio can basically handle tar format fine (or they simply don't
know how to invoke cpio).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.259 1996/11/27 22:52:06 phk Exp $
d40 2
a41 2
FDSIZE=			1200
FDLABEL=		fd1200
d47 2
a48 3
BOOTMFSSIZE4=		1100
BOOTMFSSIZE=		1200
MFSINODE=		120000
a389 7
	# make the small bootfd
	@@echo "Making the small 4MB boot floppy."
		sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE4} ${RD}/mfsfd \
			${MFSINODE} minimum
		mv fs-image fs-image.4
	mv fs-image.size fs-image.4.size
	# add more stuff for the complete bootfd
a398 1
	cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=4
a574 1
.if defined(FSIMAGE) && (${FSIMAGE} == "4") 
a577 7
		-e '/I[56]86_CPU/d' \
		-e '/[ 	]pci0/d' \
		-e '/ncr0/d' \
		-e '/BOUNCE_BUFFERS/d' \
		-e '/VISUAL_USERCONFIG/d' \
		-e '/device[ 	]*de0/d' \
		-e '/device[ 	]*fxp0/d' \
a585 13
.else
	@@cd ${.CURDIR}/../sys/i386/conf && \
	  sed	-e '/SYSV/d' \
		-e '/pty/d' \
		-e '/PROCFS/d' \
		-e '/KTRACE/d' \
		-e 's/GENERIC/BOOTMFS/g' \
		-e '/maxusers/s/10/4/' < GENERIC > BOOTMFS && \
	  echo "options  MFS" >> BOOTMFS && \
	  echo "options  NFS_NOSERVER" >> BOOTMFS && \
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options  USERCONFIG_BOOT" >> BOOTMFS
.endif
@


1.259
log
@Try to impreve DD mode.
Try to make 4Mb floppies work again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.258 1996/11/16 22:40:59 joerg Exp $
d432 2
@


1.258
log
@Comment out the setting of PATH in /dev/MAKEDEV on the fixit floppy.
It's entirely useless there.

Observed by:	andreas

Make the pre-existance of /R/stage/dists/compat* non-fatal, so
`make rerelease' won't fall over.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.257 1996/11/15 22:16:09 jkh Exp $
d47 3
a49 2
BOOTMFSSIZE=		1400
MFSINODE=		42000
d373 2
a374 1
		mkdir -p dev mnt stand/help
d393 1
a393 1
		sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
d582 1
d586 7
d601 13
@


1.257
log
@Fix a bogon in my new release.10 target.
Submitted-By: John Hay <jhay@@mikom.csir.co.za>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.256 1996/11/14 14:23:53 andreas Exp $
d423 2
a424 1
		cp ${RD}/trees/bin/dev/MAKEDEV . && \
d440 1
a440 1
		mkdir ${RD}/dists/$$i && ( cd ${RD}/dists/$$i && \
@


1.256
log
@Add a note, that vn driver has to be compiled into the kernel.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.255 1996/11/13 13:40:47 jkh Exp $
d439 3
a441 3
		mkdir ${RD}/dists/$i && ( cd ${RD}/dists/$i && \
		uudecode ${.CURDIR}/compat/$i.tgz.uu && \
		cp ${.CURDIR}/scripts/${i}-install.sh install.sh && \
@


1.255
log
@I'm feeling charitable, so I'll save the bloatists some valuable wind:

	BLOAT! BLOAT! BLOAT! BLOAT!

Yes, but where else to put these stinking compat distributions.  I, for one,
am bone tired of creating them by hand and then having everyone tell me I left
something out/in.  Now any commiter can adjust the list as necessary, and I
forsee this as being so seldom necessary that I've simply committed the
uuencoded tarballs - these are from the last SNAP, and nobody complained
(for once) about that set.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.254 1996/11/12 19:18:05 jkh Exp $
d12 3
@


1.254
log
@Bump BOOTMFSSIZE.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.253 1996/11/12 15:40:52 phk Exp $
d432 11
d506 1
a506 1
		release.7 release.8 release.9
@


1.253
log
@Save some time.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.252 1996/11/09 16:25:29 joerg Exp $
d44 1
a44 1
BOOTMFSSIZE=		1250
@


1.252
log
@Several improvements to the `fixit' configuration:

. Don't gzip the crunched binary by now; it just fits, and execution is
  a lot faster this way (it's truly demand-paged again).

. Add more(1), ft(8), protocols(5), a stripped down services(5).

. Improve the .profile, and make sysinstall actually use it again.

Still no go for a 4 MB configuration though. :-(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.251 1996/11/08 19:09:45 jkh Exp $
d81 1
a81 1
	cd ${.CURDIR}/.. && ${MAKE} install DESTDIR=${CHROOTDIR}
@


1.251
log
@Remove a mkdir in doTARBALL which, as far as I can tell, is not needed
for anything.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.250 1996/11/07 14:50:28 joerg Exp $
d44 1
a44 1
BOOTMFSSIZE=		1200
d46 1
d418 1
a418 1
		DIR=${RD}/fixitfd/stand ZIP=true
d422 2
a423 1
	cp ${RD}/trees/bin/etc/spwd.db ${RD}/fixitfd/etc
d425 1
d427 1
a427 1
		10000 ${FDLABEL}
@


1.250
log
@Merge my vi hack^H^H^H^Hframework into HEAD, so the various revisions
should be in sync again.  It's an env variable only, hence it's
harmless and ignored without the actual changes in vi's Makefile.

Suggested by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.249 1996/11/03 14:39:18 joerg Exp $
d481 2
a482 2
		mkdir -p ${TD} && sh ${.CURDIR}/info.sh \
		${RD}/dists/${TD}/$$tn > ${RD}/dists/${TD}/$$tn.inf && \
@


1.249
log
@Make `make release' fail if crunchgen failed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.248 1996/11/03 08:52:31 joerg Exp $
d201 3
d209 1
@


1.248
log
@`make release' was checking out the new source code into $CVSROOT
which i figure is probably not what was intended. :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.247 1996/11/02 18:58:07 jkh Exp $
d214 1
a214 1
		true || rm -rf $${j}_crunch ; \
@


1.247
log
@Add cmd to prototype services file so rrestore can work.
Suggested-By: Andrew Heybey <ath@@bellcore.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246 1996/10/14 13:29:40 jkh Exp $
d90 1
a90 1
		cvs co -d ${CVSROOT} -P -r ${RELEASETAG} src
@


1.246
log
@Adjust the boot-time userconfig options to match reality.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.245 1996/10/10 09:22:16 jkh Exp $
d378 1
d590 1
a590 1
	cat /usr/mdec/rawboot ${RD}/boot.${FSIMAGE}/kernel | \
@


1.246.2.1
log
@Set the BUILDNAME, RELEASETAG and fix a bug Joerg found a couple of seconds
before me.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246 1996/10/14 13:29:40 jkh Exp $
d14 1
a14 1
BUILDNAME=2.2-PRE-ALPHA
d17 1
a17 1
RELEASETAG=RELENG_2_2
d90 1
a90 1
		cvs -d ${CVSROOT} co -P -r ${RELEASETAG} src
@


1.246.2.2
log
@Merge from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.1 1996/11/03 12:01:12 phk Exp $
d214 1
a214 1
		true || { rm -rf $${j}_crunch ; false ; } ; \
a377 1
	echo "cmd             514/tcp    shell" >> ${RD}/mfsfd/stand/etc/services
d589 1
a589 1
	cat ${RD}/trees/bin/usr/mdec/rawboot ${RD}/boot.${FSIMAGE}/kernel | \
@


1.246.2.3
log
@Fix the name of our vi inside the fixit_crunch file.

Activate the hook to build the vi on the fixit floppy without Tcl or
Perl APIs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.2 1996/11/04 10:10:20 phk Exp $
a200 3
#
# NB: the "RELEASE_BUILD_FIXIT" magic prevents vi from including the
# Tcl and Perl APIs.  See also /usr/src/usr.bin/vi/Makefile.
a205 1
	export RELEASE_BUILD_FIXIT=noway ; \
@


1.246.2.4
log
@Merge from HEAD: various improvements to the fixit floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.3 1996/11/06 22:47:59 joerg Exp $
d44 1
a44 1
BOOTMFSSIZE=		1250
a45 1
FIXITINODE=		28000
d417 1
a417 1
		DIR=${RD}/fixitfd/stand ZIP=false
d421 1
a421 2
	cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \
		${RD}/trees/bin/etc/protocols ${RD}/fixitfd/etc
a422 1
	cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
d424 1
a424 1
		${FIXITINODE} ${FDLABEL}
@


1.246.2.5
log
@Mega-merge from -current
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.4 1996/11/09 16:33:50 joerg Exp $
d484 2
a485 2
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > \
		   ${RD}/dists/${TD}/$$tn.inf && \
@


1.246.2.6
log
@Merge from HEAD (compat dist changes)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.5 1996/11/12 09:06:05 phk Exp $
d44 1
a44 1
BOOTMFSSIZE=		1400
d81 1
a81 1
	cd ${.CURDIR}/.. && ${MAKE} install DESTDIR=${CHROOTDIR} NOMAN=1
a431 11
# --==## Create the compat distributions ##==--
#
release.10:
	@@for i in compat1x compat20 compat21; do \
		mkdir ${RD}/dists/$i && ( cd ${RD}/dists/$i && \
		uudecode ${.CURDIR}/compat/$i.tgz.uu && \
		cp ${.CURDIR}/scripts/${i}-install.sh install.sh && \
		md5 * > CHECKSUM.MD5 ); \
	done

#
d495 1
a495 1
		release.7 release.8 release.9 release.10
@


1.246.2.7
log
@Ok, guys, you missed the ALPHA, now we're "POST-ALPHA"
And more than 600 packages, (each with it's own signature theme :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.6 1996/11/13 14:14:17 jkh Exp $
d14 1
a14 1
#BUILDNAME=2.2-960501-SNAP
d17 1
a17 1
#RELEASETAG=RELENG_2_1_0
@


1.246.2.8
log
@Grumble, I messed up the last commit here.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.7 1996/11/13 20:05:39 phk Exp $
d14 1
a14 1
BUILDNAME=2.2-POST-ALPHA
d17 1
a17 1
RELEASETAG=RELENG_2_1_2
@


1.246.2.9
log
@Merge r1.257
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.8 1996/11/14 08:04:50 phk Exp $
d436 3
a438 3
		mkdir ${RD}/dists/$$i && ( cd ${RD}/dists/$$i && \
		uudecode ${.CURDIR}/compat/$$i.tgz.uu && \
		cp ${.CURDIR}/scripts/$${i}-install.sh install.sh && \
@


1.246.2.10
log
@Merge from rev 1.258.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.9 1996/11/15 22:18:44 jkh Exp $
d420 1
a420 2
		sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \
		chmod 755 MAKEDEV && \
d436 1
a436 1
		mkdir -p ${RD}/dists/$$i && ( cd ${RD}/dists/$$i && \
@


1.246.2.11
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.10 1996/11/16 22:45:51 joerg Exp $
a12 3
# please note: the vn driver has to be compiled into your kernel,
# otherwise the target 'release.8' and possibly others will fail.
#
d17 1
a17 1
RELEASETAG=RELENG_2_2
@


1.246.2.12
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.11 1996/11/23 08:26:58 phk Exp $
d47 2
a48 3
BOOTMFSSIZE4=		1100
BOOTMFSSIZE=		1200
MFSINODE=		120000
d372 1
a372 2
		mkdir -p etc dev mnt stand/help && \
		ln -s 'AH<<<<' etc/malloc.conf
d391 1
a391 1
		sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE4} ${RD}/mfsfd \
a579 1
.if defined(FSIMAGE) && (${FSIMAGE} == "4") 
a582 7
		-e '/I[56]86_CPU/d' \
		-e '/[ 	]pci0/d' \
		-e '/ncr0/d' \
		-e '/BOUNCE_BUFFERS/d' \
		-e '/VISUAL_USERCONFIG/d' \
		-e '/device[ 	]*de0/d' \
		-e '/device[ 	]*fxp0/d' \
a590 13
.else
	@@cd ${.CURDIR}/../sys/i386/conf && \
	  sed	-e '/SYSV/d' \
		-e '/pty/d' \
		-e '/PROCFS/d' \
		-e '/KTRACE/d' \
		-e 's/GENERIC/BOOTMFS/g' \
		-e '/maxusers/s/10/4/' < GENERIC > BOOTMFS && \
	  echo "options  MFS" >> BOOTMFS && \
	  echo "options  NFS_NOSERVER" >> BOOTMFS && \
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options  USERCONFIG_BOOT" >> BOOTMFS
.endif
@


1.246.2.13
log
@Merge from HEAD: add the tar replacement script. (Makefile rev 1.260,
the actual tar.sh file has been tagged behind the scene.)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.12 1996/11/28 08:17:21 phk Exp $
a431 2
	cp ${.CURDIR}/tar.sh ${RD}/fixitfd/stand/tar
	chmod 555 ${RD}/fixitfd/stand/tar
@


1.246.2.14
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.261 1996/12/11 18:26:19 jkh Exp $
d17 1
a17 1
#BUILDNAME=2.2-960501-SNAP
d20 1
a20 1
#RELEASETAG=RELENG_2_1_0
d40 2
a41 2
FDSIZE=			1440
FDLABEL=		fd1440
d47 3
a49 2
BOOTMFSSIZE=		1440
MFSINODE=		110000
d391 7
d407 1
d584 1
d588 7
d603 13
@


1.246.2.15
log
@YAMFC
@
text
@d48 1
a48 1
MFSINODE=		80000
@


1.246.2.16
log
@Close PR#2198:

	I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@@kme.mei.co.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.15 1996/12/12 19:47:05 jkh Exp $
d378 1
a378 1
		*[swo]d* cuaa[01] cuaa[23] fd[01] rfd[01] \
d381 1
a381 1
	( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] )
@


1.246.2.17
log
@Restore a couple of crucial variables here.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.16 1996/12/13 07:55:02 jkh Exp $
d17 1
a17 1
BUILDNAME=2.2-POST-ALPHA
d20 1
a20 1
RELEASETAG=RELENG_2_2
@


1.246.2.18
log
@Reference floppy readme.txt and toplevel about.txt files appropriately.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.17 1996/12/14 09:46:18 phk Exp $
a447 1
	cp ${.CURDIR}/ABOUT.TXT ${FD}/ABOUT.TXT
a451 1
	cp ${.CURDIR}/floppies/README.TXT ${FD}/floppies/README.TXT
@


1.246.2.19
log
@Use the new compat dist build method so Jordan can use it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.18 1996/12/14 22:50:25 jkh Exp $
d24 1
a24 2
COMPAT_DISTS=	compat1x compat20 compat21
EXPORT_DISTS=	games manpages proflibs dict info doc ${COMPAT_DISTS}
@


1.246.2.20
log
@Whups, nuke release.10 over here too.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.19 1996/12/23 05:56:51 peter Exp $
d17 1
a17 1
BUILDNAME=2.2-BETA
d432 11
d508 1
a508 1
		release.7 release.8 release.9
@


1.246.2.21
log
@Merge all the -current changes in /usr/src/release.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.20 1996/12/23 23:27:50 jkh Exp $
d25 1
a25 1
EXPORT_DISTS=	games manpages catpages proflibs dict info doc ${COMPAT_DISTS}
a134 2
	echo "cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
d136 4
a139 2
	echo "make objlink"			>> ${CHROOTDIR}/mk
	echo "(cd obj; rm -f ${REDOREDO})"	>> ${CHROOTDIR}/mk
d240 2
a241 2
		( cd ${RD}/trees/bin/usr/share/man; \
		find . | cpio -dumpl ${RD}/trees/manpages/usr/share/man ) && \
a243 7
	# Create the catpages
	if [ -d ${RD}/trees/manpages/usr/share/man ] ; then \
		su -m man -c 'catman ${RD}/trees/manpages/usr/share/man'; \
		( cd ${RD}/trees/manpages/usr/share/man; \
		find cat* | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) && \
		rm -rf ${RD}/trees/manpages/usr/share/man/cat*; \
	fi
a456 1
			chflags -R noschg ${RD}/trees/$${i} ; \
a460 2
	rm -f ${CD}/filesys/.profile
	cp ${.CURDIR}/fixit.profile ${CD}/filesys/.profile
d491 1
a491 1
		if [ "${SD}" != "/usr/src" ]; then \
d494 1
a494 8
			  > ${RD}/dists/${TD}/$$tn.mtree ; \
		else \
			true; \
		fi; \
		(cd ${RD}/dists/${TD}; \
		   rm -f CHECKSUM.MD5; \
		   md5 * > CHECKSUM.MD5) \
	)
d604 1
a604 1
	  seek=1 bs=512 count=1 conv=notrunc
@


1.246.2.22
log
@Propagate "real filesystem" changes to 2.2.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.21 1997/01/03 06:38:02 jkh Exp $
d49 2
a50 3
MFSINODE=		60000
FIXITINODE=		20000
BOOTINODE=		100000
d380 2
a381 1
		mkdir -p etc dev mnt stand/help
d614 1
d616 7
a622 3
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		${BOOTINODE} ${FDLABEL}
	mv fs-image ${RD}/floppies/boot${FSIMAGE}.flp
@


1.246.2.23
log
@YAMFC (rev 1.277: install /etc when bootstrapping)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.22 1997/02/05 04:36:41 jkh Exp $
a131 1
	echo "(cd etc; make distribution)"	>> ${CHROOTDIR}/mk
@


1.246.2.24
log
@YAMFC:

. remove ${RELEASEDIR}
. add scsi_modes to fixit

Not from -current:

. bump RELNAME to "2.2-RELEASE", so we don't forget about this (it was
  still at GAMMA which was quite somewhat out of date)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.23 1997/02/23 15:53:25 joerg Exp $
d17 1
a17 1
BUILDNAME=2.2-RELEASE
d56 3
a58 3
RD=			/R/stage
FD=			/R/ftp
CD=			/R/cdrom
d127 2
d154 1
a154 1
# Clean out /R and make the directory structure.
d156 4
a159 3
	-mkdir /R
	chflags -R noschg /R/.
	rm -rf /R/*
d181 1
d196 1
d212 1
d233 1
d314 1
d335 1
d378 1
d417 1
d421 1
a421 2
		mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
		usr/share/misc
a429 2
	cp ${RD}/trees/bin/usr/share/misc/scsi_modes \
		${RD}/fixitfd/usr/share/misc
d537 5
@


1.246.2.25
log
@Properly segregate CDs into their own release dirs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.24 1997/03/02 12:03:22 joerg Exp $
a58 2
CD_DISC1=		${CD}/disc1
CD_DISC2=		${CD}/disc2
d449 5
a453 5
	mkdir -p ${CD_DISC1} ${CD_DISC2}
	cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
	cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel
	ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD_DISC1}
d459 1
a459 1
			find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \
d462 7
a468 8
	rm -f ${CD_DISC2}/.profile
	cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${CD_DISC1}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${CD_DISC1}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${CD_DISC1}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${CD_DISC1}/RELNOTES.TXT
@


1.246.2.26
log
@Remove ckRELEASEDIR checks that were missed during merge.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.25 1997/03/02 15:28:58 jkh Exp $
d560 1
d572 1
@


1.246.2.27
log
@YAMFC (rev 1.279: still need RELEASEDIR)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.26 1997/03/06 00:10:39 pst Exp $
a128 2
	# Don't remove this, or the build will fall over!
	echo "export RELEASEDIR=/R"		>> ${CHROOTDIR}/mk
@


1.246.2.28
log
@Yikes!  BUILDNAME should most definitely not be set yet.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.27 1997/03/06 07:53:11 joerg Exp $
d17 1
a17 1
#BUILDNAME=2.2-RELEASE
a106 3
.if !defined(NO_PORTS)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports
.endif
a114 3
.if !defined(NO_PORTS)
	cd ${CHROOTDIR}/usr/ports && cvs -q update -P -d
.endif
d154 1
a154 1
	rm -rf boot_crunch release.[0-9]
a432 3
# Do our last minute floppies directory setup in a convenient place.
	cp ${.CURDIR}/floppies/README.TXT ${RD}/floppies/README.TXT
	@@(cd ${RD}/floppies; md5 * > CHECKSUM.MD5)
d447 1
a473 15
	ln -s ../ports ${CD_DISC2}/usr/ports
#
# --==## And finally, create the ports distribution & tarball ##==--
#
# NOTE: Both ftp.1 and cdrom.1 must be run before this target or it will die
#       a quick and gruesome death.  We also expect the release engineer to
#       manually populate ports/distfiles on the 2nd CDROM.

ports.1:
	tar -cBf - -C /usr ports | tar xBpf - -C ${CD_DISC2} && \
		mkdir -p ${CD_DISC1}/ports && tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
		cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) &&
		tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}

d513 1
a513 1
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1 ports.1
@


1.246.2.29
log
@Introduce a hack that eases bootstrapping from a more recent hosting
environment than the target version will be: move the shared libs
out of the way while doing the `make world', so the binaries will link
against the newly built libs.

This will probably become even more important once 2.2 is released...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.28 1997/03/11 07:17:52 jkh Exp $
a138 5
	# This eases bootstrapping from a more recent hosting environment:
	echo "mkdir -p /usr/lib/compat"		>> ${CHROOTDIR}/mk
	echo "chflags noschg /usr/lib/lib*.so.*" >> ${CHROOTDIR}/mk
	echo "mv /usr/lib/lib*.so.* /usr/lib/compat" >> ${CHROOTDIR}/mk
	echo "ldconfig /usr/lib /usr/lib/compat" >> ${CHROOTDIR}/mk
a140 4
	# Now we've got our own shared libs, remove the bootstrapping
	# libs again.
	echo "rm -f /usr/lib/compat/*"		>> ${CHROOTDIR}/mk
	echo "ldconfig /usr/lib"		>> ${CHROOTDIR}/mk
@


1.246.2.30
log
@YAMFC (rev 1.183: put a .cdrom.inf file into the ftp area, too)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.29 1997/03/11 13:53:11 joerg Exp $
a464 1
	echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
@


1.246.2.31
log
@Copy ABOUT.TXT to CD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.30 1997/03/11 20:04:43 joerg Exp $
a487 1
	cp ${.CURDIR}/ABOUT.TXT ${CD_DISC1}/ABOUT.TXT
@


1.246.2.32
log
@Obey NO_PORTS more properly everywhere.
Submitted-By: joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.31 1997/03/12 02:32:08 jkh Exp $
a492 1
.if !defined(NO_PORTS)
a493 1
.endif
a546 3
.if defined(NO_PORTS)
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1
.else
a547 1
.endif
@


1.246.2.33
log
@YAMFC (rev 1.285: don't spam the tarballs with BOOTMFS stuff)
@
text
@d1 1
a1 1
#	$Id$
d528 1
a528 1
		tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
@


1.246.2.34
log
@YAMFC (rev 1.287 and 1.288: export BUILDNAME, RELEASETAG, and NO_PORTS
into the chroot build area)
@
text
@a134 7
	echo "export BUILDNAME=${BUILDNAME}"	>> ${CHROOTDIR}/mk
.if defined(RELEASETAG)
	echo "export RELEASETAG=${RELEASETAG}"	>> ${CHROOTDIR}/mk
.endif
.if defined(NO_PORTS)
	echo "export NO_PORTS=${NO_PORTS}"	>> ${CHROOTDIR}/mk
.endif
@


1.246.2.35
log
@NO_PORTS -> NOPORTS
Will-Make-Happy: msmith
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.34 1997/03/15 20:59:35 joerg Exp $
d107 1
a107 1
.if !defined(NOPORTS)
d118 1
a118 1
.if !defined(NOPORTS)
d139 2
a140 2
.if defined(NOPORTS)
	echo "export NOPORTS=${NOPORTS}"	>> ${CHROOTDIR}/mk
d500 1
a500 1
.if !defined(NOPORTS)
d556 1
a556 1
.if defined(NOPORTS)
@


1.246.2.36
log
@Tweak more docs and remove annoying RELEASETAG value (since you
can now build 3.0 releases from 2.2, this should NOT be set here).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.35 1997/04/09 09:22:02 jkh Exp $
d20 1
a20 1
#RELEASETAG=RELENG_2_2
@


1.246.2.37
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.36 1997/04/20 19:30:09 jkh Exp $
d54 1
a54 1
DISTRIBUTIONS=		${ALL_DISTS}
@


1.246.2.38
log
@Merge Joerg's bootstrap support in from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.37 1997/04/25 09:12:47 jkh Exp $
d49 2
a50 2
MFSINODE=		7000
FIXITINODE=		2000
a61 15
# ${BOOTSTRAPDIR} is for those utilities that refer to the hosting
# environment, rather then the target environment.  This is specifically
# intended for kernel-dependant utilities that are used during the build.
#
# ${BOOTSTRAPDIR} is actually being used by prepending it to the normal
# ${PATH}.  Thus, it's also available to outside utilities like doFS.sh.
BOOTSTRAPDIR=	/bootstrap
#
# The mount subsystem has been changed between 2.2 and 3.0 by the
# Lite2 import.
BOOTSTRAPUTILS=	/sbin/mount /sbin/umount
#
# 3.0 cpio tries to reference lchown(2) which is not available in 2.2
BOOTSTRAPUTILS+= /usr/bin/cpio

a88 4
	mkdir ${CHROOTDIR}/${BOOTSTRAPDIR}
	for i in ${BOOTSTRAPUTILS} ; do \
		cp -p ${CHROOTDIR}$$i ${CHROOTDIR}/${BOOTSTRAPDIR} ; \
	done
d133 2
a134 1
	echo "export CFLAGS='-O2 -pipe'"	>> ${CHROOTDIR}/mk
a143 1
	echo "export PATH=${BOOTSTRAPDIR}:$${PATH}" >> ${CHROOTDIR}/mk
@


1.246.2.39
log
@Pick better values for fixit and MFS inode counts.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.38 1997/04/25 11:42:09 jkh Exp $
d49 2
a50 2
MFSINODE=		8000
FIXITINODE=		6000
@


1.246.2.40
log
@Don't --exclude CVS when building the src distributions.  It's
actually a lot more convenient to have this information around now
than it is to save a few measly megs (if even that much) of space.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.39 1997/04/26 03:52:40 jkh Exp $
d554 1
a554 1
		tar --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
@


1.246.2.41
log
@Changes for DOC.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.40 1997/05/04 01:29:08 jkh Exp $
d5 1
a5 1
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
d7 5
a11 5
# Where "/some/dir" is the pathname of a directory on a some
# filesystem with at least 600MB of free space, "somename" is what
# you want the release to call itself and, optionally, which CVS "tag"
# name should be used when checking out the sources to build the release
# (default is HEAD).
d13 1
a13 1
# Please note: the vn driver must also be compiled into your kernel,
d16 1
a16 1
# Set these, release builder!
d35 1
a35 1
BOOT1=	etc/protocols etc/rc.conf
a128 3
.if !defined(NODOC)
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P doc
.endif
a139 3
.if !defined(NODOC)
	cd ${CHROOTDIR}/usr/doc && cvs -q update -P -d
.endif
a178 3
.endif
.if !defined(NODOC)
	echo "cd /usr/doc && make all install" >> ${CHROOTDIR}/mk
@


1.246.2.42
log
@YAMFC: Make install in include before making world.

       Without this, if you try to build a 2.2 release
       on -current, it falls on its face here because
       /usr/include contains your "make install"d headers
       where the /usr/include/* symlinks point to the
       RELENG_2_2 headers.

       Reviewed by:	jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.41 1997/06/02 06:49:06 jkh Exp $
a175 1
	echo "(cd include; make all install)"   >> ${CHROOTDIR}/mk
@


1.246.2.43
log
@Make readmes in new ports tree.

Submitted-By: asami
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.42 1997/06/06 02:11:31 brian Exp $
d127 1
a127 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes
@


1.246.2.44
log
@Keep the release tools in sync with -current..
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.43 1997/06/11 10:02:36 jkh Exp $
d23 1
a23 2
# BIN_DISTS are special in that they get full /etc installation sets.
#
d26 2
a27 3
EXTRA_DISTS=	krb des
BIN_DISTS?=	bin
ALL_DISTS?=	${BIN_DISTS} ${EXPORT_DISTS} ${EXTRA_DISTS}
d53 2
a54 2
# Things which may get you into trouble if you change them
DISTRIBUTIONS?=		${ALL_DISTS}
d77 2
a78 2
.if !defined(CRUNCH_TARGETS)
CRUNCH_TARGETS=	boot fixit
a147 1
	# Add version information to those things that need it.
a158 1
	echo "export DISTRIBUTIONS=\"${DISTRIBUTIONS}\"" >> ${CHROOTDIR}/mk
d200 4
d217 1
a217 1
	for i in ${DISTRIBUTIONS} ; do \
d233 1
a233 3
	for i in ${BIN_DISTS}; do \
	  cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/$$i; \
	done
d235 1
a235 1
.if exists(${.CURDIR}/../eBones) && !defined(NOKERBEROS)
d262 1
a262 1
	cd ${.CURDIR}/sysinstall && make obj depend all
d266 1
a266 1
	for j in ${CRUNCH_TARGETS} ; do \
d288 54
a341 9
	# Create any "synthetic dists" now.
	@@for i in ${DISTRIBUTIONS}; do \
		if [ -f ${.CURDIR}/scripts/$${i}-make.sh ]; then \
			echo -n "Running $$i dist creation script... "; \
			env RD=${RD} sh ${.CURDIR}/scripts/$${i}-make.sh || echo "$$i distribution script returned bad status."; \
			echo "Done."; \
		fi \
	done \

d355 1
a355 1
		find ${EXPORT_DISTS} ${EXTRA_DISTS} -depth -type d -print | xargs rmdir
d359 1
a359 1
# --==## Package up the tarballs from assembled trees ##==--
a372 1
	# More munition braindeadness.
d599 1
a599 1
	cd ${.CURDIR} && ${MAKE} release.4 release.8 CRUNCH_TARGETS=boot
d603 1
a603 1
	cd ${.CURDIR} && ${MAKE} release.4 release.9 CRUNCH_TARGETS=fixit
@


1.246.2.45
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.44 1997/06/21 15:47:30 jkh Exp $
d192 1
a192 1
	echo "cd /usr/doc && make all distribute DISTDIR=/R/stage/trees" >> ${CHROOTDIR}/mk
@


1.246.2.46
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.45 1997/06/21 19:40:04 jkh Exp $
d25 3
a27 3
COMPAT_DISTS?=	compat1x compat20 compat21
OTHER_DISTS?=	games manpages catpages proflibs dict info doc
CRYPTO_DISTS?=	krb des
d29 1
a29 1
DISTRIBUTIONS?=	${BIN_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
d56 1
d312 1
a312 1
		find ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS} -depth -type d -print | xargs rmdir
@


1.246.2.47
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.46 1997/06/22 08:38:11 jkh Exp $
d232 3
a234 1
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/bin
@


1.246.2.48
log
@Move doc dist (YAMFC)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.47 1997/06/22 10:20:21 jkh Exp $
a81 9
EXTRAS=	cdrom.1
.if !defined(NOPORTS)
EXTRAS+= ports.1
.endif

.if !defined(NODOC)
DOCREL= doc.1
.endif

a168 3
.if defined(NODOC)
	echo "export NODOC=${NODOC}"		>> ${CHROOTDIR}/mk
.endif
d190 3
a501 3
doc.1:
	cd /usr/doc && make all distribute DISTDIR=${RD}/trees

d538 7
a544 3
doRELEASE:  release.1 release.2 release.3 release.4 release.5 ${DOCREL} \
		release.6 release.7 release.8 release.9
	cd ${.CURDIR} && ${MAKE} ${EXTRAS}
@


1.246.2.49
log
@YAMFOO
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.48 1997/06/22 17:22:21 jkh Exp $
d550 1
a550 1
doRELEASE:  release.1 release.2 ${DOCREL} release.3 release.4 release.5 \
@


1.246.2.50
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.49 1997/06/22 17:59:24 jkh Exp $
d82 1
a82 1
EXTRAS=
a85 1
EXTRAS+= cdrom.1
@


1.246.2.51
log
@Fix missing ftp.1 bogon, add extra knob for making src optional and
for boot.config.

Submitted-By: pst
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.50 1997/06/23 01:50:13 jkh Exp $
d82 1
d86 1
a86 1
EXTRAS+= ftp.1 cdrom.1
a178 3
.if defined(BOOT_CONFIG)
	echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
.endif
a181 3
.if defined(NOSRC)
	echo "export NOSRC=${NOSRC}"		>> ${CHROOTDIR}/mk
.endif
a346 1
.if !defined(NOSRC)
a370 1
.endif
a644 3
.if defined(BOOT_CONFIG)
	@@echo "${BOOT_CONFIG}" >${RD}/boot.${FSIMAGE}/boot.config
.endif
@


1.246.2.52
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.51 1997/06/24 23:07:32 jkh Exp $
d178 3
a185 6
.endif
.if defined(NOSHARED)
	echo "export NOSHARED=${NOSHARED}"	>> ${CHROOTDIR}/mk
.endif
.if defined(BOOT_CONFIG)
	echo "export BOOT_CONFIG=\"${BOOT_CONFIG}\"">> ${CHROOTDIR}/mk
@


1.246.2.53
log
@YAMFC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.52 1997/06/28 08:22:10 pst Exp $
d102 2
a103 2
.if !defined(CHROOTDIR) || !defined(BUILDNAME) || !defined(CVSROOT)
	@@echo "To make a release you must set CHROOTDIR, BUILDNAME and CVSROOT" && false
@


1.246.2.54
log
@YAMFC games man/catdist changes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.53 1997/06/29 18:13:57 jkh Exp $
d26 1
a26 1
OTHER_DISTS?=	manpages catpages games proflibs dict info doc
@


1.246.2.55
log
@If we're going to have the new boot block features in 2.2, better support 'em.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.54 1997/07/02 08:59:34 jkh Exp $
a642 3
.if defined(BOOT_CONFIG)
	@@echo "${BOOT_CONFIG}" >${RD}/boot.${FSIMAGE}/boot.config
.endif
d655 3
a657 2
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/boot.${FSIMAGE}
	@@touch ${RD}/boot.${FSIMAGE}/boot.config
@


1.246.2.56
log
@YAMFC: Move ports distribution copying for ftp dist into the correct place.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.55 1997/07/05 14:11:52 jkh Exp $
a476 3
.if !defined(NOPORTS)
	tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}
.endif
d518 3
a520 1
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
@


1.246.2.57
log
@Ports building changes from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.56 1997/07/09 12:45:37 jkh Exp $
d82 4
a85 1
EXTRAS= cdrom.1 ftp.1
d508 10
d519 2
a520 3
	  mkdir -p ${CD_DISC1}/ports && \
	  tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
	  cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
a521 2
	ln -s ../ports ${CD_DISC2}/usr/ports
.endif
@


1.246.2.58
log
@Thwap docs dist here too.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.57 1997/07/13 00:55:26 jkh Exp $
a20 3

# Disable the doc.1 target for now.
NODOC=  YES
@


1.246.2.59
log
@YAMFC - touch kernel.config
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.58 1997/07/23 14:54:19 jkh Exp $
a653 1
	@@touch ${RD}/boot.${FSIMAGE}/kernel.config
@


1.246.2.60
log
@New path for floppies README.TXT
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.59 1997/07/31 10:08:32 jkh Exp $
d460 1
a460 1
	cp ${.CURDIR}/README.TXT ${RD}/floppies/README.TXT
@


1.246.2.61
log
@MFC: upgrade fixes, less verbosity, etc.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.60 1997/07/31 11:09:29 jkh Exp $
d279 1
a279 2
	mkdir -p /stand
	cd ${.CURDIR}/sysinstall && make obj depend all install
@


1.246.2.62
log
@MFC: 1.322, do a `make distrib-dirs distribution' inside the chroot
tree.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.61 1997/09/08 11:16:08 jkh Exp $
a200 1
	echo "(cd etc; make distrib-dirs distribution)" >> ${CHROOTDIR}/mk
@


1.246.2.63
log
@MFC: rev 1.323, don't kill termcap.db and vgrindefs.db
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.62 1997/09/20 15:41:46 joerg Exp $
d325 2
@


1.246.2.64
log
@MFC: boot.help changes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.63 1997/09/20 17:11:09 joerg Exp $
a402 1
	@@cp ${.CURDIR}/../sys/i386/boot/biosboot/boot.help ${RD}/mfsfd/stand
@


1.246.2.65
log
@2-to-12 (MET DST :) fix: stuff the bootstrap files onto the fixit floppy,
too.  I feel they are rather important for a fixit floppy... ;)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.64 1997/10/03 14:18:02 jkh Exp $
d442 1
a442 1
		usr/share/misc usr/mdec
a452 5
	cp ${RD}/trees/bin/usr/mdec/boot[12] ${RD}/fixitfd/usr/mdec
	for type in fd od sd wd ; do \
		( cd ${RD}/fixitfd/usr/mdec && ln -s boot1 $${type}boot && \
			ln -s boot2 boot$${type} ) ; \
	done
@


1.246.2.66
log
@NODOC should be enabled for now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.65 1997/10/20 21:56:01 joerg Exp $
d23 1
a23 1
#NODOC=  YES
@


1.246.2.67
log
@MFC: reenable NODOC
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.66 1997/10/26 23:35:22 jkh Exp $
d23 1
a23 1
NODOC=  YES
@


1.246.2.68
log
@MFC: Bring back docs, do better dist subselection.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.67 1997/11/26 12:45:39 jkh Exp $
d22 2
a23 5
# Uncomment this to disable the doc.1 target.  It is also an ERROR
# to set NOPORTS and not set NODOC since docs depend on ports.
#NODOC=  YES
DOCPORTS=	archivers/unzip lang/perl5 textproc/jade textproc/iso8879 \
		textproc/linuxdoc textproc/docbook textproc/sgmlformat
a140 3
	cd ${CHROOTDIR}/usr/ports && for i in ${DOCPORTS}; do \
	  (cd $$i; make fetch DISTDIR=${CHROOTDIR}/usr/ports/distfiles ); \
        done
a522 1
	for i in ${DOCPORTS}; do (cd /usr/ports/$$i; make all install); done
@


1.246.2.69
log
@MFC: clean up ports
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.68 1998/01/23 20:16:42 jkh Exp $
d529 1
a529 3
	for i in ${DOCPORTS}; do \
	  (cd /usr/ports/$$i; make all install clean); \
	done
@


1.246.2.70
log
@MFC: bogus work-around.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.69 1998/01/24 07:31:20 jkh Exp $
d530 1
a530 1
	  (cd /usr/ports/$$i; make all install clean FORCE_PKG_REGISTER=yes); \
@


1.246.2.71
log
@MFC: set path explicitly.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.70 1998/01/27 01:07:06 jkh Exp $
d530 1
a530 2
	  cd /usr/ports/$$i && make all install clean \
	    FORCE_PKG_REGISTER=yes PATH=$PATH:/usr/local/bin; \
@


1.246.2.72
log
@MFC: Just set PATH once.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.71 1998/01/27 23:09:44 jkh Exp $
a68 3
# Where the bootstrap ports (see DOCPORTS) get installed.
LOCALDIR=		/usr/local/bin

d198 1
a198 1
	echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
d530 2
a531 1
	  cd /usr/ports/$$i && make all install clean FORCE_PKG_REGISTER=yes; \
@


1.246.2.73
log
@MFC: Use the new subclean target before building the crunch
     stuff and define RELEASE_CRUNCH.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.72 1998/01/28 04:05:26 jkh Exp $
a300 2
		${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all \
		    NOCRYPT=yes "CFLAGS=${CFLAGS} -DCRUNCHED_BINARY") && \
@


1.246.2.74
log
@Remove INTCVSROOT, it's obsolete.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.73 1998/01/30 20:54:25 brian Exp $
d127 4
d134 4
@


1.246.2.75
log
@Make "make release" work again... I hope.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.74 1998/02/01 06:36:24 pst Exp $
d291 2
@


1.246.2.76
log
@Totally change the way that devices are made in the MFS and subsequently
probed in sysinstall.  Rather than make template devices and use up lots
of inodes, also restricting the number of devices that can be dealt with,
mknod all necessary devices as necessary using built-in information.
This removes a number of constraints on the number and type of devices
that sysinstall can see.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.75 1998/02/02 17:37:05 jhay Exp $
d57 1
a57 1
MFSINODE=		15000
d408 3
a410 1
		ls console tty ttyv0 ttyv1 ttyv2 ttyv3 null zero | \
@


1.246.2.77
log
@Add a no-cost optimization for DOC bootstrap.  Get from local release
building machine if available.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.76 1998/02/10 18:31:14 jkh Exp $
d140 1
a140 2
	  (cd $$i; make fetch MASTER_SITE_OVERRIDE=file:/usr/ports/distfiles/ \
	    DISTDIR=${CHROOTDIR}/usr/ports/distfiles ); \
@


1.246.2.78
log
@Replace eBones with kerberosIV (Actually KTH eBones from current)

sysinstall is going to need some work to sync with this.
@
text
@d1 1
a1 1
#	$Id$
d255 2
a256 2
.if exists(${.CURDIR}/../kerberosIV) && !defined(NOKERBEROS)
	cd ${.CURDIR}/../kerberosIV && ( \
a376 1
		if [ -f scrypto.aa ] ; then mv scrypto.* ../des ; fi && \
d378 1
a378 2
		if [ -f skerbero.aa ] ; then mv skerbero.* ../des ; fi && \
		if [ -f scrypto.inf ] ; then mv scrypto.inf ../des ; fi && \
d380 1
a380 1
		if [ -f skerbero.inf ] ; then mv skerbero.inf ../des ; fi ; )
@


1.246.2.79
log
@Heh - somebody merged this Makefile and brought config -n in with
it.  Since config doesn't have a -n option in -stable, that caused
the release builds to fall over.  Whoops.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.78 1998/02/18 12:45:09 markm Exp $
d618 1
a618 1
	cd ${.CURDIR}/../sys/i386/conf && config ${KERNEL}
@


1.246.2.80
log
@MFC: sync purely gratuitous differences from current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.79 1998/02/18 17:25:20 jkh Exp $
d25 2
a26 2
DOCPORTS= archivers/unzip lang/perl5 textproc/jade textproc/iso8879 \
          textproc/linuxdoc textproc/docbook textproc/sgmlformat
d57 2
a58 2
MFSINODE=		7000
FIXITINODE=		2000
d73 2
a74 2
# environment, rather than the target environment.  This is specifically
# intended for kernel-dependent utilities that are used during the build.
d282 1
a282 1
	@@mkdir -p /stand
d377 1
d379 4
a382 2
		if [ -f scrypto.aa ] ; then mv scrypto.* ../des ; fi && \
		if [ -f skerbero.aa ] ; then mv skerbero.* ../des ; fi ; )
d547 1
a547 1
		tar --exclude CVS --exclude obj --exclude BOOTMFS -cf - ${ARG} | \
@


1.246.2.81
log
@Revert some of the inode sizes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.80 1998/03/06 06:48:02 jkh Exp $
d57 2
a58 2
MFSINODE=		15000
FIXITINODE=		6000
@


1.246.2.82
log
@Don't snip out SYSVSHM option - we have room for it in the boot kernel
and it just makes X complain noisily when it's gone.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.81 1998/03/06 23:06:20 jkh Exp $
d628 2
a629 1
	  sed	-e '/pty/d' \
@


1.246.2.83
log
@Hmmmm.  Either I'm hallucinating or the previous commit didn't "take"
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.82 1998/03/10 17:29:23 jkh Exp $
a476 2
	cp ${.CURDIR}/ERRATA.TXT ${FD}/ERRATA.TXT
	cp ${.CURDIR}/LAYOUT.TXT ${FD}/LAYOUT.TXT
a507 2
	cp ${.CURDIR}/ERRATA.TXT ${CD_DISC1}/ERRATA.TXT
	cp ${.CURDIR}/LAYOUT.TXT ${CD_DISC1}/LAYOUT.TXT
a511 1
	cp ${.CURDIR}/sysinstall/help/trouble.hlp ${CD_DISC1}/TROUBLE.TXT
@


1.246.2.84
log
@Copy up some additional files.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.83 1998/03/24 10:22:16 jkh Exp $
a482 2
	cp ${.CURDIR}/sysinstall/help/trouble.hlp ${FD}/TROUBLE.TXT
	cp ${.CURDIR}/sysinstall/help/upgrade.hlp ${FD}/UPGRADE.TXT
a516 1
	cp ${.CURDIR}/sysinstall/help/upgrade.hlp ${CD_DISC1}/UPGRADE.TXT
@


1.246.2.85
log
@PR#6135
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.84 1998/03/24 11:00:03 jkh Exp $
d135 1
a135 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
@


1.246.2.86
log
@MFC: nuke distfiles before packing ports.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.85 1998/03/30 08:28:48 jkh Exp $
a520 1
	-rm -rf /usr/ports/distfiles/*
@


1.246.2.87
log
@MFC: Build a des & non-des version of ppp in the same way as
     init and ed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.86 1998/05/20 01:08:41 jkh Exp $
d291 2
a292 2
		  crunchgen ${.CURDIR}/$${j}_crunch.conf && \
		  ${MAKE} -DRELEASE_CRUNCH -f $${j}_crunch.mk subclean all \
d304 1
a304 1
	for i in sbin/init bin/ed usr.sbin/ppp ; do \
@


1.246.2.88
log
@MFC: Add ALLLANG
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.87 1998/06/26 18:55:07 brian Exp $
d3 1
a3 1
#	$Id: Makefile,v 1.354 1998/06/06 04:39:42 jkoshy Exp $
a24 3
# Comment the following if you want the release documentation to be
# in English only.
ALLLANG= yes
a181 3
.endif
.if defined(ALLLANG)
	echo "export ALLLANG=${ALLLANG}"	>> ${CHROOTDIR}/mk
@


1.246.2.89
log
@Ack!  Don't set ALLLANG in here.  The Japanese docs can be built but aren't
installable on a standard system anyway since /usr/share/doc/ja/handbook doesn't
exist.  Found by: Doing a make release on a 2.2-stable system.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.88 1998/07/03 14:29:09 jkh Exp $
d3 1
a3 1
#	$Id: Makefile,v 1.246.2.88 1998/07/03 14:29:09 jkh Exp $
d27 1
a27 1
#ALLLANG= yes
@


1.246.2.90
log
@MFC: Some of these files, like the relnotes, are due for revisiting.
@
text
@d1 3
a3 1
#	$Id$
a16 2
#
# Fixed version:
a17 6
#
# Automatic SNAP versioning:
DATE != date +%Y%m%d
BASE = 2.2.6
BUILDNAME?=${BASE}-${DATE}-SNAP
#
a21 7
# If you are using a local CVS repository with components stored in 
# non-standard modules, override these on the make commandline or
# in the environment.
RELEASESRCMODULE?=	src
RELEASEDOCMODULE?=	doc
RELEASEPORTSMODULE?=	ports

a63 2
VNDEVICE?=		vn0

d116 1
a116 4
# The first command will fail on a handful of files that have their schg
# flags set.  But it greatly speeds up the next two commands.
	-rm -rf ${CHROOTDIR}
	-chflags -R noschg ${CHROOTDIR}/.
d129 1
a129 1
		cvs -d ${CVSROOT} co -P ${RELEASESRCMODULE}
d132 1
a132 1
		cvs -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d138 1
a138 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d141 1
a141 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -d ${CVSROOT} co -P ${RELEASEDOCMODULE}
a176 1
	echo "export VNDEVICE=${VNDEVICE}"	>> ${CHROOTDIR}/mk
d662 1
a662 1
	@@vnconfig /dev/${VNDEVICE} fs-image.${FSIMAGE}
d664 1
a664 1
	@@mount /dev/${VNDEVICE} /tmp/mnt_xx
d667 1
a667 1
	@@vnconfig -u /dev/${VNDEVICE}
@


1.246.2.91
log
@Enable ALLLANG again; the BSD.usr.dist file has been updated in this
branch.

Requested by:	Jun Kuriyama <kuriyama@@sky.rim.or.jp>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.90 1998/07/16 10:35:10 jkh Exp $
d40 1
a40 1
ALLLANG= yes
a153 3
.endif
.if defined(LOCAL_SCRIPT) && exists(${LOCAL_SCRIPT})
	cd ${CHROOTDIR} && env CHROOTDIR=${CHROOTDIR} BUILDNAME=${BUILDNAME} RELEASETAG=${RELEASETAG} ${LOCAL_SCRIPT}
@


1.246.2.92
log
@MFC: add \a's to boot.help on the installation floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.91 1998/08/20 06:40:37 jkh Exp $
a696 1
	@@printf \\a\\a\\a >> ${RD}/boot.${FSIMAGE}/boot.help
@


1.246.2.93
log
@MFC: use proper CFLAGS in release.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.92 1998/09/21 09:06:02 max Exp $
d195 1
a195 1
	echo "export CFLAGS='-O -pipe'"	>> ${CHROOTDIR}/mk
@


1.246.2.94
log
@MFC: changes to adapt to new doc file layout.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.93 1998/10/01 09:33:06 jkh Exp $
d6 1
a6 1
# filesystem with at least 1000MB of free space, "somename" is what
a37 1
#NOPORTS=  YES
d41 1
a41 1
DOCPORTS= archivers/unzip textproc/jade textproc/iso8879 \
a43 3
DIST_DOCS= ABOUT.TXT ERRATA.TXT LAYOUT.TXT README.TXT HARDWARE.TXT \
           INSTALL.TXT RELNOTES.TXT TROUBLE.TXT UPGRADE.TXT

d121 1
a121 1
		    -e 's/cdrom/cdrom.1/' -e 's/doc/doc.1/'
d140 1
a140 1
	cd ${.CURDIR}/.. && ${MAKE} installworld DESTDIR=${CHROOTDIR} NOMAN=1
d147 1
a147 1
		cvs -R -d ${CVSROOT} co -P ${RELEASESRCMODULE}
d150 1
a150 1
		cvs -R -d ${CVSROOT} co -P -r ${RELEASETAG} ${RELEASESRCMODULE}
d159 1
a159 1
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -R -d ${CVSROOT} co -P ${RELEASEPORTSMODULE} && cd ports && make readmes PORTSDIR=${CHROOTDIR}/usr/ports
d162 1
a162 1
	cd ${CHROOTDIR}/usr && rm -rf doc && cvs -R -d ${CVSROOT} co -P ${RELEASEDOCMODULE}
d172 1
a172 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d
d174 1
a174 1
	cd ${CHROOTDIR}/usr/src && cvs -R -q update -P -d -r ${RELEASETAG}
d177 1
a177 1
	cd ${CHROOTDIR}/usr/ports && cvs -R -q update -P -d
d180 1
a180 1
	cd ${CHROOTDIR}/usr/doc && cvs -R -q update -P -d
a194 1
	echo "_RELTARGET=\$${1:-doRELEASE}"	>> ${CHROOTDIR}/mk
d247 1
a247 1
	echo "make \$${_RELTARGET}"		>> ${CHROOTDIR}/mk
d489 2
a490 2
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} \
		${RD}/fixitfd ${FIXITINODE} ${FDLABEL}
d493 1
a493 1
	cp ${.CURDIR}/texts/FLOPPIES.TXT ${RD}/floppies/README.TXT
d504 9
a512 1
	for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${FD}; done
d539 9
a547 1
	for i in ${DIST_DOCS}; do cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; done
a562 1
	touch doc.1
a620 1
# Add -DDO_SCSI to CFLAGS to enable scsi frobbing support.
@


1.246.2.95
log
@MFC: kill version.h
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246.2.94 1998/11/05 17:47:41 jkh Exp $
d191 5
a195 1
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh && rm foo )
@


1.246.2.96
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.245
log
@Ahem.  It might be nice if I included /usr/src/contrib in with the other
src dists.  This alone is a good reason to re-roll the SNAP before putting
it on CD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.244 1996/10/05 13:10:01 jkh Exp $
a592 1
	@@echo 'visual' >> startup_foo
@


1.244
log
@OK, *now* the symbol file is being generated in the correct place.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.243 1996/10/05 10:43:33 jkh Exp $
d223 1
a223 1
	# Handle some grief caused by the ammunition braindeadness.
@


1.243
log
@Multiple changes stacked as one commit since they all depend on one another.

First, change sysinstall and the Makefile rules to not build the kernel
nlist directly into sysinstall now.  Instead, spit it out as an ascii
file in /stand and parse it from sysinstall later.  This solves the chicken-n-
egg problem of building sysinstall into the fsimage before BOOTMFS is built
and can have its symbols extracted.  Now we generate the symbol file in
release.8.

Second, add Poul-Henning's USERCONFIG_BOOT changes.  These have two
effects:

	1. Userconfig is always entered, rather than only after a -c
	   (don't scream yet, it's not as bad as it sounds).

	2. Userconfig reads a message string which can optionally be
	   written just past the boot blocks.  This string "preloads"
	   the userconfig input buffer and is parsed as user input.
	   If the first command is not "USERCONFIG", userconfig will
	   treat this as an implied "quit" (which is why you don't need
	   to scream - you never even know you went through userconfig
	   and back out again if you don't specifically ask for it),
	   otherwise it will read and execute the following commands
	   until a "quit" is seen or the end is reached, in which case
	   the normal userconfig command prompt will then be presented.

  How to create your own startup sequences, using any boot.flp image
from the next snap forward (not yet, but soon):

	% dd of=/dev/rfd0 seek=1 bs=512 count=1 conv=sync <<WAKKA_WAKKA_DOO
USERCONFIG
irq ed0 10
iomem ed0 0xcc000
disable ed1
quit
WAKKA_WAKKA_DOO


Third, add an intro screen to UserConfig so that users aren't just thrown
into this strange screen if userconfig is auto-launched.  The default
boot.flp startup sequence is now, in fact, this:

	USERCONFIG
	intro
	visual

(Since visual never returns, we don't need a following "quit").

Submitted-By: phk & jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.242 1996/10/05 07:46:54 jkh Exp $
a379 1
	./dumpnlist ${RD}/kernels/BOOTMFS.std > ${RD}/mfsfd/stand/symbols
d575 7
@


1.242
log
@Correct a misuse of the GENERIC kernel where I should have referenced
the BOOTMFS kernel instead.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.241 1996/10/05 06:10:58 jkh Exp $
d203 1
a203 2
	cd ${.CURDIR}/sysinstall && make depend all \
	  KERNEL_NAME=${RD}/kernels/BOOTMFS.std
d359 1
a359 1
release.8: write_mfs_in_kernel
d380 1
d508 3
d556 3
a558 3
	rm -f ${RD}/kernels/BOOTMFS.${FSIMAGE}
	rm -f /sys/compile/BOOTMFS/mfs_vfsops.o
	cd ${.CURDIR}/../sys/i386/conf && \
d567 3
a569 2
	  echo 'options  "MAXCONS=4"' >> BOOTMFS
	echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
d572 4
a575 4
	rm -rf ${RD}/boot.${FSIMAGE}
	mkdir  ${RD}/boot.${FSIMAGE}
	mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
d579 4
a582 4
	mv ${RD}/boot.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
	mv ${RD}/boot.${FSIMAGE}/kernel.kz ${RD}/boot.${FSIMAGE}/kernel
	ls -l ${RD}/boot.${FSIMAGE}/kernel
	rm -f ${RD}/floppies/boot${FSIMAGE}.flp
d585 6
@


1.241
log
@Fix bogon with kernel name.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.240 1996/10/04 13:33:38 jkh Exp $
d204 1
a204 1
	  KERNEL_NAME=${RD}/kernels/GENERIC
@


1.240
log
@Syncronize my tree so Eric can access the latest code.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.239 1996/09/26 20:48:03 pst Exp $
d204 1
a204 1
	  KERNEL_NAME=${RD}/kernels/BOOTMFS.std
@


1.239
log
@When doing a rerelease, cvs update from within the source directory so we
pick up the old CVSROOT if we don't have the environment variable set.

If /usr/src/release/install.cfg is present, put it out onto
the root filesystem of the boot floppy.  It may optionally be
used to pre-configure sysinstall with custom values.  (See next
batch of commits).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.238 1996/09/25 00:43:23 pst Exp $
d114 2
a115 1
	  mv version.h.new version.h )
d203 2
a204 1
	cd ${.CURDIR}/sysinstall && make obj && make depend && make all
d232 3
a234 3
		rm -rf ${RD}/trees/manpages/usr/share/man &&\
		mv ${RD}/trees/bin/usr/share/man \
			${RD}/trees/manpages/usr/share/man ;\
d238 3
a240 3
		rm -rf ${RD}/trees/games/usr/games &&\
		mv ${RD}/trees/bin/usr/games \
			${RD}/trees/games/usr/games ;\
d243 3
a245 3
		rm -rf ${RD}/trees/games/usr/share/games &&\
		mv ${RD}/trees/bin/usr/share/games \
			${RD}/trees/games/usr/share/games ;\
d248 3
a250 3
		rm -rf ${RD}/trees/games/var/games &&\
		mv ${RD}/trees/bin/var/games \
			${RD}/trees/games/var/games ;\
d254 3
a256 3
		rm -rf ${RD}/trees/dict/usr/share/dict &&\
		mv ${RD}/trees/bin/usr/share/dict \
			${RD}/trees/dict/usr/share/dict ;\
d261 1
a261 1
				${RD}/trees/dict/usr/share/misc ; \
d266 3
a268 3
		rm -rf ${RD}/trees/info/usr/share/info &&\
		mv ${RD}/trees/bin/usr/share/info \
			${RD}/trees/info/usr/share ;\
@


1.238
log
@Fix a typo in phk's rawboot conversion
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.237 1996/09/19 08:35:41 phk Exp $
d103 1
a103 1
	cd ${CHROOTDIR}/usr && cvs -q update -P -d  src
d105 1
a105 1
	cd ${CHROOTDIR}/usr && cvs -q update -P -d  -r ${RELEASETAG} src
d115 1
d378 1
@


1.237
log
@Use rawboot for boot floppies.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.236 1996/09/09 21:25:40 pst Exp $
d575 1
a575 1
	cat /usr/mdec/rawboot ${RD}/boot${FSIMAGE}/kernel | \
@


1.236
log
@Turn off KTRACE on MFS boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.235 1996/09/07 01:05:16 pst Exp $
d575 2
a576 3
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		100000 ${FDLABEL}
	mv fs-image ${RD}/floppies/boot${FSIMAGE}.flp
@


1.235
log
@Add support for CVSROOT/INTCVSROOT as simple makefile variables.

Reviewed by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.234 1996/08/03 06:49:00 jkh Exp $
d555 1
@


1.234
log
@Don't stick CD distributions under dists/ directory.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.233 1996/08/02 18:19:47 pst Exp $
d82 2
a83 1
	cd ${CHROOTDIR}/usr && rm -rf src && cvs co -P src
d89 2
a90 1
	cd ${CHROOTDIR}/usr && rm -rf src && cvs co -P -r ${RELEASETAG} src
d95 3
@


1.233
log
@Add optional support for separate international CVS repository
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.232 1996/07/10 06:36:01 markm Exp $
d432 2
a433 1
	cd ${RD} && find floppies dists -print | cpio -dumpl ${CD}
@


1.232
log
@libgcc.so.261.0 is moving to the compat20 dist.
OKed by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.231 1996/07/09 16:52:52 jkh Exp $
d82 5
a86 1
	cd ${CHROOTDIR}/usr && cvs co -P src
d88 5
a92 1
	cd ${CHROOTDIR}/usr && cvs co -P -r ${RELEASETAG} src
@


1.231
log
@Some release changes I've had to make in dealing with the floppy space
crisis.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.55 1996/07/09 11:25:10 jkh Exp $
a169 4
	# We don't really want to make a compat20 distribution for just
	# one file.
	uudecode ${.CURDIR}/compat20/libgcc.so.261.0.uu
	install -m 444 -o bin -g bin libgcc.so.261.0 ${RD}/trees/bin/usr/lib
@


1.230
log
@Merge
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.229 1996/07/05 21:48:49 jkh Exp $
d43 1
a43 1
# These are adjusted down to the minimum needed but doFS.sh.
d45 1
a45 1
MFSINODE=		65536
d370 3
a372 3
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
		${MFSINODE} minimum
	mv fs-image fs-image.4
d415 1
a415 2
	rm -rf ${FD}
	mkdir ${FD}
d427 1
a427 3
	rm -rf ${CD}
	mkdir ${CD}
	mkdir ${CD}/filesys
@


1.229
log
@Bump value for MFSINODE
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.228 1996/07/05 08:53:54 jkh Exp $
d45 1
a45 1
MFSINODE=		42000
@


1.228
log
@Compress the doc files.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.227 1996/06/29 02:22:36 jkh Exp $
d45 1
a45 1
MFSINODE=		40000
@


1.227
log
@Copy the documentation files up into the release area - I've been doing
this by hand all along.  Silly.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.226 1996/06/26 19:06:11 jkh Exp $
d367 1
a367 1
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
d375 1
d378 2
a379 1
	@@echo "Making the regular boot floppy."
d387 1
@


1.226
log
@Correct minor syntactical error.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.225 1996/06/26 01:24:54 jkh Exp $
d416 4
d439 4
@


1.225
log
@Fix another obj-misusage bogon.  This will all get revisited for
2.2-release (and this file beaten on with a crowbar, as it so richly
deserves).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.224 1996/06/13 09:35:16 jkh Exp $
d116 1
a116 1
	echo "make objlink"			>> ${CHROOTDIR}/mk
@


1.224
log
@Ok, NOW the install.sh scripts are installed correctly!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.223 1996/06/13 01:57:48 jkh Exp $
d116 1
a116 1
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.223
log
@Correct a small typo in the Makefile.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.222 1996/06/12 16:32:15 jkh Exp $
a293 1
				cp -p scripts/$${i}-install.sh ${RD}/dists/install.sh && \
d457 3
@


1.222
log
@Automatically add install.sh scripts to dists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.221 1996/06/11 05:06:29 jkh Exp $
d294 1
a294 1
				cp -p scripts/${i}-install.sh ${RD}/dists/install.sh && \
@


1.221
log
@Come up with a scheme for stamping the FreeBSD version number on CDs,
allowing sysinstall to automagically detect, mount and select an
appropriate FreeBSD CDROM as the installation media.  Defining "appropriate"
also requires that you check the version numbers since an older FreeBSD
CD could be in the drive, which is the purpose of this patch.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.220 1996/06/08 22:55:25 jkh Exp $
d294 1
@


1.220
log
@Finally get this back into shape following my incorporation of Garrett's
enhancements.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.219 1996/06/07 11:46:18 jkh Exp $
d434 1
@


1.219
log
@Various fixes, take power.uu out as it was causing overflows.  We'll
need to fetch it dynamically rather than keep it in the source tree
(subject of a follow-up commit).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.48 1996/06/06 22:53:21 jkh Exp $
d537 3
a539 2
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> BOOTMFS
@


1.218
log
@Allow user to selectively redo any given part of the release in `rerelease'.
Create smaller BOOTMFS kernel with more sane sed command rather than fgrep/sed
Make it possible to generate multiple kernels with the KERNELS variable.
Add mtree generated distribution signatures to dists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.217 1996/05/29 04:13:17 jkh Exp $
a38 4
FDINODE=		4300

NEWFSARGS=		-c 80 -b 4096 -f 512 -i 4000 -m 0 -t 0 -u 0 \
				-o space -T ${FDLABEL}
d369 1
d377 1
a377 2
	cp ${.CURDIR}/sysinstall/power.uu ${RD}/mfsfd/stand && \
		cd ${RD}/mfsfd/stand && uudecode power.uu && rm power.uu
a381 1
	#rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
a384 1
	#rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d539 1
a539 1
	${MAKE} doKERNEL KERNEL=BOOTMFS
@


1.217
log
@Put .inf files directly into distributions so that sysinstall can find them.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.216 1996/05/29 01:35:15 jkh Exp $
d24 1
a29 1
#EXTRA_SRC+=	usr.sbin/config kconf
d62 10
d121 3
a123 1
	echo "rm -f obj/release.4"		>> ${CHROOTDIR}/mk
d180 1
a180 1
# Make and install the generic kernel.
d183 7
a189 4
	rm -f ${RD}/kernels/GENERIC
	rm -rf ${.CURDIR}/../sys/compile/GENERIC
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=GENERIC
	rm -rf ${.CURDIR}/../sys/compile/GENERIC
a215 2
	ln -f ${RD}/kernels/GENERIC ${RD}/trees/bin/kernel.GENERIC

d461 5
a465 1
		  ${RD}/dists/${TD}/$$tn > ${RD}/dists/${TD}/$$tn.inf )
d536 10
a545 11
		fgrep -v SYSV GENERIC | \
		fgrep -v pty | \
		fgrep -v PROCFS | \
		sed 's/GENERIC/BOOTMFS/g' | \
		sed '/maxusers/s/10/4/' > BOOTMFS && \
		echo "options  MFS" >> BOOTMFS && \
		echo "options  NFS_NOSERVER" >> BOOTMFS &&
		echo 'options  "MAXCONS=4"' >> BOOTMFS 
	echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
		${.CURDIR}/../sys/i386/conf/BOOTMFS
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
@


1.216
log
@Sha-ZAM!

The root floppy is now gone.  I shall not mourn its passing.
Everything we need is on boot.flp or the bindist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.215 1996/05/16 03:20:52 jkh Exp $
a278 1
	mkdir -p ${RD}/info
a289 2
	( cd ${RD}/info && \
		if [ -d krb ] ; then mv krb/* des && rmdir krb ; fi )
d318 1
a318 2
		if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi )
	( cd ${RD}/info/src && \
d447 2
a448 4
		cd ${RD}/info && \
		mkdir -p ${TD} && \
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > ${RD}/dists/${TD}/$$tn.inf \
	)
@


1.215
log
@Simply comment-out BUILDNAME and CHROOTDIR - they should be set at the time of
make's invocation.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.214 1996/05/02 08:18:28 jkh Exp $
d59 1
a59 1
WHICH_CRUNCH=	boot root fixit
d122 1
a122 1
	rm -rf root_crunch boot_crunch release.[0-9] release.1[0]
d371 2
d385 1
a385 1
# --==## Create a root floppy ##==--
a388 23
	rm -rf ${RD}/rootfd
	mkdir ${RD}/rootfd
	cd ${RD}/rootfd && \
		mkdir stand stand/info
	@@cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=root \
		DIR=${RD}/rootfd/stand ZIP=false
	tar --exclude CVS -cf - -C ${RD} info | tar xvf - -C ${RD}/rootfd/stand
	tar -cf - -C ${RD}/trees/bin/dev MAKEDEV | \
		tar xvf - -C ${RD}/rootfd/stand
	cp ${.CURDIR}/sysinstall/power.uu ${RD}/rootfd/stand && \
		cd ${RD}/rootfd/stand && uudecode power.uu && rm power.uu
	cd ${RD}/rootfd && \
		( rm -f OK && find . -print && touch OK && echo OK ) | \
		cpio -H newc -oa | gzip -9 -c | \
		dd conv=osync > ${RD}/floppies/root.tmp
	mv ${RD}/floppies/root.tmp ${RD}/floppies/root.flp
	touch release.9

#
# --==## Create a fixit floppy ##==--
#
release.10:
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
d403 1
a403 1
	touch release.10
d453 1
a453 1
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > ${TD}/$$tn.inf \
d457 1
a457 1
		release.7 release.8 release.9 release.10
a462 1
	cd ${.CURDIR} && ${MAKE} root.flp
d470 1
a470 1
root.flp:
d472 1
a472 5
	cd ${.CURDIR} && ${MAKE} release.4 release.9 WHICH_CRUNCH=root

fixit.flp:
	rm -f release.4 release.10
	cd ${.CURDIR} && ${MAKE} release.4 release.10 WHICH_CRUNCH=fixit
@


1.214
log
@Yow!  /dev/wcd0c got omitted from the boot.flp somehow.  Guess that explains
why ATAPI CDROMs were broken in the last (and this!) SNAPSHOT.. :-(
Oh well, next SNAP I guess.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.213 1996/05/01 09:35:34 jkh Exp $
d14 2
a15 2
BUILDNAME=2.2-960501-SNAP
CHROOTDIR=/junk/release
@


1.213
log
@Might as well be factual.  Sigh!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.212 1996/04/29 20:29:29 jkh Exp $
d354 1
a354 1
		cd0a mcd0a scd0a matcd0a rst0 rft0 rwt0 | \
@


1.212
log
@Face the truth and bump the 2.2-960428-SNAP to 2.2-960430; that's the
last bump, I promise!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.211 1996/04/29 19:38:36 jkh Exp $
d14 1
a14 1
BUILDNAME=2.2-960430-SNAP
@


1.211
log
@Add an extra line to the floppies target which will make it refresh
the distribution area's floppy images.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.210 1996/04/28 00:37:26 jkh Exp $
d14 1
a14 1
BUILDNAME=2.2-960428-SNAP
@


1.210
log
@Bump snapshot release date - looks like I was off by a couple
of days!

More display fixes to sysinstall and assorted tweaking.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.209 1996/03/19 03:26:33 jkh Exp $
d486 1
@


1.209
log
@Move libdisk to its new home.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.208 1996/02/27 03:40:40 jkh Exp $
d14 2
a15 2
BUILDNAME=2.2-current
# CHROOTDIR=/a/r1
@


1.208
log
@Get rid of the MIRROR.SITES file.  It was a gratuitous duplication
of effort.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.207 1996/02/13 13:28:41 joerg Exp $
a180 1
	cd ${.CURDIR}/libdisk && make obj && make depend && make all
@


1.207
log
@Ooops, i've botched a backslash in my previous commit.

Also, move the "ammunition" block above, so it's handled before the
man pages are bing moved out to their own distribution.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.206 1996/02/13 09:22:42 joerg Exp $
a32 2
FAQS=	MIRROR.SITES

a434 1
	cd ${.CURDIR} && ln -f ${FAQS} ${FD}
@


1.206
log
@Special fixup to build and install the non-des ed(1) and init(8) into
the "bin" distribution.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.205 1996/01/24 21:42:37 joerg Exp $
d205 7
a265 6
	done

	# Handle some other grief caused by the ammunition braindeadness.
	for i in sbin/init bin/ed ; do
		( cd ${.CURDIR}/../$$i; \
		  make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
@


1.205
log
@Create symlinks for the MD5 libcrypt's in the bindist.

Jordan, this and my previous commit to lib/Makefile should
re-establish the libcrypt for our releases now. :-)

Well, not sure, perhaps init(8) is linked against the wrong libcrypt
in the bindist. :-(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.204 1996/01/14 19:10:15 phk Exp $
d260 7
@


1.204
log
@I belive this works now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.203 1996/01/13 23:31:44 phk Exp $
d251 8
@


1.203
log
@Shrink BOOTMFS kernel further.  Make doFS.sh more intelligent.
boot4.flp should work fine as far as I can tell.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.202 1996/01/11 20:28:40 phk Exp $
d15 1
a15 1
# CHROOTDIR=/a/r2
a115 1
	cp ${.CURDIR}/Makefile ${CHROOTDIR}/usr/src/release
d351 1
a351 1
	sh ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
d358 1
a358 1
	sh ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
d362 1
a362 1
	rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d366 1
a366 1
	rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d408 2
a409 2
	sh ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/fixitfd \
		1024 ${FDLABEL}
d560 2
a561 2
	sh ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		${FDINODE} ${FDLABEL}
@


1.202
log
@A new cleaned up Makefile.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.201 1996/01/10 08:51:08 phk Exp $
d51 1
a51 1
MFSINODE=		50000
d338 1
a338 1
		DIR=${RD}/mfsfd/stand ZIP=true
a362 1

d537 1
d542 5
a546 2
		sed 's/GENERIC/BOOTMFS/g' > BOOTMFS && \
		echo "options  MFS" >> BOOTMFS
@


1.201
log
@Remember to make the kernels dir.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.200 1996/01/08 22:13:48 phk Exp $
d15 1
a15 1
# CHROOTDIR=/a/release
a34 3
# define this to use a vn device instead of the floppy drive
VNDEVICE=		vn0

a109 6
	echo "cd /usr/src/release/libdisk"	>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
	echo "make all"				>> ${CHROOTDIR}/mk
	echo "cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
	echo "make all"				>> ${CHROOTDIR}/mk
d113 1
d200 3
a202 1
# Fix up the distributions.
d206 1
d212 1
d228 1
d240 7
a246 2
	-mv ${RD}/trees/bin/usr/share/info/* \
		${RD}/trees/info/usr/share/info
d253 1
d255 1
d260 3
a262 1
# Make binary dists, notice that DES dist isn't finished yet.
d271 3
a273 3
			cd ${.CURDIR} && \
				$(MAKE) doTARBALL SD=${RD}/trees/$${i} \
					TN=$$i TD=$$i ARG="." && \
d277 4
d284 3
a286 1
# Make source dists, and finish off DES too
d292 2
a293 3
		if [ -d /usr/src/$$i -a "$$i" != "CVS" ] ; then \
			cd ${.CURDIR} && \
			$(MAKE) doTARBALL SD=/usr/src \
d295 1
a295 1
				TD=src ARG="$$i" ; \
d301 4
a304 7
		if [ -d /usr/src/$$1 -a "$$1" != "CVS" ] ; then \
			cd ${.CURDIR} && \
			$(MAKE) doTARBALL SD=/usr/src \
				TN="s$$2" \
				TD=src ARG="$$1" ; \
		fi && \
		shift && shift ; \
d308 5
a312 4
	if [ -f ssecure.aa ] ; then mv ssecure.* ../des ; fi && \
	if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi )
	( cd ${RD}/dists && \
	if [ -f krb/krb.aa ] ; then mv krb/* des && rmdir krb ; fi )
d364 1
a364 1
	# rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d367 2
a368 1
	# rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d371 3
a373 1
# Complete the rootfd directory
a382 13
	( cd ${RD}/rootfd/stand/info && \
		if [ -d krb ] ; then \
			mv krb/* des && \
			rmdir krb ; \
	fi )
	if [ -f ${RD}/rootfd/stand/info/src/ssecure.inf ] ; then \
		mv ${RD}/rootfd/stand/info/src/ssecure.inf \
			${RD}/rootfd/stand/info/des ; \
	fi
	if [ -f ${RD}/rootfd/stand/info/src/sebones.inf ] ; then \
		mv ${RD}/rootfd/stand/info/src/sebones.inf \
			${RD}/rootfd/stand/info/des ; \
	fi
d394 3
a396 1
# Complete the fixitfd
d402 1
a402 1
		mkdir stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp
d405 3
a407 4
	( cd ${RD}/trees/bin/dev && \
		sh MAKEDEV all && \
		find . -print | \
	cpio -dump ${RD}/fixitfd/dev )
a409 1
	rm -f ${RD}/floppies/fixit.flp
d415 3
d425 3
a427 5
	# This rule makes ${CHROOTDIR}/R/ftp a suitable anon ftp for testing.
ftp.2:
	-mkdir ${FD}/bin
	ln -f ${RD}/trees/bin/bin/ls ${FD}/bin/ls

d433 1
a433 1
	ln -f ${RD}/kernels/MFSKERNEL ${CD}/kernel
d464 1
a464 2
		chmod a+x ${.CURDIR}/info.sh && \
		${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > ${TD}/$$tn.inf \
d549 2
a550 1
	mv ${RD}/kernels/BOOTMFS ${RD}/boot.${FSIMAGE}/kernel
@


1.200
log
@Moved doFS into shell-script so we can be more smart about it.
make two boot floppies, one without help files for 4MB systems.
Mine's loading one now. :-)  -O2 may be needed.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.199 1996/01/06 20:13:48 joerg Exp $
d145 1
@


1.199
log
@Use partition `a' for the vn device.  Also vn-unconfig the vn device
after usage.

I think this has been the last show-stopper that prevented me from doing
a successful ``make release''.  Jordan, go for the 2.2-SNAP! :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.198 1996/01/03 23:40:59 joerg Exp $
d15 1
a15 1
#CHROOTDIR=/a/release
d51 4
a54 4
# Size of the mfs to put in the kernel we boot.
# You want to keep this as small as possible, it costs dearly in RAM.
BOOTMFSSIZE=		1000
MFSINODE=		70000
d67 1
a67 1
release:
d71 1
d77 11
a87 15
	cd ${.CURDIR}/../etc ; ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/../etc ; ${MAKE} distribution DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/.. ; ${MAKE} install DESTDIR=${CHROOTDIR}
	echo "#!/bin/sh"			> ${CHROOTDIR}/mk
	echo "set -ex"				>> ${CHROOTDIR}/mk
	echo "CFLAGS='-O -pipe'"		>> ${CHROOTDIR}/mk
	echo "export CFLAGS"			>> ${CHROOTDIR}/mk
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/mk
	echo "export RELEASEDIR"		>> ${CHROOTDIR}/mk
	echo "cd /usr/src"			>> ${CHROOTDIR}/mk
	echo "make world"			>> ${CHROOTDIR}/mk
	echo "cd /usr/src/release"		>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
	echo "make doRELEASE"			>> ${CHROOTDIR}/mk
	echo "echo Release Finished"		>> ${CHROOTDIR}/mk
d89 1
a89 1
	cd ${CHROOTDIR}/usr ; cvs co -P src
d91 3
a93 1
	cd ${CHROOTDIR}/usr ; cvs co -P -r ${RELEASETAG} src
d96 2
a97 2
	  cp newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
d99 2
a100 11
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )
	chmod 755 ${CHROOTDIR}/mk
	chroot ${CHROOTDIR} /mk

# Same as above but for re-rolling the release after simply changing a few
# things.
rerelease:
.if !defined(CHROOTDIR) || !defined(BUILDNAME)
	@@echo "To make a re-release you must set CHROOTDIR and BUILDNAME" && false
.endif
	@@if [ ! -d ${CHROOTDIR} ]; then echo "No ${CHROOTDIR} directory to re-release in!"; exit 1; fi
d103 1
a103 1
	echo "CFLAGS='-O -pipe'"		>> ${CHROOTDIR}/mk
d108 4
d119 1
d123 2
a124 13
	echo "echo Re-Release Finished"		>> ${CHROOTDIR}/mk
.if !defined(RELEASENOUPDATE)
.if !defined(RELEASETAG)
	cd ${CHROOTDIR}/usr ; cvs update -P -d -q src
.else
	cd ${CHROOTDIR}/usr ; cvs update -P -d -q -r ${RELEASETAG} src
.endif
.endif
	( cd ${CHROOTDIR}/usr/src/sys/conf && \
	  mv newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )
d137 1
a137 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d146 2
a147 2
		mkdir ${RD}/trees/$$i ; \
		mkdir ${RD}/dists/$$i ; \
d149 1
a149 1
		    -p ${RD}/trees/$$i > /dev/null ; \
d151 1
a151 1
		    -p ${RD}/trees/$$i/usr > /dev/null ; \
d153 1
a153 1
		    -p ${RD}/trees/$$i/usr/include > /dev/null ; \
d161 1
a161 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d163 2
a164 1
	cd ${.CURDIR}/.. ; make distribute DISTDIR=${RD}/trees
d166 2
a167 2
		make bootstrap ;\
		make obj all help-distribute DISTDIR=${RD}/trees ;\
d170 1
d172 2
d178 1
a178 2
# Make and install a couple of kernels we need.  To keep BOOTMFS smaller,
# we cull out certain options (see fgrep -v) before building it.
a179 2
	rm -rf ${RD}/kernels
	mkdir -p ${RD}/kernels
d181 4
a184 18
	cd ${.CURDIR}/../sys/i386/conf && \
		fgrep -v SYSV GENERIC | \
		fgrep -v pty | \
		fgrep -v PROCFS | \
		sed 's/GENERIC/BOOTMFS/g' > BOOTMFS && \
		echo "options  \"MFS_ROOT=${BOOTMFSSIZE}\"" >> BOOTMFS && \
		echo "options  MFS" >> BOOTMFS

	for i in BOOTMFS GENERIC ; do \
		cd ${.CURDIR}/../sys/i386/conf && \
			config $$i && \
		cd ${.CURDIR}/../sys/compile/$$i && \
			make depend && \
			make kernel && \
			cp kernel ${RD}/kernels/$$i ; \
		rm -rf ${.CURDIR}/../sys/compile/$$i ; \
	done
	rm -f ${.CURDIR}/../sys/i386/conf/BOOTCDROM
d190 1
a192 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d200 1
a200 1
		${MAKE} -f $${j}_crunch.mk objs exe NOCRYPT=yes \
d203 1
a203 1
		rm -rf $${j}_crunch ; \
d209 1
a209 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d212 1
a212 1
		rm -rf ${RD}/trees/manpages/usr/share/man ;\
d217 1
a217 1
		rm -rf ${RD}/trees/games/usr/games ;\
d222 1
a222 1
		rm -rf ${RD}/trees/games/usr/share/games ;\
d227 1
a227 1
		rm -rf ${RD}/trees/games/var/games ;\
d232 1
a232 1
		rm -rf ${RD}/trees/dict/usr/share/dict ;\
d257 1
a257 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d264 1
a264 1
			cd ${.CURDIR} ; \
d266 1
a266 1
					TN=$$i TD=$$i ARG="." ; \
d275 2
a276 2
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
	@@cd ${.CURDIR} ; $(MAKE) doTARBALL SD=/usr/src \
d278 1
a278 1
	@@for i in `cd /usr/src ; echo [a-z]*` ; do \
d280 1
a280 1
			cd ${.CURDIR} ; \
d287 1
a287 1
	@@set ${EXTRA_SRC} ; \
d290 1
a290 1
			cd ${.CURDIR} ; \
d294 2
a295 2
		fi ; \
		shift ; shift ; \
d301 2
a303 2
	mv ${RD}/dists/krb/* ${RD}/dists/des
	rmdir ${RD}/dists/krb
d332 1
a332 1
		cd0a mcd0a scd0a matcd0a wcd0c rst0 rft0 rwt0 | \
d340 7
d349 9
a357 24
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
	( 								\
	a=`expr ${BOOTMFSSIZE} \* 2` &&					\
	echo &&								\
	echo "mfs${BOOTMFSSIZE}:ty=mfs:se#512:nt#1:rm#300:\\" &&	\
	echo "	:ns#$$a:nc#1:\\" &&					\
	echo "	:pa#$$a:oa#0:ba#4096:fa#512:\\" &&			\
	echo "	:pc#$$a:oc#0:bc#4096:fc#512:" &&			\
	echo   								\
	) >> /etc/disktab

	# first the standard boot floppy, with GENERIC kernel
	cd ${.CURDIR} && ${MAKE} doFS FSSIZE=${BOOTMFSSIZE} \
		FSPROTO=${RD}/mfsfd FSLABEL=mfs${BOOTMFSSIZE} \
		FSINODE=${MFSINODE}
	rm -rf ${RD}/bootfd
	mkdir ${RD}/bootfd
	cp ${RD}/kernels/BOOTMFS ${RD}/bootfd/kernel
	./write_mfs_in_kernel ${RD}/bootfd/kernel fs-image
	kzip ${RD}/bootfd/kernel
	mv ${RD}/bootfd/kernel ${RD}/kernels/MFSKERNEL
	mv ${RD}/bootfd/kernel.kz ${RD}/bootfd/kernel
	ls -l ${RD}/bootfd/kernel
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=boot
d370 15
a384 5
	mv ${RD}/rootfd/stand/info/krb/* ${RD}/rootfd/stand/info/des
	rmdir ${RD}/rootfd/stand/info/krb
	mv ${RD}/rootfd/stand/info/src/ssecure.inf ${RD}/rootfd/stand/info/des
	mv ${RD}/rootfd/stand/info/src/sebones.inf ${RD}/rootfd/stand/info/des
	tar -cf - -C ${RD}/trees/bin/dev MAKEDEV | tar xvf - -C ${RD}/rootfd/stand
d387 4
a390 1
	cd ${RD}/rootfd && ( rm -f OK && find . -print && touch OK && echo OK ) | cpio -H newc -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/root.tmp
d409 4
a412 1
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=fixit FDINODE=1024
d446 1
a446 1
	@@echo "SD undefined in doTARBALL" ; exit 1
d449 1
a449 1
	@@echo "TB undefined in doTARBALL" ; exit 1
d452 1
a452 1
	@@echo "ARG undefined in doTARBALL" ; exit 1
a496 42
doFLOPPY:
.if !defined(FLOPPY)
	@@echo "FLOPPY undefined in doFLOPPY" ; exit 1
.endif
	rm -f ${RD}/floppies/${FLOPPY}.flp
	cd ${.CURDIR} && ${MAKE} doFS FSSIZE=${FDSIZE} \
		FSPROTO=${RD}/${FLOPPY}fd \
		FSLABEL=${FDLABEL} FSINODE=${FDINODE}
	mv fs-image ${RD}/floppies/${FLOPPY}.flp

doFS:
.if !defined(FSSIZE)
	@@echo "FSSIZE undefined in doFS" ; exit 1
.endif
.if !defined(FSPROTO)
	@@echo "FSPROTO undefined in doFS" ; exit 1
.endif
.if !defined(FSINODE)
	@@echo "FSINODE undefined in doFS" ; exit 1
.endif
	rm -f fs-image
	if [ ! -b /dev/${VNDEVICE} -o ! -c /dev/r${VNDEVICE} ] ; then \
		cd /dev && sh MAKEDEV ${VNDEVICE} ; fi
	@@umount /dev/${VNDEVICE} 2>/dev/null || true
	@@umount ${MNT} 2>/dev/null || true
	@@vnconfig -u /dev/r${VNDEVICE} 2>/dev/null || true
	dd of=fs-image if=/dev/zero count=${FSSIZE} bs=1k 2>/dev/null
	vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
.if defined(FSLABEL)
	disklabel -w -r -B \
		-b ${RD}/trees/bin/usr/mdec/fdboot \
		-s ${RD}/trees/bin/usr/mdec/bootfd \
		/dev/r${VNDEVICE} ${FSLABEL}
.endif
	newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T ${FSLABEL} /dev/r${VNDEVICE}a
	mount /dev/${VNDEVICE}a ${MNT}
	cd ${FSPROTO} && find . -print | cpio -dump ${MNT}
	df -i /mnt
	umount ${MNT}
	fsck  /dev/r${VNDEVICE}a < /dev/null
	@@vnconfig -u /dev/r${VNDEVICE} 2>/dev/null || true

d499 1
a499 1
	@@echo "CRUNCH undefined in installCRUNCH" ; exit 1
d502 1
a502 1
	@@echo "DIR undefined in installCRUNCH" ; exit 1
d505 1
a505 1
	@@echo "ZIP undefined in installCRUNCH" ; exit 1
d516 45
@


1.198
log
@Sheesh.  I've added -lipx to the wrong crunch config file.

While i've been here, added the ``-s labels'' flag to vnconfig.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.197 1995/12/31 17:10:04 joerg Exp $
d552 2
a553 2
	newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T ${FSLABEL} /dev/r${VNDEVICE}
	mount /dev/${VNDEVICE} ${MNT}
d557 2
a558 1
	fsck  /dev/r${VNDEVICE} < /dev/null
@


1.197
log
@Hopefully the last bogons that prevented me from running a successful
`make release':

. the `doc' distribution was missing, so the FAQ and handbook files
  couldn't be installed (Q: why did the psd etc. files install, only
  that the dirs had the wrong ownership?)

. the crunched binaries do need now -lipx
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.196 1995/12/30 21:15:45 joerg Exp $
d545 1
a545 1
	vnconfig -c /dev/r${VNDEVICE} fs-image
@


1.196
log
@2.1.0R is over and out.  Comment out the tags for it from the release
Makefile (so release builds in -current require to set it from the
command line).

Make the cleanup of ${CHROOTDIR} non-fatal.  Otherwise, it stops
immediately if the ${CHROTDIR} is on a separately mounted file system.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.195 1995/12/07 10:32:51 peter Exp $
d21 1
a21 1
EXPORT_DISTS=	games manpages proflibs dict info
@


1.195
log
@Update the -current sources from the 2.1 branch.

Approved (in spirit) by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.194 1995/07/25 19:13:20 jkh Exp $
d14 2
a15 2
BUILDNAME=2.1.0-RELEASE
CHROOTDIR=/a/release
d17 1
a17 1
RELEASETAG=RELENG_2_1_0
d73 1
a73 1
	rm -rf ${CHROOTDIR}
d75 1
a75 1
	mkdir -p ${CHROOTDIR}
@


1.194
log
@Sync this again with Mark M's changes so that he and I can diagnose
the common problems.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193 1995/06/11 19:29:26 rgrimes Exp $
d14 2
a15 2
#BUILDNAME=SOME_RANDOM_BUILD

d17 1
a17 1
#RELEASETAG=something
d25 6
d53 2
a54 2
BOOTMFSSIZE=		1075
MFSINODE=		80000
d73 1
a73 3
	rm -rf ${CHROOTDIR}/*
.else
	mkdir ${CHROOTDIR}
d75 1
d81 1
a81 1
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
d90 1
d97 4
a100 4
	mv newvers.sh foo && \
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
	# To be used in development...
	#find ${.CURDIR} -print | cpio -dumpv ${CHROOTDIR}
d104 2
a105 2
# Same as above, but assume that a build just fell over, has been corrected
# and now we just want to pick up where we left off.
d108 1
a108 1
	@@echo "To make a release you must set CHROOTDIR and BUILDNAME" && false
a110 3
	cd ${.CURDIR}/../etc ; ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/../etc ; ${MAKE} distribution DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/.. ; ${MAKE} -k install DESTDIR=${CHROOTDIR}
d113 1
a113 1
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
d128 1
d137 4
a140 4
	mv newvers.sh foo && \
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
	# To be used in development...
	#find ${.CURDIR} -print | cpio -dumpv ${CHROOTDIR}
d144 4
d190 2
a191 1
# Make and install a couple of kernels we need.
d197 4
a200 1
		sed 's/GENERIC/BOOTMFS/g' GENERIC > BOOTMFS && \
d203 1
a213 1
	cd ${RD}/kernels && kzip GENERIC
d315 12
d357 1
a357 1
		DIR=${RD}/mfsfd/stand ZIP=false
d360 2
a361 2
		*[sw]d* cuaa[01] fd[01] rfd[01] \
		cd0a mcd0a scd0a matcd0a rst0 ft0 rwt0 | \
a368 1
	rm -rf ${.CURDIR}/sysinstall/help/ja_JP.JIS
d371 1
a371 3
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/mfsfd/stand/help/en_US.ISO8859-1/COPYRIGHT
	(cd ${RD}/mfsfd/stand/help && tar cf - * | gzip -9 > ../help.tgz)
	(cd ${RD}/mfsfd/stand && rm -rf help)
d381 2
d412 3
a414 1
	cd ${RD}/rootfd && ( rm -f OK && find . -print && touch OK && echo OK ) | cpio -H tar -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/root.tmp
a424 1
	ln -f ${RD}/kernels/GENERIC.kz ${RD}/fixitfd/kernel
d428 2
a429 3
		sh MAKEDEV wd0s5 wd0s6 wd0s7 wd0s8 && \
		ls console tty ttyv0 ttyv1 null zero \
		*[sw]d* fd[01] rfd[01] | \
d431 1
a431 4
	ln -f ${RD}/fixitfd/stand/init ${RD}/fixitfd/sbin
	ln -f ${RD}/fixitfd/stand/sh ${RD}/fixitfd/bin
	cp ${RD}/trees/bin/usr/mdec/fdboot ${RD}/fixitfd/etc/boot1
	cp ${RD}/trees/bin/usr/mdec/bootfd ${RD}/fixitfd/etc/boot2
d433 1
a433 4
	echo 'echo /etc/rc'	> ${RD}/fixitfd/etc/rc
	echo 'exit 1'		>> ${RD}/fixitfd/etc/rc
	touch ${RD}/fixitfd/etc/spwd.db
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=fixit
d441 1
a441 1
	cd ${RD}/trees/bin/usr/share/FAQ/Text && ln -f ${FAQS} ${FD}
d489 1
a489 1
		release.7 release.8 release.9
d494 3
a496 2
	rm -f release.4 release.8 release.9
	cd ${.CURDIR} && ${MAKE} doRELEASE
@


1.193
log
@Merge RELENG_2_0_5 into HEAD
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.16 1995/06/10 14:19:56 jkh Exp $
d173 1
d175 1
a175 1
		make bootstrap \
@


1.193.2.1
log
@date: 1995/06/22 19:15:31;  author: jkh;  state: Exp;  lines: +19 -1
Make the sendmail sample cf files another dist.
Submitted by:   joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193 1995/06/11 19:29:26 rgrimes Exp $
a24 6
# Extra source tarballs; each argument is a pair of source dir and
# distribution name.  The dist name should not exceed 7 characters
# (another "s" for "source" will be prepended).
EXTRA_SRC+=	usr.sbin/sendmail/cf smailcf
#EXTRA_SRC+=	usr.sbin/config kconf

a301 12
.if defined(EXTRA_SRC)
	@@set ${EXTRA_SRC} ; \
	while [ $$# -ge 2 ] ; do \
		if [ -d /usr/src/$$1 -a "$$1" != "CVS" ] ; then \
			cd ${.CURDIR} ; \
			$(MAKE) doTARBALL SD=/usr/src \
				TN="s$$2" \
				TD=src ARG="$$1" ; \
		fi ; \
		shift ; shift ; \
	done
.endif
@


1.193.2.2
log
@date: 1995/07/08 05:45:44;  author: jkh;  state: Exp;  lines: +15 -21
Clean up the release/rerelease targets a little.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.1 1995/07/21 11:15:28 rgrimes Exp $
d14 2
a15 2
BUILDNAME=2.0.6
CHROOTDIR=/a/release
d17 1
a17 1
RELEASETAG=RELENG_2_0_5
d73 3
a75 1
	rm -rf ${CHROOTDIR}
a76 1
	mkdir -p ${CHROOTDIR}
a90 1
	echo "echo Release Finished"		>> ${CHROOTDIR}/mk
d97 4
a100 2
	  mv newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
d104 2
a105 2
# Same as above but for re-rolling the release after simply changing a few
# things.
d108 1
a108 1
	@@echo "To make a re-release you must set CHROOTDIR and BUILDNAME" && false
d111 3
a130 1
	echo "echo Re-Release Finished"		>> ${CHROOTDIR}/mk
d139 4
a142 2
	  mv newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
@


1.193.2.3
log
@date: 1995/07/08 07:51:12;  author: jkh;  state: Exp;  lines: +3 -5
Clean up the release.2 target a bit.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.2 1995/07/21 11:29:27 rgrimes Exp $
d172 4
a175 2
	cd ${.CURDIR}/../eBones && make beforeinstall
	cd ${.CURDIR}/../eBones && make obj all help-distribute DISTDIR=${RD}/trees
@


1.193.2.4
log
@date: 1995/07/11 22:13:42;  author: jkh;  state: Exp;  lines: +5 -3
Sync the Makefile with Mark's suggested eBones stuff.
Submitted by:   markm

Reviewed by:
Submitted by:
Obtained from:
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.3 1995/07/21 11:32:15 rgrimes Exp $
d172 2
a173 4
	cd ${.CURDIR}/../eBones && ( \
		make bootstrap; \
		make obj all help-distribute DISTDIR=${RD}/trees \
	)
@


1.193.2.5
log
@date: 1995/07/13 19:11:32;  author: jkh;  state: Exp;  lines: +4 -3
Latest eBones target
Submitted by:   markm

[Note, I have had to hand apply this due to the order of deltas
being different, so it does not match the original delta, but
achivies the desired results].
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.4 1995/07/21 11:53:59 rgrimes Exp $
d173 2
a174 3
		make bootstrap ;\
		make obj all help-distribute DISTDIR=${RD}/trees ;\
		make kprog \
@


1.193.2.6
log
@date: 1995/07/20 14:49:29;  author: jkh;  state: Exp;  lines: +11 -11
Time to go to `newc' format for cpio.  This works-around a bug currently
in cpio and gives us a little more robust format anyway (with CRC checking).

[Note that 2 hunks of the old delta no longer apply due to intervening
changes from other branches that obsolete the effected lines.]
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.5 1995/07/22 04:15:40 rgrimes Exp $
d350 1
a350 1
	cpio -H newc -dump ${RD}/mfsfd/dev )
d352 1
a352 1
	cd ${RD}/trees/bin && ls ${BOOT1} | cpio -H newc -dump ${RD}/mfsfd/stand
d419 1
a419 1
	cpio -H newc -dump ${RD}/fixitfd/dev )
d434 2
a435 2
	cd ${RD} && find floppies -print | cpio -H newc -dumpl ${FD}
	cd ${RD}/dists && find . -print | cpio -H newc -dumpl ${FD}
d447 1
a447 1
	cd ${RD} && find floppies dists -print | cpio -H newc -dumpl ${CD}
d454 1
a454 1
			find . -depth -print | cpio -H newc -dumpl ${CD}/filesys ) ; \
d548 1
a548 1
	cd ${FSPROTO} && find . -print | cpio -H newc -dump ${MNT}
@


1.193.2.7
log
@Tweak a couple of the variables at the top to save myself time.
Branch: RELENG_2_1_0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.6 1995/07/22 05:21:15 rgrimes Exp $
d14 2
a15 2
BUILDNAME=2.1.0
#CHROOTDIR=/a/release
d17 1
a17 1
RELEASETAG=RELENG_2_1_0
@


1.193.2.8
log
@Try to work around the latest surprises in cpio.  Remove -H newc
from a number of places where it didn't belong.
Branch: RELENG_2_1_0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.7 1995/07/25 19:15:36 jkh Exp $
d14 2
a15 2
BUILDNAME=2.1.0-950725-SNAP
CHROOTDIR=/mnt/b/release
d350 1
a350 1
	cpio -dump ${RD}/mfsfd/dev )
d352 1
a352 1
	cd ${RD}/trees/bin && ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
d401 1
a401 1
	cd ${RD}/rootfd && ( rm -f OK && find . -print && touch OK && echo OK ) | cpio -H newc -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/root.tmp
d419 1
a419 1
	cpio -dump ${RD}/fixitfd/dev )
d434 2
a435 2
	cd ${RD} && find floppies -print | cpio -dumpl ${FD}
	cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
d447 1
a447 1
	cd ${RD} && find floppies dists -print | cpio -dumpl ${CD}
d454 1
a454 1
			find . -depth -print | cpio -dumpl ${CD}/filesys ) ; \
d548 1
a548 1
	cd ${FSPROTO} && find . -print | cpio -dump ${MNT}
@


1.193.2.9
log
@Tweak these files for the latest snap.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.8 1995/07/26 03:09:16 jkh Exp $
d14 2
a15 2
BUILDNAME=2.1.0-950726-SNAP
#CHROOTDIR=/a/release
d97 1
a97 1
	  cp newvers.sh foo && \
a98 3
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  cp menus.c foo && \
	  sed "s/RELEASE_NAME/${BUILDNAME}/" foo > menus.c; rm foo )
@


1.193.2.10
log
@Tweaks to build the next snapshot.  Tomorrow, folks!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.9 1995/07/27 01:37:09 jkh Exp $
d14 2
a15 2
BUILDNAME=2.1.0-950818-SNAP
CHROOTDIR=/a/release
d54 1
a54 1
MFSINODE=		70000
d360 1
d363 3
a365 1
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
@


1.193.2.11
log
@Bump the snap date.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.10 1995/09/19 08:06:48 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-950922-SNAP
@


1.193.2.12
log
@Make the CFLAGS '-O -pipe' rather than '-O2 -pipe'.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.11 1995/09/20 10:45:14 jkh Exp $
d81 1
a81 1
	echo "CFLAGS='-O -pipe'"		>> ${CHROOTDIR}/mk
d114 1
a114 1
	echo "CFLAGS='-O -pipe'"		>> ${CHROOTDIR}/mk
@


1.193.2.13
log
@Great big batch-o-fixes.

jkh:
	Change the fixit floppy paradigm somewhat.  Rather than having
	a fixit floppy be a stand-alone boot floppy with emasculated
	command set due to space crunch, make boot floppy a filesystem
	of nice utilities and *no* kernel.  The idea is that you boot
	the standard boot floppy and choose the "Fixit" item off the top
	menu.  It then asks for and mounts the fixit floppy, adds the mount
	point to $PATH and then forks a shell with the inherited PATH.  You
	can use the shell to traipse around the filesystem, tweaking things
	as desired.

	Mutate the useless shell option in first menu to far more useful fixit.

	Fix the bogus `ifconfig sl0' case once and for all with a special case
	hack for cuaa0.

gpalmer:
	Fix benign-yet-bogus incorrect `password' to anon ftp sites.

joerg:
	Allow cpio to guess at input format again.
Submitted by:	jkh, gpalmer, joerg
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.12 1995/09/21 11:16:28 davidg Exp $
d412 1
d421 1
d425 3
@


1.193.2.14
log
@Add the fixit floppy back to default release procedure.  Fixit is back!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.13 1995/09/25 00:51:54 jkh Exp $
d479 1
a479 1
		release.7 release.8 release.9 release.10
@


1.193.2.15
log
@1. Bump snap date to reflect recent changes. [jkh]
2. Remove SYSV* options from boot kernel (not GENERIC).
Submitted by:	nate
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.14 1995/09/25 02:15:26 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-950928-SNAP
d191 1
a191 2
		fgrep -v SYSV GENERIC | \
		sed 's/GENERIC/BOOTMFS/g' > BOOTMFS && \
@


1.193.2.16
log
@Add more devices to fixit floppy (quite a few more).
Missing commands: mount_mfs
Removed: init (from fixit - not needed).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.15 1995/09/29 06:16:24 jkh Exp $
d353 1
a353 1
		cd0a mcd0a scd0a matcd0a wcd0a rst0 ft0 rwt0 | \
d416 3
a418 2
		sh MAKEDEV all && \
		find . -print | \
d420 3
a422 1
	cp ${RD}/trees/bin/etc/spwd.db ${RD}/fixitfd/etc
@


1.193.2.17
log
@Build ATAPI kernel now in default build sequence.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.16 1995/10/03 23:29:42 jkh Exp $
d100 2
a101 1
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )
a139 2
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )
a142 4
whap:
	( cd ${CHROOTDIR}/usr/src/release/sysinstall && \
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && mv version.h.new version.h )

a191 1
		fgrep -v pty | \
d195 1
a195 1
	for i in BOOTMFS GENERIC ATAPI ; do \
a205 1
	cd ${RD}/kernels && kzip ATAPI
a231 1
	ln -f ${RD}/kernels/ATAPI ${RD}/trees/bin/kernel.ATAPI
@


1.193.2.18
log
@Complete changes for creation of ATAPI boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.17 1995/10/04 10:31:52 jkh Exp $
d200 2
a201 8
		echo "options  MFS" >> BOOTMFS && \
		fgrep -v SYSV ATAPI | \
		fgrep -v pty | \
		sed 's/ATAPI/BOOTMFS/g' > BOOTMFS_A && \
		echo "options  \"MFS_ROOT=${BOOTMFSSIZE}\"" >> BOOTMFS_A && \
		echo "options  MFS" >> BOOTMFS_A

	for i in BOOTMFS BOOTMFS_A GENERIC ATAPI ; do \
d211 2
a383 2

	# first the standard boot floppy, with GENERIC kernel
a392 11

	# Now the IDE CDROM floppy, with ATAPI kernel
	rm -rf ${RD}/atapifd
	mkdir ${RD}/atapifd
	cp ${RD}/kernels/BOOTMFS_A ${RD}/atapifd/kernel
	./write_mfs_in_kernel ${RD}/atapifd/kernel fs-image
	kzip ${RD}/atapifd/kernel
	mv ${RD}/atapifd/kernel ${RD}/kernels/MFSKERNEL_A
	mv ${RD}/atapifd/kernel.kz ${RD}/atapifd/kernel
	ls -l ${RD}/atapifd/kernel
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=atapi
a449 1
	ln -f ${RD}/kernels/MFSKERNEL_A ${CD}/kernel.atapi
@


1.193.2.19
log
@Since we're jettisoning ballast, toss PROCFS overboard from MFS kernel too.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.18 1995/10/04 12:07:26 jkh Exp $
d190 1
a190 2
# Make and install a couple of kernels we need.  To keep BOOTMFS smaller,
# we cull out certain options (see fgrep -v) before building it.
a197 1
		fgrep -v PROCFS | \
a202 1
		fgrep -v PROCFS | \
@


1.193.2.20
log
@Set date in prep for next SNAP.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.19 1995/10/04 20:28:43 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951005-SNAP
@


1.193.2.21
log
@Fix this to stop bogusly replacing `options ATAPI'
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.20 1995/10/04 23:06:09 jkh Exp $
d206 1
a206 1
		sed 's/ATAPIKERN/BOOTMFS/g' > BOOTMFS_A && \
@


1.193.2.22
log
@Remake fs-image before rolling IDE CDROM floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.21 1995/10/05 04:36:59 jkh Exp $
a387 2

	# first the standard boot floppy, with GENERIC kernel
d391 2
a403 3
	cd ${.CURDIR} && ${MAKE} doFS FSSIZE=${BOOTMFSSIZE} \
		FSPROTO=${RD}/mfsfd FSLABEL=mfs${BOOTMFSSIZE} \
		FSINODE=${MFSINODE}
@


1.193.2.23
log
@Do a little handwaving to get the wcd0 device onto the various
floppies since it's not in MAKEDEV's all target yet.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.22 1995/10/05 06:55:28 jkh Exp $
a365 1
		sh MAKEDEV wcd0 && \
d447 1
a447 1
		sh MAKEDEV all wcd0 && \
@


1.193.2.24
log
@wcd0a -> wcd0c
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.23 1995/10/05 09:42:13 jkh Exp $
d369 1
a369 1
		cd0a mcd0a scd0a matcd0a wcd0c rst0 ft0 rwt0 | \
@


1.193.2.25
log
@Try to increase the number of inodes available on the fixit floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.24 1995/10/05 09:55:01 jkh Exp $
d453 1
a453 1
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=fixit FDINODE=4000
@


1.193.2.26
log
@Syncronize with my current sources.  pkg installer not quite in final
form yet, but close.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.25 1995/10/07 21:12:10 jkh Exp $
d368 1
a368 1
		*[sw]d* cuaa[01] cuaa[23] fd[01] rfd[01] \
@


1.193.2.27
log
@Be highly optimistic and set the next snapshot date for the 12th of October.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.26 1995/10/09 11:14:45 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951012-SNAP
@


1.193.2.28
log
@Remove added cruft for ATAPI CDROM floppy.
It simply doesn't work yet.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.27 1995/10/11 01:00:31 jkh Exp $
d202 7
a208 1
		echo "options  MFS" >> BOOTMFS
d210 1
a210 1
	for i in BOOTMFS GENERIC ; do \
d246 1
d403 14
d474 1
@


1.193.2.29
log
@Make the `floppies' target work the right way.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.28 1995/10/11 10:10:14 jkh Exp $
d493 2
a494 3
	cd ${.CURDIR} && ${MAKE} boot.flp
	cd ${.CURDIR} && ${MAKE} root.flp
	cd ${.CURDIR} && ${MAKE} fixit.flp
@


1.193.2.30
log
@Make the fixit floppy work again; ran out of inodes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.29 1995/10/11 20:11:51 jkh Exp $
d427 1
a427 1
		sh MAKEDEV all && \
d432 1
a432 1
	cd ${.CURDIR} && ${MAKE} doFLOPPY FLOPPY=fixit FDINODE=1024
@


1.193.2.31
log
@Try for a more realistic SNAP date.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.30 1995/10/11 20:45:51 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951015-SNAP
@


1.193.2.32
log
@Adjust for new location of MIRROR.SITES file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.31 1995/10/14 19:15:10 jkh Exp $
d440 1
a440 1
	cd ${.CURDIR} && ln -f ${FAQS} ${FD}
@


1.193.2.33
log
@Remove wcd0 from list of devices on boot.flp.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.32 1995/10/15 06:25:43 jkh Exp $
d359 1
d362 1
a362 1
		cd0a mcd0a scd0a matcd0a rst0 ft0 rwt0 | \
@


1.193.2.34
log
@Turn zip back on - the MFS image blew up without it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.33 1995/10/15 12:55:13 jkh Exp $
d53 1
a53 1
BOOTMFSSIZE=		1000
d357 1
a357 1
		DIR=${RD}/mfsfd/stand ZIP=true
@


1.193.2.35
log
@Set SNAP to today's date.  Yes, today a snapshot is going out - one way
or another!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.34 1995/10/15 16:24:52 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951019-SNAP
@


1.193.2.36
log
@The accursed snapshot date rolls forward to today.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.35 1995/10/19 18:38:31 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951020-SNAP
@


1.193.2.37
log
@Update to tomorrow's SNAP date.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.36 1995/10/20 16:17:48 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951024-SNAP
@


1.193.2.38
log
@Move next SNAP to Wednesday in order to give David more time to bring
other fixes in (I'm sure I'll also put the extra day to good use).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.37 1995/10/24 02:17:05 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951025-SNAP
@


1.193.2.39
log
@Grrrr.  Soon!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.38 1995/10/24 04:03:53 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951026-SNAP
@


1.193.2.40
log
@Add the power logo to the root floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.39 1995/10/26 08:23:28 jkh Exp $
a411 2
	cp ${.CURDIR}/sysinstall/power.uu ${RD}/rootfd/stand && \
		cd ${RD}/rootfd/stand && uudecode power.uu && rm power.uu
@


1.193.2.41
log
@Add IDE CDROM device to default devs.
Fix a bug where sysinstall would crash when run post-config time to
load something over the network.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.40 1995/10/27 05:03:17 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-951103-SNAP
d361 1
a361 1
		cd0a mcd0a scd0a matcd0a wcd0c rst0 ft0 rwt0 | \
@


1.193.2.42
log
@BUILDNAME=2.1.0-RELEASE
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.41 1995/11/06 07:27:22 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.0-RELEASE
@


1.193.2.43
log
@ft0 -> rft0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.42 1995/11/12 20:48:43 jkh Exp $
d361 1
a361 1
		cd0a mcd0a scd0a matcd0a wcd0c rst0 rft0 rwt0 | \
@


1.193.2.44
log
@1. Merge latest sysinstall changes.
2. Nuke libdisk from here in preparation for a move to /usr/src/lib, as in
   -current.
3. Remove explicit references to libdisk in Makefile (which will probably
   be merged outright from the HEAD later, but this will do for now).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.43 1995/11/15 07:17:18 jkh Exp $
d119 3
d219 1
@


1.193.2.45
log
@Comment out BUILDNAME and CHROOTDIR.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.44 1996/05/09 13:33:20 jkh Exp $
d14 2
a15 2
#BUILDNAME=2.1.0-RELEASE
#CHROOTDIR=/a/release
@


1.193.2.46
log
@Merge with HEAD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.215 1996/05/16 03:20:52 jkh Exp $
d14 2
a15 2
#BUILDNAME=2.2-960501-SNAP
#CHROOTDIR=/junk/release
d17 1
a17 1
#RELEASETAG=RELENG_2_1_0
d21 1
a21 1
EXPORT_DISTS=	games manpages proflibs dict info doc
d33 5
d51 4
a54 4
# Upper size for the mfs in the boot.flp kernel.
# These are adjusted down to the minimum needed but doFS.sh.
BOOTMFSSIZE=		1200
MFSINODE=		40000
d67 1
a67 1
rerelease release:
a70 1
.if make(release)
d73 1
a73 1
	-rm -rf ${CHROOTDIR}
d75 16
a90 4
	-mkdir -p ${CHROOTDIR}
	cd ${.CURDIR}/../etc && ${MAKE} distrib-dirs DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/../etc && ${MAKE} distribution DESTDIR=${CHROOTDIR}
	cd ${.CURDIR}/.. && ${MAKE} install DESTDIR=${CHROOTDIR}
d92 1
a92 1
	cd ${CHROOTDIR}/usr && cvs co -P src
d94 1
a94 11
	cd ${CHROOTDIR}/usr && cvs co -P -r ${RELEASETAG} src
.endif
.endif
.if make(rerelease)
.if !defined(RELEASENOUPDATE)
.if !defined(RELEASETAG)
	cd ${CHROOTDIR}/usr && cvs -q update -P -d  src
.else
	cd ${CHROOTDIR}/usr && cvs -q update -P -d  -r ${RELEASETAG} src
.endif
.endif
d97 2
a98 2
	  mv newvers.sh foo && \
	  sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh&& rm foo )
d100 11
a110 2
	  sed "s/__RELEASE/${BUILDNAME}/" version.h > version.h.new && \
	  mv version.h.new version.h )
d113 1
a113 1
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
a117 4
.if make(release)
	echo "make world"			>> ${CHROOTDIR}/mk
.endif
.if make(rerelease)
d119 3
a121 1
.endif
a123 1
	echo "rm -f obj/release.4"		>> ${CHROOTDIR}/mk
d125 13
a137 1
	echo "echo make ${.TARGET} Finished"	>> ${CHROOTDIR}/mk
d150 1
a150 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a157 1
	mkdir ${RD}/kernels
d159 2
a160 2
		mkdir ${RD}/trees/$$i && \
		mkdir ${RD}/dists/$$i && \
d162 1
a162 1
		    -p ${RD}/trees/$$i > /dev/null && \
d164 1
a164 1
		    -p ${RD}/trees/$$i/usr > /dev/null && \
d166 1
a166 1
		    -p ${RD}/trees/$$i/usr/include > /dev/null && \
d174 1
a174 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
d176 1
a176 2
	cd ${.CURDIR}/.. && make distribute DISTDIR=${RD}/trees
.if exists(${.CURDIR}/../eBones)
d178 2
a179 2
		make bootstrap &&\
		make obj all help-distribute DISTDIR=${RD}/trees &&\
a181 1
.endif
a182 2
	# We don't really want to make a compat20 distribution for just
	# one file.
d187 2
a188 1
# Make and install the generic kernel.
d190 2
d193 18
a210 4
	rm -f ${RD}/kernels/GENERIC
	rm -rf ${.CURDIR}/../sys/compile/GENERIC
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=GENERIC
	rm -rf ${.CURDIR}/../sys/compile/GENERIC
a215 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
d217 1
d225 1
a225 1
		${MAKE} -f $${j}_crunch.mk all NOCRYPT=yes \
d228 1
a228 1
		true || rm -rf $${j}_crunch ; \
d232 1
a232 3
#
# --==## Fix up the distributions. ##==--
#
d234 1
a234 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
a235 8

	# Handle some grief caused by the ammunition braindeadness.
	for i in sbin/init bin/ed ; do \
		( cd ${.CURDIR}/../$$i; \
		  make -DNOCRYPT clean all distribute DISTDIR=${RD}/trees ) ; \
	done

	# Move all the manpages out to their own dist
d237 1
a237 1
		rm -rf ${RD}/trees/manpages/usr/share/man &&\
a240 1
	# Move all the games out to their own dist
d242 1
a242 1
		rm -rf ${RD}/trees/games/usr/games &&\
d247 1
a247 1
		rm -rf ${RD}/trees/games/usr/share/games &&\
d252 1
a252 1
		rm -rf ${RD}/trees/games/var/games &&\
a255 1
	# Move the dict out to their own dist
d257 1
a257 1
		rm -rf ${RD}/trees/dict/usr/share/dict &&\
d267 2
a268 7
	# Move the info files out to their own dist
	if [ -d ${RD}/trees/bin/usr/share/info ] ; then \
		rm -rf ${RD}/trees/info/usr/share/info &&\
		mv ${RD}/trees/bin/usr/share/info \
			${RD}/trees/info/usr/share ;\
	fi
	# Move the profiled libraries out to their own dist
a274 10
	# Create symlinks for the MD5-based crypt lib, too.  The
	# automatically created links still point to the DES stuff,
	# which went into its own distribution.
	for i in ${RD}/trees/bin/usr/lib/libscrypt* ; do \
		c=`echo $$i | sed -e 's/libscrypt/libcrypt/'` ; \
		rm -f $$c ; \
		ln -s `basename $$i` $$c ; \
	done

	# Remove some files we can faster regen after installing.
a275 1
	# Remove all the directories we don't need.
d280 1
a280 3
#
# --==## Make binary dists ##==--
#
d282 1
a282 1
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
d289 3
a291 3
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=${RD}/trees/$${i} \
				TN=$$i TD=$$i ARG="." && \
a294 4
	( cd ${RD}/dists && \
		if [ -f krb/krb.aa ] ; then mv krb/* des && rmdir krb ; fi )
	( cd ${RD}/info && \
		if [ -d krb ] ; then mv krb/* des && rmdir krb ; fi )
d298 1
a298 3
#
# --==## Make source dists ##==--
#
d300 2
a301 2
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
	@@cd ${.CURDIR} && $(MAKE) doTARBALL SD=/usr/src \
d303 4
a306 3
	@@for i in `cd /usr/src && echo [a-z]*` ; do \
		if [ -d /usr/src/$$i ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
d308 1
a308 1
				SD=/usr/src TD=src ARG="$$i" ; \
d312 1
a312 1
	@@set ${EXTRA_SRC} && \
d314 7
a320 4
		if [ -d /usr/src/$$1 ] ; then \
			cd ${.CURDIR} && $(MAKE) doTARBALL \
				SD=/usr/src TN="s$$2" TD=src ARG="$$1" ; \
		fi && shift && shift ; \
d324 2
a325 5
		if [ -f ssecure.aa ] ; then mv ssecure.* ../des ; fi && \
		if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi )
	( cd ${RD}/info/src && \
		if [ -f ssecure.inf ] ; then mv ssecure.inf ../des ; fi && \
		if [ -f sebones.inf ] ; then mv sebones.inf ../des ; fi ; )
d327 2
d353 1
a353 1
		DIR=${RD}/mfsfd/stand ZIP=false
a364 7
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/mfsfd/stand/help/COPYRIGHT.hlp
	# make the small bootfd
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
		${MFSINODE} minimum
	mv fs-image fs-image.4
	mv fs-image.size fs-image.4.size
	# add more stuff for the complete bootfd
d367 24
a390 9
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
		${MFSINODE} minimum
	mv fs-image fs-image.std
	mv fs-image.size fs-image.std.size
	#rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
	cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=4
	cd ${.CURDIR} && ${MAKE} doMFSKERN FSIMAGE=std
	mv ${RD}/floppies/bootstd.flp ${RD}/floppies/boot.flp
	#rm -rf ${.CURDIR}/../sys/compile/BOOTMFS 
d393 1
a393 3
#
# --==## Create a root floppy ##==--
#
d403 5
a407 2
	tar -cf - -C ${RD}/trees/bin/dev MAKEDEV | \
		tar xvf - -C ${RD}/rootfd/stand
d410 1
a410 4
	cd ${RD}/rootfd && \
		( rm -f OK && find . -print && touch OK && echo OK ) | \
		cpio -H newc -oa | gzip -9 -c | \
		dd conv=osync > ${RD}/floppies/root.tmp
d414 1
a414 3
#
# --==## Create a fixit floppy ##==--
#
d420 1
a420 1
		mkdir dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp
d423 4
a426 3
	( cd ${RD}/fixitfd/dev && \
		cp ${RD}/trees/bin/dev/MAKEDEV . && \
		sh MAKEDEV all )
d429 1
a429 3
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/fixitfd \
		10000 ${FDLABEL}
	mv fs-image ${RD}/floppies/fixit.flp
a431 3
#
# --==## Setup a suitable ftp-area ##==--
#
d437 6
a443 3
#
# --==## Setup a suitable cdrom-area ##==--
#
d449 1
a449 1
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD}/kernel
d463 1
a463 1
	@@echo "SD undefined in doTARBALL" && exit 1
d466 1
a466 1
	@@echo "TB undefined in doTARBALL" && exit 1
d469 1
a469 1
	@@echo "ARG undefined in doTARBALL" && exit 1
d480 2
a481 1
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > ${TD}/$$tn.inf \
a492 1
	cd ${RD} && find floppies -print | cpio -dumpl ${FD}
d514 41
d557 1
a557 1
	@@echo "CRUNCH undefined in installCRUNCH" && exit 1
d560 1
a560 1
	@@echo "DIR undefined in installCRUNCH" && exit 1
d563 1
a563 1
	@@echo "ZIP undefined in installCRUNCH" && exit 1
a573 50

#
# --==## Compile a kernel by name ${KERNEL} ##==--
#
# We don't erase the sys/compile/${KERNEL} directory, since somebody
# may want to reuse it (release.8 presently)
#
doKERNEL:
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
	rm -f ${RD}/kernels/${KERNEL}
	cd ${.CURDIR}/../sys/i386/conf && config -n ${KERNEL}
	cd ${.CURDIR}/../sys/compile/${KERNEL} && \
			make  depend && \
			make  kernel && \
			cp kernel ${RD}/kernels/${KERNEL}

#
# --==## Put a filesystem into a BOOTMFS kernel ##==--
#
doMFSKERN:
	@@cd ${.CURDIR} && $(MAKE) ckRELEASEDIR
	rm -f ${RD}/kernels/BOOTMFS.${FSIMAGE}
	rm -f /sys/compile/BOOTMFS/mfs_vfsops.o
	cd ${.CURDIR}/../sys/i386/conf && \
		fgrep -v SYSV GENERIC | \
		fgrep -v pty | \
		fgrep -v PROCFS | \
		sed 's/GENERIC/BOOTMFS/g' | \
		sed '/maxusers/s/10/4/' > BOOTMFS && \
		echo "options  MFS" >> BOOTMFS && \
		echo "options  NFS_NOSERVER" >> BOOTMFS &&
		echo 'options  "MAXCONS=4"' >> BOOTMFS 
	echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
		${.CURDIR}/../sys/i386/conf/BOOTMFS
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
	rm -rf ${RD}/boot.${FSIMAGE}
	mkdir  ${RD}/boot.${FSIMAGE}
	mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
	./write_mfs_in_kernel ${RD}/boot.${FSIMAGE}/kernel \
		fs-image.${FSIMAGE}
	kzip -v ${RD}/boot.${FSIMAGE}/kernel
	mv ${RD}/boot.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
	mv ${RD}/boot.${FSIMAGE}/kernel.kz ${RD}/boot.${FSIMAGE}/kernel
	ls -l ${RD}/boot.${FSIMAGE}/kernel
	rm -f ${RD}/floppies/boot${FSIMAGE}.flp
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		100000 ${FDLABEL}
	mv fs-image ${RD}/floppies/boot${FSIMAGE}.flp

@


1.193.2.47
log
@Merge from HEAD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.217 1996/05/29 04:13:17 jkh Exp $
d59 1
a59 1
WHICH_CRUNCH=	boot fixit
d122 1
a122 1
	rm -rf boot_crunch release.[0-9] release.1[0]
d279 1
d291 2
d321 2
a322 1
		if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi && \
a370 2
	cp ${.CURDIR}/sysinstall/power.uu ${RD}/mfsfd/stand && \
		cd ${RD}/mfsfd/stand && uudecode power.uu && rm power.uu
d383 23
d408 1
a408 1
release.9:
d424 1
a424 1
	touch release.9
d472 4
a475 2
		mkdir -p ${TD} && sh ${.CURDIR}/info.sh \
		  ${RD}/dists/${TD}/$$tn > ${RD}/dists/${TD}/$$tn.inf )
d478 1
a478 1
		release.7 release.8 release.9
d484 1
d492 4
d497 2
a498 2
	rm -f release.4 release.9
	cd ${.CURDIR} && ${MAKE} release.4 release.9 WHICH_CRUNCH=fixit
@


1.193.2.48
log
@OK, I said I wasn't going to touch -stable, but I'm afraid I'm still going
to have to muck around in release/ in order to make 2.1.5 happen so consider
this the exception... :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.218 1996/06/06 10:13:32 jkh Exp $
a23 1
KERNELS?=	GENERIC
d29 1
a61 10
REDO?=		sysinstall
REDOSED=	sed -e 's/dirs/release.1/' -e 's/trees/release.2/' \
		    -e 's/kerns/release.3/' -e 's/sysinstall/release.4/' \
		    -e 's/fixup/release.5/' -e 's/tarbin/release.6/' \
		    -e 's/tarsrc/release.7/' -e 's/boot\.flp/release.8/' \
		    -e 's/fixit\.flp/release.9/' -e 's/ftp/ftp.1/' \
		    -e 's/cdrom/cdrom.1/'

REDOREDO!=	echo ${REDO} | ${REDOSED}

d111 1
a111 3
	echo "cd obj"                           >> ${CHROOTDIR}/mk
	echo "rm -f ${REDOREDO}"                >> ${CHROOTDIR}/mk
	echo "cd /usr/src/release"              >> ${CHROOTDIR}/mk
d168 1
a168 1
# Make and install the generic kernel(s).
d171 4
a174 7
.for kernel in ${KERNELS}
	rm -f ${RD}/kernels/${kernel}
	rm -rf ${.CURDIR}/../sys/compile/${kernel}
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=${kernel}
	rm -rf ${.CURDIR}/../sys/compile/${kernel}
	ln -f ${RD}/kernels/${kernel} ${RD}/trees/bin/kernel.${kernel}
.endfor
d201 2
d448 1
a448 5
		${RD}/dists/${TD}/$$tn > ${RD}/dists/${TD}/$$tn.inf && \
		  if [ "${SD}" != "/usr/src" ]; then \
			mtree -c -i -p ${SD}/${ARG} \
			  -k gname,md5digest,mode,nlink,uname,size,link,type \
			  > ${RD}/dists/${TD}/$$tn.mtree ; else true; fi )
d519 11
a529 10
	  sed	-e '/SYSV/d' \
		-e '/pty/d' \
		-e '/PROCFS/d' \
		-e 's/GENERIC/BOOTMFS/g' \
		-e '/maxusers/s/10/4/' < GENERIC > BOOTMFS && \
	  echo "options  MFS" >> BOOTMFS && \
	  echo "options  NFS_NOSERVER" >> BOOTMFS && \
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> BOOTMFS
	${MAKE} doKERNEL KERNEL=BOOTMFS
@


1.193.2.49
log
@Merge from HEAD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.48 1996/06/06 22:53:21 jkh Exp $
d39 4
a372 1
	@@echo "Making the small 4MB boot floppy."
d380 2
a381 1
	@@echo "Making the regular boot floppy."
d386 1
d390 1
d543 3
a545 4
	  echo 'options  "MAXCONS=4"' >> BOOTMFS
	echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
	  ${.CURDIR}/../sys/i386/conf/BOOTMFS
	cd ${.CURDIR} && ${MAKE} doKERNEL KERNEL=BOOTMFS
@


1.193.2.50
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.49 1996/06/09 09:35:01 jkh Exp $
a433 1
	echo "CD_VERSION = ${BUILDNAME}" > ${CD}/cdrom.inf
@


1.193.2.51
log
@Merge with head.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.50 1996/06/11 10:00:46 jkh Exp $
a456 3
		if [ -f ${.CURDIR}/scripts/$${TD}-install.sh ]; then \
		  cp -p ${.CURDIR}/scripts/$${TD}-install.sh ${RD}/dists/${TD}/install.sh; \
		fi && \
@


1.193.2.52
log
@Merge.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.51 1996/06/17 21:09:30 jkh Exp $
a415 4
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${FD}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${FD}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${FD}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${FD}/RELNOTES.TXT
a434 4
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${CD}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${CD}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${CD}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${CD}/RELNOTES.TXT
@


1.193.2.53
log
@Merge.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.228 1996/07/05 08:53:54 jkh Exp $
d116 1
a116 1
	echo "make obj OBJLINK=yes"		>> ${CHROOTDIR}/mk
d367 1
a367 1
	gzip -c ${.CURDIR}/../COPYRIGHT > ${RD}/mfsfd/stand/help/COPYRIGHT.hlp.gz
a374 1
	@@echo "Making the regular boot floppy."
d377 1
a377 2
	@@echo "Compressing doc files..."
	@@gzip -9 ${RD}/mfsfd/stand/help/*.hlp
a384 1
	@@echo "Regular boot floppy made."
@


1.193.2.54
log
@Merge.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.53 1996/07/05 08:57:31 jkh Exp $
d45 1
a45 1
MFSINODE=		42000
@


1.193.2.55
log
@MFSINODE actually needs to be a good deal higher now - make it 64K
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.54 1996/07/06 02:10:06 jkh Exp $
d45 1
a45 1
MFSINODE=		65536
@


1.193.2.56
log
@Merge.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.55 1996/07/09 11:25:10 jkh Exp $
d43 1
a43 1
# These are adjusted down to the minimum needed by doFS.sh.
d45 1
a45 1
MFSINODE=		42000
d370 3
a372 3
		sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${BOOTMFSSIZE} ${RD}/mfsfd \
			${MFSINODE} minimum
		mv fs-image fs-image.4
d415 2
a416 1
	mkdir -p ${FD}
d428 3
a430 1
	mkdir -p ${CD}/filesys
@


1.193.2.57
log
@libgcc.so.261.0 is moving to compat20
OKed by: jkh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.56 1996/07/09 17:01:49 jkh Exp $
d170 4
@


1.193.2.58
log
@Mondo-merge of new 2.2 installation technology.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.246 1996/10/14 13:29:40 jkh Exp $
d82 1
a82 6
	cd ${CHROOTDIR}/usr && rm -rf src && \
		cvs -d ${CVSROOT} co -P src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P src/secure src/eBones
.endif
d84 1
a84 9
	cd ${CHROOTDIR}/usr && rm -rf src && \
		cvs co -d ${CVSROOT} -P -r ${RELEASETAG} src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P -r ${RELEASETAG} src/secure src/eBones
.endif
.endif
.if defined(LOCAL_PATCHES) && exists(${LOCAL_PATCHES})
	cd ${CHROOTDIR}/usr/src && patch --silent < ${LOCAL_PATCHES}
d90 1
a90 1
	cd ${CHROOTDIR}/usr/src && cvs -q update -P -d
d92 1
a92 1
	cd ${CHROOTDIR}/usr/src && cvs -q update -P -d -r ${RELEASETAG}
d101 1
a101 3
	  mv version.h.new version.h && \
	  echo XXXX )
	-test -f install.cfg && cp install.cfg ${CHROOTDIR}/usr/src/release
d188 1
a188 1
	cd ${.CURDIR}/sysinstall && make depend all
d208 1
a208 1
	# Handle some grief caused by the munition braindeadness.
d216 3
a218 3
		tar -cf - -C ${RD}/trees/bin/usr/share/man . | \
			tar xf - -C ${RD}/trees/manpages/usr/share/man && \
		rm -rf ${RD}/trees/bin/usr/share/man; \
d222 3
a224 3
		tar -cf - -C ${RD}/trees/bin/usr/games . | \
			tar -xf - -C ${RD}/trees/games/usr/games && \
		rm -rf ${RD}/trees/bin/usr/games; \
d227 3
a229 3
		tar -cf - -C ${RD}/trees/bin/usr/share/games . | \
			tar -xf - -C ${RD}/trees/games/usr/share/games && \
		rm -rf ${RD}/trees/bin/usr/share/games; \
d232 3
a234 3
		tar -cf - -C ${RD}/trees/bin/var/games . | \
			tar -xf - -C ${RD}/trees/games/var/games && \
		rm -rf ${RD}/trees/bin/var/games; \
d238 3
a240 3
		tar -cf - -C ${RD}/trees/bin/usr/share/dict . | \
			tar -xf - -C ${RD}/trees/dict/usr/share/dict && \
		rm -rf ${RD}/trees/bin/usr/share/dict; \
d245 1
a245 1
				${RD}/trees/dict/usr/share/misc; \
d250 3
a252 3
		tar -cf - -C ${RD}/trees/bin/usr/share/info . | \
			tar -xf - -C ${RD}/trees/info/usr/share/info && \
		rm -rf ${RD}/trees/bin/usr/share/info; \
d344 1
a344 1
release.8: write_mfs_in_kernel dumpnlist
a363 1
	-test -f ${.CURDIR}/install.cfg && cp ${.CURDIR}/install.cfg ${RD}/mfsfd
d424 1
a424 2
	cd ${RD} && find floppies -print | cpio -dumpl ${CD}
	cd ${RD}/dists && find . -print | cpio -dumpl ${CD}
a489 3
dumpnlist:	${.CURDIR}/dumpnlist.c
	${CC} ${CFLAGS} -o dumpnlist ${.CURDIR}/dumpnlist.c

d535 3
a537 3
	@@rm -f ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@rm -f /sys/compile/BOOTMFS/mfs_vfsops.o
	@@cd ${.CURDIR}/../sys/i386/conf && \
a540 1
		-e '/KTRACE/d' \
d545 2
a546 3
	  echo 'options  "MAXCONS=4"' >> BOOTMFS && \
	  echo "options  USERCONFIG_BOOT" >> BOOTMFS
	@@echo "options \"MFS_ROOT=`cat fs-image.${FSIMAGE}.size`\"" >> \
d549 4
a552 11
	@@rm -rf ${RD}/boot.${FSIMAGE}
	@@mkdir  ${RD}/boot.${FSIMAGE}
	@@mv ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
	@@cp ${RD}/kernels/BOOTMFS.${FSIMAGE} ${RD}/boot.${FSIMAGE}/kernel
	@@vnconfig /dev/vn0 fs-image.${FSIMAGE}
	@@mkdir -p /tmp/mnt_xx
	@@mount /dev/vn0 /tmp/mnt_xx
	./dumpnlist ${RD}/boot.${FSIMAGE}/kernel > /tmp/mnt_xx/stand/symbols
	@@umount /tmp/mnt_xx
	@@vnconfig -u /dev/vn0
	@@rmdir /tmp/mnt_xx
d556 7
a562 11
	@@mv ${RD}/boot.${FSIMAGE}/kernel ${RD}/kernels/MFSKERNEL.${FSIMAGE}
	@@mv ${RD}/boot.${FSIMAGE}/kernel.kz ${RD}/boot.${FSIMAGE}/kernel
	@@ls -l ${RD}/boot.${FSIMAGE}/kernel
	@@rm -f ${RD}/floppies/boot${FSIMAGE}.flp
	cat /usr/mdec/rawboot ${RD}/boot.${FSIMAGE}/kernel | \
		dd conv=sync of=${RD}/floppies/boot${FSIMAGE}.flp
	@@echo 'USERCONFIG' > startup_foo
	@@echo 'intro' >> startup_foo
	dd if=startup_foo of=${RD}/floppies/boot${FSIMAGE}.flp \
	  seek=1 bs=512 count=1 conv=sync
	@@rm -f startup_foo
@


1.193.2.59
log
@Whoops, I took over the `cvs -d' changes by mistake (which won't work in
2.1-stable).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.58 1996/10/15 17:03:53 jkh Exp $
d83 5
a87 1
		cvs co -P src
d90 5
a94 1
		cvs co -P -r ${RELEASETAG} src
@


1.193.2.60
log
@2nd try - sync up and try to produce a working -stable release build.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.247 1996/11/02 18:58:07 jkh Exp $
d83 1
a83 5
		cvs -d ${CVSROOT} co -P src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P src/secure src/eBones
.endif
d86 1
a86 5
		cvs co -d ${CVSROOT} -P -r ${RELEASETAG} src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P -r ${RELEASETAG} src/secure src/eBones
.endif
a369 1
	echo "cmd             514/tcp    shell" >> ${RD}/mfsfd/stand/etc/services
d581 1
a581 1
	cat ${RD}/trees/bin/usr/mdec/rawboot ${RD}/boot.${FSIMAGE}/kernel | \
@


1.193.2.61
log
@Set RELEASETAG by default, since there's no reason not to.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.60 1996/11/03 05:46:52 jkh Exp $
d17 1
a17 1
RELEASETAG=RELENG_2_1_0
@


1.193.2.62
log
@d'oh!  Forgot about the cvs -d stuff, *again*.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.61 1996/11/03 06:02:33 jkh Exp $
d83 5
a87 1
		cvs co -P src
d90 5
a94 1
		cvs co -P -r ${RELEASETAG} src
@


1.193.2.63
log
@Another merge from HEAD before rolling a 2.1.6 release candidate
(Tuesday is still the cut-off date for bug fixes!).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.62 1996/11/03 06:22:58 jkh Exp $
d44 1
a44 1
BOOTMFSSIZE=		1250
a45 1
FIXITINODE=		28000
a192 3
#
# NB: the "RELEASE_BUILD_FIXIT" magic prevents vi from including the
# Tcl and Perl APIs.  See also /usr/src/usr.bin/vi/Makefile.
a197 1
	export RELEASE_BUILD_FIXIT=noway ; \
d206 1
a206 1
		true || { rm -rf $${j}_crunch ; false ; } ; \
d405 1
a405 1
		DIR=${RD}/fixitfd/stand ZIP=false
d409 1
a409 2
	cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \
		${RD}/trees/bin/etc/protocols ${RD}/fixitfd/etc
a410 1
	cp ${.CURDIR}/fixit.services ${RD}/fixitfd/etc/services
d412 1
a412 1
		${FIXITINODE} ${FDLABEL}
d469 2
a470 2
		sh ${.CURDIR}/info.sh ${RD}/dists/${TD}/$$tn > \
		   ${RD}/dists/${TD}/$$tn.inf && \
@


1.193.2.64
log
@Staple RELEASETAG since it's always the same for this branch.
Go back to previous method of specifying vi's location for 2.1 in
fixit floppy (ugh).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.63 1996/11/10 13:13:45 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.6-RELEASE
@


1.193.2.65
log
@Bruce's suggestion with disklabel and MFS size bump.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.64 1996/11/11 16:07:41 jkh Exp $
d44 1
a44 1
BOOTMFSSIZE=		1400
@


1.193.2.66
log
@Bump BOOTMFSSIZE again on advice from Don (I'm working on 2.2 right now
so my 2.1.6 builds are somewhat lagging).  Also take out the debugging
info flag as a default in doFS.sh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.65 1996/11/12 22:32:27 jkh Exp $
d44 1
a44 1
BOOTMFSSIZE=		1450
@


1.193.2.67
log
@Since we're not using disklabel's cute cloning feature in 2.1.6, use
a prototype of "auto" instead.
Submitted-By: Don Lewis <Don.Lewis@@tsc.tdk.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.66 1996/11/13 11:58:27 jkh Exp $
d381 1
a381 1
			${MFSINODE} auto
d391 1
a391 1
		${MFSINODE} auto
@


1.193.2.68
log
@Incorporate some more fixes for floppy auto-sizing from Don.
Submitted-By: Don Lewis <Don.Lewis@@tsc.tdk.com>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.67 1996/11/13 13:15:43 jkh Exp $
d38 1
a38 1
FDLABEL=		auto
a224 1
	chflags noschg ${RD}/trees/bin/sbin/init
@


1.193.2.69
log
@Make sysinstall obj link, as in -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.68 1996/11/14 14:21:44 jkh Exp $
a122 2
	echo "cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.193.2.70
log
@Might as well update these values too, while I'm at it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.69 1997/02/17 11:04:30 jkh Exp $
d14 1
a14 1
BUILDNAME=2.1.7-RELEASE
d17 1
a17 1
RELEASETAG=RELENG_2_1_7_RELEASE
@


1.193.2.71
log
@Merge all my sysinstall changes over to the 2.1 branch.

I just have this feeling... :)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.70 1997/02/19 17:22:19 jkh Exp $
a12 3
# please note: the vn driver has to be compiled into your kernel,
# otherwise the target 'release.8' and possibly others will fail.
#
d14 1
a14 1
#BUILDNAME=BUILDNAME=2.1.7-RELEASE
d17 1
a17 1
RELEASETAG=RELENG_2_1_0
d21 1
a21 2
COMPAT_DISTS=	compat1x compat20
EXPORT_DISTS=	games manpages catpages proflibs dict info doc ${COMPAT_DISTS}
d37 2
a38 2
FDSIZE=			1440
FDLABEL=		fd1440
d44 3
a46 4
BOOTMFSSIZE=		1440
MFSINODE=		60000
FIXITINODE=		20000
BOOTINODE=		100000
d51 3
a53 5
RD=			/R/stage
FD=			/R/ftp
CD=			/R/cdrom
CD_DISC1=		${CD}/disc1
CD_DISC2=		${CD}/disc2
d81 1
a81 1
	cd ${.CURDIR}/.. && ${MAKE} install DESTDIR=${CHROOTDIR} NOMAN=1
d84 1
a84 5
		cvs -d ${CVSROOT} co -P src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P src/secure src/eBones
.endif
d87 1
a87 5
		cvs -d ${CVSROOT} co -P -r ${RELEASETAG} src
.if defined(INTCVSROOT)
	cd ${CHROOTDIR}/usr && \
	    cvs -d ${INTCVSROOT} co -P -r ${RELEASETAG} src/secure src/eBones
.endif
a91 3
.if !defined(NO_PORTS)
	cd ${CHROOTDIR}/usr && rm -rf ports && cvs -d ${CVSROOT} co -P ports
.endif
a99 3
.if !defined(NO_PORTS)
	cd ${CHROOTDIR}/usr/ports && cvs -q update -P -d
.endif
d114 2
a115 2
	# Don't remove this, or the build will fall over!
	echo "export RELEASEDIR=/R"		>> ${CHROOTDIR}/mk
a118 1
	echo "(cd etc; make distribution)"	>> ${CHROOTDIR}/mk
d126 4
a129 2
	echo "make objlink"			>> ${CHROOTDIR}/mk
	echo "(cd obj; rm -f ${REDOREDO})"	>> ${CHROOTDIR}/mk
d140 1
a140 1
	rm -rf boot_crunch release.[0-9]
d142 1
a142 1
# Clean out /R and make the directory structure.
d144 4
a147 3
	-mkdir /R
	chflags -R noschg /R/.
	rm -rf /R/*
d169 1
d184 1
d200 1
d221 1
d227 1
d231 2
a232 2
		( cd ${RD}/trees/bin/usr/share/man; \
		find . | cpio -dumpl ${RD}/trees/manpages/usr/share/man ) && \
a234 7
	# Create the catpages
	if [ -d ${RD}/trees/manpages/usr/share/man ] ; then \
		su -m man -c 'catman ${RD}/trees/manpages/usr/share/man'; \
		( cd ${RD}/trees/manpages/usr/share/man; \
		find cat* | cpio -dumpl ${RD}/trees/catpages/usr/share/man ) && \
		rm -rf ${RD}/trees/manpages/usr/share/man/cat*; \
	fi
d296 1
d317 1
d360 1
d364 1
a364 1
		mkdir -p etc dev mnt stand/help
d369 1
a369 1
		*[swo]d* cuaa[01] cuaa[23] fd[01] rfd[01] \
d372 1
a372 1
	( cd ${RD}/mfsfd/dev && rm -f *[swo]d*[bdefgh] )
d381 7
d394 1
a394 1
		${MFSINODE} minimum
d397 1
d407 1
d411 1
a411 2
		mkdir -p dev stand bin sbin etc mnt mnt1 mnt2 mnt3 mnt4 tmp \
		usr/share/misc
d415 1
a415 2
		sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \
		chmod 755 MAKEDEV && \
a418 2
	cp ${RD}/trees/bin/usr/share/misc/scsi_modes \
		${RD}/fixitfd/usr/share/misc
a420 2
	cp ${.CURDIR}/tar.sh ${RD}/fixitfd/stand/tar
	chmod 555 ${RD}/fixitfd/stand/tar
a423 3
# Do our last minute floppies directory setup in a convenient place.
	cp ${.CURDIR}/floppies/README.TXT ${RD}/floppies/README.TXT
	@@(cd ${RD}/floppies; md5 * > CHECKSUM.MD5)
a432 1
	cp ${.CURDIR}/ABOUT.TXT ${FD}/ABOUT.TXT
d442 5
a446 5
	mkdir -p ${CD_DISC1} ${CD_DISC2}
	cd ${RD} && find floppies -print | cpio -dumpl ${CD_DISC1}
	cd ${RD}/dists && find . -print | cpio -dumpl ${CD_DISC1}
	ln -f ${RD}/kernels/MFSKERNEL.std ${CD_DISC1}/kernel
	ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD_DISC1}
a449 1
			chflags -R noschg ${RD}/trees/$${i} ; \
d451 1
a451 1
			find . -depth -print | cpio -dumpl ${CD_DISC2} ) ; \
d454 5
a458 23
	rm -f ${CD_DISC2}/.profile
	cp ${.CURDIR}/fixit.profile ${CD_DISC2}/.profile
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
	echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
	cp ${.CURDIR}/sysinstall/help/readme.hlp ${CD_DISC1}/README.TXT
	cp ${.CURDIR}/sysinstall/help/hardware.hlp ${CD_DISC1}/HARDWARE.TXT
	cp ${.CURDIR}/sysinstall/help/install.hlp ${CD_DISC1}/INSTALL.TXT
	cp ${.CURDIR}/sysinstall/help/relnotes.hlp ${CD_DISC1}/RELNOTES.TXT
	ln -s ../ports ${CD_DISC2}/usr/ports
#
# --==## And finally, create the ports distribution & tarball ##==--
#
# NOTE: Both ftp.1 and cdrom.1 must be run before this target or it will die
#       a quick and gruesome death.  We also expect the release engineer to
#       manually populate ports/distfiles on the 2nd CDROM.

ports.1:
	tar -cBf - -C /usr ports | tar xBpf - -C ${CD_DISC2} && \
		mkdir -p ${CD_DISC1}/ports && tar -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
		cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh && \
		(cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5) &&
		tar -cBf - -C ${CD_DISC1} ports | tar -xBf - -C ${FD}

d484 1
a484 1
		if [ "${SD}" != "/usr/src" ]; then \
d487 1
a487 8
			  > ${RD}/dists/${TD}/$$tn.mtree ; \
		else \
			true; \
		fi; \
		(cd ${RD}/dists/${TD}; \
		   rm -f CHECKSUM.MD5; \
		   md5 * > CHECKSUM.MD5) \
	)
d491 1
a491 1
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1 ports.1
d513 5
d545 1
d557 1
d590 1
d592 7
a598 3
	sh -e ${.CURDIR}/doFS.sh ${RD} ${MNT} ${FDSIZE} ${RD}/boot.${FSIMAGE} \
		${BOOTINODE} ${FDLABEL}
	mv fs-image ${RD}/floppies/boot${FSIMAGE}.flp
@


1.193.2.72
log
@Merge Joerg's changes in -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.282 1997/03/11 20:03:42 joerg Exp $
a138 5
	# This eases bootstrapping from a more recent hosting environment:
	echo "mkdir -p /usr/lib/compat"		>> ${CHROOTDIR}/mk
	echo "chflags noschg /usr/lib/lib*.so.*" >> ${CHROOTDIR}/mk
	echo "mv /usr/lib/lib*.so.* /usr/lib/compat" >> ${CHROOTDIR}/mk
	echo "ldconfig /usr/lib /usr/lib/compat" >> ${CHROOTDIR}/mk
a140 4
	# Now we've got our own shared libs, remove the bootstrapping
	# libs again.
	echo "rm -f /usr/lib/compat/*"		>> ${CHROOTDIR}/mk
	echo "ldconfig /usr/lib"		>> ${CHROOTDIR}/mk
a455 1
	echo "CD_VERSION = ${BUILDNAME}" > ${FD}/cdrom.inf
@


1.193.2.73
log
@NO_PORTS changes...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.72 1997/03/12 02:35:23 jkh Exp $
a491 1
.if !defined(NO_PORTS)
a492 1
.endif
a545 3
.if defined(NO_PORTS)
	cd ${.CURDIR} && ${MAKE} cdrom.1 ftp.1
.else
a546 1
.endif
@


1.193.2.74
log
@objlink -> obj
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.193.2.73 1997/03/12 02:42:23 jkh Exp $
d157 1
a157 1
	echo "make obj"			>> ${CHROOTDIR}/mk
@


1.193.2.75
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.192
log
@Remove trailing whitespace.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.191 1995/05/29 10:56:33 jkh Exp $
d22 1
a22 1
EXTRA_DISTS=	des ${EXPORT_DISTS}
d25 1
a25 1
BOOT1=	etc/services etc/protocols etc/sysconfig
d27 1
a27 1
FAQS=	README MIRROR.SITES
d48 1
a48 1
MFSINODE=		70000
d76 4
a81 6
	echo "cd /usr/src/release/libdisk"	>> ${CHROOTDIR}/mk
	echo "make obj depend"			>> ${CHROOTDIR}/mk
	echo "make all"				>> ${CHROOTDIR}/mk
	echo "cd /usr/src/release/sysinstall"	>> ${CHROOTDIR}/mk
	echo "make obj depend"			>> ${CHROOTDIR}/mk
	echo "make all"				>> ${CHROOTDIR}/mk
a84 1
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/etc/make.conf
d88 1
a88 1
	cd ${CHROOTDIR}/usr ; cvs export -r ${RELEASETAG} src
d92 1
a92 1
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh )
d110 4
a124 1
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/etc/make.conf
d129 1
a129 1
	cd ${CHROOTDIR}/usr ; cvs export -r ${RELEASETAG} -P -d -q src
d134 1
a134 1
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh )
d172 4
d206 2
d289 1
a289 1
# Make source dists, and finish of DES too
d303 1
a303 1
	if [ -f sdes.aa ] ; then mv sdes.* ../des ; fi && \
d306 2
d340 5
a347 3
	cd ${RD}/trees/bin/usr/share/FAQ/Text && \
		install -c RELNOTES.FreeBSD ${RD}/mfsfd/stand/help/en_US.ISO8859-1/RELNOTES && \
		install -c README ${RD}/mfsfd/stand/help/en_US.ISO8859-1/README
d367 1
d383 5
d435 1
a435 1
	ln -f ${RD}/bootfd/kernel ${CD}
@


1.192.2.1
log
@Sanitize the release rules somewhat.
Submitted by:	phk
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192 1995/05/30 08:27:59 rgrimes Exp $
d78 6
a201 2
	cd ${.CURDIR}/libdisk && make obj && make depend && make all
	cd ${.CURDIR}/sysinstall && make obj && make depend && make all
@


1.192.2.2
log
@1. Don't copy /etc/services onto the boot floppy - it's huge!
   Just tack in the entries we want.

2. Replace ncftp with ftp on root.flp; it's easier to use in this
   context and less fussy about missing passwd files.

3. Also put tip/cu back on the root floppy.  We certainly have the
   room, and it might prove useful.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.1 1995/05/31 22:36:51 jkh Exp $
d25 1
a25 1
BOOT1=	etc/protocols etc/sysconfig
a327 4
	echo "nameserver      42/tcp name"	> ${RD}/mfsfd/stand/etc/services
	echo "ftp             21/tcp"		>> ${RD}/mfsfd/stand/etc/services
	echo "domain          53/tcp          nameserver" >> ${RD}/mfsfd/stand/etc/services
	echo "domain          53/udp          nameserver" >> ${RD}/mfsfd/stand/etc/services
@


1.192.2.3
log
@Trade 32 inodes for 4K of space
Submitted by:	phk
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.2 1995/05/31 23:53:09 jkh Exp $
d48 1
a48 1
MFSINODE=		80000
@


1.192.2.4
log
@Adjust this to match where the new docs are (whoops).
Eliminate a duplicate.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.3 1995/06/01 00:20:25 jkh Exp $
d27 1
a27 1
FAQS=	MIRROR.SITES
d293 1
a293 1
	if [ -f ssecure.aa ] ; then mv ssecure.* ../des ; fi && \
d335 3
@


1.192.2.5
log
@Add MAKEDEV to the root.flp
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.4 1995/06/02 18:17:47 jkh Exp $
a368 1
	tar -cf - -C ${RD}/trees/bin/dev MAKEDEV | tar xvf - -C ${RD}/rootfd/stand
@


1.192.2.6
log
@Don't install kzip'd kernel on CDROM, there's no point.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.5 1995/06/05 17:04:50 jkh Exp $
a353 1
	mv ${RD}/bootfd/kernel ${RD}/kernel/MFSKERNEL
d417 1
a417 1
	ln -f ${RD}/kernels/MFSKERNEL ${CD}/kernel
@


1.192.2.7
log
@kernel -> kernels
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.6 1995/06/06 06:08:00 jkh Exp $
d354 1
a354 1
	mv ${RD}/bootfd/kernel ${RD}/kernels/MFSKERNEL
@


1.192.2.8
log
@A large collection of patches committed from the top to make it easier
on me:

1. Mark Murray's eBones patches.
2. Joerg's German docs + fixes.
3. Various sysinstall bug fixes from me + Mark's eBones menu changes.
4. Steven G. Kargl's doc fixes.
Submitted by:	markm, joerg, jkh, kargl@@troutmask.apl.washington.edu
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.7 1995/06/06 08:03:17 jkh Exp $
d22 1
a22 1
EXTRA_DISTS=	krb des ${EXPORT_DISTS}
a165 4
	cd ${.CURDIR}/../eBones && ( \
		make obj all help-distribute DISTDIR=${RD}/trees ;\
		make kprog \
	)
a275 2
	( cd ${RD}/dists/krb && \
	if [ -f krb.aa ] ; then mv krb.* ../des ; fi )
@


1.192.2.9
log
@Nits.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.8 1995/06/07 05:50:49 jkh Exp $
d89 1
a89 1
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
d128 1
a128 1
	sed "s/^RELEASE=.*/RELEASE=${BUILDNAME}/" foo > newvers.sh; rm foo )
@


1.192.2.10
log
@"bootstrap" for eBones target!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.9 1995/06/07 08:19:52 jkh Exp $
d168 1
a168 1
		make bootstrap \
@


1.192.2.11
log
@The cvs export line was bogus.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.10 1995/06/07 20:03:09 jkh Exp $
d123 1
a123 1
	cd ${CHROOTDIR}/usr ; cvs export -r ${RELEASETAG} src
@


1.192.2.12
log
@Simplify the release target a little and stop messing with the
user's /etc/make.conf file; that's bad!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.11 1995/06/08 09:43:02 jkh Exp $
a75 4
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
	echo "export CFLAGS"			>> ${CHROOTDIR}/mk
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/mk
	echo "export RELEASEDIR"		>> ${CHROOTDIR}/mk
d81 1
@


1.192.2.13
log
@sync release and rerelease rules.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.12 1995/06/08 23:32:09 jkh Exp $
d88 1
a88 1
	cd ${CHROOTDIR}/usr ; cvs co -P -r ${RELEASETAG} src
a109 4
	echo "CFLAGS='-O2 -pipe'"		>> ${CHROOTDIR}/mk
	echo "export CFLAGS"			>> ${CHROOTDIR}/mk
	echo "RELEASEDIR=/R"			>> ${CHROOTDIR}/mk
	echo "export RELEASEDIR"		>> ${CHROOTDIR}/mk
d121 1
d126 1
a126 1
	cd ${CHROOTDIR}/usr ; cvs update -P -d -q -r ${RELEASETAG} src
@


1.192.2.14
log
@Hmmm.  Mark's manipulation of the krb dist made no sense! :(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.13 1995/06/09 06:52:44 jkh Exp $
d286 2
a343 1
	rm -rf ${.CURDIR}/sysinstall/help/ja_JP.JIS
@


1.192.2.15
log
@Move krb stuff to DES distribution, but this time in
a different way from before.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.14 1995/06/09 14:50:24 jkh Exp $
d289 1
a289 1
# Make source dists, and finish off DES too
a305 2
	mv ${RD}/dists/krb/* ${RD}/dists/des
	rmdir ${RD}/dists/krb
@


1.192.2.16
log
@Move the info files to the right place for secure dists.
Don't die a terrible death if we can't find an info file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.192.2.15 1995/06/10 09:00:35 jkh Exp $
a382 4
	mv ${RD}/rootfd/stand/info/krb/* ${RD}/rootfd/stand/info/des
	rmdir ${RD}/rootfd/stand/info/krb
	mv ${RD}/rootfd/stand/info/src/ssecure.inf ${RD}/rootfd/stand/info/des
	mv ${RD}/rootfd/stand/info/src/sebones.inf ${RD}/rootfd/stand/info/des
@


1.191
log
@Nuke kernel out of root.flp; it's not necessary since there's already one
in the bindist.  This brings root.flp down to 392K!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.190 1995/05/29 02:20:32 phk Exp $
d51 1
a51 1
DISTRIBUTIONS=		bin ${EXTRA_DISTS}                      
d279 1
a279 1
	done                                                 
d302 1
a302 1
# Complete the bootfd 
d434 1
a434 1
.endif               
d437 1
a437 1
.endif               
d440 1
a440 1
.endif               
d481 1
a481 1
.endif               
@


1.190
log
@Actually put something in help.tgz :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.189 1995/05/29 02:12:50 phk Exp $
a368 1
	ln -f ${RD}/kernels/GENERIC ${RD}/rootfd/kernel
@


1.189
log
@Get help files form /stand/help.tgz
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.188 1995/05/29 01:28:21 phk Exp $
d338 1
a338 1
	(cd ${RD}/mfsfd/stand/help && tar cf - | gzip -9 > ../help.tgz)
@


1.188
log
@Increase size of MFS filesystem.  (You need to remake release.3)
Remove unused devices (*[sw]d*[bdefgh]).
Dont gzip boot_crunch. (This SAVES space on a 4 MB machine, since the
file can be segment can be paged from now.
This (with the kzip patch) makes a 4M machine boot and run again.
Margin in my build is 22 blocks and 9 inodes.
I will look at tgz'ing the help files, we need that.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.187 1995/05/29 00:49:52 jkh Exp $
d338 2
@


1.187
log
@Shrink the boot floppy by removing all extraneous stuff.  Also increase
number of inodes.

Fix various bugs reported by Poul.  Implement VTY switching.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.186 1995/05/28 07:04:36 phk Exp $
d47 2
a48 2
BOOTMFSSIZE=		700
MFSINODE=		40000
d324 1
a324 1
		DIR=${RD}/mfsfd/stand ZIP=true
d330 1
@


1.186
log
@Reduce the size of the MFS filesystem by 250 Kbyte.
Use && instead of ; a lot of places.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.185 1995/05/27 21:07:13 jkh Exp $
d40 1
a40 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 4300 -m 0 -t 0 -u 0 \
@


1.185
log
@Move /etc/protocols, /etc/services and /etc/sysconfig onto boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.184 1995/05/26 23:08:33 jkh Exp $
d47 1
a47 1
BOOTMFSSIZE=		950
d318 1
a318 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d323 1
a323 1
	@@cd ${.CURDIR} ; $(MAKE) installCRUNCH CRUNCH=boot \
d325 1
a325 1
	( cd ${RD}/trees/bin/dev ; \
d330 1
a330 1
	cd ${RD}/trees/bin ; ls ${BOOT1} | cpio -dump ${RD}/mfsfd/stand
d334 2
a335 2
	cd ${RD}/trees/bin/usr/share/FAQ/Text ; \
		install -c RELNOTES.FreeBSD ${RD}/mfsfd/stand/help/en_US.ISO8859-1/RELNOTES; \
d338 7
a344 7
	a=`expr ${BOOTMFSSIZE} \* 2` ;					\
	echo ;								\
	echo "mfs${BOOTMFSSIZE}:ty=mfs:se#512:nt#1:rm#300:\\" ;		\
	echo "	:ns#$$a:nc#1:\\" ;					\
	echo "	:pa#$$a:oa#0:ba#4096:fa#512:\\" ;			\
	echo "	:pc#$$a:oc#0:bc#4096:fc#512:" ;				\
	echo ; 								\
d356 1
a356 1
	cd ${.CURDIR} ; ${MAKE} doFLOPPY FLOPPY=boot
d361 1
a361 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d367 1
a367 1
	@@cd ${.CURDIR} ; $(MAKE) installCRUNCH CRUNCH=root \
d370 1
a370 1
	cd ${RD}/rootfd ; ( rm -f OK ; find . -print ; touch OK ; echo OK ) | cpio -H tar -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/root.tmp
d376 1
a376 1
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
d382 1
a382 1
	@@cd ${.CURDIR} ; $(MAKE) installCRUNCH CRUNCH=fixit \
d397 1
a397 1
	cd ${.CURDIR} ; ${MAKE} doFLOPPY FLOPPY=fixit
@


1.184
log
@Remove fixit floppy (release.10) from targets until Poul fixes it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.183 1995/05/26 21:55:25 jkh Exp $
d25 1
a25 1
ROOT1=	etc/services etc/protocols etc/sysconfig
d330 1
a368 1
	cd ${RD}/trees/bin ; ls ${ROOT1} | cpio -dump ${RD}/rootfd/stand
@


1.183
log
@Crunch Poul's changes down to fit on a floppy again.  gah.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.182 1995/05/26 21:47:13 jkh Exp $
d453 1
a453 1
		release.7 release.8 release.9 release.10
d458 1
a458 1
	rm -f release.4 release.8 release.9 release.10
@


1.182
log
@Bring in Poul's patch to make the boot floppy more stand-alone in nature.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.181 1995/05/26 10:18:12 jkh Exp $
d324 1
a324 1
		DIR=${RD}/mfsfd/stand ZIP=false
@


1.181
log
@Fix a bug in the /etc populating copy.

Change root.flp from a new format CPIO archive to a tar archive.
Unless we're willing to change the main tarballs from tar format to
"newc" (or, even better, "crc") cpio format, we need to use one common
one for all and that's tar for now.  Install will now grab "root floppy"
from an ftp site if that's what you've got set.

Fix even more gripes from Poul's list.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.180 1995/05/25 18:48:06 jkh Exp $
d12 1
a12 1

a31 6
# which floppy to use, if VNDEVICE isn't defined.
FDDEVICE=		fd0

# define FDFORMAT to format physical floppies
FDFORMAT=		yes

d36 1
a36 2
FDCYLS=			80
FDCYLSIZE=		15k
d38 1
d45 4
d183 4
a186 2
		sed 's/GENERIC/BOOTCDROM/g' GENERIC > BOOTCDROM
	for i in GENERIC BOOTCDROM ; do \
d303 15
a317 1
release.8:
d319 3
a321 3
	rm -rf ${RD}/bootfd
	mkdir ${RD}/bootfd
	cd ${RD}/bootfd && \
a322 1
	ln -f ${RD}/kernels/GENERIC.kz ${RD}/bootfd/kernel
d324 1
a324 1
		DIR=${RD}/bootfd/stand ZIP=true
d329 1
a329 1
	cpio -dump ${RD}/bootfd/dev )
d331 2
a332 2
		tar xvf - -C ${RD}/bootfd/stand
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/bootfd/stand/help/en_US.ISO8859-1/COPYRIGHT
d334 21
a354 3
		install -c RELNOTES.FreeBSD ${RD}/bootfd/stand/help/en_US.ISO8859-1/RELNOTES; \
		install -c README ${RD}/bootfd/stand/help/en_US.ISO8859-1/README
	touch ${RD}/bootfd/this_is_boot_flp
d416 3
a418 5
	cd ${RD} && find floppies dists bootfd -print | cpio -dumpl ${CD}
	cd ${CD} && mv bootfd bootcd
	rm -f ${CD}/bootcd/kernel
	ln -f ${RD}/kernels/BOOTCDROM ${CD}/bootcd/kernel
	ln -f ${RD}/trees/bin/usr/mdec/fbsdboot.exe ${CD}/bootcd
d473 3
d485 17
a501 2
	rm -f ${RD}/floppies/${FLOPPY}.tmp ${RD}/floppies/${FLOPPY}.flp
.if defined(VNDEVICE)
d507 3
a509 3
	dd of=${RD}/floppies/${FLOPPY}.tmp if=/dev/zero \
		bs=${FDCYLSIZE} count=${FDCYLS} 2>/dev/null
	vnconfig -c /dev/r${VNDEVICE} ${RD}/floppies/${FLOPPY}.tmp
d513 3
a515 2
		/dev/r${VNDEVICE} ${FDLABEL}
	newfs ${NEWFSARGS} /dev/r${VNDEVICE}
d517 2
a518 1
	cd ${RD}/${FLOPPY}fd ; find . -print | cpio -dump ${MNT}
a520 19
.else
	-umount /dev/${FDDEVICE}
	-umount ${MNT}
.if !defined(FDFORMAT)
	echo y | fdformat /dev/r${FDDEVICE}
.endif
	disklabel -w -r -B \
		-b ${RD}/trees/bin/usr/mdec/fdboot \
		-s ${RD}/trees/bin/usr/mdec/bootfd \
		/dev/r${FDDEVICE} ${FDLABEL}
	newfs ${NEWFSARGS} /dev/r${FDDEVICE}
	mount /dev/${FDDEVICE} ${MNT}
	cd ${RD}/${FLOPPY}fd ; find . -print | cpio -dump ${MNT}
	umount ${MNT}
	fsck -n /dev/r${FDDEVICE} < /dev/null
	dd if=/dev/r${FDDEVICE} of=${RD}/floppies/${FLOPPY}.tmp \
		bs=${FDCYLSIZE} count=${FDCYLS}
.endif
	mv ${RD}/floppies/${FLOPPY}.tmp ${RD}/floppies/${FLOPPY}.flp
@


1.180
log
@Rename boot.flp to root.flp
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.179 1995/05/25 06:14:10 phk Exp $
d339 1
a339 1
	cd ${RD}/rootfd ; ( rm -f OK ; find . -print ; touch OK ; echo OK ) | cpio -H newc -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/root.tmp
@


1.179
log
@Fix boot.flp and floppies targets.
Make cpio floppy to temp file first.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.178 1995/05/25 01:51:44 jkh Exp $
d25 1
a25 1
CPIO1=	etc/services etc/protocols etc/sysconfig
d60 1
a60 1
WHICH_CRUNCH=	boot cpio fixit
d143 1
a143 1
	rm -rf cpio_crunch boot_crunch release.[0-9] release.1[0]
d327 1
a327 1
# Complete the cpiofd directory
d330 3
a332 3
	rm -rf ${RD}/cpiofd
	mkdir ${RD}/cpiofd
	cd ${RD}/cpiofd && \
d334 7
a340 7
	ln -f ${RD}/kernels/GENERIC ${RD}/cpiofd/kernel
	@@cd ${.CURDIR} ; $(MAKE) installCRUNCH CRUNCH=cpio \
		DIR=${RD}/cpiofd/stand ZIP=false
	cd ${RD}/trees/bin ; ls ${CPIO1} | cpio -dump ${RD}/cpiofd/stand
	tar --exclude CVS -cf - -C ${RD} info | tar xvf - -C ${RD}/cpiofd/stand
	cd ${RD}/cpiofd ; ( rm -f OK ; find . -print ; touch OK ; echo OK ) | cpio -H newc -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/cpio.tmp
	mv ${RD}/floppies/cpio.tmp ${RD}/floppies/cpio.flp
d436 1
a436 1
cpio.flp:
d438 1
a438 1
	cd ${.CURDIR} && ${MAKE} release.4 release.9 WHICH_CRUNCH=cpio
@


1.178
log
@Eliminate much redundant cruft from cpio floppy.
Make more vty devices for us to use.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.177 1995/05/25 01:22:08 jkh Exp $
d339 2
a340 1
	cd ${RD}/cpiofd ; ( rm -f OK ; find . -print ; touch OK ; echo OK ) | cpio -H newc -oa | gzip -9 -c | dd conv=osync > ${RD}/floppies/cpio.flp
d429 1
a429 1
	rm -f release.4 release.8 release.9
d434 1
a434 1
	cd ${.CURDIR} && ${MAKE} release.4 release.6 WHICH_CRUNCH=boot
@


1.177
log
@Put back some changes that were smashed in yesterday's release tree
shoot-down.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.176 1995/05/24 11:17:53 gpalmer Exp $
d313 1
a313 1
		ls console tty ttyv1 null zero \
d354 1
a354 1
		ls console tty ttyv1 null zero \
@


1.176
log
@Move testftp: to release/sysinstall/Makefile where it should have
been in the first place.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.175 1995/05/24 08:59:01 jkh Exp $
d81 1
a81 1
	echo "make obj"				>> ${CHROOTDIR}/mk
d84 1
a84 1
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.175
log
@Adjust targets to populate info files into distributions.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.174 1995/05/24 01:26:23 jkh Exp $
a101 6

testftp:       ftp.c
	cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c

testftp:	ftp.c
	cc -o testftp -I../libdisk -DSTANDALONE_FTP ftp.c
@


1.174
log
@Add rule to generate the info files.
Submitted by:	gpalmer
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.173 1995/05/23 21:47:26 jkh Exp $
d103 6
d286 1
a286 1
	touch release.8
d306 1
a306 1
	touch release.9
d331 1
a331 1
	touch release.6
d344 1
a344 1
	tar --exclude CVS -cf - -C ${.CURDIR}/sysinstall info | tar xvf - -C ${RD}/cpiofd/stand
d346 1
a346 1
	touch release.7
d423 4
a426 3
		mkdir ${TD} && \
		echo ${SD}/${TD}/$$tn.* | wc | awk ' { print "Pieces = ", $$1 } ' > ${TD}/$$tn.inf
	}
d438 1
a438 1
	rm -f release.4 release.6
d440 4
@


1.173
log
@Cleanup pass.  Remove some grit left over from ripping out
the scripts.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.172 1995/05/23 21:33:53 jkh Exp $
d265 37
d303 1
a303 1
release.6:
d328 1
a328 1
release.7:
d333 1
a333 1
		mkdir stand
a341 36
# Make binary dists, notice that DES dist isn't finished yet.
release.8:
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
	rm -rf ${RD}/dists
	mkdir -p ${RD}/dists
	@@for i in ${DISTRIBUTIONS} ; \
	do \
		if [ -d ${RD}/trees/$${i} ] ; then \
			cd ${.CURDIR} ; \
				$(MAKE) doTARBALL SD=${RD}/trees/$${i} \
					TN=$$i TD=$$i ARG="." ; \
			echo "$${i} distribution is finished."; \
		fi ; \
	done                                                 
	touch release.8


# Make source dists, and finish of DES too
release.9:
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
	@@cd ${.CURDIR} ; $(MAKE) doTARBALL SD=/usr/src \
		TD=src TN=sbase ARG="[A-Z]*"
	@@for i in `cd /usr/src ; echo [a-z]*` ; do \
		if [ -d /usr/src/$$i -a "$$i" != "CVS" ] ; then \
			cd ${.CURDIR} ; \
			$(MAKE) doTARBALL SD=/usr/src \
				TN=`echo s$$i | tr -d '.' | sed 's/usr/u/'` \
				TD=src ARG="$$i" ; \
		fi ; \
	done
	( cd ${RD}/dists/src && \
	if [ -f sdes.aa ] ; then mv sdes.* ../des ; fi && \
	if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi )
	@@echo "src distribution is finished."
	touch release.9

d415 5
a419 1
		${ZIPNSPLIT} ${RD}/dists/${TD}/$$tn. )
d427 1
a427 1
	rm -f release.4 release.6 release.7
@


1.172
log
@Remove the last vestiges of the old installation method.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.171 1995/05/23 07:20:35 gpalmer Exp $
a315 1
			( cd ${RD}/dists/$${i}; \
d337 1
a337 1
	if [ -f sebones.aa ] ; then mv sebones.* ../des ; fi && \
@


1.171
log
@The stand/scripts directory is obsolete. Don't create it in the cpio
floppy area.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.170 1995/05/22 17:39:22 jkh Exp $
a316 3
			sh -e ${.CURDIR}/scripts/mkchecksums.sh ) ; \
			cp ${.CURDIR}/scripts/extract_$${i}.sh \
				${RD}/dists/$${i}/extract.sh;\
a338 5
	sh -e ${.CURDIR}/scripts/mkchecksums.sh )
	cp ${.CURDIR}/scripts/extract_src.sh ${RD}/dists/src/extract.sh
	if [ -d ${RD}/dists/des ] ; then \
	( cd ${RD}/dists/des && sh -e ${.CURDIR}/scripts/mkchecksums.sh );\
	fi
@


1.170
log
@wt0 -> rwt0
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.169 1995/05/22 14:08:45 jkh Exp $
d296 1
a296 1
		mkdir stand stand/scripts
@


1.169
log
@Clean up the cpio floppy target, remove the fixit floppy from my
"floppies" target - don't need to build that every time for testing.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.168 1995/05/22 06:25:26 jkh Exp $
d278 1
a278 1
		cd0a mcd0a scd0a matcd0a rst0 ft0 wt0 | \
@


1.168
log
@Remove rst1 - it's not made by default.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.167 1995/05/21 21:08:45 jkh Exp $
d302 1
a302 5
	( JUST_TELL_ME=please ; \
	( cd ${RD}/cpiofd ; \
		( rm -f OK ; find . -print ; touch OK ; echo OK ) | \
		cpio -H newc -oa | gzip -9 -c | dd conv=osync ) \
		> ${RD}/floppies/cpio.flp
d431 1
a431 1
	rm -f release.4 release.6 release.7 release.10
@


1.167
log
@Add tape devices to boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.166 1995/05/21 18:39:42 jkh Exp $
d278 1
a278 1
		cd0a mcd0a scd0a matcd0a rst0 rst1 ft0 wt0 | \
@


1.166
log
@Nuke out all the NEWVERS stuff; we don't need or use it anymore.
Add Gary's info files to the cpio floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.165 1995/05/21 18:29:49 jkh Exp $
d278 1
a278 1
		cd0a mcd0a scd0a matcd0a | \
@


1.165
log
@1. Remove the scripts from the boot floppy - we don't need them anymore
and it saves us a fair bit of space.

2. Remove adduser and tzsetup as well - they're not needed.

3. Move ft from the boot floppy to the cpio floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.164 1995/05/21 13:36:13 jkh Exp $
d301 2
a302 8
	( JUST_TELL_ME=please ; . ${.CURDIR}/../sys/conf/newvers.sh ; \
	sed "/DISTNAME=/s/FOOBAR/$$DISTNAME/" \
		< ${RD}/cpiofd/stand/scripts/miscfuncs.sh \
		> ${RD}/cpiofd/stand/scripts/tmp ;\
	)
	mv ${RD}/cpiofd/stand/scripts/tmp \
		${RD}/cpiofd/stand/scripts/miscfuncs.sh
	chmod 755 ${RD}/cpiofd/stand/scripts/*
@


1.164
log
@Correct a stupid typo I introduced in adding CD devices.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.163 1995/05/21 10:33:20 jkh Exp $
a25 2
CPIO2=  scripts/miscfuncs.sh scripts/instdist.sh scripts/netinst.sh \
	scripts/adduser.sh scripts/bininst.sh scripts/setup.sh
a300 1
	cd ${.CURDIR} ; ls ${CPIO2} | cpio -dumpv ${RD}/cpiofd/stand
a308 1
	cp ${RD}/trees/bin/usr/sbin/tzsetup ${RD}/cpiofd/stand
@


1.163
log
@Add device entries for CDROM devices to boot floppy.
Increase number of inodes slightly.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.162 1995/05/21 03:16:19 phk Exp $
d279 2
a280 2
		*[sw]d* cuaa[01] fd[01] rfd[01] | \
		cd[01]a mcd[01]a scd[01]a matcd[01]a \
@


1.162
log
@Make a fixit.flp target too.
Improve the search code for the -u # argument to newfs.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.161 1995/05/20 23:33:07 phk Exp $
d48 1
a48 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 4500 -m 0 -t 0 -u 0 \
d280 1
@


1.161
log
@Now cpio works for me.  (it was Mostly confusion about when the chroot
happened)
Make vsystem crunch aware in an intelligent fashion.
make the boot.flp target more specific (and faster).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.160 1995/05/20 13:52:53 jkh Exp $
d450 4
@


1.160
log
@Make Gary happy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.159 1995/05/20 13:49:47 jkh Exp $
d61 4
d207 1
a207 1
	for j in boot cpio fixit; do \
d212 2
a213 1
		${MAKE} -f $${j}_crunch.mk objs exe NOCRYPT=yes ) && \
d446 4
@


1.159
log
@Reviewed by:
Submitted by:
Obtained from:
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.158 1995/05/18 13:32:22 jkh Exp $
d274 1
a274 1
		*[sw]d* cuaa0 cuaa1 fd[01] rfd[01] | \
@


1.158
log
@Ahem.  It's late.  Make my floppies target actually work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.157 1995/05/18 13:24:48 jkh Exp $
d274 1
a274 1
		*[sw]d* fd[01] rfd[01] | \
d278 1
a278 1
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/bootfd/stand/help/COPYRIGHT
d280 2
a281 2
		install -c RELNOTES.FreeBSD ${RD}/bootfd/stand/help/RELNOTES; \
		install -c README ${RD}/bootfd/stand/help/README
@


1.157
log
@Make a little convenient "floppies" target for myself.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.156 1995/05/13 19:51:57 rgrimes Exp $
d440 1
a440 1
	make doRELEASE
@


1.156
log
@Very minor rework to eliminate useage of - operator by checking for
existance of ${CHROOTDIR}.

Remove -k option from make install for building chroot tree, makes it
error out early if you forgot to populate the pre-chroot obj tree.

Reviewed by:	phk
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.155 1995/05/11 07:18:11 jkh Exp $
d437 4
@


1.155
log
@Drop the inode count down a bit - we ran out of inodes with the help files.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.154 1995/05/11 07:11:24 jkh Exp $
d65 1
a65 1
	-mkdir ${CHROOTDIR}
d68 3
d73 1
a73 1
	cd ${.CURDIR}/.. ; ${MAKE} -k install DESTDIR=${CHROOTDIR}
@


1.154
log
@Argh!  Get the args to tar right.  It's late.  I'm sleepy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.153 1995/05/11 07:03:33 jkh Exp $
d48 1
a48 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 5000 -m 0 -t 0 -u 0 \
@


1.153
log
@1. Fix a cd which somehow got capitalized.
2. Don't put CVS files on the floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.152 1995/05/11 06:40:40 jkh Exp $
d273 2
a274 1
	tar cf - -C ${.CURDIR}/sysinstall --exclude CVS help | tar xvf - -C ${RD}/bootfd/stand
@


1.152
log
@Dump the help files onto the new floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.151 1995/05/11 06:32:10 jkh Exp $
d273 1
a273 1
	tar cf - -C ${.CURDIR}/sysinstall help | tar xvf - -C ${RD}/bootfd/stand
d279 1
a279 1
	CD ${.CURDIR} ; ${MAKE} doFLOPPY FLOPPY=boot
@


1.151
log
@Put a shell on the boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.150 1995/05/10 17:54:09 jkh Exp $
d265 1
a265 1
		mkdir dev mnt stand
d273 2
a274 1
	install -c ${.CURDIR}/../COPYRIGHT ${RD}/bootfd
d276 2
a277 4
		install -c diskspace.FAQ ${RD}/bootfd/DISKSPACE.FAQ ;\
		install -c RELNOTES.FreeBSD ${RD}/bootfd ;\
		install -c TROUBLESHOOTING ${RD}/bootfd ;\
		install -c README ${RD}/bootfd/README
d279 1
a279 1
	cd ${.CURDIR} ; ${MAKE} doFLOPPY FLOPPY=boot
@


1.150
log
@Reviewed by:
Submitted by:
Obtained from:
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.149 1995/05/10 17:20:20 jkh Exp $
d22 1
a22 1
EXTRA_DISTS=	DES ${EXPORT_DISTS}
d345 2
a346 2
	if [ -f sDES.aa ] ; then mv sDES.* ../DES ; fi && \
	if [ -f sebones.aa ] ; then mv sebones.* ../DES ; fi && \
d349 2
a350 2
	if [ -d ${RD}/dists/DES ] ; then \
	( cd ${RD}/dists/DES && sh -e ${.CURDIR}/scripts/mkchecksums.sh );\
@


1.149
log
@Remove ncftp from cpio - we don't need it any more.
Adjust boot floppy to (hopefully) include libdisk in the crunch.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.148 1995/05/09 02:24:39 jkh Exp $
d76 2
a77 1
	echo "make obj all"			>> ${CHROOTDIR}/mk
d79 2
a80 1
	echo "make obj all"			>> ${CHROOTDIR}/mk
d113 2
a114 1
	echo "make obj all"			>> ${CHROOTDIR}/mk
d116 2
a117 1
	echo "make obj all"			>> ${CHROOTDIR}/mk
@


1.148
log
@Use absolute path for release dir.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.147 1995/05/09 00:30:00 jkh Exp $
d75 4
d110 4
d118 1
d123 1
@


1.147
log
@Make a less expensive re-release target.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.146 1995/05/09 00:18:32 jkh Exp $
d75 1
a75 1
	echo "cd ../../release"			>> ${CHROOTDIR}/mk
d106 1
a106 1
	echo "cd ../../release"			>> ${CHROOTDIR}/mk
@


1.146
log
@Don't go build sbin/sysinstall anymore; it's obsolete.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.145 1995/05/01 12:01:39 jkh Exp $
d14 1
a14 1
BUILDNAME=SOME_RANDOM_BUILD
d62 2
a63 2
.if !defined(CHROOTDIR)
	@@echo "To make a release you must set CHROOTDIR" && false
d83 31
@


1.145
log
@Rename secure to DES.  This isn't a 100% accurate renaming since some
of the eBones stuff is in there too, but it's better than `secure', which
implies that the user will be insecure without it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.144 1995/04/30 09:02:08 phk Exp $
a74 2
	echo "cd sbin/sysinstall"		>> ${CHROOTDIR}/mk
	echo "make obj"				>> ${CHROOTDIR}/mk
@


1.144
log
@Missing -r flag on rm
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.143 1995/04/24 04:06:30 phk Exp $
d22 1
a22 1
EXTRA_DISTS=	secure ${EXPORT_DISTS}
d267 1
a267 1
# Make binary dists, notice that secure dist isn't finished yet.
d288 1
a288 1
# Make source dists, and finish of secure too
d302 2
a303 2
	if [ -f ssecure.aa ] ; then mv ssecure.* ../secure ; fi && \
	if [ -f sebones.aa ] ; then mv sebones.* ../secure ; fi && \
d306 2
a307 2
	if [ -d ${RD}/dists/secure ] ; then \
	( cd ${RD}/dists/secure && sh -e ${.CURDIR}/scripts/mkchecksums.sh );\
@


1.143
log
@install "compat20" (libgcc.so.261.0) into the bindist.
cc/ld does the right thing.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.142 1995/04/23 23:06:36 phk Exp $
d133 1
a133 1
	rm -f ${RD}/kernels
@


1.142
log
@Add the stuff to munge the name of the release/snap/whatever we build.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.141 1995/04/20 06:48:30 phk Exp $
d127 2
@


1.141
log
@A major cleanup.  Move more over to a "pull" model than a "push" model,
this will eventually allow us to add meaningfull dependencies.

Add mount_{msdos,nfs,cd9660} and chroot to the fixit.flp.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.140 1995/04/19 18:00:04 phk Exp $
d13 6
d86 3
@


1.140
log
@Put a kzip'ed GENERIC on the boot.flp and fixit.flp instead of BOOTFLP,
now that we have the space.
If this works out to our liking, we will kill BOOTFLP.
Now, if only we could extract the kernel, incl symbols from a kzip'ed kernel...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.139 1995/04/19 17:42:32 phk Exp $
d17 1
a27 1

d30 1
d36 2
a81 2
	#temporary hack to disable slices
	cp /tmp/sd.c ${CHROOTDIR}/usr/src/sys/scsi
a94 13
	mkdir ${RD}/bootfd
	mkdir ${RD}/bootfd/dev
	mkdir ${RD}/bootfd/mnt
	mkdir ${RD}/bootfd/stand
	mkdir ${RD}/cpiofd
	mkdir ${RD}/cpiofd/stand
	mkdir ${RD}/cpiofd/stand/scripts
	mkdir ${RD}/fixitfd
	mkdir ${RD}/fixitfd/stand
	mkdir ${RD}/fixitfd/bin
	mkdir ${RD}/fixitfd/sbin
	mkdir ${RD}/fixitfd/mnt
	mkdir ${RD}/fixitfd/etc
a95 1
	mkdir ${RD}/kernels
a96 1
	mkdir ${RD}/trees/bin
d98 1
a98 3
	mkdir ${RD}/dists/bin
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/trees/bin
	for i in ${EXTRA_DISTS} ; do \
d115 1
d122 2
a137 4
	ln -f ${RD}/kernels/GENERIC ${RD}/trees/bin/kernel.GENERIC
	ln -f ${RD}/kernels/GENERIC ${RD}/cpiofd/kernel
	ln -f ${RD}/kernels/GENERIC.kz ${RD}/bootfd/kernel
	ln -f ${RD}/kernels/GENERIC.kz ${RD}/fixitfd/kernel
d144 2
d147 6
a153 17
		mkdir $${j}_crunch ; \
		( cd $${j}_crunch ; \
		crunchgen ${.CURDIR}/$${j}_crunch.conf ; \
		${MAKE} -f $${j}_crunch.mk objs exe NOCRYPT=yes ) ; \
		if [ $$j = cpio ] ; then \
			cat < $${j}_crunch/$${j}_crunch \
				> ${RD}/$${j}fd/stand/$${j}_crunch ; \
		else \
			gzip -9 < $${j}_crunch/$${j}_crunch \
				> ${RD}/$${j}fd/stand/$${j}_crunch ; \
		fi ; \
		rm -rf $${j}_crunch ; \
		chmod 555 ${RD}/$${j}fd/stand/$${j}_crunch ; \
		for i in `crunchgen -l ${.CURDIR}/$${j}_crunch.conf` ; do \
			ln -f ${RD}/$${j}fd/stand/$${j}_crunch \
				${RD}/$${j}fd/stand/$$i ; \
		done ; \
d160 1
d208 7
d232 7
d304 9
a312 1
	( cd ${RD}/trees/bin/dev ; \
a398 1
	sync && sleep 5
d429 19
@


1.139
log
@Thanks to the dynamic duo of John & David, ("meanwhile in the VM-cave"), we
can use the vn-driver instead of physical floppies, thanks guys !
Add the fixit-floppy back now that kzip made it fit again.
Don't make the gzip'ed *.flp files anymore.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.138 1995/04/19 01:19:57 phk Exp $
d140 1
a140 1
	for i in GENERIC BOOTFLP BOOTCDROM ; do \
d150 1
a150 1
	cd ${RD}/kernels && kzip BOOTFLP
d153 2
a154 2
	ln -f ${RD}/kernels/BOOTFLP.kz ${RD}/bootfd/kernel
	ln -f ${RD}/kernels/BOOTFLP.kz ${RD}/fixitfd/kernel
@


1.138
log
@kzip the kernels on the boot.flp and fixit.flp, and buy us more space...
*** This definitively kills installs on machines with less than 4Mb ***
*** the kzip stuff loads a the 3Mb line.  This is Just Too Bad (TM) ***
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.137 1995/04/13 20:21:06 jkh Exp $
d25 1
a25 2
# vn driver can still do odd bogosities.  don't use it.
# VNDEVICE=		vn0
a26 2
# work dir for floppies
MNT=			/mnt
d28 2
d33 2
a34 1
FDDEVICE=		fd0
a264 1
	gzip -1 -c < ${RD}/floppies/cpio.flp > ${RD}/floppies/cpio.flp.gz
d380 1
a380 1
		release.7 release.8 release.9
a431 2
	gzip -9 -c < ${RD}/floppies/${FLOPPY}.flp \
		> ${RD}/floppies/${FLOPPY}.flp.gz
@


1.137
log
@Remove fixit floppy from things to build until Poul makes it work again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.136 1995/04/13 09:05:25 phk Exp $
d150 1
d153 2
a154 4
	cp ${RD}/kernels/BOOTFLP ${RD}/bootfd/kernel
	strip ${RD}/bootfd/kernel
	cp ${RD}/kernels/BOOTFLP ${RD}/fixitfd/kernel
	strip ${RD}/fixitfd/kernel
@


1.136
log
@Reduce inode count on floppies a bit again
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.135 1995/04/13 02:11:31 phk Exp $
d79 2
d382 1
a382 1
		release.7 release.8 release.9 release.10
@


1.135
log
@Even more inodes on the floppies...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.134 1995/04/12 21:13:08 phk Exp $
d39 1
a39 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 2000 -m 0 -t 0 -u 0 \
@


1.134
log
@added a missing '; \'
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.133 1995/04/12 08:00:20 phk Exp $
d39 1
a39 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 7000 -m 0 -t 0 -u 0 \
@


1.133
log
@Add bad144 to fixit floppy.
Remove kernel compile directories.
Put all *[sw]d* devices on floppies
Make more inodes on floppies as function of the above.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.132 1995/04/10 08:01:27 phk Exp $
d145 1
a145 1
		rm -rf ${.CURDIR}/../sys/compile/$$i
@


1.132
log
@Sanitize the making of kernels a bit, and make the BOOTCDROM kernel too.
If we can get away with it, it will always just be the GENERIC kernel
with a different name.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.131 1995/04/09 03:47:55 jkh Exp $
d39 1
a39 1
NEWFSARGS=		-c 80 -b 4096 -f 512 -i 9000 -m 0 -t 0 -u 0 \
d145 1
d234 1
a234 2
		sd[0123][a-h] wd[0123][a-h] fd[01] \
		rsd[0123][a-h] rwd[0123][a-h] rfd[01] | \
d317 1
a317 2
		sd[0123][a-h] wd[0123][a-h] fd[01] \
		rsd[0123][a-h] rwd[0123][a-h] rfd[01] | \
d337 5
d381 1
@


1.131
log
@Add etc/sysconfig to list of files stuck on the cpio floppy.  I thought
we did this already?!?
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.130 1995/04/08 21:29:56 phk Exp $
d106 1
d137 16
a152 14
		config GENERIC && \
		config BOOTFLP
	cd ${.CURDIR}/../sys/compile/GENERIC && \
		make depend && \
		make kernel && \
		install -c kernel ${RD}/trees/bin/kernel.GENERIC && \
		cd .. && rm -rf GENERIC
	ln -f ${RD}/trees/bin/kernel.GENERIC ${RD}/cpiofd/kernel
	cd ${.CURDIR}/../sys/compile/BOOTFLP && \
		make depend && \
		make kernel && \
		install -s -c kernel ${RD}/bootfd/kernel && \
		cd .. && rm -rf BOOTFLP
	ln -f ${RD}/bootfd/kernel ${RD}/fixitfd/kernel
d155 1
a155 1
# Make and install the two crunched binaries which live on the floppies.
a246 1
# XXX a lot of stuff is missing here...
d267 1
a267 1
# Make binary dists, notice that secure dist isn't done yet.
d288 1
a288 1
# Make source dists
d344 3
d350 1
a350 1
			( cd ${RD}/trees/$${i}; \
@


1.130
log
@Don't choke if secure bits are not available.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.129 1995/04/08 09:45:31 phk Exp $
d18 1
a18 1
CPIO1=	etc/services etc/protocols
@


1.129
log
@Fix the bug which removes all empty dirs from distribution.  Sorry Jordan...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.128 1995/04/07 01:20:19 phk Exp $
d304 3
a306 1
	( cd ${RD}/dists/secure && sh -e ${.CURDIR}/scripts/mkchecksums.sh ) 
@


1.128
log
@Various changes:
tip removed from cpio.flp (!)  crunch chokes on it after the latest changes.
source for secure & eBones moved into securedist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.127 1995/03/28 19:28:32 phk Exp $
d221 2
a222 3
	-cd ${RD}/trees ; \
		find bin ${EXPORT_DISTS} -depth -type d -print | xargs rmdir

@


1.127
log
@Remove kernel compilation directories after use.
Move stray "info" files into info dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.126 1995/03/28 18:14:03 phk Exp $
d77 2
d212 1
a212 1
	mv ${RD}/trees/bin/usr/share/info/* \
d220 1
a220 1
	cd ${RD}/usr/share/misc && rm -f termcap.db vgrindefs.db
d266 1
a266 1
# Make binary dists
d291 2
a292 2
		TD=src TN=srcbase ARG="[A-Z]*"
	@@for i in `cd /usr/src ; echo *` ; do \
d296 1
a296 1
				TN=`echo src$$i | tr -d '.' | sed 's/usr/u/'` \
d300 7
a306 5
	( cd ${RD}/dists/src; \
	sh -e ${.CURDIR}/scripts/mkchecksums.sh ) ; \
	cp ${.CURDIR}/scripts/extract_src.sh \
		${RD}/dists/src/extract.sh;\
	echo "src distribution is finished."; \
d363 3
a365 2
	( cd ${SD} ; \
		echo rolling ${TD}/${TN} tarball ;\
d367 1
a367 1
		${ZIPNSPLIT} ${RD}/dists/${TD}/${TN}. )
@


1.126
log
@Save /etc/sysconfig from destruction.
Don't put termcap.db and vgrinddefs.db in the tarballs when they are so
easy to generate and take up so much space...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.125 1995/03/24 08:10:53 phk Exp $
d132 3
a134 3
	@@cd ${.CURDIR} ; $(MAKE) ckRELEASEDIR
	cd ${.CURDIR}/../sys/i386/conf ; \
		config GENERIC ; \
d136 5
a140 4
	cd ${.CURDIR}/../sys/compile/GENERIC ; \
		make depend ; \
		make kernel ; \
		install -c kernel ${RD}/trees/bin/kernel.GENERIC
d142 5
a146 4
	cd ${.CURDIR}/../sys/compile/BOOTFLP ; \
		make depend ; \
		make kernel ; \
		install -s -c kernel ${RD}/bootfd/kernel
d210 2
@


1.125
log
@Fix cdrom.1 target.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.124 1995/03/24 04:20:35 phk Exp $
d214 1
@


1.124
log
@Fix srcdist names.  Fix structure in ftp-area.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.123 1995/03/24 02:45:24 phk Exp $
d330 2
a331 2
	cd ${RD} && find floppies dists bootfd -print | cpio -dumpl ${FD}
	cd ${FD} && mv bootfd bootcd
@


1.123
log
@A whole slew of changes relating to the generation of src-dists.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.122 1995/03/24 02:05:32 phk Exp $
d288 3
a290 2
				$(MAKE) doTARBALL SD=/usr/src \
					TN=src$$i TD=src ARG="$$i" ; \
d322 2
a323 1
	cd ${RD} && find floppies dists -print | cpio -dumpl ${FD}
@


1.122
log
@Make src-tarballs in one level.  Don't tar things named 'obj'
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.121 1995/03/22 20:37:53 phk Exp $
d243 7
d269 1
a269 1
					TD=$$i ARG="." ; \
d283 4
a286 4
	@@cd ${.CURDIR} ; $(MAKE) doTARBALL SD=/usr/src TD=src/base ARG="[A-Z]*"
	@@for i in bin etc games gnu include lib libexec release sbin \
		secure lkm eBones share sys usrbin usrsbin ; do \
		if [ -d /usr/src/$$i ] ; then \
d289 1
a289 1
					TD=src ARG="$$i" ; \
d350 1
a350 1
	rm -rf ${RD}/dists/${TD}
d353 1
a353 1
		echo rolling ${TD} tarball ;\
d355 1
a355 1
		${ZIPNSPLIT} ${RD}/dists/${TD}/`basename ${TD}`. )
@


1.121
log
@Make /usr/include directories...

Submitted by:	rgrimes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.120 1995/03/21 20:24:00 jkh Exp $
d282 1
a282 1
					TD=src/$$i ARG="$$i" ; \
d347 1
a347 1
		tar --exclude CVS -cf - ${ARG} | \
@


1.120
log
@Update for new FAQ file locations.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.119 1995/03/17 04:54:13 phk Exp $
d116 2
@


1.119
log
@Dont install DES bits in cdrom area.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.118 1995/03/16 22:54:42 phk Exp $
d22 1
a22 1
FAQS=	README README-2.0 MIRROR.SITES
d226 1
a226 1
	cd ${RD}/trees/bin/usr/share/FAQ ; \
d230 1
a230 1
		install -c README-2.0 ${RD}/bootfd/README
d313 1
a313 1
	cd ${RD}/trees/bin/usr/share/FAQ && ln -f ${FAQS} ${FD}
@


1.118
log
@Remove imutable bits, they will not survive anyway.  First cut at cdrom
make rule.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.117 1995/03/16 05:58:28 phk Exp $
d14 5
a18 2
EXTRADISTRIBUTIONS=	secure games manpages proflibs dict info
CPIO1=			etc/services etc/protocols
d46 1
a46 1
DISTRIBUTIONS=		bin ${EXTRADISTRIBUTIONS}                      
d109 1
a109 1
	for i in ${EXTRADISTRIBUTIONS} ; do \
d213 1
a213 1
		find ${EXTRADISTRIBUTIONS} -depth -type d -print | xargs rmdir
@


1.117
log
@Well, it seems like the vn driver is pretty hosed still, so don't use it :(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.116 1995/03/16 05:40:02 phk Exp $
d122 1
d309 1
a309 1
	cd ${RD} && find floppies dists -print | cpio -dumplv ${FD}
d311 14
@


1.116
log
@Code to use vndevice instead of floppy to build floppy images.
@
text
@d1 1
a1 1
#	$Id$
d22 2
a23 1
VNDEVICE=		vn0
d27 1
d29 1
a29 1
#FDFORMAT=		yes
@


1.115
log
@I belive the floppies work as expected now.  (incl the fixit)
@
text
@d21 6
a26 1
# define FDFORMAT to format floppies
d28 1
d33 3
a35 1
MNT=			/mnt
a71 1
	#cp ${.CURDIR}/Makefile ${CHROOTDIR}/usr/src/release
d341 21
a361 1
.if !defined(VNDEVICE)
d371 3
a373 5
	newfs -c 80 -b 4096 -f 512 -i 4096 -m 0 -t 0 -u 0 \
		-o space -T ${FDLABEL} /dev/r${FDDEVICE}
	mount -o async /dev/${FDDEVICE} ${MNT}
	cd ${RD}/${FLOPPY}fd ; find . -print | cpio -dumpv ${MNT}
	sync
d375 1
a375 1
	fsck /dev/r${FDDEVICE}
d378 1
a381 1
.endif
@


1.114
log
@Added a fixit floppy to the rules.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.113 1995/02/28 20:32:29 phk Exp $
d19 4
d36 2
d48 1
a48 1
	cd ${.CURDIR}/.. ; ${MAKE} install DESTDIR=${CHROOTDIR}
d64 1
d84 1
d87 1
d90 1
d92 2
d96 1
a96 3
	mkdir ${RD}/tarballs
	mkdir ${RD}/tarballs/bin
	cd ${.CURDIR}/../etc && make distrib-dirs DESTDIR=${RD}/dists/bin
d98 1
a99 1
		mkdir ${RD}/tarballs/$$i ; \
d101 1
a101 1
		    -p ${RD}/dists/$$i > /dev/null ; \
d103 1
a103 1
		    -p ${RD}/dists/$$i/usr > /dev/null ; \
d105 1
a105 1
		    -p ${RD}/dists/$$i/var > /dev/null ; \
d112 1
a112 1
	cd ${.CURDIR}/.. ; make distribute DISTDIR=${RD}/dists
d124 2
a125 2
		install -c kernel ${RD}/dists/bin/kernel.GENERIC
	ln -f ${RD}/dists/bin/kernel.GENERIC ${RD}/cpiofd/kernel
d143 7
a149 2
		gzip -9 < $${j}_crunch/$${j}_crunch \
			> ${RD}/$${j}fd/stand/$${j}_crunch ; \
d162 4
a165 4
	if [ -d ${RD}/dists/bin/usr/share/man ] ; then \
		rm -rf ${RD}/dists/manpages/usr/share/man ;\
		mv ${RD}/dists/bin/usr/share/man \
			${RD}/dists/manpages/usr/share/man ;\
d167 4
a170 4
	if [ -d ${RD}/dists/bin/usr/games ] ; then \
		rm -rf ${RD}/dists/games/usr/games ;\
		mv ${RD}/dists/bin/usr/games \
			${RD}/dists/games/usr/games ;\
d172 4
a175 4
	if [ -d ${RD}/dists/bin/usr/share/games ] ; then \
		rm -rf ${RD}/dists/games/usr/share/games ;\
		mv ${RD}/dists/bin/usr/share/games \
			${RD}/dists/games/usr/share/games ;\
d177 4
a180 4
	if [ -d ${RD}/dists/bin/var/games ] ; then \
		rm -rf ${RD}/dists/games/var/games ;\
		mv ${RD}/dists/bin/var/games \
			${RD}/dists/games/var/games ;\
d182 4
a185 4
	if [ -d ${RD}/dists/bin/usr/share/dict ] ; then \
		rm -rf ${RD}/dists/dict/usr/share/dict ;\
		mv ${RD}/dists/bin/usr/share/dict \
			${RD}/dists/dict/usr/share/dict ;\
d188 3
a190 3
		if [ -f ${RD}/dists/bin/usr/share/misc/$$i ] ; then \
			mv ${RD}/dists/bin/usr/share/misc/$$i \
				${RD}/dists/dict/usr/share/misc ; \
d193 1
a193 1
	for i in ${RD}/dists/bin/usr/lib/*_p.a ; do \
d196 1
a196 1
				${RD}/dists/proflibs/usr/lib ; \
d199 1
a199 1
	-cd ${RD}/dists ; \
d207 1
a207 1
	( cd ${RD}/dists/bin/dev ; \
d213 1
a213 1
	cd ${RD}/dists/bin/usr/share/FAQ ; \
d226 4
a229 4
	cd ${RD}/dists/bin ; ls ${CPIO1} | cpio -dump ${RD}/cpiofd
	cd ${.CURDIR} ; ls ${CPIO2} | cpio -dumpv ${RD}/cpiofd
	chmod 755 ${RD}/cpiofd/scripts/*
	cp ${RD}/dists/bin/usr/sbin/tzsetup ${RD}/cpiofd
d237 1
a237 1
# Make binary tarballs
d240 2
a241 2
	rm -rf ${RD}/tarballs
	mkdir -p ${RD}/tarballs
d244 1
a244 1
		if [ -d ${RD}/dists/$${i} ] ; then \
d246 1
a246 1
				$(MAKE) doTARBALL SD=${RD}/dists/$${i} \
d248 1
a248 1
			( cd ${RD}/tarballs/$${i}; \
d251 1
a251 1
				${RD}/tarballs/$${i}/extract.sh;\
d258 1
a258 1
# Make source tarballs
d270 1
a270 1
	( cd ${RD}/tarballs/src; \
d273 1
a273 1
		${RD}/tarballs/src/extract.sh;\
d280 1
a280 1
	( cd ${RD}/dists/bin/dev ; \
d286 7
d296 5
d314 2
a315 2
	rm -rf ${RD}/tarballs/${TD}
	mkdir -p ${RD}/tarballs/${TD}
d319 1
a319 1
		${ZIPNSPLIT} ${RD}/tarballs/${TD}/`basename ${TD}`. )
d337 1
d339 1
d341 2
a342 2
		-b ${RD}/dists/bin/usr/mdec/fdboot \
		-s ${RD}/dists/bin/usr/mdec/bootfd \
@


1.113
log
@Move a -P
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.112 1995/02/28 04:38:21 phk Exp $
d62 1
a62 1
	rm -rf cpio_crunch boot_crunch release.[1-9]
d77 4
d115 1
a115 2
	ln  -f ${RD}/dists/bin/kernel.GENERIC \
		${RD}/cpiofd/kernel
d120 1
d127 1
a127 1
	for j in boot cpio ; do \
d204 1
a204 20
.if !defined(VNDEVICE)
	-umount /dev/${FDDEVICE}
	-umount ${MNT}
	echo y | fdformat /dev/r${FDDEVICE}
	disklabel -w -r -B \
		-b ${RD}/dists/bin/usr/mdec/fdboot \
		-s ${RD}/dists/bin/usr/mdec/bootfd \
		/dev/r${FDDEVICE} ${FDLABEL}
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -t 0 -u 0 \
		-o space -T ${FDLABEL} /dev/r${FDDEVICE}
	mount -o async /dev/${FDDEVICE} ${MNT}
	cd ${RD}/bootfd ; find . -print | cpio -dumpv ${MNT}
	sync
	umount ${MNT}
	fsck /dev/r${FDDEVICE}
	dd if=/dev/r${FDDEVICE} of=${RD}/floppies/boot.tmp \
		bs=${FDCYLSIZE} count=${FDCYLS}
	mv ${RD}/floppies/boot.tmp ${RD}/floppies/boot.flp
	gzip -9 -c < ${RD}/floppies/boot.flp > ${RD}/floppies/boot.flp.gz
.endif
d262 13
d285 1
a285 1
	@@echo "ARGundefined in doTARBALL" ; exit 1
d295 1
a295 1
		release.7 release.8 release.9
d302 26
@


1.112
log
@cvs export doesn't like a explicit '-P'
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.111 1995/02/28 01:15:52 phk Exp $
d54 1
a54 1
	cd ${CHROOTDIR}/usr ; cvs co src -P
@


1.111
log
@More bugfixes.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.110 1995/02/26 20:45:34 phk Exp $
d56 1
a56 1
	cd ${CHROOTDIR}/usr ; cvs export -P -r ${RELEASETAG} src
@


1.110
log
@Various things, bits and pieces to make this maybe work next time.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.109 1995/02/26 01:35:32 phk Exp $
d51 2
a52 1
	echo "make doRELEASE RELEASEDIR=/R"	>> ${CHROOTDIR}/mk
d54 1
a54 1
	cd ${CHROOTDIR}/usr ; cvs co src
d56 1
a56 1
	cd ${CHROOTDIR}/usr ; cvs export -r ${RELEASETAG} src
a256 1
	.include <bsd.prog.mk>
d275 1
a275 1
	#touch release.9
d305 1
@


1.109
log
@Various changes to make this work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.108 1995/02/25 22:08:43 phk Exp $
d40 2
a41 1
	cd ${.CURDIR}/../etc ; ${MAKE} distrib-dirst DESTDIR=${CHROOTDIR}
d47 4
a50 1
	echo "cd release"			>> ${CHROOTDIR}/mk
d78 1
d80 3
a82 1
	for i in ${DISTRIBUTIONS} ; do \
@


1.108
log
@New and better "make release" rules.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.107 1995/02/11 05:35:37 phk Exp $
d35 2
a36 2
	@@echo "To make a release you must set CHROOTDIR"
.else
d40 1
a41 1
	cd ${.CURDIR}/../etc ; ${MAKE} distribution DESTDIR=${CHROOTDIR}
a54 5
.endif

doRELEASE:  release.1 release.2 release.3 release.4 release.5 release.6 \
		release.7 release.8 release.9
	@@echo "Release done"
a58 5
ckRELEASEDIR:
.if !defined(RELEASEDIR)
	@@echo "To make a release RELEASEDIR must be defined" ; @@exit 1
.endif               

d270 2
d288 10
@


1.107
log
@/var/games -> games dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.106 1995/02/10 06:04:58 phk Exp $
d3 9
d13 5
a17 2
FLOPPY=		fd0
#VNDEV=		vn0
d19 31
a49 6

# Evil floppies are, of course, 1.44MB floppies.
.if !defined(EVIL_FLOPPY)
FDLABEL=	fd1200
DDBS=		15k
DDCOUNT=	80
d51 4
a54 3
FDLABEL=	fd1440
DDBS=		18k
DDCOUNT=	80
d57 3
a59 1
MNT=		/mnt
d61 2
a62 7
CPIO1= basename cat chmod cksum cp cu date dd df dmesg echo ed expr hostname 
CPIO1+= kill ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [ 
CPIO1+= -sh badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig 
CPIO1+= init mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
CPIO1+= reboot restore slattach swapon umount route
CPIO1+= rdump rrestore halt ft
CPIO1+= ftp rsh sed telnet rlogin grep
d64 4
a67 1
CPIO2=  etc/services etc/protocols
d69 27
a95 5
CPIO3=	scripts/miscfuncs.sh scripts/instdist.sh scripts/netinst.sh \
	scripts/adduser.sh scripts/bininst.sh scripts/setup.sh

CPIO4=	/usr/sbin/tzsetup
CPIO4B=	tzsetup
d97 42
a138 29
# Somewhat on the rough side...
CLEANFILES+=	*.o *.c *.cache *.mk *.lo ${CPIO1} ${CPIO2} ${CPIO4B}
CLEANFILES+=	*.flp *.gz 
CLEANFILES+=	boot_flp cpio_flp_1 kernel.* kernel *.core
CLEANFILES+=	${.CURDIR}/../sys/compile/BOOTFLP/kernel \
		${.CURDIR}/../sys/compile/GENERIC/kernel

MTREE_DIR=	${.CURDIR}/../etc/mtree

ZIPNSPLIT=	gzip --no-name -9 -c | split -b 240640 -

LATIN1LINKS = \
	da_DK de_AT de_CH de_DE en_AU en_CA en_GB en_US es_ES fi_FI \
	fr_BE fr_CA fr_CH fr_FR is_IS it_CH it_IT nl_BE nl_NL no_NO \
	pt_PT sv_SE

hierarchy:
	mtree -deU -f ${MTREE_DIR}/BSD.root.dist  -p ${DESTDIR}/
	mtree -deU -f ${MTREE_DIR}/BSD.var.dist   -p ${DESTDIR}/var
	mtree -deU -f ${MTREE_DIR}/BSD.usr.dist   -p ${DESTDIR}/usr
.if defined(MAKE_LOCAL)
	mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
.endif
	cd ${DESTDIR}/usr/share/locale; \
	for l in ${LATIN1LINKS} ; do \
		rm -f $$l.ISO8859-1; \
		ln -s lt_LN.ISO8859-1 $$l.ISO8859-1; \
		chown ${BINOWN}.${BINGRP} $$l.ISO8859-1; \
		chmod 755 $$l.ISO8859-1; \
d140 1
a140 2
	rm -f ${DESTDIR}/sys
	ln -s usr/src/sys ${DESTDIR}/sys
d142 12
a153 5
kernel:	${.CURDIR}/../sys/i386/conf/GENERIC
	@@if [ ! -f ${.CURDIR}/../sys/compile/GENERIC/kernel ]; then \
		(cd ${.CURDIR}/../sys/i386/conf; config GENERIC); \
		(cd ${.CURDIR}/../sys/compile/GENERIC; \
			${MAKE} depend; ${MAKE} all; ) \
d155 29
a183 1
	cp ${.CURDIR}/../sys/compile/GENERIC/kernel kernel
d185 1
a185 8
kernel.BOOTFLP:	${.CURDIR}/../sys/i386/conf/BOOTFLP
	@@if [ ! -f ${.CURDIR}/../sys/compile/BOOTFLP/kernel ]; then \
		(cd ${.CURDIR}/../sys/i386/conf; config BOOTFLP); \
		(cd ${.CURDIR}/../sys/compile/BOOTFLP; \
			${MAKE} depend; ${MAKE} all; ) \
	fi
	cp ${.CURDIR}/../sys/compile/BOOTFLP/kernel kernel.BOOTFLP
	strip kernel.BOOTFLP
d187 17
a203 4
boot.flp: kernel.BOOTFLP
	crunchgen ${.CURDIR}/boot_flp.conf
	${MAKE} -f boot_flp.mk objs exe NOCRYPT=yes
	-umount /dev/${FLOPPY}
d205 1
d207 3
a209 2
		-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
		/dev/r${FLOPPY} ${FDLABEL}
d211 3
a213 24
		-o space -T ${FDLABEL} /dev/r${FLOPPY}
	mount -o async /dev/${FLOPPY} ${MNT}
	mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
	cp kernel.BOOTFLP ${MNT}/kernel
	( cd ${DESTDIR}/dev ; \
		ls console tty ttyv1 null zero \
		sd[0123][a-h] wd[0123][a-h] fd[01] \
		rsd[0123][a-h] rwd[0123][a-h] rfd[01] \
	| cpio -dump ${MNT}/dev \
	)
	gzip -9 -c < boot_flp > ${MNT}/stand/sysinstall
	chmod 755 ${MNT}/stand/sysinstall
	ln ${MNT}/stand/sysinstall ${MNT}/stand/newfs
	ln ${MNT}/stand/sysinstall ${MNT}/stand/gzip
	ln ${MNT}/stand/sysinstall ${MNT}/stand/fsck
	install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
	install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
		${MNT}/DISKSPACE.FAQ
	install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
		${MNT}/RELNOTES.FreeBSD
	install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
		${MNT}/TROUBLESHOOTING
	install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
	touch ${MNT}/this_is_boot_flp
d215 6
a220 35
	-umount ${MNT}
	sync
	fsck /dev/r${FLOPPY}
	dd if=/dev/r${FLOPPY} of=boot.tmp bs=${DDBS} count=${DDCOUNT}
	mv boot.tmp boot.flp
	od -x boot.flp | head -3
	gzip -9 -c < boot.flp > boot.flp.gz

cpio.flp: kernel
	crunchgen ${.CURDIR}/cpio_flp_1.conf
	${MAKE} -f cpio_flp_1.mk objs exe NOCRYPT=yes
	for i in ${CPIO1} ; do rm -f ./$$i ; ln cpio_flp_1 ./$$i ; done
	( cd /${DESTDIR} ; ls ${CPIO2} | cpio -H newc -oa ) | cpio -ivd
	( cd ${.CURDIR} ; ls ${CPIO3} | cpio -H newc -oa ) | cpio -ivd
	chmod 755 ${CPIO3}
	cp ${CPIO4} .
	rm -f OK
	touch OK
	(ls ${CPIO1} ${CPIO2} ${CPIO3} ${CPIO4B} ; \
		echo kernel ; echo OK ) | \
		cpio -H newc -oa | gzip -9 -c | \
		dd conv=osync > cpio.flp
	rm -f OK
	gzip -1 -c < cpio.flp > cpio.flp.gz

floppies: boot.flp cpio.flp
	mkdir -p ${RELEASEDIR}/floppies
	cp boot.flp boot.flp.gz cpio.flp cpio.flp.gz \
		${RELEASEDIR}/floppies

release20: 
.if !defined(RELEASEDIR)
	@@echo "Do NOT invoke this target without a RELEASEDIR defined."
	@@echo "It will otherwise blow away your root directory!"
	@@exit 1
d222 1
a222 32
	@@echo "Did you remember to increment the release number?"
	( cd ${.CURDIR} ; ${MAKE} clean)
	-mkdir ${RELEASEDIR}
	chflags -R noschg ${RELEASEDIR}/.
	rm -rf ${RELEASEDIR}/*
	mkdir -p ${RELEASEDIR}/tarballs
	( cd ${.CURDIR}/.. ;  \
		${MAKE} all distribute NOCRYPT=yes)
	( cd ${.CURDIR}/../etc ;  \
		${MAKE} release-dirs )
	( cd ${.CURDIR} ; ${MAKE} obj)
	( cd ${.CURDIR} ;  \
		${MAKE} kernel DESTDIR=${RELEASEDIR}/filesys )
	install ${COPY} -m 644 ${.CURDIR}/../sys/compile/GENERIC/kernel \
		${RELEASEDIR}/filesys/kernel
	( cd ${.CURDIR} ;  \
		${MAKE} hierarchy DESTDIR=${RELEASEDIR}/filesys )
	( cd ${.CURDIR}/../etc ; \
		${MAKE} distribution DESTDIR=${RELEASEDIR}/filesys \
			NOCRYPT=yes SHARED=copies)
	( cd ${RELEASEDIR}/filesys; \
		tar cf - . | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/bindist/bindist.)
	cp ${.CURDIR}/scripts/extract_bin.sh \
		${RELEASEDIR}/tarballs/bindist/extract.sh
	( cd ${RELEASEDIR}/tarballs/bindist; ${.CURDIR}/scripts/mkchecksums.sh )
	( cd ${.CURDIR} ;  \
		${MAKE} floppies )

EXTRADISTRIBUTIONS=	secure games manpages proflibs dict info
DISTRIBUTIONS=	bin ${EXTRADISTRIBUTIONS}
MTREEFILES=	${.CURDIR}/../etc/mtree
d224 20
a243 62
jkhdist:
	@@echo "--> Making all"
	( cd ${.CURDIR}/..; ${MAKE} all )
	@@echo "--> Making distribute"
	( cd ${.CURDIR}/..; ${MAKE} distribute )
	@@echo "--> Making beforetarballs"
	( cd ${.CURDIR}; ${MAKE} beforetarballs )
	@@echo "--> Making tarballs"
	( cd ${.CURDIR}; ${MAKE} tarballs )
	@@echo "--> Making floppies"
	( cd ${.CURDIR}; ${MAKE} floppies )

distribute: 
	-mkdir ${RELEASEDIR}
	chflags -R noschg ${RELEASEDIR}/.
	rm -rf ${RELEASEDIR}/*
	for i in ${DISTRIBUTIONS} ; \
	do \
	mkdir -p ${RELEASEDIR}/$$i ; \
	mtree -deU -f ${MTREEFILES}/BSD.root.dist -p ${RELEASEDIR}/$$i/ ; \
	mtree -deU -f ${MTREEFILES}/BSD.var.dist -p ${RELEASEDIR}/$$i/var ; \
	mtree -deU -f ${MTREEFILES}/BSD.usr.dist -p ${RELEASEDIR}/$$i/usr ; \
	done 
	( cd ${.CURDIR} ;  \
		${MAKE} kernel DESTDIR=${RELEASEDIR}/filesys )
	install ${COPY} -m 644 ${.CURDIR}/../sys/compile/GENERIC/kernel \
		${RELEASEDIR}/bin/kernel

beforetarballs:
	rm -rf ${RELEASEDIR}/manpages/usr/share/man
	mv ${RELEASEDIR}/bin/usr/share/man \
		${RELEASEDIR}/manpages/usr/share/man
	rm -rf ${RELEASEDIR}/games/usr/games
	mv ${RELEASEDIR}/bin/usr/games \
		${RELEASEDIR}/games/usr/games
	rm -rf ${RELEASEDIR}/games/var/games
	mv ${RELEASEDIR}/bin/var/games \
		${RELEASEDIR}/games/var/games
	rm -rf ${RELEASEDIR}/games/usr/share/games
	mv ${RELEASEDIR}/bin/usr/share/games \
		${RELEASEDIR}/games/usr/share/games
	rm -rf ${RELEASEDIR}/dict/usr/share/dict
	mv ${RELEASEDIR}/bin/usr/share/dict \
		${RELEASEDIR}/dict/usr/share/dict
	mv ${RELEASEDIR}/bin/usr/share/misc/airport \
	   ${RELEASEDIR}/bin/usr/share/misc/birthtoken \
	   ${RELEASEDIR}/bin/usr/share/misc/flowers \
	   ${RELEASEDIR}/bin/usr/share/misc/na.phone \
	   ${RELEASEDIR}/bin/usr/share/misc/zipcodes \
		${RELEASEDIR}/dict/usr/share/misc
	mv ${RELEASEDIR}/bin/usr/lib/*_p.a \
		${RELEASEDIR}/proflibs/usr/lib
	-cd ${RELEASEDIR} ; \
	find ${EXTRADISTRIBUTIONS} -depth -type d -print | xargs rmdir
	mkdir -p ${RELEASEDIR}/secure/usr

	mkdir -p ${RELEASEDIR}/src/usr
	cd ${RELEASEDIR}/src/usr ; cvs export -r ${RELEASETAG} src

tarballs:
	rm -rf ${RELEASEDIR}/tarballs
	mkdir -p ${RELEASEDIR}/tarballs
d246 26
a271 9
		mkdir -p ${RELEASEDIR}/tarballs/$${i} ; \
		( cd ${RELEASEDIR}/$${i}; \
			tar cf - . | \
			${ZIPNSPLIT} ${RELEASEDIR}/tarballs/$$i/$${i}.) ; \
	( cd ${RELEASEDIR}/tarballs/$${i}; \
		sh -e ${.CURDIR}/scripts/mkchecksums.sh ) ; \
	cp ${.CURDIR}/scripts/extract_$${i}.sh \
		${RELEASEDIR}/tarballs/$${i}/extract.sh;\
	echo "$${i} distribution is finished."; \
d273 2
a274 117

srcbase-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - [A-Z]* | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/base.)

srcbin-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - bin | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/srcbin.)

srcetc-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - etc | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/etc.)

srcgames-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - games | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/games.)

srcgnu-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - gnu | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/gnu.)

srcinclude-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - include | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/include.)

srclib-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - lib | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/lib.)

srclibexec-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - libexec | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/libexec.)

srcrelease-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - release | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/release.)

srcsbin-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - sbin | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/sbin.)

srcsecure-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/secure; \
		tar -cf - secure | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secure/secrsrc.)

srclkm-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - lkm | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/lkm.)

srcerelease-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - release | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/release.)

srcebones-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/secure; \
		tar -cf - eBones | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secure/ebones.)

srcshare-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - share | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/share.)

srcsys-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - sys lkm | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/sys.)

srcusrbin-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - usr.bin | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/usrbin.)

srcusrsbin-tarball:
	(cd ${RELEASEDIR}/src/usr/src; \
		mkdir -p ${RELEASEDIR}/tarballs/src; \
		tar -cf - usr.sbin | \
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/src/usrsbin.)

src:	srcbase-tarball srcbin-tarball srcetc-tarball \
	srcgames-tarball srcgnu-tarball srcinclude-tarball \
	srclib-tarball srcsecure-tarball srclibexec-tarball \
	srcsbin-tarball srcshare-tarball srcsys-tarball \
	srcusrbin-tarball srcusrsbin-tarball srcrelease-tarball \
	srcebones-tarball srclkm-tarball srcrelease-tarball
	( cd ${RELEASEDIR}/tarballs/src; \
		sh -e ${.CURDIR}/scripts/mkchecksums.sh )
d276 20
a295 3
		${RELEASEDIR}/tarballs/src/extract.sh

.include <bsd.prog.mk>
@


1.106
log
@A better fix for the newfs floppy problem
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.105 1995/02/10 05:51:01 jkh Exp $
d225 3
@


1.105
log
@Merge in some cosmetic changes - clean the two kernel images we depend
on when a `make clean' is done - prevents a Feb 2nd BOOTFLP kernel going
onto a Feb 10th boot.flp, as now almost happened.. :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.104 1995/02/10 05:41:10 phk Exp $
a11 1
SECT=		15
a15 1
SECT=		18
d95 1
a95 1
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -t 2 -u ${SECT} \
@


1.104
log
@A bit of unexpected fallout from the newfs change.
newfs'ing a floppy fails now, unless we tell it geometry.  I thought at
disktype would take precedence.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.103 1995/02/09 08:36:23 jkh Exp $
d43 2
d73 1
a73 1
	if [ ! -f ${.CURDIR}/../sys/compile/GENERIC/kernel ]; then \
d81 1
a81 1
	if [ ! -f ${.CURDIR}/../sys/compile/BOOTFLP/kernel ]; then \
@


1.103
log
@Andreas Schulz asks:
	I have seen two strange things in it :-).
	The first: in CLEANFILES is CPIO3 referenced, that leads to the
	deletion of half of the scripts that are in the source. Intended ?
	Second: The comment above the CPIO3= line says that bininst must be
	the last on the floppy, but setup follows it now ?
And I reply:
	This was all wrong!  Fixed!  Thanks!
Submitted by:	ats
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.102 1995/02/02 12:29:03 jkh Exp $
d12 1
d17 1
d95 2
a96 2
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space -T ${FDLABEL} \
		/dev/r${FLOPPY}
@


1.102
log
@A better clean rule.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.101 1995/02/02 08:03:24 ache Exp $
a30 2
# bininst MUST be the last file on the cpio floppy.  It's used to detect
# a successful extraction.
d38 1
a38 1
CLEANFILES+=	*.o *.c *.cache *.mk *.lo ${CPIO1} ${CPIO2} ${CPIO3} ${CPIO4B}
@


1.101
log
@Create directory symlinks neccesary for locale because mtree
can't create symlinks.
Suggested by Rod.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.100 1995/02/02 04:07:51 jkh Exp $
d40 3
a42 2
CLEANFILES+=	*.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz 
CLEANFILES+=	boot_flp cpio_flp_1 kernel.*
@


1.100
log
@Argh!  I left the setup script off the floppy.  Time to re-roll it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.99 1995/02/01 22:53:32 jkh Exp $
d47 5
d59 7
@


1.99
log
@Don't forget to make the gzip'd boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.98 1995/02/01 11:19:24 jkh Exp $
d34 1
a34 1
	scripts/adduser.sh scripts/bininst.sh
@


1.98
log
@Take out my previous change to update the src tree first - that was
stupid.. :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.97 1995/01/30 07:01:56 jkh Exp $
d114 1
@


1.97
log
@Make jkhdist also update the tree.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.96 1995/01/30 03:22:24 phk Exp $
d178 1
a178 1
	( cd ${.CURDIR}/..; cvs update -P -d -q; ${MAKE} all )
@


1.96
log
@1.44 floppies considered evil now.  Real kernel on cpio.flp.
added explicit "OK" file.
Nuked vn support, doesn't work second time around :-(
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.94 1995/01/29 02:12:30 phk Exp $
d178 1
a178 1
	( cd ${.CURDIR}/..; ${MAKE} all )
@


1.95
log
@Make sure the scripts/* files have 'x' bits.
@
text
@d5 1
a5 1
VNDEV=		vn0a
d8 2
a9 2
# Evil floppies are, of course, 1.2MB floppies.
.if defined(EVIL_FLOPPY)
d41 1
a41 1
CLEANFILES+=	boot_flp cpio_flp_1
d58 1
a58 1
	if [ ! -d ${.CURDIR}/../sys/compile/GENERIC ]; then \
d63 1
d65 8
a72 9
boot_12.flp: 
	(cd ${.CURDIR}; EVIL_FLOPPY=yes ${MAKE} boot.flp)
	mv boot.flp boot_12.flp
	gzip -9 -c < boot_12.flp > boot_12.flp.gz &

boot_144.flp:
	(cd ${.CURDIR}; ${MAKE} boot.flp)
	mv boot.flp boot_144.flp
	gzip -9 -c < boot_144.flp > boot_144.flp.gz &
d74 1
a74 1
boot.flp: 
d77 3
a79 5
	dd if=/dev/zero bs=${DDBS} count=${DDCOUNT} of=boot.tmp
	-umount /dev/${VNDEV}
	-vnconfig -u /dev/${VNDEV}
	vnconfig -c /dev/${VNDEV} boot.tmp
	disklabel -r -w -B \
d81 1
a81 1
		/dev/r${VNDEV} ${FDLABEL}
d83 2
a84 2
		/dev/r${VNDEV}
	mount -o async /dev/${VNDEV} ${MNT}
d86 1
a86 6
.if !defined(EVIL_FLOPPY)
	strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
.else
	strip ${.CURDIR}/../sys/compile/GENERIC/kernel
.endif
	cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
d91 1
a91 1
	| cpio -dumpv ${MNT}/dev \
a97 1
.if !defined(EVIL_FLOPPY)
a100 1
.endif
d107 1
d109 3
a111 2
	fsck /dev/r${VNDEV}
	vnconfig -u /dev/${VNDEV}
d113 1
d115 1
a115 1
cpio.flp:
d123 4
a126 1
	ls ${CPIO1} ${CPIO2} ${CPIO3} ${CPIO4B} | \
d129 1
d132 1
a132 1
floppies: boot_144.flp boot_12.flp cpio.flp
d134 2
a135 2
	cp boot_144.flp boot_144.flp.gz boot_12.flp boot_12.flp.gz \
		cpio.flp cpio.flp.gz ${RELEASEDIR}/floppies
@


1.94
log
@Change the boot.flp rule to use the "vn" device.  Much faster :-)

remove bootsd and sdboot from the boot.flp, the matching change to
sysinstall will arrive later this evening.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.92 1995/01/28 05:33:52 jkh Exp $
d127 1
@


1.93
log
@Copy the src tarballs' script to the right place.
@
text
@d5 1
d77 5
a81 4
	-umount ${MNT}
	-umount /dev/${FLOPPY}
	# echo y | fdformat ${FLOPPY}
	disklabel -w -B \
d83 4
a86 3
		/dev/r${FLOPPY} ${FDLABEL}
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
	mount -o async /dev/${FLOPPY} ${MNT}
a93 1
	cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
d117 3
a119 3
	fsck /dev/r${FLOPPY}
	dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
	df -k /dev/r${FLOPPY}
@


1.92
log
@Make the check for a precompiled kernel correct.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.91 1995/01/28 01:18:36 jkh Exp $
d363 2
a364 1
	cp ${.CURDIR}/scripts/extract_src.sh ${RELEASEDIR}/tarballs/extract.sh
@


1.91
log
@Update everyone's paths to point properly into /stand/scripts.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.90 1995/01/27 08:30:35 jkh Exp $
d57 1
a57 1
	if [ ! -f ${.CURDIR}/../sys/compile/GENERIC ]; then \
@


1.90
log
@Make the gzip commands more rational.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.89 1995/01/27 08:06:43 jkh Exp $
d172 1
a172 1
DISTRIBUTIONS=	bin src ${EXTRADISTRIBUTIONS}
@


1.89
log
@Get the src rule right.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.88 1995/01/27 07:49:38 jkh Exp $
d98 1
a98 1
	gzip -9 < boot_flp > ${MNT}/stand/sysinstall
d127 1
a127 1
		cpio -H newc -oa | gzip -9 | \
d129 1
a129 1
	gzip -9 -v < cpio.flp > cpio.flp.gz &
@


1.88
log
@Adjust some of these extract scripts.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.87 1995/01/27 07:37:41 jkh Exp $
d362 2
a363 3
		sh -e ${.CURDIR}/scripts/mkchecksums.sh ) ; \
	cp ${.CURDIR}/scripts/extract_src.sh \
		${RELEASEDIR}/tarballs/$${i}/extract.sh;\
@


1.87
log
@Don't build src tarball by default.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.86 1995/01/27 06:24:35 jkh Exp $
a173 1
SECRSRC=	src/secure src/eBones
d311 1
a311 1
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/secure/secure.)
d361 4
@


1.86
log
@Change a few more mkdirs to mkdir -p's.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.85 1995/01/27 01:47:32 jkh Exp $
d132 3
d171 1
a171 1
EXTRADISTRIBUTIONS=	secure src games manpages proflibs dict info
@


1.85
log
@Add a -p to mkdir.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.84 1995/01/17 19:57:35 jkh Exp $
d231 1
a231 1
	mkdir ${RELEASEDIR}/tarballs
d234 1
a234 1
		mkdir ${RELEASEDIR}/tarballs/$${i} ; \
@


1.84
log
@Move all the src tarball stuff from etc/Makefile into here.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.83 1995/01/15 06:31:50 jkh Exp $
d191 1
a191 1
	mkdir ${RELEASEDIR}/$$i ; \
@


1.83
log
@Submit srcdist changes
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.82 1995/01/14 20:15:38 jkh Exp $
d169 1
a169 1
DISTRIBUTIONS=	bin ${EXTRADISTRIBUTIONS}
a227 3
	cd ${RELEASEDIR}/src/usr/src ; rm -rf secure eBones
	cd ${RELEASEDIR}/secure/usr ; cvs export -r ${RELEASETAG} ${SECRSRC}
	( cd ${.CURDIR}/../etc ; ${MAKE} src-tarball )
d244 115
@


1.82
log
@Add my own custom target for now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.81 1995/01/14 12:51:40 jkh Exp $
d144 1
a166 11
foo:
	( cd ${.CURDIR}/../etc ; \
		${MAKE} srcebones-tarball \
			DESTDIR=${RELEASEDIR}/filesys \
			NOCRYPT=yes SHARED=copies )
		
bar:
	( cd ${.CURDIR}/../etc ; \
		${MAKE} des-tarball \
			DESTDIR=${RELEASEDIR}/filesys \
			SHARED=copies )
d174 1
d176 1
d178 1
d180 1
d182 1
@


1.81
log
@Try out my new idea for making the srcdist..
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.80 1995/01/14 12:44:23 jkh Exp $
d182 7
@


1.80
log
@Change the way the srcdist is generated.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.79 1995/01/14 10:28:11 jkh Exp $
d223 4
a228 4

#	mkdir -p ${RELEASEDIR}/src/usr
#	cd ${RELEASEDIR}/src/usr ; cvs export -r ${RELEASETAG} src
#	cd ${RELEASEDIR}/src/usr/src ; rm -rf secure eBones
@


1.79
log
@Be neat - put bininst in scripts directory too.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.78 1995/01/14 08:02:49 jkh Exp $
d224 5
a228 3
	mkdir -p ${RELEASEDIR}/src/usr
	cd ${RELEASEDIR}/src/usr ; cvs export -r ${RELEASETAG} src
	cd ${RELEASEDIR}/src/usr/src ; rm -rf secure eBones
@


1.78
log
@Further review for scripts/ dir renaming.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.77 1995/01/14 07:48:09 jkh Exp $
d33 1
a33 1
	scripts/adduser.sh scripts/bininst
@


1.77
log
@Make the whole *dist naming structure halfway orthogonal.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.76 1995/01/13 08:06:55 gibbs Exp $
d32 2
a33 1
CPIO3=	miscfuncs.sh instdist.sh netinst.sh adduser.sh bininst
d161 3
a163 2
	cp ${.CURDIR}/extract_bin.sh ${RELEASEDIR}/tarballs/bindist/extract.sh
	( cd ${RELEASEDIR}/tarballs/bindist; ${.CURDIR}/mkchecksums.sh )
d226 1
a226 1
	cd ${RELEASEDIR}/src/usr/src ; rm -rf secure kerberosIV eBones
d237 4
a240 2
	( cd ${RELEASEDIR}/tarballs/$${i}; sh -e ${.CURDIR}/mkchecksums.sh ) ; \
	cp ${.CURDIR}/extract_$${i}.sh ${RELEASEDIR}/tarballs/$${i}/extract.sh;\
@


1.76
log
@Remove extra leading tabs that made this thing blow up.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.75 1995/01/13 06:44:23 jkh Exp $
d160 1
a160 1
	cp ${.CURDIR}/extract.sh ${RELEASEDIR}/tarballs/bindist
d176 2
a177 2
EXTRADISTRIBUTIONS=	secrdist srcdist games manpages proflibs dict infodist
DISTRIBUTIONS=	bindist ${EXTRADISTRIBUTIONS}
d195 1
a195 1
		${RELEASEDIR}/bindist/kernel
d199 1
a199 1
	mv ${RELEASEDIR}/bindist/usr/share/man \
d202 1
a202 1
	mv ${RELEASEDIR}/bindist/usr/games \
d205 1
a205 1
	mv ${RELEASEDIR}/bindist/usr/share/games \
d208 1
a208 1
	mv ${RELEASEDIR}/bindist/usr/share/dict \
d210 5
a214 5
	mv ${RELEASEDIR}/bindist/usr/share/misc/airport \
	   ${RELEASEDIR}/bindist/usr/share/misc/birthtoken \
	   ${RELEASEDIR}/bindist/usr/share/misc/flowers \
	   ${RELEASEDIR}/bindist/usr/share/misc/na.phone \
	   ${RELEASEDIR}/bindist/usr/share/misc/zipcodes \
d216 1
a216 1
	mv ${RELEASEDIR}/bindist/usr/lib/*_p.a \
d220 5
a224 5
	mkdir -p ${RELEASEDIR}/secrdist/usr
	cd ${RELEASEDIR}/secrdist/usr ; cvs export -r ${RELEASETAG} ${SECRSRC}
	mkdir -p ${RELEASEDIR}/srcdist/usr
	cd ${RELEASEDIR}/srcdist/usr ; cvs export -r ${RELEASETAG} src
	cd ${RELEASEDIR}/srcdist/usr/src ; rm -rf secure kerberosIV eBones
d236 1
a236 1
	cp ${.CURDIR}/extract.sh ${RELEASEDIR}/tarballs/$${i} ;\
@


1.75
log
@I must be hallucinating.  Back out the previous change.  Um.  Drat,
how to do this?
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.74 1995/01/13 05:43:03 jkh Exp $
d14 102
a115 102
	DDBS=		18k
	DDCOUNT=	80
	.endif

	MNT=		/mnt

	CPIO1= basename cat chmod cksum cp cu date dd df dmesg echo ed expr hostname 
	CPIO1+= kill ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [ 
	CPIO1+= -sh badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig 
	CPIO1+= init mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
	CPIO1+= reboot restore slattach swapon umount route
	CPIO1+= rdump rrestore halt ft
	CPIO1+= ftp rsh sed telnet rlogin grep

	CPIO2=  etc/services etc/protocols

	# bininst MUST be the last file on the cpio floppy.  It's used to detect
	# a successful extraction.
	CPIO3=	miscfuncs.sh instdist.sh netinst.sh adduser.sh bininst

	CPIO4=	/usr/sbin/tzsetup
	CPIO4B=	tzsetup

	# Somewhat on the rough side...
	CLEANFILES+=	*.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz 
	CLEANFILES+=	boot_flp cpio_flp_1

	MTREE_DIR=	${.CURDIR}/../etc/mtree

	ZIPNSPLIT=	gzip --no-name -9 -c | split -b 240640 -

	hierarchy:
		mtree -deU -f ${MTREE_DIR}/BSD.root.dist  -p ${DESTDIR}/
		mtree -deU -f ${MTREE_DIR}/BSD.var.dist   -p ${DESTDIR}/var
		mtree -deU -f ${MTREE_DIR}/BSD.usr.dist   -p ${DESTDIR}/usr
	.if defined(MAKE_LOCAL)
		mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
	.endif
		rm -f ${DESTDIR}/sys
		ln -s usr/src/sys ${DESTDIR}/sys

	kernel:	${.CURDIR}/../sys/i386/conf/GENERIC
		if [ ! -f ${.CURDIR}/../sys/compile/GENERIC ]; then \
			(cd ${.CURDIR}/../sys/i386/conf; config GENERIC); \
			(cd ${.CURDIR}/../sys/compile/GENERIC; \
				${MAKE} depend; ${MAKE} all; ) \
		fi

	boot_12.flp: 
		(cd ${.CURDIR}; EVIL_FLOPPY=yes ${MAKE} boot.flp)
		mv boot.flp boot_12.flp
		gzip -9 -c < boot_12.flp > boot_12.flp.gz &

	boot_144.flp:
		(cd ${.CURDIR}; ${MAKE} boot.flp)
		mv boot.flp boot_144.flp
		gzip -9 -c < boot_144.flp > boot_144.flp.gz &

	boot.flp: 
		crunchgen ${.CURDIR}/boot_flp.conf
		${MAKE} -f boot_flp.mk objs exe NOCRYPT=yes
		-umount ${MNT}
		-umount /dev/${FLOPPY}
		# echo y | fdformat ${FLOPPY}
		disklabel -w -B \
			-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
			/dev/r${FLOPPY} ${FDLABEL}
		newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
		mount -o async /dev/${FLOPPY} ${MNT}
		mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
	.if !defined(EVIL_FLOPPY)
		strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
	.else
		strip ${.CURDIR}/../sys/compile/GENERIC/kernel
	.endif
		cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
		cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
		( cd ${DESTDIR}/dev ; \
			ls console tty ttyv1 null zero \
			sd[0123][a-h] wd[0123][a-h] fd[01] \
			rsd[0123][a-h] rwd[0123][a-h] rfd[01] \
		| cpio -dumpv ${MNT}/dev \
		)
		gzip -9 < boot_flp > ${MNT}/stand/sysinstall
		chmod 755 ${MNT}/stand/sysinstall
		ln ${MNT}/stand/sysinstall ${MNT}/stand/newfs
		ln ${MNT}/stand/sysinstall ${MNT}/stand/gzip
		ln ${MNT}/stand/sysinstall ${MNT}/stand/fsck
	.if !defined(EVIL_FLOPPY)
		install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
		install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
			${MNT}/DISKSPACE.FAQ
	.endif
		install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
			${MNT}/RELNOTES.FreeBSD
		install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
			${MNT}/TROUBLESHOOTING
		install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
		touch ${MNT}/this_is_boot_flp
		-umount ${MNT}
		fsck /dev/r${FLOPPY}
		dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
@


1.74
log
@Add conv=osync to the boot flop.  You know, this might explain those
mysterious rawrite problems! :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.73 1995/01/12 16:18:13 jkh Exp $
d14 102
a115 102
DDBS=		18k
DDCOUNT=	80
.endif

MNT=		/mnt

CPIO1= basename cat chmod cksum cp cu date dd df dmesg echo ed expr hostname 
CPIO1+= kill ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [ 
CPIO1+= -sh badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig 
CPIO1+= init mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
CPIO1+= reboot restore slattach swapon umount route
CPIO1+= rdump rrestore halt ft
CPIO1+= ftp rsh sed telnet rlogin grep

CPIO2=  etc/services etc/protocols

# bininst MUST be the last file on the cpio floppy.  It's used to detect
# a successful extraction.
CPIO3=	miscfuncs.sh instdist.sh netinst.sh adduser.sh bininst

CPIO4=	/usr/sbin/tzsetup
CPIO4B=	tzsetup

# Somewhat on the rough side...
CLEANFILES+=	*.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz 
CLEANFILES+=	boot_flp cpio_flp_1

MTREE_DIR=	${.CURDIR}/../etc/mtree

ZIPNSPLIT=	gzip --no-name -9 -c | split -b 240640 -

hierarchy:
	mtree -deU -f ${MTREE_DIR}/BSD.root.dist  -p ${DESTDIR}/
	mtree -deU -f ${MTREE_DIR}/BSD.var.dist   -p ${DESTDIR}/var
	mtree -deU -f ${MTREE_DIR}/BSD.usr.dist   -p ${DESTDIR}/usr
.if defined(MAKE_LOCAL)
	mtree -deU -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
.endif
	rm -f ${DESTDIR}/sys
	ln -s usr/src/sys ${DESTDIR}/sys

kernel:	${.CURDIR}/../sys/i386/conf/GENERIC
	if [ ! -f ${.CURDIR}/../sys/compile/GENERIC ]; then \
		(cd ${.CURDIR}/../sys/i386/conf; config GENERIC); \
		(cd ${.CURDIR}/../sys/compile/GENERIC; \
			${MAKE} depend; ${MAKE} all; ) \
	fi

boot_12.flp: 
	(cd ${.CURDIR}; EVIL_FLOPPY=yes ${MAKE} boot.flp)
	mv boot.flp boot_12.flp
	gzip -9 -c < boot_12.flp > boot_12.flp.gz &

boot_144.flp:
	(cd ${.CURDIR}; ${MAKE} boot.flp)
	mv boot.flp boot_144.flp
	gzip -9 -c < boot_144.flp > boot_144.flp.gz &

boot.flp: 
	crunchgen ${.CURDIR}/boot_flp.conf
	${MAKE} -f boot_flp.mk objs exe NOCRYPT=yes
	-umount ${MNT}
	-umount /dev/${FLOPPY}
	# echo y | fdformat ${FLOPPY}
	disklabel -w -B \
		-b ${DESTDIR}/usr/mdec/fdboot -s ${DESTDIR}/usr/mdec/bootfd \
		/dev/r${FLOPPY} ${FDLABEL}
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
	mount -o async /dev/${FLOPPY} ${MNT}
	mkdir ${MNT}/dev ${MNT}/stand ${MNT}/mnt
.if !defined(EVIL_FLOPPY)
	strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
.else
	strip ${.CURDIR}/../sys/compile/GENERIC/kernel
.endif
	cp ${.CURDIR}/../sys/compile/GENERIC/kernel ${MNT}/kernel
	cp ${DESTDIR}/usr/mdec/sdboot ${DESTDIR}/usr/mdec/bootsd ${MNT}/stand
	( cd ${DESTDIR}/dev ; \
		ls console tty ttyv1 null zero \
		sd[0123][a-h] wd[0123][a-h] fd[01] \
		rsd[0123][a-h] rwd[0123][a-h] rfd[01] \
	| cpio -dumpv ${MNT}/dev \
	)
	gzip -9 < boot_flp > ${MNT}/stand/sysinstall
	chmod 755 ${MNT}/stand/sysinstall
	ln ${MNT}/stand/sysinstall ${MNT}/stand/newfs
	ln ${MNT}/stand/sysinstall ${MNT}/stand/gzip
	ln ${MNT}/stand/sysinstall ${MNT}/stand/fsck
.if !defined(EVIL_FLOPPY)
	install -m 400 -c ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
	install -m 400 -c ${.CURDIR}/../share/FAQ/diskspace.FAQ \
		${MNT}/DISKSPACE.FAQ
.endif
	install -m 400 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
		${MNT}/RELNOTES.FreeBSD
	install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
		${MNT}/TROUBLESHOOTING
	install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
	touch ${MNT}/this_is_boot_flp
	-umount ${MNT}
	fsck /dev/r${FLOPPY}
	dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} conv=osync of=boot.flp
@


1.73
log
@A slicker way of eliminating bogus quotes.
Ask less questions about the temporary directory if instructed to.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.72 1995/01/12 12:30:05 jkh Exp $
d81 1
a81 1
	newfs -c 80 -b 4096 -f 512 -i 10000 -m 0 -o space /dev/r${FLOPPY}
d84 1
d86 3
d106 1
a108 1
.endif
d115 1
a115 1
	dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
@


1.72
log
@Efficiency tweaks to Makefile,
add missing regexp lib for grep (cpio floppy).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.71 1995/01/12 10:34:34 jkh Exp $
d81 1
a81 1
	newfs -c 80 -b 4096 -f 512 -i 9000 -m 0 -o space /dev/r${FLOPPY}
d84 1
a84 1
	strip ${.CURDIR}/../sys/compile/GENERIC/kernel
@


1.71
log
@Prepare for next snapshot.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.70 1995/01/07 11:09:48 jkh Exp $
d100 1
a100 1
	install -m 400 -c ${.CURDIR}/../share/FAQ/DISKSPACE.FAQ \
d225 1
a225 1
	for i in ${DISTRIBUTIONS} ; \
d233 1
@


1.70
log
@1. Add bump release number nag to start of release rule.  Thx to Philippe
   for suggestion!
2. Add Thailand to list of mirrors.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.69 1994/12/23 03:29:58 jkh Exp $
d56 5
a60 2
	(cd ${.CURDIR}/../sys/i386/conf; config GENERIC)
	(cd ${.CURDIR}/../sys/compile/GENERIC; ${MAKE} depend; ${MAKE} all; )
d172 1
a172 1
EXTRADISTRIBUTIONS=	secrdist games manpages proflibs dict 
@


1.69
log
@Whoops!  I buggered up the tape dialog.  Fixed.  These changes allow
you to specify your tape drive device for the cases when the user
has more than one.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.68 1994/12/23 02:25:32 jkh Exp $
d131 1
@


1.68
log
@Even more bogons eradicated.  My, there are a lot of them in here! :-)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.67 1994/12/22 21:34:36 jkh Exp $
d78 1
a78 1
	newfs -c 80 -b 4096 -f 512 -i 8192 -m 0 -o space /dev/r${FLOPPY}
@


1.67
log
@Whoops, another lurking bogon!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.66 1994/12/22 20:38:23 jkh Exp $
d62 1
a62 1
	gzip -9 -c < boot_12.flp > boot_12.flp.gz
d67 1
a67 1
	gzip -9 -c < boot_144.flp > boot_144.flp.gz
d81 1
a81 1
	strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
d121 1
a121 2
	gzip -9 -v < cpio.flp > cpio.flp.gz
	ls -l cpio.flp*
@


1.66
log
@Fix a slight bogon with a directory not being made before it was used.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.65 1994/12/21 04:57:04 jkh Exp $
d215 1
@


1.65
log
@Tweaks for the upcoming 2.1 installation.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.64 1994/12/18 12:15:13 jkh Exp $
d213 1
@


1.64
log
@Move some obnoxious files: airport, birthtoken, flowers, na.phone  & zipcodes
to the "dict" dist.
This is belived to reduce the risk of heart attacks in some european countries.
phk ristede runen.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.63 1994/12/17 12:38:09 jkh Exp $
d71 1
a71 1
	${MAKE} -f boot_flp.mk objs exe
d113 1
a113 1
	${MAKE} -f cpio_flp_1.mk objs exe
d124 1
a124 7
crunch:
	crunchgen ${.CURDIR}/boot_flp.conf
	${MAKE} -f boot_flp.mk objs exe
	crunchgen ${.CURDIR}/cpio_flp_1.conf
	${MAKE} -f cpio_flp_1.mk objs exe

floppies: crunch boot_144.flp boot_12.flp cpio.flp
d137 1
a137 1
		${MAKE} world NOCRYPT=yes)
d169 1
a169 1
EXTRADISTRIBUTIONS=	secrdist games manpages proflibs dict krb srcdist
@


1.63
log
@Add a sanity-check for those building their own releases.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.62 1994/12/01 20:02:44 jkh Exp $
d209 6
@


1.62
log
@Add gzips for the real floppy images.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.61 1994/12/01 20:01:37 jkh Exp $
d133 5
@


1.61
log
@Remove gratuitous gzip of boot.flp
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.60 1994/11/30 15:54:39 jkh Exp $
d62 1
d67 1
@


1.60
log
@Build both 1.2MB and 1.44MB floppies now.  this all needs a good re-think,
but this at least works for now.
Reviewed by:
Submitted by:
Obtained from:
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.59 1994/11/24 22:30:02 phk Exp $
d39 1
a39 1
CLEANFILES+=	boot_flp boot.flp cpio_flp_1
a106 1
	gzip -9 -v < boot.flp > boot.flp.gz
@


1.59
log
@Finally commit the tzsetup thing :-)
Delete old cksum stuff before remaking it.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.58 1994/11/22 05:21:06 phk Exp $
a3 1
# Evil floppies are, of course, 1.2MB floppies.
a4 1
#EVIL_FLOPPY=	yes
d7 1
d59 8
d93 1
a94 3
	install -m 400 -c ${.CURDIR}/../share/FAQ/README-2.0 ${MNT}/README
	install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLESHOOTING \
		${MNT}/TROUBLESHOOTING
d99 4
d129 1
a129 1
floppies: crunch boot.flp cpio.flp
@


1.58
log
@Various hackeries.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.57 1994/11/21 08:15:25 phk Exp $
d36 1
d108 1
a108 1
	ls ${CPIO1} ${CPIO2} ${CPIO3} ${CPIO4} | \
@


1.57
log
@syntax error
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.56 1994/11/21 04:14:30 phk Exp $
d8 1
d159 1
a159 1
EXTRADISTRIBUTIONS=	des games manpages proflibs dict krb
d162 1
d180 1
a180 1
tarballs:
d197 5
@


1.56
log
@More hacks from the last 20 hours...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.55 1994/11/20 23:31:36 wollman Exp $
d204 1
a204 1
	cp ${.CURDIR}/extract.sh cd ${RELEASEDIR}/tarballs/$${i} ;\
@


1.55
log
@Add krb (Kerberos) to EXTRADISTRIBUTIONS.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.54 1994/11/20 22:56:27 phk Exp $
d20 4
a23 4
CPIO1= basename cat chmod cksum cp date dd df dmesg echo ed expr hostname kill
CPIO1+= ln ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [ -sh
CPIO1+= badsect chown clri disklabel dump dmesg fdisk fsck getopt ifconfig init
CPIO1+= mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping pwd
d26 1
a26 1
CPIO1+= ftp rsh sed telnet tzsetup rlogin grep
d34 2
d83 1
d100 2
d105 3
a107 1
	ls ${CPIO1} ${CPIO2} ${CPIO3} | cpio -H newc -oa | gzip -9 | \
d141 1
a141 1
		${ZIPNSPLIT} ${RELEASEDIR}/tarballs/bindist/bin_tgz.)
d202 1
a202 1
			${ZIPNSPLIT} ${RELEASEDIR}/tarballs/$$i/$${i}_tgz.) ; \
@


1.54
log
@add extract.sh to dists
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.53 1994/11/20 14:49:43 jkh Exp $
d151 1
a151 1
EXTRADISTRIBUTIONS=	des games manpages proflibs dict
@


1.53
log
@o	Add Michael Reifenberger's mini-adduser script.
o	Optionally invoke tzsetup or adduser from the last stage.
o	Add tzsetup and friends to cpio floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.52 1994/11/20 01:54:13 phk Exp $
d197 1
@


1.52
log
@Make "games" dist by moving everything relevant out of bindist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.51 1994/11/20 01:19:33 phk Exp $
d22 1
a22 1
CPIO1+= badsect chown clri disklabel dump dmesg fdisk fsck ifconfig init
d26 1
a26 1
CPIO1+= ftp rsh sed telnet rlogin grep
d32 1
a32 1
CPIO3=	miscfuncs.sh instdist.sh netinst.sh bininst
@


1.51
log
@/usr/share/games belong in "games dist"
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.50 1994/11/20 01:01:28 phk Exp $
d175 3
@


1.50
log
@Make the tarballs target work.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.49 1994/11/18 01:05:05 phk Exp $
d175 3
@


1.49
log
@dd conv=osync.  More distributions.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.48 1994/11/17 15:19:59 jkh Exp $
d57 2
d151 2
a152 1
DISTRIBUTIONS=	bindist des games manpages proflibs dict
d170 22
@


1.48
log
@Yow!  Ok, distributions should now be fully auto-checksumming, provided
that Poul builds the rest of the dists properly.  I'll run this over the
XFree86 dist, but the rest will be up to him.  Check bindist rule for
the single line to add - it's trivial.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.47 1994/11/17 14:18:00 jkh Exp $
d99 1
a99 1
		dd obs=512 > cpio.flp
d149 1
a149 1
DISTRIBUTIONS=	bindist DES games 
d163 4
a166 4
	#( cd ${.CURDIR} ;  \
		#${MAKE} kernel DESTDIR=${RELEASEDIR}/filesys )
	#install ${COPY} -m 644 ${.CURDIR}/../sys/compile/GENERIC/kernel \
		#${RELEASEDIR}/bindist/kernel
@


1.47
log
@Add extra scripts to the Makefile.  Add another mirror site to
instdist.sh
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.46 1994/11/17 07:11:30 jkh Exp $
d134 1
a134 1
	( cd ${RELEASEDIR}/tarballs/bindist; cksum * > CKSUMS )
@


1.46
log
@Add a line to automatically generate CKSUMS file for the bindist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.45 1994/11/17 07:09:21 jkh Exp $
d30 4
a33 1
CPIO3=	bininst
@


1.45
log
@Add cksum to the cpio floppy - automated checksumming of the *dist
tarballs is just one step away.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.44 1994/11/15 08:10:31 jkh Exp $
d127 1
a127 1
	(cd ${RELEASEDIR}/filesys; \
d131 1
d135 1
a135 1
	(cd ${.CURDIR}/../etc ; \
d138 1
a138 1
			NOCRYPT=yes SHARED=copies)
d141 1
a141 1
	(cd ${.CURDIR}/../etc ; \
d144 1
a144 1
			SHARED=copies)
@


1.44
log
@Add back tar - I'm not sure where it went again!  I know that
cpio reads tar files, but this gives you "tar" in its old familar
way, which is important for those trying to read the old extract.sh'd
bindist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.43 1994/11/14 20:56:17 phk Exp $
d20 2
a21 2
CPIO1= basename cat chmod cp date dd df dmesg echo ed expr hostname kill ln
CPIO1+= ls mkdir mt mv rcp rm rmdir sh sleep stty sync tar test tip [ -sh
@


1.43
log
@Final changes.  Now "make distribute" should work as advertised.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.42 1994/11/13 01:46:22 jkh Exp $
d21 1
a21 1
CPIO1+= ls mkdir mt mv rcp rm rmdir sh sleep stty sync test tip [ -sh
@


1.42
log
@Disable the building of the evil floppy images.  We blew through the
1.2MB barrier again.  I tell ya, Poul, it's a losing game!  You shave
50 bytes off, the next change takes 100 back, and this is just ALPHA!
The 1.2MB weenies will _just have to buy new drives_!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.41 1994/11/13 01:20:36 jkh Exp $
d133 30
@


1.41
log
@Change the name of the TROUBLE-2.0 file to TROUBLESHOOTING; it just makes
more sense.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.40 1994/11/12 20:40:14 jkh Exp $
d6 1
a6 1
EVIL_FLOPPY=	yes
@


1.40
log
@Install the soon-to-be-written troubleshooting file.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.39 1994/11/12 20:36:28 jkh Exp $
d78 1
a78 1
	install -m 400 -c ${.CURDIR}/../share/FAQ/TROUBLE-2.0 \
@


1.39
log
@Add dmesg.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.38 1994/11/12 09:55:28 jkh Exp $
d78 2
@


1.38
log
@When this is run manually, the myname protection stuff probably isn't
needed in all cases.  Guard against this.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.37 1994/11/12 05:47:28 phk Exp $
d20 2
a21 2
CPIO1= basename cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
CPIO1+= mt mv rcp rm rmdir sh sleep stty sync test tip [ -sh
@


1.37
log
@Try to align to floppy image to a number of sectors to avoid people
making bad floppies.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.36 1994/11/12 02:25:04 jkh Exp $
d125 1
a125 1
	(cd ${RELEASEDIR/filesys}; \
@


1.36
log
@Point to new README file location.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.35 1994/11/11 22:27:11 jkh Exp $
d93 2
a94 1
	ls ${CPIO1} ${CPIO2} ${CPIO3} | cpio -H newc -oa | gzip -9 > cpio.flp
@


1.35
log
@Add basename to to the cpio floppy.  Thanks, Lars!
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.34 1994/11/11 08:47:32 jkh Exp $
d77 1
a77 1
	install -m 400 -c ${.CURDIR}/../README ${MNT}/README
@


1.34
log
@Whoops!  cu == tip.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.33 1994/11/11 08:33:01 jkh Exp $
d20 1
a20 1
CPIO1= cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
@


1.33
log
@Add cu (and cu slip dialog) so that poor SLIP users can dial their modems
before initiating a slip transfer.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.32 1994/11/10 23:43:22 jkh Exp $
d20 2
a21 2
CPIO1= cat chmod cp cu date dd df echo ed expr hostname kill ln ls mkdir
CPIO1+= mt mv rcp rm rmdir sh sleep stty sync test [ -sh
@


1.32
log
@Experimental floppy-tape suport.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.31 1994/11/10 05:27:56 jkh Exp $
d20 1
a20 1
CPIO1= cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
@


1.31
log
@Enable support for Lucifer's floppies.
More stylistic drick-drack in bininst.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.30 1994/11/09 23:07:04 phk Exp $
d25 1
a25 1
CPIO1+= rdump rrestore halt
@


1.30
log
@Really build bindist...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.29 1994/11/09 20:27:32 phk Exp $
d4 1
d6 1
d8 1
a8 1
.if 1
@


1.29
log
@some things Jordan forgot...
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.28 1994/11/08 18:36:45 jkh Exp $
d122 1
a122 1
	(cd ${DESTDIR}; \
@


1.28
log
@Add full support for NFS installation.  Add support for CD installation,
even though we don't use it yet (I may burn some one-offs tonite though! :-).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.27 1994/11/08 13:54:21 jkh Exp $
d4 3
d8 5
d14 1
a15 2
FLOPPY=		fd0
DDBS=		15k
d34 2
@


1.27
log
@It *is* OK to strip the kernel after all.  Poul has one in his bindist
that overwrites this one anyway, so..
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.26 1994/11/08 11:29:35 jkh Exp $
d4 1
a4 1
FDLABEL=	fd1440
d8 1
a8 1
DDBS=		18k
@


1.26
log
@Make sure the extract.sh gets into the bindist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.25 1994/11/08 11:14:43 jkh Exp $
d52 1
@


1.25
log
@11th hour fixes to get the install just right.  Fix some bugs
in how ftp transfers were done, make sure all output goes to /dev/ttyv1
for debugging, add in the parallel-IP support so Poul will stop
squeaking (for the moment, anyway).
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.24 1994/11/07 11:30:13 jkh Exp $
d112 4
a115 2
	( cd ${.CURDIR}/../etc ; \
		${MAKE} bin-tarball DESTDIR=${RELEASEDIR}/filesys )
@


1.24
log
@Fix a botch Poul introduced.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.23 1994/11/07 09:54:23 jkh Exp $
d4 1
a4 1
FDLABEL=	fd1200
d8 1
a8 1
DDBS=		15k
d17 1
a17 1
CPIO1+= ftp rsh sed telnet rlogin 
d19 1
a19 1
CPIO2=  etc/services
@


1.23
log
@Remove extract.sh from CPIO3 - there's no reason for it on the cpio dist.
It's supposed to come with a package or *dist.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.22 1994/11/07 05:02:42 phk Exp $
d74 1
a74 1
	gzip -9 -v < boot_.flp > boot_.flp.gz
@


1.22
log
@cleanup
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.21 1994/11/07 03:53:13 phk Exp $
d21 1
a21 1
CPIO3=	extract.sh bininst
@


1.21
log
@Get us back on fd1200 floppies.  Fix extract.sh to right filenames.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.20 1994/11/06 23:47:04 phk Exp $
d24 1
a24 1
CLEANFILES+=	boot_flp boot_${FDLABEL}.flp cpio_flp_1
d73 2
a74 2
	dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot_${FDLABEL}.flp
	gzip -9 -v < boot_${FDLABEL}.flp > boot_${FDLABEL}.flp.gz
@


1.20
log
@Add extract-script.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.19 1994/11/06 11:24:58 jkh Exp $
a3 4
#For a 1.2MB boot floppy.
#SMALL_FLOPPY=	yes

.if defined(SMALL_FLOPPY)
a5 4
.else
FDLABEL=	fd1440
DDCOUNT=	96
.endif
d21 1
a21 1
CPIO3=	extract.sh
d42 1
a42 3
boot.flp: boot_${FDLABEL}.flp

boot_${FDLABEL}.flp:
d45 1
a45 1
	echo y | fdformat ${FLOPPY}
d49 1
a49 1
	newfs -c 80 -b 4096 -f 512 -i 4096 -m 0 -o space /dev/r${FLOPPY}
a63 2
	install -m 500 -c ${.CURDIR}/bininst ${MNT}/stand/bininst
.if !defined(SMALL_FLOPPY)
a64 1
.endif
a65 1
.if !defined(SMALL_FLOPPY)
a69 1
.endif
d75 1
a75 1
	ls -l boot.flp*
a89 3

small.floppies:
	${MAKE} SMALL_FLOPPY=yes crunch boot.flp cpio.flp
@


1.19
log
@Default boot floppies are 1.44MB again - I ran out of space.  HOWEVER,
there is an extra target now for creating a 1.2MB floppy at the cost
of a few of the doc files.  Just do a `make small.floppies' instead of
a `make floppies' to make a small set.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.18 1994/11/06 04:07:38 jkh Exp $
d29 1
d93 1
d95 2
a96 2
	for i in ${CPIO1} ; do rm -f ./$$i ; ln cpio_flp_1 ./$$i ; done
	ls ${CPIO1} ${CPIO2} | cpio -H newc -oa | gzip -9 > cpio.flp
d112 1
a112 2
	( cd ${.CURDIR} ; ${MAKE} cleandist)
	( cd ${.CURDIR} ; ${MAKE} obj)
d120 1
@


1.18
log
@1. The gzip'd docs aren't going to work - there's no scroll-back for
   process output dialogs (or any way to stop the output, for that matter!).
2. Install the very first cut of my bininst stage6 script.  VERY rough,
   it doesn't actually do anything just yet, but I need to make sure that
   it's at least executed for the moment.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.17 1994/11/06 02:37:25 jkh Exp $
d4 11
a15 1
FDLABEL=	fd1200
a16 1
DDCOUNT=	80
d31 1
a31 1
CLEANFILES+=	boot_flp cpio_flp_1
d49 3
a51 1
boot.flp:
d74 1
d76 1
d78 1
d83 1
d87 2
a88 2
	dd if=/dev/r${FLOPPY} bs=${DDBS} count=${DDCOUNT} of=boot.flp
	gzip -9 -v < boot.flp > boot.flp.gz
d103 3
@


1.17
log
@Make a link for gzip so we actually have it available on the boot floppy.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.16 1994/11/06 01:19:48 jkh Exp $
d62 7
a68 6
	gzip -9 -c ${.CURDIR}/../COPYRIGHT > ${MNT}/COPYRIGHT.gz
	gzip -9 -c ${.CURDIR}/../README > ${MNT}/README.gz
	gzip -9 -c ${.CURDIR}/../share/FAQ/DISKSPACE.FAQ > \
		${MNT}/DISKSPACE.FAQ.gz
	gzip -9 -c ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD > \
		${MNT}/RELNOTES.FreeBSD.gz
@


1.16
log
@Don't strip kernel after all - perhaps a bad idea.  People may be stuck
with it for awhile.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.15 1994/11/06 00:21:39 jkh Exp $
d22 1
a22 1
CLEANFILES+=	root_flp cpio_flp_1
d61 1
@


1.15
log
@Twiddle newfs parameters to select for space optimization.  We're
back under 1.2MB again.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.14 1994/11/06 00:10:00 jkh Exp $
d11 1
a11 1
CPIO1+= mt mv pwd rcp rm rmdir sh sleep stty sync test [ -sh
d13 2
a14 2
CPIO1+= mknod mount mount_cd9660 mount_msdos mount_nfs ncftp newfs ping reboot
CPIO1+= restore slattach swapon umount route
a49 1
	strip -x ${.CURDIR}/../sys/compile/GENERIC/kernel
@


1.14
log
@Strip kernel before installation.  Anything to bum a few more bytes..
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.13 1994/11/05 23:05:53 jkh Exp $
d47 1
a47 1
	newfs -c 80 -b 4096 -f 512 /dev/r${FLOPPY}
@


1.13
log
@Install docs gzip'd.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.12 1994/11/05 08:49:05 jkh Exp $
d50 1
@


1.12
log
@Add ncftp.  I needed it for "hands-free" ftp operation from the install
script.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1994/11/05 08:16:01 jkh Exp $
d61 6
a66 6
	install -c -m 400 ${.CURDIR}/../COPYRIGHT ${MNT}/COPYRIGHT
	install -c -m 400 ${.CURDIR}/../README ${MNT}/README
	install -c -m 400 ${.CURDIR}/../share/FAQ/DISKSPACE.FAQ \
		${MNT}/DISKSPACE.FAQ
	install -c -m 400 ${.CURDIR}/../share/FAQ/RELNOTES.FreeBSD \
		${MNT}/RELNOTES.FreeBSD
@


1.11
log
@Add the release notes, so I can have the user read these too.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1994/11/05 07:55:30 jkh Exp $
d13 1
a13 1
CPIO1+= mknod mount mount_cd9660 mount_msdos mount_nfs newfs ping reboot
@


1.10
log
@Add new mount_* commands.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1994/11/05 07:52:14 jkh Exp $
d65 2
@


1.9
log
@Add slattach.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1994/11/05 06:02:18 phk Exp $
d13 2
a14 1
CPIO1+= mknod mount newfs ping reboot restore slattach swapon umount route
@


1.8
log
@put the DISKSPACE.FAQ on the boot.flp
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.7 1994/10/29 12:48:12 phk Exp $
d13 1
a13 1
CPIO1+= mknod mount newfs ping reboot restore swapon umount route
@


1.7
log
@The latest hacks to make a release with.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1994/10/28 06:42:38 jkh Exp $
d20 2
a21 1
CLEANFILES=	*.o *.c *.cache *.mk *.lo ${CPIO1} *.flp *.gz
d62 2
d87 2
@


1.6
log
@But just a little more merciless.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1994/10/28 06:41:47 jkh Exp $
d17 2
d20 1
a20 1
CLEANFILES=	*.o *.c *.cache *.mk
a36 7
	(cp ${.CURDIR}/../sys/compile/GENERIC/kernel .)
.if defined(DESTDIR) && !empty(DESTDIR)
	(cd ${.CURDIR}/../sys/compile/GENERIC; \
    	install -c -o ${BINOWN} -g ${BINGRP} -m 755 kernel {DESTDIR}/kernel )
.else
	echo "WARNING: GENERIC kernel not installed to /kernel"
.endif
d41 1
a41 1
	# echo y | fdformat ${FLOPPY}
d51 1
a51 1
		ls console tty null zero \
d69 1
d71 1
a71 1
	ls ${CPIO1} | cpio -H newc -oa | gzip -9 > cpio.flp
d81 23
a103 1
floppies: kernel crunch boot.flp cpio.flp
@


1.5
log
@Make CLEANFILES just a little bit less psychotic.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1994/10/26 05:41:47 phk Exp $
d18 1
a18 1
CLEANFILES=	*.o *.c *.cache
@


1.4
log
@Will make two-floppy set now.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1994/10/09 20:31:01 rgrimes Exp $
d18 1
a18 1
CLEANFILES=	*
@


1.3
log
@1.  Remove comments about broken procfs, it has been fixed.

2.  Remove comments about exit status of 2 from mtree, that won't
    happen any more.

3.  Update mtree commands to use new -U option.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1994/09/23 09:01:20 rgrimes Exp $
d4 16
d31 57
@


1.2
log
@Spell hierarchy correctly :-(.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1994/09/23 08:28:25 rgrimes Exp $
d7 3
a9 10
	# If this exits with an error code of 2 your file hieriarchy was
	# modified for some reason, please read the mtree output to understand
	# what was changed, then run the command again.
	#
	# XXX This will currently error out if you have a procfs mounted,
	# unmount it to get past this problem until procfs is fixed.
	#
	mtree -deu -f ${MTREE_DIR}/BSD.root.dist  -p ${DESTDIR}/
	mtree -deu -f ${MTREE_DIR}/BSD.var.dist   -p ${DESTDIR}/var
	mtree -deu -f ${MTREE_DIR}/BSD.usr.dist   -p ${DESTDIR}/usr
d11 1
a11 1
	mtree -deu -f ${MTREE_DIR}/BSD.local.dist -p ${DESTDIR}/usr/local
d13 2
a14 1
	cd ${DESTDIR}/ && rm -f ${DESTDIR}/sys && ln -s usr/src/sys sys
@


1.1
log
@This is the very small start of moving all the make release related stuff
from etc/Makefile to release/Makefile.  Right now this has one
target (hieriarchy:) that replaces distrib-dirs:.
@
text
@d1 1
a1 1
#	$Id$
d6 1
a6 1
hieriarchy:
@
