summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/hashsum')
-rw-r--r--app-crypt/hashsum/ChangeLog9
-rw-r--r--app-crypt/hashsum/files/digest-hashsum-1.61
-rw-r--r--app-crypt/hashsum/hashsum-1.6.ebuild37
-rw-r--r--app-crypt/hashsum/metadata.xml6
4 files changed, 53 insertions, 0 deletions
diff --git a/app-crypt/hashsum/ChangeLog b/app-crypt/hashsum/ChangeLog
new file mode 100644
index 000000000000..e90e17112a49
--- /dev/null
+++ b/app-crypt/hashsum/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-crypt/hashsum
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashsum/ChangeLog,v 1.1 2004/08/25 11:52:09 hanno Exp $
+
+*hashsum-1.6 (25 Aug 2004)
+
+ 25 Aug 2004; Hanno Boeck <hanno@gentoo.org> +hashsum-1.6.ebuild:
+ User submitted ebuild by Lars Strojny <lars@strojny.net>.
+
diff --git a/app-crypt/hashsum/files/digest-hashsum-1.6 b/app-crypt/hashsum/files/digest-hashsum-1.6
new file mode 100644
index 000000000000..c87c56f599a4
--- /dev/null
+++ b/app-crypt/hashsum/files/digest-hashsum-1.6
@@ -0,0 +1 @@
+MD5 45d97b77096e60600ae84defe0605cad hashsum-1.6.tar.gz 752712
diff --git a/app-crypt/hashsum/hashsum-1.6.ebuild b/app-crypt/hashsum/hashsum-1.6.ebuild
new file mode 100644
index 000000000000..a6d597c111fe
--- /dev/null
+++ b/app-crypt/hashsum/hashsum-1.6.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashsum/hashsum-1.6.ebuild,v 1.1 2004/08/25 11:52:09 hanno Exp $
+
+DESCRIPTION="Command line tool for advanced hashing algorithms"
+HOMEPAGE="http://www.certainkey.com/resources/hashsum.php"
+SRC_URI="http://www.certainkey.com/resources/downloads/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+DEPEND="virtual/glibc"
+S=${WORKDIR}/${PN}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ dobin hashsum
+ dosym /usr/bin/hashsum /usr/bin/sha256sum
+ dosym /usr/bin/hashsum /usr/bin/sha384sum
+ dosym /usr/bin/hashsum /usr/bin/sha512sum
+ dosym /usr/bin/hashsum /usr/bin/ripemd160sum
+ # There are a heap of manpages. One for every sourcefile.
+ # But currently I see no other way but to use them all
+ # Maybe it should depend on whether USE="doc" is set or not
+ doman hashsum_docs/man/man3/*.3
+ if use doc ; then
+ insinto /usr/doc/${PF}/latex
+ doins hashsum_docs/latex/*.*
+ insinto /usr/doc/${PF}/html
+ doins hashsum_docs/html/*.*
+ insinto /usr/doc/${PF}/rtf
+ doins hashsum_docs//rtf/*.*
+ fi
+}
diff --git a/app-crypt/hashsum/metadata.xml b/app-crypt/hashsum/metadata.xml
new file mode 100644
index 000000000000..efa54454de71
--- /dev/null
+++ b/app-crypt/hashsum/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>hanno@gentoo.org</email></maintainer>
+</pkgmetadata>