From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 789D0139085 for ; Wed, 1 Feb 2017 22:50:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9F5421C267; Wed, 1 Feb 2017 22:49:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC82521C267 for ; Wed, 1 Feb 2017 22:49:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC2B434106E for ; Wed, 1 Feb 2017 22:49:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 47F513DB0 for ; Wed, 1 Feb 2017 22:49:11 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1485989346.8d14d3d9d83bac85ca36a0eb1372f1d440c6a06c.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/oath-toolkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-auth/oath-toolkit/Manifest sys-auth/oath-toolkit/oath-toolkit-2.6.2.ebuild X-VCS-Directories: sys-auth/oath-toolkit/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 8d14d3d9d83bac85ca36a0eb1372f1d440c6a06c X-VCS-Branch: master Date: Wed, 1 Feb 2017 22:49:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4ae48d21-3add-47be-87fb-6dc5ceff1fd6 X-Archives-Hash: 2d794008648be10ebb5e356a818c7c22 commit: 8d14d3d9d83bac85ca36a0eb1372f1d440c6a06c Author: Zoltan Puskas sinustrom info> AuthorDate: Wed Feb 1 06:38:50 2017 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Wed Feb 1 22:49:06 2017 +0000 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 7321ba452070a92d60453ca3b1cb2d9c8ffff86b9fcbe48dcf8e8f00485fed809274fd2c4f6eee7cdd86d83f6f512682c3642ffe991c996140a0121c6314faf4 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 00000000..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" +}