Author: oden
Date: Sat Feb 10 15:32:43 2007
New Revision: 118708

Added:
   packages/cooker/matrixssl/current/SOURCES/matrixssl-1-8-3-open.tar.gz   
(contents, props changed)
   packages/cooker/matrixssl/current/SOURCES/matrixssl-shared_and_static.diff
Removed:
   packages/cooker/matrixssl/current/SOURCES/matrixssl-1-8-2-open.tar.bz2
   
packages/cooker/matrixssl/current/SOURCES/matrixssl-1.8-shared_and_static.diff
Modified:
   packages/cooker/matrixssl/current/SPECS/matrixssl.spec

Log:
- 1.8.3
- rediffed the shared patch


Added: packages/cooker/matrixssl/current/SOURCES/matrixssl-1-8-3-open.tar.gz
==============================================================================
Binary file. No diff available.

Added: 
packages/cooker/matrixssl/current/SOURCES/matrixssl-shared_and_static.diff
==============================================================================
--- (empty file)
+++ packages/cooker/matrixssl/current/SOURCES/matrixssl-shared_and_static.diff  
Sat Feb 10 15:32:43 2007
@@ -0,0 +1,42 @@
+--- src/Makefile       2007-02-07 15:38:41.000000000 +0100
++++ src/Makefile.oden  2007-02-10 15:27:08.000000000 +0100
+@@ -68,7 +68,7 @@
+ #
+ #     Compile options
+ #
+-SHARED        = -shared
++SHARED        = -shared -Wl,-soname,$(LIBRARY).1
+ CFLAGS  = $(DFLAGS) -fPIC -DLINUX -I./
+ LDFLAGS += -lc -lpthread
+ 
+@@ -92,9 +92,14 @@
+ STRIP = /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-strip
+ endif
+ 
+-all: compile
++all: static shared
+ 
+-compile: $(OBJECTS) $(LIBRARY) $(STATIC)
++static: $(OBJECTS)
++      rm -f libmatrixssl.a
++      ar cr libmatrixssl.a $(OBJECTS)
++      ranlib libmatrixssl.a
++
++shared: $(OBJECTS) $(LIBRARY)
+ 
+ #
+ # Manual dependencies
+@@ -112,7 +117,6 @@
+ #
+ $(LIBRARY): $(OBJECTS)
+       $(CC) $(SHARED) -o $@ $^ $(LDFLAGS)
+-      $(STRIP) $(LIBRARY)
+ 
+ #
+ # Build the static library
+@@ -126,4 +130,4 @@
+ #     Clean up all generated files
+ #
+ clean:
+-      rm -f $(LIBRARY) $(OBJECTS) $(STATIC)
++      rm -f $(LIBRARY) $(OBJECTS) libmatrixssl.a

Modified: packages/cooker/matrixssl/current/SPECS/matrixssl.spec
==============================================================================
--- packages/cooker/matrixssl/current/SPECS/matrixssl.spec      (original)
+++ packages/cooker/matrixssl/current/SPECS/matrixssl.spec      Sat Feb 10 
15:32:43 2007
@@ -3,13 +3,13 @@
 
 Summary:       MatrixSSL is an embedded SSL implementation
 Name:          matrixssl
-Version:       1.8.2
+Version:       1.8.3
 Release:       %mkrel 1
 License:       GPL
 Group:         System/Libraries
 URL:           http://www.matrixssl.org/
-Source0:       %{name}-1-8-2-open.tar.bz2
-Patch0:                matrixssl-1.8-shared_and_static.diff
+Source0:       %{name}-1-8-3-open.tar.gz
+Patch0:                matrixssl-shared_and_static.diff
 Patch1:                matrixssl-1.8.1-debian.diff
 BuildRequires: dietlibc-devel >= 0.20
 BuildRequires: dos2unix
@@ -62,7 +62,7 @@
 
 %prep
 
-%setup -q -n %{name}-1-8-2
+%setup -q -n %{name}-1-8-3-open
 %patch0 -p0
 %patch1 -p1
 

Reply via email to