Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/, net-libs/nativebiginteger/files/
Date: Mon, 26 Feb 2018 18:59:56
Message-Id: 1519671445.20296d77c9dcf10009c4930be599f766e9075406.pacho@gentoo
1 commit: 20296d77c9dcf10009c4930be599f766e9075406
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 26 18:55:05 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 26 18:57:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20296d77
7
8 net-libs/nativebiginteger: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-libs/nativebiginteger/Manifest | 1 -
13 .../files/nativebiginteger-0.6.4-asmfix.patch | 31 -------------------
14 .../files/nativebiginteger-0.6.4-ldflags.patch | 17 -----------
15 .../nativebiginteger-0.6.4-r3.ebuild | 35 ----------------------
16 .../nativebiginteger/nativebiginteger-0.6.4.ebuild | 29 ------------------
17 5 files changed, 113 deletions(-)
18
19 diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest
20 index 9a82aef1d48..8bd47c53649 100644
21 --- a/net-libs/nativebiginteger/Manifest
22 +++ b/net-libs/nativebiginteger/Manifest
23 @@ -1,2 +1 @@
24 DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927 SHA512 32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
25 -DIST nativebiginteger-0.6.4.tar.bz2 10248 BLAKE2B aab73c107ab0efcafff123df7c24449ce92d29a1f766216efeebd2eab501978af83cd509419da2df0ad19d36a6c61cfeaed187a9aed72fb89fff104260b403cf SHA512 626f036fbde09e22f44b7d2fdf64c0e0ce8a86aabc3d68512f0bdd83fc909404a1a50b76633abaa3a4db69dcb1e913f6d5665812595eecadae6a7be24646e0cf
26
27 diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch
28 deleted file mode 100644
29 index 04cfa599413..00000000000
30 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch
31 +++ /dev/null
32 @@ -1,31 +0,0 @@
33 ---- jcpuid/src/jcpuid.c 2008-10-06 09:44:53.000000000 -0400
34 -+++ jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.000000000 -0500
35 -@@ -19,6 +19,7 @@
36 - mov d, edx
37 - }
38 - #else
39 -+ #ifdef _LP64
40 - //Use GCC assembler notation
41 - asm
42 - (
43 -@@ -29,6 +30,20 @@
44 - "=d"(d)
45 - :"a"(iFunction)
46 - );
47 -+ #elif defined(__i386__)
48 -+ asm
49 -+ (
50 -+ "pushl %%ebx\n\t"
51 -+ "cpuid\n\t"
52 -+ "movl %%ebx, %%edi\n\t"
53 -+ "popl %%ebx"
54 -+ : "=a" (a),
55 -+ "=D" (b),
56 -+ "=c" (c),
57 -+ "=d" (d)
58 -+ :"a"(iFunction)
59 -+ );
60 -+ #endif
61 - #endif
62 - return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
63 - }
64
65 diff --git a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
66 deleted file mode 100644
67 index 5d3c84cd641..00000000000
68 --- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
69 +++ /dev/null
70 @@ -1,17 +0,0 @@
71 ---- Makefile 2008-11-06 21:09:54.000000000 +0100
72 -+++ Makefile.new 2010-12-27 14:26:45.000000000 +0100
73 -@@ -1,11 +1,11 @@
74 - libjbigi:
75 - cd jbigi && rm -f jbigi.o libjbigi.so && $(CC) $(CFLAGS) -c -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
76 -- jbigi/src/jbigi.c && $(CC) -shared -Wl,-soname,libjbigi.so -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \
77 -- -o libjbigi.so jbigi.o
78 -+ jbigi/src/jbigi.c && $(CC) ${LDFLAGS} -shared -Wl,-soname,libjbigi.so jbigi.o -I. -Ijbigi/include -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux -lgmp \
79 -+ -o libjbigi.so
80 -
81 -
82 - libjcpuid:
83 -- cd jcpuid && $(CC) $(CFLAGS) -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
84 -+ cd jcpuid && $(CC) $(CFLAGS) ${LDFLAGS} -shared -Wl,-soname,libjbigi-x86-linux.so -I. -Iinclude -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux \
85 - src/*.c -o libjcpuid-x86-linux.so
86 -
87 - install:
88
89 diff --git a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild
90 deleted file mode 100644
91 index 51dda3f1547..00000000000
92 --- a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild
93 +++ /dev/null
94 @@ -1,35 +0,0 @@
95 -# Copyright 1999-2010 Gentoo Foundation
96 -# Distributed under the terms of the GNU General Public License v2
97 -
98 -EAPI=2
99 -
100 -inherit flag-o-matic multilib toolchain-funcs java-pkg-2
101 -
102 -DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p"
103 -HOMEPAGE="http://www.i2p2.de"
104 -SRC_URI="mirror://gentoo/${P}.tar.bz2"
105 -
106 -LICENSE="|| ( public-domain BSD MIT )"
107 -SLOT="0"
108 -KEYWORDS="~amd64 ~x86"
109 -IUSE=""
110 -
111 -DEPEND="dev-libs/gmp
112 - >=virtual/jdk-1.4"
113 -RDEPEND="dev-libs/gmp"
114 -
115 -src_prepare() {
116 - epatch "${FILESDIR}"/${P}-{asmfix,ldflags}.patch
117 -}
118 -
119 -src_compile() {
120 - append-flags -fPIC
121 - tc-export CC
122 - emake libjbigi || die
123 - use x86 && filter-flags -fPIC -nopie
124 - emake libjcpuid || die
125 -}
126 -
127 -src_install() {
128 - emake DESTDIR="${D}" LIBDIR=$(get_libdir) install || die
129 -}
130
131 diff --git a/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild
132 deleted file mode 100644
133 index f390ec4e68f..00000000000
134 --- a/net-libs/nativebiginteger/nativebiginteger-0.6.4.ebuild
135 +++ /dev/null
136 @@ -1,29 +0,0 @@
137 -# Copyright 1999-2009 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -
140 -inherit flag-o-matic multilib toolchain-funcs java-pkg-2
141 -
142 -DESCRIPTION="NativeBigInteger libs for Freenet taken from i2p"
143 -HOMEPAGE="http://www.i2p2.de"
144 -SRC_URI="mirror://gentoo/${P}.tar.bz2"
145 -
146 -LICENSE="|| ( public-domain BSD MIT )"
147 -SLOT="0"
148 -KEYWORDS="amd64 x86"
149 -IUSE=""
150 -
151 -DEPEND="dev-libs/gmp
152 - >=virtual/jdk-1.4"
153 -RDEPEND="dev-libs/gmp"
154 -
155 -src_compile() {
156 - append-flags -fPIC
157 - tc-export CC
158 - emake libjbigi || die
159 - use x86 && filter-flags -fPIC -nopie
160 - emake libjcpuid || die
161 -}
162 -
163 -src_install() {
164 - emake DESTDIR="${D}" LIBDIR=$(get_libdir) install || die
165 -}