summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2010-09-04 19:55:18 +0000
committerThomas Sachau <tommy@gentoo.org>2010-09-04 19:55:18 +0000
commit2e2b447927abaa7229de1e4f26c86960c6694e55 (patch)
tree44e4b949f5f394afe4224d1cea377373c37d44d9 /net-libs
parentBump (diff)
downloadhistorical-2e2b447927abaa7229de1e4f26c86960c6694e55.tar.gz
historical-2e2b447927abaa7229de1e4f26c86960c6694e55.tar.bz2
historical-2e2b447927abaa7229de1e4f26c86960c6694e55.zip
Revision bump to fix bug 335682
Package-Manager: portage-2.2_rc75-r1/cvs/Linux x86_64
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/nativebiginteger/ChangeLog11
-rw-r--r--net-libs/nativebiginteger/Manifest16
-rw-r--r--net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch16
-rw-r--r--net-libs/nativebiginteger/nativebiginteger-0.6.4-r1.ebuild36
4 files changed, 70 insertions, 9 deletions
diff --git a/net-libs/nativebiginteger/ChangeLog b/net-libs/nativebiginteger/ChangeLog
index 95c5e47bf05c..5b79cf201280 100644
--- a/net-libs/nativebiginteger/ChangeLog
+++ b/net-libs/nativebiginteger/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-libs/nativebiginteger
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/nativebiginteger/ChangeLog,v 1.3 2009/03/09 22:39:12 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nativebiginteger/ChangeLog,v 1.4 2010/09/04 19:55:18 tommy Exp $
+
+*nativebiginteger-0.6.4-r1 (04 Sep 2010)
+
+ 04 Sep 2010; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +nativebiginteger-0.6.4-r1.ebuild,
+ +files/nativebiginteger-0.6.4-ldflags.patch:
+ Revision bump to fix bug 335682
09 Mar 2009; Markus Meier <maekke@gentoo.org>
nativebiginteger-0.6.4.ebuild:
diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest
index dc2ee66333eb..7c02d44fd600 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX nativebiginteger-0.6.4-ldflags.patch 942 RMD160 8551096cf96efd921b56d7ee3e752a17369b420f SHA1 cf471d425cef1a0048fcda8aa290a5fb5c8a69be SHA256 15dbf9d168e1d19e9f169fdee7179f1bf2cdaaefbaba7cda84264d2f1bb0e635
DIST nativebiginteger-0.6.4.tar.bz2 10248 RMD160 a7ac7832371c74a1e9592a9abd1b6d5ef40a360a SHA1 37b433b3a7a2cf818a7ca3713548153f63da3817 SHA256 ef36fb57c1d885164f00b3e5d239c22349a530fa20df652efc5cb1f1ccea2c32
+EBUILD nativebiginteger-0.6.4-r1.ebuild 858 RMD160 ac5485d381d1eaa05e5f2eaa7b998f93ed2978af SHA1 d6d42f2695f63e0454de3e1a721cd41043f15106 SHA256 99536ab69fba307823fe1c6aa9fabe9b7e2d5828e61a23b1ca2f7a51c47fd80c
EBUILD nativebiginteger-0.6.4.ebuild 786 RMD160 a4034c175976d8c3ccd0c1f3b87fcf5dca06fa14 SHA1 7e479d833c9c045f72350c502c8e7ec6ebde269d SHA256 6739e7cc8119bcd19d0272b6a89cbc86df39aa3e105d685f08c81e665b71c2ed
-MISC ChangeLog 620 RMD160 b46e8b6bb0250be06fe617a13509897b3f6a896a SHA1 53d8db3e53ed9642555a1334508d5012ba6eab32 SHA256 ee5f4ab0889cfb932a4cc5f236309d768bff4ff183d057af89bd3c13de16d282
+MISC ChangeLog 839 RMD160 eb678ff202c377b36c7a5d54746d656c4a02ed27 SHA1 c2801ce60d63aa074debfeddfde616d117361899 SHA256 54f2c75fff26f75c435a569fbb56a9317ff0cb4ffaefdd578ca4c065afb92834
MISC metadata.xml 265 RMD160 8391b845c1dc290dbfc6d8391aed1e0537e14725 SHA1 98eb1209de8c64009ada779e9c4b57f0b8273c41 SHA256 02b8c461c4f564f9a88d09d6e5d6cb1018b06173aa6b0fb4f188664b00f057fa
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iJwEAQECAAYFAkpsx+EACgkQG7kqcTWJkGclhQP/YMJVs1nmF+axw9sLL9T2iIaD
-Z3NZeEdOZYhbR/u6xbCz19wrnJy67FmkVlrKur5Znl/bDqGET6mtv9ULGTFnlEUs
-J2RTTQzE3P9xtNFQhO2uXw1YgWp8chMo32jFmPTX+O9TKkv0tb3QBCTeHLcE7fV9
-dbnHJ/og4I+IdKx0wa8=
-=oCDa
+iJwEAQECAAYFAkyCpDQACgkQG7kqcTWJkGeXgQP+JJKx/cJtJ5DEo9Q6jsDR0lDH
+DZOdb/LdqAafq8WlfPOs1ggChODPKFuQVUsA0BYAqnDQ/3kCN3k68UelG6gRBiwx
+ZbhziJeTHMwGMe3oNvWB0JILEHH2vk3jOen9aqI+YttlMDTAAw4vb5QM7/QMyFKM
+Fg8uHikn5WXereUkLxo=
+=wcT1
-----END PGP SIGNATURE-----
diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
new file mode 100644
index 000000000000..c9638a7d0bb4
--- /dev/null
+++ b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
@@ -0,0 +1,16 @@
+--- Makefile 2008-11-06 21:09:54.000000000 +0100
++++ Makefile.new 2010-09-04 21:48:57.941604821 +0200
+@@ -1,11 +1,11 @@
+ libjbigi:
+ cd jbigi && rm -f jbigi.o libjbigi.so && $(CC) $(CFLAGS) -c -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
+- jbigi/src/jbigi.c && $(CC) -shared -Wl,-soname,libjbigi.so -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \
++ jbigi/src/jbigi.c && $(CC) ${LDFLAGS} -shared -Wl,-soname,libjbigi.so -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \
+ -o libjbigi.so jbigi.o
+
+
+ libjcpuid:
+- cd jcpuid && $(CC) $(CFLAGS) -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
++ cd jcpuid && $(CC) $(CFLAGS) ${LDFLAGS} -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
+ src/*.c -o libjcpuid-x86-linux.so
+
+ install:
diff --git a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r1.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.6.4-r1.ebuild
new file mode 100644
index 000000000000..793c8f4c52d0
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.6.4-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/nativebiginteger/nativebiginteger-0.6.4-r1.ebuild,v 1.1 2010/09/04 19:55:18 tommy Exp $
+
+EAPI=2
+
+inherit flag-o-matic multilib toolchain-funcs java-pkg-2
+
+DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p"
+HOMEPAGE="http://www.i2p2.de"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="|| ( public-domain BSD MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/gmp
+ >=virtual/jdk-1.4"
+RDEPEND="dev-libs/gmp"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_compile() {
+ append-flags -fPIC
+ tc-export CC
+ emake libjbigi || die
+ use x86 && filter-flags -fPIC -nopie
+ emake libjcpuid || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" LIBDIR=$(get_libdir) install || die
+}