commit: 6662e489efbe9cb6c9e9729f618f10ba01d78ea4 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 27 14:33:28 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 27 14:49:54 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6662e489
sys-auth/oath-toolkit: add 2.6.14 Closes: https://bugs.gentoo.org/969298 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-auth/oath-toolkit/Manifest | 2 + sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild | 97 ++++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest index 38dda54d8aab..a1b7ba5e666e 100644 --- a/sys-auth/oath-toolkit/Manifest +++ b/sys-auth/oath-toolkit/Manifest @@ -2,3 +2,5 @@ DIST oath-toolkit-2.6.12.tar.gz 4706950 BLAKE2B 8bd184fa7166bc35af3bd632d0dd24ae DIST oath-toolkit-2.6.12.tar.gz.sig 119 BLAKE2B df754a883094db112552e7617997a9b9875dc0f73d19f18e9faa1244049817e54ec6e7101510aa7ebfce9d17f6fcdd8250f328252c084781b0e64db09fdd61f8 SHA512 1596132d6e88f3c0f4af8b8ac57815d448d05af51f3f276b9dd3ba4d41d1a95f2d6ba726f1963e63d4d2aa967cfc0d08983b61ff62454f1355e5e67206a09f82 DIST oath-toolkit-2.6.13.tar.gz 3847530 BLAKE2B 055014039c611c382ba1cf902482c22df765636e7393e0a3f5acb0811a6be55b6b9dc7fc269d31705081bf02c240589d4fecdeb79fd151082a902e09597e7303 SHA512 f3a50ac88c5dfc8889260a08516c23cb116fe9c2805aa6deb9cc2cfe202a75fb8f8fc5da6ff70815419c34dee41d006ef3383b40000eef19e08641a3cccf330d DIST oath-toolkit-2.6.13.tar.gz.sig 1223 BLAKE2B 725c5ad7baace7e5088d6614bc90f94abd961ba0cd1bacb8af817c148d0c16daab72afbad2a1943f6a9fa23f57df7da62ef7fdd9e13677b694d00ab5c92aea42 SHA512 c4ce3d2ff6ff29e0ac68e12e2157cf0fbeec9fb52f57998067febf55b5d21760c0c8f0e525e95cb790d1fb726ccfee9ede5342b898829cad73a1edc06aab569a +DIST oath-toolkit-2.6.14.tar.gz 3883488 BLAKE2B 0d20e9d60350268080abd245b47bd84ae426a0007cba8af049994a1f6a5f9153220a570f3ff93432a8c369e8becc342011cea46cf3c75cad2e3f8a70107af2e3 SHA512 8d474c0d71193e8e7cc9b24fc3767630dc087bad70b084c61fca853785d89f29ed542ac016b8034d79a54b9ea36fed7ccddd5b2b7c581dca0f101062cb2878f0 +DIST oath-toolkit-2.6.14.tar.gz.sig 854 BLAKE2B f0db16bedcd731a3f25d26bb2a303fc2bef91e5fdfedc24cd0e5ae7c6c2ec19bd0d68f2931632cb3bcad279cccf4e400b70439d1b1715ef3c373792d7e8cd32d SHA512 e0130f6573ac18fc9b7c8a38d9e5790e801aa57132b4c38756d077f358988dba689bb9a0f542363c17d2b49abc75821f559cee06f5ed5dcb13fd52b4ce264e30 diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild new file mode 100644 index 000000000000..acd4c9520616 --- /dev/null +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.14.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/oath-toolkit.asc +inherit libtool pam verify-sig + +DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms" +HOMEPAGE="https://oath-toolkit.codeberg.page/" +SRC_URI=" + https://codeberg.org/oath-toolkit/oath-toolkit/releases/download/v${PV}/${P}.tar.gz + mirror://nongnu/${PN}/${P}.tar.gz + verify-sig? ( + https://codeberg.org/oath-toolkit/oath-toolkit/releases/download/v${PV}/${P}.tar.gz.sig + mirror://nongnu/${PN}/${P}.tar.gz.sig + ) +" + +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/libxml2:= + dev-libs/xmlsec:= + pam? ( sys-libs/pam ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-build/gtk-doc-am + test? ( dev-libs/libxml2 ) + verify-sig? ( sec-keys/openpgp-keys-oath-toolkit ) +" + +# fpurge is from gnulib, and unused as of 2.6.11 +QA_CONFIG_IMPL_DECL_SKIP=( + MIN # glibc fp + alignof + fpurge + static_assert + unreachable +) + +src_prepare() { + default + + elibtoolize + + # upstream has a gdoc.mk, which declares that Makefile.am -> Makefile.in has a rebuild rule on: + # $(top_builddir)/configure + # which is baffling and also totally breaks elibtoolize. Munge the timestamps into forgetting about this. + #touch */man/Makefile.gdoc */man/Makefile.in || die + + # After patching, we have to fix the mtime on libpskc/global.c so + # that it doesn't cause Makefile.gdoc to be rebuilt so that it + # doesn't cause Makefile.in to be rebuilt so that it doesn't try to + # run automake-1.16.5 for no reason. Bug 936309. + touch --reference=libpskc/errors.c libpskc/global.c || die +} + +src_configure() { + local myeconfargs=( + --cache-file="${S}"/config.cache + --enable-pskc + --disable-valgrind-tests + $(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 -k, it will bail out after the first testsuite failure, + # skipping the other testsuites. as they are mostly independent, this sucks. + emake -k 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 +}
