Gentoo Archives: gentoo-commits

From: Joshua Kinard <kumba@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spread/
Date: Tue, 12 Feb 2019 06:57:09
Message-Id: 1549954533.e7c128de3c6dbf8454cb48fb204382133a88696a.kumba@gentoo
commit:     e7c128de3c6dbf8454cb48fb204382133a88696a
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 06:53:35 2019 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 06:55:33 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c128de

net-misc/spread: Add ebuild for 5.0.1

Add an ebuild for spread-5.0.1.  Appears to resolve Bug #535616.

Signed-off-by: Joshua Kinard <kumba <AT> gentoo.org>
Package-Manager: Portage-2.3.60, Repoman-2.3.12

 net-misc/spread/Manifest            |  1 +
 net-misc/spread/metadata.xml        |  5 ++++-
 net-misc/spread/spread-5.0.1.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/net-misc/spread/Manifest b/net-misc/spread/Manifest
index 73e0f24b48e..f5b0b17aba8 100644
--- a/net-misc/spread/Manifest
+++ b/net-misc/spread/Manifest
@@ -1,2 +1,3 @@
 DIST spread-src-4.1.0.tar.gz 641060 BLAKE2B a1f8f0c943385cd23301faf9f00553a922919fa50113789ce1c8a028d83645bc7fb32fd7e6e21f6073bfc32476c7dd28b885435285f9ac8bab0b3ea6e2949779 SHA512 6db3cf9760d483685bd23d32760f52b9af667fcf98341fad198b0831cc41cc839998dee59dee04426bf4db15700656fe90f4f457e2a3c6e449eb51b07fc18a6d
 DIST spread-src-4.3.0.tar.gz 745113 BLAKE2B 06fc28a0535fcf61e4dae8cb45ad0f5b4ba70cf12835966bebb27a635736764fdd33d24e6e7fe1433240fb9f6c6e9338631108a93cf9e21b2c58691f09c4e156 SHA512 7eb87e896a623accfe3f36c44ba55f8258d078ff9cdc141509456af4a069802f087edaeafcd356791337dbfb4d4f67b808a482ea54ac58aef8fb980cdbc6fea6
+DIST spread-src-5.0.1.tar.gz 803058 BLAKE2B b115675cb8ad89bfda7921d7ede0d168bfa833297a13cf5bba866505813fc255d3585b4a02e51409acda73597803ac691b0b6d329b189405004fce5505af7f1c SHA512 f57dbabb6e4d343434fe1c48bb8868cf601e22c599a520521a23c6dfa215b1d835fb2a7dc3b7cf124352060d12566c5f64114544428cc5a95e7899208379b115

diff --git a/net-misc/spread/metadata.xml b/net-misc/spread/metadata.xml
index 6f49eba8f49..269a11fe643 100644
--- a/net-misc/spread/metadata.xml
+++ b/net-misc/spread/metadata.xml
@@ -1,5 +1,8 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>kumba@g.o</email>
+		<name>Joshua Kinard</name>
+	</maintainer>
 </pkgmetadata>

diff --git a/net-misc/spread/spread-5.0.1.ebuild b/net-misc/spread/spread-5.0.1.ebuild
new file mode 100644
index 00000000000..b7526d4dcd1
--- /dev/null
+++ b/net-misc/spread/spread-5.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit user
+
+MY_PN="spread-src"
+
+DESCRIPTION="Distributed network messaging system"
+HOMEPAGE="http://www.spread.org"
+SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="Spread-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+pkg_setup() {
+	enewuser spread
+	enewgroup spread
+}
+
+src_prepare() {
+	default
+
+	# don't strip binaries
+	sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in
+}
+
+src_install() {
+	emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
+	newinitd "${FILESDIR}"/spread.init.d spread
+}