Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/oath-toolkit: metadata.xml oath-toolkit-2.4.1.ebuild ChangeLog
Date: Wed, 04 Mar 2015 06:42:30
Message-Id: 20150304064224.67E301300C@oystercatcher.gentoo.org
1 robbat2 15/03/04 06:42:24
2
3 Added: metadata.xml oath-toolkit-2.4.1.ebuild ChangeLog
4 Log:
5 Add ebuild based on sunrise.
6
7 (Portage version: 2.2.17/cvs/Linux x86_64, unsigned Manifest commit)
8
9 Revision Changes Path
10 1.1 sys-auth/oath-toolkit/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>robbat2@g.o</email>
22 </maintainer>
23 <herd>sysadmin</herd>
24 <use>
25 <flag name="pskc">Build tools &amp; library for the Portable Symmetric Key Container (PSKC) format per RFC6030</flag>
26 <flag name="pam">Build PAM module for pluggable login authentication for OATH</flag>
27 </use>
28 </pkgmetadata>
29
30
31
32 1.1 sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild
33
34 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/oath-toolkit-2.4.1.ebuild?rev=1.1&content-type=text/plain
36
37 Index: oath-toolkit-2.4.1.ebuild
38 ===================================================================
39 # Copyright 1999-2015 Gentoo Foundation
40 # Distributed under the terms of the GNU General Public License v2
41 # $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 $
42 EAPI=5
43
44 inherit pam eutils autotools
45 DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms"
46 HOMEPAGE="http://www.nongnu.org/oath-toolkit/ http://gitorious.org/oath-toolkit/"
47 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
48 LICENSE="GPL-3 LGPL-2.1"
49
50 SLOT="0"
51 KEYWORDS="~amd64 ~x86"
52 IUSE="pam pskc test"
53
54 RDEPEND="
55 pam? ( virtual/pam )
56 pskc? ( dev-libs/xmlsec )"
57 DEPEND="${RDEPEND}
58 test? ( dev-libs/libxml2 )"
59
60 src_prepare() {
61 # These tests need git/cvs and don't reflect anything in the final app
62 sed -i -r \
63 -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \
64 gl/tests/Makefile.am
65 eautoreconf
66 default
67 }
68
69 src_configure() {
70 econf \
71 $(use_enable test xmltest ) \
72 $(use_enable pam) \
73 $(use_with pam pam-dir $(getpam_mod_dir)) \
74 $(use_enable pskc)
75 }
76
77 src_install() {
78 default
79 if use pam; then
80 newdoc pam_oath/README README.pam
81 fi
82 if use pskc; then
83 doman pskctool/pskctool.1
84 fi
85 }
86
87 src_test() {
88 # without keep-going, it will bail out after the first testsuite failure,
89 # skipping the other testsuites. as they are mostly independant, this sucks.
90 emake --keep-going check
91 [ $? -ne 0 ] && die "At least one testsuite failed"
92 }
93
94
95
96 1.1 sys-auth/oath-toolkit/ChangeLog
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/ChangeLog?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-auth/oath-toolkit/ChangeLog?rev=1.1&content-type=text/plain
100
101 Index: ChangeLog
102 ===================================================================
103 # ChangeLog for sys-auth/oath-toolkit
104 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
105 # $Header: /var/cvsroot/gentoo-x86/sys-auth/oath-toolkit/ChangeLog,v 1.1 2015/03/04 06:42:24 robbat2 Exp $
106
107 *oath-toolkit-2.4.1 (04 Mar 2015)
108
109 04 Mar 2015; Robin H. Johnson <robbat2@g.o> +metadata.xml,
110 +oath-toolkit-2.4.1.ebuild:
111 Add ebuild based on sunrise.