summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-25 17:02:33 +0000
committerMike Frysinger <vapier@gentoo.org>2007-03-25 17:02:33 +0000
commitd6882f703cf2d84288e763d6bf94bea1cb4f2a03 (patch)
tree35cbf5c010e009c52bc08e345d8450b194de59cb /dev-libs/matrixssl
parentold (diff)
downloadgentoo-2-d6882f703cf2d84288e763d6bf94bea1cb4f2a03.tar.gz
gentoo-2-d6882f703cf2d84288e763d6bf94bea1cb4f2a03.tar.bz2
gentoo-2-d6882f703cf2d84288e763d6bf94bea1cb4f2a03.zip
Version bump.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-libs/matrixssl')
-rw-r--r--dev-libs/matrixssl/ChangeLog10
-rw-r--r--dev-libs/matrixssl/files/digest-matrixssl-1.8.33
-rw-r--r--dev-libs/matrixssl/files/matrixssl-1.8.3-build.patch65
-rw-r--r--dev-libs/matrixssl/matrixssl-1.8.3.ebuild42
4 files changed, 118 insertions, 2 deletions
diff --git a/dev-libs/matrixssl/ChangeLog b/dev-libs/matrixssl/ChangeLog
index cbd8b5cfc07a..9139beaf0484 100644
--- a/dev-libs/matrixssl/ChangeLog
+++ b/dev-libs/matrixssl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/matrixssl
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/ChangeLog,v 1.5 2006/01/31 01:18:37 vapier Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/ChangeLog,v 1.6 2007/03/25 17:02:33 vapier Exp $
+
+*matrixssl-1.8.3 (25 Mar 2007)
+
+ 25 Mar 2007; Mike Frysinger <vapier@gentoo.org>
+ +files/matrixssl-1.8.3-build.patch, +matrixssl-1.8.3.ebuild:
+ Version bump.
*matrixssl-1.7.3 (31 Jan 2006)
diff --git a/dev-libs/matrixssl/files/digest-matrixssl-1.8.3 b/dev-libs/matrixssl/files/digest-matrixssl-1.8.3
new file mode 100644
index 000000000000..e6493a220af7
--- /dev/null
+++ b/dev-libs/matrixssl/files/digest-matrixssl-1.8.3
@@ -0,0 +1,3 @@
+MD5 1cfc2622b01b5457538c0d8ec58790bf matrixssl-1-8-3-open.tar.gz 417545
+RMD160 5eab3e3beda9d7a3108303a79df9251024f768c6 matrixssl-1-8-3-open.tar.gz 417545
+SHA256 af0992ff2a07896dfcd128a6fd2f6eb8e1b21bc7aa9a55b4cbdc0b0b2f44f818 matrixssl-1-8-3-open.tar.gz 417545
diff --git a/dev-libs/matrixssl/files/matrixssl-1.8.3-build.patch b/dev-libs/matrixssl/files/matrixssl-1.8.3-build.patch
new file mode 100644
index 000000000000..b518f71834ad
--- /dev/null
+++ b/dev-libs/matrixssl/files/matrixssl-1.8.3-build.patch
@@ -0,0 +1,65 @@
+--- src/Makefile
++++ src/Makefile
+@@ -6,7 +6,7 @@
+ #
+
+ CC = gcc
+-STRIP = strip
++STRIP = true
+ AR = ar
+ RANLIB = ranlib
+ O = .o
+@@ -15,7 +15,7 @@
+ E =
+
+ LIBRARY = libmatrixssl$(SO)
+-STATIC = libmatrixsslstatic$(A)
++STATIC = libmatrixssl$(A)
+
+ OBJECTS = \
+ cipherSuite$(O) \
+@@ -50,7 +50,6 @@
+ STRIP = test
+ else
+ #DFLAGS = -Os
+-DFLAGS = -O3
+ endif
+
+ ifdef MATRIXSSL_PROFILE
+@@ -62,14 +61,14 @@
+ # Override variables for compilation on x86-64 (AMD64, Nacona, etc)
+ #
+ ifeq ($(shell uname -m),x86_64)
+-DFLAGS += -march=k8 -fPIC -DFP_64BIT -DTFM_X86_64 -DRDTSC
++DFLAGS += -DFP_64BIT -DTFM_X86_64 -DRDTSC
+ endif
+
+ #
+ # Compile options
+ #
+-SHARED = -shared
++SHARED = -shared -Wl,-soname,$@
+-CFLAGS = $(DFLAGS) -fPIC -DLINUX -I./
++CFLAGS += $(DFLAGS) -fPIC -DLINUX -I./
+ LDFLAGS += -lc -lpthread
+
+ #
+--- src/os/linux/linux.c
++++ src/os/linux/linux.c
+@@ -31,6 +31,8 @@
+ */
+ /******************************************************************************/
+ #ifdef LINUX
++#define _XOPEN_SOURCE 600
++#include <strings.h>
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <errno.h>
+@@ -40,7 +42,6 @@
+ #include "../osLayer.h"
+
+ #if defined(USE_RDTSCLL_TIME) || defined(RDTSC)
+-#include <asm/timex.h>
+ /*
+ As defined in asm/timex.h for x386:
+ */
diff --git a/dev-libs/matrixssl/matrixssl-1.8.3.ebuild b/dev-libs/matrixssl/matrixssl-1.8.3.ebuild
new file mode 100644
index 000000000000..91021cc263a0
--- /dev/null
+++ b/dev-libs/matrixssl/matrixssl-1.8.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/matrixssl/matrixssl-1.8.3.ebuild,v 1.1 2007/03/25 17:02:33 vapier Exp $
+
+inherit eutils
+
+MY_P=${P//./-}
+DESCRIPTION="embedded SSL implementation"
+HOMEPAGE="http://www.matrixssl.org/"
+SRC_URI="mirror://gentoo/${MY_P}-open.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc examples"
+
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}-open/src
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.8.3-build.patch
+}
+
+src_install() {
+ dolib.so libmatrixssl.so || die
+ dolib.a libmatrixssl.a || die
+ insinto /usr/include
+ cd ..
+ doins matrixCommon.h matrixSsl.h || die
+ if use doc ; then
+ cd "${S}"/..
+ dodoc doc/* || die
+ fi
+ if use examples ; then
+ cd "${S}"/..
+ docinto examples
+ dodoc examples/* || die
+ fi
+}