1 |
commit: 36625aa09597641918428449c73cfba530c3abd4 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 20:18:36 2015 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 20:19:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36625aa0 |
7 |
|
8 |
sys-auth/oath-toolkit: Version bump |
9 |
|
10 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
11 |
|
12 |
sys-auth/oath-toolkit/Manifest | 1 + |
13 |
sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild | 59 +++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/sys-auth/oath-toolkit/Manifest b/sys-auth/oath-toolkit/Manifest |
17 |
index 6841321..a836879 100644 |
18 |
--- a/sys-auth/oath-toolkit/Manifest |
19 |
+++ b/sys-auth/oath-toolkit/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST oath-toolkit-2.4.1.tar.gz 4136649 SHA256 9bfa42cbc100eb6c43d2bf83e3badc51d9e6f4950a92e07513ae586d0c5e9b24 SHA512 2a3440d5c97afef00dacd235d5471e8bf68086dfdb20234a894e7534d75670808fef444fe1062525800bc5ffe368898302e6cf250cd76b7238cd602d7d05e89b WHIRLPOOL f74dc524a6845054f0d3126ac3a5555ca4ac8e5e70e108abc603622e8e73795e6cba81f3d39debca22a22c7c0f7aba133ec975acfbf8cf64a0b919f0ee1a802c |
22 |
+DIST oath-toolkit-2.6.1.tar.gz 4238966 SHA256 9c57831907bc26eadcdf90ba1827d0bd962dd1f737362e817a1dd6d6ec036f79 SHA512 59feadbc06d11a52bf5879493227c40358fc1f4f17ec3ff92e3a313e47b92f3154396fa3ff38ef163852b32c8bfcef1f59753b614d0138478b8f7e7971f55e62 WHIRLPOOL 4c32514c265f430272d255eb6557f3b3d434c1700d4f6a5c3607808ba761d182dde679f9248b486f9e3c45d402d902bf4863b630d3415529303b2013aabe0223 |
23 |
|
24 |
diff --git a/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..131b04b |
27 |
--- /dev/null |
28 |
+++ b/sys-auth/oath-toolkit/oath-toolkit-2.6.1.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2015 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit pam eutils autotools |
36 |
+DESCRIPTION="Toolkit for using one-time password authentication with HOTP/TOTP algorithms" |
37 |
+HOMEPAGE="http://www.nongnu.org/oath-toolkit/ http://gitorious.org/oath-toolkit/" |
38 |
+SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz" |
39 |
+LICENSE="GPL-3 LGPL-2.1" |
40 |
+ |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="pam pskc test" |
44 |
+ |
45 |
+RDEPEND=" |
46 |
+ pam? ( virtual/pam ) |
47 |
+ pskc? ( dev-libs/xmlsec )" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ test? ( dev-libs/libxml2 ) |
50 |
+ dev-util/gtk-doc-am" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ # These tests need git/cvs and don't reflect anything in the final app |
54 |
+ sed -i -r \ |
55 |
+ -e '/TESTS/s,test-vc-list-files-(git|cvs).sh,,g' \ |
56 |
+ gl/tests/Makefile.am |
57 |
+ # disable portability warnings, caused by gtk-doc.make |
58 |
+ sed -i \ |
59 |
+ -e '/AM_INIT_AUTOMAKE/ s:-Wall:\0 -Wno-portability:' \ |
60 |
+ {liboath,libpskc}/configure.ac |
61 |
+ eautoreconf |
62 |
+ default |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ econf \ |
67 |
+ $(use_enable test xmltest ) \ |
68 |
+ $(use_enable pam) \ |
69 |
+ $(use_with pam pam-dir $(getpam_mod_dir)) \ |
70 |
+ $(use_enable pskc) |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ default |
75 |
+ if use pam; then |
76 |
+ newdoc pam_oath/README README.pam |
77 |
+ fi |
78 |
+ if use pskc; then |
79 |
+ doman pskctool/pskctool.1 |
80 |
+ fi |
81 |
+} |
82 |
+ |
83 |
+src_test() { |
84 |
+ # without keep-going, it will bail out after the first testsuite failure, |
85 |
+ # skipping the other testsuites. as they are mostly independant, this sucks. |
86 |
+ emake --keep-going check |
87 |
+ [ $? -ne 0 ] && die "At least one testsuite failed" |
88 |
+} |