From e1f3409a4a2bf3a4291643ffde6067d5f2aeb05e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Mar 2007 17:02:33 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2.2 --- dev-libs/matrixssl/ChangeLog | 10 ++- dev-libs/matrixssl/Manifest | 43 ++++++------ .../matrixssl/files/digest-matrixssl-1.8.3 | 3 + .../files/matrixssl-1.8.3-build.patch | 65 +++++++++++++++++++ dev-libs/matrixssl/matrixssl-1.8.3.ebuild | 42 ++++++++++++ 5 files changed, 139 insertions(+), 24 deletions(-) create mode 100644 dev-libs/matrixssl/files/digest-matrixssl-1.8.3 create mode 100644 dev-libs/matrixssl/files/matrixssl-1.8.3-build.patch create mode 100644 dev-libs/matrixssl/matrixssl-1.8.3.ebuild 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 + +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/Manifest b/dev-libs/matrixssl/Manifest index c26d4a495705..96b5afce4a1d 100644 --- a/dev-libs/matrixssl/Manifest +++ b/dev-libs/matrixssl/Manifest @@ -1,31 +1,30 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 676a7e501b31fb52583138d8365f37e9 ChangeLog 773 -RMD160 6d1c6071f14d3cb23fde84b143a93295b90d896e ChangeLog 773 -SHA256 8ef87f63f554d20e93f5baab8208a563fcfbd00eee3c6cf1a4b943e1c6ed42eb ChangeLog 773 -MD5 9d5cac00857bb69eee434733dcf182e9 files/digest-matrixssl-1.2.4 67 -RMD160 e48609ed9cc8466238cbbbfd1977b841538178d6 files/digest-matrixssl-1.2.4 67 -SHA256 5ad9994bd6c128f552e5f6e2b6b345d807dce8336c58f29a9b7c673a129aebfd files/digest-matrixssl-1.2.4 67 -MD5 ed9d899996695707219735f0a4db666a files/digest-matrixssl-1.7.3 262 -RMD160 b44befb850d675b0da21cfd0a0b58c263608d0dd files/digest-matrixssl-1.7.3 262 -SHA256 33f01eee6dc6d80c9b5d64ddb41915ee532b51d869abfb52f05a539d92fa96e4 files/digest-matrixssl-1.7.3 262 -MD5 d0c2fd11d79920131963f7103c8de997 files/matrixssl-1.7.3-build.patch 1613 -RMD160 64a98b2abadd5161ac181926f3ae86e74526a914 files/matrixssl-1.7.3-build.patch 1613 -SHA256 903bf53774cffce669eb917419e527894c75d4171c2e54646aec1f62b5cf22be files/matrixssl-1.7.3-build.patch 1613 -MD5 1a3388f4e1bb253da6b2fafcec7cba26 matrixssl-1.2.4.ebuild 824 -RMD160 b92bd7191b5029f882295110e9cdcdda24d249bf matrixssl-1.2.4.ebuild 824 -SHA256 54376cd53f7ab3de4f2f464a2e0bc1d3625a99808fbd3263a13a62d98cf962f9 matrixssl-1.2.4.ebuild 824 -MD5 074da35ddc53fcc20b712104264a65ae matrixssl-1.7.3.ebuild 818 -RMD160 0b2d1d0a7e3199eb8f4d7c44bb1141b7069e0652 matrixssl-1.7.3.ebuild 818 -SHA256 8395e09b5bd852040e3452b34373f0b40d0d97dc1e55ce33454699d830710b4e matrixssl-1.7.3.ebuild 818 +AUX matrixssl-1.8.3-build.patch 1331 RMD160 5a2c33272c1c055096ae89c5f382051d95d2feef SHA1 5023d95d263d5f80e1ede494e14c10abc508a942 SHA256 6fb5990482bdd7a863754aa423dbf4875896c7546c2e440dd2c6ad0262caf533 +MD5 1f05480bcbbf84f92da98c6d6dd47fe3 files/matrixssl-1.8.3-build.patch 1331 +RMD160 5a2c33272c1c055096ae89c5f382051d95d2feef files/matrixssl-1.8.3-build.patch 1331 +SHA256 6fb5990482bdd7a863754aa423dbf4875896c7546c2e440dd2c6ad0262caf533 files/matrixssl-1.8.3-build.patch 1331 +DIST matrixssl-1-8-3-open.tar.gz 417545 RMD160 5eab3e3beda9d7a3108303a79df9251024f768c6 SHA1 2ab8248d38482d9be02936bf86bbe9dee932b6a9 SHA256 af0992ff2a07896dfcd128a6fd2f6eb8e1b21bc7aa9a55b4cbdc0b0b2f44f818 +EBUILD matrixssl-1.8.3.ebuild 879 RMD160 36da8a0f506bcdd383845591729604e55d4b9e68 SHA1 55c464efc1a73d66ff094704c3d5099e1148575d SHA256 697cd944f1e6d5acea90ed2c5e9e3e20a1f9200607c023ec5cdf25ee378ee8c8 +MD5 7f5be6c2cb35685e27208bf542095cf2 matrixssl-1.8.3.ebuild 879 +RMD160 36da8a0f506bcdd383845591729604e55d4b9e68 matrixssl-1.8.3.ebuild 879 +SHA256 697cd944f1e6d5acea90ed2c5e9e3e20a1f9200607c023ec5cdf25ee378ee8c8 matrixssl-1.8.3.ebuild 879 +MISC ChangeLog 935 RMD160 3316659baa69ac4d2cd1ebb4c44979e62e3ec14f SHA1 1dd2a15d1baf1fddf27f63b9b59f06695c196526 SHA256 9ec3acd9ca0d423afb2e568b5c0a0f872c59ce10134afc7b66b4535535e2da30 +MD5 bb1755118e675920c1b5f16378099c25 ChangeLog 935 +RMD160 3316659baa69ac4d2cd1ebb4c44979e62e3ec14f ChangeLog 935 +SHA256 9ec3acd9ca0d423afb2e568b5c0a0f872c59ce10134afc7b66b4535535e2da30 ChangeLog 935 +MISC metadata.xml 222 RMD160 9a51d118e31a99b3a5f6e028b2333834797b04e4 SHA1 6d83b3836fc494e98bd95efb79aff4eb8d6f4542 SHA256 1303584dbc7a47704409f60381c08cacc03111cc9813f0bf4013af127c02e10d MD5 c5b5abb3be81bb53cfee6c21c8ee3645 metadata.xml 222 RMD160 9a51d118e31a99b3a5f6e028b2333834797b04e4 metadata.xml 222 SHA256 1303584dbc7a47704409f60381c08cacc03111cc9813f0bf4013af127c02e10d metadata.xml 222 +MD5 5461eef64c8d353814047e1c6bce629e files/digest-matrixssl-1.8.3 262 +RMD160 36ad6bd55e3478b2854ba1e424e9738fc25f1163 files/digest-matrixssl-1.8.3 262 +SHA256 393c731ba664bdaba39010200115102a6bcb1d09f1e4af79ee7ab6371f54b630 files/digest-matrixssl-1.8.3 262 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFD3r1Q2+ySkm8kpY0RAiSiAJ0afh1/ADBlyinrcSjXwRFKVkcngwCggBoM -f+xeT+M0pow71oI2UCy6B1w= -=VRHK +iD8DBQFGBqtO8bi6rjpTunYRAvxJAKC8FQ2ar6r0EUEh9lxp0DVHzXOXOACfT1Yo +PkC97Pna7ESk/vGHenJx5nc= +=8uCN -----END PGP SIGNATURE----- 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 + #include + #include + #include +@@ -40,7 +42,6 @@ + #include "../osLayer.h" + + #if defined(USE_RDTSCLL_TIME) || defined(RDTSC) +-#include + /* + 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 +} -- 2.26.2