1 |
commit: bbe5e97c27fd7a05b6476b0546a1abc9c353f343 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 13:32:43 2019 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 13:42:54 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe5e97c |
7 |
|
8 |
net-libs/xrootd: bump to 4.9.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
12 |
|
13 |
net-libs/xrootd/Manifest | 1 + |
14 |
net-libs/xrootd/xrootd-4.9.0.ebuild | 115 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 116 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest |
18 |
index 5c5e8ae90a0..feb39df2fe3 100644 |
19 |
--- a/net-libs/xrootd/Manifest |
20 |
+++ b/net-libs/xrootd/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST xrootd-4.4.0.tar.gz 2146909 BLAKE2B 4ea84a0c395984cf3ca0f072d3dab080a128e8554f20f7347f9622430b1adc8bda279fa3c8cd587260affe432700332ce7cbb6f512bc29d7d7921b2c6a349bdc SHA512 3e81285b97b928830538f358daf358538609d1678d5beb23b8c0f8fdda7ad22895cc96ba0aaadf55892b7cba08a60182fee19e27af3225b638cb209a4146bbfa |
23 |
DIST xrootd-4.5.0.tar.gz 2172752 BLAKE2B 0e1251f9b064e5bf5e0bf9df0575a9605c4437eddecca312bbfad5ce91b9e3e83ff14a00b7ba1b3e3305f1bd00b5dce151241293441852da95f439788671c4f7 SHA512 0ffa982b872ac94eae1e26d1ebbb94db46f607fb4b0f1d4a2261a7d34dc7715b67cb7c7beecea300f82578bf4773d18e9b86c55b32dfd65ab2e48f3cbb03f173 |
24 |
DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe SHA512 6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911 |
25 |
+DIST xrootd-4.9.0.tar.gz 2517614 BLAKE2B 5f1ce6f599fdf5b1f9b4fa078d9b306be241757f95e9b5e9bc0a6f06450a21315778428d8c1d1ffd28ef0841bc50fca387036740bb707d9a96b7f07e94e15540 SHA512 a956262a8adae4c9cb9a91275d4207943cf43251fc61ade111c91152c62baf06c1cbdf1d659c6d792703045a4c2a82bac732220ecfd2fa707e445d6fc66ee047 |
26 |
|
27 |
diff --git a/net-libs/xrootd/xrootd-4.9.0.ebuild b/net-libs/xrootd/xrootd-4.9.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d0c6576d614 |
30 |
--- /dev/null |
31 |
+++ b/net-libs/xrootd/xrootd-4.9.0.ebuild |
32 |
@@ -0,0 +1,115 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit cmake-utils python-single-r1 user |
41 |
+ |
42 |
+DESCRIPTION="Extended ROOT remote file server" |
43 |
+HOMEPAGE="http://xrootd.org/" |
44 |
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="LGPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
49 |
+IUSE="doc examples fuse http kerberos python readline rbd ssl test" |
50 |
+ |
51 |
+CDEPEND=" |
52 |
+ !<sci-physics/root-5.32[xrootd] |
53 |
+ sys-libs/zlib |
54 |
+ fuse? ( sys-fs/fuse:= ) |
55 |
+ kerberos? ( virtual/krb5 ) |
56 |
+ python? ( ${PYTHON_DEPS} ) |
57 |
+ rbd? ( sys-cluster/ceph ) |
58 |
+ readline? ( sys-libs/readline:0= ) |
59 |
+ ssl? ( dev-libs/openssl:0= ) |
60 |
+" |
61 |
+DEPEND="${CDEPEND} |
62 |
+ doc? ( |
63 |
+ app-doc/doxygen[dot] |
64 |
+ python? ( dev-python/sphinx ) |
65 |
+ ) |
66 |
+ test? ( dev-util/cppunit ) |
67 |
+" |
68 |
+RDEPEND="${CDEPEND} |
69 |
+ dev-lang/perl |
70 |
+" |
71 |
+REQUIRED_USE=" |
72 |
+ http? ( kerberos ssl ) |
73 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
74 |
+" |
75 |
+ |
76 |
+PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.patch ) |
77 |
+ |
78 |
+# xrootd plugins are not intended to be linked with, |
79 |
+# they are to be loaded at runtime by xrootd, |
80 |
+# see https://github.com/xrootd/xrootd/issues/447 |
81 |
+QA_SONAME="/usr/lib.*/libXrd*-4.so" |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ enewgroup xrootd |
85 |
+ enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |
86 |
+ use python && python_setup |
87 |
+} |
88 |
+ |
89 |
+src_configure() { |
90 |
+ local mycmakeargs=( |
91 |
+ -DENABLE_CEPH=$(usex rbd) |
92 |
+ -DENABLE_CRYPTO=$(usex ssl) |
93 |
+ -DENABLE_FUSE=$(usex fuse) |
94 |
+ -DENABLE_HTTP=$(usex http) |
95 |
+ -DENABLE_KRB5=$(usex kerberos) |
96 |
+ -DENABLE_PYTHON=$(usex python) |
97 |
+ -DENABLE_READLINE=$(usex readline) |
98 |
+ -DENABLE_TESTS=$(usex test) |
99 |
+ ) |
100 |
+ cmake-utils_src_configure |
101 |
+} |
102 |
+ |
103 |
+src_compile() { |
104 |
+ cmake-utils_src_compile |
105 |
+ if use doc; then |
106 |
+ doxygen Doxyfile || die |
107 |
+ if use python; then |
108 |
+ emake -C bindings/python/docs html |
109 |
+ fi |
110 |
+ fi |
111 |
+} |
112 |
+ |
113 |
+src_install() { |
114 |
+ use doc && HTML_DOCS=( doxydoc/html/. ) |
115 |
+ dodoc docs/ReleaseNotes.txt |
116 |
+ cmake-utils_src_install |
117 |
+ find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die |
118 |
+ |
119 |
+ # base configs |
120 |
+ insinto /etc/xrootd |
121 |
+ doins packaging/common/*.cfg |
122 |
+ |
123 |
+ fowners root:xrootd /etc/xrootd |
124 |
+ keepdir /var/log/xrootd |
125 |
+ fowners xrootd:xrootd /var/log/xrootd |
126 |
+ |
127 |
+ local i |
128 |
+ for i in cmsd frm_purged frm_xfrd xrootd; do |
129 |
+ newinitd "${FILESDIR}"/${i}.initd ${i} |
130 |
+ done |
131 |
+ # all daemons MUST use single master config file |
132 |
+ newconfd "${FILESDIR}"/xrootd.confd xrootd |
133 |
+ |
134 |
+ if use python; then |
135 |
+ python_optimize "${D}/$(python_get_sitedir)" |
136 |
+ |
137 |
+ if use doc; then |
138 |
+ docinto python |
139 |
+ docompress -x "/usr/share/doc/${PF}/python/html" |
140 |
+ dodoc -r bindings/python/docs/build/html |
141 |
+ fi |
142 |
+ if use examples; then |
143 |
+ docinto python |
144 |
+ dodoc -r bindings/python/examples |
145 |
+ fi |
146 |
+ fi |
147 |
+} |