From 4cbcc855382a06088e2f016f62cafdbcb7e40665 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 20 Mar 2022 00:40:44 +0000 Subject: gentoo resync : 20.03.2022 --- sys-auth/oath-toolkit/Manifest | 2 +- sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild | 76 --------------------- sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild | 77 ++++++++++++++++++++++ 3 files changed, 78 insertions(+), 77 deletions(-) delete mode 100644 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild create mode 100644 sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild (limited to 'sys-auth/oath-toolkit') diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest index c156b5162dec..3a3b08bfd0aa 100644 --- a/sys-auth/oath-toolkit/Manifest +++ b/sys-auth/oath-toolkit/Manifest @@ -1,5 +1,5 @@ AUX oath-toolkit-2.6.2-gcc7.patch 3526 BLAKE2B 07966d96b4362cb7c271fa745cf9be843e14db9cade77768a9f31bbb0435c4f1f56c81464630871ad337213cbdc97ed0c1cf9ad9d261e29812984bab767c1eb1 SHA512 4bf9bc8e176861f044c55aab6c6cb48dcd7ac1d887f71f08475cc1e7f2b14cb04edc8417532613433af35687169667b073ea57556c85114e5a763a03443a85b9 AUX oath-toolkit-2.6.2-glibc228.patch 4786 BLAKE2B 7690a2b5249b7c668be5a516fa0a298d789ac4d259a27ea3b5c9d5a581990ebc2431074f7e7adcc61c03ce2e0979cfbd2220c4335959c3f4f7279e758b954451 SHA512 4d015bc760b9df074441f93cd94342aff595b5ad5215165d64c0557222123b821c791a87afcba15a3ce0acfbe6945d96330468673249f4a2b1dc1700ab9040b2 DIST oath-toolkit-2.6.2.tar.gz 4295786 BLAKE2B 2b97ab73339647b560b46373922095f18655a167b613b15d4ee2fd507d430025628d20eb111ff1d8025e78646b1d61d9680a7082caba1c75d247bb1d8b9b99dd SHA512 201a702a05a2e9fb3a66d04750e1a34e293342126caf02c344954a0d9fd0daafe73ca7f1fe273be129ae555a29b82b72fa2b4770ea2ad10711924e1926ec2cfb -EBUILD oath-toolkit-2.6.2-r1.ebuild 1928 BLAKE2B fcc30ec06a5485b696877c0c510759d726f171638c32e557c51a606f7a6e7a2198fe2c354983f1b109895b013f99a18eaa94f35ce8ff1df662bd83a0edf50731 SHA512 f3b771f609aaa430e069ef2c00c3681685d7f08e5d666648539f18d18a1103d2a49a6174bae2b7861bdbe9a16a1a77fe0295cbd7f6458dec726e83233e89fca5 +EBUILD oath-toolkit-2.6.2-r2.ebuild 1944 BLAKE2B 048416e6cdcb87215882df5da460784099f6247dc31cbdacd412e88e78097c4663113b0c88d85c67e12e0223e584eb9306277d092c44d2ad1551402fcd77bc60 SHA512 1c9bf05dc16f3a7047f0fa23782851ca1cd22cb16f2b0afc9017ad087d1f39b3a7c25469aad0a337e601c608c62302889961d166455e77a5faaa8261a6b706b1 MISC metadata.xml 561 BLAKE2B bbb397352031c8bd4114017cbbe3dc4b257ae4c2896dbf570aa87b3483b482c0995611870ca3eb20ada06a4c04f92a12c443ed4acf6ae41b8511552f4fe890d6 SHA512 667ba142904b9da897ab9598db9464c6ed567ab35dd73e631676e8da8bb64bcd27a275becf8361622200bbdb208fd5b8306476f99cf04f6e423591a24ed3865b diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild deleted file mode 100644 index e6e4f650cf44..000000000000 --- a/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -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" - -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc64 ~riscv x86" -IUSE="pam pskc static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - pam? ( sys-libs/pam ) - pskc? ( dev-libs/xmlsec )" -DEPEND="${RDEPEND} - test? ( dev-libs/libxml2 ) - dev-util/gtk-doc-am" - -PATCHES=( - "${FILESDIR}"/${P}-gcc7.patch - "${FILESDIR}"/${P}-glibc228.patch -) - -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' \ - 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 -} - -src_configure() { - econf \ - $(use_enable test xmltest ) \ - $(use_enable pam) \ - $(use_with pam pam-dir $(getpam_mod_dir)) \ - $(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 - 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" -} 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 new file mode 100644 index 000000000000..038be19846c7 --- /dev/null +++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.2-r2.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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" +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} + test? ( dev-libs/libxml2 ) + dev-util/gtk-doc-am" + +PATCHES=( + "${FILESDIR}"/${P}-gcc7.patch + "${FILESDIR}"/${P}-glibc228.patch +) + +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' \ + 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 +} + +src_configure() { + econf \ + $(use_enable test xmltest ) \ + $(use_enable pam) \ + $(use_with pam pam-dir $(getpam_mod_dir)) \ + $(use_enable pskc) \ + $(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 + if use pam; then + newdoc pam_oath/README README.pam + fi + if use pskc; then + doman pskctool/pskctool.1 + fi +} -- cgit v1.2.3