1 |
commit: 58dac6481c32b92688e89233c0a4b10327db4a5a |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 25 09:05:58 2016 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 25 22:03:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58dac648 |
7 |
|
8 |
net-libs/xrootd: version bump |
9 |
|
10 |
- version bump to 4.5.0; |
11 |
- add USE=rbd for Ceph's Rados Block Device support; |
12 |
- sort cmake args. |
13 |
|
14 |
Package-Manager: portage-2.3.3 |
15 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
16 |
|
17 |
net-libs/xrootd/Manifest | 1 + |
18 |
net-libs/xrootd/metadata.xml | 1 + |
19 |
net-libs/xrootd/xrootd-4.5.0.ebuild | 79 +++++++++++++++++++++++++++++++++++++ |
20 |
3 files changed, 81 insertions(+) |
21 |
|
22 |
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest |
23 |
index f33a836..217daf8 100644 |
24 |
--- a/net-libs/xrootd/Manifest |
25 |
+++ b/net-libs/xrootd/Manifest |
26 |
@@ -1,3 +1,4 @@ |
27 |
DIST xrootd-3.3.6.tar.gz 1836866 SHA256 06656d919f5296bcf49953e97b1f3d1cf601c9a1d676945529032fa0046d7217 SHA512 87682fbc49ac13e0c98ee72f506c7c23902f983cfdb672f52a041bcd8de3f723d0ce26638d366a74cffbb3e251e69335454da4b9f8dd8e00ae80bb3bfc432572 WHIRLPOOL 9da9140743b3679ac49f6ae42e9ae4fd430ababd1bf3a021331b804fbe6c56140c6b36fe7d10113a0efc14283ab934240e3d7dac6b4e94c794e8dc47c9896559 |
28 |
DIST xrootd-4.1.1.tar.gz 1957303 SHA256 3e472ec8068adc76f10df8a1bb1c795bb37a0a9936d4a255cc62073eb86c70c4 SHA512 ad5793b622ef967f69bf4be16b23fd00c9db183c3d0664e1913b82697d663c885499db780acd0d968148af6c33e9dad18fe798093e3fec72b20eba0717f3cc7e WHIRLPOOL 4de2ac56599af17188fe608f95cc10434c22d87d72b534b80865a79f648e20b98908b8703c18259d96ea43fb34a683cb45c19656efcae6b32cb13f58bbc37d2e |
29 |
DIST xrootd-4.4.0.tar.gz 2146909 SHA256 f066e7488390c0bc50938d23f6582fb154466204209ca92681f0aa06340e77c8 SHA512 3e81285b97b928830538f358daf358538609d1678d5beb23b8c0f8fdda7ad22895cc96ba0aaadf55892b7cba08a60182fee19e27af3225b638cb209a4146bbfa WHIRLPOOL febb09eb0a18660807e05bf1ae3645bb5969eba7dbe7a764d4efec4883b1c8558dcc6f5577881bc2b37feeb99b77f2dd9d087b22d933a1be186959e8b79f837e |
30 |
+DIST xrootd-4.5.0.tar.gz 2172752 SHA256 27a8e4ef1e6bb6bfe076fef50afe474870edd198699d43359ef01de2f446c670 SHA512 0ffa982b872ac94eae1e26d1ebbb94db46f607fb4b0f1d4a2261a7d34dc7715b67cb7c7beecea300f82578bf4773d18e9b86c55b32dfd65ab2e48f3cbb03f173 WHIRLPOOL 0263647475007500b5df1590c6707f2c8025bb8e0970247a8a5674a96bc0fa1c88ed77c3478296df10ef178fe6b233abfebbb2539e0abfa9643f1d5b24c59c75 |
31 |
|
32 |
diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml |
33 |
index 2367e12..9ce020c 100644 |
34 |
--- a/net-libs/xrootd/metadata.xml |
35 |
+++ b/net-libs/xrootd/metadata.xml |
36 |
@@ -17,5 +17,6 @@ |
37 |
<flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag> |
38 |
<flag name="http">Enable http protocol support</flag> |
39 |
<flag name="libevent">Use <pkg>dev-libs/libevent</pkg> for event handling</flag> |
40 |
+ <flag name="rbd">Enable rados block device support via <pkg>sys-cluster/ceph</pkg></flag> |
41 |
</use> |
42 |
</pkgmetadata> |
43 |
|
44 |
diff --git a/net-libs/xrootd/xrootd-4.5.0.ebuild b/net-libs/xrootd/xrootd-4.5.0.ebuild |
45 |
new file mode 100644 |
46 |
index 00000000..c7f7625 |
47 |
--- /dev/null |
48 |
+++ b/net-libs/xrootd/xrootd-4.5.0.ebuild |
49 |
@@ -0,0 +1,79 @@ |
50 |
+# Copyright 1999-2016 Gentoo Foundation |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+# $Id$ |
53 |
+ |
54 |
+EAPI=6 |
55 |
+ |
56 |
+inherit cmake-utils user |
57 |
+ |
58 |
+DESCRIPTION="Extended ROOT remote file server" |
59 |
+HOMEPAGE="http://xrootd.org/" |
60 |
+SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz" |
61 |
+ |
62 |
+LICENSE="LGPL-3" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
65 |
+IUSE="doc fuse http kerberos readline rbd ssl test" |
66 |
+ |
67 |
+RDEPEND=" |
68 |
+ !<sci-physics/root-5.32[xrootd] |
69 |
+ sys-libs/zlib |
70 |
+ fuse? ( sys-fs/fuse ) |
71 |
+ kerberos? ( virtual/krb5 ) |
72 |
+ rbd? ( sys-cluster/ceph ) |
73 |
+ readline? ( sys-libs/readline:0= ) |
74 |
+ ssl? ( dev-libs/openssl:0= )" |
75 |
+DEPEND="${RDEPEND} |
76 |
+ doc? ( app-doc/doxygen[dot] ) |
77 |
+ test? ( dev-util/cppunit )" |
78 |
+ |
79 |
+REQUIRED_USE="http? ( kerberos ssl )" |
80 |
+PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) |
81 |
+ |
82 |
+pkg_setup() { |
83 |
+ enewgroup xrootd |
84 |
+ enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local mycmakeargs=( |
89 |
+ -DENABLE_CEPH=$(usex rbd) |
90 |
+ -DENABLE_CRYPTO=$(usex ssl) |
91 |
+ -DENABLE_FUSE=$(usex fuse) |
92 |
+ -DENABLE_HTTP=$(usex http) |
93 |
+ -DENABLE_KRB5=$(usex kerberos) |
94 |
+ -DENABLE_PYTHON=OFF # TODO: install python bindings properly |
95 |
+ -DENABLE_READLINE=$(usex readline) |
96 |
+ -DENABLE_TESTS=$(usex test) |
97 |
+ ) |
98 |
+ cmake-utils_src_configure |
99 |
+} |
100 |
+ |
101 |
+src_compile() { |
102 |
+ cmake-utils_src_compile |
103 |
+ if use doc; then |
104 |
+ doxygen Doxyfile || die |
105 |
+ fi |
106 |
+} |
107 |
+ |
108 |
+src_install() { |
109 |
+ use doc && HTML_DOCS=( doxydoc/html/. ) |
110 |
+ dodoc docs/ReleaseNotes.txt |
111 |
+ cmake-utils_src_install |
112 |
+ find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die |
113 |
+ |
114 |
+ # base configs |
115 |
+ insinto /etc/xrootd |
116 |
+ doins packaging/common/*.cfg |
117 |
+ |
118 |
+ fowners root:xrootd /etc/xrootd |
119 |
+ keepdir /var/log/xrootd |
120 |
+ fowners xrootd:xrootd /var/log/xrootd |
121 |
+ |
122 |
+ local i |
123 |
+ for i in cmsd frm_purged frm_xfrd xrootd; do |
124 |
+ newinitd "${FILESDIR}"/${i}.initd ${i} |
125 |
+ done |
126 |
+ # all daemons MUST use single master config file |
127 |
+ newconfd "${FILESDIR}"/xrootd.confd xrootd |
128 |
+} |