summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/mdadm/files/mdadm-2.5-ssl-cleanup.patch')
-rw-r--r--sys-fs/mdadm/files/mdadm-2.5-ssl-cleanup.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-fs/mdadm/files/mdadm-2.5-ssl-cleanup.patch b/sys-fs/mdadm/files/mdadm-2.5-ssl-cleanup.patch
deleted file mode 100644
index 71eb1f411305..000000000000
--- a/sys-fs/mdadm/files/mdadm-2.5-ssl-cleanup.patch
+++ /dev/null
@@ -1,40 +0,0 @@
- - the SHA1 func is in libcrypto, not libssl
- - control ssl support a bit better
-
---- Makefile
-+++ Makefile
-@@ -32,7 +32,9 @@
- TCC = tcc
- UCLIBC_GCC = $(shell for nm in i386-uclibc-linux-gcc i386-uclibc-gcc; do which $$nm > /dev/null && { echo $$nm ; exit; } ; done; echo false No uclibc found )
- DIET_GCC = diet gcc
--LDLIBS=-lssl
-+ifeq ($(USE_SSL),1)
-+LDLIBS=-lcrypto
-+endif
-
- KLIBC=/home/src/klibc/klibc-0.77
-
-@@ -72,6 +76,12 @@
- Create.c Detail.c Examine.c Grow.c Monitor.c dlink.c Kill.c Query.c \
- mdopen.c super0.c super1.c bitmap.c restripe.c sysfs.c
-
-+ifneq ($(USE_SSL),1)
-+OBJS += SHA1.o sha1.o
-+SRCS += SHA1.c sha1.c
-+CPPFLAGS += -DNO_SSL
-+endif
-+
- ASSEMBLE_SRCS := mdassemble.c Assemble.c config.c dlink.c util.c super0.c super1.c
- ASSEMBLE_FLAGS:= -DMDASSEMBLE
- ifdef MDASSEMBLE_AUTO
---- super0.c
-+++ super0.c
-@@ -28,7 +28,7 @@
- */
-
- #include "mdadm.h"
--#ifndef UCLIBC
-+#ifndef NO_SSL
- #include <openssl/sha.h> /* for SHA1 */
- #else
- extern unsigned char *SHA1(unsigned char *buf, int len, unsigned char *dest);