[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2023-05-20 Thread Sam James
commit: 4bfbc27a2e3d2e83aaa5de8865c63ce320540af9
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Fri Jan 27 00:58:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 09:21:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfbc27a

net-libs/nativebiginteger: drop 1.7.0

Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger/nativebiginteger-1.7.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 0cfcbc81806b..554a7e1c6f78 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
 DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a
-DIST i2psource_1.7.0.tar.bz2 33300522 BLAKE2B 
dcb83477f6d066b707632f8db44bc811558b0bc52368ce992aaf14d0d21acc1fb9bce1dfa8171fca8cf3819765f0b7993ae4a2566a6f65786cca84c02ea4336a
 SHA512 
a27c448246538f152355ecfdf781e39bf9e57b5d0f7ea139ce06d800ce3eed7fa4e375210e6545da2a75245b45282bc8d8e7453d96729f940c34daa75bdc588f
 DIST i2psource_2.1.0.tar.bz2 32817295 BLAKE2B 
d37463522143c02e04c96d58578312b536ab5e2842e5647dbe5ba3d5c139329c447f16de7e326ef48ef4c6b3c11631e23300b5327cc31d9da5288240f86c926f
 SHA512 
e8639c2b2869d3c7856b598d4cd3505458ed5cab5dce3570cafdaec3ccd77dbaec357876782acc75adb423b7baaab724ac3c98e5b91b41cf4c76f3614355

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
deleted file mode 100644
index 18089ee37a77..
--- a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2018-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2023-05-20 Thread Sam James
commit: 302e456b13f823d488c464117ebe38b492f7f448
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Fri Jan 27 00:56:13 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 09:21:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302e456b

net-libs/nativebiginteger: add 2.1.0

Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger/nativebiginteger-2.1.0.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index f1d5b2e50549..0cfcbc81806b 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a
 DIST i2psource_1.7.0.tar.bz2 33300522 BLAKE2B 
dcb83477f6d066b707632f8db44bc811558b0bc52368ce992aaf14d0d21acc1fb9bce1dfa8171fca8cf3819765f0b7993ae4a2566a6f65786cca84c02ea4336a
 SHA512 
a27c448246538f152355ecfdf781e39bf9e57b5d0f7ea139ce06d800ce3eed7fa4e375210e6545da2a75245b45282bc8d8e7453d96729f940c34daa75bdc588f
+DIST i2psource_2.1.0.tar.bz2 32817295 BLAKE2B 
d37463522143c02e04c96d58578312b536ab5e2842e5647dbe5ba3d5c139329c447f16de7e326ef48ef4c6b3c11631e23300b5327cc31d9da5288240f86c926f
 SHA512 
e8639c2b2869d3c7856b598d4cd3505458ed5cab5dce3570cafdaec3ccd77dbaec357876782acc75adb423b7baaab724ac3c98e5b91b41cf4c76f3614355

diff --git a/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild
new file mode 100644
index ..ac10184a706c
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="test"
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+DEPEND="
+   dev-libs/gmp:0=
+   >=virtual/jdk-1.8:*
+"
+RDEPEND="
+   >=virtual/jre-1.8:*
+"
+
+S="${WORKDIR}/i2p-${PV}"
+
+src_prepare() {
+   java-pkg-2_src_prepare
+   java-pkg_clean
+}
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/core/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/core/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+}
+
+src_test() {
+   cd core/java/src || die "unable to cd to java/src"
+
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   "$(java-config -J)" -Djava.library.path="${S}/core/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   java-pkg_doso core/c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   java-pkg_doso core/c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2023-05-20 Thread Sam James
commit: 62b03d557b9efb99e9d62def09e4591845f221e6
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Sun Jan 22 09:40:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat May 20 09:21:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b03d55

net-libs/nativebiginteger: remove useless PATCHES

That array pointing to no existing files would cause src_prepare() fail
once java-utils-2.eclass adds default src_prepare.

Closes: https://bugs.gentoo.org/891671
Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild | 6 +-
 net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild | 6 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
index 7832660291bb..2a18973b1659 100644
--- a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2022 Gentoo Authors
+# Copyright 2018-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,10 +23,6 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/i2p-${PV}/core"
 
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
 src_compile() {
local compile_lib
compile_lib() {

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
index e378a42d990f..18089ee37a77 100644
--- a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2022 Gentoo Authors
+# Copyright 2018-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,10 +23,6 @@ RDEPEND="${DEPEND}"
 
 S="${WORKDIR}/i2p-${PV}/core"
 
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
 src_compile() {
local compile_lib
compile_lib() {



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2023-04-28 Thread Miroslav Šulc
commit: 61835a142a15d606527cdc1c29fa1d14d9b64883
Author: Volkmar W. Pogatzki  pogatzki  net>
AuthorDate: Thu Apr 27 06:03:32 2023 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Fri Apr 28 06:26:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61835a14

net-libs/nativebiginteger: add github upstream metadata

Signed-off-by: Volkmar W. Pogatzki  pogatzki.net>
Signed-off-by: Miroslav Šulc  gentoo.org>

 net-libs/nativebiginteger/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-libs/nativebiginteger/metadata.xml 
b/net-libs/nativebiginteger/metadata.xml
index a1896da39016..43ca1801042d 100644
--- a/net-libs/nativebiginteger/metadata.xml
+++ b/net-libs/nativebiginteger/metadata.xml
@@ -9,4 +9,7 @@
proxy-ma...@gentoo.org
Proxy Maintainers

+   
+   hyphanet/contrib
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2022-08-05 Thread Arthur Zamarin
commit: 5a04c433f17454a27a76c94426ffbdac8b746e3e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug  5 06:57:28 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug  5 06:57:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a04c433

net-libs/nativebiginteger: Keyword 1.7.0 arm64, #834926

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
index 802e94a86fa7..e378a42d990f 100644
--- a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2022-05-24 Thread Florian Schmaus
commit: f5ad53de0349b751d7347f220a21956a835f7743
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Wed Feb 23 01:02:24 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue May 24 14:42:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ad53de

net-libs/nativebiginteger: bump to 1.7.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Florian Schmaus  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger/nativebiginteger-1.7.0.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 6516fa15f565..881140797814 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec
 DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a
+DIST i2psource_1.7.0.tar.bz2 33300522 BLAKE2B 
dcb83477f6d066b707632f8db44bc811558b0bc52368ce992aaf14d0d21acc1fb9bce1dfa8171fca8cf3819765f0b7993ae4a2566a6f65786cca84c02ea4336a
 SHA512 
a27c448246538f152355ecfdf781e39bf9e57b5d0f7ea139ce06d800ce3eed7fa4e375210e6545da2a75245b45282bc8d8e7453d96729f940c34daa75bdc588f

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
new file mode 100644
index ..802e94a86fa7
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-1.7.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2022-05-24 Thread Florian Schmaus
commit: d8ff5ca5fa79dcf325cb6aa684a3a7f57ae8c161
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Wed Feb 23 01:02:57 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Tue May 24 14:42:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ff5ca5

net-libs/nativebiginteger: drop 0.9.50

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/25595
Signed-off-by: Florian Schmaus  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.50.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 881140797814..f1d5b2e50549 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec
 DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a
 DIST i2psource_1.7.0.tar.bz2 33300522 BLAKE2B 
dcb83477f6d066b707632f8db44bc811558b0bc52368ce992aaf14d0d21acc1fb9bce1dfa8171fca8cf3819765f0b7993ae4a2566a6f65786cca84c02ea4336a
 SHA512 
a27c448246538f152355ecfdf781e39bf9e57b5d0f7ea139ce06d800ce3eed7fa4e375210e6545da2a75245b45282bc8d8e7453d96729f940c34daa75bdc588f

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild
deleted file mode 100644
index efda38f2b606..
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2022-03-12 Thread Arthur Zamarin
commit: 6c34913f65fdc4be47214419e628e77487d19cc4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 12 12:00:57 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 12 12:00:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c34913f

net-libs/nativebiginteger: Keyword 1.6.1 arm, #834926

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
index 15b46eda4811..7832660291bb 100644
--- a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 ~arm ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2022-03-11 Thread Joonas Niilola
commit: 41287d55090f62ee56e09f1073f508609308d647
Author: Joonas Niilola  gentoo  org>
AuthorDate: Fri Mar 11 13:26:20 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Mar 11 13:26:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41287d55

net-libs/nativebiginteger: stabilize 1.6.1 for amd64

Bug: https://bugs.gentoo.org/834924
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
index f8721a066fc9..15b46eda4811 100644
--- a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2021 Gentoo Authors
+# Copyright 2018-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2021-12-12 Thread Sam James
commit: 7ccd619b8eed9035b5f5436cbe807f4210f37144
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sun Dec 12 23:55:02 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 13 05:07:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccd619b

net-libs/nativebiginteger: bump to 1.6.1

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger/nativebiginteger-1.6.1.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 3e6a65c8c9ed..655e597d5d36 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a
 DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec
+DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a

diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
new file mode 100644
index ..f8721a066fc9
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2021-12-12 Thread Sam James
commit: c5bdc860dd4e2e1bb6f0170cb5ebb475ce4a7abb
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sun Dec 12 23:55:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Dec 13 05:07:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5bdc860

net-libs/nativebiginteger: drop 0.9.48

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/23282
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.48.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 655e597d5d36..6516fa15f565 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a
 DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec
 DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B 
dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866
 SHA512 
c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild
deleted file mode 100644
index e0d376b7aa6d..
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2021-07-15 Thread Sam James
commit: d480fcc7140c6bba4e38f92561738a58cf14fae6
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Wed Jul 14 23:24:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 16 01:33:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d480fcc7

net-libs/nativebiginteger: bump to 0.9.50

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger-0.9.50.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index bf0384c8731..9ffc0ce9ec8 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9
 DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a
+DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild
new file mode 100644
index 000..efda38f2b60
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.50.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2021-07-15 Thread Sam James
commit: fd08d14ff07663f6cc129545bf9b859ae5074f89
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Wed Jul 14 23:25:17 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 16 01:33:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd08d14f

net-libs/nativebiginteger: drop 0.9.47

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/21648
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.47.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 9ffc0ce9ec8..3e6a65c8c9e 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9
 DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a
 DIST i2psource_0.9.50.tar.bz2 32409456 BLAKE2B 
0c45b48ae6e1957b6c5d828757c70489d260fe15276559e5c366c68c10274b9020b2978bf0674a8628638f41b1e269af0c4d35c20c1f0cee419857c0c803dd82
 SHA512 
2d6b1d3ed4d32af36d0d3b257dca6fad981e3fa0cd3e45b8227e76e57de092c11ff7c239e879739d330ae809bcf6c71640de32de0c52c54ef8597f0c0e1467ec

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
deleted file mode 100644
index e0d376b7aa6..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-12-10 Thread Joonas Niilola
commit: 9f7f03a8f9afb113d795c4765a5b27659ca0f51a
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sun Dec  6 23:33:58 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 11 07:58:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f7f03a8

net-libs/nativebiginteger: drop 0.9.45

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/18545
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.45.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 83886cdee05..bf0384c8731 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9
 DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9
 DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild
deleted file mode 100644
index e0d376b7aa6..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-12-10 Thread Joonas Niilola
commit: 277c1e84088b272b3979df0c74ab738150929590
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sun Dec  6 23:33:42 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Dec 11 07:58:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277c1e84

net-libs/nativebiginteger: bump to 0.9.48

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger-0.9.48.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index cfc3977e98a..83886cdee05 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9
 DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9
+DIST i2psource_0.9.48.tar.bz2 33029295 BLAKE2B 
8210018610d3dd8272d3c136f32048ede9446c517971be97d6588c6a1a592e9db2261077da3634fa29af28ecdb488427dd1145a731b130b75f41c3c56a8c8779
 SHA512 
ddfbc8f86bc2fd4012e14732493d30e292af1603d74b1f786a0ecc56a1373301ec9b3fd16fe2e3f953053291b8efdb5510959fcf1e42d7e5f8ec87d85a8a

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild
new file mode 100644
index 000..e0d376b7aa6
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.48.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-09-12 Thread Sam James
commit: d1536ddb1b83b38ff66c3a70c0e1b1bc0f5ae445
Author: tharvik  users  noreply  github  com>
AuthorDate: Mon Aug 31 23:18:46 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 13 00:43:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1536ddb

net-libs/nativebiginteger: drop 0.9.42

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/17352
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.42.ebuild | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 502db42aee7..cfc3977e98a 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef
 DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9
 DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild
deleted file mode 100644
index efe1d0774d3..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION="jbigi library used by net-vpn/i2p"
-HOMEPAGE="https://geti2p.net;
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die "unable to build jbigi"
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die "unable to build jcpuid"
-   fi
-
-   if use test; then
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
-   die "unable to build tests"
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" || die "unable to cd to java/src"
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die "unable to pass tests"
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-09-12 Thread Sam James
commit: e7d1f2ba18daf29ac51804e666757968246e15c2
Author: tharvik  users  noreply  github  com>
AuthorDate: Mon Aug 31 23:09:52 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 13 00:43:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7d1f2ba

net-libs/nativebiginteger: bump to 0.9.47

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger-0.9.47.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 9764ae79e15..502db42aee7 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef
 DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9
+DIST i2psource_0.9.47.tar.bz2 32488438 BLAKE2B 
e1544475dad526e242570918c1bb967a4b713567e71201e08b73c8995743a68396b5951f477bfe8830927c0cdf7e991a25a1978d4aaf88cae3e4218ba57a8818
 SHA512 
7fdd9ab0b3e81aa89e73be6fa172d723c2b5a67365116a1e0e0ec948067fe4f58e3ad946a0ef4605602c0d803b98e37b2d5692a39a14cf7433d546ada204cbc9

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
new file mode 100644
index 000..e0d376b7aa6
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.47.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/files/

2020-09-12 Thread Sam James
commit: 458bf42448b5f431a1a9a14b4b3fa3b2ee35d445
Author: tharvik  users  noreply  github  com>
AuthorDate: Mon Aug 31 23:08:06 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Sep 13 00:43:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458bf424

net-libs/nativebiginteger: drop old patch

Closes: https://bugs.gentoo.org/728808
Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Sam James  gentoo.org>

 .../files/nativebiginteger-0.9.36-asmfix.patch | 31 --
 1 file changed, 31 deletions(-)

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch
deleted file mode 100644
index cdb8c7f64cb..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 c/jcpuid/src/jcpuid.c  2008-10-06 09:44:53.0 -0400
-+++ c/jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.0 -0500
-@@ -19,6 +19,7 @@
-   mov d, edx
-   }
-   #else
-+  #ifdef _LP64
-   //Use GCC assembler notation
-   asm
-   (
-@@ -29,6 +30,20 @@
- "=d"(d)
-   :"a"(iFunction)
-   );
-+  #elif defined(__i386__)
-+  asm
-+  (
-+  "pushl %%ebx\n\t"
-+  "cpuid\n\t"
-+  "movl %%ebx, %%edi\n\t"
-+  "popl %%ebx"
-+  : "=a" (a),
-+"=D" (b),
-+"=c" (c),
-+"=d" (d)
-+  :"a"(iFunction)
-+  );
-+  #endif
-   #endif
-   return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
- }



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-03-21 Thread Joonas Niilola
commit: e437b277d69d27d175b7fefb4aab83c0115d9424
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sat Mar 21 14:56:41 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 21 16:12:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e437b277

net-libs/nativebiginteger: drop 0.9.36

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/15034
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger-0.9.36-r1.ebuild  | 71 --
 2 files changed, 72 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 645e59d1361..9764ae79e15 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 
0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357
 SHA512 
e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4
 DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef
 DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild
deleted file mode 100644
index fafd98f37e9..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit java-pkg-2 toolchain-funcs
-
-DESCRIPTION='jbigi library used by net-vpn/i2p'
-HOMEPAGE='https://geti2p.net'
-SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
-
-LICENSE='public-domain'
-SLOT='0'
-KEYWORDS='~amd64 ~x86'
-IUSE='test'
-RESTRICT="!test? ( test )"
-
-DEPEND='
-   dev-libs/gmp:0=
-   virtual/jdk:1.8
-'
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/i2p-${PV}/core"
-
-PATCHES=(
-   "${FILESDIR}/${P}-asmfix.patch"
-)
-
-src_compile() {
-   local compile_lib
-   compile_lib() {
-   local name="${1}"
-   local file="${2}"
-   shift 2
-
-   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
-   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
-   "${file}" -o "lib${name}.so"
-   }
-
-   cd "${S}/c/jbigi/jbigi" &&
-   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
-   die 'unable to build jbigi'
-
-   if use amd64 || use x86; then
-   cd "${S}/c/jcpuid" &&
-   compile_lib jcpuid src/jcpuid.c -Iinclude ||
-   die 'unable to build jcpuid'
-   fi
-
-   if use test; then
-   cd "${S}/java/src" &&
-   ejavac -encoding UTF-8 
net/i2p/util/NativeBigInteger.java ||
-   die 'unable to build tests'
-   fi
-}
-
-src_test() {
-   cd "${S}/java/src" &&
-   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
-   die 'unable to pass tests'
-}
-
-src_install() {
-   dolib.so c/jbigi/jbigi/libjbigi.so
-
-   if use amd64 || use x86; then
-   dolib.so c/jcpuid/libjcpuid.so
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2020-03-21 Thread Joonas Niilola
commit: 101a5f658ddb611d04ef00530c2d097fda78a078
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Sat Mar 21 14:56:13 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 21 16:12:58 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=101a5f65

net-libs/nativebiginteger: bump to 0.9.45

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger-0.9.45.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 27eb59d92ee..645e59d1361 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 
0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357
 SHA512 
e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4
 DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef
+DIST i2psource_0.9.45.tar.bz2 31921025 BLAKE2B 
2d3f77784ff93de4d7442eddf46b9a541902412bf5fb24cf96baba73851cc17d01649a7b4b41a710ccde5690036a890b8f84de00f4c615ed2e23da8fa510
 SHA512 
d4cf354f0a807d132fae75d4bad3e2e788e1ed03d6f625feb0f1369bb2c9e1a6e2758645acf2017c61dbc47d75e6d834b87455adbead1077f206025686548ae9

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild
new file mode 100644
index 000..e0d376b7aa6
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.45.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/files/

2019-11-16 Thread Joonas Niilola
commit: 89b75db4314ab968739dc88bd0cec945a5d7d9ba
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Thu Nov 14 15:13:01 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Nov 16 09:45:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b75db4

net-libs/nativebiginteger: remove unused patches

Signed-off-by: Michael Mair-Keimberger  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/13650
Signed-off-by: Joonas Niilola  gentoo.org>

 .../files/nativebiginteger-0.8.7-asmfix.patch  | 31 ---
 .../nativebiginteger-0.8.7-build-system.patch  | 22 --
 .../files/nativebiginteger-0.8.7-debug-all.patch   | 35 --
 ...ativebiginteger-0.8.7-jcpuid-build-system.patch | 23 --
 ...tivebiginteger-0.8.7-non-android-warnings.patch | 11 ---
 5 files changed, 122 deletions(-)

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch
deleted file mode 100644
index 3443a91c288..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-asmfix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 c/jcpuid/src/jcpuid.c  2008-10-06 09:44:53.0 -0400
-+++ c/jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.0 -0500
-@@ -19,6 +19,7 @@
-   mov d, edx
-   }
-   #else
-+  #ifdef _LP64
-   //Use GCC assembler notation
-   asm 
-   (
-@@ -29,6 +30,20 @@
- "=d"(d)
-   :"a"(iFunction)
-   );
-+  #elif defined(__i386__)
-+  asm 
-+  (
-+  "pushl %%ebx\n\t"
-+  "cpuid\n\t"
-+  "movl %%ebx, %%edi\n\t"
-+  "popl %%ebx"
-+  : "=a" (a),
-+"=D" (b),
-+"=c" (c),
-+"=d" (d)
-+  :"a"(iFunction)
-+  );
-+  #endif
-   #endif
-   return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
- }

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch
deleted file mode 100644
index ea298b5d035..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-build-system.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 i2p-0.8.7/core/c/jbigi/build_jbigi.sh.orig 2011-07-29 11:52:43.0 
+0200
-+++ i2p-0.8.7/core/c/jbigi/build_jbigi.sh  2011-07-29 11:53:43.0 
+0200
-@@ -3,8 +3,8 @@
- # When executed in Linux/FreeBSD: Produces an libjbigi.so
- # Darwin produces libjbigi.jnilib, right?
- 
--CC="gcc"
-+test -z "$CC" && CC="gcc"
- 
- case `uname -sr` in
- MINGW*)
-   JAVA_HOME="c:/software/j2sdk1.4.2_05"
-@@ -57,5 +55,7 @@
- 
- echo "Compiling C code..."
- rm -f jbigi.o $LIBFILE
--$CC -c $COMPILEFLAGS $INCLUDES ../../jbigi/src/jbigi.c
--$CC $LINKFLAGS $INCLUDES $INCLUDELIBS -o $LIBFILE jbigi.o $STATICLIBS
-+echo $CC -c $COMPILEFLAGS $CFLAGS $CPPFLAGS $INCLUDES ../../jbigi/src/jbigi.c
-+$CC -c $COMPILEFLAGS $CFLAGS $CPPFLAGS $INCLUDES ../../jbigi/src/jbigi.c
-+echo $CC $LINKFLAGS $LDFLAGS $INCLUDES -o $LIBFILE jbigi.o $STATICLIBS 
$INCLUDELIBS
-+$CC $LINKFLAGS $LDFLAGS $INCLUDES -o $LIBFILE jbigi.o $STATICLIBS $INCLUDELIBS

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch
deleted file mode 100644
index 07dd0522758..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.8.7-debug-all.patch
+++ /dev/null
@@ -1,35 +0,0 @@
 core/java/src/net/i2p/util/NativeBigInteger.java.orig  2011-07-29 
13:14:05.0 +0200
-+++ core/java/src/net/i2p/util/NativeBigInteger.java   2011-07-29 
13:15:16.0 +0200
-@@ -481,14 +481,12 @@
- 
- /** @since 0.8.7 */
- private static void debug(String s) {
--
I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).debug(s);
-+  System.err.println("DEBUG: " + s);
- }
- 
- 
- private static void info(String s) {
--if(_doLog)
--System.err.println("INFO: " + s);
--
I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).info(s);
-+  System.err.println("INFO: " + s);
- _loadStatus = s;
- }
- 
-@@ -496,12 +496,9 @@
- 
- /** @since 0.8.7 */
- private static void warn(String s, Throwable t) {
--if(_doLog) {
--System.err.println("WARNING: " + s);
--if (t != null)
--t.printStackTrace();
--}
--
I2PAppContext.getGlobalContext().logManager().getLog(NativeBigInteger.class).warn(s,
 t);
-+  System.err.println("WARNING: " + s);
-+  if (t != 

[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2019-11-12 Thread Joonas Niilola
commit: aa9bf6d4c29801d33dcb44a980cb6581daed9c0b
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Tue Oct  1 21:21:09 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 13 05:46:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa9bf6d4

net-libs/nativebiginteger: bump to 0.9.42

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 +
 .../nativebiginteger-0.9.42.ebuild | 71 ++
 2 files changed, 72 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 18eaf831a7c..195305a55c4 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1,3 @@
 DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 
9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927
 SHA512 
32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
 DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 
0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357
 SHA512 
e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4
+DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild
new file mode 100644
index 000..efe1d0774d3
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.42.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2018-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION="jbigi library used by net-vpn/i2p"
+HOMEPAGE="https://geti2p.net;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi"
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die "unable to build jbigi"
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" || die "unable to cd to jcpuid"
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die "unable to build jcpuid"
+   fi
+
+   if use test; then
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java ||
+   die "unable to build tests"
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" || die "unable to cd to java/src"
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die "unable to pass tests"
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2019-11-12 Thread Joonas Niilola
commit: 248df639abe036a96ffe0c594c9d325489d4720f
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Tue Oct  1 21:37:48 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Nov 13 05:46:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=248df639

net-libs/nativebiginteger: drop olds

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/12785
Signed-off-by: Joonas Niilola  gentoo.org>

 net-libs/nativebiginteger/Manifest |  1 -
 .../nativebiginteger/nativebiginteger-0.8.7.ebuild | 67 
 .../nativebiginteger-0.9.36.ebuild | 74 --
 3 files changed, 142 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 195305a55c4..27eb59d92ee 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,3 +1,2 @@
-DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 
9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927
 SHA512 
32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
 DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 
0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357
 SHA512 
e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4
 DIST i2psource_0.9.42.tar.bz2 31523717 BLAKE2B 
7f110f282a91fa0de700bfaee95968bb534f6f2c7d097c2d70fc9e6bda3ac583762b6b974b38b5947b15a77f91a8d595c957b35838456280236cd88c25d3d47b
 SHA512 
bf8d83c1b1607f5ecf16d33d16cc760eb982d65ef0f89ebd5c61208a38a23f08f465e04889b8ef1d05df4d02a095d85a80077a5b10253d96023f056d01efacef

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
deleted file mode 100644
index 243ce87fb2a..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs multilib java-pkg-2
-
-DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class 
from I2P"
-HOMEPAGE="http://www.i2p2.de;
-SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2;
-
-LICENSE="|| ( public-domain BSD MIT )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-
-IUSE="test"
-
-DEPEND="${RDEPEND}
-   >=virtual/jdk-1.5"
-RDEPEND="dev-libs/gmp"
-
-S=${WORKDIR}/i2p-${PV}/core/
-
-src_prepare() {
-   epatch "${FILESDIR}/${P}"-build-system.patch \
-   "${FILESDIR}/${P}"-jcpuid-build-system.patch \
-   "${FILESDIR}/${P}"-debug-all.patch \
-   "${FILESDIR}/${P}"-non-android-warnings.patch \
-   "${FILESDIR}/${P}"-asmfix.patch
-}
-
-src_compile() {
-   tc-export CC
-
-   cd c/jbigi/jbigi/src || die
-   ../../build_jbigi.sh dynamic || die
-
-   if use test ; then
-   einfo "Building tests ..."
-   cd "${S}"java/src || die
-   ejavac net/i2p/util/NativeBigInteger.java || die
-   eend $?
-   fi
-   if ( use amd64 || use x86 ) ; then
-   cd "${S}"c/jcpuid
-   ./build.sh || die
-   fi
-}
-
-src_test() {
-   cd java/src || die
-   java -Djava.library.path="${S}"/c/jbigi/jbigi/src 
net/i2p/util/NativeBigInteger || die
-}
-
-src_install() {
-   local os arch
-
-   dolib c/jbigi/jbigi/src/libjbigi.so
-   ( use amd64 || use x86 ) && dolib 
c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so
-
-   ## The following is needed for compatibility with earlier versions of 
NativeBigInteger ##
-
-   # arch list found by "none" + grep 'JBIGI_OPTIMIZATION_.*=' 
core/java/src/net/i2p/util/NativeBigInteger.java
-   for arch in none arm k6 k62 k63 athlon x86_64 x86_64_32 pentium 
pentiummmx pentium2 pentium3 pentium4 ppc ; do
-   dosym libjbigi.so /usr/$(get_libdir)/libjbigi-linux-$arch.so
-   done
-}

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
deleted file mode 100644
index 6e2963035dd..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils toolchain-funcs multilib java-pkg-opt-2
-
-DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class 
from I2P"
-HOMEPAGE="http://www.i2p2.de;

[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-10-21 Thread Michał Górny
commit: acf1e5bee739d4cd0bd2720966147a098184685e
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Thu Oct 11 09:27:41 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 21 17:42:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf1e5be

net-libs/nativebiginteger: real name of maintainer

Bug: https://bugs.gentoo.org/632794
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/10064
Signed-off-by: Michał Górny  gentoo.org>

 net-libs/nativebiginteger/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/nativebiginteger/metadata.xml 
b/net-libs/nativebiginteger/metadata.xml
index df6b33c9912..01c39ff1e75 100644
--- a/net-libs/nativebiginteger/metadata.xml
+++ b/net-libs/nativebiginteger/metadata.xml
@@ -3,7 +3,7 @@
 

thar...@gmail.com
-   Tharvik
+   Valérian Rousset


proxy-ma...@gentoo.org



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-10-21 Thread Michał Górny
commit: c5b6dfd9fa5f109a3ad44d6ed972e954a2bdae1e
Author: Valérian Rousset  users  noreply  github 
 com>
AuthorDate: Thu Oct  4 17:36:08 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 21 17:42:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b6dfd9

net-libs/nativebiginteger: fix build with -test

Closes: https://bugs.gentoo.org/667292
Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Valérian Rousset  users.noreply.github.com>
Signed-off-by: Michał Górny  gentoo.org>

 .../nativebiginteger-0.9.36-r1.ebuild  | 70 ++
 1 file changed, 70 insertions(+)

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild
new file mode 100644
index 000..a4f330caaee
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.36-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2 toolchain-funcs
+
+DESCRIPTION='jbigi library used by net-vpn/i2p'
+HOMEPAGE='https://geti2p.net'
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
+
+LICENSE='public-domain'
+SLOT='0'
+KEYWORDS='~amd64 ~x86'
+IUSE='test'
+
+DEPEND='
+   dev-libs/gmp:0=
+   virtual/jdk:1.8
+'
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/i2p-${PV}/core"
+
+PATCHES=(
+   "${FILESDIR}/${P}-asmfix.patch"
+)
+
+src_compile() {
+   local compile_lib
+   compile_lib() {
+   local name="${1}"
+   local file="${2}"
+   shift 2
+
+   "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \
+   ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \
+   "${file}" -o "lib${name}.so"
+   }
+
+   cd "${S}/c/jbigi/jbigi" &&
+   compile_lib jbigi src/jbigi.c -Iinclude -lgmp ||
+   die 'unable to build jbigi'
+
+   if use amd64 || use x86; then
+   cd "${S}/c/jcpuid" &&
+   compile_lib jcpuid src/jcpuid.c -Iinclude ||
+   die 'unable to build jcpuid'
+   fi
+
+   if use test; then
+   cd "${S}/java/src" &&
+   ejavac -encoding UTF-8 
net/i2p/util/NativeBigInteger.java ||
+   die 'unable to build tests'
+   fi
+}
+
+src_test() {
+   cd "${S}/java/src" &&
+   "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" 
net/i2p/util/NativeBigInteger ||
+   die 'unable to pass tests'
+}
+
+src_install() {
+   dolib.so c/jbigi/jbigi/libjbigi.so
+
+   if use amd64 || use x86; then
+   dolib.so c/jcpuid/libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-09-26 Thread Patrice Clement
commit: e222c899ef218cd17379dbee3775a39a1e3ec5c5
Author: tharvik  users  noreply  github  com>
AuthorDate: Thu Sep 13 14:52:19 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Sep 26 23:01:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e222c899

net-libs/nativebiginteger: change maintainer.

Closes: https://github.com/gentoo/gentoo/pull/9860

 net-libs/nativebiginteger/metadata.xml | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-libs/nativebiginteger/metadata.xml 
b/net-libs/nativebiginteger/metadata.xml
index 3800f75787a..df6b33c9912 100644
--- a/net-libs/nativebiginteger/metadata.xml
+++ b/net-libs/nativebiginteger/metadata.xml
@@ -2,7 +2,11 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 

-   to...@gentoo.org
-   Thomas Sachau (Tommy[D])
+   thar...@gmail.com
+   Tharvik
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers

 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-09-24 Thread Patrice Clement
commit: 37863502ea06730388b4ed4f43f14612bbcd3ed8
Author: Patrice Clement  gentoo  org>
AuthorDate: Mon Sep 24 15:20:49 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Mon Sep 24 15:21:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37863502

net-libs/nativebiginteger: improve ebuild.

* fix SRC_URI.
* set up JVM properly and export JAVA_HOME when enabling tests.
* minor comestic changes here and there.

Closes: https://bugs.gentoo.org/665440
Closes: https://bugs.gentoo.org/665442
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../nativebiginteger-0.9.36.ebuild | 31 +-
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
index d327fc13809..6e2963035dd 100644
--- a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
@@ -7,7 +7,7 @@ inherit eutils toolchain-funcs multilib java-pkg-opt-2
 
 DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class 
from I2P"
 HOMEPAGE="http://www.i2p2.de;
-SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2;
+SRC_URI="https://download.i2p2.de/releases/${PV}/i2psource_${PV}.tar.bz2;
 
 LICENSE="|| ( public-domain BSD MIT )"
 SLOT="0"
@@ -15,18 +15,28 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="test"
 
-RDEPEND="dev-libs/gmp"
+RDEPEND="dev-libs/gmp:0="
 DEPEND="
${RDEPEND}
-   test? ( >=virtual/jdk-1.7 )
-"
+   test? ( >=virtual/jdk-1.7 )"
 
-S=${WORKDIR}/i2p-${PV}/core
+S="${WORKDIR}/i2p-${PV}/core"
 
 PATCHES=(
"${FILESDIR}/${P}"-asmfix.patch
 )
 
+QA_PRESTRIPPED="usr/lib64/libjcpuid.so"
+
+QA_SONAME="usr/lib64/libjcpuid.so"
+
+pkg_setup() {
+   if use test; then
+   java-pkg-opt-2_pkg_setup
+   export JAVA_HOME=$(java-config -O)
+   fi
+}
+
 src_compile() {
tc-export CC
 
@@ -34,15 +44,13 @@ src_compile() {
../../build_jbigi.sh dynamic ||
die 'unable to build jbigi'
 
-   if use test
-   then
+   if use test; then
cd "${S}/java/src" &&
ejavac -encoding UTF-8 
net/i2p/util/NativeBigInteger.java ||
die 'unable to build tests'
fi
 
-   if ( use amd64 || use x86 )
-   then
+   if ( use amd64 || use x86 ); then
cd "${S}/c/jcpuid" &&
./build.sh ||
die 'unable to build jcpuid'
@@ -51,15 +59,14 @@ src_compile() {
 
 src_test() {
cd java/src &&
-   java -Djava.library.path="${S}/c/jbigi/jbigi/src" 
net/i2p/util/NativeBigInteger ||
+   $(java-config -J) -Djava.library.path="${S}/c/jbigi/jbigi/src" 
net/i2p/util/NativeBigInteger ||
die 'unable to pass tests'
 }
 
 src_install() {
dolib c/jbigi/jbigi/src/libjbigi.so
 
-   if ( use amd64 || use x86 )
-   then
+   if ( use amd64 || use x86 ); then
newlib.so \

"c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-$(tc-arch)-linux.so" \
libjcpuid.so



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/, net-libs/nativebiginteger/files/

2018-09-07 Thread Patrice Clement
commit: fd6e992a45c0835bca83f25237c2b928f743d57b
Author: tharvik  users  noreply  github  com>
AuthorDate: Sun Aug 26 14:18:14 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Sep  7 08:23:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6e992a

net-libs/nativebiginteger: bump to 0.9.36.

Closes: https://github.com/gentoo/gentoo/pull/9702

 net-libs/nativebiginteger/Manifest |  1 +
 .../files/nativebiginteger-0.9.36-asmfix.patch | 31 ++
 .../nativebiginteger-0.9.36.ebuild | 67 ++
 3 files changed, 99 insertions(+)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 8bd47c53649..18eaf831a7c 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1 +1,2 @@
 DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 
9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927
 SHA512 
32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
+DIST i2psource_0.9.36.tar.bz2 29856168 BLAKE2B 
0f10101b874bf6fc8415f10b08282947962a6fb8c3eaefde67d3f250d65a159551c24038625aa6712e88b368ccae38d136314025ac19fcb9dd9145251283b357
 SHA512 
e9023cae1c7dbdd92c9c4823497dfa8497cee3683de1232deddbdc548ba08edefe218bd81e00e952d8a95037c32de8359daaf43c2d5f25c75aba65554d2d47b4

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch
new file mode 100644
index 000..cdb8c7f64cb
--- /dev/null
+++ b/net-libs/nativebiginteger/files/nativebiginteger-0.9.36-asmfix.patch
@@ -0,0 +1,31 @@
+--- c/jcpuid/src/jcpuid.c  2008-10-06 09:44:53.0 -0400
 c/jcpuid/src/jcpuid.c.new2 2010-12-27 09:41:53.0 -0500
+@@ -19,6 +19,7 @@
+   mov d, edx
+   }
+   #else
++  #ifdef _LP64
+   //Use GCC assembler notation
+   asm
+   (
+@@ -29,6 +30,20 @@
+ "=d"(d)
+   :"a"(iFunction)
+   );
++  #elif defined(__i386__)
++  asm
++  (
++  "pushl %%ebx\n\t"
++  "cpuid\n\t"
++  "movl %%ebx, %%edi\n\t"
++  "popl %%ebx"
++  : "=a" (a),
++"=D" (b),
++"=c" (c),
++"=d" (d)
++  :"a"(iFunction)
++  );
++  #endif
+   #endif
+   return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
+ }

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
new file mode 100644
index 000..d327fc13809
--- /dev/null
+++ b/net-libs/nativebiginteger/nativebiginteger-0.9.36.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs multilib java-pkg-opt-2
+
+DESCRIPTION="jbigi JNI library for net.i2p.util.NativeBigInteger java-class 
from I2P"
+HOMEPAGE="http://www.i2p2.de;
+SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2;
+
+LICENSE="|| ( public-domain BSD MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="test"
+
+RDEPEND="dev-libs/gmp"
+DEPEND="
+   ${RDEPEND}
+   test? ( >=virtual/jdk-1.7 )
+"
+
+S=${WORKDIR}/i2p-${PV}/core
+
+PATCHES=(
+   "${FILESDIR}/${P}"-asmfix.patch
+)
+
+src_compile() {
+   tc-export CC
+
+   cd c/jbigi/jbigi/src &&
+   ../../build_jbigi.sh dynamic ||
+   die 'unable to build jbigi'
+
+   if use test
+   then
+   cd "${S}/java/src" &&
+   ejavac -encoding UTF-8 
net/i2p/util/NativeBigInteger.java ||
+   die 'unable to build tests'
+   fi
+
+   if ( use amd64 || use x86 )
+   then
+   cd "${S}/c/jcpuid" &&
+   ./build.sh ||
+   die 'unable to build jcpuid'
+   fi
+}
+
+src_test() {
+   cd java/src &&
+   java -Djava.library.path="${S}/c/jbigi/jbigi/src" 
net/i2p/util/NativeBigInteger ||
+   die 'unable to pass tests'
+}
+
+src_install() {
+   dolib c/jbigi/jbigi/src/libjbigi.so
+
+   if ( use amd64 || use x86 )
+   then
+   newlib.so \
+   
"c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-$(tc-arch)-linux.so" \
+   libjcpuid.so
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/, net-libs/nativebiginteger/files/

2018-02-26 Thread Pacho Ramos
commit: 20296d77c9dcf10009c4930be599f766e9075406
Author: Pacho Ramos  gentoo  org>
AuthorDate: Mon Feb 26 18:55:05 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Mon Feb 26 18:57:25 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20296d77

net-libs/nativebiginteger: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-libs/nativebiginteger/Manifest |  1 -
 .../files/nativebiginteger-0.6.4-asmfix.patch  | 31 ---
 .../files/nativebiginteger-0.6.4-ldflags.patch | 17 ---
 .../nativebiginteger-0.6.4-r3.ebuild   | 35 --
 .../nativebiginteger/nativebiginteger-0.6.4.ebuild | 29 --
 5 files changed, 113 deletions(-)

diff --git a/net-libs/nativebiginteger/Manifest 
b/net-libs/nativebiginteger/Manifest
index 9a82aef1d48..8bd47c53649 100644
--- a/net-libs/nativebiginteger/Manifest
+++ b/net-libs/nativebiginteger/Manifest
@@ -1,2 +1 @@
 DIST i2psource_0.8.7.tar.bz2 18473515 BLAKE2B 
9f79cd2e69f26ba0fadc24b6cad0ff43301c65fd640313688687895de908c6a0c6fd9d1be6c82a6d7478cd4ecf633ce3b8fd4d200cce644512a7b4fa275a0927
 SHA512 
32b4eb4bf8bc7d6bb692b3ecd6b0a34c4d3d7c94b0d09a4ff330151979ccdaca9a6c88fef9b7e7965a1bba8ef54dbb710d89e0bb19265ee177ce547ff50ca969
-DIST nativebiginteger-0.6.4.tar.bz2 10248 BLAKE2B 
aab73c107ab0efcafff123df7c24449ce92d29a1f766216efeebd2eab501978af83cd509419da2df0ad19d36a6c61cfeaed187a9aed72fb89fff104260b403cf
 SHA512 
626f036fbde09e22f44b7d2fdf64c0e0ce8a86aabc3d68512f0bdd83fc909404a1a50b76633abaa3a4db69dcb1e913f6d5665812595eecadae6a7be24646e0cf

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch
deleted file mode 100644
index 04cfa599413..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-asmfix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
 jcpuid/src/jcpuid.c2008-10-06 09:44:53.0 -0400
-+++ jcpuid/src/jcpuid.c.new2   2010-12-27 09:41:53.0 -0500
-@@ -19,6 +19,7 @@
-   mov d, edx
-   }
-   #else
-+  #ifdef _LP64
-   //Use GCC assembler notation
-   asm 
-   (
-@@ -29,6 +30,20 @@
- "=d"(d)
-   :"a"(iFunction)
-   );
-+  #elif defined(__i386__)
-+  asm 
-+  (
-+  "pushl %%ebx\n\t"
-+  "cpuid\n\t"
-+  "movl %%ebx, %%edi\n\t"
-+  "popl %%ebx"
-+  : "=a" (a),
-+"=D" (b),
-+"=c" (c),
-+"=d" (d)
-+  :"a"(iFunction)
-+  );
-+  #endif
-   #endif
-   return (*env)->NewObject(env, clsResult,constructor,a,b,c,d);
- }

diff --git 
a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch 
b/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
deleted file mode 100644
index 5d3c84cd641..000
--- a/net-libs/nativebiginteger/files/nativebiginteger-0.6.4-ldflags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
 Makefile   2008-11-06 21:09:54.0 +0100
-+++ Makefile.new   2010-12-27 14:26:45.0 +0100
-@@ -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 \
--  -o libjbigi.so jbigi.o
-+  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 \
-+  -o libjbigi.so
- 
- 
- 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-r3.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild
deleted file mode 100644
index 51dda3f1547..000
--- a/net-libs/nativebiginteger/nativebiginteger-0.6.4-r3.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
-   

[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-02-26 Thread Jason Zaman
commit: 42b3c80f6857a76d23f06ce48599793378dfd611
Author: Jason Zaman  gentoo  org>
AuthorDate: Mon Feb 26 14:20:07 2018 +
Commit: Jason Zaman  gentoo  org>
CommitDate: Mon Feb 26 14:20:07 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b3c80f

net-libs/nativebiginteger: amd64 stable

Gentoo-bug: 648402
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
index abdbb3191fe..243ce87fb2a 100644
--- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2;
 
 LICENSE="|| ( public-domain BSD MIT )"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 
 IUSE="test"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/nativebiginteger/

2018-02-25 Thread Thomas Deutschmann
commit: 5d6e3a90566cbd64bd12fd9cb32bc4597ea36bff
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Feb 25 18:10:44 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Feb 25 18:10:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d6e3a90

net-libs/nativebiginteger: x86 stable (bug #648402)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild 
b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
index 15616b668c4..abdbb3191fe 100644
--- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
+++ b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -11,7 +11,7 @@ SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2;
 
 LICENSE="|| ( public-domain BSD MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 
 IUSE="test"