Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/dev/ulm:master commit in: sys-auth/otpcalc/
Date: Mon, 08 Feb 2021 18:03:56
Message-Id: 1612807415.0c29181b4e19f058de8982a913e31a14dd5e85ce.ulm@gentoo
1 commit: 0c29181b4e19f058de8982a913e31a14dd5e85ce
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 8 18:03:35 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 8 18:03:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/dev/ulm.git/commit/?id=0c29181b
7
8 sys-auth/otpcalc: Live ebuild
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
12
13 sys-auth/otpcalc/metadata.xml | 11 +++++++++++
14 sys-auth/otpcalc/otpcalc-9999.ebuild | 29 +++++++++++++++++++++++++++++
15 2 files changed, 40 insertions(+)
16
17 diff --git a/sys-auth/otpcalc/metadata.xml b/sys-auth/otpcalc/metadata.xml
18 new file mode 100644
19 index 0000000..1135f79
20 --- /dev/null
21 +++ b/sys-auth/otpcalc/metadata.xml
22 @@ -0,0 +1,11 @@
23 +<?xml version="1.0" encoding="UTF-8"?>
24 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 +<pkgmetadata>
26 +<maintainer type="person">
27 + <email>ulm@g.o</email>
28 +</maintainer>
29 +<longdescription lang="en">
30 + otpCalc is an RFC2289 and RFC1760 compliant one time password calculator,
31 + written to use the GTK+ library for screen I/O.
32 +</longdescription>
33 +</pkgmetadata>
34
35 diff --git a/sys-auth/otpcalc/otpcalc-9999.ebuild b/sys-auth/otpcalc/otpcalc-9999.ebuild
36 new file mode 100644
37 index 0000000..940ec69
38 --- /dev/null
39 +++ b/sys-auth/otpcalc/otpcalc-9999.ebuild
40 @@ -0,0 +1,29 @@
41 +# Copyright 1999-2021 Gentoo Authors
42 +# Distributed under the terms of the GNU General Public License v2
43 +
44 +EAPI=7
45 +
46 +inherit git-r3 meson
47 +
48 +DESCRIPTION="A One Time Password and S/Key calculator for X"
49 +HOMEPAGE="http://www.killa.net/infosec/otpCalc/"
50 +EGIT_REPO_URI="https://gitlab.com/ulm/otpcalc.git"
51 +
52 +LICENSE="GPL-2+" # bundled crypto functions are not used
53 +SLOT="0"
54 +
55 +RDEPEND="dev-libs/openssl:0=
56 + x11-libs/gtk+:3"
57 +DEPEND="${RDEPEND}"
58 +BDEPEND="virtual/pkgconfig"
59 +
60 +src_configure() {
61 + local emesonargs=( -Dlibcrypto=enabled )
62 + meson_src_configure
63 +}
64 +
65 +src_install() {
66 + meson_src_install
67 + dosym otpCalc /usr/bin/otpcalc
68 + newman - otpcalc.1 <<< ".so man1/otpCalc.1"
69 +}