summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Østergaard <kloeri@gentoo.org>2006-10-07 20:52:35 +0000
committerBryan Østergaard <kloeri@gentoo.org>2006-10-07 20:52:35 +0000
commit55eb2bcdd031b7789e0f5bb8082a16671f101c7c (patch)
tree659642a05105e666f1b1ed8a3b897e6cbc70257f /net-misc/hashcash
parentFix changelog entry. (diff)
downloadgentoo-2-55eb2bcdd031b7789e0f5bb8082a16671f101c7c.tar.gz
gentoo-2-55eb2bcdd031b7789e0f5bb8082a16671f101c7c.tar.bz2
gentoo-2-55eb2bcdd031b7789e0f5bb8082a16671f101c7c.zip
Don't overwrite CFLAGS, bug 145929.
(Portage version: 2.1.2_pre2-r3)
Diffstat (limited to 'net-misc/hashcash')
-rw-r--r--net-misc/hashcash/ChangeLog8
-rw-r--r--net-misc/hashcash/files/digest-hashcash-1.22-r13
-rw-r--r--net-misc/hashcash/hashcash-1.22-r1.ebuild35
3 files changed, 45 insertions, 1 deletions
diff --git a/net-misc/hashcash/ChangeLog b/net-misc/hashcash/ChangeLog
index b9728d4c3c5a..6aecabfec2ed 100644
--- a/net-misc/hashcash/ChangeLog
+++ b/net-misc/hashcash/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/hashcash
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/ChangeLog,v 1.16 2006/08/16 20:46:49 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/ChangeLog,v 1.17 2006/10/07 20:52:35 kloeri Exp $
+
+*hashcash-1.22-r1 (07 Oct 2006)
+
+ 07 Oct 2006; Bryan Østergaard <kloeri@gentoo.org>
+ +hashcash-1.22-r1.ebuild:
+ Don't overwrite CFLAGS, bug 145929.
16 Aug 2006; Bryan Østergaard <kloeri@gentoo.org>
-files/hashcash-1.16-format-string.diff, -hashcash-1.16-r1.ebuild:
diff --git a/net-misc/hashcash/files/digest-hashcash-1.22-r1 b/net-misc/hashcash/files/digest-hashcash-1.22-r1
new file mode 100644
index 000000000000..85b7bc457a35
--- /dev/null
+++ b/net-misc/hashcash/files/digest-hashcash-1.22-r1
@@ -0,0 +1,3 @@
+MD5 31fae207061841dffc7b90ee18e3d0fa hashcash-1.22.tgz 195193
+RMD160 60037d7feebb6ba3d57c900a811a46580bd567be hashcash-1.22.tgz 195193
+SHA256 0192f12d41ce4848e60384398c5ff83579b55710601c7bffe6c88bc56b547896 hashcash-1.22.tgz 195193
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..9c4e40d7ebc3
--- /dev/null
+++ b/net-misc/hashcash/hashcash-1.22-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/hashcash/hashcash-1.22-r1.ebuild,v 1.1 2006/10/07 20:52:35 kloeri Exp $
+
+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"
+
+DEPEND="virtual/libc"
+RDEPEND=""
+
+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}
+}