From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id AF968138222 for ; Wed, 4 May 2016 01:02:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB1D1224066; Wed, 4 May 2016 01:02:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1573B224044 for ; Wed, 4 May 2016 01:02:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EC051340C30 for ; Wed, 4 May 2016 01:02:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57F36964 for ; Wed, 4 May 2016 01:02:18 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1462323104.b372beb51de84f4f5268c717c52e6aea6722bf37.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spread/files/, net-misc/spread/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/spread/files/spread.init.d net-misc/spread/spread-4.1.0-r1.ebuild net-misc/spread/spread-4.3.0-r1.ebuild X-VCS-Directories: net-misc/spread/files/ net-misc/spread/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: b372beb51de84f4f5268c717c52e6aea6722bf37 X-VCS-Branch: master Date: Wed, 4 May 2016 01:02:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 74606aeb-a587-4d43-977a-a2cd9ba86d06 X-Archives-Hash: 7150127123a5af4e59b7212419c067d4 commit: b372beb51de84f4f5268c717c52e6aea6722bf37 Author: Austin English gentoo org> AuthorDate: Wed May 4 00:51:44 2016 +0000 Commit: Austin English gentoo org> CommitDate: Wed May 4 00:51:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b372beb5 net-misc/spread: use #!/sbin/openrc-run instead of #!/sbin/runscript Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26 net-misc/spread/files/spread.init.d | 5 ++--- net-misc/spread/spread-4.1.0-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++ net-misc/spread/spread-4.3.0-r1.ebuild | 39 +++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+), 3 deletions(-) diff --git a/net-misc/spread/files/spread.init.d b/net-misc/spread/files/spread.init.d index b62ec6e..9d55184 100644 --- a/net-misc/spread/files/spread.init.d +++ b/net-misc/spread/files/spread.init.d @@ -1,8 +1,7 @@ -#!/sbin/runscript -# Copyright 1999-2014 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -# $Id$ depend() { need net diff --git a/net-misc/spread/spread-4.1.0-r1.ebuild b/net-misc/spread/spread-4.1.0-r1.ebuild new file mode 100644 index 0000000..67438ab --- /dev/null +++ b/net-misc/spread/spread-4.1.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 GPL-2" +SLOT="0" +KEYWORDS="x86 amd64" +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 + dodir /var/run/spread +} diff --git a/net-misc/spread/spread-4.3.0-r1.ebuild b/net-misc/spread/spread-4.3.0-r1.ebuild new file mode 100644 index 0000000..57978f7 --- /dev/null +++ b/net-misc/spread/spread-4.3.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +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 +}