Gentoo Archives: gentoo-commits

From: "Tom Wijsman (tomwij)" <tomwij@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/replicatorg: replicatorg-37-r2.ebuild replicatorg-40-r1.ebuild ChangeLog replicatorg-37-r1.ebuild replicatorg-40.ebuild
Date: Sun, 30 Jun 2013 20:16:32
Message-Id: 20130630201628.055AF2171C@flycatcher.gentoo.org
1 tomwij 13/06/30 20:16:27
2
3 Modified: ChangeLog
4 Added: replicatorg-37-r2.ebuild replicatorg-40-r1.ebuild
5 Removed: replicatorg-37-r1.ebuild replicatorg-40.ebuild
6 Log:
7 Remove sun-jdk and sun-jre-bin from reverse dependencies. For security bug #473830 reported by Agostino Sarubbo.
8
9 (Portage version: 2.1.12.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 6D34E57D)
10
11 Revision Changes Path
12 1.4 media-gfx/replicatorg/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 2 Jan 2013 04:47:51 -0000 1.3
25 +++ ChangeLog 30 Jun 2013 20:16:27 -0000 1.4
26 @@ -1,6 +1,14 @@
27 # ChangeLog for media-gfx/replicatorg
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/ChangeLog,v 1.3 2013/01/02 04:47:51 mattm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/ChangeLog,v 1.4 2013/06/30 20:16:27 tomwij Exp $
31 +
32 +*replicatorg-37-r2 (30 Jun 2013)
33 +*replicatorg-40-r1 (30 Jun 2013)
34 +
35 + 30 Jun 2013; Tom Wijsman <TomWij@g.o> +replicatorg-37-r2.ebuild,
36 + +replicatorg-40-r1.ebuild, -replicatorg-37-r1.ebuild, -replicatorg-40.ebuild:
37 + Remove sun-jdk and sun-jre-bin from reverse dependencies. For security bug
38 + #473830 reported by Agostino Sarubbo.
39
40 *replicatorg-40 (02 Jan 2013)
41
42
43
44
45 1.1 media-gfx/replicatorg/replicatorg-37-r2.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-37-r2.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-37-r2.ebuild?rev=1.1&content-type=text/plain
49
50 Index: replicatorg-37-r2.ebuild
51 ===================================================================
52 # Copyright 1999-2013 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/replicatorg-37-r2.ebuild,v 1.1 2013/06/30 20:16:27 tomwij Exp $
55
56 EAPI="3"
57
58 inherit eutils versionator
59
60 MY_P="${PN}-00${PV}"
61
62 DESCRIPTION="ReplicatorG is a simple, open source 3D printing program"
63 HOMEPAGE="http://replicat.org/start"
64 SRC_URI="http://replicatorg.googlecode.com/files/${MY_P}-linux.tgz"
65
66 SLOT="0"
67 LICENSE="GPL-2"
68 KEYWORDS="~amd64 ~x86"
69
70 IUSE=""
71
72 COMMON_DEPEND="dev-java/oracle-jre-bin"
73 RDEPEND="${COMMON_DEPEND}"
74 DEPEND="${COMMON_DEPEND}"
75
76 S="${WORKDIR}/${MY_P}"
77
78 pkg_setup() {
79 enewgroup replicator
80 }
81
82 pkg_postinst() {
83 elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
84 elog
85 elog "Ensure that your user account has permissions to access serial port,"
86 elog "if you plan to connect directly to a 3d printer rather than using"
87 elog "a flash card. Printing directly from replicatorg is preferred."
88 elog
89 elog "The replicator printer will likely show up in /dev as ttyACM0."
90 elog "You may want to autoload the cdc_acm kernel module."
91 elog
92 elog "Note that replicatorg includes its own version of skeinforge."
93 elog "There doesn't seem to be a simple way to depend on an external"
94 elog "version."
95 elog
96 elog "Replicatorg users should add themselves to the replicator group"
97 elog "to avoid upstream warnings about not being able to modify shared"
98 elog "skeinforge scripts."
99 elog
100 chmod -R g+w "${ROOT}"/opt/replicatorg
101 chown -R root:replicator "${ROOT}"/opt/replicatorg
102 chmod 0755 /opt/replicatorg
103 }
104
105 src_install() {
106 dodir \
107 /opt/replicatorg \
108 /usr/share/replicatorg
109
110 keepdir \
111 /opt/replicatorg \
112 /usr/share/replicatorg
113
114 dobin "${FILESDIR}"/replicatorg
115
116 /bin/cp -R --preserve=mode \
117 docs \
118 examples \
119 lib \
120 lib-i686 \
121 lib-x86_64 \
122 machines \
123 scripts \
124 replicatorg \
125 skein_engines \
126 tools \
127 "${D}"/opt/replicatorg/
128
129 insinto /usr/share/replicatorg
130 doins -r \
131 contributors.txt \
132 license.txt \
133 readme.txt \
134 todo.txt
135
136 }
137
138
139
140 1.1 media-gfx/replicatorg/replicatorg-40-r1.ebuild
141
142 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-40-r1.ebuild?rev=1.1&view=markup
143 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/replicatorg/replicatorg-40-r1.ebuild?rev=1.1&content-type=text/plain
144
145 Index: replicatorg-40-r1.ebuild
146 ===================================================================
147 # Copyright 1999-2013 Gentoo Foundation
148 # Distributed under the terms of the GNU General Public License v2
149 # $Header: /var/cvsroot/gentoo-x86/media-gfx/replicatorg/replicatorg-40-r1.ebuild,v 1.1 2013/06/30 20:16:27 tomwij Exp $
150
151 EAPI="3"
152
153 inherit eutils versionator
154
155 MY_P="${PN}-00${PV}"
156
157 DESCRIPTION="ReplicatorG is a simple, open source 3D printing program"
158 HOMEPAGE="http://replicat.org/start"
159 SRC_URI="http://replicatorg.googlecode.com/files/${MY_P}-linux.tgz"
160
161 SLOT="0"
162 LICENSE="GPL-2"
163 KEYWORDS=""
164
165 IUSE=""
166
167 COMMON_DEPEND="dev-java/oracle-jre-bin"
168 RDEPEND="${COMMON_DEPEND}"
169 DEPEND="${COMMON_DEPEND}"
170
171 S="${WORKDIR}/${MY_P}"
172
173 pkg_setup() {
174 enewgroup replicator
175 }
176
177 pkg_postinst() {
178 elog "Replicatorg requires Sun/Oracle JRE and will not work with OpenJDK."
179 elog
180 elog "Ensure that your user account has permissions to access serial port,"
181 elog "if you plan to connect directly to a 3d printer rather than using"
182 elog "a flash card. Printing directly from replicatorg is preferred."
183 elog
184 elog "The replicator printer will likely show up in /dev as ttyACM0."
185 elog "You may want to autoload the cdc_acm kernel module."
186 elog
187 elog "Note that replicatorg includes its own version of skeinforge."
188 elog "There doesn't seem to be a simple way to depend on an external"
189 elog "version."
190 elog
191 elog "Replicatorg users should add themselves to the replicator group"
192 elog "to avoid upstream warnings about not being able to modify shared"
193 elog "skeinforge scripts."
194 elog
195 chmod -R g+w "${ROOT}"/opt/replicatorg
196 chown -R root:replicator "${ROOT}"/opt/replicatorg
197 chmod 0755 /opt/replicatorg
198 }
199
200 src_install() {
201 dodir \
202 /opt/replicatorg \
203 /usr/share/replicatorg
204
205 keepdir \
206 /opt/replicatorg \
207 /usr/share/replicatorg
208
209 dobin "${FILESDIR}"/replicatorg
210
211 /bin/cp -R --preserve=mode \
212 docs \
213 examples \
214 lib \
215 lib-i686 \
216 lib-x86_64 \
217 machines \
218 scripts \
219 replicatorg \
220 skein_engines \
221 tools \
222 "${D}"/opt/replicatorg/
223
224 insinto /usr/share/replicatorg
225 doins -r \
226 contributors.txt \
227 license.txt \
228 readme.txt \
229 todo.txt
230
231 }