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 08:24:27
Message-Id: 1549959822.7d9edaec4b3b7e5e28cfbca16b1099ddd47c0d05.kumba@gentoo
commit:     7d9edaec4b3b7e5e28cfbca16b1099ddd47c0d05
Author:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 08:23:42 2019 +0000
Commit:     Joshua Kinard <kumba <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 08:23:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d9edaec

net-misc/spread: Add ebuild for 4.4.1

Add an ebuild for spread-4.4.1.  Also solves the compile error
identified in Bug #535616, but is a more viable candidate for
stabilization so 5.x can soak longer.

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/spread-4.4.1.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/net-misc/spread/Manifest b/net-misc/spread/Manifest
index f5b0b17aba8..a0fa39f6445 100644
--- a/net-misc/spread/Manifest
+++ b/net-misc/spread/Manifest
@@ -1,3 +1,4 @@
 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-4.4.1.tar.gz 760038 BLAKE2B 250e6347695f5f6e8047bf527c92baa3cfb6c44ce88ea08ff6ab066b937fab29531743133e73e155a5cc07109b1942efe46fd1d3b74202264a2e8ef0f518a0ad SHA512 19f3fe897e4a4bd68dffc7d28d7b99826bbcbb5c2f44eb18127ed486063594bfd788c03c8c338b9b329302659325fa84a9cbfee3f202a9970afb1a560bb6f496
 DIST spread-src-5.0.1.tar.gz 803058 BLAKE2B b115675cb8ad89bfda7921d7ede0d168bfa833297a13cf5bba866505813fc255d3585b4a02e51409acda73597803ac691b0b6d329b189405004fce5505af7f1c SHA512 f57dbabb6e4d343434fe1c48bb8868cf601e22c599a520521a23c6dfa215b1d835fb2a7dc3b7cf124352060d12566c5f64114544428cc5a95e7899208379b115

diff --git a/net-misc/spread/spread-4.4.1.ebuild b/net-misc/spread/spread-4.4.1.ebuild
new file mode 100644
index 00000000000..b7526d4dcd1
--- /dev/null
+++ b/net-misc/spread/spread-4.4.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
+}