summaryrefslogtreecommitdiff
path: root/security/openssl-unsafe/files/patch-config
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2017-10-10 11:47:19 +0000
committerBernard Spil <brnrd@FreeBSD.org>2017-10-10 11:47:19 +0000
commitb580e6a1fa9b31baf7fff9ca7f5175b487f60dfd (patch)
tree2c0b96ad8285130b904baed83e0082d5c33bef8c /security/openssl-unsafe/files/patch-config
parentAdd LICENSE (diff)
security/openssl-unsafe: Add OpenSSL port for scanning/testing
- OpenSSL binary and libs for testing and scanning - Use with e.g. sslscan or testssl.sh Differential Revision: https://reviews.freebsd.org/D9483
Notes
Notes: svn path=/head/; revision=451695
Diffstat (limited to 'security/openssl-unsafe/files/patch-config')
-rw-r--r--security/openssl-unsafe/files/patch-config19
1 files changed, 19 insertions, 0 deletions
diff --git a/security/openssl-unsafe/files/patch-config b/security/openssl-unsafe/files/patch-config
new file mode 100644
index 000000000000..f1e017098bb0
--- /dev/null
+++ b/security/openssl-unsafe/files/patch-config
@@ -0,0 +1,19 @@
+--- config.orig 2017-07-06 01:00:00 UTC
++++ config
+@@ -753,14 +753,8 @@ case "$GUESSOS" in
+ sparc64-*-*bsd*) OUT="BSD-sparc64" ;;
+ ia64-*-*bsd*) OUT="BSD-ia64" ;;
+ amd64-*-*bsd*) OUT="BSD-x86_64" ;;
+- *86*-*-*bsd*) # mimic ld behaviour when it's looking for libc...
+- if [ -L /usr/lib/libc.so ]; then # [Free|Net]BSD
+- libc=/usr/lib/libc.so
+- else # OpenBSD
+- # ld searches for highest libc.so.* and so do we
+- libc=`(ls /usr/lib/libc.so.* /lib/libc.so.* | tail -1) 2>/dev/null`
+- fi
+- case "`(file -L $libc) 2>/dev/null`" in
++ *86*-*-*bsd*)
++ case "`(file -L /bin/sh) 2>/dev/null`" in
+ *ELF*) OUT="BSD-x86-elf" ;;
+ *) OUT="BSD-x86"; options="$options no-sse2" ;;
+ esac ;;