Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/spread/files/, net-misc/spread/
Date: Wed, 04 May 2016 01:02:56
Message-Id: 1462323104.b372beb51de84f4f5268c717c52e6aea6722bf37.wizardedit@gentoo
1 commit: b372beb51de84f4f5268c717c52e6aea6722bf37
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 4 00:51:44 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:51:44 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b372beb5
7
8 net-misc/spread: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Package-Manager: portage-2.2.26
13
14 net-misc/spread/files/spread.init.d | 5 ++---
15 net-misc/spread/spread-4.1.0-r1.ebuild | 40 ++++++++++++++++++++++++++++++++++
16 net-misc/spread/spread-4.3.0-r1.ebuild | 39 +++++++++++++++++++++++++++++++++
17 3 files changed, 81 insertions(+), 3 deletions(-)
18
19 diff --git a/net-misc/spread/files/spread.init.d b/net-misc/spread/files/spread.init.d
20 index b62ec6e..9d55184 100644
21 --- a/net-misc/spread/files/spread.init.d
22 +++ b/net-misc/spread/files/spread.init.d
23 @@ -1,8 +1,7 @@
24 -#!/sbin/runscript
25 -# Copyright 1999-2014 Gentoo Foundation
26 +#!/sbin/openrc-run
27 +# Copyright 1999-2016 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 # $Id$
30 -# $Id$
31
32 depend() {
33 need net
34
35 diff --git a/net-misc/spread/spread-4.1.0-r1.ebuild b/net-misc/spread/spread-4.1.0-r1.ebuild
36 new file mode 100644
37 index 0000000..67438ab
38 --- /dev/null
39 +++ b/net-misc/spread/spread-4.1.0-r1.ebuild
40 @@ -0,0 +1,40 @@
41 +# Copyright 1999-2016 Gentoo Foundation
42 +# Distributed under the terms of the GNU General Public License v2
43 +# $Id$
44 +
45 +EAPI="6"
46 +inherit user
47 +
48 +MY_PN="spread-src"
49 +
50 +DESCRIPTION="Distributed network messaging system"
51 +HOMEPAGE="http://www.spread.org"
52 +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
53 +
54 +LICENSE="Spread-1.0 GPL-2"
55 +SLOT="0"
56 +KEYWORDS="x86 amd64"
57 +IUSE=""
58 +
59 +DEPEND=""
60 +RDEPEND="${DEPEND}"
61 +
62 +S="${WORKDIR}/${MY_PN}-${PV}"
63 +
64 +pkg_setup() {
65 + enewuser spread
66 + enewgroup spread
67 +}
68 +
69 +src_prepare() {
70 + default
71 +
72 + # don't strip binaries
73 + sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in
74 +}
75 +
76 +src_install() {
77 + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
78 + newinitd "${FILESDIR}"/spread.init.d spread
79 + dodir /var/run/spread
80 +}
81
82 diff --git a/net-misc/spread/spread-4.3.0-r1.ebuild b/net-misc/spread/spread-4.3.0-r1.ebuild
83 new file mode 100644
84 index 0000000..57978f7
85 --- /dev/null
86 +++ b/net-misc/spread/spread-4.3.0-r1.ebuild
87 @@ -0,0 +1,39 @@
88 +# Copyright 1999-2016 Gentoo Foundation
89 +# Distributed under the terms of the GNU General Public License v2
90 +# $Id$
91 +
92 +EAPI="6"
93 +inherit user
94 +
95 +MY_PN="spread-src"
96 +
97 +DESCRIPTION="Distributed network messaging system"
98 +HOMEPAGE="http://www.spread.org"
99 +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
100 +
101 +LICENSE="Spread-1.0 GPL-2"
102 +SLOT="0"
103 +KEYWORDS="~x86 ~amd64"
104 +IUSE=""
105 +
106 +DEPEND=""
107 +RDEPEND="${DEPEND}"
108 +
109 +S="${WORKDIR}/${MY_PN}-${PV}"
110 +
111 +pkg_setup() {
112 + enewuser spread
113 + enewgroup spread
114 +}
115 +
116 +src_prepare() {
117 + default
118 +
119 + # don't strip binaries
120 + sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in
121 +}
122 +
123 +src_install() {
124 + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install
125 + newinitd "${FILESDIR}"/spread.init.d spread
126 +}