summaryrefslogtreecommitdiff
path: root/package/polarssl/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-19 14:48:55 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-19 14:49:04 -0600
commitaf1bf1cfba15f891eb6677e046116d5a4420aacb (patch)
tree8e1ed20beb143849e689327eb5ab8778a04c73a0 /package/polarssl/patches
parent1fca0943f320acd845ae610b4030cbb4aa6a3ac0 (diff)
rename polarssl to mbedtls, update to latest
Diffstat (limited to 'package/polarssl/patches')
-rw-r--r--package/polarssl/patches/patch-Makefile34
-rw-r--r--package/polarssl/patches/patch-library_Makefile50
2 files changed, 0 insertions, 84 deletions
diff --git a/package/polarssl/patches/patch-Makefile b/package/polarssl/patches/patch-Makefile
deleted file mode 100644
index 9f2be0470..000000000
--- a/package/polarssl/patches/patch-Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
---- polarssl-1.3.6.orig/Makefile 2014-04-11 15:33:59.000000000 +0200
-+++ polarssl-1.3.6/Makefile 2014-04-25 07:48:48.000000000 +0200
-@@ -1,5 +1,5 @@
-
--DESTDIR=/usr/local
-+DESTDIR=/usr
- PREFIX=polarssl_
-
- .SILENT:
-@@ -17,18 +17,18 @@ lib:
- cd library && $(MAKE) all && cd ..
-
- install:
-- mkdir -p $(DESTDIR)/include/polarssl
-- cp -r include/polarssl $(DESTDIR)/include
-+ mkdir -p $(DESTDIR)/usr/include/polarssl
-+ cp -r include/polarssl $(DESTDIR)/usr/include
-
-- mkdir -p $(DESTDIR)/lib
-- cp library/libpolarssl.* $(DESTDIR)/lib
-+ mkdir -p $(DESTDIR)/usr/lib
-+ cp -fpR library/libpolarssl.* $(DESTDIR)/usr/lib
-
-- mkdir -p $(DESTDIR)/bin
-+ mkdir -p $(DESTDIR)/usr/bin
- for p in programs/*/* ; do \
- if [ -x $$p ] && [ ! -d $$p ] ; \
- then \
- f=$(PREFIX)`basename $$p` ; \
-- cp $$p $(DESTDIR)/bin/$$f ; \
-+ cp $$p $(DESTDIR)/usr/bin/$$f ; \
- fi \
- done
-
diff --git a/package/polarssl/patches/patch-library_Makefile b/package/polarssl/patches/patch-library_Makefile
deleted file mode 100644
index 3971fb64b..000000000
--- a/package/polarssl/patches/patch-library_Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
---- polarssl-1.3.6.orig/library/Makefile 2014-04-11 15:33:59.000000000 +0200
-+++ polarssl-1.3.6/library/Makefile 2014-04-25 07:42:34.000000000 +0200
-@@ -18,9 +18,7 @@ endif
- # CFLAGS += -D_BSD_EXTENSION
-
- # To compile as a shared library:
--ifdef SHARED
- CFLAGS += -fPIC
--endif
-
- SONAME=libpolarssl.so.6
-
-@@ -65,28 +63,20 @@ OBJS= aes.o aesni.o arc4.o \
-
- .SILENT:
-
--ifndef SHARED
--all: static
--else
--all: shared
--endif
-+all: static shared
-
- static: libpolarssl.a
-
- shared: libpolarssl.$(DLEXT) libpolarssl.so
-
- libpolarssl.a: $(OBJS)
-- echo " AR $@"
- $(AR) r $@ $(OBJS)
-- echo " RL $@"
- $(AR) s $@
-
- libpolarssl.${DLEXT}: libpolarssl.a
-- echo " LD $@"
- $(CC) ${LDFLAGS} -shared -Wl,-soname,$(SONAME) -o $@ $(OBJS)
-
- libpolarssl.so: libpolarssl.${DLEXT}
-- echo " LN $@ -> libpolarssl.${DLEXT}"
- ln -sf libpolarssl.${DLEXT} $@
-
- libpolarssl.dylib: libpolarssl.a
-@@ -98,7 +88,6 @@ libpolarssl.dll: libpolarssl.a
- $(CC) -shared -Wl,-soname,$@ -o $@ $(OBJS) -lws2_32 -lwinmm -lgdi32
-
- .c.o:
-- echo " CC $<"
- $(CC) $(CFLAGS) $(OFLAGS) -c $<
-
- clean: