[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/, sys-auth/oath-toolkit/files/

2024-02-13 Thread Matt Turner
commit: fbc1f31bc03c190eb69994887903d4c8d313a8f4
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Feb 13 20:37:16 2024 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Feb 13 20:37:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc1f31b

sys-auth/oath-toolkit: Add patch to avoid implicit definitions

Closes: https://bugs.gentoo.org/924395
Signed-off-by: Matt Turner  gentoo.org>

 ...build-failure-noticed-on-ArchLinux-xmlsec.patch | 40 ++
 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild|  4 +++
 2 files changed, 44 insertions(+)

diff --git 
a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.9-Fix-build-failure-noticed-on-ArchLinux-xmlsec.patch
 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.9-Fix-build-failure-noticed-on-ArchLinux-xmlsec.patch
new file mode 100644
index ..8b0cbacc51f7
--- /dev/null
+++ 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.9-Fix-build-failure-noticed-on-ArchLinux-xmlsec.patch
@@ -0,0 +1,40 @@
+https://bugs.gentoo.org/924395
+
+From 9f2bc8d4278421e2a05598c89f22cdf34929ec66 Mon Sep 17 00:00:00 2001
+From: Simon Josefsson 
+Date: Sun, 31 Dec 2023 15:42:00 +0100
+Subject: [PATCH] Fix build failure noticed on ArchLinux-xmlsec.
+
+---
+ NEWS| 2 ++
+ libpskc/container.c | 1 +
+ libpskc/parser.c| 1 +
+ 3 files changed, 4 insertions(+)
+
+diff --git a/libpskc/container.c b/libpskc/container.c
+index 639babc..bda2266 100644
+--- a/libpskc/container.c
 b/libpskc/container.c
+@@ -24,6 +24,7 @@
+ #include 
+ 
+ #include/* memset */
++#include/* realloc */
+ 
+ #define INTERNAL_NEED_PSKC_STRUCT
+ #define INTERNAL_NEED_PSKC_KEY_STRUCT
+diff --git a/libpskc/parser.c b/libpskc/parser.c
+index b1f3245..9a1e925 100644
+--- a/libpskc/parser.c
 b/libpskc/parser.c
+@@ -28,6 +28,7 @@
+ #include "internal.h"
+ 
+ #include 
++#include/* malloc, strtoul */
+ #include "base64.h"
+ 
+ static void
+-- 
+2.43.0
+

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index 9ddeb896163e..d7c6b3404ba0 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -31,6 +31,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
MIN # glibc fp
 )
 
+PATCHES=(
+   "${FILESDIR}"/${P}-Fix-build-failure-noticed-on-ArchLinux-xmlsec.patch
+)
+
 src_configure() {
local myeconfargs=(
--cache-file="${S}"/config.cache



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2024-01-13 Thread Sam James
commit: ac55d4ed653de858ad2260ee591b1171aae092c5
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan 14 02:19:56 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan 14 02:19:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac55d4ed

sys-auth/oath-toolkit: add 2.6.11

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/Manifest   |  1 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.11.ebuild | 69 
 2 files changed, 70 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index 3f54e09c6b03..bdd4b255323b 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1,3 +1,4 @@
 DIST oath-toolkit-2.6.10.tar.gz 4710528 BLAKE2B 
2fd3c890214089b47bc4eb5759735cc921ed73f9eb9fa52aa8cc9f329b9887a45dbc0118ca077aecebc38660388d1be29a94d8c87917361def86f3a9378f5d40
 SHA512 
b9a4447350593c206aabf4dce09273194d5ac499c4f2fca4e36ba77480793898e3011655451d9147748b56c2a8611e04640ba2aec5f4e96fcd9e967b93b1c1b7
+DIST oath-toolkit-2.6.11.tar.gz 4699215 BLAKE2B 
f3fa3ab1818f4f9bbf7c8c88432cd3432fbfb30dfcc660ab85f07e2d3d7e1616fc24579900bc55bbf72fb81b2eac4a6591553968872f07d8b3955ce4e6495afd
 SHA512 
42df879bebccdde3d38558ba735e09db14d0c916b9f0d3a1842e0ecc80614b7d1ee44db39d3097970a2a7108446da6eefd09bdd32dd2fb81d6aed06dc19552fd
 DIST oath-toolkit-2.6.7.tar.gz 5625279 BLAKE2B 
23f377c51eb633bf01d6085d33c7362cd91b6bed1cf4c2bbf32dc9433849e20c53f6896b16e5056b13f420f6a65a3c593fa1dafd7e184ed9e52666d94a7f75d1
 SHA512 
50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12
 DIST oath-toolkit-2.6.9.tar.gz 4693524 BLAKE2B 
572512311bbfa18d325c7b9b8d88ff85c05241c9a22942bc67edf531ed621e68b031dc4562bd8473ec1b1bfe264c8a4084c1c304ba0d24914acc5b21325b8601
 SHA512 
6e96b5a926f6e2448661fef267dcf9c99167b7bdfc71e319d2ab7ddc051a7be002043485547ad83744209c25ea0d87f8e28f25cccd6856281321f3d22e3cf160

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.11.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.11.ebuild
new file mode 100644
index ..f6f70d28c0fc
--- /dev/null
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.11.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pam
+
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
+HOMEPAGE="https://www.nongnu.org/oath-toolkit/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="pam static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/icu:=
+   dev-libs/libxml2
+   dev-libs/xmlsec:=
+   pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   dev-util/gtk-doc-am
+   test? ( dev-libs/libxml2 )
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   MIN # glibc fp
+   unreachable
+   alignof
+   static_assert
+)
+
+src_configure() {
+   local myeconfargs=(
+   --cache-file="${S}"/config.cache
+   --enable-pskc
+   $(use_enable test xmltest)
+   $(use_enable pam)
+   $(use_with pam pam-dir $(getpam_mod_dir))
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   # Without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independent, this 
sucks.
+   emake --keep-going check
+
+   # Avoid errant QA notice for no tests run on these
+   rm -f libpskc/gtk-doc/test-suite.log liboath/gtk-doc/test-suite.log || 
die
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -type f -delete || die
+
+   if use pam; then
+   newdoc pam_oath/README README.pam
+   fi
+
+   doman pskctool/pskctool.1
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2024-01-03 Thread Sam James
commit: 4927be37b929358f3ac50e8697e156aaf88c144c
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan  3 09:26:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan  3 09:26:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4927be37

sys-auth/oath-toolkit: add 2.6.10

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/Manifest   |  1 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.10.ebuild | 69 
 2 files changed, 70 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index ffcfbe9528bf..3f54e09c6b03 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1,2 +1,3 @@
+DIST oath-toolkit-2.6.10.tar.gz 4710528 BLAKE2B 
2fd3c890214089b47bc4eb5759735cc921ed73f9eb9fa52aa8cc9f329b9887a45dbc0118ca077aecebc38660388d1be29a94d8c87917361def86f3a9378f5d40
 SHA512 
b9a4447350593c206aabf4dce09273194d5ac499c4f2fca4e36ba77480793898e3011655451d9147748b56c2a8611e04640ba2aec5f4e96fcd9e967b93b1c1b7
 DIST oath-toolkit-2.6.7.tar.gz 5625279 BLAKE2B 
23f377c51eb633bf01d6085d33c7362cd91b6bed1cf4c2bbf32dc9433849e20c53f6896b16e5056b13f420f6a65a3c593fa1dafd7e184ed9e52666d94a7f75d1
 SHA512 
50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12
 DIST oath-toolkit-2.6.9.tar.gz 4693524 BLAKE2B 
572512311bbfa18d325c7b9b8d88ff85c05241c9a22942bc67edf531ed621e68b031dc4562bd8473ec1b1bfe264c8a4084c1c304ba0d24914acc5b21325b8601
 SHA512 
6e96b5a926f6e2448661fef267dcf9c99167b7bdfc71e319d2ab7ddc051a7be002043485547ad83744209c25ea0d87f8e28f25cccd6856281321f3d22e3cf160

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.10.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.10.ebuild
new file mode 100644
index ..f6f70d28c0fc
--- /dev/null
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.10.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pam
+
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
+HOMEPAGE="https://www.nongnu.org/oath-toolkit/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="pam static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/icu:=
+   dev-libs/libxml2
+   dev-libs/xmlsec:=
+   pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   dev-util/gtk-doc-am
+   test? ( dev-libs/libxml2 )
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   MIN # glibc fp
+   unreachable
+   alignof
+   static_assert
+)
+
+src_configure() {
+   local myeconfargs=(
+   --cache-file="${S}"/config.cache
+   --enable-pskc
+   $(use_enable test xmltest)
+   $(use_enable pam)
+   $(use_with pam pam-dir $(getpam_mod_dir))
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   # Without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independent, this 
sucks.
+   emake --keep-going check
+
+   # Avoid errant QA notice for no tests run on these
+   rm -f libpskc/gtk-doc/test-suite.log liboath/gtk-doc/test-suite.log || 
die
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -type f -delete || die
+
+   if use pam; then
+   newdoc pam_oath/README README.pam
+   fi
+
+   doman pskctool/pskctool.1
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-11-18 Thread Sam James
commit: e86cc428c2b68feed080864ca12a1fe8bdd3dcc7
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov 18 16:36:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov 18 16:36:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e86cc428

sys-auth/oath-toolkit: use configure cache for subconfigure

Makes a particularly noticeable difference on this one.

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index 0c5a5e61881e..e9692ae5d12d 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -33,6 +33,7 @@ QA_CONFIG_IMPL_DECL_SKIP=(
 
 src_configure() {
local myeconfargs=(
+   --cache-file="${S}"/config.cache
--enable-pskc
$(use_enable test xmltest)
$(use_enable pam)



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-09-18 Thread Arthur Zamarin
commit: 12882fff709b08a721626ed7d02bb247285e211a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Sep 18 19:59:36 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Sep 18 19:59:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12882fff

sys-auth/oath-toolkit: Stabilize 2.6.9 x86, #913818

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index b03ba1c138a0..0c5a5e61881e 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-09-07 Thread Sam James
commit: a33abcda68c6f6e447bec684be0ab7431a0ad443
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:55 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33abcda

sys-auth/oath-toolkit: Stabilize 2.6.9 ppc64, #913818

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index 1e8be6a88e85..3dcc7d1676c3 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-09-07 Thread Sam James
commit: b9ce6700a451c272767fa2bfb672e4a57bcca22b
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 23:01:56 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 23:01:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9ce6700

sys-auth/oath-toolkit: Stabilize 2.6.9 arm64, #913818

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index 3dcc7d1676c3..b03ba1c138a0 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-09-07 Thread Sam James
commit: 986c16069acb306c2395910891618c84ca155c38
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  7 20:16:18 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  7 20:16:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=986c1606

sys-auth/oath-toolkit: Stabilize 2.6.9 amd64, #913818

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
index 8fe048cf69f0..1e8be6a88e85 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-07-19 Thread Sam James
commit: 5228e40e52c8d52a635254d9dba48b22cbafd492
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 19 23:08:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 19 23:08:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5228e40e

sys-auth/oath-toolkit: add 2.6.9

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/Manifest  |  1 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index f462178014ea..ffcfbe9528bf 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1 +1,2 @@
 DIST oath-toolkit-2.6.7.tar.gz 5625279 BLAKE2B 
23f377c51eb633bf01d6085d33c7362cd91b6bed1cf4c2bbf32dc9433849e20c53f6896b16e5056b13f420f6a65a3c593fa1dafd7e184ed9e52666d94a7f75d1
 SHA512 
50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12
+DIST oath-toolkit-2.6.9.tar.gz 4693524 BLAKE2B 
572512311bbfa18d325c7b9b8d88ff85c05241c9a22942bc67edf531ed621e68b031dc4562bd8473ec1b1bfe264c8a4084c1c304ba0d24914acc5b21325b8601
 SHA512 
6e96b5a926f6e2448661fef267dcf9c99167b7bdfc71e319d2ab7ddc051a7be002043485547ad83744209c25ea0d87f8e28f25cccd6856281321f3d22e3cf160

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
new file mode 100644
index ..8fe048cf69f0
--- /dev/null
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.9.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit pam
+
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
+HOMEPAGE="https://www.nongnu.org/oath-toolkit/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="pam static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/icu:=
+   dev-libs/libxml2
+   dev-libs/xmlsec:=
+   pam? ( sys-libs/pam )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+   dev-util/gtk-doc-am
+   test? ( dev-libs/libxml2 )
+"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   MIN # glibc fp
+)
+
+src_configure() {
+   local myeconfargs=(
+   --enable-pskc
+   $(use_enable test xmltest)
+   $(use_enable pam)
+   $(use_with pam pam-dir $(getpam_mod_dir))
+   $(use_enable static-libs static)
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+src_test() {
+   # Without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independent, this 
sucks.
+   emake --keep-going check
+
+   # Avoid errant QA notice for no tests run on these
+   rm -f libpskc/gtk-doc/test-suite.log liboath/gtk-doc/test-suite.log || 
die
+}
+
+src_install() {
+   default
+
+   find "${ED}" -name '*.la' -type f -delete || die
+
+   if use pam; then
+   newdoc pam_oath/README README.pam
+   fi
+
+   doman pskctool/pskctool.1
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/, sys-auth/oath-toolkit/files/

2023-04-29 Thread Andreas Sturmlechner
commit: 0803d218823ef92b6b0ac09ce44f1172ca36fa9b
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Apr 29 08:56:54 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Apr 29 21:51:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0803d218

sys-auth/oath-toolkit: drop 2.6.2-r3, EAPI-6--

Closes: https://bugs.gentoo.org/827887
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sys-auth/oath-toolkit/Manifest |   1 -
 .../files/oath-toolkit-2.6.2-gcc7.patch|  80 -
 .../files/oath-toolkit-2.6.2-glibc228.patch| 100 -
 sys-auth/oath-toolkit/metadata.xml |   1 -
 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild |  77 
 5 files changed, 259 deletions(-)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index e8a60334a808..f462178014ea 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1,2 +1 @@
-DIST oath-toolkit-2.6.2.tar.gz 4295786 BLAKE2B 
2b97ab73339647b560b46373922095f18655a167b613b15d4ee2fd507d430025628d20eb111ff1d8025e78646b1d61d9680a7082caba1c75d247bb1d8b9b99dd
 SHA512 
201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb
 DIST oath-toolkit-2.6.7.tar.gz 5625279 BLAKE2B 
23f377c51eb633bf01d6085d33c7362cd91b6bed1cf4c2bbf32dc9433849e20c53f6896b16e5056b13f420f6a65a3c593fa1dafd7e184ed9e52666d94a7f75d1
 SHA512 
50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12

diff --git a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch
deleted file mode 100644
index 18a0a2779408..
--- a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-Bug: https://bugs.gentoo.org/618100
-Cherry-picked from upstream commits: 
https://github.com/coreutils/gnulib/commit/175b4e22f99e00996b72f822f5ae54dca8243d19
- 
https://github.com/coreutils/gnulib/commit/abae112b34572cd3869ce4fc81dddb5c2a7394c4
-
 a/oathtool/gl/intprops.h
-+++ b/oathtool/gl/intprops.h
-@@ -23,6 +23,10 @@
- #include 
- #include 
- 
-+#ifndef __has_builtin
-+# define __has_builtin(x) 0
-+#endif
-+
- /* Return a value with the common real type of E and V and the value of V.  */
- #define _GL_INT_CONVERT(e, v) (0 * (e) + (v))
- 
-@@ -222,20 +226,24 @@
-? (a) < (min) >> (b) \
-: (max) >> (b) < (a))
- 
--/* True if __builtin_add_overflow (A, B, P) works when P is null.  */
--#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
-+/* True if __builtin_add_overflow (A, B, P) works when P is non-null.  */
-+#define _GL_HAS_BUILTIN_OVERFLOW \
-+  (5 <= __GNUC__ || __has_builtin (__builtin_add_overflow))
-+
-+#define _GL_HAS_BUILTIN_OVERFLOW_P \
-+  (7 <= __GNUC__ || __has_builtin (__builtin_add_overflow_p))
- 
- /* The _GL*_OVERFLOW macros have the same restrictions as the
-*_RANGE_OVERFLOW macros, except that they do not assume that operands
-(e.g., A and B) have the same type as MIN and MAX.  Instead, they assume
-that the result (e.g., A + B) has that type.  */
--#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
--# define _GL_ADD_OVERFLOW(a, b, min, max)
--   __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
--# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
--   __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
--# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
--   __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
-+#if _GL_HAS_BUILTIN_OVERFLOW_P
-+# define _GL_ADD_OVERFLOW(a, b, min, max)   \
-+   __builtin_add_overflow_p (a, b, (a) + (b))
-+# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)  \
-+   __builtin_sub_overflow_p (a, b, (a) - (b))
-+# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)  \
-+   __builtin_mul_overflow_p (a, b, (a) * (b))
- #else
- # define _GL_ADD_OVERFLOW(a, b, min, max)\
-((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max)  \
-@@ -315,7 +323,7 @@
-   _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW)
- #define INT_SUBTRACT_OVERFLOW(a, b) \
-   _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW)
--#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
-+#if _GL_HAS_BUILTIN_OVERFLOW || _GL_HAS_BUILTIN_OVERFLOW_P
- # define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a)
- #else
- # define INT_NEGATE_OVERFLOW(a) \
-@@ -349,10 +357,6 @@
- #define INT_MULTIPLY_WRAPV(a, b, r) \
-   _GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW)
- 
--#ifndef __has_builtin
--# define __has_builtin(x) 0
--#endif
--
- /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390.  See:
-

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-29 Thread Arthur Zamarin
commit: 4982b344ed6840dd8f1e25c9304ecce04e63c75d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 07:52:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 07:52:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4982b344

sys-auth/oath-toolkit: Stabilize 2.6.7-r2 arm, #827887

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
index a3483e6d37fa..fc1c4389b5cb 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-22 Thread Arthur Zamarin
commit: cdb20de5747637b518207ee6b2be278e2d94aa22
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 22 16:36:10 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 22 16:36:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdb20de5

sys-auth/oath-toolkit: Stabilize 2.6.7-r2 x86, #827887

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
index 020037b1bbd1..a3483e6d37fa 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-17 Thread Sam James
commit: 313acdc21a558ff82c633a93796ac467cad4f385
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 18 05:28:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 18 05:28:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=313acdc2

sys-auth/oath-toolkit: unconditionally depend on xmlsec

psks can't be reliably disabled.

Bug: https://bugs.gentoo.org/827887
Bug: https://bugs.gentoo.org/904361
Signed-off-by: Sam James  gentoo.org>

 ...olkit-2.6.7-r1.ebuild => oath-toolkit-2.6.7-r2.ebuild} | 15 +--
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
similarity index 87%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
index 2641b73deb6f..020037b1bbd1 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r2.ebuild
@@ -12,17 +12,14 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
-IUSE="pam pskc static-libs test"
-REQUIRED_USE="test? ( pskc )"
+IUSE="pam static-libs test"
 RESTRICT="!test? ( test )"
 
 DEPEND="
dev-libs/icu:=
+   dev-libs/libxml2
+   

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-15 Thread Sam James
commit: 4b7ada58a08e223ca0ef8d4a1344e385dc29b121
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 16 05:06:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 16 05:06:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7ada58

sys-auth/oath-toolkit: needs https://gitlab.com/oath-toolkit/oath-toolkit/-/issues/33.

No revbump as already has slot op and new xmlsec bumps ABI.

Closes: https://bugs.gentoo.org/904361
Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild | 2 +-
 sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
index c6850dd5167a..742fc8913696 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
@@ -17,7 +17,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="
dev-libs/icu:=
pam? ( sys-libs/pam )
-   pskc? ( dev-libs/xmlsec:= )"
+   pskc? ( 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-14 Thread Sam James
commit: 764b8598276e11f622466307604689734871bfc3
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 15 05:33:36 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 15 05:40:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764b8598

sys-auth/oath-toolkit: depend on xmlsec subslot dep

xmlsec changed ABI.

Signed-off-by: Sam James  gentoo.org>

 .../{oath-toolkit-2.6.2-r2.ebuild => oath-toolkit-2.6.2-r3.ebuild}| 4 ++--
 .../{oath-toolkit-2.6.7.ebuild => oath-toolkit-2.6.7-r1.ebuild}   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
similarity index 96%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
index 0adab310261d..c6850dd5167a 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ RESTRICT="!test? ( test )"
 RDEPEND="
dev-libs/icu:=
pam? ( sys-libs/pam )
-   pskc? ( dev-libs/xmlsec )"
+   pskc? ( dev-libs/xmlsec:= )"
 DEPEND="${RDEPEND}
test? ( dev-libs/libxml2 )
dev-util/gtk-doc-am"

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild
similarity index 98%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild
index 587134ecf762..8c2ad9b71ff2 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7-r1.ebuild
@@ -21,7 +21,7 @@ DEPEND="
pam? ( sys-libs/pam )
pskc? (
dev-libs/libxml2
-   dev-libs/xmlsec
+   dev-libs/xmlsec:=
)
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-09 Thread Arthur Zamarin
commit: 0290c43dc4cebc4e9c0dbfe22cd9ff0140e33c68
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr  9 18:54:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr  9 18:54:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0290c43d

sys-auth/oath-toolkit: Stabilize 2.6.7 amd64, #827887

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
index baee82e01fd7..587134ecf762 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
 IUSE="pam pskc static-libs test"
 REQUIRED_USE="test? ( pskc )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-09 Thread Arthur Zamarin
commit: 6fa2378769c9027950d9e696855296794d9f882e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr  9 18:53:25 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr  9 18:53:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa23787

sys-auth/oath-toolkit: Stabilize 2.6.7 arm64, #827887

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
index f8cb28b09ce9..b67f0b0a53e9 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
 IUSE="pam pskc static-libs test"
 REQUIRED_USE="test? ( pskc )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-04-09 Thread Arthur Zamarin
commit: 6e59b28dd888c265f55f1fc26450bee2c431cf21
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr  9 18:53:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr  9 18:53:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e59b28d

sys-auth/oath-toolkit: Stabilize 2.6.7 ppc64, #827887

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

 sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
index b67f0b0a53e9..baee82e01fd7 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz"
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~loong ppc64 ~riscv ~x86"
 IUSE="pam pskc static-libs test"
 REQUIRED_USE="test? ( pskc )"
 RESTRICT="!test? ( test )"



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/files/, sys-auth/oath-toolkit/

2023-03-05 Thread Sam James
commit: 93b66e313c8f85be009ac2c6ee3a70938ee49058
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  5 12:35:32 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  5 12:37:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b66e31

sys-auth/oath-toolkit: add 2.6.7

Bug: https://bugs.gentoo.org/719314
Closes: https://bugs.gentoo.org/683864
Closes: https://bugs.gentoo.org/719310
Closes: https://bugs.gentoo.org/775278
Closes: https://bugs.gentoo.org/827887
Closes: https://bugs.gentoo.org/837791
Closes: https://bugs.gentoo.org/898740
Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/Manifest |  1 +
 .../oath-toolkit-2.6.7-new-xmlsec-tests.patch  | 74 ++
 sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild| 74 ++
 3 files changed, 149 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index 5869f860e046..e8a60334a808 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1 +1,2 @@
 DIST oath-toolkit-2.6.2.tar.gz 4295786 BLAKE2B 
2b97ab73339647b560b46373922095f18655a167b613b15d4ee2fd507d430025628d20eb111ff1d8025e78646b1d61d9680a7082caba1c75d247bb1d8b9b99dd
 SHA512 
201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb
+DIST oath-toolkit-2.6.7.tar.gz 5625279 BLAKE2B 
23f377c51eb633bf01d6085d33c7362cd91b6bed1cf4c2bbf32dc9433849e20c53f6896b16e5056b13f420f6a65a3c593fa1dafd7e184ed9e52666d94a7f75d1
 SHA512 
50edff75c8366887d69cf4740c4cc3bdfc3e43cbd4910ff40f735bca489f0953d7e5a21130f12782ac7a1f2fb00f0db313aff139085f23daba78a69bc7b2eb12

diff --git 
a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.7-new-xmlsec-tests.patch 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.7-new-xmlsec-tests.patch
new file mode 100644
index ..a2ad292e19fc
--- /dev/null
+++ b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.7-new-xmlsec-tests.patch
@@ -0,0 +1,74 @@
+https://gitlab.com/oath-toolkit/oath-toolkit/-/commit/0ae59b9c72f69ee21044e736e292b73051df3272
+
+From 0ae59b9c72f69ee21044e736e292b73051df3272 Mon Sep 17 00:00:00 2001
+From: Simon Josefsson 
+Date: Sat, 12 Nov 2022 21:42:17 +0100
+Subject: [PATCH] Handle new libxmlsec on ArchLinux.
+
+--- a/libpskc/examples/pskc-hotp-signed.xml
 b/libpskc/examples/pskc-hotp-signed.xml
+@@ -38,7 +38,8 @@ 
rIXbwqKhnBP943U4Ch31oEbZtbo+XRbiq11wv6dLNsi76TNGDqsjTKgEcSIYI6Vd
+ rMxnil6ChoIBvSSPGHhJuj1bW1EPW92JtIa6byrAj1m4RwSviQy2i65YoIdtrhRt
+ CWekj2zuL/0szv5rZMCCvxioOCA8znqELEPMfs0Aa/cACD2MZcC4gGXehNCvzYJr
+ TmB6lFpxP6f0g6eO7PVcqYN9NCwECxb5Cvx2j2uNlereY35/9oPR6YJx+V7sL+DB
+-n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4
++n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4
++
+ 
+ 
+ 
+--- a/pskctool/tests/pskc-all-signed.xml
 b/pskctool/tests/pskc-all-signed.xml
+@@ -38,7 +38,8 @@ 
rIXbwqKhnBP943U4Ch31oEbZtbo+XRbiq11wv6dLNsi76TNGDqsjTKgEcSIYI6Vd
+ rMxnil6ChoIBvSSPGHhJuj1bW1EPW92JtIa6byrAj1m4RwSviQy2i65YoIdtrhRt
+ CWekj2zuL/0szv5rZMCCvxioOCA8znqELEPMfs0Aa/cACD2MZcC4gGXehNCvzYJr
+ TmB6lFpxP6f0g6eO7PVcqYN9NCwECxb5Cvx2j2uNlereY35/9oPR6YJx+V7sL+DB
+-n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4
++n6F0mN8OUAFxDamepKdGRApU8uZ35624o/I4
++
+ 
+ 
+ 
+--- a/pskctool/tests/tst_libexamples.sh
 b/pskctool/tests/tst_libexamples.sh
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ 
+ # tst_libexamples.sh - keep pskctool output in GTK-DOC manual up to date
+-# Copyright (C) 2012-2021 Simon Josefsson
++# Copyright (C) 2012-2022 Simon Josefsson
+ 
+ # This program is free software: you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+@@ -45,7 +45,8 @@ fi
+ 
+ $PSKCTOOL --sign --sign-key $srcdir/pskc-ee-key.pem \
+ --sign-crt $srcdir/pskc-ee-crt.pem \
+-$srcdir/../../libpskc/examples/pskc-hotp.xml > foo
++$srcdir/../../libpskc/examples/pskc-hotp.xml \
++| sed 's,4 foo
+ if ! diff -ur $srcdir/../../libpskc/examples/pskc-hotp-signed.xml foo; then
+ echo "FAIL: pskctool --sign output change, commit updated file."
+ exit 1
+--- a/pskctool/tests/tst_sign.sh
 b/pskctool/tests/tst_sign.sh
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ 
+ # tst_sign.sh - test that pskctool can sign and verify
+-# Copyright (C) 2012-2021 Simon Josefsson
++# Copyright (C) 2012-2022 Simon Josefsson
+ 
+ # This program is free software: you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by
+@@ -32,7 +32,7 @@ $PSKCTOOL --info --strict --debug $pskc_all > 
tmp-pre-human.txt
+ $PSKCTOOL --sign \
+ --sign-key $pskc_ee_key \
+ --sign-crt $pskc_ee_crt \
+-$pskc_all > tmp-signed.xml
++$pskc_all | sed 's,4 tmp-signed.xml
+ 
+ diff -ur $pskc_all_signed tmp-signed.xml
+ 
+-- 
+GitLab

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.7.ebuild
new file mode 100644
index ..f8cb28b09ce9
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-03-05 Thread Sam James
commit: 3cab1a6f71e25c20e32ff654204e0fe1acf9c93d
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  5 12:36:50 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  5 12:37:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cab1a6f

sys-auth/oath-toolkit: add gitlab upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-auth/oath-toolkit/metadata.xml 
b/sys-auth/oath-toolkit/metadata.xml
index d230c8d03eb7..8086e7ba8677 100644
--- a/sys-auth/oath-toolkit/metadata.xml
+++ b/sys-auth/oath-toolkit/metadata.xml
@@ -12,4 +12,7 @@
Build tools  library for the Portable 
Symmetric Key Container (PSKC) format per RFC6030
Build PAM module for pluggable login 
authentication for OATH

+   
+   oath-toolkit/oath-toolkit
+   
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2023-03-05 Thread Sam James
commit: 3f2820a6bb897d659fae8a9584360d8c854cd894
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar  5 12:37:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar  5 12:37:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f2820a6

sys-auth/oath-toolkit: add savannah-nongnu upstream metadata

Signed-off-by: Sam James  gentoo.org>

 sys-auth/oath-toolkit/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-auth/oath-toolkit/metadata.xml 
b/sys-auth/oath-toolkit/metadata.xml
index 8086e7ba8677..69b7c5ff26ec 100644
--- a/sys-auth/oath-toolkit/metadata.xml
+++ b/sys-auth/oath-toolkit/metadata.xml
@@ -14,5 +14,6 @@


oath-toolkit/oath-toolkit
+   oath-toolkit

 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2022-11-29 Thread WANG Xuerui
commit: dfea5477b2ae40c09fa721041b494f3064204791
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Nov 29 16:26:33 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Nov 29 18:04:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfea5477

sys-auth/oath-toolkit: keyword 2.6.2-r2 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
index 038be19846c7..0adab310261d 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 
 LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc64 ~riscv x86"
 IUSE="pam pskc static-libs test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2022-02-21 Thread Sam James
commit: 4976006ce85f935fbbeb96020507eda1aadedf52
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 21 22:08:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 21 22:08:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4976006c

sys-auth/oath-toolkit: add ICU dependency

Closes: https://bugs.gentoo.org/833850
Signed-off-by: Sam James  gentoo.org>

 ...t-2.6.2-r1.ebuild => oath-toolkit-2.6.2-r2.ebuild} | 19 ++-
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
similarity index 97%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
index e6e4f650cf44..038be19846c7 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -7,14 +7,15 @@ inherit pam autotools
 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
 HOMEPAGE="http://www.nongnu.org/oath-toolkit/;
 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
-LICENSE="GPL-3 LGPL-2.1"
 
+LICENSE="GPL-3 LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 IUSE="pam pskc static-libs test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
+   dev-libs/icu:=
pam? ( sys-libs/pam )
pskc? ( dev-libs/xmlsec )"
 DEPEND="${RDEPEND}
@@ -57,6 +58,13 @@ src_configure() {
$(use_enable static-libs static)
 }
 
+src_test() {
+   # without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independant, this 
sucks.
+   emake --keep-going check
+   [ $? -ne 0 ] && die "At least one testsuite failed"
+}
+
 src_install() {
default
find "${ED}" -name '*.la' -type f -delete || die
@@ -67,10 +75,3 @@ src_install() {
doman pskctool/pskctool.1
fi
 }
-
-src_test() {
-   # without keep-going, it will bail out after the first testsuite 
failure,
-   # skipping the other testsuites. as they are mostly independant, this 
sucks.
-   emake --keep-going check
-   [ $? -ne 0 ] && die "At least one testsuite failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2021-10-20 Thread Mike Gilbert
commit: 8a19f6df4d067ee0d4b181ff3b90d006c1abbfeb
Author: Mike Gilbert  gentoo  org>
AuthorDate: Wed Oct 20 17:12:31 2021 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Oct 20 17:12:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a19f6df

sys-auth/oath-toolkit: add static-libs USE flag

Also drop *.la.

Closes: https://bugs.gentoo.org/725686
Signed-off-by: Mike Gilbert  gentoo.org>

 .../{oath-toolkit-2.6.2.ebuild => oath-toolkit-2.6.2-r1.ebuild} | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
similarity index 92%
rename from sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
rename to sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
index 6e5a98f59d5..e6e4f650cf4 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild
@@ -11,7 +11,7 @@ LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
-IUSE="pam pskc test"
+IUSE="pam pskc static-libs test"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
@@ -53,11 +53,13 @@ src_configure() {
$(use_enable test xmltest ) \
$(use_enable pam) \
$(use_with pam pam-dir $(getpam_mod_dir)) \
-   $(use_enable pskc)
+   $(use_enable pskc) \
+   $(use_enable static-libs static)
 }
 
 src_install() {
default
+   find "${ED}" -name '*.la' -type f -delete || die
if use pam; then
newdoc pam_oath/README README.pam
fi



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2021-07-24 Thread Marek Szuba
commit: 2ad4d87193626db032054c905fe483f127c07f2f
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul 24 21:59:49 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul 24 23:02:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ad4d871

sys-auth/oath-toolkit: keyword 2.6.2 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index fdbd65f35c8..6e5a98f59d5 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc64 x86"
+KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86"
 IUSE="pam pskc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2020-12-13 Thread Mikle Kolyada
commit: d8ea34ef6b603054307f840f40f5edf523a388e8
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec 13 15:15:11 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec 13 15:15:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8ea34ef

sys-auth/oath-toolkit: Drop old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-auth/oath-toolkit/Manifest  |  1 -
 sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 60 -
 2 files changed, 61 deletions(-)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index e1ffec90d89..5869f860e04 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1,2 +1 @@
-DIST oath-toolkit-2.6.1.tar.gz 4238966 BLAKE2B 
7af4f4997b18278aa1903470c79e5a7734e9e97e62a2de4685eee58ead59e3294cef0d6da0147746932a2891f59648b5473f02b5edd6c4fd81b4a9c80d9bde60
 SHA512 
59feadbc06d11a52bf5879493227c40358fc1f4f17ec3ff92e3a313e47b92f3154396fa3ff38ef163852b32c8bfcef1f59753b614d0138478b8f7e7971f55e62
 DIST oath-toolkit-2.6.2.tar.gz 4295786 BLAKE2B 
2b97ab73339647b560b46373922095f18655a167b613b15d4ee2fd507d430025628d20eb111ff1d8025e78646b1d61d9680a7082caba1c75d247bb1d8b9b99dd
 SHA512 
201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
deleted file mode 100644
index 12e5caf3e61..000
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit pam eutils autotools
-DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
-HOMEPAGE="http://www.nongnu.org/oath-toolkit/;
-SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
-LICENSE="GPL-3 LGPL-2.1"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="pam pskc test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-   pam? ( sys-libs/pam )
-   pskc? ( dev-libs/xmlsec )"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/libxml2 )
-   dev-util/gtk-doc-am"
-
-src_prepare() {
-   # These tests need git/cvs and don't reflect anything in the final app
-   sed -i -r \
-   -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
-   gl/tests/Makefile.am
-   # disable portability warnings, caused by gtk-doc.make
-   sed -i \
-   -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \
-   {liboath,libpskc}/configure.ac
-   eautoreconf
-   default
-}
-
-src_configure() {
-   econf \
-   $(use_enable test xmltest ) \
-   $(use_enable pam) \
-   $(use_with pam pam-dir $(getpam_mod_dir)) \
-   $(use_enable pskc)
-}
-
-src_install() {
-   default
-   if use pam; then
-   newdoc pam_oath/README README.pam
-   fi
-   if use pskc; then
-   doman pskctool/pskctool.1
-   fi
-}
-
-src_test() {
-   # without keep-going, it will bail out after the first testsuite 
failure,
-   # skipping the other testsuites. as they are mostly independant, this 
sucks.
-   emake --keep-going check
-   [ $? -ne 0 ] && die "At least one testsuite failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2020-06-08 Thread Michał Górny
commit: 1daee87e2c3041a9fd1df863b8e2de354789
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sun Jun  7 02:46:26 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jun  8 06:41:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1daee87e

sys-auth/oath-toolkit: arm stable (bug #719108)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 691c859b468..f92309af492 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
+KEYWORDS="amd64 arm arm64 ppc64 x86"
 IUSE="pam pskc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2020-05-13 Thread Agostino Sarubbo
commit: 12805800a4ea0f3bfcebf151b6155d0f91c5985b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 13 17:14:09 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 13 17:14:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12805800

sys-auth/oath-toolkit: ppc64 stable wrt bug #719108

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 19ad6d70c85..691c859b468 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ppc64 x86"
 IUSE="pam pskc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2020-05-09 Thread Mart Raudsepp
commit: 69f69f13ba6ae340464f4dfdbc3761edaca51ffb
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Sat May  9 01:55:33 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat May  9 08:47:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69f69f13

sys-auth/oath-toolkit: arm64 stable (bug #719108)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Mart Raudsepp  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 806bac6bb68..19ad6d70c85 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
 IUSE="pam pskc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2020-05-07 Thread Mikle Kolyada
commit: 08b8153317b92fa624a7567413ace02e5dd14b15
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Thu May  7 12:58:18 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu May  7 16:35:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b81533

sys-auth/oath-toolkit: arm keyworded

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>

Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 00237b0bc4e..806bac6bb68 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
 IUSE="pam pskc test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-10-12 Thread Mikle Kolyada
commit: 9b3c1849aef1e1ea328f303657631cf26125ff81
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 12 20:39:50 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 12 20:39:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b3c1849

sys-auth/oath-toolkit: migrate to sys-libs/pam

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Mikle Kolyada  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 4 ++--
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
index 224c9094191..6d03d4f004a 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="pam pskc test"
 
 RDEPEND="
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
pskc? ( dev-libs/xmlsec )"
 DEPEND="${RDEPEND}
test? ( dev-libs/libxml2 )

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 1fd990ee3d1..516a4c43627 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -14,7 +14,7 @@ KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="pam pskc test"
 
 RDEPEND="
-   pam? ( virtual/pam )
+   pam? ( sys-libs/pam )
pskc? ( dev-libs/xmlsec )"
 DEPEND="${RDEPEND}
test? ( dev-libs/libxml2 )



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-08-20 Thread Matt Turner
commit: 1ce5191ad8b5059d4323f0b6f19deefc6cfca21c
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 21 02:13:19 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 21 02:13:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce5191a

sys-auth/oath-toolkit-2.6.2: x86 stable

Signed-off-by: Matt Turner  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 28725920c26..1fd990ee3d1 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE="pam pskc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-06-21 Thread Agostino Sarubbo
commit: d2d6778e90118f433f5e1395c965760724a0cf14
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jun 21 08:01:52 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jun 21 08:01:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2d6778e

sys-auth/oath-toolkit: amd64 stable wrt bug #668844

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 7d27db3cc7a..28725920c26 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~x86"
 IUSE="pam pskc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-04-17 Thread Aaron Bauman
commit: 4f59cc3c10a57bd78e5f9fd371e3f550875be0f4
Author: Aaron Bauman  gentoo  org>
AuthorDate: Wed Apr 17 18:03:50 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed Apr 17 18:03:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f59cc3c

sys-auth/oath-toolkit: arm64 keyworded (bug #615400)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 6de83fa9ade..7d27db3cc7a 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE="pam pskc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-02-03 Thread Sergei Trofimovich
commit: 5d5aa3322f463623c7100202dce7fe8afd2ea2a7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Feb  3 18:54:25 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Feb  3 18:54:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5aa332

sys-auth/oath-toolkit: keyworded 2.6.2 for ppc64, bug #668278

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 5fccec15e71..6de83fa9ade 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc64 ~x86"
 IUSE="pam pskc test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2019-02-02 Thread Sergei Trofimovich
commit: 01df74eb09be15e0bc046525233de8c0a2a48f1d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 11:57:47 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 11:58:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01df74eb

sys-auth/oath-toolkit: fix USE=pskc for gcc-7, bug #618100

Propagate gcc-7 fix to all copies of intprops.h.

Reported-by: Francisco J. Vazquez
Closes: https://bugs.gentoo.org/618100
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 26a301c8849..5fccec15e71 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,6 +28,14 @@ PATCHES=(
 src_prepare() {
default
 
+   # Below files are verbatim copy. Effectively apply ${P}-gcc7.patch
+   # to all of them.
+   local s='oathtool/gl/intprops.h' d
+   for d in {liboath/gl/tests,libpskc/gl,pskctool/gl}/intprops.h; do
+   echo "Copy '${s}' to '${d}'"
+   cp "${s}" "${d}" || die
+   done
+
# These tests need git/cvs and don't reflect anything in the final app
sed -i -r \
-e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/files/, sys-auth/oath-toolkit/

2018-10-27 Thread Andreas Hüttel
commit: 05227fb8a49663681f233e0833f8ab0fd8f6e043
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Oct 27 20:17:11 2018 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Oct 27 20:17:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05227fb8

sys-auth/oath-toolkit: Add build fix for glibc-2.28, bug 669336

Closes: https://bugs.gentoo.org/669336
Signed-off-by: Andreas K. Hüttel  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../files/oath-toolkit-2.6.2-glibc228.patch| 100 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild|   7 +-
 2 files changed, 105 insertions(+), 2 deletions(-)

diff --git a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-glibc228.patch 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-glibc228.patch
new file mode 100644
index 000..c43f7aee0fe
--- /dev/null
+++ b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-glibc228.patch
@@ -0,0 +1,100 @@
+diff -ruN oath-toolkit-2.6.2.orig/liboath/gl/fseeko.c 
oath-toolkit-2.6.2/liboath/gl/fseeko.c
+--- oath-toolkit-2.6.2.orig/liboath/gl/fseeko.c2016-08-27 
13:15:06.0 +0200
 oath-toolkit-2.6.2/liboath/gl/fseeko.c 2018-10-27 22:07:53.836832404 
+0200
+@@ -1,18 +1,18 @@
+ /* An fseeko() function that, together with fflush(), is POSIX compliant.
+-   Copyright (C) 2007-2016 Free Software Foundation, Inc.
++   Copyright (C) 2007-2018 Free Software Foundation, Inc.
+ 
+This program is free software; you can redistribute it and/or modify
+-   it under the terms of the GNU Lesser General Public License as published by
+-   the Free Software Foundation; either version 2.1, or (at your option)
++   it under the terms of the GNU General Public License as published by
++   the Free Software Foundation; either version 2, or (at your option)
+any later version.
+ 
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+-   GNU Lesser General Public License for more details.
++   GNU General Public License for more details.
+ 
+-   You should have received a copy of the GNU Lesser General Public License 
along
+-   with this program; if not, see .  */
++   You should have received a copy of the GNU General Public License along
++   with this program; if not, see .  */
+ 
+ #include 
+ 
+@@ -33,9 +33,9 @@
+ #endif
+ #if _GL_WINDOWS_64_BIT_OFF_T
+ # undef fseeko
+-# if HAVE__FSEEKI64 /* msvc, mingw64 */
++# if HAVE__FSEEKI64 && HAVE_DECL__FSEEKI64 /* msvc, mingw since msvcrt8.0, 
mingw64 */
+ #  define fseeko _fseeki64
+-# else /* mingw */
++# else /* mingw before msvcrt8.0 */
+ #  define fseeko fseeko64
+ # endif
+ #endif
+@@ -47,12 +47,13 @@
+ #endif
+ 
+   /* These tests are based on fpurge.c.  */
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, 
Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
++  /* GNU libc, BeOS, Haiku, Linux libc5 */
+   if (fp->_IO_read_end == fp->_IO_read_ptr
+   && fp->_IO_write_ptr == fp->_IO_write_base
+   && fp->_IO_save_base == NULL)
+ #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
+-  /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
++  /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android 
*/
+ # if defined __SL64 && defined __SCLE /* Cygwin */
+   if ((fp->_flags & __SL64) == 0)
+ {
+@@ -80,7 +81,7 @@
+ #elif defined __minix   /* Minix */
+   if (fp_->_ptr == fp_->_buf
+   && (fp_->_ptr == NULL || fp_->_count == 0))
+-#elif defined _IOERR/* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, NonStop Kernel */
++#elif defined _IOERR/* AIX, HP-UX, IRIX, OSF/1, Solaris, 
OpenServer, mingw, MSVC, NonStop Kernel, OpenVMS */
+   if (fp_->_ptr == fp_->_base
+   && (fp_->_ptr == NULL || fp_->_cnt == 0))
+ #elif defined __UCLIBC__/* uClibc */
+@@ -117,18 +118,19 @@
+   if (pos == -1)
+ {
+ #if defined __sferror || defined __DragonFly__ || defined __ANDROID__
+-  /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
++  /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, 
Android */
+   fp_->_flags &= ~__SOFF;
+ #endif
+   return -1;
+ }
+ 
+-#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, 
Haiku, Linux libc5 */
++#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1
++  /* GNU libc, BeOS, Haiku, Linux libc5 */
+   fp->_flags &= ~_IO_EOF_SEEN;
+   fp->_offset = pos;
+ #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__
+-  /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Android */
+-# if defined __CYGWIN__ 

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/, sys-auth/oath-toolkit/files/

2018-03-26 Thread Robin H. Johnson
commit: c5757e21c174721dad7cedcf5a7a6642da4e1446
Author: Peter Levine  gmail  com>
AuthorDate: Mon Mar 26 02:52:17 2018 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Mar 26 19:14:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5757e21

sys-auth/oath-toolkit: Fix building with GCC-7

Bug: https://bugs.gentoo.org/618100
Closes: https://github.com/gentoo/gentoo/pull/7618
Package-Manager: Portage-2.3.16, Repoman-2.3.6
(cherry picked from commit 99a631bb82f619d2553354ca5a0cdf535d4d018b)
Signed-off-by: Robin H. Johnson  gentoo.org>

 .../files/oath-toolkit-2.6.2-gcc7.patch| 80 ++
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild|  5 +-
 2 files changed, 84 insertions(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch 
b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch
new file mode 100644
index 000..18a0a277940
--- /dev/null
+++ b/sys-auth/oath-toolkit/files/oath-toolkit-2.6.2-gcc7.patch
@@ -0,0 +1,80 @@
+Bug: https://bugs.gentoo.org/618100
+Cherry-picked from upstream commits: 
https://github.com/coreutils/gnulib/commit/175b4e22f99e00996b72f822f5ae54dca8243d19
+ 
https://github.com/coreutils/gnulib/commit/abae112b34572cd3869ce4fc81dddb5c2a7394c4
+
+--- a/oathtool/gl/intprops.h
 b/oathtool/gl/intprops.h
+@@ -23,6 +23,10 @@
+ #include 
+ #include 
+ 
++#ifndef __has_builtin
++# define __has_builtin(x) 0
++#endif
++
+ /* Return a value with the common real type of E and V and the value of V.  */
+ #define _GL_INT_CONVERT(e, v) (0 * (e) + (v))
+ 
+@@ -222,20 +226,24 @@
+? (a) < (min) >> (b) \
+: (max) >> (b) < (a))
+ 
+-/* True if __builtin_add_overflow (A, B, P) works when P is null.  */
+-#define _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL (7 <= __GNUC__)
++/* True if __builtin_add_overflow (A, B, P) works when P is non-null.  */
++#define _GL_HAS_BUILTIN_OVERFLOW \
++  (5 <= __GNUC__ || __has_builtin (__builtin_add_overflow))
++
++#define _GL_HAS_BUILTIN_OVERFLOW_P \
++  (7 <= __GNUC__ || __has_builtin (__builtin_add_overflow_p))
+ 
+ /* The _GL*_OVERFLOW macros have the same restrictions as the
+*_RANGE_OVERFLOW macros, except that they do not assume that operands
+(e.g., A and B) have the same type as MIN and MAX.  Instead, they assume
+that the result (e.g., A + B) has that type.  */
+-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
+-# define _GL_ADD_OVERFLOW(a, b, min, max)
+-   __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)
+-# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)
+-   __builtin_sub_overflow (a, b, (__typeof__ ((a) - (b)) *) 0)
+-# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)
+-   __builtin_mul_overflow (a, b, (__typeof__ ((a) * (b)) *) 0)
++#if _GL_HAS_BUILTIN_OVERFLOW_P
++# define _GL_ADD_OVERFLOW(a, b, min, max)   \
++   __builtin_add_overflow_p (a, b, (a) + (b))
++# define _GL_SUBTRACT_OVERFLOW(a, b, min, max)  \
++   __builtin_sub_overflow_p (a, b, (a) - (b))
++# define _GL_MULTIPLY_OVERFLOW(a, b, min, max)  \
++   __builtin_mul_overflow_p (a, b, (a) * (b))
+ #else
+ # define _GL_ADD_OVERFLOW(a, b, min, max)\
+((min) < 0 ? INT_ADD_RANGE_OVERFLOW (a, b, min, max)  \
+@@ -315,7 +323,7 @@
+   _GL_BINARY_OP_OVERFLOW (a, b, _GL_ADD_OVERFLOW)
+ #define INT_SUBTRACT_OVERFLOW(a, b) \
+   _GL_BINARY_OP_OVERFLOW (a, b, _GL_SUBTRACT_OVERFLOW)
+-#if _GL_HAS_BUILTIN_OVERFLOW_WITH_NULL
++#if _GL_HAS_BUILTIN_OVERFLOW || _GL_HAS_BUILTIN_OVERFLOW_P
+ # define INT_NEGATE_OVERFLOW(a) INT_SUBTRACT_OVERFLOW (0, a)
+ #else
+ # define INT_NEGATE_OVERFLOW(a) \
+@@ -349,10 +357,6 @@
+ #define INT_MULTIPLY_WRAPV(a, b, r) \
+   _GL_INT_OP_WRAPV (a, b, r, *, __builtin_mul_overflow, INT_MULTIPLY_OVERFLOW)
+ 
+-#ifndef __has_builtin
+-# define __has_builtin(x) 0
+-#endif
+-
+ /* Nonzero if this compiler has GCC bug 68193 or Clang bug 25390.  See:
+https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68193
+https://llvm.org/bugs/show_bug.cgi?id=25390
+@@ -369,7 +373,7 @@
+the operation.  BUILTIN is the builtin operation, and OVERFLOW the
+overflow predicate.  Return 1 if the result overflows.  See above
+for restrictions.  */
+-#if 5 <= __GNUC__ || __has_builtin (__builtin_add_overflow)
++#if _GL_HAS_BUILTIN_OVERFLOW
+ # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) builtin (a, b, r)
+ #elif 201112 <= __STDC_VERSION__ && !_GL__GENERIC_BOGUS
+ # define _GL_INT_OP_WRAPV(a, b, r, op, builtin, overflow) \

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 394a6ea3c5f..f3d38999c1e 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -20,7 +20,11 @@ DEPEND="${RDEPEND}
test? ( dev-libs/libxml2 )

[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2018-02-05 Thread Robin H. Johnson
commit: 3d39c2a5cff2b4768cebc4a8af958fd3b7d23dca
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Sun Feb  4 18:57:23 2018 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Mon Feb  5 22:15:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d39c2a5

sys-auth/oath-toolkit: remove dead HOMEPAGE

(cherry picked from commit 273a5ac37c0dd1e18af65d7a1c252185a3cc6f4a)
Signed-off-by: Robin H. Johnson  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/7073

 sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 4 ++--
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
index fe2bc6eed69..224c9094191 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
 inherit pam eutils autotools
 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
-HOMEPAGE="http://www.nongnu.org/oath-toolkit/ 
http://gitorious.org/oath-toolkit/;
+HOMEPAGE="http://www.nongnu.org/oath-toolkit/;
 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 7b695b0a62a..394a6ea3c5f 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 inherit pam eutils autotools
 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
-HOMEPAGE="http://www.nongnu.org/oath-toolkit/ 
http://gitorious.org/oath-toolkit/;
+HOMEPAGE="http://www.nongnu.org/oath-toolkit/;
 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
 LICENSE="GPL-3 LGPL-2.1"
 



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2017-11-25 Thread Patrick Lauer
commit: 119dacaf9b64dd456e262128711504a26f9a966b
Author: Patrick Lauer  gentoo  org>
AuthorDate: Sat Nov 25 14:37:52 2017 +
Commit: Patrick Lauer  gentoo  org>
CommitDate: Sat Nov 25 14:39:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119dacaf

sys-auth/oath-toolkit: Whitespace

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 3 ++-
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
index aaf6fa4b924..fe2bc6eed69 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
@@ -1,5 +1,6 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=5
 
 inherit pam eutils autotools

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
index 1b88006a6db..7b695b0a62a 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -1,5 +1,6 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=6
 
 inherit pam eutils autotools



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2017-02-01 Thread Robin H. Johnson
commit: 8d14d3d9d83bac85ca36a0eb1372f1d440c6a06c
Author: Zoltan Puskas  sinustrom  info>
AuthorDate: Wed Feb  1 06:38:50 2017 +
Commit: Robin H. Johnson  gentoo  org>
CommitDate: Wed Feb  1 22:49:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d14d3d9

sys-auth/oath-toolkit: Update to version 2.6.2

(cherry picked from commit c3879f88f49d45bb548681b4d90b683bb7394d94)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Fixes: https://github.com/gentoo/gentoo/pull/3758
Signed-off-by: Robin H. Johnson  gentoo.org>

 sys-auth/oath-toolkit/Manifest  |  1 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index d3d9253..8465e52 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1 +1,2 @@
 DIST oath-toolkit-2.6.1.tar.gz 4238966 SHA256 
9c57831907bc26eadcdf90ba1827d0bd962dd1f737362e817a1dd6d6ec036f79 SHA512 
59feadbc06d11a52bf5879493227c40358fc1f4f17ec3ff92e3a313e47b92f3154396fa3ff38ef163852b32c8bfcef1f59753b614d0138478b8f7e7971f55e62
 WHIRLPOOL 
4c32514c265f430272d255eb6557f3b3d434c1700d4f6a5c3607808ba761d182dde679f9248b486f9e3c45d402d902bf4863b630d3415529303b2013aabe0223
+DIST oath-toolkit-2.6.2.tar.gz 4295786 SHA256 
b03446fa4b549af5ebe4d35d7aba51163442d255660558cd861ebce536824aa0 SHA512 
201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb
 WHIRLPOOL 
7321ba452070a92d60453ca3b1cb2d9c886b9fcbe48dcf8e8f00485fed809274fd2c4f6eee7cdd86d83f6f512682c3642ffe991c996140a0121c6314faf4

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
new file mode 100644
index ..ca54179
--- /dev/null
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+inherit pam eutils autotools
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
+HOMEPAGE="http://www.nongnu.org/oath-toolkit/ 
http://gitorious.org/oath-toolkit/;
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
+LICENSE="GPL-3 LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pam pskc test"
+
+RDEPEND="
+   pam? ( virtual/pam )
+   pskc? ( dev-libs/xmlsec )"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/libxml2 )
+   dev-util/gtk-doc-am"
+
+src_prepare() {
+   # These tests need git/cvs and don't reflect anything in the final app
+   sed -i -r \
+   -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
+   gl/tests/Makefile.am
+   # disable portability warnings, caused by gtk-doc.make
+   sed -i \
+   -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \
+   {liboath,libpskc}/configure.ac
+   eautoreconf
+   default
+}
+
+src_configure() {
+   econf \
+   $(use_enable test xmltest ) \
+   $(use_enable pam) \
+   $(use_with pam pam-dir $(getpam_mod_dir)) \
+   $(use_enable pskc)
+}
+
+src_install() {
+   default
+   if use pam; then
+   newdoc pam_oath/README README.pam
+   fi
+   if use pskc; then
+   doman pskctool/pskctool.1
+   fi
+}
+
+src_test() {
+   # without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independant, this 
sucks.
+   emake --keep-going check
+   [ $? -ne 0 ] && die "At least one testsuite failed"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2016-11-27 Thread Aaron Bauman
commit: 9de7aebeb61e4653716952e82965fc8c713f7f7d
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Nov 27 22:39:38 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Nov 27 22:39:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de7aebe

sys-auth/oath-toolkit: remove vulnerable wrt sec bug #600520

 sys-auth/oath-toolkit/Manifest  |  1 -
 sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index a836879..d3d9253 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1,2 +1 @@
-DIST oath-toolkit-2.4.1.tar.gz 4136649 SHA256 
9bfa42cbc100eb6c43d2bf83e3badc51d9e6f4950a92e07513ae586d0c5e9b24 SHA512 
2a3440d5c97afef00dacd235d5471e8bf68086dfdb20234a894e7534d75670808fef444fe1062525800bc5ffe368898302e6cf250cd76b7238cd602d7d05e89b
 WHIRLPOOL 
f74dc524a6845054f0d3126ac3aca4ac8e5e70e108abc603622e8e73795e6cba81f3d39debca22a22c7c0f7aba133ec975acfbf8cf64a0b919f0ee1a802c
 DIST oath-toolkit-2.6.1.tar.gz 4238966 SHA256 
9c57831907bc26eadcdf90ba1827d0bd962dd1f737362e817a1dd6d6ec036f79 SHA512 
59feadbc06d11a52bf5879493227c40358fc1f4f17ec3ff92e3a313e47b92f3154396fa3ff38ef163852b32c8bfcef1f59753b614d0138478b8f7e7971f55e62
 WHIRLPOOL 
4c32514c265f430272d255eb6557f3b3d434c1700d4f6a5c3607808ba761d182dde679f9248b486f9e3c45d402d902bf4863b630d3415529303b2013aabe0223

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
deleted file mode 100644
index 131b04b..
--- a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-EAPI=5
-
-inherit pam eutils autotools
-DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
-HOMEPAGE="http://www.nongnu.org/oath-toolkit/ 
http://gitorious.org/oath-toolkit/;
-SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
-LICENSE="GPL-3 LGPL-2.1"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="pam pskc test"
-
-RDEPEND="
-   pam? ( virtual/pam )
-   pskc? ( dev-libs/xmlsec )"
-DEPEND="${RDEPEND}
-   test? ( dev-libs/libxml2 )
-   dev-util/gtk-doc-am"
-
-src_prepare() {
-   # These tests need git/cvs and don't reflect anything in the final app
-   sed -i -r \
-   -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
-   gl/tests/Makefile.am
-   # disable portability warnings, caused by gtk-doc.make
-   sed -i \
-   -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \
-   {liboath,libpskc}/configure.ac
-   eautoreconf
-   default
-}
-
-src_configure() {
-   econf \
-   $(use_enable test xmltest ) \
-   $(use_enable pam) \
-   $(use_with pam pam-dir $(getpam_mod_dir)) \
-   $(use_enable pskc)
-}
-
-src_install() {
-   default
-   if use pam; then
-   newdoc pam_oath/README README.pam
-   fi
-   if use pskc; then
-   doman pskctool/pskctool.1
-   fi
-}
-
-src_test() {
-   # without keep-going, it will bail out after the first testsuite 
failure,
-   # skipping the other testsuites. as they are mostly independant, this 
sucks.
-   emake --keep-going check
-   [ $? -ne 0 ] && die "At least one testsuite failed"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2015-10-26 Thread Sven Wegener
commit: 9a94f630e4b5ca5ed771b0ca665c6ec1c8d44944
Author: Sven Wegener  gentoo  org>
AuthorDate: Mon Oct 26 20:04:30 2015 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Mon Oct 26 20:05:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a94f630

sys-auth/oath-toolkit: Disable automake portability warnings, bug #545702

Signed-off-by: Sven Wegener  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
index a41e3dd..29c0e31 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
@@ -25,6 +25,10 @@ src_prepare() {
sed -i -r \
-e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
gl/tests/Makefile.am
+   # disable portability warnings, caused by gtk-doc.make
+   sed -i \
+   -e '/AM_INIT_AUTOMAKE/ s:-Werror:\0 -Wno-portability:' \
+   {liboath,libpskc}/configure.ac
eautoreconf
default
 }



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2015-10-26 Thread Sven Wegener
commit: 2a86069af450a5fc94ddacc69409becefa3018b4
Author: Sven Wegener  gentoo  org>
AuthorDate: Mon Oct 26 20:18:12 2015 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Mon Oct 26 20:19:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a86069a

sys-auth/oath-toolkit: Replace -Wall instead of -Werror

Signed-off-by: Sven Wegener  gentoo.org>

 sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
index 29c0e31..131b04b 100644
--- a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
@@ -27,7 +27,7 @@ src_prepare() {
gl/tests/Makefile.am
# disable portability warnings, caused by gtk-doc.make
sed -i \
-   -e '/AM_INIT_AUTOMAKE/ s:-Werror:\0 -Wno-portability:' \
+   -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \
{liboath,libpskc}/configure.ac
eautoreconf
default



[gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/

2015-10-26 Thread Sven Wegener
commit: 36625aa09597641918428449c73cfba530c3abd4
Author: Sven Wegener  gentoo  org>
AuthorDate: Mon Oct 26 20:18:36 2015 +
Commit: Sven Wegener  gentoo  org>
CommitDate: Mon Oct 26 20:19:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36625aa0

sys-auth/oath-toolkit: Version bump

Signed-off-by: Sven Wegener  gentoo.org>

 sys-auth/oath-toolkit/Manifest  |  1 +
 sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest
index 6841321..a836879 100644
--- a/sys-auth/oath-toolkit/Manifest
+++ b/sys-auth/oath-toolkit/Manifest
@@ -1 +1,2 @@
 DIST oath-toolkit-2.4.1.tar.gz 4136649 SHA256 
9bfa42cbc100eb6c43d2bf83e3badc51d9e6f4950a92e07513ae586d0c5e9b24 SHA512 
2a3440d5c97afef00dacd235d5471e8bf68086dfdb20234a894e7534d75670808fef444fe1062525800bc5ffe368898302e6cf250cd76b7238cd602d7d05e89b
 WHIRLPOOL 
f74dc524a6845054f0d3126ac3aca4ac8e5e70e108abc603622e8e73795e6cba81f3d39debca22a22c7c0f7aba133ec975acfbf8cf64a0b919f0ee1a802c
+DIST oath-toolkit-2.6.1.tar.gz 4238966 SHA256 
9c57831907bc26eadcdf90ba1827d0bd962dd1f737362e817a1dd6d6ec036f79 SHA512 
59feadbc06d11a52bf5879493227c40358fc1f4f17ec3ff92e3a313e47b92f3154396fa3ff38ef163852b32c8bfcef1f59753b614d0138478b8f7e7971f55e62
 WHIRLPOOL 
4c32514c265f430272d255eb6557f3b3d434c1700d4f6a5c3607808ba761d182dde679f9248b486f9e3c45d402d902bf4863b630d3415529303b2013aabe0223

diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild 
b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
new file mode 100644
index 000..131b04b
--- /dev/null
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=5
+
+inherit pam eutils autotools
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP 
algorithms"
+HOMEPAGE="http://www.nongnu.org/oath-toolkit/ 
http://gitorious.org/oath-toolkit/;
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz;
+LICENSE="GPL-3 LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pam pskc test"
+
+RDEPEND="
+   pam? ( virtual/pam )
+   pskc? ( dev-libs/xmlsec )"
+DEPEND="${RDEPEND}
+   test? ( dev-libs/libxml2 )
+   dev-util/gtk-doc-am"
+
+src_prepare() {
+   # These tests need git/cvs and don't reflect anything in the final app
+   sed -i -r \
+   -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
+   gl/tests/Makefile.am
+   # disable portability warnings, caused by gtk-doc.make
+   sed -i \
+   -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \
+   {liboath,libpskc}/configure.ac
+   eautoreconf
+   default
+}
+
+src_configure() {
+   econf \
+   $(use_enable test xmltest ) \
+   $(use_enable pam) \
+   $(use_with pam pam-dir $(getpam_mod_dir)) \
+   $(use_enable pskc)
+}
+
+src_install() {
+   default
+   if use pam; then
+   newdoc pam_oath/README README.pam
+   fi
+   if use pskc; then
+   doman pskctool/pskctool.1
+   fi
+}
+
+src_test() {
+   # without keep-going, it will bail out after the first testsuite 
failure,
+   # skipping the other testsuites. as they are mostly independant, this 
sucks.
+   emake --keep-going check
+   [ $? -ne 0 ] && die "At least one testsuite failed"
+}