head	1.93;
access;
symbols
	RELENG_8_4:1.92.0.2
	RELENG_9_1_0_RELEASE:1.88.2.2.2.2
	RELENG_9_1:1.88.2.2.0.2
	RELENG_9_1_BP:1.88.2.2
	RELENG_8_3_0_RELEASE:1.84.2.2.4.1
	RELENG_8_3:1.84.2.2.0.4
	RELENG_8_3_BP:1.84.2.2
	RELENG_9_0_0_RELEASE:1.88.2.1.2.1
	RELENG_9_0:1.88.2.1.0.2
	RELENG_9_0_BP:1.88.2.1
	RELENG_9:1.88.0.2
	RELENG_9_BP:1.88
	RELENG_7_4_0_RELEASE:1.81.2.1.2.2
	RELENG_8_2_0_RELEASE:1.84.2.2.2.1
	RELENG_7_4:1.81.2.1.0.2
	RELENG_7_4_BP:1.81.2.1
	RELENG_8_2:1.84.2.2.0.2
	RELENG_8_2_BP:1.84.2.2
	RELENG_8_1_0_RELEASE:1.84.2.1.4.1
	RELENG_8_1:1.84.2.1.0.4
	RELENG_8_1_BP:1.84.2.1
	RELENG_7_3_0_RELEASE:1.81.10.1
	RELENG_7_3:1.81.0.10
	RELENG_7_3_BP:1.81
	RELENG_8_0_0_RELEASE:1.84.2.1.2.1
	RELENG_8_0:1.84.2.1.0.2
	RELENG_8_0_BP:1.84.2.1
	RELENG_8:1.84.0.2
	RELENG_8_BP:1.84
	RELENG_7_2_0_RELEASE:1.81.8.1
	RELENG_7_2:1.81.0.8
	RELENG_7_2_BP:1.81
	RELENG_7_1_0_RELEASE:1.81.6.1
	RELENG_6_4_0_RELEASE:1.73.2.1.10.1
	RELENG_7_1:1.81.0.6
	RELENG_7_1_BP:1.81
	RELENG_6_4:1.73.2.1.0.10
	RELENG_6_4_BP:1.73.2.1
	RELENG_7_0_0_RELEASE:1.81
	RELENG_6_3_0_RELEASE:1.73.2.1
	RELENG_7_0:1.81.0.4
	RELENG_7_0_BP:1.81
	RELENG_6_3:1.73.2.1.0.8
	RELENG_6_3_BP:1.73.2.1
	RELENG_7:1.81.0.2
	RELENG_7_BP:1.81
	RELENG_6_2_0_RELEASE:1.73.2.1
	RELENG_6_2:1.73.2.1.0.6
	RELENG_6_2_BP:1.73.2.1
	RELENG_5_5_0_RELEASE:1.69.2.2
	RELENG_5_5:1.69.2.2.0.4
	RELENG_5_5_BP:1.69.2.2
	RELENG_6_1_0_RELEASE:1.73.2.1
	RELENG_6_1:1.73.2.1.0.4
	RELENG_6_1_BP:1.73.2.1
	RELENG_6_0_0_RELEASE:1.73.2.1
	RELENG_6_0:1.73.2.1.0.2
	RELENG_6_0_BP:1.73.2.1
	RELENG_6:1.73.0.2
	RELENG_6_BP:1.73
	RELENG_5_4_0_RELEASE:1.69.2.2
	RELENG_5_4:1.69.2.2.0.2
	RELENG_5_4_BP:1.69.2.2
	RELENG_4_11_0_RELEASE:1.15.2.15
	RELENG_4_11:1.15.2.15.0.4
	RELENG_4_11_BP:1.15.2.15
	RELENG_5_3_0_RELEASE:1.69
	RELENG_5_3:1.69.0.4
	RELENG_5_3_BP:1.69
	RELENG_5:1.69.0.2
	RELENG_5_BP:1.69
	RELENG_4_10_0_RELEASE:1.15.2.15
	RELENG_4_10:1.15.2.15.0.2
	RELENG_4_10_BP:1.15.2.15
	RELENG_5_2_1_RELEASE:1.65
	RELENG_5_2_0_RELEASE:1.65
	RELENG_5_2:1.65.0.2
	RELENG_5_2_BP:1.65
	RELENG_4_9_0_RELEASE:1.15.2.14
	RELENG_4_9:1.15.2.14.0.4
	RELENG_4_9_BP:1.15.2.14
	RELENG_5_1_0_RELEASE:1.62
	RELENG_5_1:1.62.0.2
	RELENG_5_1_BP:1.62
	RELENG_4_8_0_RELEASE:1.15.2.14
	RELENG_4_8:1.15.2.14.0.2
	RELENG_4_8_BP:1.15.2.14
	RELENG_5_0_0_RELEASE:1.51
	RELENG_5_0:1.51.0.2
	RELENG_5_0_BP:1.51
	RELENG_4_7_0_RELEASE:1.15.2.13
	RELENG_4_7:1.15.2.13.0.2
	RELENG_4_7_BP:1.15.2.13
	RELENG_4_6_2_RELEASE:1.15.2.11.6.1
	RELENG_4_6_1_RELEASE:1.15.2.11
	RELENG_4_6_0_RELEASE:1.15.2.11
	RELENG_4_6:1.15.2.11.0.6
	RELENG_4_6_BP:1.15.2.11
	RELENG_4_5_0_RELEASE:1.15.2.11
	RELENG_4_5:1.15.2.11.0.4
	RELENG_4_5_BP:1.15.2.11
	RELENG_4_4_0_RELEASE:1.15.2.11
	RELENG_4_4:1.15.2.11.0.2
	RELENG_4_4_BP:1.15.2.11
	RELENG_4_3_0_RELEASE:1.15.2.10
	RELENG_4_3:1.15.2.10.0.2
	RELENG_4_3_BP:1.15.2.10
	RELENG_4_2_0_RELEASE:1.15.2.5
	RELENG_4_1_1_RELEASE:1.15.2.5
	PRE_SMPNG:1.23
	RELENG_4_1_0_RELEASE:1.15.2.1
	RELENG_4_0_0_RELEASE:1.15
	RELENG_4:1.15.0.2
	RELENG_4_BP:1.15;
locks; strict;
comment	@# @;


1.93
date	2013.04.28.00.30.00;	author svnexp;	state Exp;
branches;
next	1.92;

1.92
date	2013.02.14.01.22.10;	author svnexp;	state Exp;
branches
	1.92.2.1;
next	1.91;

1.91
date	2012.11.17.01.50.26;	author svnexp;	state Exp;
branches;
next	1.90;

1.90
date	2012.07.12.19.30.53;	author jkim;	state Exp;
branches;
next	1.89;

1.89
date	2011.12.06.11.28.17;	author kib;	state Exp;
branches;
next	1.88;

1.88
date	2011.02.15.22.03.09;	author dim;	state Exp;
branches
	1.88.2.1;
next	1.87;

1.87
date	2010.08.28.15.03.11;	author nwhitehorn;	state Exp;
branches;
next	1.86;

1.86
date	2010.08.23.22.24.11;	author imp;	state Exp;
branches;
next	1.85;

1.85
date	2010.08.12.20.46.49;	author will;	state Exp;
branches;
next	1.84;

1.84
date	2009.07.19.17.25.24;	author kensmith;	state Exp;
branches
	1.84.2.1;
next	1.83;

1.83
date	2009.07.11.22.30.37;	author cperciva;	state Exp;
branches;
next	1.82;

1.82
date	2009.06.14.19.46.18;	author simon;	state Exp;
branches;
next	1.81;

1.81
date	2007.05.09.19.37.00;	author gnn;	state Exp;
branches
	1.81.2.1
	1.81.6.1
	1.81.8.1
	1.81.10.1;
next	1.80;

1.80
date	2007.03.15.20.10.13;	author simon;	state Exp;
branches;
next	1.79;

1.79
date	2006.10.01.07.56.43;	author simon;	state Exp;
branches;
next	1.78;

1.78
date	2006.07.29.19.41.32;	author simon;	state Exp;
branches;
next	1.77;

1.77
date	2006.04.10.08.47.18;	author ru;	state Exp;
branches;
next	1.76;

1.76
date	2006.03.18.11.01.06;	author ru;	state Exp;
branches;
next	1.75;

1.75
date	2006.03.17.18.54.31;	author ru;	state Exp;
branches;
next	1.74;

1.74
date	2005.07.22.17.19.05;	author kensmith;	state Exp;
branches;
next	1.73;

1.73
date	2005.02.25.06.04.09;	author nectar;	state Exp;
branches
	1.73.2.1;
next	1.72;

1.72
date	2005.02.16.20.55.47;	author ru;	state Exp;
branches;
next	1.71;

1.71
date	2004.12.21.09.33.45;	author ru;	state Exp;
branches;
next	1.70;

1.70
date	2004.10.24.15.32.38;	author ru;	state Exp;
branches;
next	1.69;

1.69
date	2004.08.14.13.38.35;	author markm;	state Exp;
branches
	1.69.2.1;
next	1.68;

1.68
date	2004.04.19.11.35.15;	author ru;	state Exp;
branches;
next	1.67;

1.67
date	2004.04.14.23.26.26;	author peter;	state Exp;
branches;
next	1.66;

1.66
date	2004.03.23.08.32.29;	author markm;	state Exp;
branches;
next	1.65;

1.65
date	2003.08.17.08.28.46;	author gordon;	state Exp;
branches;
next	1.64;

1.64
date	2003.06.01.23.39.16;	author obrien;	state Exp;
branches;
next	1.63;

1.63
date	2003.06.01.23.37.46;	author obrien;	state Exp;
branches;
next	1.62;

1.62
date	2003.04.13.14.13.28;	author bde;	state Exp;
branches;
next	1.61;

1.61
date	2003.03.11.17.19.37;	author obrien;	state Exp;
branches;
next	1.60;

1.60
date	2003.03.10.19.43.56;	author obrien;	state Exp;
branches;
next	1.59;

1.59
date	2003.02.27.23.07.25;	author ru;	state Exp;
branches;
next	1.58;

1.58
date	2003.02.18.17.29.04;	author nectar;	state Exp;
branches;
next	1.57;

1.57
date	2003.02.18.16.07.33;	author nectar;	state Exp;
branches;
next	1.56;

1.56
date	2003.02.18.14.23.11;	author nectar;	state Exp;
branches;
next	1.55;

1.55
date	2003.02.10.19.57.49;	author nectar;	state Exp;
branches;
next	1.54;

1.54
date	2003.01.29.18.14.28;	author nectar;	state Exp;
branches;
next	1.53;

1.53
date	2003.01.29.13.35.40;	author nectar;	state Exp;
branches;
next	1.52;

1.52
date	2003.01.28.22.58.01;	author markm;	state Exp;
branches;
next	1.51;

1.51
date	2002.11.21.08.48.08;	author kris;	state Exp;
branches
	1.51.2.1;
next	1.50;

1.50
date	2002.11.06.22.54.58;	author obrien;	state Exp;
branches;
next	1.49;

1.49
date	2002.09.25.09.58.00;	author markm;	state Exp;
branches;
next	1.48;

1.48
date	2002.07.30.14.47.24;	author nectar;	state Exp;
branches;
next	1.47;

1.47
date	2002.07.22.10.59.22;	author ru;	state Exp;
branches;
next	1.46;

1.46
date	2002.05.14.19.39.00;	author markm;	state Exp;
branches;
next	1.45;

1.45
date	2002.05.12.16.00.56;	author ru;	state Exp;
branches;
next	1.44;

1.44
date	2002.05.03.00.14.39;	author peter;	state Exp;
branches;
next	1.43;

1.43
date	2002.03.23.18.01.01;	author des;	state Exp;
branches;
next	1.42;

1.42
date	2002.03.17.09.53.21;	author bde;	state Exp;
branches;
next	1.41;

1.41
date	2002.03.16.15.12.13;	author markm;	state Exp;
branches;
next	1.40;

1.40
date	2002.01.27.03.36.57;	author kris;	state Exp;
branches;
next	1.39;

1.39
date	2001.05.20.03.43.14;	author kris;	state Exp;
branches;
next	1.38;

1.38
date	2001.03.26.14.53.24;	author ru;	state Exp;
branches;
next	1.37;

1.37
date	2001.03.14.10.10.11;	author kris;	state Exp;
branches;
next	1.36;

1.36
date	2001.03.08.07.57.49;	author kris;	state Exp;
branches;
next	1.35;

1.35
date	2001.03.04.23.14.50;	author kris;	state Exp;
branches;
next	1.34;

1.34
date	2001.03.04.06.51.51;	author kris;	state Exp;
branches;
next	1.33;

1.33
date	2001.03.04.05.51.43;	author kris;	state Exp;
branches;
next	1.32;

1.32
date	2001.02.25.21.42.12;	author kris;	state Exp;
branches;
next	1.31;

1.31
date	2001.02.20.01.50.25;	author kris;	state Exp;
branches;
next	1.30;

1.30
date	2001.02.19.23.31.53;	author kris;	state Exp;
branches;
next	1.29;

1.29
date	2001.02.19.03.59.05;	author kris;	state Exp;
branches;
next	1.28;

1.28
date	2000.11.15.07.45.23;	author ru;	state Exp;
branches;
next	1.27;

1.27
date	2000.11.14.22.12.02;	author kris;	state Exp;
branches;
next	1.26;

1.26
date	2000.11.13.02.21.37;	author kris;	state Exp;
branches;
next	1.25;

1.25
date	2000.09.17.06.45.27;	author kris;	state Exp;
branches;
next	1.24;

1.24
date	2000.09.10.00.09.36;	author kris;	state Exp;
branches;
next	1.23;

1.23
date	2000.08.24.19.06.55;	author green;	state Exp;
branches;
next	1.22;

1.22
date	2000.08.23.11.41.00;	author green;	state Exp;
branches;
next	1.21;

1.21
date	2000.08.04.04.25.59;	author green;	state Exp;
branches;
next	1.20;

1.20
date	2000.07.16.05.52.52;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	2000.07.14.09.18.21;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	2000.06.24.06.50.57;	author markm;	state Exp;
branches;
next	1.17;

1.17
date	2000.04.13.07.36.09;	author kris;	state Exp;
branches;
next	1.16;

1.16
date	2000.04.11.08.28.47;	author obrien;	state Exp;
branches;
next	1.15;

1.15
date	2000.03.02.06.06.35;	author kris;	state Exp;
branches
	1.15.2.1;
next	1.14;

1.14
date	2000.02.29.09.56.11;	author markm;	state Exp;
branches;
next	1.13;

1.13
date	2000.02.28.19.24.52;	author markm;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.26.13.12.56;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	2000.02.25.14.08.34;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	2000.02.25.08.18.42;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	2000.02.25.05.35.37;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	2000.02.24.18.59.30;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	2000.02.24.10.21.56;	author markm;	state Exp;
branches;
next	1.6;

1.6
date	2000.01.20.07.27.38;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2000.01.16.05.23.21;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2000.01.16.05.19.27;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.16.02.19.55;	author kris;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.14.05.51.14;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.14.05.49.17;	author kris;	state Exp;
branches;
next	;

1.92.2.1
date	2013.02.14.01.22.10;	author svnexp;	state dead;
branches;
next	1.92.2.2;

1.92.2.2
date	2013.03.28.13.03.37;	author svnexp;	state Exp;
branches;
next	;

1.88.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.88.2.1.2.1;
next	1.88.2.2;

1.88.2.2
date	2012.01.03.10.02.44;	author kib;	state Exp;
branches
	1.88.2.2.2.1;
next	1.88.2.3;

1.88.2.3
date	2012.11.17.11.36.33;	author svnexp;	state Exp;
branches;
next	;

1.88.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.88.2.1.2.2;

1.88.2.1.2.2
date	2012.11.17.08.36.32;	author svnexp;	state Exp;
branches;
next	;

1.88.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.88.2.2.2.2;

1.88.2.2.2.2
date	2012.11.17.08.47.22;	author svnexp;	state Exp;
branches;
next	;

1.84.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.84.2.1.2.1
	1.84.2.1.4.1;
next	1.84.2.2;

1.84.2.2
date	2010.11.26.22.50.58;	author simon;	state Exp;
branches
	1.84.2.2.2.1
	1.84.2.2.4.1;
next	1.84.2.3;

1.84.2.3
date	2012.11.17.10.36.17;	author svnexp;	state Exp;
branches;
next	;

1.84.2.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.84.2.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.84.2.2.2.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.84.2.2.4.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.84.2.2.4.2;

1.84.2.2.4.2
date	2012.11.17.08.24.57;	author svnexp;	state Exp;
branches;
next	;

1.81.2.1
date	2010.11.28.13.45.51;	author simon;	state Exp;
branches
	1.81.2.1.2.1;
next	1.81.2.2;

1.81.2.2
date	2011.01.18.22.19.55;	author simon;	state Exp;
branches;
next	1.81.2.3;

1.81.2.3
date	2012.11.17.08.03.44;	author svnexp;	state Exp;
branches;
next	;

1.81.2.1.2.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.81.2.1.2.2;

1.81.2.1.2.2
date	2011.01.19.07.44.47;	author simon;	state Exp;
branches;
next	1.81.2.1.2.3;

1.81.2.1.2.3
date	2012.11.17.08.16.55;	author svnexp;	state Exp;
branches;
next	;

1.81.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.81.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.81.10.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.73.2.1
date	2005.07.22.17.29.09;	author kensmith;	state Exp;
branches
	1.73.2.1.10.1;
next	1.73.2.2;

1.73.2.2
date	2012.11.17.07.41.25;	author svnexp;	state Exp;
branches;
next	;

1.73.2.1.10.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.69.2.1
date	2005.02.13.07.23.19;	author obrien;	state Exp;
branches;
next	1.69.2.2;

1.69.2.2
date	2005.03.01.16.47.38;	author nectar;	state Exp;
branches;
next	;

1.51.2.1
date	2003.02.20.17.14.23;	author nectar;	state Exp;
branches;
next	;

1.15.2.1
date	2000.04.12.06.37.15;	author obrien;	state Exp;
branches;
next	1.15.2.2;

1.15.2.2
date	2000.08.20.09.09.46;	author kris;	state Exp;
branches;
next	1.15.2.3;

1.15.2.3
date	2000.08.25.03.58.59;	author green;	state Exp;
branches;
next	1.15.2.4;

1.15.2.4
date	2000.09.18.03.00.05;	author kris;	state Exp;
branches;
next	1.15.2.5;

1.15.2.5
date	2000.09.22.09.43.37;	author kris;	state Exp;
branches;
next	1.15.2.6;

1.15.2.6
date	2000.11.26.11.34.22;	author kris;	state Exp;
branches;
next	1.15.2.7;

1.15.2.7
date	2001.03.04.09.41.39;	author kris;	state Exp;
branches;
next	1.15.2.8;

1.15.2.8
date	2001.03.08.07.56.37;	author kris;	state Exp;
branches;
next	1.15.2.9;

1.15.2.9
date	2001.03.08.08.09.30;	author kris;	state Exp;
branches;
next	1.15.2.10;

1.15.2.10
date	2001.03.19.21.42.02;	author kris;	state Exp;
branches;
next	1.15.2.11;

1.15.2.11
date	2001.07.04.23.24.41;	author kris;	state Exp;
branches
	1.15.2.11.2.1
	1.15.2.11.4.1
	1.15.2.11.6.1;
next	1.15.2.12;

1.15.2.12
date	2002.07.22.14.21.50;	author ru;	state Exp;
branches;
next	1.15.2.13;

1.15.2.13
date	2002.07.30.22.06.11;	author nectar;	state Exp;
branches
	1.15.2.13.2.1;
next	1.15.2.14;

1.15.2.14
date	2003.02.14.22.38.14;	author nectar;	state Exp;
branches;
next	1.15.2.15;

1.15.2.15
date	2003.11.27.15.05.36;	author ru;	state Exp;
branches;
next	1.15.2.16;

1.15.2.16
date	2012.11.17.07.24.38;	author svnexp;	state Exp;
branches;
next	;

1.15.2.11.2.1
date	2002.07.31.16.41.27;	author nectar;	state Exp;
branches;
next	;

1.15.2.11.4.1
date	2002.07.31.14.05.34;	author nectar;	state Exp;
branches;
next	;

1.15.2.11.6.1
date	2002.07.31.02.55.11;	author nectar;	state Exp;
branches;
next	1.15.2.11.6.2;

1.15.2.11.6.2
date	2003.02.21.16.33.02;	author nectar;	state Exp;
branches;
next	;

1.15.2.13.2.1
date	2003.02.20.20.42.05;	author nectar;	state Exp;
branches;
next	;


desc
@@


1.93
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/249971
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# $FreeBSD: head/secure/lib/libcrypto/Makefile 249971 2013-04-27 05:44:39Z ed $

SHLIBDIR?=	/lib
SUBDIR=		engines

.include <bsd.own.mk>

LIB=		crypto
SHLIB_MAJOR=	7
ALLOW_SHARED_TEXTREL=

NO_LINT=

.if exists(Makefile.man)
.include "Makefile.man"
.endif
.if defined(NOTYET)
MAN+=	config.5 des_modes.7
.endif

.include "Makefile.inc"

# base sources
SRCS=	cpt_err.c cryptlib.c cversion.c ex_data.c mem.c mem_dbg.c o_dir.c \
	o_fips.c o_init.c o_str.c o_time.c uid.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	x86_64cpuid.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	x86cpuid.s
.else
SRCS+=	mem_clr.c
.endif
INCS+=	crypto.h ebcdic.h opensslv.h ossl_typ.h symhacks.h ../e_os2.h

# aes
SRCS+=	aes_cfb.c aes_ctr.c aes_ecb.c aes_ige.c aes_misc.c aes_ofb.c aes_wrap.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	aes-x86_64.S aesni-sha1-x86_64.S aesni-x86_64.S bsaes-x86_64.S \
	vpaes-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	aes-586.s aesni-x86.s vpaes-x86.s
.else
SRCS+=	aes_cbc.c aes_core.c
.endif
INCS+=	aes.h

# asn1
SRCS+=	a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c a_dup.c a_enum.c \
	a_gentm.c a_i2d_fp.c a_int.c a_mbstr.c a_object.c a_octet.c a_print.c \
	a_set.c a_sign.c a_strex.c a_strnid.c a_time.c a_type.c a_utctm.c \
	a_utf8.c a_verify.c ameth_lib.c asn1_err.c asn1_gen.c asn1_lib.c \
	asn1_par.c asn_mime.c asn_moid.c asn_pack.c bio_asn1.c bio_ndef.c \
	d2i_pr.c d2i_pu.c evp_asn1.c f_enum.c f_int.c f_string.c i2d_pr.c \
	i2d_pu.c n_pkey.c nsseq.c p5_pbe.c p5_pbev2.c p8_pkey.c t_bitst.c \
	t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c tasn_dec.c \
	tasn_enc.c tasn_fre.c tasn_new.c tasn_prn.c tasn_typ.c tasn_utl.c \
	x_algor.c x_attrib.c x_bignum.c x_crl.c x_exten.c x_info.c x_long.c \
	x_name.c x_nx509.c x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c \
	x_val.c x_x509.c x_x509a.c
INCS+=	asn1.h asn1_mac.h asn1t.h

# bf
SRCS+=	bf_cfb64.c bf_ecb.c bf_ofb64.c bf_skey.c
.if ${MACHINE_CPUARCH} == "i386"
.if ${MACHINE_CPU:Mi686}
SRCS+=	bf-686.s
.else
SRCS+=	bf-586.s
.endif
.else
SRCS+=	bf_enc.c
.endif
INCS+=	blowfish.h

# bio
SRCS+=	b_dump.c b_print.c b_sock.c bf_buff.c bf_nbio.c bf_null.c bio_cb.c \
	bio_err.c bio_lib.c bss_acpt.c bss_bio.c bss_conn.c bss_dgram.c \
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.c
INCS+=	bio.h

# bn
SRCS+=	bn_add.c bn_blind.c bn_const.c bn_ctx.c bn_depr.c bn_div.c bn_err.c \
	bn_exp.c bn_exp2.c bn_gcd.c bn_gf2m.c bn_kron.c bn_lib.c bn_mod.c \
	bn_mont.c bn_mpi.c bn_mul.c bn_nist.c bn_prime.c bn_print.c bn_rand.c \
	bn_recp.c bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c bn_x931p.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	modexp512-x86_64.S x86_64-gcc.c x86_64-gf2m.S x86_64-mont.S \
	x86_64-mont5.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	bn-586.s co-586.s x86-gf2m.s x86-mont.s
.else
SRCS+=	bn_asm.c
.endif
INCS+=	bn.h

# buffer
SRCS+=	buf_err.c buf_str.c buffer.c
INCS+=	buffer.h

# camellia
SRCS+=	cmll_cfb.c cmll_ctr.c cmll_ecb.c cmll_ofb.c cmll_utl.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	cmll_misc.c cmll-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	cmll-x86.s
.else
SRCS+=	camellia.c cmll_cbc.c cmll_misc.c
.endif
INCS+=	camellia.h

# cast
SRCS+=	c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
INCS+=	cast.h

# cmac
SRCS+=	cm_ameth.c cm_pmeth.c cmac.c
INCS+=	cmac.h

# cms
SRCS+=	cms_asn1.c cms_att.c cms_dd.c cms_enc.c cms_env.c cms_err.c \
	cms_ess.c cms_io.c cms_lib.c cms_pwri.c cms_sd.c cms_smime.c
INCS+=	cms.h

# comp
SRCS+=	c_rle.c c_zlib.c comp_err.c comp_lib.c
INCS+=	comp.h

# conf
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c conf_mall.c conf_mod.c \
	conf_sap.c
INCS+=	conf.h conf_api.h

# des
SRCS+=	cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c des_old.c \
	des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c \
	fcrypt.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c qud_cksm.c \
	rand_key.c read2pwd.c rpc_enc.c set_key.c str2key.c xcbc_enc.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	crypt586.s des-586.s
.else
SRCS+=	des_enc.c fcrypt_b.c
.endif
INCS+=	des.h des_old.h

# dh
SRCS+=	dh_ameth.c dh_asn1.c dh_check.c dh_depr.c dh_err.c dh_gen.c dh_key.c \
	dh_lib.c dh_pmeth.c dh_prn.c
INCS+=	dh.h

# dsa
SRCS+=	dsa_ameth.c dsa_asn1.c dsa_depr.c dsa_err.c dsa_gen.c dsa_key.c \
	dsa_lib.c dsa_ossl.c dsa_pmeth.c dsa_prn.c dsa_sign.c dsa_vrf.c
INCS+=	dsa.h

# dso
SRCS+=	dso_dlfcn.c dso_err.c dso_lib.c dso_openssl.c
INCS+=	dso.h

# ec
SRCS+=	ec2_mult.c ec2_oct.c ec2_smpl.c ec_ameth.c ec_asn1.c ec_check.c \
	ec_curve.c ec_cvt.c ec_err.c ec_key.c ec_lib.c ec_mult.c ec_oct.c \
	ec_pmeth.c ec_print.c eck_prn.c ecp_mont.c ecp_nist.c ecp_oct.c \
	ecp_smpl.c
INCS+=	ec.h

# ecdh
SRCS+=	ech_err.c ech_key.c ech_lib.c ech_ossl.c
INCS+=	ecdh.h

# ecdsa
SRCS+=	ecs_asn1.c ecs_err.c ecs_lib.c ecs_ossl.c ecs_sign.c ecs_vrf.c
INCS+=	ecdsa.h

# engine
SRCS+=	eng_all.c eng_cnf.c eng_cryptodev.c eng_ctrl.c eng_dyn.c eng_err.c \
	eng_fat.c eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_pkey.c \
	eng_rdrand.c eng_rsax.c eng_table.c tb_asnmth.c tb_cipher.c tb_dh.c \
	tb_digest.c tb_dsa.c tb_ecdh.c tb_ecdsa.c tb_pkmeth.c tb_rand.c \
	tb_rsa.c tb_store.c
INCS+=	engine.h

# err
SRCS+=	err.c err_all.c err_prn.c
INCS+=	err.h

# evp
SRCS+=	bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c c_allc.c c_alld.c \
	digest.c e_aes.c e_aes_cbc_hmac_sha1.c e_bf.c e_camellia.c e_cast.c \
	e_des.c e_des3.c e_idea.c e_null.c e_old.c e_rc2.c e_rc4.c \
	e_rc4_hmac_md5.c e_rc5.c e_seed.c e_xcbc_d.c encode.c evp_acnf.c \
	evp_cnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c m_dss.c m_dss1.c m_ecdsa.c m_md4.c m_md5.c m_mdc2.c \
	m_null.c m_ripemd.c m_sha.c m_sha1.c m_sigver.c m_wp.c names.c \
	p5_crpt.c p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c \
	p_sign.c p_verify.c pmeth_fn.c pmeth_gn.c pmeth_lib.c
INCS+=	evp.h

# hmac
SRCS+=	hm_ameth.c hm_pmeth.c hmac.c
INCS+=	hmac.h

# idea
SRCS+=	i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
INCS+=	idea.h

# krb5
INCS+=	krb5_asn.h

# lhash
SRCS+=	lh_stats.c lhash.c
INCS+=	lhash.h

# md4
SRCS+=	md4_dgst.c md4_one.c
INCS+=	md4.h

# md5
SRCS+=	md5_dgst.c md5_one.c
.if ${MACHINE_CPUARCH} == "amd64"
SRCS+=	md5-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	md5-586.s
.endif
INCS+=	md5.h

# mdc2
SRCS+=	mdc2_one.c mdc2dgst.c
INCS+=	mdc2.h

# modes
SRCS+=	cbc128.c ccm128.c cfb128.c ctr128.c cts128.c gcm128.c ofb128.c xts128.c
.if ${MACHINE_CPUARCH} == "amd64" 
SRCS+=	ghash-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	ghash-x86.s
.endif
INCS+=	modes.h

# objects
SRCS+=	o_names.c obj_dat.c obj_err.c obj_lib.c obj_xref.c
INCS+=	obj_mac.h objects.h

# ocsp
SRCS+=	ocsp_asn.c ocsp_cl.c ocsp_err.c ocsp_ext.c ocsp_ht.c ocsp_lib.c \
	ocsp_prn.c ocsp_srv.c ocsp_vfy.c
INCS+=	ocsp.h

# pem
SRCS+=	pem_all.c pem_err.c pem_info.c pem_lib.c pem_oth.c pem_pk8.c \
	pem_pkey.c pem_seal.c pem_sign.c pem_x509.c pem_xaux.c pvkfmt.c
INCS+=	pem.h pem2.h

# pkcs12
SRCS+=	p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c p12_decr.c \
	p12_init.c p12_key.c p12_kiss.c p12_mutl.c p12_npas.c p12_p8d.c \
	p12_p8e.c p12_utl.c pk12err.c
INCS+=	pkcs12.h

# pkcs7
SRCS+=	bio_pk7.c pk7_asn1.c pk7_attr.c pk7_doit.c pk7_lib.c pk7_mime.c \
	pk7_smime.c pkcs7err.c
INCS+=	pkcs7.h

# pqueue
SRCS+=	pqueue.c
INCS+=	pqueue.h

# rand
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c
INCS+=	rand.h

# rc2
SRCS+=	rc2_cbc.c rc2_ecb.c rc2_skey.c rc2cfb64.c rc2ofb64.c
INCS+=	rc2.h

# rc4
SRCS+=	rc4_utl.c
.if ${MACHINE_CPUARCH} == "amd64" 
SRCS+=	rc4-md5-x86_64.S rc4-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	rc4-586.s
.else
SRCS+=	rc4_enc.c rc4_skey.c
.endif
INCS+=	rc4.h

# rc5
SRCS+=	rc5_ecb.c rc5_skey.c rc5cfb64.c rc5ofb64.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	rc5-586.s
.else
SRCS+=	rc5_enc.c
.endif
INCS+=	rc5.h

# ripemd
SRCS+=	rmd_dgst.c rmd_one.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	rmd-586.s
.endif
INCS+=	ripemd.h

# rsa
SRCS+=	rsa_ameth.c rsa_asn1.c rsa_chk.c rsa_crpt.c rsa_depr.c rsa_eay.c \
	rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_null.c rsa_oaep.c \
	rsa_pk1.c rsa_pmeth.c rsa_prn.c rsa_pss.c rsa_saos.c rsa_sign.c \
	rsa_ssl.c rsa_x931.c
INCS+=	rsa.h

# seed
SRCS+=	seed.c seed_cbc.c seed_cfb.c seed_ecb.c seed_ofb.c
INCS+=	seed.h

# sha
SRCS+=	sha1_one.c sha1dgst.c sha256.c sha512.c sha_dgst.c sha_one.c
.if ${MACHINE_CPUARCH} == "amd64" 
SRCS+=	sha1-x86_64.S sha256-x86_64.S sha512-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	sha1-586.s sha256-586.s sha512-586.s
.endif
INCS+=	sha.h

# srp
SRCS+=	srp_lib.c srp_vfy.c
INCS+=	srp.h

# stack
SRCS+=	stack.c
INCS+=	safestack.h stack.h

# ts
SRCS+=	ts_asn1.c ts_conf.c ts_err.c ts_lib.c ts_req_print.c ts_req_utils.c \
	ts_rsp_print.c ts_rsp_sign.c ts_rsp_utils.c ts_rsp_verify.c \
	ts_verify_ctx.c
INCS+=	ts.h

# txt_db
SRCS+=	txt_db.c
INCS+=	txt_db.h

# ui
SRCS+=	ui_compat.c ui_err.c ui_lib.c ui_openssl.c ui_util.c
INCS+=	ui.h ui_compat.h

# whrlpool
SRCS+=	wp_dgst.c
.if ${MACHINE_CPUARCH} == "amd64" 
SRCS+=	wp-x86_64.S
.elif ${MACHINE_CPUARCH} == "i386"
SRCS+=	wp-mmx.s wp_block.c
.else
SRCS+=	wp_block.c
.endif
INCS+=	whrlpool.h

# x509
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c x509_def.c \
	x509_err.c x509_ext.c x509_lu.c x509_obj.c x509_r2x.c x509_req.c \
	x509_set.c x509_trs.c x509_txt.c x509_v3.c x509_vfy.c x509_vpm.c \
	x509cset.c x509name.c x509rset.c x509spki.c x509type.c x_all.c
INCS+=	x509.h x509_vfy.h

# x509v3
SRCS+=	pcy_cache.c pcy_data.c pcy_lib.c pcy_map.c pcy_node.c pcy_tree.c \
	v3_addr.c v3_akey.c v3_akeya.c v3_alt.c v3_asid.c v3_bcons.c \
	v3_bitst.c v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c \
	v3_genn.c v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ncons.c v3_ocsp.c \
	v3_pci.c v3_pcia.c v3_pcons.c v3_pku.c v3_pmaps.c v3_prn.c v3_purp.c \
	v3_skey.c v3_sxnet.c v3_utl.c v3err.c
INCS+=	x509v3.h

SRCS+=	buildinf.h
INCS+=	opensslconf.h
INCSDIR=	${INCLUDEDIR}/openssl

CSTD=	gnu89

CFLAGS+=	-I${LCRYPTO_SRC}/crypto/asn1
CFLAGS+=	-I${LCRYPTO_SRC}/crypto/evp
CFLAGS+=	-I${LCRYPTO_SRC}/crypto/modes

.if !empty(SRCS:M*.s)
AFLAGS+=	--noexecstack
.endif
.if !empty(SRCS:M*.S)
ACFLAGS+=	-Wa,--noexecstack
.endif

CLEANFILES=	buildinf.h opensslconf.h

buildinf.h: ${.CURDIR}/Makefile
	( echo "#ifndef MK1MF_BUILD"; \
	echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
	echo "  #define CFLAGS \"$(CC)\""; \
	echo "  #define PLATFORM \"FreeBSD-${MACHINE_ARCH}\""; \
	echo "#endif" ) > ${.TARGET}

.if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386"
opensslconf.h: opensslconf-x86.h
.else
opensslconf.h: opensslconf-${MACHINE_CPUARCH}.h
.endif
	cp -f ${.ALLSRC} ${.TARGET}

OLDSYMLINKS+=	libdes.a libdes.so libdes.so.3 libdes_p.a
afterinstall:
	@@${ECHO} "Removing stale symlinks."
	rm -f ${DESTDIR}${INCLUDEDIR}/des.h
.for symlink in ${OLDSYMLINKS}
	rm -f ${DESTDIR}${LIBDIR}/${symlink}
.endfor

.include <bsd.lib.mk>

.if ${MACHINE_CPUARCH} == "amd64"
.PATH: ${.CURDIR}/amd64
.elif ${MACHINE_CPUARCH} == "i386"
.PATH: ${.CURDIR}/i386
.endif

.if ${MACHINE_CPUARCH} == "amd64"
_bn_asmpath=	${LCRYPTO_SRC}/crypto/bn/asm
.endif

.PATH:	${LCRYPTO_SRC}/crypto \
	${LCRYPTO_SRC}/crypto/aes \
	${LCRYPTO_SRC}/crypto/asn1 \
	${LCRYPTO_SRC}/crypto/bf \
	${LCRYPTO_SRC}/crypto/bio \
	${LCRYPTO_SRC}/crypto/bn \
	${_bn_asmpath} \
	${LCRYPTO_SRC}/crypto/buffer \
	${LCRYPTO_SRC}/crypto/camellia \
	${LCRYPTO_SRC}/crypto/cast \
	${LCRYPTO_SRC}/crypto/cmac \
	${LCRYPTO_SRC}/crypto/cms \
	${LCRYPTO_SRC}/crypto/comp \
	${LCRYPTO_SRC}/crypto/conf \
	${LCRYPTO_SRC}/crypto/des \
	${LCRYPTO_SRC}/crypto/dh \
	${LCRYPTO_SRC}/crypto/dsa \
	${LCRYPTO_SRC}/crypto/dso \
	${LCRYPTO_SRC}/crypto/ec \
	${LCRYPTO_SRC}/crypto/ecdh \
	${LCRYPTO_SRC}/crypto/ecdsa \
	${LCRYPTO_SRC}/crypto/engine \
	${LCRYPTO_SRC}/crypto/err \
	${LCRYPTO_SRC}/crypto/evp \
	${LCRYPTO_SRC}/crypto/hmac \
	${LCRYPTO_SRC}/crypto/idea \
	${LCRYPTO_SRC}/crypto/krb5 \
	${LCRYPTO_SRC}/crypto/lhash \
	${LCRYPTO_SRC}/crypto/md4 \
	${LCRYPTO_SRC}/crypto/md5 \
	${LCRYPTO_SRC}/crypto/mdc2 \
	${LCRYPTO_SRC}/crypto/modes \
	${LCRYPTO_SRC}/crypto/objects \
	${LCRYPTO_SRC}/crypto/ocsp \
	${LCRYPTO_SRC}/crypto/pem \
	${LCRYPTO_SRC}/crypto/pkcs12 \
	${LCRYPTO_SRC}/crypto/pkcs7 \
	${LCRYPTO_SRC}/crypto/pqueue \
	${LCRYPTO_SRC}/crypto/rand \
	${LCRYPTO_SRC}/crypto/rc2 \
	${LCRYPTO_SRC}/crypto/rc4 \
	${LCRYPTO_SRC}/crypto/rc5 \
	${LCRYPTO_SRC}/crypto/ripemd \
	${LCRYPTO_SRC}/crypto/rsa \
	${LCRYPTO_SRC}/crypto/seed \
	${LCRYPTO_SRC}/crypto/sha \
	${LCRYPTO_SRC}/crypto/srp \
	${LCRYPTO_SRC}/crypto/stack \
	${LCRYPTO_SRC}/crypto/ts \
	${LCRYPTO_SRC}/crypto/txt_db \
	${LCRYPTO_SRC}/crypto/ui \
	${LCRYPTO_SRC}/crypto/whrlpool \
	${LCRYPTO_SRC}/crypto/x509 \
	${LCRYPTO_SRC}/crypto/x509v3 \
	${.CURDIR}/man
@


1.92
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/246772
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d1 1
a1 1
# $FreeBSD: head/secure/lib/libcrypto/Makefile 246772 2013-02-13 23:07:20Z jkim $
a202 1
.if ${MK_IDEA} != "no"
a204 1
.endif
a404 6
.if ${MK_IDEA} == "no"
evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
	sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
CLEANFILES+=	evp.h
.endif

a424 4
.if ${MK_IDEA} != "no"
_ideapath=	${LCRYPTO_SRC}/crypto/idea
.endif

d450 1
a450 1
	${_ideapath} \
@


1.92.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:37 +0000
@
text
@d1 491
@


1.92.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 454
# $FreeBSD: releng/8.4/secure/lib/libcrypto/Makefile 215912 2010-11-26 22:50:58Z simon $

SHLIBDIR?=	/lib
SUBDIR=		engines

.include <bsd.own.mk>

LIB=		crypto
SHLIB_MAJOR=	6

NO_LINT=

.if exists(Makefile.man)
.include "Makefile.man"
.endif
.if defined(NOTYET)
MAN+=	config.5 des_modes.7
.endif

.include "Makefile.inc"

# base sources
SRCS=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c o_dir.c o_str.c o_time.c tmdiff.c uid.c dyn_lck.c \
	o_init.c fips_err.c
INCS=	crypto.h ebcdic.h opensslv.h ossl_typ.h symhacks.h tmdiff.h \
	../e_os.h ../e_os2.h

# aes
SRCS+=	aes_cbc.c aes_cfb.c aes_core.c aes_ctr.c aes_ecb.c aes_ige.c \
	aes_misc.c aes_ofb.c aes_wrap.c
INCS+=	aes.h aes_locl.h

# asn1
SRCS+=	a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c a_dup.c \
	a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c a_mbstr.c \
	a_meth.c a_object.c a_octet.c a_print.c a_set.c a_sign.c \
	a_strex.c a_strnid.c a_time.c a_type.c a_utctm.c a_utf8.c \
	a_verify.c asn1_err.c asn1_gen.c asn1_lib.c asn1_par.c \
	asn_moid.c asn_mime.c asn_pack.c d2i_pr.c d2i_pu.c evp_asn1.c f_enum.c \
	f_int.c f_string.c i2d_pr.c i2d_pu.c n_pkey.c nsseq.c p5_pbe.c \
	p5_pbev2.c p8_pkey.c t_bitst.c t_crl.c t_pkey.c t_req.c \
	t_spki.c t_x509.c t_x509a.c tasn_dec.c tasn_enc.c tasn_fre.c \
	tasn_new.c tasn_typ.c tasn_utl.c x_algor.c x_attrib.c \
	x_bignum.c x_crl.c x_exten.c x_info.c x_long.c x_name.c \
	x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c x_val.c x_x509.c \
	x_x509a.c
INCS+=	asn1.h asn1_mac.h asn1t.h

# bf
SRCS+=	bf_cfb64.c bf_ecb.c bf_ofb64.c bf_skey.c
.if ${MACHINE_CPUARCH} == "i386"
.if ${MACHINE_CPU:Mi686}
SRCS+=	bf-686.s
.else
SRCS+=	bf-586.s
.endif
.else
SRCS+=	bf_enc.c
.endif
INCS+=	blowfish.h

# bio
SRCS+=	b_dump.c b_print.c b_sock.c bf_buff.c bf_lbuf.c bf_nbio.c \
	bf_null.c bio_cb.c bio_err.c bio_lib.c bss_acpt.c bss_bio.c \
	bss_conn.c bss_dgram.c bss_fd.c bss_file.c bss_log.c bss_mem.c \
	bss_null.c bss_sock.c
INCS+=	bio.h bio_lcl.h

# bn
SRCS+=	bn_add.c bn_blind.c bn_const.c bn_ctx.c bn_depr.c bn_div.c \
	bn_err.c bn_exp.c bn_exp2.c bn_gcd.c bn_gf2m.c bn_kron.c \
	bn_lib.c bn_mod.c bn_mont.c bn_mpi.c bn_mul.c bn_nist.c bn_opt.c \
	bn_prime.c bn_print.c bn_rand.c bn_recp.c bn_shift.c bn_sqr.c \
	bn_sqrt.c bn_word.c bn_x931p.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	bn-586.s co-586.s
.elif ${MACHINE_CPUARCH} == "amd64"
SRCS+=	x86_64-gcc.c
.else
SRCS+=	bn_asm.c
.endif

INCS+=	bn.h

# buffer
SRCS+=	buf_err.c buf_str.c buffer.c
INCS+=	buffer.h

# cast
SRCS+=	c_cfb64.c c_ecb.c c_ofb64.c c_skey.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	cast-586.s
.else
SRCS+=	c_enc.c
.endif
INCS+=	cast.h

# camellia
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SRCS+=	camellia.c cmll_cbc.c cmll_cfb.c cmll_ctr.c cmll_ecb.c \
	cmll_misc.c cmll_ofb.c
INCS+=	camellia.h
.endif

# comp
SRCS+=	c_rle.c c_zlib.c comp_err.c comp_lib.c
INCS+=	comp.h

# conf
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c conf_mall.c conf_mod.c conf_sap.c
INCS+=	conf.h conf_api.h

# des
SRCS+=	cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
	des_lib.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
	enc_read.c enc_writ.c fcrypt.c ofb64ede.c ofb64enc.c \
	ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c \
	rpc_enc.c set_key.c str2key.c xcbc_enc.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	des-586.s crypt586.s
.else
SRCS+=	des_enc.c fcrypt_b.c
.endif
INCS+=	des.h des_old.h

# dh
SRCS+=	dh_asn1.c dh_check.c dh_err.c dh_depr.c dh_gen.c dh_key.c dh_lib.c
INCS+=	dh.h

# dsa
SRCS+=	dsa_asn1.c dsa_err.c dsa_depr.c dsa_gen.c dsa_key.c dsa_lib.c \
	dsa_ossl.c dsa_sign.c dsa_vrf.c dsa_utl.c
INCS+=	dsa.h

# dso
SRCS+=	dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c dso_openssl.c
INCS+=	dso.h

# ec
SRCS+=	ec_asn1.c ec_check.c ec_curve.c ec_cvt.c ec_err.c ec_key.c \
	ec_lib.c ec_mult.c ec_print.c ecp_mont.c ecp_nist.c \
	ecp_smpl.c ec2_mult.c ec2_smpl.c
INCS+=	ec.h

# ecdh
SRCS+=	ech_err.c ech_key.c ech_lib.c ech_ossl.c
INCS+=	ecdh.h

# ecdsa
SRCS+=	ecs_asn1.c ecs_err.c ecs_lib.c ecs_ossl.c ecs_sign.c ecs_vrf.c
INCS+=	ecdsa.h

# engine
SRCS+=	eng_all.c eng_cnf.c eng_cryptodev.c eng_ctrl.c eng_dyn.c \
	eng_err.c eng_fat.c eng_init.c eng_lib.c eng_list.c \
	eng_openssl.c eng_padlock.c eng_pkey.c eng_table.c tb_cipher.c \
	tb_dh.c tb_digest.c tb_dsa.c tb_ecdh.c tb_ecdsa.c tb_rand.c \
	tb_rsa.c tb_store.c
INCS+=	engine.h

# err
SRCS+=	err.c err_all.c err_prn.c err_def.c err_str.c err_bio.c
INCS+=	err.h

# evp
SRCS+=	bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c c_allc.c c_alld.c \
	dig_eng.c digest.c e_aes.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c \
	e_null.c e_old.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c \
	evp_acnf.c evp_cnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c e_seed.c enc_min.c m_dss.c m_dss1.c m_ecdsa.c m_md2.c m_md4.c m_md5.c \
	m_mdc2.c m_null.c m_ripemd.c m_sha.c m_sha1.c names.c \
	openbsd_hw.c p5_crpt.c p5_crpt2.c p_dec.c p_enc.c p_lib.c \
	p_open.c p_seal.c p_sign.c p_verify.c
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SRCS+=	e_camellia.c
.endif
INCS+=	evp.h

# fips
INCS+=	fips.h fips_rand.h

# hmac
SRCS+=	hmac.c
INCS+=	hmac.h

# idea
.if ${MK_IDEA} != "no"
SRCS+=	i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
INCS+=	idea.h
.endif

# krb5
#SRCS+=	krb5_asn.c
INCS+=	krb5_asn.h

# lhash
SRCS+=	lh_stats.c lhash.c
INCS+=	lhash.h

# md2
SRCS+=	md2_dgst.c md2_one.c
INCS+=	md2.h

# md4
SRCS+=	md4_dgst.c md4_one.c
INCS+=	md4.h

# md5
SRCS+=	md5_dgst.c md5_one.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	md5-586.s
.endif
INCS+=	md5.h

# mdc2
SRCS+=	mdc2_one.c mdc2dgst.c
INCS+=	mdc2.h

# objects
SRCS+=	o_names.c obj_dat.c obj_err.c obj_lib.c
INCS+=	objects.h obj_mac.h

# ocsp
SRCS+=	ocsp_asn.c ocsp_cl.c ocsp_err.c ocsp_ext.c ocsp_ht.c \
	ocsp_lib.c ocsp_prn.c ocsp_srv.c ocsp_vfy.c
INCS+=	ocsp.h

# pem
SRCS+=	pem_all.c pem_err.c pem_info.c pem_lib.c pem_oth.c pem_pk8.c \
	pem_pkey.c pem_seal.c pem_sign.c pem_x509.c pem_xaux.c
INCS+=	pem.h pem2.h

# pkcs12
SRCS+=	p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c \
	p12_decr.c p12_init.c p12_key.c p12_kiss.c p12_mutl.c \
	p12_npas.c p12_p8d.c p12_p8e.c p12_utl.c pk12err.c
INCS+=	pkcs12.h pkcs7.h

# pkcs7
SRCS+=	example.c pk7_asn1.c pk7_attr.c pk7_dgst.c pk7_doit.c \
	pk7_lib.c pk7_mime.c pk7_smime.c pkcs7err.c

# pqueue
SRCS+=	pqueue.c
INCS+=	pqueue.h pq_compat.h

# rand
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c rand_eng.c
INCS+=	rand.h

# rc2
SRCS+=	rc2_cbc.c rc2_ecb.c rc2_skey.c rc2cfb64.c rc2ofb64.c
INCS+=	rc2.h

# rc4
SRCS+=	rc4_skey.c rc4_fblk.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	rc4-586.s
.else
SRCS+=	rc4_enc.c
.endif
INCS+=	rc4.h

# rc5
SRCS+=	rc5_ecb.c rc5_skey.c rc5cfb64.c rc5ofb64.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	rc5-586.s
.else
SRCS+=	rc5_enc.c
.endif
INCS+=	rc5.h

# ripemd
SRCS+=	rmd_dgst.c rmd_one.c
INCS+=	ripemd.h

# rsa
SRCS+=	rsa_asn1.c rsa_chk.c rsa_eay.c rsa_err.c rsa_gen.c rsa_lib.c \
	rsa_none.c rsa_null.c rsa_oaep.c rsa_pk1.c rsa_saos.c \
	rsa_sign.c rsa_ssl.c rsa_depr.c rsa_pss.c rsa_x931.c rsa_x931g.c \
	rsa_eng.c
INCS+=	rsa.h

# sha
SRCS+=	sha1_one.c sha1dgst.c sha_dgst.c sha_one.c sha256.c sha512.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	sha1-586.s
.endif
INCS+=	sha.h

# stack
SRCS+=	stack.c
INCS+=	stack.h safestack.h

# store
SRCS+=	str_err.c str_lib.c str_meth.c str_mem.c
INCS+=	store.h

# threads
SRCS+=	th-lock.c

# txt_db
SRCS+=	txt_db.c
INCS+=	txt_db.h

# ui
SRCS+=	ui_compat.c ui_err.c ui_lib.c ui_openssl.c ui_util.c
INCS+=	ui.h ui_compat.h ui_locl.h

# x509
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c \
	x509_def.c x509_err.c x509_ext.c x509_lu.c x509_obj.c \
	x509_r2x.c x509_req.c x509_set.c x509_trs.c x509_txt.c \
	x509_v3.c x509_vfy.c x509cset.c x509name.c x509rset.c \
	x509spki.c x509type.c x_all.c x509_vpm.c
INCS+=	x509.h x509_vfy.h

# x509v3
SRCS+=	pcy_cache.c pcy_data.c pcy_lib.c pcy_map.c pcy_node.c \
	pcy_tree.c v3_addr.c v3_akey.c v3_akeya.c v3_alt.c v3_asid.c \
	v3_bcons.c v3_bitst.c \
	v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c v3_genn.c \
	v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ncons.c v3_ocsp.c \
	v3_pci.c v3_pcia.c v3_pcons.c v3_pku.c v3_pmaps.c v3_prn.c \
	v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c v3err.c
INCS+=	x509v3.h

# cms
#SRCS+=	cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c \
#	cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c
#INCS+=	cms.h

# jpake - is marked experimental
#SRCS+=	jpake.c jpake_err.c
#INCS+=	jpake.h

# seed
#SRCS+=	seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
#INCS+=	seed.h

SRCS+=	buildinf.h
INCS+=	opensslconf.h evp.h
INCSDIR=	${INCLUDEDIR}/openssl

CSTD=	gnu89

CLEANFILES=	buildinf.h opensslconf.h evp.h

buildinf.h: ${.CURDIR}/Makefile
	( echo "#ifndef MK1MF_BUILD"; \
	echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
	echo "  #define CFLAGS \"$(CC)\""; \
	echo "  #define PLATFORM \"FreeBSD-${MACHINE_ARCH}\""; \
	echo "#endif" ) > ${.TARGET}

opensslconf.h: opensslconf-${MACHINE_CPUARCH}.h
	cp -f ${.ALLSRC} ${.TARGET}

evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
.if ${MK_IDEA} == "no"
	sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
.else
	cp -f ${.ALLSRC} ${.TARGET}
.endif

# No FIPS support for now
fips.h:
	echo '/* dummy fips.h */' > ${.TARGET}

fips_rand.h:
	echo '/* dummy fips_rand.h */' > ${.TARGET}

CLEANFILES+=	fips.h fips_rand.h

OLDSYMLINKS+=	libdes.a libdes.so libdes.so.3 libdes_p.a
afterinstall:
	@@${ECHO} "Removing stale symlinks."
	rm -f ${DESTDIR}${INCLUDEDIR}/des.h
.for symlink in ${OLDSYMLINKS}
	rm -f ${DESTDIR}${LIBDIR}/${symlink}
.endfor

.include <bsd.lib.mk>

.if ${MACHINE_CPUARCH} == "i386"
.PATH: ${.CURDIR}/i386
.endif

.if ${MACHINE_CPUARCH} == "amd64"
_bn_asmpath=	${LCRYPTO_SRC}/crypto/bn/asm
.endif

.if ${MK_IDEA} != "no"
_ideapath=	${LCRYPTO_SRC}/crypto/idea
.endif

.PATH: \
	${LCRYPTO_SRC}/crypto \
	${LCRYPTO_SRC}/crypto/aes \
	${LCRYPTO_SRC}/crypto/asn1 \
	${LCRYPTO_SRC}/crypto/bf \
	${LCRYPTO_SRC}/crypto/bio \
	${_bn_asmpath} \
	${LCRYPTO_SRC}/crypto/bn \
	${LCRYPTO_SRC}/crypto/buffer \
	${LCRYPTO_SRC}/crypto/cast \
	${LCRYPTO_SRC}/crypto/camellia \
	${LCRYPTO_SRC}/crypto/cms \
	${LCRYPTO_SRC}/crypto/comp \
	${LCRYPTO_SRC}/crypto/conf \
	${LCRYPTO_SRC}/crypto/des \
	${LCRYPTO_SRC}/crypto/dh \
	${LCRYPTO_SRC}/crypto/dsa \
	${LCRYPTO_SRC}/crypto/dso \
	${LCRYPTO_SRC}/crypto/ec \
	${LCRYPTO_SRC}/crypto/ecdh \
	${LCRYPTO_SRC}/crypto/ecdsa \
	${LCRYPTO_SRC}/crypto/engine \
	${LCRYPTO_SRC}/crypto/err \
	${LCRYPTO_SRC}/crypto/evp \
	${LCRYPTO_SRC}/crypto/hmac \
	${_ideapath} \
	${LCRYPTO_SRC}/crypto/jpake \
	${LCRYPTO_SRC}/crypto/krb5 \
	${LCRYPTO_SRC}/crypto/lhash \
	${LCRYPTO_SRC}/crypto/md2 \
	${LCRYPTO_SRC}/crypto/md4 \
	${LCRYPTO_SRC}/crypto/md5 \
	${LCRYPTO_SRC}/crypto/mdc2 \
	${LCRYPTO_SRC}/crypto/objects \
	${LCRYPTO_SRC}/crypto/ocsp \
	${LCRYPTO_SRC}/crypto/pem \
	${LCRYPTO_SRC}/crypto/pkcs12 \
	${LCRYPTO_SRC}/crypto/pkcs7 \
	${LCRYPTO_SRC}/crypto/pqueue \
	${LCRYPTO_SRC}/crypto/rand \
	${LCRYPTO_SRC}/crypto/rc2 \
	${LCRYPTO_SRC}/crypto/rc4 \
	${LCRYPTO_SRC}/crypto/rc5 \
	${LCRYPTO_SRC}/crypto/ripemd \
	${LCRYPTO_SRC}/crypto/rsa \
	${LCRYPTO_SRC}/crypto/seed \
	${LCRYPTO_SRC}/crypto/sha \
	${LCRYPTO_SRC}/crypto/stack \
	${LCRYPTO_SRC}/crypto/store \
	${LCRYPTO_SRC}/crypto/threads \
	${LCRYPTO_SRC}/crypto/txt_db \
	${LCRYPTO_SRC}/crypto/ui \
	${LCRYPTO_SRC}/crypto/x509 \
	${LCRYPTO_SRC}/crypto/x509v3 \
	${LCRYPTO_SRC}/engines \
	${LCRYPTO_SRC} \
	${.CURDIR}/man
@


1.91
log
@Switching exporter and resync
@
text
@d1 1
a1 1
# $FreeBSD: head/secure/lib/libcrypto/Makefile 238405 2012-07-12 19:30:53Z jkim $
d191 5
a195 5
	evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c evp_pkey.c m_dss.c \
	m_dss1.c m_ecdsa.c m_md4.c m_md5.c m_mdc2.c m_null.c m_ripemd.c \
	m_sha.c m_sha1.c m_sigver.c m_wp.c names.c p5_crpt.c p5_crpt2.c \
	p_dec.c p_enc.c p_lib.c p_open.c p_seal.c p_sign.c p_verify.c \
	pmeth_fn.c pmeth_gn.c pmeth_lib.c
@


1.90
log
@SVN rev 238405 on 2012-07-12 19:30:53Z by jkim

Merge OpenSSL 1.0.1c.

Approved by:	benl (maintainer)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.89
log
@SVN rev 228307 on 2011-12-06 11:28:17Z by kib

Force linker error when created shared library contains a relocation
against text. Provide the override switch to turn off the strict
behaviour. Apparently, openssl libcrypto needs it due to assembler
code not being PIC.

Discussed with:	bf
MFC after:	2 weeks
@
text
@d9 1
a9 1
SHLIB_MAJOR=	6
d24 10
a33 5
SRCS=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c o_dir.c o_str.c o_time.c tmdiff.c uid.c dyn_lck.c \
	o_init.c fips_err.c
INCS=	crypto.h ebcdic.h opensslv.h ossl_typ.h symhacks.h tmdiff.h \
	../e_os.h ../e_os2.h
d36 10
a45 3
SRCS+=	aes_cbc.c aes_cfb.c aes_core.c aes_ctr.c aes_ecb.c aes_ige.c \
	aes_misc.c aes_ofb.c aes_wrap.c
INCS+=	aes.h aes_locl.h
d48 12
a59 13
SRCS+=	a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c a_dup.c \
	a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c a_mbstr.c \
	a_meth.c a_object.c a_octet.c a_print.c a_set.c a_sign.c \
	a_strex.c a_strnid.c a_time.c a_type.c a_utctm.c a_utf8.c \
	a_verify.c asn1_err.c asn1_gen.c asn1_lib.c asn1_par.c \
	asn_moid.c asn_mime.c asn_pack.c d2i_pr.c d2i_pu.c evp_asn1.c f_enum.c \
	f_int.c f_string.c i2d_pr.c i2d_pu.c n_pkey.c nsseq.c p5_pbe.c \
	p5_pbev2.c p8_pkey.c t_bitst.c t_crl.c t_pkey.c t_req.c \
	t_spki.c t_x509.c t_x509a.c tasn_dec.c tasn_enc.c tasn_fre.c \
	tasn_new.c tasn_typ.c tasn_utl.c x_algor.c x_attrib.c \
	x_bignum.c x_crl.c x_exten.c x_info.c x_long.c x_name.c \
	x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c x_val.c x_x509.c \
	x_x509a.c
d76 4
a79 5
SRCS+=	b_dump.c b_print.c b_sock.c bf_buff.c bf_lbuf.c bf_nbio.c \
	bf_null.c bio_cb.c bio_err.c bio_lib.c bss_acpt.c bss_bio.c \
	bss_conn.c bss_dgram.c bss_fd.c bss_file.c bss_log.c bss_mem.c \
	bss_null.c bss_sock.c
INCS+=	bio.h bio_lcl.h
d82 9
a90 9
SRCS+=	bn_add.c bn_blind.c bn_const.c bn_ctx.c bn_depr.c bn_div.c \
	bn_err.c bn_exp.c bn_exp2.c bn_gcd.c bn_gf2m.c bn_kron.c \
	bn_lib.c bn_mod.c bn_mont.c bn_mpi.c bn_mul.c bn_nist.c bn_opt.c \
	bn_prime.c bn_print.c bn_rand.c bn_recp.c bn_shift.c bn_sqr.c \
	bn_sqrt.c bn_word.c bn_x931p.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	bn-586.s co-586.s
.elif ${MACHINE_CPUARCH} == "amd64"
SRCS+=	x86_64-gcc.c
a93 1

d100 6
a105 4
# cast
SRCS+=	c_cfb64.c c_ecb.c c_ofb64.c c_skey.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	cast-586.s
d107 1
a107 1
SRCS+=	c_enc.c
d109 4
d115 8
a122 6
# camellia
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SRCS+=	camellia.c cmll_cbc.c cmll_cfb.c cmll_ctr.c cmll_ecb.c \
	cmll_misc.c cmll_ofb.c
INCS+=	camellia.h
.endif
d129 2
a130 1
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c conf_mall.c conf_mod.c conf_sap.c
d134 4
a137 5
SRCS+=	cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
	des_lib.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
	enc_read.c enc_writ.c fcrypt.c ofb64ede.c ofb64enc.c \
	ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c \
	rpc_enc.c set_key.c str2key.c xcbc_enc.c
d139 1
a139 1
SRCS+=	des-586.s crypt586.s
d146 2
a147 1
SRCS+=	dh_asn1.c dh_check.c dh_err.c dh_depr.c dh_gen.c dh_key.c dh_lib.c
d151 2
a152 2
SRCS+=	dsa_asn1.c dsa_err.c dsa_depr.c dsa_gen.c dsa_key.c dsa_lib.c \
	dsa_ossl.c dsa_sign.c dsa_vrf.c dsa_utl.c
d156 1
a156 1
SRCS+=	dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c dso_openssl.c
d160 4
a163 3
SRCS+=	ec_asn1.c ec_check.c ec_curve.c ec_cvt.c ec_err.c ec_key.c \
	ec_lib.c ec_mult.c ec_print.c ecp_mont.c ecp_nist.c \
	ecp_smpl.c ec2_mult.c ec2_smpl.c
d175 4
a178 4
SRCS+=	eng_all.c eng_cnf.c eng_cryptodev.c eng_ctrl.c eng_dyn.c \
	eng_err.c eng_fat.c eng_init.c eng_lib.c eng_list.c \
	eng_openssl.c eng_padlock.c eng_pkey.c eng_table.c tb_cipher.c \
	tb_dh.c tb_digest.c tb_dsa.c tb_ecdh.c tb_ecdsa.c tb_rand.c \
d183 1
a183 1
SRCS+=	err.c err_all.c err_prn.c err_def.c err_str.c err_bio.c
d188 8
a195 10
	dig_eng.c digest.c e_aes.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c \
	e_null.c e_old.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c \
	evp_acnf.c evp_cnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c e_seed.c enc_min.c m_dss.c m_dss1.c m_ecdsa.c m_md2.c m_md4.c m_md5.c \
	m_mdc2.c m_null.c m_ripemd.c m_sha.c m_sha1.c names.c \
	openbsd_hw.c p5_crpt.c p5_crpt2.c p_dec.c p_enc.c p_lib.c \
	p_open.c p_seal.c p_sign.c p_verify.c
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
SRCS+=	e_camellia.c
.endif
a197 3
# fips
INCS+=	fips.h fips_rand.h

d199 1
a199 1
SRCS+=	hmac.c
a208 1
#SRCS+=	krb5_asn.c
a214 4
# md2
SRCS+=	md2_dgst.c md2_one.c
INCS+=	md2.h

d221 3
a223 1
.if ${MACHINE_CPUARCH} == "i386"
d232 9
d242 2
a243 2
SRCS+=	o_names.c obj_dat.c obj_err.c obj_lib.c
INCS+=	objects.h obj_mac.h
d246 2
a247 2
SRCS+=	ocsp_asn.c ocsp_cl.c ocsp_err.c ocsp_ext.c ocsp_ht.c \
	ocsp_lib.c ocsp_prn.c ocsp_srv.c ocsp_vfy.c
d252 1
a252 1
	pem_pkey.c pem_seal.c pem_sign.c pem_x509.c pem_xaux.c
d256 4
a259 4
SRCS+=	p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c \
	p12_decr.c p12_init.c p12_key.c p12_kiss.c p12_mutl.c \
	p12_npas.c p12_p8d.c p12_p8e.c p12_utl.c pk12err.c
INCS+=	pkcs12.h pkcs7.h
d262 3
a264 2
SRCS+=	example.c pk7_asn1.c pk7_attr.c pk7_dgst.c pk7_doit.c \
	pk7_lib.c pk7_mime.c pk7_smime.c pkcs7err.c
d268 1
a268 1
INCS+=	pqueue.h pq_compat.h
d271 1
a271 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c rand_eng.c
d279 4
a282 2
SRCS+=	rc4_skey.c rc4_fblk.c
.if ${MACHINE_CPUARCH} == "i386"
d285 1
a285 1
SRCS+=	rc4_enc.c
d300 3
d306 4
a309 4
SRCS+=	rsa_asn1.c rsa_chk.c rsa_eay.c rsa_err.c rsa_gen.c rsa_lib.c \
	rsa_none.c rsa_null.c rsa_oaep.c rsa_pk1.c rsa_saos.c \
	rsa_sign.c rsa_ssl.c rsa_depr.c rsa_pss.c rsa_x931.c rsa_x931g.c \
	rsa_eng.c
d312 4
d317 5
a321 3
SRCS+=	sha1_one.c sha1dgst.c sha_dgst.c sha_one.c sha256.c sha512.c
.if ${MACHINE_CPUARCH} == "i386"
SRCS+=	sha1-586.s
d325 4
d331 1
a331 5
INCS+=	stack.h safestack.h

# store
SRCS+=	str_err.c str_lib.c str_meth.c str_mem.c
INCS+=	store.h
d333 5
a337 2
# threads
SRCS+=	th-lock.c
d345 12
a356 1
INCS+=	ui.h ui_compat.h ui_locl.h
d359 4
a362 5
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c \
	x509_def.c x509_err.c x509_ext.c x509_lu.c x509_obj.c \
	x509_r2x.c x509_req.c x509_set.c x509_trs.c x509_txt.c \
	x509_v3.c x509_vfy.c x509cset.c x509name.c x509rset.c \
	x509spki.c x509type.c x_all.c x509_vpm.c
d366 6
a371 7
SRCS+=	pcy_cache.c pcy_data.c pcy_lib.c pcy_map.c pcy_node.c \
	pcy_tree.c v3_addr.c v3_akey.c v3_akeya.c v3_alt.c v3_asid.c \
	v3_bcons.c v3_bitst.c \
	v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c v3_genn.c \
	v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ncons.c v3_ocsp.c \
	v3_pci.c v3_pcia.c v3_pcons.c v3_pku.c v3_pmaps.c v3_prn.c \
	v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c v3err.c
a373 13
# cms
#SRCS+=	cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c \
#	cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c
#INCS+=	cms.h

# jpake - is marked experimental
#SRCS+=	jpake.c jpake_err.c
#INCS+=	jpake.h

# seed
#SRCS+=	seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
#INCS+=	seed.h

d375 1
a375 1
INCS+=	opensslconf.h evp.h
d380 4
d387 3
d391 1
a391 1
CLEANFILES=	buildinf.h opensslconf.h evp.h
d400 3
d404 1
d407 1
a408 1
.if ${MK_IDEA} == "no"
d410 1
a410 2
.else
	cp -f ${.ALLSRC} ${.TARGET}
a412 9
# No FIPS support for now
fips.h:
	echo '/* dummy fips.h */' > ${.TARGET}

fips_rand.h:
	echo '/* dummy fips_rand.h */' > ${.TARGET}

CLEANFILES+=	fips.h fips_rand.h

d423 3
a425 1
.if ${MACHINE_CPUARCH} == "i386"
d437 1
a437 2
.PATH: \
	${LCRYPTO_SRC}/crypto \
d442 1
a443 1
	${LCRYPTO_SRC}/crypto/bn \
d445 1
d447 1
a447 1
	${LCRYPTO_SRC}/crypto/camellia \
a462 1
	${LCRYPTO_SRC}/crypto/jpake \
a464 1
	${LCRYPTO_SRC}/crypto/md2 \
d468 1
d483 1
d485 1
a485 2
	${LCRYPTO_SRC}/crypto/store \
	${LCRYPTO_SRC}/crypto/threads \
d488 1
a490 2
	${LCRYPTO_SRC}/engines \
	${LCRYPTO_SRC} \
@


1.88
log
@SVN rev 218723 on 2011-02-15 22:03:09Z by dim

Fix some leftover binaries and shared libraries in the system that still
have an executable stack, due to linking in hand-assembled .S or .s
files, that have no .GNU-stack sections:

RWX --- ---  /lib/libcrypto.so.6
RWX --- ---  /lib/libmd.so.5
RWX --- ---  /lib/libz.so.6
RWX --- ---  /lib/libzpool.so.2
RWX --- ---  /usr/lib/liblzma.so.5

These were found using scanelf, from the sysutils/pax-utils port.

Reviewed by:	kib
@
text
@d10 1
@


1.88.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.88.2.2
log
@SVN rev 229380 on 2012-01-03 10:02:44Z by kib

MFC r228307:
Force linker error when created shared library contains a relocation
against text. Provide the override switch to turn off the strict
behaviour. Apparently, openssl libcrypto needs it due to assembler
code not being PIC.
@
text
@a9 1
ALLOW_SHARED_TEXTREL=
@


1.88.2.3
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/secure/lib/libcrypto/Makefile 229380 2012-01-03 10:02:44Z kib $
@


1.88.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.88.2.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/secure/lib/libcrypto/Makefile 229380 2012-01-03 10:02:44Z kib $
@


1.88.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.88.2.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/secure/lib/libcrypto/Makefile 218723 2011-02-15 22:03:09Z dim $
@


1.87
log
@SVN rev 211934 on 2010-08-28 15:03:11Z by nwhitehorn

Repair some build breakage introduced in r211725 and garbage collect some
code made obsolete in the same commit.
@
text
@d348 4
@


1.86
log
@SVN rev 211725 on 2010-08-23 22:24:11Z by imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
@
text
@d354 1
a354 1
	echo "  #define PLATFORM \"FreeBSD-${MACHINE_CPUARCH}\""; \
@


1.85
log
@SVN rev 211243 on 2010-08-12 20:46:49Z by will

Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time.

Reviewed by:	imp
Approved by:	ken (mentor)
@
text
@d52 1
a52 1
.if ${MACHINE_ARCH} == "i386"
d76 1
a76 1
.if ${MACHINE_ARCH} == "i386"
d78 1
a78 1
.elif ${MACHINE_ARCH} == "amd64"
d92 1
a92 1
.if ${MACHINE_ARCH} == "i386"
d100 1
a100 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
d120 1
a120 1
.if ${MACHINE_ARCH} == "i386"
d175 1
a175 1
.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64"
d211 1
a211 1
.if ${MACHINE_ARCH} == "i386"
d258 1
a258 1
.if ${MACHINE_ARCH} == "i386"
d267 1
a267 1
.if ${MACHINE_ARCH} == "i386"
d287 1
a287 1
.if ${MACHINE_ARCH} == "i386"
d354 1
a354 1
	echo "  #define PLATFORM \"FreeBSD-${MACHINE_ARCH}\""; \
d357 1
a357 1
opensslconf.h: opensslconf-${MACHINE_ARCH}.h
d386 1
a386 1
.if ${MACHINE_ARCH} == "i386"
d390 1
a390 1
.if ${MACHINE_ARCH} == "amd64"
@


1.84
log
@SVN rev 195767 on 2009-07-19 17:25:24Z by kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
@
text
@d358 1
a358 1
	cp ${.ALLSRC} ${.TARGET}
d364 1
a364 1
	cp ${.ALLSRC} ${.TARGET}
@


1.84.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.84.2.2
log
@SVN rev 215912 on 2010-11-26 22:50:58Z by simon

Merge OpenSSL 0.9.8p into stable/8.

This merges up to and including head/crypto/openssl/ r215697; and
head/secure/lib/libcrypto/, head/secure/lib/libssl/,
head/secure/usr.bin/openssl/ r215698.

To make the merge simpler, a hack was added to set MACHINE_CPUARCH.

Security:	CVE-2010-2939, CVE-2010-3864
Security:	http://www.openssl.org/news/secadv_20101116.txt
Security:	FreeBSD-SA-10:10.openssl
Approved by:	re (implicitly - they did not object of the general idea
		of OpenSSL update)
@
text
@d52 1
a52 1
.if ${MACHINE_CPUARCH} == "i386"
d76 1
a76 1
.if ${MACHINE_CPUARCH} == "i386"
d78 1
a78 1
.elif ${MACHINE_CPUARCH} == "amd64"
d92 1
a92 1
.if ${MACHINE_CPUARCH} == "i386"
d100 1
a100 1
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
d120 1
a120 1
.if ${MACHINE_CPUARCH} == "i386"
d175 1
a175 1
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
d211 1
a211 1
.if ${MACHINE_CPUARCH} == "i386"
d258 1
a258 1
.if ${MACHINE_CPUARCH} == "i386"
d267 1
a267 1
.if ${MACHINE_CPUARCH} == "i386"
d287 1
a287 1
.if ${MACHINE_CPUARCH} == "i386"
d357 2
a358 2
opensslconf.h: opensslconf-${MACHINE_CPUARCH}.h
	cp -f ${.ALLSRC} ${.TARGET}
d364 1
a364 1
	cp -f ${.ALLSRC} ${.TARGET}
d386 1
a386 1
.if ${MACHINE_CPUARCH} == "i386"
d390 1
a390 1
.if ${MACHINE_CPUARCH} == "amd64"
@


1.84.2.3
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/secure/lib/libcrypto/Makefile 215912 2010-11-26 22:50:58Z simon $
@


1.84.2.2.4.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.84.2.2.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/secure/lib/libcrypto/Makefile 215912 2010-11-26 22:50:58Z simon $
@


1.84.2.2.2.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.84.2.1.4.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.84.2.1.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.83
log
@SVN rev 195626 on 2009-07-11 22:30:37Z by cperciva

Remove build timestamps from the following files:
/boot/kernel/hptrr.ko
/etc/mail/*.cf
/lib/libcrypto.so.5
/usr/bin/ntpq
/usr/sbin/amd
/usr/sbin/iasl
/usr/sbin/ntpd
/usr/sbin/ntpdate
/usr/sbin/ntpdc

There does not appear to be any purpose to having these timestamps, and
they have the irritating consequence that the aforementioned files will
be different every time they are rebuilt.

After this commit, the only remaining build timestamps are in the kernel,
the boot loaders, /usr/include/osreldate.h (the year in the copyright
notice), and lib*.a (the timestamps on all of the included .o files).

Reviewed by:	scottl (hptrr), gshapiro (sendmail), simon (openssl),
		roberto (ntp), jkim (acpica)
Approved by:	re (kib)
@
text
@d9 1
a9 1
SHLIB_MAJOR=	5
@


1.82
log
@SVN rev 194207 on 2009-06-14 19:46:18Z by simon

Update build infrastructure for OpenSSL 0.9.8k.
@
text
@a354 1
	echo "  #define DATE \"`LC_ALL=C date`\""; \
@


1.81
log
@Integrate the Camellia Block Cipher.  For more information see RFC 4132
and its bibliography.

Submitted by:   Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
MFC after:      1 month
@
text
@d24 2
a25 1
	mem_dbg.c o_dir.c o_str.c o_time.c tmdiff.c uid.c
d31 1
a31 1
	aes_misc.c aes_ofb.c
d40 1
a40 1
	asn_moid.c asn_pack.c d2i_pr.c d2i_pu.c evp_asn1.c f_enum.c \
d73 1
a73 1
	bn_lib.c bn_mod.c bn_mont.c bn_mpi.c bn_mul.c bn_nist.c \
d75 1
a75 1
	bn_sqrt.c bn_word.c
d87 1
a87 1
SRCS+=	buf_err.c buffer.c
d116 1
a116 1
	des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
d133 1
a133 1
	dsa_ossl.c dsa_sign.c dsa_vrf.c
d163 1
a163 1
SRCS+=	err.c err_all.c err_prn.c
d168 1
a168 1
	digest.c e_aes.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c \
d170 2
a171 2
	evp_acnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c m_dss.c m_dss1.c m_ecdsa.c m_md2.c m_md4.c m_md5.c \
d249 1
a249 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c
d257 1
a257 1
SRCS+=	rc4_skey.c
d281 2
a282 1
	rsa_sign.c rsa_ssl.c rsa_depr.c rsa_pss.c rsa_x931.c
d329 13
d410 1
d425 1
d444 1
@


1.81.2.1
log
@SVN rev 215997 on 2010-11-28 13:45:51Z by simon

Merge OpenSSL 0.9.8p into stable/7.

This merges up to and including head/crypto/openssl/ r215697; and
head/secure/lib/libcrypto/, head/secure/lib/libssl/,
head/secure/usr.bin/openssl/ r215698.

To make the merge simpler, a hack was added to set MACHINE_CPUARCH.

A few old OpenSSL security fixes are still the stable/7 tree - these
will be backed out to the vendor version shortly.

Security:	CVE-2010-2939, CVE-2010-3864
Security:	http://www.openssl.org/news/secadv_20101116.txt
Security:	FreeBSD-SA-10:10.openssl
Approved by:	re (implicitly - they did not object of the general idea
		of OpenSSL update)
@
text
@d9 1
a9 1
SHLIB_MAJOR=	6
d24 1
a24 2
	mem_dbg.c o_dir.c o_str.c o_time.c tmdiff.c uid.c dyn_lck.c \
	o_init.c fips_err.c
d30 1
a30 1
	aes_misc.c aes_ofb.c aes_wrap.c
d39 1
a39 1
	asn_moid.c asn_mime.c asn_pack.c d2i_pr.c d2i_pu.c evp_asn1.c f_enum.c \
d51 1
a51 1
.if ${MACHINE_CPUARCH} == "i386"
d72 1
a72 1
	bn_lib.c bn_mod.c bn_mont.c bn_mpi.c bn_mul.c bn_nist.c bn_opt.c \
d74 2
a75 2
	bn_sqrt.c bn_word.c bn_x931p.c
.if ${MACHINE_CPUARCH} == "i386"
d77 1
a77 1
.elif ${MACHINE_CPUARCH} == "amd64"
d86 1
a86 1
SRCS+=	buf_err.c buf_str.c buffer.c
d91 1
a91 1
.if ${MACHINE_CPUARCH} == "i386"
d99 1
a99 1
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
d115 1
a115 1
	des_lib.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
d119 1
a119 1
.if ${MACHINE_CPUARCH} == "i386"
d132 1
a132 1
	dsa_ossl.c dsa_sign.c dsa_vrf.c dsa_utl.c
d162 1
a162 1
SRCS+=	err.c err_all.c err_prn.c err_def.c err_str.c err_bio.c
d167 1
a167 1
	dig_eng.c digest.c e_aes.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c \
d169 2
a170 2
	evp_acnf.c evp_cnf.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c e_seed.c enc_min.c m_dss.c m_dss1.c m_ecdsa.c m_md2.c m_md4.c m_md5.c \
d174 1
a174 1
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
d210 1
a210 1
.if ${MACHINE_CPUARCH} == "i386"
d248 1
a248 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c rand_eng.c
d256 2
a257 2
SRCS+=	rc4_skey.c rc4_fblk.c
.if ${MACHINE_CPUARCH} == "i386"
d266 1
a266 1
.if ${MACHINE_CPUARCH} == "i386"
d280 1
a280 2
	rsa_sign.c rsa_ssl.c rsa_depr.c rsa_pss.c rsa_x931.c rsa_x931g.c \
	rsa_eng.c
d285 1
a285 1
.if ${MACHINE_CPUARCH} == "i386"
a326 13
# cms
#SRCS+=	cms_lib.c cms_asn1.c cms_att.c cms_io.c cms_smime.c cms_err.c \
#	cms_sd.c cms_dd.c cms_cd.c cms_env.c cms_enc.c cms_ess.c
#INCS+=	cms.h

# jpake - is marked experimental
#SRCS+=	jpake.c jpake_err.c
#INCS+=	jpake.h

# seed
#SRCS+=	seed.c seed_ecb.c seed_cbc.c seed_cfb.c seed_ofb.c
#INCS+=	seed.h

d340 1
d343 2
a344 2
opensslconf.h: opensslconf-${MACHINE_CPUARCH}.h
	cp -f ${.ALLSRC} ${.TARGET}
d350 1
a350 1
	cp -f ${.ALLSRC} ${.TARGET}
d372 1
a372 1
.if ${MACHINE_CPUARCH} == "i386"
d376 1
a376 1
.if ${MACHINE_CPUARCH} == "amd64"
a394 1
	${LCRYPTO_SRC}/crypto/cms \
a408 1
	${LCRYPTO_SRC}/crypto/jpake \
a426 1
	${LCRYPTO_SRC}/crypto/seed \
@


1.81.2.2
log
@SVN rev 217562 on 2011-01-18 22:19:55Z by simon

Decrease the libcrypto and libssl shared object version numbers from 6
to 5. They were accidentally bumped in r215997 (on 2010-11-28) with the
merge of OpenSSL 0.9.8p, but unfortunately this was not caught until
now.

Also add compat links for libcrypto.so.6 / libssl.so.6 (pointing to
their .5 counterparts) in case any users have compiled any third party
during the time stable/7 (and releng/7.4) were broken.

This is deemed the last poor of bad options.  Had the number bump not
been reverted binary packages for stable/7 would not have worked on the
still supported 7.3 and 7.1 releases.

Discussed with:	re, portmgr
Approved by:	re (kensmith - in principle)
Pointyhat to:	simon
@
text
@d9 1
a9 3
SHLIB_MAJOR=	5

SYMLINKS=	lib${LIB}.so.5 ${SHLIBDIR}/lib${LIB}.so.6
@


1.81.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/secure/lib/libcrypto/Makefile 217562 2011-01-18 22:19:55Z simon $
@


1.81.2.1.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.81.2.1.2.2
log
@SVN rev 217574 on 2011-01-19 07:44:47Z by simon

MFS7 r217562:

 Decrease the libcrypto and libssl shared object version numbers from 6
 to 5. They were accidentally bumped in r215997 (on 2010-11-28) with the
 merge of OpenSSL 0.9.8p, but unfortunately this was not caught until
 now.

 Also add compat links for libcrypto.so.6 / libssl.so.6 (pointing to
 their .5 counterparts) in case any users have compiled any third party
 during the time stable/7 (and releng/7.4) were broken.

 This is deemed the last poor of bad options.  Had the number bump not
 been reverted binary packages for stable/7 would not have worked on the
 still supported 7.3 and 7.1 releases.

Approved by:	re (kensmith)
@
text
@d9 1
a9 3
SHLIB_MAJOR=	5

SYMLINKS=	lib${LIB}.so.5 ${SHLIBDIR}/lib${LIB}.so.6
@


1.81.2.1.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/secure/lib/libcrypto/Makefile 217574 2011-01-19 07:44:47Z simon $
@


1.81.10.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.81.8.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.81.6.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.80
log
@Upgrade to OpenSSL 0.9.8e.
@
text
@d98 7
d174 3
d394 1
@


1.79
log
@Upgrade to OpenSSL 0.9.8d.
@
text
@d309 2
a310 1
	pcy_tree.c v3_akey.c v3_akeya.c v3_alt.c v3_bcons.c v3_bitst.c \
@


1.78
log
@Upgrade to OpenSSL 0.9.8b.
@
text
@d29 2
a30 1
SRCS+=	aes_cbc.c aes_cfb.c aes_core.c aes_ctr.c aes_ecb.c aes_misc.c aes_ofb.c
@


1.77
log
@Clean generated headers.
@
text
@d4 1
d9 1
a9 1
SHLIB_MAJOR=	4
d24 1
a24 1
	mem_dbg.c o_time.c o_str.c tmdiff.c uid.c
d33 13
a45 13
SRCS+=	a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c \
	a_dup.c a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c \
	a_mbstr.c a_meth.c a_object.c a_octet.c a_print.c \
	a_set.c a_sign.c a_strex.c a_strnid.c a_time.c a_type.c \
	a_utctm.c a_utf8.c a_verify.c asn1_err.c asn1_lib.c \
	asn1_par.c asn_moid.c asn_pack.c d2i_pr.c d2i_pu.c \
	evp_asn1.c f_enum.c f_int.c f_string.c i2d_pr.c i2d_pu.c \
	n_pkey.c nsseq.c p5_pbe.c p5_pbev2.c p8_pkey.c t_bitst.c \
	t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c \
	tasn_dec.c tasn_enc.c tasn_fre.c tasn_new.c tasn_typ.c \
	tasn_utl.c x_algor.c x_attrib.c x_bignum.c x_crl.c \
	x_exten.c x_info.c x_long.c x_name.c x_pkey.c x_pubkey.c \
	x_req.c x_sig.c x_spki.c x_val.c x_x509.c x_x509a.c
d64 1
a64 1
	bss_conn.c bss_fd.c bss_file.c bss_log.c bss_mem.c \
d66 1
a66 1
INCS+=	bio.h
d69 5
a73 4
SRCS+=	bn_add.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \
	bn_exp2.c bn_gcd.c bn_kron.c bn_lib.c bn_mod.c bn_mont.c \
	bn_mpi.c bn_mul.c bn_prime.c bn_print.c bn_rand.c bn_recp.c \
	bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c
d119 1
a119 1
SRCS+=	dh_asn1.c dh_check.c dh_err.c dh_gen.c dh_key.c dh_lib.c
d123 2
a124 1
SRCS+=	dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c dsa_ossl.c dsa_sign.c dsa_vrf.c
d132 3
a134 2
SRCS+=	ec_cvt.c ec_err.c ec_lib.c ec_mult.c ecp_mont.c ecp_nist.c \
	ecp_recp.c ecp_smpl.c
d137 8
d146 6
a151 11
SRCS+=	eng_all.c eng_cnf.c eng_ctrl.c eng_dyn.c eng_err.c eng_fat.c \
	eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_padlock.c eng_pkey.c \
	eng_table.c hw_4758_cca.c hw_4758_cca_err.c hw_aep.c hw_aep_err.c \
	hw_atalla.c hw_atalla_err.c hw_cryptodev.c hw_cswift.c \
	hw_cswift_err.c hw_ncipher.c hw_ncipher_err.c hw_nuron.c \
	hw_nuron_err.c hw_sureware.c hw_sureware_err.c hw_ubsec.c \
	hw_ubsec_err.c tb_cipher.c tb_dh.c tb_digest.c tb_dsa.c tb_rand.c \
	tb_rsa.c
INCS+=	eng_int.h engine.h hw_4758_cca_err.h hw_aep_err.h hw_atalla_err.h \
	hw_cswift_err.h hw_ncipher_err.h hw_nuron_err.h hw_sureware_err.h \
	hw_ubsec_err.h
d161 5
a165 6
	evp_acnf.c \
	evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c evp_pkey.c \
	m_dss.c m_dss1.c m_md2.c m_md4.c m_md5.c m_mdc2.c m_null.c \
	m_ripemd.c m_sha.c m_sha1.c names.c openbsd_hw.c p5_crpt.c \
	p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c p_sign.c \
	p_verify.c
d232 4
d269 1
a269 1
	rsa_sign.c rsa_ssl.c
d273 1
a273 1
SRCS+=	sha1_one.c sha1dgst.c sha_dgst.c sha_one.c
d283 4
d303 1
a303 1
	x509spki.c x509type.c x_all.c
d307 6
a312 4
SRCS+=	v3_akey.c v3_akeya.c v3_alt.c v3_bcons.c v3_bitst.c \
	v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c \
	v3_genn.c v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ocsp.c \
	v3_pku.c v3_prn.c v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c v3err.c
d389 2
d407 1
d416 1
d422 1
@


1.76
log
@Provide alternate default for SHLIBDIR before bsd.own.mk does this.

Reported by:	phk
@
text
@d332 2
@


1.75
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
@d3 2
a7 1
SHLIBDIR?=	/lib
@


1.74
log
@Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by:	ru
Approved by:	re (not needed for commit check but in principle...)
@
text
@d3 2
d169 1
a169 1
.if defined(MAKE_IDEA)
d318 1
a318 1
.if !defined(MAKE_IDEA)
d349 1
a349 1
.if defined(MAKE_IDEA)
@


1.73
log
@Update OpenSSL 0.9.7d -> 0.9.7e.
@
text
@d5 1
a5 1
SHLIB_MAJOR=	3
@


1.73.2.1
log
@Insta-MFC of the shared library version bump.  All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@d5 1
a5 1
SHLIB_MAJOR=	4
@


1.73.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/secure/lib/libcrypto/Makefile 148300 2005-07-22 17:29:10Z kensmith $
@


1.73.2.1.10.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.72
log
@Define PLATFORM correctly when cross-building.
@
text
@d20 1
a20 1
	mem_dbg.c o_time.c tmdiff.c uid.c
d150 2
a151 1
	e_null.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c evp_acnf.c \
d159 3
d322 7
@


1.71
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d300 1
a300 1
buildinf.h:
d304 1
a304 1
	echo "  #define PLATFORM \"`uname -s`-`uname -m`\""; \
@


1.70
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d7 1
a7 1
NOLINT=
@


1.69
log
@Add support for C3 Nehemiah ACE ("Padlock") AES crypto. This comes
from OpenSSL 0.9.5 (yet to be released), and is pretty complete.
@
text
@d7 1
a7 1
NOLINT=		true
@


1.69.2.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d7 1
a7 1
NOLINT=
@


1.69.2.2
log
@MFC update OpenSSL 0.9.7d -> 0.9.7e.
@
text
@d20 1
a20 1
	mem_dbg.c o_time.c o_str.c tmdiff.c uid.c
d150 1
a150 2
	e_null.c e_old.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c \
	evp_acnf.c \
a157 3
# fips
INCS+=	fips.h fips_rand.h

a317 7
# No FIPS support for now
fips.h:
	echo '/* dummy fips.h */' > ${.TARGET}

fips_rand.h:
	echo '/* dummy fips_rand.h */' > ${.TARGET}

@


1.68
log
@Turn MAKE_IDEA into a true "bool" type variable, as documented in
the make.conf(5) manpage.

PR:		conf/65738
OK'ed by:	markm
@
text
@d132 1
a132 1
	eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_pkey.c \
@


1.67
log
@Turn on the amd64-specific bignum code in openssl.  This is actually
a variant of the C code but with some scattered asm and things laid out
more optimally for the platform.  This means that we need to the asm
directory to the search path for the amd64 case so that make can find
the source.
@
text
@d163 1
a163 1
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
d312 1
a312 1
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
d336 1
a336 1
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
@


1.66
log
@Re-add the hand-optimised assembler versions of some of the ciphers
to the build.

Should have done this ages ago:	markm
Reminded above to do this:	peter
@
text
@d71 2
d332 4
d346 1
@


1.65
log
@Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
@
text
@d45 10
a54 1
SRCS+=	bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c
d65 1
a65 1
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \
d69 6
d82 6
a87 1
SRCS+=	c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
d100 2
a101 2
	des_enc.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
	enc_read.c enc_writ.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c \
d104 5
d154 1
d184 3
d226 6
a231 1
SRCS+=	rc4_enc.c rc4_skey.c
d235 6
a240 1
SRCS+=	rc5_ecb.c rc5_enc.c rc5_skey.c rc5cfb64.c rc5ofb64.c
d255 3
d325 4
@


1.64
log
@Ugg, wrong version.
CSTD=gnu89, c89 wont do.
@
text
@d4 1
@


1.63
log
@This isn't C99 clean.
@
text
@d251 1
a251 1
CSTD=	c89
@


1.62
log
@Silence `make -s' (echo -> ${ECHO}).
@
text
@d251 2
@


1.61
log
@Back out rev 1.60, taking the pointy hat away from nectar as 'rm -f'
doesn't need to be prefixed with '-'.  Keep the pointy hat for myself
for not reading the code closely.
@
text
@d273 1
a273 1
	@@echo "Removing stale symlinks."
@


1.60
log
@Don't error out the build if removing a "stale" symlink fails.

Pointy hat for breaking my installworld:	nectar
@
text
@d274 1
a274 1
	-rm -f ${DESTDIR}${INCLUDEDIR}/des.h
d276 1
a276 1
	-rm -f ${DESTDIR}${LIBDIR}/${symlink}
@


1.59
log
@Handle includes the normal way.

Reviewed by:	markm
Approved by:	nectar
@
text
@d274 1
a274 1
	rm -f ${DESTDIR}${INCLUDEDIR}/des.h
d276 1
a276 1
	rm -f ${DESTDIR}${LIBDIR}/${symlink}
@


1.58
log
@LIBDIR/INCLUDEDIR do not include DESTDIR.

Reported by:	Andrzej Tobola <san@@iem.pw.edu.pl>
@
text
@d18 1
a18 1
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
d20 2
d25 1
d41 1
d45 1
d52 1
d59 1
d63 1
d67 1
d71 1
d75 1
d83 1
d87 1
d91 1
d95 1
d100 1
d111 3
d117 1
d131 1
d136 1
d141 1
d145 1
d149 1
d153 1
d157 1
d161 1
d165 1
d170 1
d175 1
d181 1
d189 1
d193 1
d197 1
d201 1
d205 1
d211 1
d215 1
d219 1
d226 1
d230 1
d238 1
d245 1
d247 2
a248 1
INCS=		${HDRS} openssl/evp.h openssl/opensslconf.h
d250 20
@


1.57
log
@Follow-up to previous commit: we had a des.h symlink, too.  Remove
that.
@
text
@d209 1
a209 1
	rm -f ${INCLUDEDIR}/des.h
d211 1
a211 1
	rm -f ${LIBDIR}/${symlink}
@


1.56
log
@Previously, libcrypto contained symbols that were identical to EAY
libdes, and functionally close enough so that we created symlinks
(libdes -> libcrypto) to help older applications.  With the import of
OpenSSL 0.9.7, this is no longer true and we no longer install these
symlinks.  However, systems that are upgraded may have these symlinks,
which could cause non-obvious breakage at build-time.  Therefore, blow
any old symlinks away in the `afterinstall' target.
@
text
@d209 1
@


1.55
log
@Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
@
text
@d206 7
@


1.54
log
@Background:
 When libdes was replaced with OpenSSL's libcrypto, there were a few
 interfaces that the former implemented but the latter did not.  Because
 some software in the base system still depended upon these interfaces,
 we simply included them in our libcrypto (rnd_keys.c).

Now, finally get around to removing the dependencies on these
interfaces.  There were basically two cases:

  des_new_random_key -- This is just a wrapper for des_random_key, and
     these calls were replaced.

  des_init_random_number_generator et. al. -- A few functions were used
     by the application to seed libdes's PRNG.  These are not necessary
     when using libcrypto, as OpenSSL internally seeds the PRNG from
     /dev/random.  These calls were simply removed.

Again, some of the Kerberos 4 files have been taken off the vendor
branch.  I do not expect there to be future imports of KTH Kerberos 4.
@
text
@d8 7
a201 40

.if defined(WANT_OPENSSL_MANPAGES)
MAN3=	ASN1_OBJECT_new.3 ASN1_STRING_length.3 ASN1_STRING_new.3 \
	ASN1_STRING_print_ex.3 BIO_ctrl.3 BIO_f_base64.3 BIO_f_buffer.3 \
	BIO_f_cipher.3 BIO_f_md.3 BIO_f_null.3 BIO_f_ssl.3 BIO_find_type.3 \
	BIO_new.3 BIO_push.3 BIO_read.3 BIO_s_accept.3 BIO_s_bio.3 \
	BIO_s_connect.3 BIO_s_fd.3 BIO_s_file.3 BIO_s_mem.3 BIO_s_null.3 \
	BIO_s_socket.3 BIO_set_callback.3 BIO_should_retry.3 BN_CTX_new.3 \
	BN_CTX_start.3 BN_add.3 BN_add_word.3 BN_bn2bin.3 BN_cmp.3 \
	BN_copy.3 BN_generate_prime.3 BN_mod_inverse.3 BN_mod_mul_montgomery.3 \
	BN_mod_mul_reciprocal.3 BN_new.3 BN_num_bytes.3 BN_rand.3 \
	BN_set_bit.3 BN_swap.3 BN_zero.3 CRYPTO_set_ex_data.3 \
	DH_generate_key.3 DH_generate_parameters.3 DH_get_ex_new_index.3 \
	DH_new.3 DH_set_method.3 DH_size.3 DSA_SIG_new.3 DSA_do_sign.3 \
	DSA_dup_DH.3 DSA_generate_key.3 DSA_generate_parameters.3 \
	DSA_get_ex_new_index.3 DSA_new.3 DSA_set_method.3 DSA_sign.3 \
	DSA_size.3 ERR_GET_LIB.3 ERR_clear_error.3 ERR_error_string.3 \
	ERR_get_error.3 ERR_load_crypto_strings.3 ERR_load_strings.3 \
	ERR_print_errors.3 ERR_put_error.3 ERR_remove_state.3 \
	EVP_BytesToKey.3 EVP_DigestInit.3 EVP_EncryptInit.3 EVP_OpenInit.3 \
	EVP_PKEY_new.3 EVP_PKEY_set1_RSA.3 EVP_SealInit.3 EVP_SignInit.3 \
	EVP_VerifyInit.3 OBJ_nid2obj.3 OPENSSL_VERSION_NUMBER.3 \
	OpenSSL_add_all_algorithms.3 PKCS12_create.3 PKCS12_parse.3 \
	PKCS7_decrypt.3 PKCS7_encrypt.3 PKCS7_sign.3 PKCS7_verify.3 \
	RAND_add.3 RAND_bytes.3 RAND_cleanup.3 RAND_egd.3 RAND_load_file.3 \
	RAND_set_rand_method.3 RSA_blinding_on.3 RSA_check_key.3 \
	RSA_generate_key.3 RSA_get_ex_new_index.3 RSA_new.3 \
	RSA_padding_add_PKCS1_type_1.3 RSA_print.3 RSA_private_encrypt.3 \
	RSA_public_encrypt.3 RSA_set_method.3 RSA_sign.3 \
	RSA_sign_ASN1_OCTET_STRING.3 RSA_size.3 SMIME_read_PKCS7.3 \
	SMIME_write_PKCS7.3 X509_NAME_ENTRY_get_object.3 \
	X509_NAME_add_entry_by_txt.3 X509_NAME_get_index_by_NID.3 \
	X509_NAME_print_ex.3 X509_new.3 bio.3 blowfish.3 bn.3 bn_internal.3 \
	buffer.3 crypto.3 d2i_ASN1_OBJECT.3 d2i_DHparams.3 d2i_DSAPublicKey.3 \
	d2i_PKCS8PrivateKey.3 d2i_RSAPublicKey.3 d2i_X509.3 d2i_X509_ALGOR.3 \
	d2i_X509_CRL.3 d2i_X509_NAME.3 d2i_X509_REQ.3 d2i_X509_SIG.3 \
	des.3 des_modes.3 dh.3 dsa.3 engine.3 err.3 evp.3 hmac.3 \
	lh_stats.3 lhash.3 md5.3 mdc2.3 pem.3 rand.3 rc4.3 ripemd.3 \
	rsa.3 sha.3 threads.3 ui.3 ui_compat.3
.endif
@


1.53
log
@Re-add WANT_OPENSSL_MANPAGES knob.
@
text
@d63 1
a63 1
	ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c rnd_keys.c \
@


1.52
log
@Update for OpenSSL 0.9.7. No assembler code at the moment. This
will follow.
@
text
@d196 1
d234 1
@


1.51
log
@Remove myself as maintainer of openssl; I no longer have enough time to
devote to it.
@
text
@a2 24
.include "Makefile.inc"

.PATH: ${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
       ${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/buffer \
       ${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/conf \
       ${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/dsa \
       ${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp \
       ${LCRYPTO_SRC}/hmac ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 \
       ${LCRYPTO_SRC}/md4 ${LCRYPTO_SRC}/md5 ${LCRYPTO_SRC}/mdc2 \
       ${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem ${LCRYPTO_SRC}/pkcs7 \
       ${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/rc2 \
       ${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/ripemd \
       ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref ${LCRYPTO_SRC}/sha \
       ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/x509 \
       ${LCRYPTO_SRC}/x509v3 ${.CURDIR}/man

.if ${MACHINE_ARCH} == "i386"
.PATH: ${.CURDIR}/i386
.endif

.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
.PATH: ${LCRYPTO_SRC}/idea
.endif

d4 1
a4 1
SHLIB_MAJOR=	2
d8 2
d11 5
a15 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_dbg.c \
	tmdiff.c uid.c
d18 1
a18 1
SRCS+=	a_bitstr.c a_bmp.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c \
d20 1
a20 1
	a_mbstr.c a_meth.c a_null.c a_object.c a_octet.c a_print.c \
d22 8
a29 10
	a_utctm.c a_utf8.c a_verify.c a_vis.c asn1_err.c asn1_lib.c \
	asn1_par.c asn_pack.c d2i_dhp.c d2i_dsap.c d2i_pr.c d2i_pu.c \
	d2i_r_pr.c d2i_r_pu.c d2i_s_pr.c d2i_s_pu.c evp_asn1.c \
	f_enum.c f_int.c f_string.c i2d_dhp.c i2d_dsap.c i2d_pr.c \
	i2d_pu.c i2d_r_pr.c i2d_r_pu.c i2d_s_pr.c i2d_s_pu.c n_pkey.c \
	nsseq.c p5_pbe.c p5_pbev2.c p7_dgst.c p7_enc.c p7_enc_c.c \
	p7_evp.c p7_i_s.c p7_lib.c p7_recip.c p7_s_e.c p7_signd.c \
	p7_signi.c p8_pkey.c t_bitst.c t_crl.c t_pkey.c t_req.c \
	t_spki.c t_x509.c t_x509a.c x_algor.c x_attrib.c x_cinf.c \
	x_crl.c x_exten.c x_info.c x_name.c x_pkey.c x_pubkey.c \
d32 2
a33 11
# blowfish
SRCS+=	bf_cfb64.c bf_ecb.c bf_ofb64.c bf_skey.c
.if ${MACHINE_ARCH} == "i386"
.if ${MACHINE_CPU:Mi686}
SRCS+=	bf-686.s
.else
SRCS+=	bf-586.s
.endif
.else
SRCS+=	bf_enc.c
.endif
d36 4
a39 3
SRCS+=	b_dump.c b_print.c b_sock.c bf_buff.c bf_nbio.c bf_null.c \
	bio_cb.c bio_err.c bio_lib.c bss_acpt.c bss_bio.c bss_conn.c \
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.c
d42 4
a45 10

SRCS+=	bn_add.c bn_blind.c bn_ctx.c bn_div.c bn_err.c \
	bn_exp.c bn_exp2.c bn_gcd.c bn_lib.c bn_mont.c bn_mpi.c \
	bn_mul.c bn_prime.c bn_print.c bn_rand.c bn_recp.c bn_shift.c \
	bn_sqr.c bn_word.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	bn-586.s co-586.s
.else
SRCS+=	bn_asm.c
.endif
d48 1
a48 1
SRCS+=	buf_err.c buffer.c 
d51 1
a51 6
SRCS+=	c_cfb64.c c_ecb.c c_ofb64.c c_skey.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	cast-586.s
.else
SRCS+=	c_enc.c
.endif
d54 1
a54 1
SRCS+=	c_rle.c c_zlib.c comp_lib.c
d57 1
a57 1
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c
d60 5
a64 10
SRCS+=	cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
	ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c \
	fcrypt.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c \
	qud_cksm.c rand_key.c read2pwd.c read_pwd.c rpc_enc.c \
	set_key.c str2key.c xcbc_enc.c rnd_keys.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	des-586.s crypt586.s
.else
SRCS+=	des_enc.c fcrypt_b.c
.endif
d67 1
a67 1
SRCS+=	dh_check.c dh_err.c dh_gen.c dh_key.c dh_lib.c
d69 2
a70 3
# dsa 
SRCS+=	dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c dsa_ossl.c \
	dsa_sign.c dsa_vrf.c
d73 15
a87 2
SRCS+=	dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
	dso_openssl.c
d94 7
a100 6
	digest.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c e_null.c \
	e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c evp_enc.c \
	evp_err.c evp_key.c evp_lib.c evp_pbe.c evp_pkey.c m_dss.c \
	m_dss1.c m_md2.c m_md4.c m_md5.c m_mdc2.c m_null.c m_ripemd.c \
	m_sha.c m_sha1.c names.c p5_crpt.c p5_crpt2.c p_dec.c p_enc.c \
	p_lib.c p_open.c p_seal.c p_sign.c p_verify.c
d107 1
a107 1
SRCS+=	i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c
d110 3
a123 3
.if ${MACHINE_ARCH} == "i386"
SRCS+=	md5-586.s
.endif
d126 1
a126 1
SRCS+=	mdc2dgst.c mdc2_one.c
d131 4
d136 7
a142 1
SRCS+=	pem_all.c pem_err.c pem_info.c pem_lib.c pem_seal.c pem_sign.c
d145 2
a146 6
SRCS+=	pk7_attr.c pk7_doit.c pk7_lib.c pk7_mime.c pk7_smime.c pkcs7err.c 

# pkcs12
SRCS+=	p12_add.c p12_attr.c p12_bags.c p12_crpt.c p12_crt.c p12_decr.c \
	p12_init.c p12_key.c p12_kiss.c p12_lib.c p12_mac.c p12_mutl.c \
	p12_npas.c p12_sbag.c p12_utl.c pk12err.c
d149 1
a149 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_win.c randfile.c
d152 1
a152 1
SRCS+=	rc2_cbc.c rc2cfb64.c rc2_ecb.c rc2ofb64.c rc2_skey.c 
d155 1
a155 6
SRCS+=	rc4_skey.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	rc4-586.s
.else
SRCS+=	rc4_enc.c
.endif
d158 1
a158 6
SRCS+=	rc5cfb64.c rc5_ecb.c rc5ofb64.c rc5_skey.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	rc5-586.s
.else
SRCS+=	rc5_enc.c
.endif
a161 3
.if ${MACHINE_ARCH} == "i386"
SRCS+=	rmd-586.s
.endif
d164 3
a166 4
.if defined(WITH_RSA) && ${WITH_RSA} == YES
SRCS+=	rsa_chk.c rsa_eay.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c \
	rsa_null.c rsa_oaep.c rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c
.endif
d169 1
a169 4
SRCS+=	sha_dgst.c sha_one.c sha1_one.c sha1dgst.c
.if ${MACHINE_ARCH} == "i386"
SRCS+=	sha1-586.s
.endif
d174 3
d180 3
d184 6
a189 4
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c x509_def.c \
	x509_err.c x509_ext.c x509_lu.c x509_obj.c x509_r2x.c \
	x509_req.c x509_set.c x509_trs.c x509_txt.c x509_v3.c \
	x509_vfy.c x509name.c x509rset.c x509spki.c x509type.c x_all.c 
d191 42
a232 141
SRCS+=	v3_akey.c v3_alt.c v3_bcons.c v3_bitst.c v3_conf.c v3_cpols.c \
	v3_crld.c v3_enum.c v3_extku.c v3_genn.c v3_ia5.c v3_info.c \
	v3_int.c v3_lib.c v3_pku.c v3_prn.c v3_purp.c v3_skey.c \
	v3_sxnet.c v3_utl.c v3err.c

POD1+=	apps/CA.pl.pod apps/asn1parse.pod apps/ca.pod \
	apps/ciphers.pod apps/crl.pod \
	apps/crl2pkcs7.pod apps/dgst.pod apps/dhparam.pod apps/dsa.pod \
	apps/dsaparam.pod apps/enc.pod apps/gendsa.pod apps/genrsa.pod \
	apps/nseq.pod apps/openssl.pod apps/passwd.pod apps/pkcs12.pod \
	apps/pkcs7.pod apps/pkcs8.pod apps/rand.pod apps/req.pod \
	apps/rsa.pod apps/rsautl.pod apps/s_client.pod \
	apps/s_server.pod apps/sess_id.pod apps/smime.pod \
	apps/speed.pod apps/spkac.pod apps/verify.pod apps/version.pod \
	apps/x509.pod

POD3+=	crypto/BIO_ctrl.pod crypto/BIO_f_base64.pod \
	crypto/BIO_f_buffer.pod crypto/BIO_f_cipher.pod \
	crypto/BIO_f_md.pod crypto/BIO_f_null.pod crypto/BIO_f_ssl.pod \
	crypto/BIO_find_type.pod crypto/BIO_new.pod \
	crypto/BIO_new_bio_pair.pod crypto/BIO_push.pod \
	crypto/BIO_read.pod crypto/BIO_s_accept.pod \
	crypto/BIO_s_bio.pod crypto/BIO_s_connect.pod \
	crypto/BIO_s_fd.pod crypto/BIO_s_file.pod crypto/BIO_s_mem.pod \
	crypto/BIO_s_null.pod crypto/BIO_s_socket.pod \
	crypto/BIO_set_callback.pod crypto/BIO_should_retry.pod \
	crypto/BN_CTX_new.pod crypto/BN_CTX_start.pod \
	crypto/BN_add.pod crypto/BN_add_word.pod crypto/BN_bn2bin.pod \
	crypto/BN_cmp.pod crypto/BN_copy.pod \
	crypto/BN_generate_prime.pod crypto/BN_mod_inverse.pod \
	crypto/BN_mod_mul_montgomery.pod \
	crypto/BN_mod_mul_reciprocal.pod crypto/BN_new.pod \
	crypto/BN_num_bytes.pod crypto/BN_rand.pod \
	crypto/BN_set_bit.pod crypto/BN_zero.pod \
	crypto/CRYPTO_set_ex_data.pod crypto/DH_generate_key.pod \
	crypto/DH_generate_parameters.pod \
	crypto/DH_get_ex_new_index.pod crypto/DH_new.pod \
	crypto/DH_set_method.pod crypto/DH_size.pod \
	crypto/DSA_SIG_new.pod crypto/DSA_do_sign.pod \
	crypto/DSA_dup_DH.pod crypto/DSA_generate_key.pod \
	crypto/DSA_generate_parameters.pod \
	crypto/DSA_get_ex_new_index.pod crypto/DSA_new.pod \
	crypto/DSA_set_method.pod crypto/DSA_sign.pod \
	crypto/DSA_size.pod crypto/ERR_GET_LIB.pod \
	crypto/ERR_clear_error.pod crypto/ERR_error_string.pod \
	crypto/ERR_get_error.pod crypto/ERR_load_crypto_strings.pod \
	crypto/ERR_load_strings.pod crypto/ERR_print_errors.pod \
	crypto/ERR_put_error.pod crypto/ERR_remove_state.pod \
	crypto/EVP_DigestInit.pod crypto/EVP_EncryptInit.pod \
	crypto/EVP_OpenInit.pod crypto/EVP_SealInit.pod \
	crypto/EVP_SignInit.pod crypto/EVP_VerifyInit.pod \
	crypto/OPENSSL_VERSION_NUMBER.pod \
	crypto/OpenSSL_add_all_algorithms.pod crypto/RAND_add.pod \
	crypto/RAND_bytes.pod crypto/RAND_cleanup.pod \
	crypto/RAND_egd.pod crypto/RAND_load_file.pod \
	crypto/RAND_set_rand_method.pod crypto/RSA_blinding_on.pod \
	crypto/RSA_check_key.pod crypto/RSA_generate_key.pod \
	crypto/RSA_get_ex_new_index.pod crypto/RSA_new.pod \
	crypto/RSA_padding_add_PKCS1_type_1.pod crypto/RSA_print.pod \
	crypto/RSA_private_encrypt.pod crypto/RSA_public_encrypt.pod \
	crypto/RSA_set_method.pod crypto/RSA_sign.pod \
	crypto/RSA_sign_ASN1_OCTET_STRING.pod crypto/RSA_size.pod \
	crypto/bio.pod crypto/blowfish.pod crypto/bn.pod \
	crypto/bn_internal.pod crypto/buffer.pod crypto/crypto.pod \
	crypto/d2i_DHparams.pod crypto/d2i_RSAPublicKey.pod \
	crypto/des.pod crypto/des_modes.pod crypto/dh.pod \
	crypto/dsa.pod crypto/err.pod crypto/evp.pod crypto/hmac.pod \
	crypto/lh_stats.pod crypto/lhash.pod crypto/md5.pod \
	crypto/mdc2.pod crypto/rand.pod crypto/rc4.pod \
	crypto/ripemd.pod crypto/rsa.pod crypto/sha.pod \
	crypto/threads.pod

POD3+=	ssl/SSL_CIPHER_get_name.pod \
	ssl/SSL_CTX_add_extra_chain_cert.pod \
	ssl/SSL_CTX_add_session.pod ssl/SSL_CTX_flush_sessions.pod \
	ssl/SSL_CTX_free.pod ssl/SSL_CTX_get_ex_new_index.pod \
	ssl/SSL_CTX_get_verify_mode.pod \
	ssl/SSL_CTX_load_verify_locations.pod ssl/SSL_CTX_new.pod \
	ssl/SSL_CTX_sess_set_cache_size.pod ssl/SSL_CTX_sess_set_get_cb.pod \
	ssl/SSL_CTX_sessions.pod ssl/SSL_CTX_set_cipher_list.pod \
	ssl/SSL_CTX_set_client_CA_list.pod \
	ssl/SSL_CTX_set_client_cert_cb.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod ssl/SSL_CTX_set_options.pod\
	ssl/SSL_CTX_set_session_cache_mode.pod \
	ssl/SSL_CTX_set_session_id_context.pod \
	ssl/SSL_CTX_set_ssl_version.pod \
	ssl/SSL_CTX_set_timeout.pod ssl/SSL_CTX_set_verify.pod \
	ssl/SSL_CTX_use_certificate.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_do_handshake.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_client_CA_list.pod ssl/SSL_get_current_cipher.pod \
	ssl/SSL_get_error.pod ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
	ssl/SSL_get_ex_new_index.pod ssl/SSL_get_fd.pod \
	ssl/SSL_get_peer_cert_chain.pod ssl/SSL_get_peer_certificate.pod \
	ssl/SSL_get_rbio.pod ssl/SSL_get_session.pod \
	ssl/SSL_get_verify_result.pod ssl/SSL_library_init.pod \
	ssl/SSL_load_client_CA_file.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod \
	ssl/ssl.pod ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
	ssl/SSL_get_version.pod ssl/SSL_set_connect_state.pod \
	ssl/SSL_set_shutdown.pod ssl/SSL_alert_type_string.pod \
	ssl/SSL_COMP_add_compression_method.pod ssl/SSL_CTX_ctrl.pod \
	ssl/SSL_CTX_set_cert_store.pod \
	ssl/SSL_CTX_set_cert_verify_callback.pod \
	ssl/SSL_CTX_set_info_callback.pod ssl/SSL_CTX_set_quiet_shutdown.pod \
	ssl/SSL_CTX_set_tmp_dh_callback.pod \
	ssl/SSL_CTX_set_tmp_rsa_callback.pod ssl/SSL_get_default_timeout.pod \
	ssl/SSL_get_SSL_CTX.pod ssl/SSL_rstate_string.pod \
	ssl/SSL_session_reused.pod ssl/SSL_state_string.pod \
	ssl/SSL_want.pod

POD5+=	apps/config.pod

.if defined(WANT_OPENSSL_MANPAGES)
.for section in 1 3 5
.for pod in ${POD${section}}
.for target in ${pod:T:S/.pod/.${section}/g}
MAN+= ${target}
.endfor
.endfor
.endfor
.endif

MAN+=	des_crypt.3

MLINKS= des_crypt.3 des_read_password.3 \
	des_crypt.3 des_read_2password.3 des_crypt.3 des_string_to_key.3 \
	des_crypt.3 des_string_to_2key.3 des_crypt.3 des_read_pw_string.3 \
	des_crypt.3 des_random_key.3 des_crypt.3 des_set_key.3 \
	des_crypt.3 des_key_sched.3 des_crypt.3 des_ecb_encrypt.3 \
	des_crypt.3 des_3ecb_encrypt.3 des_crypt.3 des_cbc_encrypt.3 \
	des_crypt.3 des_3cbc_encrypt.3 des_crypt.3 des_pcbc_encrypt.3 \
	des_crypt.3 des_cfb_encrypt.3 des_crypt.3 des_ofb_encrypt.3 \
	des_crypt.3 des_cbc_cksum.3 des_crypt.3 des_quad_cksum.3 \
	des_crypt.3 des_enc_read.3 des_crypt.3 des_enc_write.3 \
	des_crypt.3 des_set_odd_parity.3 des_crypt.3 des_is_weak_key.3
a235 1
INCSLINKS=	openssl/des.h ${INCLUDEDIR}/des.h
d237 4
a240 8
afterinstall:
.if !defined(NOPIC)
SYMLINKS+=	lib${LIB}.so.${SHLIB_MAJOR} ${LIBDIR}/libdes.so.3
SYMLINKS+=	lib${LIB}.so.${SHLIB_MAJOR} ${LIBDIR}/libdes.so
.endif
SYMLINKS+=	lib${LIB}.a ${LIBDIR}/libdes.a
.if !defined(NOPROFILE)
SYMLINKS+=	lib${LIB}_p.a ${LIBDIR}/libdes_p.a
d243 47
a289 1
.include <bsd.lib.mk>
@


1.51.2.1
log
@Update to OpenSSL 0.9.6i.
@
text
@d33 2
a34 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c tmdiff.c uid.c
@


1.50
log
@Style sync with rest of FreeBSD.
@
text
@a31 2
MAINTAINER=	kris

@


1.49
log
@Don't lint contrib'ed sources, even if the builder has asked for linting.
Its Just Too Noisy.
@
text
@d5 13
a17 13
.PATH:	${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
	${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/buffer \
	${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/conf \
	${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/dsa \
	${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp \
	${LCRYPTO_SRC}/hmac ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 \
	${LCRYPTO_SRC}/md4 ${LCRYPTO_SRC}/md5 ${LCRYPTO_SRC}/mdc2 \
	${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem ${LCRYPTO_SRC}/pkcs7 \
	${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/rc2 \
	${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/ripemd \
	${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref ${LCRYPTO_SRC}/sha \
	${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/x509 \
	${LCRYPTO_SRC}/x509v3 ${.CURDIR}/man
d20 1
a20 1
.PATH:	${.CURDIR}/i386
d24 1
a24 1
.PATH:  ${LCRYPTO_SRC}/idea
a38 1

@


1.48
log
@Update list of installed manual pages after regenerating them.
@
text
@d30 2
@


1.47
log
@s,/usr/include,${INCLUDEDIR},
@
text
@d233 1
a233 1
	apps/ciphers.pod apps/config.pod apps/crl.pod \
d308 1
d318 1
d343 2
d346 1
a346 1
.for section in 1 3
@


1.46
log
@Build using pregenerated manpages; don't use perl to translate .pod's.
The translated .pod's have already been committed.
@
text
@d366 1
a366 1
INCSDIR=	/usr/include/openssl
@


1.45
log
@Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
@
text
@d17 1
a17 1
	${LCRYPTO_SRC}/x509v3
a345 3
CLEANFILES+= ${target}
${target}: ${LCRYPTO_SRC}/../doc/${pod}
	pod2man ${LCRYPTO_SRC}/../doc/${pod} > ${target}
@


1.44
log
@Pre-generate the optimized x86 crypto code and check it in rather than
depending on perl at build time.  Makefile.asm is a helper for after the
next import.

With my cvs@@ hat on, the relatively small repo cost of this is acceptable,
especially given that we have other (much bigger) things like
lib*.so.gz.uu checked in under src/lib/compat/*.

Reviewed by:	kris (maintainer)
@
text
@d368 3
a370 5
beforeinstall:  openssl/opensslconf.h openssl/evp.h
	${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${CRYPTO_HDRS} openssl/evp.h openssl/opensslconf.h \
	    ${DESTDIR}/usr/include/openssl
	ln -fs openssl/des.h ${DESTDIR}/usr/include/des.h
@


1.43
log
@Install headers with -C.  Ideally, these Makefiles should not need to
override the beforeinstall target at all, but this has proven difficult
to achieve.
@
text
@d19 2
a20 7
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
.PATH:	${LCRYPTO_SRC}/rc4/asm ${LCRYPTO_SRC}/rc5/asm \
	${LCRYPTO_SRC}/des/asm ${LCRYPTO_SRC}/cast/asm \
	${LCRYPTO_SRC}/sha/asm ${LCRYPTO_SRC}/bn/asm \
	${LCRYPTO_SRC}/bf/asm ${LCRYPTO_SRC}/md5/asm \
	${LCRYPTO_SRC}/ripemd/asm
PERLPATH=	${LCRYPTO_SRC}/des/asm:${LCRYPTO_SRC}/perlasm
d56 1
a56 1
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
d58 1
a58 1
SRCS+=	bf-686.pl
d60 1
a60 1
SRCS+=	bf-586.pl
d77 2
a78 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	bn-586.pl co-586.pl
d88 2
a89 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	cast-586.pl
d106 2
a107 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	des-586.pl crypt586.pl
d154 2
a155 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	md5-586.pl
d183 2
a184 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rc4-586.pl
d191 2
a192 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rc5-586.pl
d199 2
a200 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rmd-586.pl
d211 2
a212 2
.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	sha1-586.pl
a384 11

.if !defined(NOPERL) && !defined(NO_PERL) && ${MACHINE_ARCH} == "i386"
CLEANFILES+=	${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/}
.SUFFIXES:	.pl .cmt

.pl.cmt:
	perl -I${PERLPATH} ${.IMPSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}

.cmt.s:
	tr -d "'" < ${.IMPSRC} > ${.TARGET}
.endif
@


1.42
log
@Fixed some style bugs.  Mainly, don't use ${.ALLSRC} in implicit rules.
This change should have been in rev.1.37.
@
text
@d374 1
a374 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
@


1.41
log
@Use NO_PERL as well as NOPERL. The latter is going to (eventually) go.
@
text
@d394 1
d396 1
a396 1
	perl -I${PERLPATH} ${.ALLSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}
d399 1
a399 1
	tr -d "'" < ${.ALLSRC} > ${.TARGET}
a400 1

@


1.40
log
@Update list of manpages
@
text
@d19 1
a19 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d61 1
a61 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d82 1
a82 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d93 1
a93 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d111 1
a111 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d159 1
a159 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d188 1
a188 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d196 1
a196 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d204 1
a204 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d216 1
a216 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
d391 1
a391 1
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
@


1.39
log
@Update for OpenSSL 0.9.6a

MFC after:	2 weeks
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.38 2001/03/26 14:53:24 ru Exp $
d310 2
a311 3
	ssl/SSL_CTX_sess_set_cache_size.pod \
	ssl/SSL_CTX_sess_set_get_cb.pod ssl/SSL_CTX_sessions.pod \
	ssl/SSL_CTX_set_cipher_list.pod \
d313 1
a313 2
	ssl/SSL_CTX_set_default_passwd_cb.pod \
	ssl/SSL_CTX_set_options.pod \
d316 9
a324 8
	ssl/SSL_CTX_set_ssl_version.pod ssl/SSL_CTX_set_timeout.pod \
	ssl/SSL_CTX_set_verify.pod ssl/SSL_CTX_use_certificate.pod \
	ssl/SSL_SESSION_free.pod ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod ssl/SSL_accept.pod \
	ssl/SSL_clear.pod ssl/SSL_connect.pod ssl/SSL_free.pod \
	ssl/SSL_get_ciphers.pod ssl/SSL_get_client_CA_list.pod \
	ssl/SSL_get_current_cipher.pod ssl/SSL_get_error.pod \
	ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
d326 8
a333 9
	ssl/SSL_get_peer_cert_chain.pod \
	ssl/SSL_get_peer_certificate.pod ssl/SSL_get_rbio.pod \
	ssl/SSL_get_session.pod ssl/SSL_get_verify_result.pod \
	ssl/SSL_library_init.pod ssl/SSL_load_client_CA_file.pod \
	ssl/SSL_new.pod ssl/SSL_pending.pod ssl/SSL_read.pod \
	ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod ssl/SSL_set_session.pod \
	ssl/SSL_set_verify_result.pod ssl/SSL_shutdown.pod \
	ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod ssl/ssl.pod \
	ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
d335 10
a344 1
	ssl/SSL_set_shutdown.pod
@


1.38
log
@secure/ build fixes:

- TELNETOBJDIR is gone.  `buildworld' already installs libtelnet.a
  in ${WORLDTMP}/usr/lib, and we have LIBRARY_PATH pointing there.

- SSHDIR (formerly SSHSRC) is now shared between all SSH modules.
  New LIBSSH is introduced for libssh.a (an internal static lib).
  Previously, build without prior `obj' was broken; SSH modules
  always looked for libssh.a in ${.OBJDIR}.  Also, the dependancies
  on the libssh.a were missing.

- libtelnet/ did not install the crypto version of telnet.h into
  /usr/include/arpa.

- Removed BINOWN, BINMODE, BINDIR and SRCS with default values.

Reviewed by:	markm

- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.37 2001/03/14 10:10:11 kris Exp $
d39 1
a39 1
	tmdiff.c
d334 4
a337 1
	ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod ssl/ssl.pod
@


1.37
log
@Attempt to fix the problem with -j builds, and du-uglify the asm code
generation and assembly targets.

Help from:	bde, obrien
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.36 2001/03/08 07:57:49 kris Exp $
d340 1
a340 1
MAN${section}+= ${target}
a341 1
all-man: ${target}
d349 1
a349 1
MAN3+=	des_crypt.3
@


1.36
log
@MFS: Belatedly bump SHLIB_MAJOR corresponding to OpenSSL 0.9.6
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.35 2001/03/04 23:14:50 kris Exp $
d383 4
a386 5
.SUFFIXES:	.o .pl
.SUFFIXES:	.po .pl
.SUFFIXES:	.So .pl
.pl.o:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
d388 2
a389 5
.pl.po:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)

.pl.So:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
@


1.35
log
@Install the des.h link under ${DESTDIR}.  Fixes buildworld.

Submitted by:   Christian Weisgerber <naddy@@mips.inka.de>
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.34 2001/03/04 06:51:51 kris Exp $
d33 1
a33 1
SHLIB_MAJOR=	1
@


1.34
log
@Clean up the installation of the compatibility libdes header/library
symlinks

Pointed out by:	bde
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.33 2001/03/04 05:51:43 kris Exp $
d368 1
a368 1
	ln -fs openssl/des.h ${INCDIR}/des.h
@


1.33
log
@Don't override CPUTYPE (actually this predates the <bsd.cpu.mk> use of
CPUTYPE, and I forgot I used it here already)

Pointed out by:	bde
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.32 2001/02/25 21:42:12 kris Exp $
d368 11
a395 22
afterinstall:
.if !defined(NOPIC)
	@@cd ${DESTDIR}${SHLIBDIR}; \
	rm -f libdes.so.3; \
	ln -sf lib${LIB}.so.${SHLIB_MAJOR} libdes.so.3;
.endif
.if !defined(NOPIC) && ${OBJFORMAT} == elf
	@@cd ${DESTDIR}${SHLIBDIR}; \
	rm -f libdes.so; \
	ln -sf lib${LIB}.so libdes.so
.endif
	@@cd  ${DESTDIR}${LIBDIR}; \
	rm -f libdes.a; \
	ln -sf lib${LIB}.a libdes.a
	@@cd  ${DESTDIR}${INCDIR}; \
	rm -f des.h; \
	ln -sf openssl/des.h
.if !defined(NOPROFILE)
	@@cd  ${DESTDIR}${LIBDIR}; \
	rm -f libdes_p.a; \
	ln -sf lib${LIB}_p.a libdes_p.a
.endif
@


1.32
log
@Update the list of OpenSSL manpages (now contains many more describing
libssl, for example), and hide it behind a make.conf option,
WANT_OPENSSL_MANPAGES, instead of having it commented out.  We still can't
install these by default because of clobbering of a number of system
manpages with the same name, but they're there for people who want them.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.31 2001/02/20 01:50:25 kris Exp $
a370 10
# If we don't want 686/586 asm, use the "386" modifier to the perl scripts to give
# compatible output
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
.if ${MACHINE_CPU:Mi686} || ${MACHINE_CPU:Mi586}
CPUTYPE=
.elif ${MACHINE_CPU:Mi386}
CPUTYPE=	386
.endif
.endif

d376 1
a376 1
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
d379 1
a379 1
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
d382 1
a382 1
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
@


1.31
log
@Add back a missing file from the no-asm case

Submitted by:	gallatin
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.30 2001/02/19 23:31:53 kris Exp $
d237 26
a262 13
POD1+=	apps/CA.pl.pod apps/asn1parse.pod apps/ca.pod apps/ciphers.pod \
	apps/config.pod apps/crl.pod apps/crl2pkcs7.pod apps/dgst.pod \
	apps/dhparam.pod apps/dsa.pod apps/dsaparam.pod apps/enc.pod \
	apps/gendsa.pod apps/genrsa.pod apps/nseq.pod apps/openssl.pod \
	apps/passwd.pod apps/pkcs12.pod apps/pkcs7.pod apps/pkcs8.pod \
	apps/req.pod apps/rsa.pod apps/s_client.pod apps/s_server.pod \
	apps/sess_id.pod apps/smime.pod apps/speed.pod apps/spkac.pod \
	apps/verify.pod apps/version.pod apps/x509.pod

POD3+=	crypto/BN_CTX_new.pod crypto/BN_CTX_start.pod crypto/BN_add.pod \
	crypto/BN_add_word.pod crypto/BN_bn2bin.pod crypto/BN_cmp.pod \
	crypto/BN_copy.pod crypto/BN_generate_prime.pod \
	crypto/BN_mod_inverse.pod crypto/BN_mod_mul_montgomery.pod \
d264 4
a267 3
	crypto/BN_num_bytes.pod crypto/BN_rand.pod crypto/BN_set_bit.pod \
	crypto/BN_zero.pod crypto/CRYPTO_set_ex_data.pod \
	crypto/DH_generate_key.pod crypto/DH_generate_parameters.pod \
d269 4
a272 3
	crypto/DH_set_method.pod crypto/DH_size.pod crypto/DSA_SIG_new.pod \
	crypto/DSA_do_sign.pod crypto/DSA_dup_DH.pod \
	crypto/DSA_generate_key.pod crypto/DSA_generate_parameters.pod \
d274 10
a283 7
	crypto/DSA_set_method.pod crypto/DSA_sign.pod crypto/DSA_size.pod \
	crypto/ERR_GET_LIB.pod crypto/ERR_clear_error.pod \
	crypto/ERR_error_string.pod crypto/ERR_get_error.pod \
	crypto/ERR_load_crypto_strings.pod crypto/ERR_load_strings.pod \
	crypto/ERR_print_errors.pod crypto/ERR_put_error.pod \
	crypto/ERR_remove_state.pod crypto/EVP_DigestInit.pod \
	crypto/EVP_EncryptInit.pod crypto/OPENSSL_VERSION_NUMBER.pod \
d285 10
a294 9
	crypto/RAND_bytes.pod crypto/RAND_cleanup.pod crypto/RAND_egd.pod \
	crypto/RAND_load_file.pod crypto/RAND_set_rand_method.pod \
	crypto/RSA_blinding_on.pod crypto/RSA_check_key.pod \
	crypto/RSA_generate_key.pod crypto/RSA_get_ex_new_index.pod \
	crypto/RSA_new.pod crypto/RSA_padding_add_PKCS1_type_1.pod \
	crypto/RSA_print.pod crypto/RSA_private_encrypt.pod \
	crypto/RSA_public_encrypt.pod crypto/RSA_set_method.pod \
	crypto/RSA_sign.pod crypto/RSA_sign_ASN1_OCTET_STRING.pod \
	crypto/RSA_size.pod crypto/blowfish.pod crypto/bn.pod \
d297 52
a348 18
	crypto/des_modes.pod crypto/dh.pod crypto/dsa.pod crypto/err.pod \
	crypto/hmac.pod crypto/lh_stats.pod crypto/lhash.pod crypto/md5.pod \
	crypto/mdc2.pod crypto/rand.pod crypto/rc4.pod crypto/ripemd.pod \
	crypto/rsa.pod crypto/sha.pod crypto/threads.pod

POD3+=	ssl/SSL_get_error.pod ssl/ssl.pod

#.for section in 1 3
#.for pod in ${POD${section}}
#.for target in ${pod:T:S/.pod/.${section}/g}
#MAN${section}+= ${target}
#CLEANFILES+= ${target}
#all-man: ${target}
#${target}: ${LCRYPTO_SRC}/../doc/${pod}
#	pod2man ${LCRYPTO_SRC}/../doc/${pod} > ${target}
#.endfor
#.endfor
#.endfor
d350 1
a350 1
MAN3=	des_crypt.3
@


1.30
log
@Remove a remnant of my attempt to get alpha asm code working.  OpenSSL
does include code for the alpha, but as far as I can tell, it is
non-functional (e.g. it's not even compiled by the native openssl build on
the alpha).

Noticed by:	gallatin
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.29 2001/02/19 03:59:05 kris Exp $
d114 1
a114 1
SRCS+=	des_enc.c
@


1.29
log
@Introduce support for using OpenSSL ASM optimizations.  This is done
through the use of a new build directive, MACHINE_CPU, which contains a
list of the CPU generations/features for which optimizations are desired.
This feature will be extended to cover the ports tree in the future.

Currently OpenSSL provides optimizations for i386, i586 and i686-class
CPUs. Currently it has not been tested on an i386 or i486.

Teach make(1) to provide sensible defaults for MACHINE_CPU if it is not
defined (namely, the lowest common denominator CPU we support for each
architecture).  Currently this is i386 for the i386 architecture and ev4
for the alpha.  sys.mk also sets the variable as a last resort for
consistency with MACHINE_ARCH and bootstrapping from very old versions of
make.

Benchmarks show a significant speed increase even in the i386 case, with
additional improvements for i586 and i686 systems.  For maximum performance
define MACHINE_CPU=i686 i586 i386 in /etc/make.conf.

Based on a patch submitted by:  Mike Silbersack <silby@@silby.com>
Reviewed by:    current
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.28 2000/11/15 07:45:23 ru Exp $
a83 2
.elif ${MACHINE_ARCH} == "alpha"
SRCS+=	bn-alpha.pl co-alpha.pl
@


1.28
log
@Fixed a typo from the last commit.

Submitted by:	Mike Heffner <mheffner@@vt.edu>
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.27 2000/11/14 22:12:02 kris Exp $
d19 9
d60 10
a69 1
SRCS+=	bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c
d78 1
a78 1
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c \
d82 7
d94 6
a99 1
SRCS+=	c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
d108 1
a108 1
SRCS+=	cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c des_enc.c \
d110 1
a110 1
	fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c \
d113 5
d161 3
d189 6
a194 1
SRCS+=	rc4_enc.c rc4_skey.c
d197 6
a202 1
SRCS+=	rc5cfb64.c rc5_ecb.c rc5_enc.c rc5ofb64.c rc5_skey.c 
d206 3
d218 3
d319 24
@


1.27
log
@Correct some fallout from the semi-automated way I updated the makefile.

Submitted by:	roberto
@
text
@d1 1
a1 1
.# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.26 2000/11/13 02:21:37 kris Exp $
@


1.26
log
@Update for OpenSSL 0.9.6
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.25 2000/09/17 06:45:27 kris Exp $
d48 1
a48 1
	x_req.c x_sig.c x_spki.c x_val.c x_x509.c x_x509a.o
d56 1
a56 1
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.o
d63 1
a63 1
	bn_sqr.c bn_word.o
@


1.25
log
@Overhaul of the build-time include file generation. Don't break in evp.h
if bootstrapping from a system on which the openssl headers are not
already present.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.24 2000/09/10 00:09:36 kris Exp $
d5 1
a5 1
.PATH:  ${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
d9 9
a17 8
	${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp ${LCRYPTO_SRC}/hmac \
	${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 ${LCRYPTO_SRC}/md5 \
	${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem \
	${LCRYPTO_SRC}/pkcs7 ${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand \
	${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 \
	${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref \
	${LCRYPTO_SRC}/sha ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db \
	${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3
d33 1
d35 14
a48 13
	a_dup.c a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c a_mbstr.c \
	a_meth.c a_null.c a_object.c a_octet.c a_print.c a_set.c a_sign.c \
	a_strnid.c a_time.c a_type.c a_utctm.c a_utf8.c a_verify.c a_vis.c \
	asn1_err.c asn1_lib.c asn1_par.c asn_pack.c d2i_dhp.c d2i_dsap.c \
	d2i_pr.c d2i_pu.c d2i_r_pr.c d2i_r_pu.c d2i_s_pr.c d2i_s_pu.c \
	evp_asn1.c f_enum.c f_int.c f_string.c i2d_dhp.c i2d_dsap.c i2d_pr.c \
	i2d_pu.c i2d_r_pr.c i2d_r_pu.c i2d_s_pr.c i2d_s_pu.c n_pkey.c nsseq.c \
	p5_pbe.c p5_pbev2.c p7_dgst.c p7_enc.c p7_enc_c.c p7_evp.c p7_i_s.c \
	p7_lib.c p7_recip.c p7_s_e.c p7_signd.c p7_signi.c p8_pkey.c \
	t_bitst.c t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c \
	x_algor.c x_attrib.c x_cinf.c x_crl.c x_exten.c x_info.c x_name.c \
	x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c x_val.c x_x509.c \
	x_x509a.c \
d56 1
a56 1
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.c
d59 5
a63 3
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \
	bn_exp2.c bn_gcd.c bn_lib.c bn_mont.c bn_mpi.c bn_mul.c bn_prime.c \
	bn_print.c bn_rand.c bn_recp.c bn_shift.c bn_sqr.c bn_word.c
d75 1
a75 1
SRCS+=	conf.c conf_err.c
d79 4
a82 4
	ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c fcrypt.c \
	fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c qud_cksm.c \
	rand_key.c read2pwd.c read_pwd.c rnd_keys.c rpc_enc.c set_key.c \
	str2key.c supp.c xcbc_enc.c 
d91 4
d100 6
a105 10
	digest.c e_cbc_3d.c e_cbc_bf.c e_cbc_c.c e_cbc_d.c e_cbc_i.c \
	e_cbc_r2.c e_cbc_r5.c e_cfb_3d.c e_cfb_bf.c e_cfb_c.c e_cfb_d.c \
	e_cfb_i.c e_cfb_r2.c e_cfb_r5.c e_ecb_3d.c e_ecb_bf.c e_ecb_c.c \
	e_ecb_d.c e_ecb_i.c e_ecb_r2.c e_ecb_r5.c e_null.c e_ofb_3d.c \
	e_ofb_bf.c e_ofb_c.c e_ofb_d.c e_ofb_i.c e_ofb_r2.c e_ofb_r5.c \
	e_rc4.c e_xcbc_d.c encode.c evp_enc.c evp_err.c evp_key.c \
	evp_lib.c evp_pbe.c evp_pkey.c m_dss.c m_dss1.c m_md2.c m_md5.c \
	m_mdc2.c m_null.c m_ripemd.c m_sha.c m_sha1.c names.c p5_crpt.c \
	p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c p_sign.c \
	p_verify.c
d121 3
d145 1
a145 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c randfile.c
d176 3
a178 4
	x509_err.c x509_ext.c x509_lu.c x509_obj.c x509_r2x.c x509_req.c \
	x509_set.c x509_trs.c x509_txt.c x509_v3.c x509_vfy.c x509name.c \
	x509rset.c x509spki.c x509type.c x_all.c

d181 3
a183 3
	v3_crld.c v3_enum.c v3_extku.c v3_genn.c v3_ia5.c v3_info.c v3_int.c \
	v3_lib.c v3_pku.c v3_prn.c v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c \
	v3err.c
@


1.24
log
@Nuke RSAREF support from orbit.

It's the only way to be sure.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.23 2000/08/24 19:06:55 green Exp $
a177 19
HDRS=	asn1/asn1.h asn1/asn1_mac.h bio/bio.h bf/blowfish.h bn/bn.h \
	buffer/buffer.h cast/cast.h comp/comp.h conf/conf.h crypto.h \
	des/des.h dh/dh.h dsa/dsa.h ../e_os.h ../e_os2.h ebcdic.h \
	err/err.h hmac/hmac.h lhash/lhash.h md2/md2.h \
	md5/md5.h mdc2/mdc2.h objects/objects.h opensslv.h pem/pem.h \
	pem/pem2.h pkcs12/pkcs12.h pkcs7/pkcs7.h rand/rand.h rc2/rc2.h \
	rc4/rc4.h rc5/rc5.h ripemd/ripemd.h rsa/rsa.h stack/safestack.h \
	sha/sha.h stack/stack.h tmdiff.h txt_db/txt_db.h x509/x509.h \
	x509/x509_vfy.h x509v3/x509v3.h

.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
HDRS+=	idea/idea.h
.endif


.for h in ${HDRS}
CRYPTO_HDRS+= ${LCRYPTO_SRC}/${h}
.endfor

d252 1
a252 1
beforeinstall:  openssl/opensslconf.h openssl/_evp.h
d254 1
a254 1
	    ${CRYPTO_HDRS} openssl/opensslconf.h \
a255 7
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    openssl/_evp.h ${DESTDIR}/usr/include/openssl/evp.h
.else
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${LCRYPTO_SRC}/evp/evp.h ${DESTDIR}/usr/include/openssl/evp.h
.endif
@


1.23
log
@Make the temporary file _evp.h instead of evp.h to not conflict with
the real evp.h.

Reported by:	markm
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.22 2000/08/23 11:41:00 green Exp $
d153 2
a154 2
SRCS+=	rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_null.c \
	rsa_oaep.c rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c rsa_stubs.c
@


1.22
log
@Generate a new evp.h at build-time instead of install-time to properly
support NFS(ro) installworlds.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.21 2000/08/04 04:25:59 green Exp $
d271 1
a271 1
beforeinstall:  openssl/opensslconf.h openssl/evp.h
d277 1
a277 1
	    openssl/evp.h ${DESTDIR}/usr/include/openssl/evp.h
@


1.21
log
@Unbreak the OpenSSL headers for those of us who don't/can't use IDEA by
getting rid of the check for NO_IDEA (in evp.h) completely if it's
installed without MAKE_IDEA=YES.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.20 2000/07/16 05:52:52 peter Exp $
d271 1
a271 1
beforeinstall:  openssl/opensslconf.h
a275 2
	sed '/^#ifndef NO_IDEA$$/,/^#endif$$/d' ${LCRYPTO_SRC}/evp/evp.h > \
	    ${.OBJDIR}/evp.h.new
d277 1
a277 1
	    ${.OBJDIR}/evp.h.new ${DESTDIR}/usr/include/openssl/evp.h
@


1.20
log
@Forced commit.  This is to try and help folks that used the international
crypto repo and have slightly different files but with the same version.
cvsup in 'checkout mode' has no trouble with this, but cvs can get really
silly about it.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.19 2000/07/14 09:18:21 peter Exp $
d181 1
a181 1
	err/err.h evp/evp.h hmac/hmac.h lhash/lhash.h md2/md2.h \
d275 9
@


1.19
log
@Be consistant about WITH_ vs MAKE_ flags.  We have a precedent of using
MAKE_foo for things like MAKE_KERBEROS etc.  Use that.  I managed to
confuse myself last time and made make.conf different to the code. ;-(

Reported by:  Jun Kuriyama <kuriyama@@FreeBSD.org>
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.18 2000/06/24 06:50:57 markm Exp $
@


1.18
log
@MFI. This is a documentation-only, diffreducing patch, that if
invoked will cause breakage. US Users - DO NOT try to turn on
IDEA - the sources are not included.
@
text
@d1 1
a1 1
# $FreeBSD$
d18 1
a18 1
.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
d106 1
a106 1
.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
d188 1
a188 1
.if defined(WITH_IDEA) && ${WITH_IDEA} == YES
@


1.17
log
@Update for OpenSSL 0.9.5a and clean up a bit.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.16 2000/04/11 08:28:47 obrien Exp $
d18 4
d105 5
d187 5
@


1.16
log
@* Fix dependancies so that ``make depend'' is not required.
* Some style fixes

Approved by:	kris
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15 2000/03/02 06:06:35 kris Exp $
d24 2
a25 1
SRCS+=	cryptlib.c mem.c cversion.c ex_data.c cpt_err.c	tmdiff.c
d29 13
a41 12
	a_dup.c a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c a_meth.c \
	a_object.c a_octet.c a_print.c a_set.c a_sign.c a_time.c a_type.c \
	a_utctm.c a_utf8.c a_verify.c a_vis.c asn1_err.c asn1_lib.c \
	asn1_par.c asn_pack.c d2i_dhp.c d2i_dsap.c d2i_pr.c d2i_pu.c \
	d2i_r_pr.c d2i_r_pu.c d2i_s_pr.c d2i_s_pu.c evp_asn1.c f_enum.c \
	f_int.c f_string.c i2d_dhp.c i2d_dsap.c i2d_pr.c i2d_pu.c \
	i2d_r_pr.c i2d_r_pu.c i2d_s_pr.c i2d_s_pu.c n_pkey.c nsseq.c \
	p5_pbe.c p5_pbev2.c p7_dgst.c p7_enc.c p7_enc_c.c p7_evp.c \
	p7_i_s.c p7_lib.c p7_recip.c p7_s_e.c p7_signd.c p7_signi.c \
	p8_pkey.c t_crl.c t_pkey.c t_req.c t_x509.c x_algor.c \
	x_attrib.c x_cinf.c x_crl.c x_exten.c x_info.c x_name.c \
	x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c x_val.c x_x509.c  
d44 1
a44 1
SRCS+=	bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c 
d49 1
a49 1
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.c  
d52 3
a54 3
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_div.c bn_err.c bn_exp.c bn_exp2.c \
	bn_gcd.c bn_lib.c bn_mont.c bn_mpi.c bn_mul.c bn_prime.c \
	bn_print.c bn_rand.c bn_recp.c bn_shift.c bn_sqr.c bn_word.c  
d70 4
a73 4
	ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c \
	fcrypt.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c \
	pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c read_pwd.c rpc_enc.c \
	set_key.c str2key.c supp.c xcbc_enc.c rnd_keys.c
d78 3
a80 3
# dsa
SRCS+=	dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c dsa_sign.c \
	dsa_vrf.c 
d86 11
a96 10
SRCS+=	bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c digest.c e_cbc_3d.c \
	e_cbc_bf.c e_cbc_c.c e_cbc_d.c e_cbc_i.c e_cbc_r2.c e_cbc_r5.c \
	e_cfb_3d.c e_cfb_bf.c e_cfb_c.c e_cfb_d.c e_cfb_i.c e_cfb_r2.c \
	e_cfb_r5.c e_ecb_3d.c e_ecb_bf.c e_ecb_c.c e_ecb_d.c e_ecb_i.c \
	e_ecb_r2.c e_ecb_r5.c e_null.c e_ofb_3d.c e_ofb_bf.c e_ofb_c.c \
	e_ofb_d.c e_ofb_i.c e_ofb_r2.c e_ofb_r5.c e_rc4.c e_xcbc_d.c \
	encode.c evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c \
	evp_pkey.c m_dss.c m_dss1.c m_md2.c m_md5.c m_mdc2.c m_null.c \
	m_ripemd.c m_sha.c m_sha1.c names.c p5_crpt.c p5_crpt2.c p_dec.c \
	p_enc.c p_lib.c p_open.c p_seal.c p_sign.c p_verify.c 
d120 1
a120 1
SRCS+=	pk7_doit.c pk7_lib.c pkcs7err.c
d125 1
a125 1
	p12_sbag.c p12_utl.c pk12err.c
d128 1
a128 1
SRCS+=	md_rand.c rand_lib.c randfile.c
d144 2
a145 2
SRCS+=	rsa_chk.c rsa_gen.c rsa_lib.c rsa_none.c rsa_oaep.c \
	rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c rsa_stubs.c
d158 4
a161 4
SRCS+=	by_dir.c by_file.c x509_cmp.c x509_d2.c x509_def.c x509_err.c \
	x509_ext.c x509_lu.c x509_obj.c x509_r2x.c x509_req.c x509_set.c \
	x509_txt.c x509_v3.c x509_vfy.c x509name.c x509rset.c x509type.c \
	x_all.c
d165 3
a167 2
	v3_crld.c v3_enum.c v3_extku.c v3_genn.c v3_ia5.c v3_int.c \
	v3_lib.c v3_pku.c v3_prn.c v3_skey.c v3_sxnet.c v3_utl.c v3err.c
d183 60
a255 30

GENHDRS+=	obj_dat.h buildinf.h
SRCS+=		${GENHDRS}
CLEANFILES+=	${GENHDRS}
CLEANDIRS+=	openssl

#	this bogus dependacy was the easiest way to get the openssl/ 
#	directory populated
${GENHDRS}: openssl/opensslconf.h openssl/headers-copied

obj_dat.h:  ${LCRYPTO_SRC}/objects/obj_dat.pl
	perl ${LCRYPTO_SRC}/objects/obj_dat.pl \
	    < ${LCRYPTO_SRC}/objects/objects.h > ${.TARGET}

buildinf.h:
	( echo "#ifndef MK1MF_BUILD"; \
	echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
	echo "  #define CFLAGS \"$(CC)\""; \
	echo "  #define PLATFORM \"`uname -s`-`uname -m`\""; \
	echo "  #define DATE \"`date`\""; \
	echo "#endif" ) > ${.TARGET}

openssl/opensslconf.h:  opensslconf-${MACHINE_ARCH}.h
	@@test -d openssl || mkdir -p openssl
	cp ${.OODATE} ${.TARGET}

openssl/headers-copied:
	@@test -d openssl || mkdir -p openssl
	${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} openssl
	@@touch ${.TARGET}
@


1.15
log
@Resurrect the old libdes manpages (after a repo copy) until we have better
ones.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.14 2000/02/29 09:56:11 markm Exp $
d5 13
d175 4
d193 12
a204 7
beforedepend: ${.OBJDIR}/obj_dat.h ${.OBJDIR}/buildinf.h \
	${.OBJDIR}/openssl/opensslconf.h headers

DPADD+=	${.OBJDIR}/obj_dat.h ${.OBJDIR}/buildinf.h ${.OBJDIR}/openssl/opensslconf.h

CLEANFILES+=	${.OBJDIR}/obj_dat.h ${.OBJDIR}/buildinf.h
CLEANDIRS+=	${.OBJDIR}/openssl
d206 1
a206 4
${.OBJDIR}/obj_dat.h:	${LCRYPTO_SRC}/objects/obj_dat.pl
	perl ${LCRYPTO_SRC}/objects/obj_dat.pl < ${LCRYPTO_SRC}/objects/objects.h > ${.OBJDIR}/obj_dat.h

${.OBJDIR}/buildinf.h:
d212 1
a212 1
	echo "#endif" ) > ${.OBJDIR}/buildinf.h
d214 2
a215 2
${.OBJDIR}/openssl/opensslconf.h: opensslconf-${MACHINE_ARCH}.h
	@@test -d ${.OBJDIR}/openssl || mkdir -p ${.OBJDIR}/openssl; \
d218 6
a223 12
headers:
	@@test -d ${.OBJDIR}/openssl || mkdir -p ${.OBJDIR}/openssl; \
	for i in ${HDRS}; do \
		${INSTALL} ${COPY} -m 444 ${LCRYPTO_SRC}/$$i \
			${.OBJDIR}/openssl; \
	done

beforeinstall: ${.OBJDIR}/openssl/opensslconf.h
	for i in ${HDRS}; do \
		${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
			${LCRYPTO_SRC}/$$i ${DESTDIR}/usr/include/openssl; \
	done; \
d225 2
a226 14
		${.OBJDIR}/openssl/opensslconf.h ${DESTDIR}/usr/include/openssl

.PATH:	${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
	${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/buffer \
	${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/conf \
	${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/dsa \
	${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp ${LCRYPTO_SRC}/hmac \
	${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 ${LCRYPTO_SRC}/md5 \
	${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem \
	${LCRYPTO_SRC}/pkcs7 ${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand \
	${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 \
	${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref \
	${LCRYPTO_SRC}/sha ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db \
	${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3
@


1.15.2.1
log
@MFC: rev 1.16 (depenancy fixups)
@
text
@d1 1
a1 1
# $FreeBSD$
a4 13
.PATH:  ${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
	${LCRYPTO_SRC}/bio ${LCRYPTO_SRC}/bn ${LCRYPTO_SRC}/buffer \
	${LCRYPTO_SRC}/cast ${LCRYPTO_SRC}/comp ${LCRYPTO_SRC}/conf \
	${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/dh ${LCRYPTO_SRC}/dsa \
	${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp ${LCRYPTO_SRC}/hmac \
	${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 ${LCRYPTO_SRC}/md5 \
	${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem \
	${LCRYPTO_SRC}/pkcs7 ${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand \
	${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 \
	${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref \
	${LCRYPTO_SRC}/sha ${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db \
	${LCRYPTO_SRC}/x509 ${LCRYPTO_SRC}/x509v3

a161 4
.for h in ${HDRS}
CRYPTO_HDRS+= ${LCRYPTO_SRC}/${h}
.endfor

d176 7
a182 12
GENHDRS+=	obj_dat.h buildinf.h
SRCS+=		${GENHDRS}
CLEANFILES+=	${GENHDRS}
CLEANDIRS+=	openssl

#	this bogus dependacy was the easiest way to get the openssl/ 
#	directory populated
${GENHDRS}: openssl/opensslconf.h openssl/headers-copied

obj_dat.h:  ${LCRYPTO_SRC}/objects/obj_dat.pl
	perl ${LCRYPTO_SRC}/objects/obj_dat.pl \
	    < ${LCRYPTO_SRC}/objects/objects.h > ${.TARGET}
d184 4
a187 1
buildinf.h:
d193 1
a193 1
	echo "#endif" ) > ${.TARGET}
d195 2
a196 2
openssl/opensslconf.h:  opensslconf-${MACHINE_ARCH}.h
	@@test -d openssl || mkdir -p openssl
d199 14
a212 4
openssl/headers-copied:
	@@test -d openssl || mkdir -p openssl
	${INSTALL} ${COPY} -m 444 ${CRYPTO_HDRS} openssl
	@@touch ${.TARGET}
d214 12
a225 4
beforeinstall:  openssl/opensslconf.h
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${CRYPTO_HDRS} openssl/opensslconf.h \
	    ${DESTDIR}/usr/include/openssl
@


1.15.2.2
log
@MFC: OpenSSL 0.9.5a
@
text
@a17 4
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
.PATH:  ${LCRYPTO_SRC}/idea
.endif

d24 1
a24 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_dbg.c \
	tmdiff.c
d28 12
a39 13
	a_dup.c a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c a_mbstr.c \
	a_meth.c a_null.c a_object.c a_octet.c a_print.c a_set.c a_sign.c \
	a_strnid.c a_time.c a_type.c a_utctm.c a_utf8.c a_verify.c a_vis.c \
	asn1_err.c asn1_lib.c asn1_par.c asn_pack.c d2i_dhp.c d2i_dsap.c \
	d2i_pr.c d2i_pu.c d2i_r_pr.c d2i_r_pu.c d2i_s_pr.c d2i_s_pu.c \
	evp_asn1.c f_enum.c f_int.c f_string.c i2d_dhp.c i2d_dsap.c i2d_pr.c \
	i2d_pu.c i2d_r_pr.c i2d_r_pu.c i2d_s_pr.c i2d_s_pu.c n_pkey.c nsseq.c \
	p5_pbe.c p5_pbev2.c p7_dgst.c p7_enc.c p7_enc_c.c p7_evp.c p7_i_s.c \
	p7_lib.c p7_recip.c p7_s_e.c p7_signd.c p7_signi.c p8_pkey.c \
	t_bitst.c t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c \
	x_algor.c x_attrib.c x_cinf.c x_crl.c x_exten.c x_info.c x_name.c \
	x_pkey.c x_pubkey.c x_req.c x_sig.c x_spki.c x_val.c x_x509.c \
	x_x509a.c \
d42 1
a42 1
SRCS+=	bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c
d47 1
a47 1
	bss_fd.c bss_file.c bss_log.c bss_mem.c bss_null.c bss_sock.c
d50 3
a52 3
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \
	bn_exp2.c bn_gcd.c bn_lib.c bn_mont.c bn_mpi.c bn_mul.c bn_prime.c \
	bn_print.c bn_rand.c bn_recp.c bn_shift.c bn_sqr.c bn_word.c
d68 4
a71 4
	ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c fcrypt.c \
	fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c qud_cksm.c \
	rand_key.c read2pwd.c read_pwd.c rnd_keys.c rpc_enc.c set_key.c \
	str2key.c supp.c xcbc_enc.c 
d76 3
a78 3
# dsa 
SRCS+=	dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c dsa_ossl.c \
	dsa_sign.c dsa_vrf.c
d84 10
a93 11
SRCS+=	bio_b64.c bio_enc.c bio_md.c bio_ok.c c_all.c c_allc.c c_alld.c \
	digest.c e_cbc_3d.c e_cbc_bf.c e_cbc_c.c e_cbc_d.c e_cbc_i.c \
	e_cbc_r2.c e_cbc_r5.c e_cfb_3d.c e_cfb_bf.c e_cfb_c.c e_cfb_d.c \
	e_cfb_i.c e_cfb_r2.c e_cfb_r5.c e_ecb_3d.c e_ecb_bf.c e_ecb_c.c \
	e_ecb_d.c e_ecb_i.c e_ecb_r2.c e_ecb_r5.c e_null.c e_ofb_3d.c \
	e_ofb_bf.c e_ofb_c.c e_ofb_d.c e_ofb_i.c e_ofb_r2.c e_ofb_r5.c \
	e_rc4.c e_xcbc_d.c encode.c evp_enc.c evp_err.c evp_key.c \
	evp_lib.c evp_pbe.c evp_pkey.c m_dss.c m_dss1.c m_md2.c m_md5.c \
	m_mdc2.c m_null.c m_ripemd.c m_sha.c m_sha1.c names.c p5_crpt.c \
	p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c p_sign.c \
	p_verify.c
a97 5
# idea
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
SRCS+=	i_ecb.c i_cbc.c i_cfb64.c i_ofb64.c i_skey.c
.endif

d117 1
a117 1
SRCS+=	pk7_attr.c pk7_doit.c pk7_lib.c pk7_mime.c pk7_smime.c pkcs7err.c 
d122 1
a122 1
	p12_npas.c p12_sbag.c p12_utl.c pk12err.c
d125 1
a125 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c randfile.c
d141 2
a142 2
SRCS+=	rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_null.c \
	rsa_oaep.c rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c rsa_stubs.c
d155 4
a158 4
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c x509_def.c \
	x509_err.c x509_ext.c x509_lu.c x509_obj.c x509_r2x.c x509_req.c \
	x509_set.c x509_trs.c x509_txt.c x509_v3.c x509_vfy.c x509name.c \
	x509rset.c x509spki.c x509type.c x_all.c
d162 2
a163 3
	v3_crld.c v3_enum.c v3_extku.c v3_genn.c v3_ia5.c v3_info.c v3_int.c \
	v3_lib.c v3_pku.c v3_prn.c v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c \
	v3err.c
d168 1
a168 1
	err/err.h hmac/hmac.h lhash/lhash.h md2/md2.h \
a174 5
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
HDRS+=	idea/idea.h
.endif


a178 60
POD1+=	apps/CA.pl.pod apps/asn1parse.pod apps/ca.pod apps/ciphers.pod \
	apps/config.pod apps/crl.pod apps/crl2pkcs7.pod apps/dgst.pod \
	apps/dhparam.pod apps/dsa.pod apps/dsaparam.pod apps/enc.pod \
	apps/gendsa.pod apps/genrsa.pod apps/nseq.pod apps/openssl.pod \
	apps/passwd.pod apps/pkcs12.pod apps/pkcs7.pod apps/pkcs8.pod \
	apps/req.pod apps/rsa.pod apps/s_client.pod apps/s_server.pod \
	apps/sess_id.pod apps/smime.pod apps/speed.pod apps/spkac.pod \
	apps/verify.pod apps/version.pod apps/x509.pod

POD3+=	crypto/BN_CTX_new.pod crypto/BN_CTX_start.pod crypto/BN_add.pod \
	crypto/BN_add_word.pod crypto/BN_bn2bin.pod crypto/BN_cmp.pod \
	crypto/BN_copy.pod crypto/BN_generate_prime.pod \
	crypto/BN_mod_inverse.pod crypto/BN_mod_mul_montgomery.pod \
	crypto/BN_mod_mul_reciprocal.pod crypto/BN_new.pod \
	crypto/BN_num_bytes.pod crypto/BN_rand.pod crypto/BN_set_bit.pod \
	crypto/BN_zero.pod crypto/CRYPTO_set_ex_data.pod \
	crypto/DH_generate_key.pod crypto/DH_generate_parameters.pod \
	crypto/DH_get_ex_new_index.pod crypto/DH_new.pod \
	crypto/DH_set_method.pod crypto/DH_size.pod crypto/DSA_SIG_new.pod \
	crypto/DSA_do_sign.pod crypto/DSA_dup_DH.pod \
	crypto/DSA_generate_key.pod crypto/DSA_generate_parameters.pod \
	crypto/DSA_get_ex_new_index.pod crypto/DSA_new.pod \
	crypto/DSA_set_method.pod crypto/DSA_sign.pod crypto/DSA_size.pod \
	crypto/ERR_GET_LIB.pod crypto/ERR_clear_error.pod \
	crypto/ERR_error_string.pod crypto/ERR_get_error.pod \
	crypto/ERR_load_crypto_strings.pod crypto/ERR_load_strings.pod \
	crypto/ERR_print_errors.pod crypto/ERR_put_error.pod \
	crypto/ERR_remove_state.pod crypto/EVP_DigestInit.pod \
	crypto/EVP_EncryptInit.pod crypto/OPENSSL_VERSION_NUMBER.pod \
	crypto/OpenSSL_add_all_algorithms.pod crypto/RAND_add.pod \
	crypto/RAND_bytes.pod crypto/RAND_cleanup.pod crypto/RAND_egd.pod \
	crypto/RAND_load_file.pod crypto/RAND_set_rand_method.pod \
	crypto/RSA_blinding_on.pod crypto/RSA_check_key.pod \
	crypto/RSA_generate_key.pod crypto/RSA_get_ex_new_index.pod \
	crypto/RSA_new.pod crypto/RSA_padding_add_PKCS1_type_1.pod \
	crypto/RSA_print.pod crypto/RSA_private_encrypt.pod \
	crypto/RSA_public_encrypt.pod crypto/RSA_set_method.pod \
	crypto/RSA_sign.pod crypto/RSA_sign_ASN1_OCTET_STRING.pod \
	crypto/RSA_size.pod crypto/blowfish.pod crypto/bn.pod \
	crypto/bn_internal.pod crypto/buffer.pod crypto/crypto.pod \
	crypto/d2i_DHparams.pod crypto/d2i_RSAPublicKey.pod \
	crypto/des_modes.pod crypto/dh.pod crypto/dsa.pod crypto/err.pod \
	crypto/hmac.pod crypto/lh_stats.pod crypto/lhash.pod crypto/md5.pod \
	crypto/mdc2.pod crypto/rand.pod crypto/rc4.pod crypto/ripemd.pod \
	crypto/rsa.pod crypto/sha.pod crypto/threads.pod

POD3+=	ssl/SSL_get_error.pod ssl/ssl.pod

#.for section in 1 3
#.for pod in ${POD${section}}
#.for target in ${pod:T:S/.pod/.${section}/g}
#MAN${section}+= ${target}
#CLEANFILES+= ${target}
#all-man: ${target}
#${target}: ${LCRYPTO_SRC}/../doc/${pod}
#	pod2man ${LCRYPTO_SRC}/../doc/${pod} > ${target}
#.endfor
#.endfor
#.endfor

d193 30
a226 9
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
	sed '/^#ifndef NO_IDEA$$/,/^#endif$$/d' ${LCRYPTO_SRC}/evp/evp.h > \
	    ${.OBJDIR}/evp.h.new
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${.OBJDIR}/evp.h.new ${DESTDIR}/usr/include/openssl/evp.h
.else
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
	    ${LCRYPTO_SRC}/evp/evp.h ${DESTDIR}/usr/include/openssl/evp.h
.endif
@


1.15.2.3
log
@Merge evp.h problem fixes.

Prompted by:	dirk
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.23 2000/08/24 19:06:55 green Exp $
d271 1
a271 1
beforeinstall:  openssl/opensslconf.h openssl/_evp.h
d276 2
d279 1
a279 1
	    openssl/_evp.h ${DESTDIR}/usr/include/openssl/evp.h
@


1.15.2.4
log
@MFC: Roll librsa* back into libcrypto
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.3 2000/08/25 03:58:59 green Exp $
d153 2
a154 2
SRCS+=	rsa_chk.c rsa_eay.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c \
	rsa_null.c rsa_oaep.c rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c
@


1.15.2.5
log
@MFC: Clean up include file generation
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.4 2000/09/18 03:00:05 kris Exp $
d178 19
d271 1
a271 1
beforeinstall:  openssl/opensslconf.h openssl/evp.h
d273 1
a273 1
	    ${CRYPTO_HDRS} openssl/evp.h openssl/opensslconf.h \
d275 7
@


1.15.2.6
log
@MFC: OpenSSL 0.9.6
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.28 2000/11/15 07:45:23 ru Exp $
d5 1
a5 1
.PATH:	${LCRYPTO_SRC} ${LCRYPTO_SRC}/asn1 ${LCRYPTO_SRC}/bf \
d9 8
a16 9
	${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/err ${LCRYPTO_SRC}/evp \
	${LCRYPTO_SRC}/hmac ${LCRYPTO_SRC}/lhash ${LCRYPTO_SRC}/md2 \
	${LCRYPTO_SRC}/md4 ${LCRYPTO_SRC}/md5 ${LCRYPTO_SRC}/mdc2 \
	${LCRYPTO_SRC}/objects ${LCRYPTO_SRC}/pem ${LCRYPTO_SRC}/pkcs7 \
	${LCRYPTO_SRC}/pkcs12 ${LCRYPTO_SRC}/rand ${LCRYPTO_SRC}/rc2 \
	${LCRYPTO_SRC}/rc4 ${LCRYPTO_SRC}/rc5 ${LCRYPTO_SRC}/ripemd \
	${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref ${LCRYPTO_SRC}/sha \
	${LCRYPTO_SRC}/stack ${LCRYPTO_SRC}/txt_db ${LCRYPTO_SRC}/x509 \
	${LCRYPTO_SRC}/x509v3
a31 1

d33 13
a45 14
	a_dup.c a_enum.c a_gentm.c a_hdr.c a_i2d_fp.c a_int.c \
	a_mbstr.c a_meth.c a_null.c a_object.c a_octet.c a_print.c \
	a_set.c a_sign.c a_strex.c a_strnid.c a_time.c a_type.c \
	a_utctm.c a_utf8.c a_verify.c a_vis.c asn1_err.c asn1_lib.c \
	asn1_par.c asn_pack.c d2i_dhp.c d2i_dsap.c d2i_pr.c d2i_pu.c \
	d2i_r_pr.c d2i_r_pu.c d2i_s_pr.c d2i_s_pu.c evp_asn1.c \
	f_enum.c f_int.c f_string.c i2d_dhp.c i2d_dsap.c i2d_pr.c \
	i2d_pu.c i2d_r_pr.c i2d_r_pu.c i2d_s_pr.c i2d_s_pu.c n_pkey.c \
	nsseq.c p5_pbe.c p5_pbev2.c p7_dgst.c p7_enc.c p7_enc_c.c \
	p7_evp.c p7_i_s.c p7_lib.c p7_recip.c p7_s_e.c p7_signd.c \
	p7_signi.c p8_pkey.c t_bitst.c t_crl.c t_pkey.c t_req.c \
	t_spki.c t_x509.c t_x509a.c x_algor.c x_attrib.c x_cinf.c \
	x_crl.c x_exten.c x_info.c x_name.c x_pkey.c x_pubkey.c \
	x_req.c x_sig.c x_spki.c x_val.c x_x509.c x_x509a.c
d56 3
a58 5

SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c \
	bn_exp.c bn_exp2.c bn_gcd.c bn_lib.c bn_mont.c bn_mpi.c \
	bn_mul.c bn_prime.c bn_print.c bn_rand.c bn_recp.c bn_shift.c \
	bn_sqr.c bn_word.c
d70 1
a70 1
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c
d74 4
a77 4
	ecb3_enc.c ecb_enc.c ede_cbcm_enc.c enc_read.c enc_writ.c \
	fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c \
	qud_cksm.c rand_key.c read2pwd.c read_pwd.c rpc_enc.c \
	set_key.c str2key.c xcbc_enc.c rnd_keys.c
a85 4
# dso
SRCS+=	dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c \
	dso_openssl.c

d91 10
a100 6
	digest.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c e_null.c \
	e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c evp_enc.c \
	evp_err.c evp_key.c evp_lib.c evp_pbe.c evp_pkey.c m_dss.c \
	m_dss1.c m_md2.c m_md4.c m_md5.c m_mdc2.c m_null.c m_ripemd.c \
	m_sha.c m_sha1.c names.c p5_crpt.c p5_crpt2.c p_dec.c p_enc.c \
	p_lib.c p_open.c p_seal.c p_sign.c p_verify.c
a115 3
# md4
SRCS+=	md4_dgst.c md4_one.c

d137 1
a137 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_win.c randfile.c
d168 4
a171 3
	x509_err.c x509_ext.c x509_lu.c x509_obj.c x509_r2x.c \
	x509_req.c x509_set.c x509_trs.c x509_txt.c x509_v3.c \
	x509_vfy.c x509name.c x509rset.c x509spki.c x509type.c x_all.c 
d174 3
a176 3
	v3_crld.c v3_enum.c v3_extku.c v3_genn.c v3_ia5.c v3_info.c \
	v3_int.c v3_lib.c v3_pku.c v3_prn.c v3_purp.c v3_skey.c \
	v3_sxnet.c v3_utl.c v3err.c
@


1.15.2.7
log
@MFC: OpenSSL ASM support
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.6 2000/11/26 11:34:22 kris Exp $
a18 9
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
.PATH:	${LCRYPTO_SRC}/rc4/asm ${LCRYPTO_SRC}/rc5/asm \
	${LCRYPTO_SRC}/des/asm ${LCRYPTO_SRC}/cast/asm \
	${LCRYPTO_SRC}/sha/asm ${LCRYPTO_SRC}/bn/asm \
	${LCRYPTO_SRC}/bf/asm ${LCRYPTO_SRC}/md5/asm \
	${LCRYPTO_SRC}/ripemd/asm
PERLPATH=	${LCRYPTO_SRC}/des/asm:${LCRYPTO_SRC}/perlasm
.endif

d51 1
a51 10
SRCS+=	bf_cfb64.c bf_ecb.c bf_ofb64.c bf_skey.c
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
.if ${MACHINE_CPU:Mi686}
SRCS+=	bf-686.pl
.else
SRCS+=	bf-586.pl
.endif
.else
SRCS+=	bf_enc.c
.endif
d60 1
a60 1
SRCS+=	bn_add.c bn_blind.c bn_ctx.c bn_div.c bn_err.c \
a63 5
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	bn-586.pl co-586.pl
.else
SRCS+=	bn_asm.c
.endif
d69 1
a69 6
SRCS+=	c_cfb64.c c_ecb.c c_ofb64.c c_skey.c
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	cast-586.pl
.else
SRCS+=	c_enc.c
.endif
d78 1
a78 1
SRCS+=	cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
d80 1
a80 1
	fcrypt.c ofb64ede.c ofb64enc.c ofb_enc.c pcbc_enc.c \
a82 5
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	des-586.pl crypt586.pl
.else
SRCS+=	des_enc.c fcrypt_b.c
.endif
a125 3
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	md5-586.pl
.endif
d151 1
a151 6
SRCS+=	rc4_skey.c
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rc4-586.pl
.else
SRCS+=	rc4_enc.c
.endif
d154 1
a154 6
SRCS+=	rc5cfb64.c rc5_ecb.c rc5ofb64.c rc5_skey.c
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rc5-586.pl
.else
SRCS+=	rc5_enc.c
.endif
a157 3
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	rmd-586.pl
.endif
a166 3
.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
SRCS+=	sha1-586.pl
.endif
a264 14

.if !defined(NOPERL) && ${MACHINE_ARCH} == "i386"
.SUFFIXES:	.o .pl
.SUFFIXES:	.po .pl
.SUFFIXES:	.So .pl
.pl.o:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)

.pl.po:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)

.pl.So:
	perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; ${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
.endif
@


1.15.2.8
log
@Belatedly bump the SHLIB_MAJOR of libcrypto and libssl.  This should have
been done soon after the OpenSSL 0.9.6 import when I first found out it
broke backwards compatibility, but better late than never -- at least it
won't trip up people who upgrade from 4.2-RELEASE to 4.3-RELEASE.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.7 2001/03/04 09:41:39 kris Exp $
d33 1
a33 1
SHLIB_MAJOR=	2
@


1.15.2.9
log
@MFC: Add a WANT_OPENSSL_MANPAGES knob to enable building the OpenSSL
documentation.  These aren't built by default because they spam a number
of system manpages, but some creative games with MANDIR can install them
to a directory of your choosing.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.8 2001/03/08 07:56:37 kris Exp $
d242 8
a249 20
	apps/rand.pod apps/req.pod apps/rsa.pod apps/rsautl.pod \
	apps/s_client.pod apps/s_server.pod apps/sess_id.pod \
	apps/smime.pod apps/speed.pod apps/spkac.pod apps/verify.pod \
	apps/version.pod apps/x509.pod

POD3+=	crypto/BIO_ctrl.pod crypto/BIO_f_base64.pod \
	crypto/BIO_f_buffer.pod crypto/BIO_f_cipher.pod \
	crypto/BIO_f_md.pod crypto/BIO_f_null.pod crypto/BIO_f_ssl.pod \
	crypto/BIO_find_type.pod crypto/BIO_new.pod \
	crypto/BIO_new_bio_pair.pod crypto/BIO_push.pod \
	crypto/BIO_read.pod crypto/BIO_s_accept.pod \
	crypto/BIO_s_bio.pod crypto/BIO_s_connect.pod \
	crypto/BIO_s_fd.pod crypto/BIO_s_file.pod crypto/BIO_s_mem.pod \
	crypto/BIO_s_null.pod crypto/BIO_s_socket.pod \
	crypto/BIO_set_callback.pod crypto/BIO_should_retry.pod \
	crypto/BN_CTX_new.pod crypto/BN_CTX_start.pod \
	crypto/BN_add.pod crypto/BN_add_word.pod crypto/BN_bn2bin.pod \
	crypto/BN_cmp.pod crypto/BN_copy.pod \
	crypto/BN_generate_prime.pod crypto/BN_mod_inverse.pod \
	crypto/BN_mod_mul_montgomery.pod \
d251 3
a253 4
	crypto/BN_num_bytes.pod crypto/BN_rand.pod \
	crypto/BN_set_bit.pod crypto/BN_zero.pod \
	crypto/CRYPTO_set_ex_data.pod crypto/DH_generate_key.pod \
	crypto/DH_generate_parameters.pod \
d255 3
a257 4
	crypto/DH_set_method.pod crypto/DH_size.pod \
	crypto/DSA_SIG_new.pod crypto/DSA_do_sign.pod \
	crypto/DSA_dup_DH.pod crypto/DSA_generate_key.pod \
	crypto/DSA_generate_parameters.pod \
d259 7
a265 10
	crypto/DSA_set_method.pod crypto/DSA_sign.pod \
	crypto/DSA_size.pod crypto/ERR_GET_LIB.pod \
	crypto/ERR_clear_error.pod crypto/ERR_error_string.pod \
	crypto/ERR_get_error.pod crypto/ERR_load_crypto_strings.pod \
	crypto/ERR_load_strings.pod crypto/ERR_print_errors.pod \
	crypto/ERR_put_error.pod crypto/ERR_remove_state.pod \
	crypto/EVP_DigestInit.pod crypto/EVP_EncryptInit.pod \
	crypto/EVP_OpenInit.pod crypto/EVP_SealInit.pod \
	crypto/EVP_SignInit.pod crypto/EVP_VerifyInit.pod \
	crypto/OPENSSL_VERSION_NUMBER.pod \
d267 9
a275 10
	crypto/RAND_bytes.pod crypto/RAND_cleanup.pod \
	crypto/RAND_egd.pod crypto/RAND_load_file.pod \
	crypto/RAND_set_rand_method.pod crypto/RSA_blinding_on.pod \
	crypto/RSA_check_key.pod crypto/RSA_generate_key.pod \
	crypto/RSA_get_ex_new_index.pod crypto/RSA_new.pod \
	crypto/RSA_padding_add_PKCS1_type_1.pod crypto/RSA_print.pod \
	crypto/RSA_private_encrypt.pod crypto/RSA_public_encrypt.pod \
	crypto/RSA_set_method.pod crypto/RSA_sign.pod \
	crypto/RSA_sign_ASN1_OCTET_STRING.pod crypto/RSA_size.pod \
	crypto/bio.pod crypto/blowfish.pod crypto/bn.pod \
d278 18
a295 34
	crypto/des.pod crypto/des_modes.pod crypto/dh.pod \
	crypto/dsa.pod crypto/err.pod crypto/evp.pod crypto/hmac.pod \
	crypto/lh_stats.pod crypto/lhash.pod crypto/md5.pod \
	crypto/mdc2.pod crypto/rand.pod crypto/rc4.pod \
	crypto/ripemd.pod crypto/rsa.pod crypto/sha.pod \
	crypto/threads.pod

POD3+=	ssl/SSL_CIPHER_get_name.pod ssl/SSL_CTX_free.pod \
	ssl/SSL_CTX_new.pod ssl/SSL_CTX_set_cipher_list.pod \
	ssl/SSL_CTX_set_ssl_version.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_current_cipher.pod ssl/SSL_get_error.pod \
	ssl/SSL_get_fd.pod ssl/SSL_get_peer_cert_chain.pod \
	ssl/SSL_get_peer_certificate.pod ssl/SSL_get_rbio.pod \
	ssl/SSL_get_session.pod ssl/SSL_get_verify_result.pod \
	ssl/SSL_library_init.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/ssl.pod

.if defined(WANT_OPENSSL_MANPAGES)
.for section in 1 3
.for pod in ${POD${section}}
.for target in ${pod:T:S/.pod/.${section}/g}
MAN${section}+= ${target}
CLEANFILES+= ${target}
all-man: ${target}
${target}: ${LCRYPTO_SRC}/../doc/${pod}
	pod2man ${LCRYPTO_SRC}/../doc/${pod} > ${target}
.endfor
.endfor
.endfor
.endif
d297 1
a297 1
MAN3+=	des_crypt.3
@


1.15.2.10
log
@MFC: Better compilation of asm code, fixes problems with -j builds.

Approved by:	jkh
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.15.2.9 2001/03/08 08:09:30 kris Exp $
d353 5
a357 4
CLEANFILES+=	${SRCS:M*.pl:S/.pl$/.cmt/} ${SRCS:M*.pl:S/.pl$/.s/}
.SUFFIXES:	.pl .cmt
.pl.cmt:
	perl -I${PERLPATH} ${.ALLSRC} elf ${CPUTYPE:Mi386:S/i//} > ${.TARGET}
d359 5
a363 2
.cmt.s:
	tr -d "'" < ${.ALLSRC} > ${.TARGET}
@


1.15.2.11
log
@MFC: Update to OpenSSL 0.9.6a
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.39 2001/05/20 03:43:14 kris Exp $
d39 1
a39 1
	tmdiff.c uid.c
d237 9
a245 10
POD1+=	apps/CA.pl.pod apps/asn1parse.pod apps/ca.pod \
	apps/ciphers.pod apps/config.pod apps/crl.pod \
	apps/crl2pkcs7.pod apps/dgst.pod apps/dhparam.pod apps/dsa.pod \
	apps/dsaparam.pod apps/enc.pod apps/gendsa.pod apps/genrsa.pod \
	apps/nseq.pod apps/openssl.pod apps/passwd.pod apps/pkcs12.pod \
	apps/pkcs7.pod apps/pkcs8.pod apps/rand.pod apps/req.pod \
	apps/rsa.pod apps/rsautl.pod apps/s_client.pod \
	apps/s_server.pod apps/sess_id.pod apps/smime.pod \
	apps/speed.pod apps/spkac.pod apps/verify.pod apps/version.pod \
	apps/x509.pod
d303 5
a307 20
POD3+=	ssl/SSL_CIPHER_get_name.pod \
	ssl/SSL_CTX_add_extra_chain_cert.pod \
	ssl/SSL_CTX_add_session.pod ssl/SSL_CTX_flush_sessions.pod \
	ssl/SSL_CTX_free.pod ssl/SSL_CTX_get_ex_new_index.pod \
	ssl/SSL_CTX_get_verify_mode.pod \
	ssl/SSL_CTX_load_verify_locations.pod ssl/SSL_CTX_new.pod \
	ssl/SSL_CTX_sess_set_cache_size.pod \
	ssl/SSL_CTX_sess_set_get_cb.pod ssl/SSL_CTX_sessions.pod \
	ssl/SSL_CTX_set_cipher_list.pod \
	ssl/SSL_CTX_set_client_CA_list.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod \
	ssl/SSL_CTX_set_options.pod \
	ssl/SSL_CTX_set_session_cache_mode.pod \
	ssl/SSL_CTX_set_session_id_context.pod \
	ssl/SSL_CTX_set_ssl_version.pod ssl/SSL_CTX_set_timeout.pod \
	ssl/SSL_CTX_set_verify.pod ssl/SSL_CTX_use_certificate.pod \
	ssl/SSL_SESSION_free.pod ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod ssl/SSL_accept.pod \
	ssl/SSL_clear.pod ssl/SSL_connect.pod ssl/SSL_free.pod \
	ssl/SSL_get_ciphers.pod ssl/SSL_get_client_CA_list.pod \
d309 1
a309 3
	ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
	ssl/SSL_get_ex_new_index.pod ssl/SSL_get_fd.pod \
	ssl/SSL_get_peer_cert_chain.pod \
d312 4
a315 8
	ssl/SSL_library_init.pod ssl/SSL_load_client_CA_file.pod \
	ssl/SSL_new.pod ssl/SSL_pending.pod ssl/SSL_read.pod \
	ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod ssl/SSL_set_session.pod \
	ssl/SSL_set_verify_result.pod ssl/SSL_shutdown.pod \
	ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod ssl/ssl.pod \
	ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
	ssl/SSL_get_version.pod ssl/SSL_set_connect_state.pod \
	ssl/SSL_set_shutdown.pod
d321 1
a321 1
MAN+= ${target}
d323 1
d331 1
a331 1
MAN+=	des_crypt.3
a348 11
	ln -fs openssl/des.h ${DESTDIR}/usr/include/des.h

afterinstall:
.if !defined(NOPIC)
SYMLINKS+=	lib${LIB}.so.${SHLIB_MAJOR} ${LIBDIR}/libdes.so.3
SYMLINKS+=	lib${LIB}.so.${SHLIB_MAJOR} ${LIBDIR}/libdes.so
.endif
SYMLINKS+=	lib${LIB}.a ${LIBDIR}/libdes.a
.if !defined(NOPROFILE)
SYMLINKS+=	lib${LIB}_p.a ${LIBDIR}/libdes_p.a
.endif
d362 22
@


1.15.2.11.2.1
log
@MFC: OpenSSL 0.9.6e
@
text
@d1 1
a1 1
# $FreeBSD$
d238 1
a238 1
	apps/ciphers.pod apps/crl.pod \
d310 3
a312 2
	ssl/SSL_CTX_sess_set_cache_size.pod ssl/SSL_CTX_sess_set_get_cb.pod \
	ssl/SSL_CTX_sessions.pod ssl/SSL_CTX_set_cipher_list.pod \
d314 2
a315 2
	ssl/SSL_CTX_set_client_cert_cb.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod ssl/SSL_CTX_set_options.pod\
d318 8
a325 10
	ssl/SSL_CTX_set_ssl_version.pod \
	ssl/SSL_CTX_set_timeout.pod ssl/SSL_CTX_set_verify.pod \
	ssl/SSL_CTX_use_certificate.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_do_handshake.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_client_CA_list.pod ssl/SSL_get_current_cipher.pod \
	ssl/SSL_get_error.pod ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
d327 9
a335 8
	ssl/SSL_get_peer_cert_chain.pod ssl/SSL_get_peer_certificate.pod \
	ssl/SSL_get_rbio.pod ssl/SSL_get_session.pod \
	ssl/SSL_get_verify_result.pod ssl/SSL_library_init.pod \
	ssl/SSL_load_client_CA_file.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod \
	ssl/ssl.pod ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
d337 1
a337 12
	ssl/SSL_set_shutdown.pod ssl/SSL_alert_type_string.pod \
	ssl/SSL_COMP_add_compression_method.pod ssl/SSL_CTX_ctrl.pod \
	ssl/SSL_CTX_set_cert_store.pod \
	ssl/SSL_CTX_set_cert_verify_callback.pod \
	ssl/SSL_CTX_set_info_callback.pod ssl/SSL_CTX_set_quiet_shutdown.pod \
	ssl/SSL_CTX_set_tmp_dh_callback.pod \
	ssl/SSL_CTX_set_tmp_rsa_callback.pod ssl/SSL_get_default_timeout.pod \
	ssl/SSL_get_SSL_CTX.pod ssl/SSL_rstate_string.pod \
	ssl/SSL_session_reused.pod ssl/SSL_state_string.pod \
	ssl/SSL_want.pod

POD5+=	apps/config.pod
d340 1
a340 1
.for section in 1 3 5
@


1.15.2.11.4.1
log
@MFC: OpenSSL 0.9.6e
@
text
@d1 1
a1 1
# $FreeBSD$
d238 1
a238 1
	apps/ciphers.pod apps/crl.pod \
d310 3
a312 2
	ssl/SSL_CTX_sess_set_cache_size.pod ssl/SSL_CTX_sess_set_get_cb.pod \
	ssl/SSL_CTX_sessions.pod ssl/SSL_CTX_set_cipher_list.pod \
d314 2
a315 2
	ssl/SSL_CTX_set_client_cert_cb.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod ssl/SSL_CTX_set_options.pod\
d318 8
a325 10
	ssl/SSL_CTX_set_ssl_version.pod \
	ssl/SSL_CTX_set_timeout.pod ssl/SSL_CTX_set_verify.pod \
	ssl/SSL_CTX_use_certificate.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_do_handshake.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_client_CA_list.pod ssl/SSL_get_current_cipher.pod \
	ssl/SSL_get_error.pod ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
d327 9
a335 8
	ssl/SSL_get_peer_cert_chain.pod ssl/SSL_get_peer_certificate.pod \
	ssl/SSL_get_rbio.pod ssl/SSL_get_session.pod \
	ssl/SSL_get_verify_result.pod ssl/SSL_library_init.pod \
	ssl/SSL_load_client_CA_file.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod \
	ssl/ssl.pod ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
d337 1
a337 12
	ssl/SSL_set_shutdown.pod ssl/SSL_alert_type_string.pod \
	ssl/SSL_COMP_add_compression_method.pod ssl/SSL_CTX_ctrl.pod \
	ssl/SSL_CTX_set_cert_store.pod \
	ssl/SSL_CTX_set_cert_verify_callback.pod \
	ssl/SSL_CTX_set_info_callback.pod ssl/SSL_CTX_set_quiet_shutdown.pod \
	ssl/SSL_CTX_set_tmp_dh_callback.pod \
	ssl/SSL_CTX_set_tmp_rsa_callback.pod ssl/SSL_get_default_timeout.pod \
	ssl/SSL_get_SSL_CTX.pod ssl/SSL_rstate_string.pod \
	ssl/SSL_session_reused.pod ssl/SSL_state_string.pod \
	ssl/SSL_want.pod

POD5+=	apps/config.pod
d340 1
a340 1
.for section in 1 3 5
@


1.15.2.11.6.1
log
@MFC: OpenSSL 0.9.6e
@
text
@d1 1
a1 1
# $FreeBSD$
d238 1
a238 1
	apps/ciphers.pod apps/crl.pod \
d310 3
a312 2
	ssl/SSL_CTX_sess_set_cache_size.pod ssl/SSL_CTX_sess_set_get_cb.pod \
	ssl/SSL_CTX_sessions.pod ssl/SSL_CTX_set_cipher_list.pod \
d314 2
a315 2
	ssl/SSL_CTX_set_client_cert_cb.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod ssl/SSL_CTX_set_options.pod\
d318 8
a325 10
	ssl/SSL_CTX_set_ssl_version.pod \
	ssl/SSL_CTX_set_timeout.pod ssl/SSL_CTX_set_verify.pod \
	ssl/SSL_CTX_use_certificate.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_do_handshake.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_client_CA_list.pod ssl/SSL_get_current_cipher.pod \
	ssl/SSL_get_error.pod ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
d327 9
a335 8
	ssl/SSL_get_peer_cert_chain.pod ssl/SSL_get_peer_certificate.pod \
	ssl/SSL_get_rbio.pod ssl/SSL_get_session.pod \
	ssl/SSL_get_verify_result.pod ssl/SSL_library_init.pod \
	ssl/SSL_load_client_CA_file.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod \
	ssl/ssl.pod ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
d337 1
a337 12
	ssl/SSL_set_shutdown.pod ssl/SSL_alert_type_string.pod \
	ssl/SSL_COMP_add_compression_method.pod ssl/SSL_CTX_ctrl.pod \
	ssl/SSL_CTX_set_cert_store.pod \
	ssl/SSL_CTX_set_cert_verify_callback.pod \
	ssl/SSL_CTX_set_info_callback.pod ssl/SSL_CTX_set_quiet_shutdown.pod \
	ssl/SSL_CTX_set_tmp_dh_callback.pod \
	ssl/SSL_CTX_set_tmp_rsa_callback.pod ssl/SSL_get_default_timeout.pod \
	ssl/SSL_get_SSL_CTX.pod ssl/SSL_rstate_string.pod \
	ssl/SSL_session_reused.pod ssl/SSL_state_string.pod \
	ssl/SSL_want.pod

POD5+=	apps/config.pod
d340 1
a340 1
.for section in 1 3 5
@


1.15.2.11.6.2
log
@Merge from RELENG_4_7: Update to OpenSSL 0.9.6i.
@
text
@d38 2
a39 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c tmdiff.c uid.c
@


1.15.2.12
log
@MFC: bsd.incs.mk support and assorted header fixes:

Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.

Install sys/netatm/*/*.h to /usr/include/netatm/*/.

Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>.

Don't install IPFILTER headers.  Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.

Resurrect SHARED=symlinks in Makefile.inc1.

PR:		docs/29534, bin/28002
@
text
@d1 1
a1 1
# $FreeBSD$
d366 5
a370 3
INCS=		${HDRS} openssl/evp.h openssl/opensslconf.h
INCSDIR=	${INCLUDEDIR}/openssl
INCSLINKS=	openssl/des.h ${INCLUDEDIR}/des.h
@


1.15.2.13
log
@MFC: OpenSSL 0.9.6e
@
text
@d238 1
a238 1
	apps/ciphers.pod apps/crl.pod \
d310 3
a312 2
	ssl/SSL_CTX_sess_set_cache_size.pod ssl/SSL_CTX_sess_set_get_cb.pod \
	ssl/SSL_CTX_sessions.pod ssl/SSL_CTX_set_cipher_list.pod \
d314 2
a315 2
	ssl/SSL_CTX_set_client_cert_cb.pod \
	ssl/SSL_CTX_set_default_passwd_cb.pod ssl/SSL_CTX_set_options.pod\
d318 8
a325 10
	ssl/SSL_CTX_set_ssl_version.pod \
	ssl/SSL_CTX_set_timeout.pod ssl/SSL_CTX_set_verify.pod \
	ssl/SSL_CTX_use_certificate.pod ssl/SSL_SESSION_free.pod \
	ssl/SSL_SESSION_get_ex_new_index.pod \
	ssl/SSL_SESSION_get_time.pod \
	ssl/SSL_accept.pod ssl/SSL_clear.pod ssl/SSL_connect.pod \
	ssl/SSL_do_handshake.pod \
	ssl/SSL_free.pod ssl/SSL_get_ciphers.pod \
	ssl/SSL_get_client_CA_list.pod ssl/SSL_get_current_cipher.pod \
	ssl/SSL_get_error.pod ssl/SSL_get_ex_data_X509_STORE_CTX_idx.pod \
d327 9
a335 8
	ssl/SSL_get_peer_cert_chain.pod ssl/SSL_get_peer_certificate.pod \
	ssl/SSL_get_rbio.pod ssl/SSL_get_session.pod \
	ssl/SSL_get_verify_result.pod ssl/SSL_library_init.pod \
	ssl/SSL_load_client_CA_file.pod ssl/SSL_new.pod ssl/SSL_pending.pod \
	ssl/SSL_read.pod ssl/SSL_set_bio.pod ssl/SSL_set_fd.pod \
	ssl/SSL_set_session.pod ssl/SSL_set_verify_result.pod \
	ssl/SSL_shutdown.pod ssl/SSL_write.pod ssl/d2i_SSL_SESSION.pod \
	ssl/ssl.pod ssl/SSL_CTX_sess_number.pod ssl/SSL_CTX_set_mode.pod \
d337 1
a337 12
	ssl/SSL_set_shutdown.pod ssl/SSL_alert_type_string.pod \
	ssl/SSL_COMP_add_compression_method.pod ssl/SSL_CTX_ctrl.pod \
	ssl/SSL_CTX_set_cert_store.pod \
	ssl/SSL_CTX_set_cert_verify_callback.pod \
	ssl/SSL_CTX_set_info_callback.pod ssl/SSL_CTX_set_quiet_shutdown.pod \
	ssl/SSL_CTX_set_tmp_dh_callback.pod \
	ssl/SSL_CTX_set_tmp_rsa_callback.pod ssl/SSL_get_default_timeout.pod \
	ssl/SSL_get_SSL_CTX.pod ssl/SSL_rstate_string.pod \
	ssl/SSL_session_reused.pod ssl/SSL_state_string.pod \
	ssl/SSL_want.pod

POD5+=	apps/config.pod
d340 1
a340 1
.for section in 1 3 5
@


1.15.2.13.2.1
log
@Merge from RELENG_5_0: Update to OpenSSL 0.9.6i.
@
text
@d38 2
a39 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c tmdiff.c uid.c
@


1.15.2.14
log
@MFC OpenSSL 0.9.7
@
text
@d3 1
a3 2
LIB=		crypto
SHLIB_MAJOR=	3
d5 22
a26 1
NOLINT=		true
d28 2
a29 5
.if exists(Makefile.man)
.include "Makefile.man"
.endif
.if defined(NOTYET)
MAN+=	config.5 des_modes.7
d32 4
a35 1
.include "Makefile.inc"
d38 2
a39 2
SRCS+=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
	mem_dbg.c o_time.c tmdiff.c uid.c
d41 1
a41 2
# aes
SRCS+=	aes_cbc.c aes_cfb.c aes_core.c aes_ctr.c aes_ecb.c aes_misc.c aes_ofb.c
d43 1
a43 2
# asn1
SRCS+=	a_bitstr.c a_bool.c a_bytes.c a_d2i_fp.c a_digest.c \
d45 1
a45 1
	a_mbstr.c a_meth.c a_object.c a_octet.c a_print.c \
d47 10
a56 8
	a_utctm.c a_utf8.c a_verify.c asn1_err.c asn1_lib.c \
	asn1_par.c asn_moid.c asn_pack.c d2i_pr.c d2i_pu.c \
	evp_asn1.c f_enum.c f_int.c f_string.c i2d_pr.c i2d_pu.c \
	n_pkey.c nsseq.c p5_pbe.c p5_pbev2.c p8_pkey.c t_bitst.c \
	t_crl.c t_pkey.c t_req.c t_spki.c t_x509.c t_x509a.c \
	tasn_dec.c tasn_enc.c tasn_fre.c tasn_new.c tasn_typ.c \
	tasn_utl.c x_algor.c x_attrib.c x_bignum.c x_crl.c \
	x_exten.c x_info.c x_long.c x_name.c x_pkey.c x_pubkey.c \
d59 11
a69 2
# bf
SRCS+=	bf_cfb64.c bf_ecb.c bf_enc.c bf_ofb64.c bf_skey.c
d72 3
a74 4
SRCS+=	b_dump.c b_print.c b_sock.c bf_buff.c bf_lbuf.c bf_nbio.c \
	bf_null.c bio_cb.c bio_err.c bio_lib.c bss_acpt.c bss_bio.c \
	bss_conn.c bss_fd.c bss_file.c bss_log.c bss_mem.c \
	bss_null.c bss_sock.c
d77 10
a86 4
SRCS+=	bn_add.c bn_asm.c bn_blind.c bn_ctx.c bn_div.c bn_err.c bn_exp.c \
	bn_exp2.c bn_gcd.c bn_kron.c bn_lib.c bn_mod.c bn_mont.c \
	bn_mpi.c bn_mul.c bn_prime.c bn_print.c bn_rand.c bn_recp.c \
	bn_shift.c bn_sqr.c bn_sqrt.c bn_word.c
d89 1
a89 1
SRCS+=	buf_err.c buffer.c
d92 6
a97 1
SRCS+=	c_cfb64.c c_ecb.c c_enc.c c_ofb64.c c_skey.c
d100 1
a100 1
SRCS+=	c_rle.c c_zlib.c comp_err.c comp_lib.c
d103 1
a103 1
SRCS+=	conf_api.c conf_def.c conf_err.c conf_lib.c conf_mall.c conf_mod.c conf_sap.c
d106 10
a115 5
SRCS+=	cbc3_enc.c cbc_cksm.c cbc_enc.c cfb64ede.c cfb64enc.c cfb_enc.c \
	des_enc.c des_old.c des_old2.c ecb3_enc.c ecb_enc.c ede_cbcm_enc.c \
	enc_read.c enc_writ.c fcrypt.c fcrypt_b.c ofb64ede.c ofb64enc.c \
	ofb_enc.c pcbc_enc.c qud_cksm.c rand_key.c read2pwd.c \
	rpc_enc.c set_key.c str2key.c xcbc_enc.c
d118 1
a118 1
SRCS+=	dh_asn1.c dh_check.c dh_err.c dh_gen.c dh_key.c dh_lib.c
d120 3
a122 2
# dsa
SRCS+=	dsa_asn1.c dsa_err.c dsa_gen.c dsa_key.c dsa_lib.c dsa_ossl.c dsa_sign.c dsa_vrf.c
d125 2
a126 15
SRCS+=	dso_dl.c dso_dlfcn.c dso_err.c dso_lib.c dso_null.c dso_openssl.c

# ec
SRCS+=	ec_cvt.c ec_err.c ec_lib.c ec_mult.c ecp_mont.c ecp_nist.c \
	ecp_recp.c ecp_smpl.c

# engine
SRCS+=	eng_all.c eng_cnf.c eng_ctrl.c eng_dyn.c eng_err.c eng_fat.c \
	eng_init.c eng_lib.c eng_list.c eng_openssl.c eng_pkey.c \
	eng_table.c hw_4758_cca.c hw_4758_cca_err.c hw_aep.c hw_aep_err.c \
	hw_atalla.c hw_atalla_err.c hw_cryptodev.c hw_cswift.c \
	hw_cswift_err.c hw_ncipher.c hw_ncipher_err.c hw_nuron.c \
	hw_nuron_err.c hw_sureware.c hw_sureware_err.c hw_ubsec.c \
	hw_ubsec_err.c tb_cipher.c tb_dh.c tb_digest.c tb_dsa.c tb_rand.c \
	tb_rsa.c
d133 6
a138 7
	digest.c e_aes.c e_bf.c e_cast.c e_des.c e_des3.c e_idea.c \
	e_null.c e_rc2.c e_rc4.c e_rc5.c e_xcbc_d.c encode.c evp_acnf.c \
	evp_enc.c evp_err.c evp_key.c evp_lib.c evp_pbe.c evp_pkey.c \
	m_dss.c m_dss1.c m_md2.c m_md4.c m_md5.c m_mdc2.c m_null.c \
	m_ripemd.c m_sha.c m_sha1.c names.c openbsd_hw.c p5_crpt.c \
	p5_crpt2.c p_dec.c p_enc.c p_lib.c p_open.c p_seal.c p_sign.c \
	p_verify.c
d145 1
a145 1
SRCS+=	i_cbc.c i_cfb64.c i_ecb.c i_ofb64.c i_skey.c
a147 3
# krb5
#SRCS+=	krb5_asn.c

d159 3
d164 1
a164 1
SRCS+=	mdc2_one.c mdc2dgst.c
d169 2
a170 3
# ocsp
SRCS+=	ocsp_asn.c ocsp_cl.c ocsp_err.c ocsp_ext.c ocsp_ht.c \
	ocsp_lib.c ocsp_prn.c ocsp_srv.c ocsp_vfy.c
d172 2
a173 3
# pem
SRCS+=	pem_all.c pem_err.c pem_info.c pem_lib.c pem_oth.c pem_pk8.c \
	pem_pkey.c pem_seal.c pem_sign.c pem_x509.c pem_xaux.c
d176 3
a178 7
SRCS+=	p12_add.c p12_asn.c p12_attr.c p12_crpt.c p12_crt.c \
	p12_decr.c p12_init.c p12_key.c p12_kiss.c p12_mutl.c \
	p12_npas.c p12_p8d.c p12_p8e.c p12_utl.c pk12err.c

# pkcs7
SRCS+=	example.c pk7_asn1.c pk7_attr.c pk7_dgst.c pk7_doit.c \
	pk7_lib.c pk7_mime.c pk7_smime.c pkcs7err.c
d181 1
a181 1
SRCS+=	md_rand.c rand_egd.c rand_err.c rand_lib.c rand_unix.c randfile.c
d184 1
a184 1
SRCS+=	rc2_cbc.c rc2_ecb.c rc2_skey.c rc2cfb64.c rc2ofb64.c
d187 6
a192 1
SRCS+=	rc4_enc.c rc4_skey.c
d195 6
a200 1
SRCS+=	rc5_ecb.c rc5_enc.c rc5_skey.c rc5cfb64.c rc5ofb64.c
d204 3
d209 4
a212 3
SRCS+=	rsa_asn1.c rsa_chk.c rsa_eay.c rsa_err.c rsa_gen.c rsa_lib.c \
	rsa_none.c rsa_null.c rsa_oaep.c rsa_pk1.c rsa_saos.c \
	rsa_sign.c rsa_ssl.c
d215 4
a218 1
SRCS+=	sha1_one.c sha1dgst.c sha_dgst.c sha_one.c
a222 3
# threads
SRCS+=	th-lock.c

d226 136
a361 2
# ui
SRCS+=	ui_compat.c ui_err.c ui_lib.c ui_openssl.c ui_util.c
d363 1
a363 6
# x509
SRCS+=	by_dir.c by_file.c x509_att.c x509_cmp.c x509_d2.c \
	x509_def.c x509_err.c x509_ext.c x509_lu.c x509_obj.c \
	x509_r2x.c x509_req.c x509_set.c x509_trs.c x509_txt.c \
	x509_v3.c x509_vfy.c x509cset.c x509name.c x509rset.c \
	x509spki.c x509type.c x_all.c
d365 11
a375 5
# x509v3
SRCS+=	v3_akey.c v3_akeya.c v3_alt.c v3_bcons.c v3_bitst.c \
	v3_conf.c v3_cpols.c v3_crld.c v3_enum.c v3_extku.c \
	v3_genn.c v3_ia5.c v3_info.c v3_int.c v3_lib.c v3_ocsp.c \
	v3_pku.c v3_prn.c v3_purp.c v3_skey.c v3_sxnet.c v3_utl.c v3err.c
d379 11
d393 8
a400 2
.if defined(MAKE_IDEA) && ${MAKE_IDEA} == YES
_ideapath=	${LCRYPTO_SRC}/crypto/idea
a402 47
.PATH: \
	${LCRYPTO_SRC}/crypto \
	${LCRYPTO_SRC}/crypto/aes \
	${LCRYPTO_SRC}/crypto/asn1 \
	${LCRYPTO_SRC}/crypto/bf \
	${LCRYPTO_SRC}/crypto/bio \
	${LCRYPTO_SRC}/crypto/bn \
	${LCRYPTO_SRC}/crypto/buffer \
	${LCRYPTO_SRC}/crypto/cast \
	${LCRYPTO_SRC}/crypto/comp \
	${LCRYPTO_SRC}/crypto/conf \
	${LCRYPTO_SRC}/crypto/des \
	${LCRYPTO_SRC}/crypto/dh \
	${LCRYPTO_SRC}/crypto/dsa \
	${LCRYPTO_SRC}/crypto/dso \
	${LCRYPTO_SRC}/crypto/ec \
	${LCRYPTO_SRC}/crypto/engine \
	${LCRYPTO_SRC}/crypto/err \
	${LCRYPTO_SRC}/crypto/evp \
	${LCRYPTO_SRC}/crypto/hmac \
	${_ideapath} \
	${LCRYPTO_SRC}/crypto/krb5 \
	${LCRYPTO_SRC}/crypto/lhash \
	${LCRYPTO_SRC}/crypto/md2 \
	${LCRYPTO_SRC}/crypto/md4 \
	${LCRYPTO_SRC}/crypto/md5 \
	${LCRYPTO_SRC}/crypto/mdc2 \
	${LCRYPTO_SRC}/crypto/objects \
	${LCRYPTO_SRC}/crypto/ocsp \
	${LCRYPTO_SRC}/crypto/pem \
	${LCRYPTO_SRC}/crypto/pkcs12 \
	${LCRYPTO_SRC}/crypto/pkcs7 \
	${LCRYPTO_SRC}/crypto/rand \
	${LCRYPTO_SRC}/crypto/rc2 \
	${LCRYPTO_SRC}/crypto/rc4 \
	${LCRYPTO_SRC}/crypto/rc5 \
	${LCRYPTO_SRC}/crypto/ripemd \
	${LCRYPTO_SRC}/crypto/rsa \
	${LCRYPTO_SRC}/crypto/sha \
	${LCRYPTO_SRC}/crypto/stack \
	${LCRYPTO_SRC}/crypto/threads \
	${LCRYPTO_SRC}/crypto/txt_db \
	${LCRYPTO_SRC}/crypto/ui \
	${LCRYPTO_SRC}/crypto/x509 \
	${LCRYPTO_SRC}/crypto/x509v3 \
	${LCRYPTO_SRC} \
	${.CURDIR}/man
@


1.15.2.15
log
@MFC: Handle includes the normal way.
@
text
@d18 1
a18 1
SRCS=	cpt_err.c cryptlib.c cversion.c ebcdic.c ex_data.c mem.c mem_clr.c \
a19 2
INCS=	crypto.h ebcdic.h opensslv.h ossl_typ.h symhacks.h tmdiff.h \
	../e_os.h ../e_os2.h
a22 1
INCS+=	aes.h aes_locl.h
a37 1
INCS+=	asn1.h asn1_mac.h asn1t.h
a40 1
INCS+=	blowfish.h
a46 1
INCS+=	bio.h
a52 1
INCS+=	bn.h
a55 1
INCS+=	buffer.h
a58 1
INCS+=	cast.h
a61 1
INCS+=	comp.h
a64 1
INCS+=	conf.h conf_api.h
a71 1
INCS+=	des.h des_old.h
a74 1
INCS+=	dh.h
a77 1
INCS+=	dsa.h
a80 1
INCS+=	dso.h
a84 1
INCS+=	ec.h
a94 3
INCS+=	eng_int.h engine.h hw_4758_cca_err.h hw_aep_err.h hw_atalla_err.h \
	hw_cswift_err.h hw_ncipher_err.h hw_nuron_err.h hw_sureware_err.h \
	hw_ubsec_err.h
a97 1
INCS+=	err.h
a110 1
INCS+=	hmac.h
a114 1
INCS+=	idea.h
a118 1
INCS+=	krb5_asn.h
a121 1
INCS+=	lhash.h
a124 1
INCS+=	md2.h
a127 1
INCS+=	md4.h
a130 1
INCS+=	md5.h
a133 1
INCS+=	mdc2.h
a136 1
INCS+=	objects.h obj_mac.h
a140 1
INCS+=	ocsp.h
a144 1
INCS+=	pem.h pem2.h
a149 1
INCS+=	pkcs12.h pkcs7.h
a156 1
INCS+=	rand.h
a159 1
INCS+=	rc2.h
a162 1
INCS+=	rc4.h
a165 1
INCS+=	rc5.h
a168 1
INCS+=	ripemd.h
a173 1
INCS+=	rsa.h
a176 1
INCS+=	sha.h
a179 1
INCS+=	stack.h safestack.h
a185 1
INCS+=	txt_db.h
a188 1
INCS+=	ui.h ui_compat.h ui_locl.h
a195 1
INCS+=	x509.h x509_vfy.h
a201 1
INCS+=	x509v3.h
d203 1
a203 2
SRCS+=	buildinf.h
INCS+=	opensslconf.h evp.h
a204 20

CLEANFILES=	buildinf.h opensslconf.h evp.h

buildinf.h:
	( echo "#ifndef MK1MF_BUILD"; \
	echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
	echo "  #define CFLAGS \"$(CC)\""; \
	echo "  #define PLATFORM \"`uname -s`-`uname -m`\""; \
	echo "  #define DATE \"`LC_ALL=C date`\""; \
	echo "#endif" ) > ${.TARGET}

opensslconf.h: opensslconf-${MACHINE_ARCH}.h
	cp ${.ALLSRC} ${.TARGET}

evp.h: ${LCRYPTO_SRC}/crypto/evp/evp.h
.if !defined(MAKE_IDEA) || ${MAKE_IDEA} != YES
	sed '/^#ifndef OPENSSL_NO_IDEA$$/,/^#endif$$/d' ${.ALLSRC} > ${.TARGET}
.else
	cp ${.ALLSRC} ${.TARGET}
.endif
@


1.15.2.16
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/secure/lib/libcrypto/Makefile 123006 2003-11-27 15:05:37Z ru $
@


1.14
log
@MFI: stupid typo of mine.
@
text
@d1 1
a1 1
# $FreeBSD$
d161 14
@


1.13
log
@New distribution names.
@
text
@d231 1
a231 1
	ln -sf openssh/des.h
@


1.12
log
@Merge from internat.freebsd.org repo, minus change to rsa_eay.c (missing)

Reorganize and unify libcrypto's interface so that the RSA implementation
is chosen at runtime via dlopen().

This is a checkpoint and may require more tweaks still.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.11 2000/02/25 14:08:34 peter Exp $
d229 3
@


1.11
log
@Merge from internat.freebsd.org; make RSAREF=YES work correctly, although
this is not very useful as the US repo is missing bits.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.10 2000/02/25 08:18:42 peter Exp $
d128 2
a129 9
SRCS+=	rsa_chk.c rsa_err.c rsa_gen.c rsa_lib.c rsa_none.c rsa_oaep.c \
	rsa_pk1.c rsa_saos.c rsa_sign.c rsa_ssl.c
.if (!defined(RSAREF) || ${RSAREF} != YES) && exists(${LCRYPTO_SRC}/rsa/rsa_eay.c)
SRCS+=	rsa_eay.c				# native rsa
.else
SRCS+=	rsar_err.c rsaref.c rsaref_stubs.c	# external rsaref
HDRS+=	../rsaref/rsaref.h
CFLAGS+=-DRSAref
.endif
a160 4

.if defined(RSAREF) && ${RSAREF} == YES
HDRS+=	../rsaref/rsaref.h
.endif
@


1.10
log
@Fold libRSAglue into libcrypto so we don't have to special-case
all the builds.  There is still no actual RSA implementation code
in libcrypto or src/* on US code trees.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.9 2000/02/25 05:35:37 peter Exp $
d135 1
@


1.9
log
@Sync with internat; delete a trailing space
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.8 2000/02/24 18:59:30 markm Exp $
d130 4
a134 2
.if !defined(RSAREF) || ${RSAREF} != YES
SRCS+=	rsa_eay.c
d219 1
a219 1
	${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa \
@


1.8
log
@Build everything properly. This means:

o Don't b uild libdes.

o Crypto is now housed in libcrypto (with a compatability symlink to
  libdes)

o RSA may depend on RSAREF at your locale.

o OpenSSH is now a part of the base system.
@
text
@d1 1
a1 1
# $FreeBSD$
d167 1
a167 1
HDRS+=	../rsaref/rsaref.h 
@


1.7
log
@Freefall/Internat diff reducer.
@
text
@d58 1
a58 1
	set_key.c str2key.c supp.c xcbc_enc.c
d130 1
d223 19
@


1.6
log
@Move the rsaref gunk to libRSAglue where ports expect it.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.5 2000/01/16 05:23:21 kris Exp $
d130 3
d161 1
a161 1
	rc4/rc4.h rc5/rc5.h ripemd/ripemd.h stack/safestack.h \
d166 1
a166 1
HDRS+=	rsa/rsa.h ../rsaref/rsaref.h 
@


1.5
log
@(Forced commit)

Support RSA via RSAref. This autodetects the RSAref package, and if it
is not found, compiles without RSA.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.4 2000/01/16 05:19:27 kris Exp $
a9 2
LCRYPTO_SRC=	${.CURDIR}/../../../crypto/openssl/crypto

a129 5

# rsaref
.if defined(RSAREF) && ${RSAREF} == YES
SRCS+=	rsar_err.c rsaref.c
.endif
d213 1
a213 1
	${LCRYPTO_SRC}/ripemd ${LCRYPTO_SRC}/rsa ${LCRYPTO_SRC}/../rsaref \
@


1.4
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.3 2000/01/16 02:19:55 kris Exp $
@


1.3
log
@Add MAINTAINER tag so people don't feel the need to randomly frob with this.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.2 2000/01/14 05:51:14 kris Exp $
d128 5
d136 1
@


1.2
log
@(Forced commit) RSARef support is still forthcoming once I finish hacking
the code.
@
text
@d1 1
a1 1
# $FreeBSD: src/secure/lib/libcrypto/Makefile,v 1.1 2000/01/14 05:49:17 kris Exp $
d7 2
@


1.1
log
@Build infrastructure for OpenSSL
@
text
@d1 1
a1 1
# $FreeBSD$
@

