head	1.16;
access;
symbols
	RELEASE_4_8_0:1.15
	RELEASE_5_0_0:1.14
	RELEASE_4_7_0:1.12
	RELEASE_4_6_2:1.12
	RELEASE_4_6_1:1.12
	RELEASE_4_6_0:1.12
	RELEASE_5_0_DP1:1.12
	RELEASE_4_5_0:1.12
	RELEASE_4_4_0:1.12
	RELEASE_4_3_0:1.10
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.9
	RELEASE_4_1_0:1.9
	RELEASE_3_5_0:1.9
	RELEASE_4_0_0:1.9
	RELEASE_3_4_0:1.9
	RELEASE_3_3_0:1.8
	RELEASE_3_2_0:1.8
	RELEASE_3_1_0:1.6
	RELEASE_2_2_8:1.5
	RELEASE_3_0_0:1.5
	RELEASE_2_2_7:1.4
	RELEASE_2_2_6:1.4
	RELEASE_2_2_5:1.3
	RELEASE_2_2_1:1.3
	RELEASE_2_2_2:1.3;
locks; strict;
comment	@# @;


1.16
date	2003.04.11.18.29.17;	author dinoex;	state dead;
branches;
next	1.15;

1.15
date	2003.01.29.20.00.43;	author dinoex;	state Exp;
branches;
next	1.14;

1.14
date	2002.10.25.20.41.47;	author dinoex;	state Exp;
branches;
next	1.13;

1.13
date	2002.10.12.20.27.59;	author dinoex;	state Exp;
branches;
next	1.12;

1.12
date	2001.05.23.02.47.02;	author dougb;	state Exp;
branches;
next	1.11;

1.11
date	2001.04.22.18.42.35;	author sobomax;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.10.01.30.47;	author alfred;	state Exp;
branches;
next	1.9;

1.9
date	99.11.07.22.19.48;	author dirk;	state Exp;
branches;
next	1.8;

1.8
date	99.03.29.14.43.48;	author dirk;	state Exp;
branches;
next	1.7;

1.7
date	99.03.26.08.42.48;	author dirk;	state Exp;
branches;
next	1.6;

1.6
date	99.01.09.12.55.49;	author dirk;	state Exp;
branches;
next	1.5;

1.5
date	98.08.27.16.38.03;	author markm;	state Exp;
branches;
next	1.4;

1.4
date	98.02.17.21.14.37;	author markm;	state Exp;
branches;
next	1.3;

1.3
date	97.01.13.21.39.41;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	96.12.11.20.54.55;	author markm;	state Exp;
branches;
next	1.1;

1.1
date	96.08.10.19.15.44;	author markm;	state Exp;
branches;
next	;


desc
@@


1.16
log
@- Udpate to 0.9.7b
@
text
@--- Makefile.org.orig	Thu Apr  5 13:08:02 2001
+++ Makefile.org	Sat Oct 12 22:10:18 2002
@@@@ -171,7 +171,7 @@@@
 MAKEFILE= Makefile.ssl
 MAKE=     make -f Makefile.ssl
 
-MANDIR=$(OPENSSLDIR)/man
+MANDIR=$(MANPREFIX)/man
 MAN1=1
 MAN3=3
 SHELL=/bin/sh
@@@@ -250,6 +250,21 @@@@
 	done
 
 build-shared: clean-shared do_$(SHLIB_TARGET) link-shared
+
+freebsd-shared:
+	for i in ${SHLIBDIRS}; do \
+	rm -f lib$$i.a lib$$i.so \
+		lib$$i.so.${SHLIBVER}; \
+	${MAKE} CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='-fPIC ${CFLAG}' SDIRS='${SDIRS}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' DIRS=$$i clean all || exit 1; \
+	( set -x; ${CC}  -nodefaultlibs -shared -o lib$$i.so.${SHLIBVER} \
+		-Wl,-S,-soname=lib$$i.so.${SHLIBVER} \
+		-Wl,${WHOLE_ARCHIVE_FLAG} lib$$i.a ) || exit 1; \
+	rm -f lib$$i.a; (cd $$i ; ${MAKE} clean) || exit 1 ;\
+	done;
+	@@set -x; \
+	for i in ${SHLIBDIRS}; do \
+	ln -s lib$$i.so.${SHLIBVER} lib$$i.so; \
+	done;
 
 do_bsd-gcc-shared: do_gnu-shared
 do_linux-shared: do_gnu-shared
@


1.15
log
@- Update to 0.9.7
- rnd_keys.c now in distribution
- drop lib/libRSAglue.a
- build on i386, alpha, sparc64, ia64
- build on 2.2.8 with the gas-patch as noted in FAQ
@
text
@@


1.14
log
@- add rnd_keys.c for compatibilty with base. (patch by: jtraub@@isilon.com)
- OPENSSL_OVERWRITE_BASE: fix package building
- Fix install of manpages for 3.x
@
text
@a11 9
@@@@ -178,7 +178,7 @@@@
 ONEDIRS=out tmp
 EDIRS=  times doc bugs util include certs ms shlib mt demos perl sf dep VMS
 WDIRS=  windows
-LIBS=   libcrypto.a libssl.a
+LIBS=   libcrypto.a libssl.a libRSAglue.a
 SHARED_CRYPTO=libcrypto$(SHLIB_EXT)
 SHARED_SSL=libssl$(SHLIB_EXT)
 SHARED_LIBS=
@


1.13
log
@Install openssl's man pages in standard manpath
PR:		43658
@
text
@d8 1
a8 1
+MANDIR?=$(MANPREFIX)/man
@


1.12
log
@Upgrade openssl to 0.9.6a and bump the shlib version in the process
due to non-backwards compatible changes. The shlib bump necessitates
a corresponding bump in bsd.port.mk for the automagic openssl
dependency. Mistakes in the port are my responsibility. Approval for
the bsd.port.mk commit comes through asami -> kkenn -> me. Kris is
a little busy at the moment, so he asked me to lob it in.

Approved by:	kris
@
text
@d2 10
a11 1
+++ Makefile.org	Mon Apr 23 01:08:26 2001
@


1.11
log
@1. In addition to OSVERSION test, check for existence of /usr/lib/libssl.a
and don't mark BROKEN if it doesn't exist.
2. Provide a workaround for inability of recent gcc to link shared library
when -Wl,-whole-archive ld(1) option is used. This should make possible to
build the port on recent -stable or -current.
@
text
@d1 3
a3 6

$FreeBSD$

--- Makefile.org.orig	Thu Mar 16 21:46:20 2000
+++ Makefile.org	Sun Apr 22 19:50:06 2001
@@@@ -165,7 +165,7 @@@@
d7 1
a7 1
-LIBS=   libcrypto.a libssl.a 
d9 5
d15 1
a15 7
 GENERAL=        Makefile
 BASENAME=       openssl
@@@@ -189,6 +189,21 @@@@
 	do \
 	(cd $$i && echo "making all in $$i..." && \
 	$(MAKE) CC='${CC}' PLATFORM='${PLATFORM}' CFLAG='${CFLAG}' SDIRS='$(SDIRS)' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' BN_ASM='${BN_ASM}' DES_ENC='${DES_ENC}' BF_ENC='${BF_ENC}' CAST_ENC='${CAST_ENC}' RC4_ENC='${RC4_ENC}' RC5_ENC='${RC5_ENC}' SHA1_ASM_OBJ='${SHA1_ASM_OBJ}' MD5_ASM_OBJ='${MD5_ASM_OBJ}' RMD160_ASM_OBJ='${RMD160_ASM_OBJ}' AR='${AR}' PROCESSOR='${PROCESSOR}' PERL='${PERL}' RANLIB='${RANLIB}' all ) || exit 1; \
+	done;
d30 1
a30 1
 	done;
d32 2
a33 1
 linux-shared:
@


1.10
log
@give aout machines shared libraries as well
@
text
@d1 6
a6 3
--- Makefile.org.orig	Sun Aug  8 12:29:52 1999
+++ Makefile.org	Sun Nov  7 18:33:37 1999
@@@@ -164,7 +164,7 @@@@
d15 1
a15 1
@@@@ -187,6 +187,21 @@@@
d26 1
a26 1
+	( set -x; ${CC}  -shared -o lib$$i.so.${SHLIBVER} \
@


1.9
log
@Build and install shared libraries libcrypto.so.1 and libssl.so.1, too.

Submitted by:	Issei Suzuki <issei@@jp.freebsd.org>
@
text
@d25 1
a25 1
+		-Wl,--whole-archive lib$$i.a ) || exit 1; \
@


1.8
log
@- patch-ab needs to patch Makefile.org and not Makefile.ssl. Otherwise
  the diffs are trashed because Makefile.org is used as a basis for
  Makefile.ssl during configuration. Now that patch-ab is applied correctly
  libRSAglue.a is installed.

- add patch-aj obtained from the OpenSSL CVS repository:
  "Make sure the RSA OAEP test is skipped under -DRSAref because
   OAEP isn't supported when OpenSSL is built with RSAref."
@
text
@d1 3
a3 3
--- Makefile.org.orig	Mon Mar 22 18:18:18 1999
+++ Makefile.org	Wed Mar 24 17:25:25 1999
@@@@ -149,7 +149,7 @@@@
d5 1
a5 1
 EDIRS=  times doc bugs util include certs ms shlib mt demos perl sf dep
d12 22
@


1.7
log
@Upgrade to 0.9.2b.

According to the OpenSSL-core-team you are strongly encouraged to upgrade
any old version. The new version has a lot of bug fixes.

- ${PREFIX}/bin/ssleay was renamed to ${PREFIX}/bin/openssl and
  ${PREFIX}/etc/ssleay.cnf to ${PREFIX}/lib/openssl.cnf

- there are no links from e. g. ${PREFIX}/bin/md5 to ${PREFIX}/bin/ssleay
  any longer, instead you have to call "openssl md5" now

- replaced HAS_CONFIGURE, CONFIGURE_SCRIPT and CONFIGURE_ENV with a
  do-configure target and changed the indention level

- some perl scripts need perl5 now, so set USE_PERL5 and replace perl
  with ${PERL5} where neccessary.

- honour ${CFLAGS}
@
text
@d1 2
a2 2
--- Makefile.ssl.orig	Mon Mar 22 18:18:18 1999
+++ Makefile.ssl	Wed Mar 24 17:25:25 1999
@


1.6
log
@Bring this port up to openssl-0.9.1c after a repository copy from SSLeay.

OpenSSL is a successor of SSLeay (see http://www.openssl.org/).

This port uses almost the same files as SSLeay. So they can't be
installed both.

- make the port ${PREFIX} clean
- reorganize PLIST (list links as normal files, which makes the PLIST
  shorter and easier to maintain)
- reference ${PREFIX}/etc/ssleay.cnf only (there was a reference to
  ${PREFIX}/lib/ssleay.cnf somewhere)
- some other minor portlint changes
@
text
@d1 3
a3 3
--- Makefile.ssl.orig	Wed Dec 23 09:20:52 1998
+++ Makefile.ssl	Sun Jan  3 20:03:00 1999
@@@@ -174,7 +174,7 @@@@
d8 1
a8 1
+LIBS=	libcrypto.a libssl.a libRSAglue.a
@


1.5
log
@Upgrade to version 0.9.0b
@
text
@d1 5
a5 5
--- Makefile.ssl.orig	Fri Jun 26 10:25:25 1998
+++ Makefile.ssl	Sat Aug 22 13:14:34 1998
@@@@ -175,7 +175,7 @@@@
 	VERSION PROBLEMS MINFO makefile.one e_os.h \
 	MICROSOFT makevms.com config PATENTS
d11 1
a11 8
 BASENAME=       SSLeay
@@@@ -327,5 +327,6 @@@@
 		sh util/ranlib.sh $(INSTALLTOP)/lib/$$i; \
 		chmod 644 $(INSTALLTOP)/lib/$$i ); \
 	done
+	cp apps/ssleay.cnf $(INSTALLTOP)/etc/ssleay.cnf.sample
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.
@


1.4
log
@Fix this port for RSAref, fix the config files location according to
BSD religion.
@
text
@d1 18
a18 28
*** Makefile.ssl.ORIG	Tue Feb 17 21:43:38 1998
--- Makefile.ssl	Tue Feb 17 21:46:22 1998
***************
*** 122,128 ****
  	VERSION PROBLEMS MINFO makefile.one e_os.h \
  	MICROSOFT makevms.com
  WDIRS=	windows
! LIBS=	libcrypto.a libssl.a 
  
  GENERAL=	Makefile
  BASENAME=	SSLeay
--- 122,128 ----
  	VERSION PROBLEMS MINFO makefile.one e_os.h \
  	MICROSOFT makevms.com
  WDIRS=	windows
! LIBS=	libcrypto.a libssl.a libRSAglue.a
  
  GENERAL=	Makefile
  BASENAME=	SSLeay
***************
*** 272,276 ****
--- 272,277 ----
  		sh util/ranlib.sh $(INSTALLTOP)/lib/$$i; \
  		chmod 644 $(INSTALLTOP)/lib/$$i ); \
  	done
+ 	cp apps/ssleay.cnf $(INSTALLTOP)/etc/ssleay.cnf.sample
  
  # DO NOT DELETE THIS LINE -- make depend depends on it.
@


1.3
log
@Upgrade to 0.6.6
@
text
@d1 28
a28 43
--- util/mk1mf.pl.orig	Thu Dec  5 08:25:31 1996
+++ util/mk1mf.pl	Wed Dec 11 22:37:57 1996
@@@@ -6,7 +6,7 @@@@
 # funny stuff
 #
 
-$INSTALLTOP="/usr/local/ssl";
+$INSTALLTOP="/usr/local";
 
 $infile="MINFO";
 
@@@@ -244,6 +244,7 @@@@
 TEST_D=\$(OUT_D)
 LIB_D=\$(OUT_D)
 INC_D=\$(OUT_D)
+APPL_D=apps
 
 # INCL_D - local library directory
 # OBJ_D  - temp object file directory
@@@@ -281,14 +282,17 @@@@
 exe: \$(T_EXE) \$(BIN_D)$o\$(E_EXE)$exep
 
 install:
-	\$(MKDIR) \$(INSTALLTOP)
-	\$(MKDIR) \$(INSTALLTOP)${o}bin
-	\$(MKDIR) \$(INSTALLTOP)${o}include
-	\$(MKDIR) \$(INSTALLTOP)${o}lib
+	-\$(MKDIR) \$(INSTALLTOP)
+	-\$(MKDIR) \$(INSTALLTOP)${o}bin
+	-\$(MKDIR) \$(INSTALLTOP)${o}etc
+	-\$(MKDIR) \$(INSTALLTOP)${o}include
+	-\$(MKDIR) \$(INSTALLTOP)${o}lib
 	\$(CP) \$(INC_D)${o}*.h \$(INSTALLTOP)${o}include
+	\$(CP) \$(APPL_D)${o}ssleay.cnf \$(INSTALLTOP)${o}etc
 	\$(CP) \$(BIN_D)$o\$(E_EXE)$exep \$(INSTALLTOP)${o}bin
-	\$(CP) \$(LIB_D)$o\$(O_SSL) \$(INSTALLTOP)${o}lib
-	\$(CP) \$(LIB_D)$o\$(O_CRYPTO) \$(INSTALLTOP)${o}lib
+	\$(CP) \$(O_SSL) \$(INSTALLTOP)${o}lib
+	\$(CP) \$(O_CRYPTO) \$(INSTALLTOP)${o}lib
+	\$(CP) \$(O_RSAGLUE) \$(INSTALLTOP)${o}lib
 
 clean:
 	\$(RM) \$(TMP_D)$o*.*
@


1.2
log
@Update to 0.6.5
@
text
@a11 9
@@@@ -156,7 +156,7 @@@@
 
 if ($ranlib ne "")
 	{
-	$ranlib="RANLIB=\$(SRC_D)$o$ranlib";
+	$ranlib="\$(SRC_D)$o$ranlib";
 	}
 
 if ($msdos)
@


1.1
log
@Move to version 0.6.3
@
text
@d1 12
a12 3
--- util/mk1mf.pl.ORG	Sat Aug 10 15:52:08 1996
+++ util/mk1mf.pl	Sat Aug 10 15:52:30 1996
@@@@ -154,7 +154,7 @@@@
d21 32
@
