summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-10-18 20:38:18 +0000
committerUlrich Müller <ulm@gentoo.org>2010-10-18 20:38:18 +0000
commitfd3819aa1ce69fc31b78df00ee083fa0a654100d (patch)
treecea30948978a732a7129ab214e1782967ec89808 /sys-auth
parentStable for HPPA (bug #323529). (diff)
downloadhistorical-fd3819aa1ce69fc31b78df00ee083fa0a654100d.tar.gz
historical-fd3819aa1ce69fc31b78df00ee083fa0a654100d.tar.bz2
historical-fd3819aa1ce69fc31b78df00ee083fa0a654100d.zip
Add "System" category to desktop entry to make desktop-file-validate happy.
Symlink otpCalc to otpcalc. Package-Manager: portage-2.1.9.19/cvs/Linux x86_64
Diffstat (limited to 'sys-auth')
-rw-r--r--sys-auth/otpcalc/ChangeLog9
-rw-r--r--sys-auth/otpcalc/Manifest14
-rw-r--r--sys-auth/otpcalc/files/otpcalc.desktop7
-rw-r--r--sys-auth/otpcalc/otpcalc-0.97-r5.ebuild55
4 files changed, 83 insertions, 2 deletions
diff --git a/sys-auth/otpcalc/ChangeLog b/sys-auth/otpcalc/ChangeLog
index 4b8decebf95e..3d504c3228f4 100644
--- a/sys-auth/otpcalc/ChangeLog
+++ b/sys-auth/otpcalc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-auth/otpcalc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/ChangeLog,v 1.9 2010/07/12 20:39:36 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/ChangeLog,v 1.10 2010/10/18 20:38:18 ulm Exp $
+
+*otpcalc-0.97-r5 (18 Oct 2010)
+
+ 18 Oct 2010; Ulrich Mueller <ulm@gentoo.org> +otpcalc-0.97-r5.ebuild,
+ +files/otpcalc.desktop:
+ Add "System" category to desktop entry to make desktop-file-validate happy.
+ Symlink otpCalc to otpcalc.
12 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
otpcalc-0.97-r4.ebuild:
diff --git a/sys-auth/otpcalc/Manifest b/sys-auth/otpcalc/Manifest
index c6b85e04cb07..95fa102e7ad2 100644
--- a/sys-auth/otpcalc/Manifest
+++ b/sys-auth/otpcalc/Manifest
@@ -1,10 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX otpcalc-0.97-badindex.diff 300 RMD160 7a4eb69a009df9d3666ce135a3fc9061284c6db6 SHA1 6ee616f85d942fcc1fb53633a9fb67ad55e64653 SHA256 e61ee91721e6accb7b54697619422f38bb961136462ef1a2342ba7ad11623703
AUX otpcalc-0.97-gtk2-gentoo.patch 2010 RMD160 859253c77a9f68e3f0fc048b579a0e4d6a5e6f1c SHA1 8e53b5bc316cdab11c3f2f99d3e8911b5b7d0b60 SHA256 edfabb39df8e1b82b084485cb5a9231956f0b22255f065624bb25fd73f4b7b82
AUX otpcalc-0.97-sha1-byteorder.patch 1578 RMD160 fc50f7b165f072165b9e7e141d73452f98e1bef0 SHA1 b4a860ed0f6074dc05a1d1753c8fbd5e80b137c3 SHA256 35c4996f4fd3cb21b588777aceb93e8b066e6eabdbf29e4516d1c7081b1e9000
AUX otpcalc-0.97-skey-md5.patch 561 RMD160 c41fb24165fd4d8ebdd8179ad78982be3d347ceb SHA1 d6012fca59ea4c28bd24166ae96f37827e0764b9 SHA256 454fbed7108b5585872eb3b9145f02a92401d875c099a5714c5241ad4d210d47
AUX otpcalc-crypto-proto.diff 528 RMD160 94792659215b7948befdf0032c1cfa03ca60dd92 SHA1 6e1f518c345d10fdb31b1f8c677c28f63e4b89ef SHA256 906d0b413d531fe2782c2ab4724a44ca856072895e2538a4e78d59929136a00d
AUX otpcalc-man-table-format.diff 507 RMD160 2eaf50bdd0f50f70ff1ddac7d56bcfaadc8be9d1 SHA1 4afa7d24ba6aa57c72765e2d09ebcf1fd1b9d567 SHA256 cec72cec708bf6edf75c6236d8811544a9258c2b2710c520ee2c6acb65a599dd
+AUX otpcalc.desktop 158 RMD160 20351999a974b6b874adaf4a18bd0345449f6e89 SHA1 bf597a535394b1ca3778df6380c168b6c930e202 SHA256 621d8d7340a8c5cd1d389f886783ae70a6de8588537ea4d71de467be4bee13b5
DIST otpCalc-0.97.tar.gz 123704 RMD160 0b7908f90fede73e23f25cb0ebd0f9e87393a2a2 SHA1 0ca443baf05ed491e49419345ec815256a822b8c SHA256 e2c19fa6178ed42f0576650db6f94942cac366feadf82c2a679b35197c65f745
EBUILD otpcalc-0.97-r4.ebuild 1648 RMD160 f24a16fe7ec702ea51e58a125791c3526b242473 SHA1 aeb347e9cbf02d65aa175944cc9f8d0e75c07e17 SHA256 b2ddd97031dbd5c654c4ede8fc9adc9903f864a87de784b8bc731a3f4f18c1ae
-MISC ChangeLog 4900 RMD160 bca759e4bd53fa687f1822c9d6831a891558d261 SHA1 56f55c2ac60d2d2f36d0d91e66e9dc5832d7d3c2 SHA256 2e4c87f432808c54c34f57337b5d9e2062642382856bad8ac435ff6991c976e1
+EBUILD otpcalc-0.97-r5.ebuild 1479 RMD160 b73b24ae4b29a9b2a58e4793cdc082bd968ae066 SHA1 cc5dc3119ed1a032008bdd2a0d8c2d61255c8e74 SHA256 b7237ed8a4b1e23cb7c3e64afd7eb5a423d5fcf5fa31a8670085af7b8713a5de
+MISC ChangeLog 5134 RMD160 38d405086f36b663100329d5c3f18e6b74fa512d SHA1 973b044fb1369dd79d5a3a666c91c9fa3537b0aa SHA256 66acde9ee66fb093d340207e6cae8fb3407e9794ed2501709fb932c8f069f326
MISC metadata.xml 392 RMD160 500534c054b9f912fb7b5742b23a9f65c97d69de SHA1 2b568d2d16c861ae39a99271da305945b79344bc SHA256 3a48ceb0870d309c72fcb1064dec7333e3dacd3abe2596c82dce780a5643fdcb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAky8sL4ACgkQOeoy/oIi7uyfJACgpLxAgH7tnbKy0AUL1rno+lhk
+PuAAnRu+qq4Pr0Mai4VvTC5YhvY7Hspy
+=Rqsc
+-----END PGP SIGNATURE-----
diff --git a/sys-auth/otpcalc/files/otpcalc.desktop b/sys-auth/otpcalc/files/otpcalc.desktop
new file mode 100644
index 000000000000..fbe3d98d3e3d
--- /dev/null
+++ b/sys-auth/otpcalc/files/otpcalc.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=otpCalc
+Comment=One Time Password and S/Key calculator
+Exec=otpCalc
+Categories=Utility;GTK;System;Security;
diff --git a/sys-auth/otpcalc/otpcalc-0.97-r5.ebuild b/sys-auth/otpcalc/otpcalc-0.97-r5.ebuild
new file mode 100644
index 000000000000..d998210ab48e
--- /dev/null
+++ b/sys-auth/otpcalc/otpcalc-0.97-r5.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/otpcalc/otpcalc-0.97-r5.ebuild,v 1.1 2010/10/18 20:38:18 ulm Exp $
+
+EAPI=3
+
+inherit eutils
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="=x11-libs/gtk+-2*
+ dev-libs/openssl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/otpCalc-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-man-table-format.diff"
+ epatch "${FILESDIR}/${P}-badindex.diff"
+ epatch "${FILESDIR}/${PN}-crypto-proto.diff"
+
+ # make it work with GTK+ 2
+ epatch "${FILESDIR}/${P}-gtk2-gentoo.patch"
+
+ # change default s/key hash to MD5 (same as sys-auth/skey)
+ epatch "${FILESDIR}/${P}-skey-md5.patch"
+
+ # fix SHA1 byte-order issue for conformance with RFC 2289
+ epatch "${FILESDIR}/${P}-sha1-byteorder.patch"
+
+ # print correct version in manpage
+ sed -i -e "s/VERSION/${PV}/g" otpCalc.man || die
+
+ # override hardcoded FLAGS
+ sed -i \
+ -e 's:$(CC) $(CFLAGS) $^:$(CC) $(LDFLAGS) $(CFLAGS) $^:' \
+ -e "s#-s -O3#${CFLAGS}#g" \
+ Makefile.in || die
+}
+
+src_install() {
+ dobin otpCalc || die
+ dosym otpCalc /usr/bin/otpcalc || die
+ newman otpCalc.man otpCalc.1 || die
+ domenu "${FILESDIR}/${PN}.desktop" || die
+ dodoc BUGS ChangeLog TODO || die
+}