OpenSSL Security Advisory added
Reported by: |
hideishi@… |
Owned by: |
macports-tickets@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.0
|
Keywords:
|
|
Cc:
|
|
Port:
|
openssl
|
|
|
OpenSSL's Security Advisory 2003/03/17 and 2003/03/19 are
added as extra patches to the current port.
diff as follows.
===================================================================
RCS file: /home/hideishi/ncvs/myports/openssl/Portfile,v
retrieving revision 1.1.1.2
retrieving revision 1.4
diff -u -p -r1.1.1.2 -r1.4
--- myports/openssl/Portfile 2003/03/22 13:54:28 1.1.1.2
+++ myports/openssl/Portfile 2003/03/22 15:19:56 1.4
@@ -1,4 +1,4 @@
-# $Id: Portfile,v 1.1.1.2 2003/03/22 13:54:28 hideishi Exp $
+# $Id: Portfile,v 1.4 2003/03/22 15:19:56 hideishi Exp $
PortSystem 1.0
name openssl
@@ -15,11 +15,24 @@ the Secure Sockets Layer (SSL v2/v3) and
(TLS v1) protocols as well as a full-strength general purpose \
cryptography library.
-master_sites http://www.openssl.org/source/
-checksums md5 a0d3203ecf10989fdc61c784ae82e531
+master_sites http://www.openssl.org/source/ \
+ http://www.openssl.org/news/:adv
+
+set filename ${portname}-${portversion}${extract.sufx}
+distfiles ${filename} secadv_20030317.txt:adv secadv_20030319.txt:adv
+checksums ${filename} md5 a0d3203ecf10989fdc61c784ae82e531 \
+ secadv_20030317.txt md5 7c92a4ac7fa2630c6e4c05cfda97aa8d \
+ secadv_20030319.txt md5 d27a36110ee38b6308709a2f2d20dbcd
+extract.only ${filename}
patchfiles patch-Makefile.org
#depends_lib lib:libz.1:zlib
+
+pre-patch {
+ cd "${worksrcpath}"
+ system "patch -p0 < ${distpath}/secadv_20030317.txt"
+ system "patch -d ssl -p0 < ${distpath}/secadv_20030319.txt"
+ }
configure.cmd ./config
configure.args --openssldir=${prefix}/etc/openssl zlib no-asm no-krb5 shared
this has been fixed by an update of the port to 0.9.7b. see SA on darwinports@.
-fkr