public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/hashcash/, profiles/
@ 2019-10-11 13:48 Joonas Niilola
  0 siblings, 0 replies; only message in thread
From: Joonas Niilola @ 2019-10-11 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ae4e8079f3294c323eaf059c52b3faaf85cd4243
Author:     Gergely Nagy <ngg <AT> ngg <DOT> hu>
AuthorDate: Thu Oct 10 18:51:31 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Oct 11 13:48:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae4e8079

net-misc/hashcash: update to EAPI=7

Also add myself as proxy-maintainer and remove the mask
entry from the EAPI=0 list.

Bug: https://bugs.gentoo.org/696252
Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
Closes: https://github.com/gentoo/gentoo/pull/13187
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/hashcash/hashcash-1.22-r2.ebuild | 37 +++++++++++++++++++++++++++++++
 net-misc/hashcash/metadata.xml            |  9 +++++++-
 profiles/package.mask                     |  1 -
 3 files changed, 45 insertions(+), 2 deletions(-)

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 00000000000..4c5088b4ca5
--- /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 6f49eba8f49..d49539b4f66 100644
--- a/net-misc/hashcash/metadata.xml
+++ b/net-misc/hashcash/metadata.xml
@@ -1,5 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+  <maintainer type="person">
+    <email>ngg@ngg.hu</email>
+    <name>Gergely Nagy</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
 </pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index 10637a73425..f7db2d7f22e 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-11 13:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 13:48 [gentoo-commits] repo/gentoo:master commit in: net-misc/hashcash/, profiles/ Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox