1 |
commit: 640400b381e157e6da8d3797dccea28bb9b09ea8 |
2 |
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jan 3 02:10:02 2012 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 02:10:02 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=640400b3 |
7 |
|
8 |
move dependency for xrootd from main tree |
9 |
|
10 |
--- |
11 |
sci-physics/xrootd/ChangeLog | 26 -------- |
12 |
sci-physics/xrootd/files/cmsd.initd | 30 --------- |
13 |
sci-physics/xrootd/files/frm_purged.initd | 30 --------- |
14 |
sci-physics/xrootd/files/frm_xfrd.initd | 30 --------- |
15 |
sci-physics/xrootd/files/xrootd.confd | 21 ------ |
16 |
sci-physics/xrootd/files/xrootd.initd | 28 --------- |
17 |
sci-physics/xrootd/metadata.xml | 15 ----- |
18 |
sci-physics/xrootd/xrootd-3.1.0.ebuild | 95 ----------------------------- |
19 |
8 files changed, 0 insertions(+), 275 deletions(-) |
20 |
|
21 |
diff --git a/sci-physics/xrootd/ChangeLog b/sci-physics/xrootd/ChangeLog |
22 |
deleted file mode 100644 |
23 |
index 127144e..0000000 |
24 |
--- a/sci-physics/xrootd/ChangeLog |
25 |
+++ /dev/null |
26 |
@@ -1,26 +0,0 @@ |
27 |
-# ChangeLog for sci-physics/xrootd |
28 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: $ |
30 |
- |
31 |
-*xrootd-3.1.0 (03 Dec 2011) |
32 |
- |
33 |
- 03 Dec 2011; Andrew Savchenko <bircoph@×××××.com> +xrootd-3.1.0.ebuild, |
34 |
- +files/cmsd.initd, +files/frm_purged.initd, +files/frm_xfrd.initd, |
35 |
- +files/xrootd.confd, +files/xrootd.initd, +metadata.xml: |
36 |
- XRootD isn't really a new program in this overlay. It was |
37 |
- previously bundled within sci-physics/root, but now it is unbundled |
38 |
- upstream and needs to be installed as a separate package in order |
39 |
- to be used from ROOT. |
40 |
- |
41 |
- Aside from standard xrootd distribution, this ebuild may install |
42 |
- useful pdf documentation from the official web site. |
43 |
- |
44 |
- Program was tested on ~x86 and ~amd64 with some basic setup, though |
45 |
- no real production tests were done. Please note, that xrootd and |
46 |
- accompany daemons do not work with root privileges any longer, so |
47 |
- special xrootd user was used. |
48 |
- |
49 |
- Another note: all daemons MUST use the same config (-c |
50 |
- /etc/xrootd/your._config), that's why there is only one conf.d file |
51 |
- for all four daemons. |
52 |
- |
53 |
|
54 |
diff --git a/sci-physics/xrootd/files/cmsd.initd b/sci-physics/xrootd/files/cmsd.initd |
55 |
deleted file mode 100644 |
56 |
index 105bd55..0000000 |
57 |
--- a/sci-physics/xrootd/files/cmsd.initd |
58 |
+++ /dev/null |
59 |
@@ -1,30 +0,0 @@ |
60 |
-#!/sbin/runscript |
61 |
-# Copyright 1999-2011 Gentoo Foundation |
62 |
-# Distributed under the terms of the GNU General Public License v2 |
63 |
-# $Header: $ |
64 |
- |
65 |
-source /etc/conf.d/xrootd |
66 |
- |
67 |
-depend() { |
68 |
- need net |
69 |
- use logger dns |
70 |
- provide root-file-server |
71 |
-} |
72 |
- |
73 |
-start() { |
74 |
- ebegin "Starting Cluster Management Service daemon" |
75 |
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |
76 |
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \ |
77 |
- --exec /usr/bin/${RC_SVCNAME} --background -- \ |
78 |
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \ |
79 |
- ${CMSD_OPTS} |
80 |
- eend $? |
81 |
-} |
82 |
- |
83 |
-stop() { |
84 |
- ebegin "Stopping Cluster Management Service daemon" |
85 |
- start-stop-daemon --stop --quiet \ |
86 |
- --pidfile /var/run/${RC_SVCNAME}.pid \ |
87 |
- --exec /usr/bin/${RC_SVCNAME} |
88 |
- eend $? |
89 |
-} |
90 |
|
91 |
diff --git a/sci-physics/xrootd/files/frm_purged.initd b/sci-physics/xrootd/files/frm_purged.initd |
92 |
deleted file mode 100644 |
93 |
index 1e1f2c8..0000000 |
94 |
--- a/sci-physics/xrootd/files/frm_purged.initd |
95 |
+++ /dev/null |
96 |
@@ -1,30 +0,0 @@ |
97 |
-#!/sbin/runscript |
98 |
-# Copyright 1999-2011 Gentoo Foundation |
99 |
-# Distributed under the terms of the GNU General Public License v2 |
100 |
-# $Header: $ |
101 |
- |
102 |
-source /etc/conf.d/xrootd |
103 |
- |
104 |
-depend() { |
105 |
- need net |
106 |
- use logger dns |
107 |
- provide root-file-server |
108 |
-} |
109 |
- |
110 |
-start() { |
111 |
- ebegin "Starting File Residency Manager purge daemon" |
112 |
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |
113 |
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \ |
114 |
- --exec /usr/bin/${RC_SVCNAME} --background -- \ |
115 |
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \ |
116 |
- ${FRM_PURGED_OPTS} |
117 |
- eend $? |
118 |
-} |
119 |
- |
120 |
-stop() { |
121 |
- ebegin "Stopping File Residency Manager purge daemon" |
122 |
- start-stop-daemon --stop --quiet \ |
123 |
- --pidfile /var/run/${RC_SVCNAME}.pid \ |
124 |
- --exec /usr/bin/${RC_SVCNAME} |
125 |
- eend $? |
126 |
-} |
127 |
|
128 |
diff --git a/sci-physics/xrootd/files/frm_xfrd.initd b/sci-physics/xrootd/files/frm_xfrd.initd |
129 |
deleted file mode 100644 |
130 |
index 68da1cb..0000000 |
131 |
--- a/sci-physics/xrootd/files/frm_xfrd.initd |
132 |
+++ /dev/null |
133 |
@@ -1,30 +0,0 @@ |
134 |
-#!/sbin/runscript |
135 |
-# Copyright 1999-2011 Gentoo Foundation |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
-# $Header: $ |
138 |
- |
139 |
-source /etc/conf.d/xrootd |
140 |
- |
141 |
-depend() { |
142 |
- need net |
143 |
- use logger dns |
144 |
- provide root-file-server |
145 |
-} |
146 |
- |
147 |
-start() { |
148 |
- ebegin "Starting File Residency Manager transfer daemon" |
149 |
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |
150 |
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \ |
151 |
- --exec /usr/bin/${RC_SVCNAME} --background -- \ |
152 |
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \ |
153 |
- ${FRM_XFRD_OPTS} |
154 |
- eend $? |
155 |
-} |
156 |
- |
157 |
-stop() { |
158 |
- ebegin "Stopping File Residency Manager transfer daemon" |
159 |
- start-stop-daemon --stop --quiet \ |
160 |
- --pidfile /var/run/${RC_SVCNAME}.pid \ |
161 |
- --exec /usr/bin/${RC_SVCNAME} |
162 |
- eend $? |
163 |
-} |
164 |
|
165 |
diff --git a/sci-physics/xrootd/files/xrootd.confd b/sci-physics/xrootd/files/xrootd.confd |
166 |
deleted file mode 100644 |
167 |
index 0e847e5..0000000 |
168 |
--- a/sci-physics/xrootd/files/xrootd.confd |
169 |
+++ /dev/null |
170 |
@@ -1,21 +0,0 @@ |
171 |
-# conf.d file for xroot, cmsd, frm_purged, frm_xfrd daemons |
172 |
- |
173 |
-# User to run as, please note that: |
174 |
-# 1) daemons will refuse to run as root; |
175 |
-# 2) several dirs must be created with an appropriate permissions |
176 |
-# and ownership, so be careful when changing default 'xrootd' user. |
177 |
-XROOTD_USER="xrootd" |
178 |
- |
179 |
-# Configuration file MUST be the same for all four daemons. |
180 |
-# See /etc/xrootd for available simple defaults. |
181 |
-XROOTD_CONF="/etc/xrootd/xrootd-clustered.cfg" |
182 |
- |
183 |
-# Logdir for all daemons |
184 |
-XROOTD_LOGDIR="/var/log/xrootd" |
185 |
- |
186 |
-# Additional options for each daemon, please refer to their |
187 |
-# documentation for details |
188 |
-XROOTD_OPTS="" |
189 |
-CMSD_OPTS="" |
190 |
-FRM_PURGED="" |
191 |
-FRM_XFRD="" |
192 |
|
193 |
diff --git a/sci-physics/xrootd/files/xrootd.initd b/sci-physics/xrootd/files/xrootd.initd |
194 |
deleted file mode 100644 |
195 |
index 64992b7..0000000 |
196 |
--- a/sci-physics/xrootd/files/xrootd.initd |
197 |
+++ /dev/null |
198 |
@@ -1,28 +0,0 @@ |
199 |
-#!/sbin/runscript |
200 |
-# Copyright 1999-2011 Gentoo Foundation |
201 |
-# Distributed under the terms of the GNU General Public License v2 |
202 |
-# $Header: $ |
203 |
- |
204 |
-depend() { |
205 |
- need net |
206 |
- use logger dns |
207 |
- provide root-file-server |
208 |
-} |
209 |
- |
210 |
-start() { |
211 |
- ebegin "Starting extended ROOTD file server" |
212 |
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |
213 |
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \ |
214 |
- --exec /usr/bin/${RC_SVCNAME} --background -- \ |
215 |
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \ |
216 |
- ${XROOTD_OPTS} |
217 |
- eend $? |
218 |
-} |
219 |
- |
220 |
-stop() { |
221 |
- ebegin "Stopping extended ROOTD file server" |
222 |
- start-stop-daemon --stop --quiet \ |
223 |
- --pidfile /var/run/${RC_SVCNAME}.pid \ |
224 |
- --exec /usr/bin/${RC_SVCNAME} |
225 |
- eend $? |
226 |
-} |
227 |
|
228 |
diff --git a/sci-physics/xrootd/metadata.xml b/sci-physics/xrootd/metadata.xml |
229 |
deleted file mode 100644 |
230 |
index fbfe13f..0000000 |
231 |
--- a/sci-physics/xrootd/metadata.xml |
232 |
+++ /dev/null |
233 |
@@ -1,15 +0,0 @@ |
234 |
-<?xml version="1.0" encoding="UTF-8"?> |
235 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
236 |
-<pkgmetadata> |
237 |
- <herd>sci-physics</herd> |
238 |
- <longdescription lang="en"> |
239 |
- XROOTD software framework is a fully generic suite for fast, low latency and |
240 |
- scalable data access, which can serve natively any kind of data, organized as |
241 |
- a hierarchical filesystem-like namespace, based on the concept of directory. |
242 |
- It is usually used with <pkg>sci-physics/root</pkg> and its PROOF facilities |
243 |
- for cluster computing in high energy physics. |
244 |
- </longdescription> |
245 |
- <use> |
246 |
- <flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag> |
247 |
- </use> |
248 |
-</pkgmetadata> |
249 |
|
250 |
diff --git a/sci-physics/xrootd/xrootd-3.1.0.ebuild b/sci-physics/xrootd/xrootd-3.1.0.ebuild |
251 |
deleted file mode 100644 |
252 |
index 405697f..0000000 |
253 |
--- a/sci-physics/xrootd/xrootd-3.1.0.ebuild |
254 |
+++ /dev/null |
255 |
@@ -1,95 +0,0 @@ |
256 |
-# Copyright 1999-2011 Gentoo Foundation |
257 |
-# Distributed under the terms of the GNU General Public License v2 |
258 |
-# $Header: $ |
259 |
- |
260 |
-EAPI=4 |
261 |
- |
262 |
-inherit cmake-utils eutils |
263 |
- |
264 |
-DURI="http://xrootd.slac.stanford.edu/doc/prod" |
265 |
- |
266 |
-DESCRIPTION="XRootD is a scalable ROOT remote file server" |
267 |
-HOMEPAGE="http://xrootd.slac.stanford.edu/index.html" |
268 |
-SRC_URI="http://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz |
269 |
- doc? ( |
270 |
- ${DURI}/Syntax_config.pdf |
271 |
- ${DURI}/xrd_config.pdf |
272 |
- ${DURI}/ofs_config.pdf |
273 |
- ${DURI}/cms_config.pdf |
274 |
- ${DURI}/sec_config.pdf |
275 |
- ${DURI}/xrd_monitoring.pdf |
276 |
- ${DURI}/frm_config.pdf |
277 |
- ${DURI}/XRdv297.pdf |
278 |
- )" |
279 |
- |
280 |
-LICENSE="xrootd" |
281 |
-SLOT="0" |
282 |
-KEYWORDS="~amd64 ~x86" |
283 |
-IUSE="doc fuse kerberos perl readline ssl" |
284 |
- |
285 |
-RDEPEND=" |
286 |
- !<sci-physics/root-5.32 |
287 |
- sys-libs/zlib |
288 |
- fuse? ( sys-fs/fuse ) |
289 |
- kerberos? ( virtual/krb5 ) |
290 |
- perl? ( |
291 |
- dev-lang/perl |
292 |
- readline? ( dev-perl/Term-ReadLine-Perl ) |
293 |
- ) |
294 |
- readline? ( sys-libs/readline ) |
295 |
- ssl? ( dev-libs/openssl ) |
296 |
-" |
297 |
-DEPEND="${RDEPEND} |
298 |
- perl? ( dev-lang/swig )" |
299 |
- |
300 |
-pkg_setup() { |
301 |
- enewgroup xrootd |
302 |
- enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |
303 |
-} |
304 |
- |
305 |
-src_configure() { |
306 |
- mycmakeargs=( |
307 |
- "-DCMAKE_BUILD_TYPE=Release" |
308 |
- $(cmake-utils_use_enable fuse) |
309 |
- $(cmake-utils_use_enable kerberos KRB5) |
310 |
- $(cmake-utils_use_enable perl) |
311 |
- $(cmake-utils_use_enable readline) |
312 |
- $(cmake-utils_use_enable ssl CRYPTO) |
313 |
- ) |
314 |
- cmake-utils_src_configure |
315 |
-} |
316 |
- |
317 |
-src_install() { |
318 |
- cmake-utils_src_install |
319 |
- |
320 |
- # base configs |
321 |
- insinto /etc/xrootd |
322 |
- doins "${S}"/packaging/common/*.cfg |
323 |
- |
324 |
- # create aux dirs and correct permissions so that xrootd |
325 |
- # will be happy as a non-priviledged user |
326 |
- fowners root:xrootd "${EPREFIX}"/etc/xrootd |
327 |
- keepdir "${EPREFIX}"/var/log/xrootd |
328 |
- keepdir "${EPREFIX}"/var/run/xrootd |
329 |
- keepdir "${EPREFIX}"/var/spool/xrootd |
330 |
- fowners xrootd:xrootd "${EPREFIX}"/var/{log,run,spool}/xrootd |
331 |
- |
332 |
- for i in cmsd frm_purged frm_xfrd xrootd; do |
333 |
- newinitd "${FILESDIR}"/${i}.initd ${i} |
334 |
- done |
335 |
- # all daemons MUST use single master config file |
336 |
- newconfd "${FILESDIR}"/xrootd.confd xrootd |
337 |
- |
338 |
- dodoc README docs/ReleaseNotes.txt |
339 |
- if use doc; then |
340 |
- dodoc \ |
341 |
- "${DISTDIR}"/Syntax_config.pdf \ |
342 |
- "${DISTDIR}"/xrd_config.pdf \ |
343 |
- "${DISTDIR}"/ofs_config.pdf \ |
344 |
- "${DISTDIR}"/cms_config.pdf \ |
345 |
- "${DISTDIR}"/sec_config.pdf \ |
346 |
- "${DISTDIR}"/xrd_monitoring.pdf \ |
347 |
- "${DISTDIR}"/frm_config.pdf \ |
348 |
- "${DISTDIR}"/XRdv297.pdf |
349 |
- fi |
350 |
-} |