1 |
commit: 23d4723bdbb2090e6cbd2e5a625f05c60982f494 |
2 |
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 28 02:02:32 2015 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Feb 28 02:02:32 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=23d4723b |
7 |
|
8 |
net-libs/xrootd: version bump |
9 |
|
10 |
--- |
11 |
net-libs/xrootd/ChangeLog | 6 +++ |
12 |
net-libs/xrootd/metadata.xml | 1 + |
13 |
net-libs/xrootd/xrootd-4.1.1.ebuild | 86 +++++++++++++++++++++++++++++++++++++ |
14 |
3 files changed, 93 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/xrootd/ChangeLog b/net-libs/xrootd/ChangeLog |
17 |
index 0d4eddc..47b7a0a 100644 |
18 |
--- a/net-libs/xrootd/ChangeLog |
19 |
+++ b/net-libs/xrootd/ChangeLog |
20 |
@@ -2,6 +2,12 @@ |
21 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
22 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.19 2014/06/19 18:13:17 bicatali Exp $ |
23 |
|
24 |
+*xrootd-4.1.1 (28 Feb 2015) |
25 |
+ |
26 |
+ 28 Feb 2015; Andrew Savchenko <bircoph@g.o> +xrootd-4.1.1.ebuild, |
27 |
+ metadata.xml: |
28 |
+ Version bump. Add http USE flag. |
29 |
+ |
30 |
27 Feb 2015; Andrew Savchenko <bircoph@g.o> xrootd-4.0.4.ebuild, |
31 |
metadata.xml: |
32 |
Add libevent dependency. This removes automagick and fixes build |
33 |
|
34 |
diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml |
35 |
index 32eab3a..4d4eef0 100644 |
36 |
--- a/net-libs/xrootd/metadata.xml |
37 |
+++ b/net-libs/xrootd/metadata.xml |
38 |
@@ -12,6 +12,7 @@ |
39 |
</longdescription> |
40 |
<use> |
41 |
<flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag> |
42 |
+ <flag name="http">Enable http protocol support</flag> |
43 |
<flag name="libevent">Use <pkg>dev-libs/libevent</pkg> for event handling</flag> |
44 |
</use> |
45 |
</pkgmetadata> |
46 |
|
47 |
diff --git a/net-libs/xrootd/xrootd-4.1.1.ebuild b/net-libs/xrootd/xrootd-4.1.1.ebuild |
48 |
new file mode 100644 |
49 |
index 0000000..c060b7d |
50 |
--- /dev/null |
51 |
+++ b/net-libs/xrootd/xrootd-4.1.1.ebuild |
52 |
@@ -0,0 +1,86 @@ |
53 |
+# Copyright 1999-2015 Gentoo Foundation |
54 |
+# Distributed under the terms of the GNU General Public License v2 |
55 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-4.0.0.ebuild,v 1.1 2014/06/19 18:13:17 bicatali Exp $ |
56 |
+ |
57 |
+EAPI=5 |
58 |
+ |
59 |
+inherit cmake-utils eutils user multilib |
60 |
+ |
61 |
+DURI="http://xrootd.slac.stanford.edu/doc/prod" |
62 |
+ |
63 |
+DESCRIPTION="Extended ROOT remote file server" |
64 |
+HOMEPAGE="http://xrootd.org/" |
65 |
+SRC_URI="${HOMEPAGE}/download/v${PV}/${P}.tar.gz" |
66 |
+ |
67 |
+LICENSE="LGPL-3" |
68 |
+SLOT="0" |
69 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
70 |
+IUSE="doc fuse http kerberos libevent perl readline ssl test" |
71 |
+ |
72 |
+RDEPEND=" |
73 |
+ !<sci-physics/root-5.32[xrootd] |
74 |
+ sys-libs/zlib:0= |
75 |
+ fuse? ( sys-fs/fuse:0= ) |
76 |
+ kerberos? ( virtual/krb5 ) |
77 |
+ libevent? ( dev-libs/libevent[threads] ) |
78 |
+ perl? ( |
79 |
+ dev-lang/perl |
80 |
+ readline? ( dev-perl/Term-ReadLine-Perl ) |
81 |
+ ) |
82 |
+ readline? ( sys-libs/readline:0= ) |
83 |
+ ssl? ( dev-libs/openssl:0= )" |
84 |
+DEPEND="${RDEPEND} |
85 |
+ doc? ( app-doc/doxygen[dot] ) |
86 |
+ perl? ( dev-lang/swig ) |
87 |
+ test? ( dev-util/cppunit )" |
88 |
+ |
89 |
+REQUIRED_USE=" |
90 |
+ http? ( kerberos ssl )" |
91 |
+ |
92 |
+PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) |
93 |
+ |
94 |
+pkg_setup() { |
95 |
+ enewgroup xrootd |
96 |
+ enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |
97 |
+} |
98 |
+ |
99 |
+src_configure() { |
100 |
+ local mycmakeargs=( |
101 |
+ $(cmake-utils_use_enable fuse) |
102 |
+ $(cmake-utils_use_enable http) |
103 |
+ $(cmake-utils_use_enable kerberos KRB5) |
104 |
+ $(cmake-utils_use_enable libevent) |
105 |
+ $(cmake-utils_use_enable perl) |
106 |
+ $(cmake-utils_use_enable readline) |
107 |
+ $(cmake-utils_use_enable ssl CRYPTO) |
108 |
+ $(cmake-utils_use_enable test TESTS) |
109 |
+ ) |
110 |
+ cmake-utils_src_configure |
111 |
+} |
112 |
+ |
113 |
+src_compile() { |
114 |
+ cmake-utils_src_compile |
115 |
+ use doc && doxygen Doxyfile |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ cmake-utils_src_install |
120 |
+ |
121 |
+ # base configs |
122 |
+ insinto /etc/xrootd |
123 |
+ doins packaging/common/*.cfg |
124 |
+ |
125 |
+ fowners root:xrootd /etc/xrootd |
126 |
+ keepdir /var/log/xrootd |
127 |
+ fowners xrootd:xrootd /var/log/xrootd |
128 |
+ |
129 |
+ local i |
130 |
+ for i in cmsd frm_purged frm_xfrd xrootd; do |
131 |
+ newinitd "${FILESDIR}"/${i}.initd ${i} |
132 |
+ done |
133 |
+ # all daemons MUST use single master config file |
134 |
+ newconfd "${FILESDIR}"/xrootd.confd xrootd |
135 |
+ |
136 |
+ dodoc docs/ReleaseNotes.txt |
137 |
+ use doc && dohtml -r doxydoc/html/* |
138 |
+} |