aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2015-02-28 05:02:32 +0300
committerAndrew Savchenko <bircoph@gmail.com>2015-02-28 05:02:32 +0300
commit23d4723bdbb2090e6cbd2e5a625f05c60982f494 (patch)
treee5b04e389316cd83e018ce4a2da584107752c026 /net-libs
parentRemove old (diff)
downloadsci-23d4723bdbb2090e6cbd2e5a625f05c60982f494.tar.gz
sci-23d4723bdbb2090e6cbd2e5a625f05c60982f494.tar.bz2
sci-23d4723bdbb2090e6cbd2e5a625f05c60982f494.zip
net-libs/xrootd: version bump
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xrootd/ChangeLog6
-rw-r--r--net-libs/xrootd/Manifest1
-rw-r--r--net-libs/xrootd/metadata.xml1
-rw-r--r--net-libs/xrootd/xrootd-4.1.1.ebuild86
4 files changed, 94 insertions, 0 deletions
diff --git a/net-libs/xrootd/ChangeLog b/net-libs/xrootd/ChangeLog
index 0d4eddc9d..47b7a0a71 100644
--- a/net-libs/xrootd/ChangeLog
+++ b/net-libs/xrootd/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/ChangeLog,v 1.19 2014/06/19 18:13:17 bicatali Exp $
+*xrootd-4.1.1 (28 Feb 2015)
+
+ 28 Feb 2015; Andrew Savchenko <bircoph@gentoo.org> +xrootd-4.1.1.ebuild,
+ metadata.xml:
+ Version bump. Add http USE flag.
+
27 Feb 2015; Andrew Savchenko <bircoph@gentoo.org> xrootd-4.0.4.ebuild,
metadata.xml:
Add libevent dependency. This removes automagick and fixes build
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
index 70f4531c3..b2607e0e0 100644
--- a/net-libs/xrootd/Manifest
+++ b/net-libs/xrootd/Manifest
@@ -1 +1,2 @@
DIST xrootd-4.0.4.tar.gz 1920380 SHA256 17091c1de35b06fccc0acbf2f2084d697e3cebea09dc4056338da5e11458b5f7 SHA512 6419c6d70d2e481963b74a9f23808ca889530079dc6e8bc6aa47ff888b6cc5613a1c6702dd3fb86f6e416255206f9db14f9d775896feae6ba70907c666615a79 WHIRLPOOL 0f3422ebf254750d2ca9e122b0eb4f00bd802d378f3d520006b3772cd511ec385a79dced9e111b46ce4296a1ca339fc71425b0a5877385084f0870707b45664b
+DIST xrootd-4.1.1.tar.gz 1957303 SHA256 3e472ec8068adc76f10df8a1bb1c795bb37a0a9936d4a255cc62073eb86c70c4 SHA512 ad5793b622ef967f69bf4be16b23fd00c9db183c3d0664e1913b82697d663c885499db780acd0d968148af6c33e9dad18fe798093e3fec72b20eba0717f3cc7e WHIRLPOOL 4de2ac56599af17188fe608f95cc10434c22d87d72b534b80865a79f648e20b98908b8703c18259d96ea43fb34a683cb45c19656efcae6b32cb13f58bbc37d2e
diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
index 32eab3a19..4d4eef0ef 100644
--- a/net-libs/xrootd/metadata.xml
+++ b/net-libs/xrootd/metadata.xml
@@ -12,6 +12,7 @@
</longdescription>
<use>
<flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag>
+ <flag name="http">Enable http protocol support</flag>
<flag name="libevent">Use <pkg>dev-libs/libevent</pkg> for event handling</flag>
</use>
</pkgmetadata>
diff --git a/net-libs/xrootd/xrootd-4.1.1.ebuild b/net-libs/xrootd/xrootd-4.1.1.ebuild
new file mode 100644
index 000000000..c060b7d2a
--- /dev/null
+++ b/net-libs/xrootd/xrootd-4.1.1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/xrootd-4.0.0.ebuild,v 1.1 2014/06/19 18:13:17 bicatali Exp $
+
+EAPI=5
+
+inherit cmake-utils eutils user multilib
+
+DURI="http://xrootd.slac.stanford.edu/doc/prod"
+
+DESCRIPTION="Extended ROOT remote file server"
+HOMEPAGE="http://xrootd.org/"
+SRC_URI="${HOMEPAGE}/download/v${PV}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc fuse http kerberos libevent perl readline ssl test"
+
+RDEPEND="
+ !<sci-physics/root-5.32[xrootd]
+ sys-libs/zlib:0=
+ fuse? ( sys-fs/fuse:0= )
+ kerberos? ( virtual/krb5 )
+ libevent? ( dev-libs/libevent[threads] )
+ perl? (
+ dev-lang/perl
+ readline? ( dev-perl/Term-ReadLine-Perl )
+ )
+ readline? ( sys-libs/readline:0= )
+ ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen[dot] )
+ perl? ( dev-lang/swig )
+ test? ( dev-util/cppunit )"
+
+REQUIRED_USE="
+ http? ( kerberos ssl )"
+
+PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch )
+
+pkg_setup() {
+ enewgroup xrootd
+ enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_enable fuse)
+ $(cmake-utils_use_enable http)
+ $(cmake-utils_use_enable kerberos KRB5)
+ $(cmake-utils_use_enable libevent)
+ $(cmake-utils_use_enable perl)
+ $(cmake-utils_use_enable readline)
+ $(cmake-utils_use_enable ssl CRYPTO)
+ $(cmake-utils_use_enable test TESTS)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && doxygen Doxyfile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ # base configs
+ insinto /etc/xrootd
+ doins packaging/common/*.cfg
+
+ fowners root:xrootd /etc/xrootd
+ keepdir /var/log/xrootd
+ fowners xrootd:xrootd /var/log/xrootd
+
+ local i
+ for i in cmsd frm_purged frm_xfrd xrootd; do
+ newinitd "${FILESDIR}"/${i}.initd ${i}
+ done
+ # all daemons MUST use single master config file
+ newconfd "${FILESDIR}"/xrootd.confd xrootd
+
+ dodoc docs/ReleaseNotes.txt
+ use doc && dohtml -r doxydoc/html/*
+}