diff --git a/net-misc/hashcash/hashcash-1.22-r2.ebuild b/net-misc/hashcash/hashcash-1.22-r2.ebuild new file mode 100644 index 0000000000000..4c5088b4ca5cb --- /dev/null +++ b/net-misc/hashcash/hashcash-1.22-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +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" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_prepare() { + default + 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 index 6f49eba8f4969..d49539b4f6617 100644 --- a/net-misc/hashcash/metadata.xml +++ b/net-misc/hashcash/metadata.xml @@ -1,5 +1,12 @@ - + + ngg@ngg.hu + Gergely Nagy + + + proxy-maint@gentoo.org + Proxy Maintainers + diff --git a/profiles/package.mask b/profiles/package.mask index 10637a73425e9..f7db2d7f22e34 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -115,7 +115,6 @@ net-mail/yosucker net-misc/cgterm net-misc/clockspeed-conf net-misc/fmirror -net-misc/hashcash net-misc/ng-utils net-misc/sendfile net-news/yencode