aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-10-01 01:48:20 +0800
committerdinoex <dinoex@FreeBSD.org>2003-10-01 01:48:20 +0800
commit108e2edac03781702d2789da92cc6a89d0483b84 (patch)
treee1a2810887f5caf6fe72c51de4264b0893a0cf1b /security/openssl
parentbfb542ad19a5ab6fc14c7ad39dc3ccc888e73a93 (diff)
downloadfreebsd-ports-gnome-108e2edac03781702d2789da92cc6a89d0483b84.tar.gz
freebsd-ports-gnome-108e2edac03781702d2789da92cc6a89d0483b84.tar.zst
freebsd-ports-gnome-108e2edac03781702d2789da92cc6a89d0483b84.zip
- Security Fix, Update to 0.9.7c
- Fix manpages
Diffstat (limited to 'security/openssl')
-rw-r--r--security/openssl/Makefile7
-rw-r--r--security/openssl/bsd.openssl.mk126
-rw-r--r--security/openssl/distinfo2
-rw-r--r--security/openssl/files/patch-doc-crypto-EVP_BytesToKey.pod11
-rw-r--r--security/openssl/files/patch-doc-crypto-EVP_DigestInit.pod11
-rw-r--r--security/openssl/files/patch-doc-crypto-des_modes.pod11
-rw-r--r--security/openssl/files/patch-doc-crypto-ui.pod11
7 files changed, 47 insertions, 132 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile
index 7aa55743d31f..879019b7d346 100644
--- a/security/openssl/Makefile
+++ b/security/openssl/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= openssl
-PORTVERSION= 0.9.7b
-PORTREVISION= 1
+PORTVERSION= 0.9.7c
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/source/ \
ftp://ftp.openssl.org/source/ \
@@ -813,9 +812,7 @@ MLINKS= dgst.1 md4.1 \
ui_compat.3 des_read_password.3 \
ui_compat.3 des_read_pw.3 \
ui_compat.3 des_read_pw_string.3 \
- des_modes.7 DES.7 \
- des_modes.7 Modes.7 \
- des_modes.7 of.7
+ des_modes.7 Modes_of_DES.7
.include <bsd.port.pre.mk>
diff --git a/security/openssl/bsd.openssl.mk b/security/openssl/bsd.openssl.mk
deleted file mode 100644
index 795be7b87bf3..000000000000
--- a/security/openssl/bsd.openssl.mk
+++ /dev/null
@@ -1,126 +0,0 @@
-# makefile for use of: OpenSSH
-# Date created: 31 May 2002
-# Whom: dinoex
-#
-# $FreeBSD: /tmp/pcvs/ports/security/openssl/Attic/bsd.openssl.mk,v 1.5 2003-05-07 20:08:00 dinoex Exp $
-#
-# this substitutes USE_OPENSSL=yes
-# just include this makefile after bsd.ports.pre.mk
-#
-# the user/port can now set this options in the makefiles.
-#
-# WITH_OPENSSL_BASE=yes - Use the version in the base system.
-# WITH_OPENSSL_PORT=yes - Use the port, even if base if up to date
-# WITH_OPENSSL_BETA=yes - Use a snapshot of recent openssl
-#
-# Overrideable defaults:
-#
-# OPENSSL_SHLIBVER= 3
-# OPENSSL_PORT= security/openssl
-#
-# The makefile sets this variables:
-# OPENSSLBASE - "/usr" or ${LOCALBASE}
-# OPENSSLDIR - path to openssl
-# OPENSSLLIB - path to the libs
-# OPENSSLINC - path to the matching includes
-#
-# MAKE_ENV - extended with the variables above
-# LIB_DEPENDS - are added if needed
-
-# honor obsolete options for a bit
-.if defined(USE_OPENSSL_BASE) && !defined(WITH_OPENSSL_BASE)
-WITH_OPENSSL_BASE=yes
-.endif
-.if defined(USE_OPENSSL_PORT) && !defined(WITH_OPENSSL_PORT)
-WITH_OPENSSL_PORT=yes
-.endif
-
-# if no preference was set, check for an up to date base version
-# but give an installed port preference over it.
-.if !defined(WITH_OPENSSL_BASE) && \
- !defined(WITH_OPENSSL_BETA) && \
- !defined(WITH_OPENSSL_PORT) && \
- !exists(${LOCALBASE}/lib/libcrypto.so) && \
- exists(/usr/include/openssl/opensslv.h)
-# Security: version in base must be 0.9.7a
-OPENSSLVER!= ${AWK} '/OPENSSL_VERSION_NUMBER/ { print $$3 }' \
- /usr/include/openssl/opensslv.h
-.if ${OPENSSLVER} == 0x0090701fL || ${OPENSSLVER} == 0x0090702fL
-WITH_OPENSSL_BASE=yes
-.endif
-.endif
-
-.if defined(WITH_OPENSSL_BASE)
-OPENSSLBASE= /usr
-OPENSSLDIR= /etc/ssl
-
-.if !exists(/usr/lib/libcrypto.so)
-.BEGIN:
- @${ECHO_CMD} "This port requires the OpenSSL library, which is part of"
- @${ECHO_CMD} "the FreeBSD crypto distribution but not installed on your"
- @${ECHO_CMD} "machine. Please see the \"OpenSSL\" section in the handbook"
- @${ECHO_CMD} "(at \"http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/openssl.html\", for instance)"
- @${ECHO_CMD} "for instructions on how to obtain and install the FreeBSD"
- @${ECHO_CMD} "OpenSSL distribution."
- @${FALSE}
-.endif
-.if exists(${LOCALBASE}/lib/libcrypto.so)
-.BEGIN:
- @${ECHO_CMD} "This port wants the OpenSSL library from the FreeBSD"
- @${ECHO_CMD} "base system. You can't build against it, while a newer"
- @${ECHO_CMD} "Version is installed by a port."
- @${ECHO_CMD} "Please deinstall the port or undefine WITH_OPENSSL_BASE."
- @${FALSE}
-.endif
-
-# OpenSSL in the base system may not include IDEA for patent licensing reasons.
-.if defined(MAKE_IDEA) && !defined(OPENSSL_IDEA)
-OPENSSL_IDEA= ${MAKE_IDEA}
-.else
-OPENSSL_IDEA?= NO
-.endif
-
-.if ${OPENSSL_IDEA} == "NO"
-# XXX This is a hack to work around the fact that /etc/make.conf clobbers
-# our CFLAGS. It might not be enough for all future ports.
-.if defined(HAS_CONFIGURE)
-CFLAGS+= -DNO_IDEA
-.else
-OPENSSL_CFLAGS+= -DNO_IDEA
-.endif
-MAKE_ARGS+= OPENSSL_CFLAGS="${OPENSSL_CFLAGS}"
-.endif
-CFLAGS+= -Wl,-rpath,/usr/lib:${LOCALBASE}/lib
-OPENSSL_LDFLAGS+= -rpath=/usr/lib:${LOCALBASE}/lib
-
-.else
-
-OPENSSLBASE= ${LOCALBASE}
-.if defined(WITH_OPENSSL_BETA)
-OPENSSL_SHLIBVER?= 4
-OPENSSL_PORT?= security/openssl-beta
-.else
-OPENSSL_SHLIBVER?= 3
-OPENSSL_PORT?= security/openssl
-.endif
-OPENSSLDIR= ${OPENSSLBASE}/openssl
-LIB_DEPENDS+= crypto.${OPENSSL_SHLIBVER}:${PORTSDIR}/${OPENSSL_PORT}
-CFLAGS+= -Wl,-rpath,${LOCALBASE}/lib
-OPENSSL_LDFLAGS+= -rpath=${LOCALBASE}/lib
-
-.endif
-
-OPENSSLLIB= ${OPENSSLBASE}/lib
-OPENSSLINC= ${OPENSSLBASE}/include
-MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
- OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR}
-
-.if defined(LDFLAGS) && !empty(LDFLAGS)
-LDFLAGS+=${OPENSSL_LDFLAGS}
-.else
-LDFLAGS=${OPENSSL_LDFLAGS}
-.endif
-
-### crypto
-#RESTRICTED= "Contains cryptography."
-
diff --git a/security/openssl/distinfo b/security/openssl/distinfo
index 7412ecf78474..4f159ed52ae9 100644
--- a/security/openssl/distinfo
+++ b/security/openssl/distinfo
@@ -1 +1 @@
-MD5 (openssl-0.9.7b.tar.gz) = fae4bec090fa78e20f09d76d55b6ccff
+MD5 (openssl-0.9.7c.tar.gz) = c54fb36218adaaaba01ef733cd88c8ec
diff --git a/security/openssl/files/patch-doc-crypto-EVP_BytesToKey.pod b/security/openssl/files/patch-doc-crypto-EVP_BytesToKey.pod
new file mode 100644
index 000000000000..f534dc2b6478
--- /dev/null
+++ b/security/openssl/files/patch-doc-crypto-EVP_BytesToKey.pod
@@ -0,0 +1,11 @@
+--- doc/crypto/EVP_BytesToKey.pod.orig Mon Dec 3 04:07:37 2001
++++ doc/crypto/EVP_BytesToKey.pod Tue Sep 30 18:55:24 2003
+@@ -2,7 +2,7 @@
+
+ =head1 NAME
+
+- EVP_BytesToKey - password based encryption routine
++EVP_BytesToKey - password based encryption routine
+
+ =head1 SYNOPSIS
+
diff --git a/security/openssl/files/patch-doc-crypto-EVP_DigestInit.pod b/security/openssl/files/patch-doc-crypto-EVP_DigestInit.pod
new file mode 100644
index 000000000000..1a7f256c8410
--- /dev/null
+++ b/security/openssl/files/patch-doc-crypto-EVP_DigestInit.pod
@@ -0,0 +1,11 @@
+--- doc/crypto/EVP_DigestInit.pod.orig Thu Jul 18 20:55:04 2002
++++ doc/crypto/EVP_DigestInit.pod Tue Sep 30 18:57:18 2003
+@@ -4,7 +4,7 @@
+
+ EVP_MD_CTX_init, EVP_MD_CTX_create, EVP_DigestInit_ex, EVP_DigestUpdate,
+ EVP_DigestFinal_ex, EVP_MD_CTX_cleanup, EVP_MD_CTX_destroy, EVP_MAX_MD_SIZE,
+-EVP_MD_CTX_copy_ex EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, EVP_MD_size,
++EVP_MD_CTX_copy_ex, EVP_MD_CTX_copy, EVP_MD_type, EVP_MD_pkey_type, EVP_MD_size,
+ EVP_MD_block_size, EVP_MD_CTX_md, EVP_MD_CTX_size, EVP_MD_CTX_block_size, EVP_MD_CTX_type,
+ EVP_md_null, EVP_md2, EVP_md5, EVP_sha, EVP_sha1, EVP_dss, EVP_dss1, EVP_mdc2,
+ EVP_ripemd160, EVP_get_digestbyname, EVP_get_digestbynid, EVP_get_digestbyobj -
diff --git a/security/openssl/files/patch-doc-crypto-des_modes.pod b/security/openssl/files/patch-doc-crypto-des_modes.pod
new file mode 100644
index 000000000000..3584dda10a12
--- /dev/null
+++ b/security/openssl/files/patch-doc-crypto-des_modes.pod
@@ -0,0 +1,11 @@
+--- doc/crypto/des_modes.pod.orig Tue Mar 5 16:30:13 2002
++++ doc/crypto/des_modes.pod Tue Sep 30 18:58:27 2003
+@@ -2,7 +2,7 @@
+
+ =head1 NAME
+
+-Modes of DES - the variants of DES and other crypto algorithms of OpenSSL
++Modes_of_DES - the variants of DES and other crypto algorithms of OpenSSL
+
+ =head1 DESCRIPTION
+
diff --git a/security/openssl/files/patch-doc-crypto-ui.pod b/security/openssl/files/patch-doc-crypto-ui.pod
new file mode 100644
index 000000000000..fad6e3693ecf
--- /dev/null
+++ b/security/openssl/files/patch-doc-crypto-ui.pod
@@ -0,0 +1,11 @@
+--- doc/crypto/ui.pod.orig Thu Oct 25 18:55:17 2001
++++ doc/crypto/ui.pod Tue Sep 30 18:59:45 2003
+@@ -5,7 +5,7 @@
+ UI_new, UI_new_method, UI_free, UI_add_input_string, UI_dup_input_string,
+ UI_add_verify_string, UI_dup_verify_string, UI_add_input_boolean,
+ UI_dup_input_boolean, UI_add_info_string, UI_dup_info_string,
+-UI_add_error_string, UI_dup_error_string, UI_construct_prompt
++UI_add_error_string, UI_dup_error_string, UI_construct_prompt,
+ UI_add_user_data, UI_get0_user_data, UI_get0_result, UI_process,
+ UI_ctrl, UI_set_default_method, UI_get_default_method, UI_get_method,
+ UI_set_method, UI_OpenSSL, ERR_load_UI_strings - New User Interface