summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2010-06-09 18:05:23 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2010-06-09 18:05:23 +0000
commitd06933ba955cde867784198df7ddb0138d1a6d7e (patch)
treef34807fdbaa75511bf198f2b594425f320f6a93a /app-crypt/hmaccalc
parentMask new app-crypt/hmaccalc temporarily. (diff)
downloadgentoo-2-d06933ba955cde867784198df7ddb0138d1a6d7e.tar.gz
gentoo-2-d06933ba955cde867784198df7ddb0138d1a6d7e.tar.bz2
gentoo-2-d06933ba955cde867784198df7ddb0138d1a6d7e.zip
Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>. Used for dracut kernel verification support.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/hmaccalc')
-rw-r--r--app-crypt/hmaccalc/ChangeLog11
-rw-r--r--app-crypt/hmaccalc/hmaccalc-0.9.12.ebuild30
-rw-r--r--app-crypt/hmaccalc/metadata.xml11
3 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/hmaccalc/ChangeLog b/app-crypt/hmaccalc/ChangeLog
new file mode 100644
index 000000000000..3925448a40ce
--- /dev/null
+++ b/app-crypt/hmaccalc/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-crypt/hmaccalc
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hmaccalc/ChangeLog,v 1.1 2010/06/09 18:05:23 robbat2 Exp $
+
+*hmaccalc-0.9.12 (09 Jun 2010)
+
+ 09 Jun 2010; Robin H. Johnson <robbat2@gentoo.org>
+ +hmaccalc-0.9.12.ebuild, +metadata.xml:
+ Initial commit, ebuild by Robin H. Johnson <robbat2@gentoo.org>. Used for
+ dracut kernel verification support.
+
diff --git a/app-crypt/hmaccalc/hmaccalc-0.9.12.ebuild b/app-crypt/hmaccalc/hmaccalc-0.9.12.ebuild
new file mode 100644
index 000000000000..a2c12164e189
--- /dev/null
+++ b/app-crypt/hmaccalc/hmaccalc-0.9.12.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hmaccalc/hmaccalc-0.9.12.ebuild,v 1.1 2010/06/09 18:05:23 robbat2 Exp $
+
+EAPI=3
+inherit eutils multilib
+
+DESCRIPTION="Tools for computing and checking HMAC values for files"
+HOMEPAGE="https://fedorahosted.org/hmaccalc/"
+SRC_URI="https://fedorahosted.org/released/hmaccalc/hmaccalc-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/nss
+ sys-devel/prelink"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf \
+ --enable-sum-directory=/usr/$(get_libdir)/${PN}/ \
+ || die "econf failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ dodoc README
+}
diff --git a/app-crypt/hmaccalc/metadata.xml b/app-crypt/hmaccalc/metadata.xml
new file mode 100644
index 000000000000..5e29d3c300e6
--- /dev/null
+++ b/app-crypt/hmaccalc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>crypto</herd>
+<longdescription>
+hmaccalc can be used to compute HMAC (hash-based message authentication code)
+values for files. An HMAC is similar in concept to a message digest, except in
+that its calculation also incorporates a key which must be known to both the
+party generating the HMAC and the party verifying the HMAC.
+</longdescription>
+</pkgmetadata>