Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/otpcalc/
Date: Thu, 26 May 2016 22:21:22
Message-Id: 1464300952.03e2a51b850358c65eadf116dc1c707845e6f1db.ulm@gentoo
1 commit: 03e2a51b850358c65eadf116dc1c707845e6f1db
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 26 22:15:52 2016 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 22:15:52 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03e2a51b
7
8 sys-auth/otpcalc: Remove old.
9
10 Package-Manager: portage-2.3.0_rc1
11
12 sys-auth/otpcalc/otpcalc-0.97-r6.ebuild | 54 ---------------------------------
13 1 file changed, 54 deletions(-)
14
15 diff --git a/sys-auth/otpcalc/otpcalc-0.97-r6.ebuild b/sys-auth/otpcalc/otpcalc-0.97-r6.ebuild
16 deleted file mode 100644
17 index 7820ae8..0000000
18 --- a/sys-auth/otpcalc/otpcalc-0.97-r6.ebuild
19 +++ /dev/null
20 @@ -1,54 +0,0 @@
21 -# Copyright 1999-2013 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit eutils toolchain-funcs
28 -
29 -DESCRIPTION="A One Time Password and S/Key calculator for X"
30 -HOMEPAGE="http://killa.net/infosec/otpCalc/"
31 -SRC_URI="http://killa.net/infosec/otpCalc/otpCalc-${PV}.tar.gz"
32 -
33 -LICENSE="GPL-2+" # bundled crypto functions are not used
34 -SLOT="0"
35 -KEYWORDS="alpha amd64 ppc sparc x86"
36 -IUSE=""
37 -
38 -RDEPEND="x11-libs/gtk+:2
39 - dev-libs/openssl"
40 -DEPEND="${RDEPEND}
41 - virtual/pkgconfig"
42 -
43 -S="${WORKDIR}/otpCalc-${PV}"
44 -
45 -src_prepare() {
46 - epatch \
47 - "${FILESDIR}/${PN}-man-table-format.diff" \
48 - "${FILESDIR}/${P}-badindex.diff" \
49 - "${FILESDIR}/${PN}-crypto-proto.diff" \
50 - "${FILESDIR}/${P}-gtk2-gentoo.patch" \
51 - "${FILESDIR}/${P}-skey-md5.patch" \
52 - "${FILESDIR}/${P}-sha1-byteorder.patch" \
53 - "${FILESDIR}/${P}-gtk-deprecated.patch"
54 -
55 - # print correct version in manpage
56 - sed -i -e "s/VERSION/${PV}/g" otpCalc.man || die
57 -
58 - # override hardcoded FLAGS
59 - sed -i \
60 - -e 's:$(CC) $(CFLAGS) $^:$(CC) $(LDFLAGS) $(CFLAGS) $^:' \
61 - -e "s#-s -O3#${CFLAGS}#g" \
62 - Makefile.in || die
63 -
64 - tc-export CC
65 -}
66 -
67 -src_install() {
68 - dobin otpCalc
69 - dosym otpCalc /usr/bin/otpcalc
70 - newman otpCalc.man otpCalc.1
71 - newman - otpcalc.1 <<<".so man1/otpCalc.1"
72 - domenu "${FILESDIR}/${PN}.desktop"
73 - dodoc BUGS ChangeLog TODO
74 -}