diff options
Diffstat (limited to 'sys-auth/otpcalc')
-rw-r--r-- | sys-auth/otpcalc/Manifest | 7 | ||||
-rw-r--r-- | sys-auth/otpcalc/files/otpcalc.desktop | 8 | ||||
-rw-r--r-- | sys-auth/otpcalc/metadata.xml | 11 | ||||
-rw-r--r-- | sys-auth/otpcalc/otpcalc-0.97-r8.ebuild | 49 |
4 files changed, 75 insertions, 0 deletions
diff --git a/sys-auth/otpcalc/Manifest b/sys-auth/otpcalc/Manifest new file mode 100644 index 000000000000..b1a709c0e2a2 --- /dev/null +++ b/sys-auth/otpcalc/Manifest @@ -0,0 +1,7 @@ +AUX otpcalc.desktop 179 SHA256 2df9cf2f5c01c1ca4d67f066bf102cb795fb905d5111d69304afdb7077659f27 SHA512 dea60262e01c9e01a8f1abf45ddd0fb0cfa64ad1865a6693d923041e027f851fbc0f96be34392178e541c361a3c4f448091e744a87915ba04785f27f8c290d38 WHIRLPOOL 6fd3abdad0ca7950a976d34e1e47ac66dfaa50a70b8e78c3479f16cc1ab77ec42f4c9f6a8368bc6930888d59d0fed0596564e73317023d3294702c982e07d078 +DIST otpCalc-0.97.tar.gz 123704 SHA256 e2c19fa6178ed42f0576650db6f94942cac366feadf82c2a679b35197c65f745 SHA512 5d22bd01fe90b32801d6f1c5ac3105036c14ac8197dda3c8454974ec72830a5f8cd693bd0520a51defdb0a7c7703483770410ba560436168826f8b6133a2524f WHIRLPOOL f73c745e336e9196003869c76cbf30a69dd94fde2549a2cd3391de531b36e36504e4d5c779159f254c425f69381be3bae05f0cdd13a1a920d593f82db0052459 +DIST otpcalc-0.97-patches-1.tar.xz 4384 SHA256 596dc03c86ed1552f3527c0649a54a98727b237c79f094d69756b2dd25165706 SHA512 950b2df68acf377750710b0b9578b431b4aa745414a494b87062fffa559485cc4117bb08e68f22a79781047cfd2682082e30b1db81cddc5a3448bc285c5553bf WHIRLPOOL d6e6d541c5e1c30ea7aa160b86c05bfba1265f314141040cc345824184beb67ac6d4d9530e3b4175f09113712dc6a34bbb15a41caecb427a980c71e20e04da11 +EBUILD otpcalc-0.97-r8.ebuild 1074 SHA256 4fc533f373fae0334ea7785a62ca0100624f90535a577509bfe07fec77866107 SHA512 4ac5b89aca1be7c7cd2ee79af7ca44682e413722eddc2ed496ce3c1674dd2e2b55470b6d906cc45fe8bd188af5f9e23688baaa91f368bb3ea5b2541f455ffed3 WHIRLPOOL 56f1acd02193150dca2f63f48ed5705286158f43fa3b41e2ba571211de517cc6e084762f72043428b3059edb4db0e085cdbca678472951339a4502eaffe97215 +MISC ChangeLog 4310 SHA256 fe5b52268e810adb0414a435d8f5e49e3ffb464f11cc3191055d9df0371285df SHA512 c1a15514138fdfc8a9ac827b77bc1957e433e96469f7858f8247201ca7ac223972222278b905228bacdea6602d2c94c04ba12c2bcb57d817a231d3eb0558da5e WHIRLPOOL f9ac0226b8127adaa9f3fd14af9a76df7ac56ec4ce09e0f847428286ea39cf81746842071e48de1d187462f341734c786ba31c7f87406b6ede0ac525356b36bb +MISC ChangeLog-2015 7547 SHA256 b42f36ba9eeade794a7470540aba0e2fb5e66c74534f68d7b460aa699a15c7a1 SHA512 0ea2cefe7b816807969e3fc3ed4eb56c19edc68ab7e635544cfe56d41afb6a778b57570bf9e69bfce0ede7396936fbf076f223c755bbc89434192774041bfae7 WHIRLPOOL dae380ff3111362381a9caa29c0ecac82f101b34212c920d40fcef83783a2425ac7f480d2c3dde152bf1f541efdeb846d5d42db3dbd7ef370e6142626993ba4b +MISC metadata.xml 385 SHA256 39b8bd368dad071ec9c4488661e0433278e34fb9de8f823f7e42d947323acc4e SHA512 162a8cc6627c2a569d9f06b2073d23b5eb291da87c6117763d41e6b835409cdaed2f7b1035999581c0ab70814c8310feb3f7a11c736ffb6b9bc92c584f79d5ce WHIRLPOOL 3821b2a38ef5a4edf4d07def0051d956a6ba760058f9ec500f3cde924bd389cdd1598439f17003ff90a7cf5824cfd35a5eda2fb8639c3fa8ac46f6be73be1f05 diff --git a/sys-auth/otpcalc/files/otpcalc.desktop b/sys-auth/otpcalc/files/otpcalc.desktop new file mode 100644 index 000000000000..25c84065238f --- /dev/null +++ b/sys-auth/otpcalc/files/otpcalc.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=otpCalc +Comment=One Time Password and S/Key calculator +Icon=dialog-password +Exec=otpCalc +Categories=Utility;GTK;System;Security; diff --git a/sys-auth/otpcalc/metadata.xml b/sys-auth/otpcalc/metadata.xml new file mode 100644 index 000000000000..1135f79fb638 --- /dev/null +++ b/sys-auth/otpcalc/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>ulm@gentoo.org</email> +</maintainer> +<longdescription lang="en"> + otpCalc is an RFC2289 and RFC1760 compliant one time password calculator, + written to use the GTK+ library for screen I/O. +</longdescription> +</pkgmetadata> diff --git a/sys-auth/otpcalc/otpcalc-0.97-r8.ebuild b/sys-auth/otpcalc/otpcalc-0.97-r8.ebuild new file mode 100644 index 000000000000..5886ab3efd03 --- /dev/null +++ b/sys-auth/otpcalc/otpcalc-0.97-r8.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A One Time Password and S/Key calculator for X" +HOMEPAGE="http://killa.net/infosec/otpCalc/" +SRC_URI="http://killa.net/infosec/otpCalc/otpCalc-${PV}.tar.gz + https://dev.gentoo.org/~ulm/distfiles/${P}-patches-1.tar.xz" + +LICENSE="GPL-2+" # bundled crypto functions are not used +SLOT="0" +KEYWORDS="alpha amd64 ppc sparc x86" + +RDEPEND="x11-libs/gtk+:2 + dev-libs/openssl:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/otpCalc-${PV}" + +src_prepare() { + eapply ../patch + eapply_user + + # override hardcoded FLAGS + sed -i \ + -e 's:$(CC) $(CFLAGS) $^:$(CC) $(LDFLAGS) $(CFLAGS) $^:' \ + -e "s#-s -O3#${CFLAGS}#g" \ + Makefile.in || die + + tc-export CC +} + +src_compile() { + emake otpCalc otpCalc.1 +} + +src_install() { + dobin otpCalc + dosym otpCalc /usr/bin/otpcalc + doman otpCalc.1 + newman - otpcalc.1 <<< ".so man1/otpCalc.1" + insinto /usr/share/applications + doins "${FILESDIR}/${PN}.desktop" + dodoc BUGS ChangeLog TODO +} |