From: Robin H. Johnson Date: Wed, 4 Mar 2015 06:42:29 +0000 (+0000) Subject: Add ebuild based on sunrise. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6b4ff27aebbe4d9a78d7504298ed7b5c78852a6c;p=gentoo.git Add ebuild based on sunrise. Package-Manager: portage-2.2.17/cvs/Linux x86_64 --- diff --git a/sys-auth/oath-toolkit/ChangeLog b/sys-auth/oath-toolkit/ChangeLog new file mode 100644 index 000000000000..c2bfd5789306 --- /dev/null +++ b/sys-auth/oath-toolkit/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sys-auth/oath-toolkit +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/oath-toolkit/ChangeLog,v 1.1 2015/03/04 06:42:24 robbat2 Exp $ + +*oath-toolkit-2.4.1 (04 Mar 2015) + + 04 Mar 2015; Robin H. Johnson +metadata.xml, + +oath-toolkit-2.4.1.ebuild: + Add ebuild based on sunrise. diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest new file mode 100644 index 000000000000..ecd84eaf2f3f --- /dev/null +++ b/sys-auth/oath-toolkit/Manifest @@ -0,0 +1,4 @@ +DIST oath-toolkit-2.4.1.tar.gz 4136649 SHA256 9bfa42cbc100eb6c43d2bf83e3badc51d9e6f4950a92e07513ae586d0c5e9b24 SHA512 2a3440d5c97afef00dacd235d5471e8bf68086dfdb20234a894e7534d75670808fef444fe1062525800bc5ffe368898302e6cf250cd76b7238cd602d7d05e89b WHIRLPOOL f74dc524a6845054f0d3126ac3a5555ca4ac8e5e70e108abc603622e8e73795e6cba81f3d39debca22a22c7c0f7aba133ec975acfbf8cf64a0b919f0ee1a802c +EBUILD oath-toolkit-2.4.1.ebuild 1436 SHA256 626ecff4ea7529b24c13d1b61ed463ac7e4e68bf3f1e57a83df547697c467abe SHA512 abef81708d4896a4c47fa4ccb295491dcd64050c797f0f29e7fb61fa7f99865b977523ca9b4b42d51ebf7742e0c4fb475c1eb390c81221fb87f0401939820884 WHIRLPOOL ff64881ea55bb24de4198628e638cc88e5748b8d9a21486116607781a0f27742e9a9b47b6baea9c1a53dec8c938eaa7ece7abfc184b74d63884e91c34bfa763a +MISC ChangeLog 380 SHA256 d8dd7ebd04c0761b5e824afe14210edf94188098416c6d9291b76025247eee10 SHA512 399ad4348c2b5de8bc6c6e5875b0e5d2394069467378869facdc1c379461d56e70ba0cd62d76354ba0236b9237ae3e6d83023b1c129b5352cd29305c602b2427 WHIRLPOOL 4dd0472c34196231b3d88267c481c88d90453279bbe9ed3d8d4cb6ab07c9a3caf3ab5de15c060822c595f84897d2612a6fc0a38d6588b49ff481c55b9bda6ced +MISC metadata.xml 448 SHA256 9d04f68d8c4d2f9f5044cfca9532d455a4287bba2965a0c6e157b8d4114704f8 SHA512 1a60422e5fbac112919897a49a736eeab639db1b3aafc863bab05667805c8f0b9ced77486cfa15209e8ed80ce22a4771c4048a1ff0e8373076b0757e87133385 WHIRLPOOL 3c391fe4f91dd1dd97561aef4bca96a08747007ab12bde591d7bb8075615dc49debeefb2b7c4229f244371deb52be814b9a0a61e46ae5f6512a56e24583332b1 diff --git a/sys-auth/oath-toolkit/metadata.xml b/sys-auth/oath-toolkit/metadata.xml new file mode 100644 index 000000000000..bcf4dec7aa6a --- /dev/null +++ b/sys-auth/oath-toolkit/metadata.xml @@ -0,0 +1,12 @@ + + + + + robbat2@gentoo.org + + sysadmin + + Build tools & library for the Portable Symmetric Key Container (PSKC) format per RFC6030 + Build PAM module for pluggable login authentication for OATH + + diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild new file mode 100644 index 000000000000..e6c0ac51922c --- /dev/null +++ b/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild,v 1.1 2015/03/04 06:42:24 robbat2 Exp $ +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 )" + +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 + 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" +}