summaryrefslogtreecommitdiff
path: root/net-misc/hashcash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/hashcash
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/hashcash')
-rw-r--r--net-misc/hashcash/Manifest5
-rw-r--r--net-misc/hashcash/hashcash-1.22-r1.ebuild32
-rw-r--r--net-misc/hashcash/metadata.xml5
3 files changed, 42 insertions, 0 deletions
diff --git a/net-misc/hashcash/Manifest b/net-misc/hashcash/Manifest
new file mode 100644
index 000000000000..c75ac44bfbb5
--- /dev/null
+++ b/net-misc/hashcash/Manifest
@@ -0,0 +1,5 @@
+DIST hashcash-1.22.tgz 195193 SHA256 0192f12d41ce4848e60384398c5ff83579b55710601c7bffe6c88bc56b547896 SHA512 b803c27df2acdce70c587d15d4158ca8841328fd89d90213a00be35f7c9f1905db728a785ee70fa43a4262dabe20c3f0a9fff381e3db0d44c3175ca22da5d5c2 WHIRLPOOL 2f353375e5462ad30a3feb549a02ee05e4003833c4c7f8175bb3f6c220fb80e70ed9a698f301e0e7e34cfe7106c8f0b63aff581a5326a880d613e54490bdfeb6
+EBUILD hashcash-1.22-r1.ebuild 680 SHA256 3e54cda17dc5dea43e7a3123a1e246254a92f72ac00520b6c570718672bfc3c7 SHA512 3569402fb73d99146994b9296d3aea50a690a4e3fe6b9fa41dc29166d5459000d4ff50cd7421fbf81a6c634b8a58b4325960d3e825e3eff569049f1d4dd6ecff WHIRLPOOL de9eb8515bedefe7d16461e5a257c6f2360a1108fe226341064a69746c094565b68398c1d311069ce627ec3b975a2b50b008be0092c5949c51ce1dad73f8059a
+MISC ChangeLog 2529 SHA256 a3a002c4c46076b139138c27857c66f5c89319ae8876f4851ec489fced40de1d SHA512 24d2ac75a6969530542e4d05e3e6ba4f3c6f7420aac05bbcd12c0d6c460e581895db6d9194d96bcd2a6a637867ce0d47b8052edfdf72f078b011177771eac062 WHIRLPOOL 97a6eb47646a37d53ff5c31476221afa2ca51f03e52716fdb2b2b669ff4a503a80828a5466d7cabdd73e91509741e968c4d190b8e655c0e8518f70edc11e15a2
+MISC ChangeLog-2015 2709 SHA256 14a4626c5d46c890b584196d536eefb5164e58885bc3967490d133c02a01ef1d SHA512 027baea583a7cec8aeaaedc8a197a2052aa2c957b0ddf3a19b0e4b14f8220ea4e3865151f5ab4403fa7dddb59a93e563a7bd105715b3404ae0966fbe0b960f57 WHIRLPOOL e06731f1502e34fde19b29fde79c700862dc858e19b614033999431c9db7e41ccd599dab8833d03128c41cf1db8672437961a04b3b7d365ed54fc5c761225f4f
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-misc/hashcash/hashcash-1.22-r1.ebuild b/net-misc/hashcash/hashcash-1.22-r1.ebuild
new file mode 100644
index 000000000000..156cc6f24f3b
--- /dev/null
+++ b/net-misc/hashcash/hashcash-1.22-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit eutils toolchain-funcs
+
+IUSE=""
+DESCRIPTION="Utility to generate hashcash tokens"
+HOMEPAGE="http://www.hashcash.org"
+SRC_URI="http://www.hashcash.org/source/${P}.tgz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "/COPT_GENERIC = -O3/d" Makefile || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" generic || die
+}
+
+src_install() {
+ dobin hashcash
+ doman hashcash.1
+ dodoc CHANGELOG
+ insinto /usr/share/doc/${PF}/examples
+ doins contrib/hashcash-{request,sendmail{,.txt}} \
+ contrib/hashfork.{c,py,txt}
+}
diff --git a/net-misc/hashcash/metadata.xml b/net-misc/hashcash/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-misc/hashcash/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>