aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2015-02-28 07:42:13 +0300
committerAndrew Savchenko <bircoph@gmail.com>2015-02-28 07:42:13 +0300
commitf0fe8b5c520524db5d462f3d018c5071ff8bedbf (patch)
tree5363e51942668f1ee5f489f211b2999eb05777cd /net-libs
parentnet-libs/xrootd: version bump (diff)
downloadsci-f0fe8b5c520524db5d462f3d018c5071ff8bedbf.tar.gz
sci-f0fe8b5c520524db5d462f3d018c5071ff8bedbf.tar.bz2
sci-f0fe8b5c520524db5d462f3d018c5071ff8bedbf.zip
xrootd is moved to portage
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xrootd/ChangeLog134
-rw-r--r--net-libs/xrootd/Manifest2
-rw-r--r--net-libs/xrootd/files/cmsd.confd9
-rw-r--r--net-libs/xrootd/files/cmsd.initd35
-rw-r--r--net-libs/xrootd/files/frm_purged.initd35
-rw-r--r--net-libs/xrootd/files/frm_xfrd.initd35
-rw-r--r--net-libs/xrootd/files/xrootd-no-werror.patch11
-rw-r--r--net-libs/xrootd/files/xrootd.confd21
-rw-r--r--net-libs/xrootd/files/xrootd.initd33
-rw-r--r--net-libs/xrootd/metadata.xml18
-rw-r--r--net-libs/xrootd/xrootd-4.0.4.ebuild82
-rw-r--r--net-libs/xrootd/xrootd-4.1.1.ebuild86
12 files changed, 0 insertions, 501 deletions
diff --git a/net-libs/xrootd/ChangeLog b/net-libs/xrootd/ChangeLog
deleted file mode 100644
index 47b7a0a71..000000000
--- a/net-libs/xrootd/ChangeLog
+++ /dev/null
@@ -1,134 +0,0 @@
-# ChangeLog for net-libs/xrootd
-# 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
- case where libevent is present on the system, but without pthread
- support.
-
- 01 Dec 2014; Justin Lecher <jlec@gentoo.org> xrootd-4.0.4.ebuild,
- metadata.xml:
- Use PATCHES
-
-*xrootd-4.0.0 (19 Jun 2014)
-
- 19 Jun 2014; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-4.0.0.ebuild:
- Version bump
-
- 11 Mar 2014; Patrick Lauer <patrick@gentoo.org> xrootd-3.3.6.ebuild:
- Whitespace
-
-*xrootd-3.3.6 (10 Mar 2014)
-
- 10 Mar 2014; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.3.6.ebuild:
- Version bump
-
- 20 Nov 2013; Patrick Lauer <patrick@gentoo.org> xrootd-3.3.4.ebuild:
- Whitespace
-
-*xrootd-3.3.4 (19 Nov 2013)
-
- 19 Nov 2013; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.3.4.ebuild,
- -xrootd-3.3.1.ebuild, metadata.xml:
- Version bump
-
-*xrootd-3.3.2 (04 Jun 2013)
-
- 04 Jun 2013; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.3.2.ebuild,
- -xrootd-3.2.7.ebuild, files/cmsd.initd, files/frm_purged.initd,
- files/frm_xfrd.initd:
- Version bump. Keyword amd64-linux and x86-linux. Fixed non-bashism in init
- scripts
-
-*xrootd-3.3.1 (23 Mar 2013)
-
- 23 Mar 2013; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.3.1.ebuild,
- -xrootd-3.2.6.ebuild:
- Version bump
-
-*xrootd-3.2.7 (24 Jan 2013)
-
- 24 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.2.7.ebuild:
- Version bump
-
- 05 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> xrootd-3.2.6.ebuild:
- add user eclass
-
-*xrootd-3.2.6 (05 Dec 2012)
-
- 05 Dec 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.2.6.ebuild,
- -xrootd-3.2.2.ebuild, -xrootd-3.2.4.ebuild, files/cmsd.initd,
- files/frm_purged.initd, files/frm_xfrd.initd, files/xrootd.initd,
- metadata.xml, xrootd-3.2.1.ebuild:
- Version bump. Transfering checks on /var/run and /var/spool at install time to
- run-time (bug #445882)
-
-*xrootd-3.2.4 (29 Sep 2012)
-
- 29 Sep 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.2.4.ebuild:
- Version bump
-
- 24 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org>
- +files/xrootd-3.2.2-glibc216.patch, xrootd-3.2.2.ebuild:
- fixed for glibc-2.16, bug #426300
-
-*xrootd-3.2.2 (09 Jul 2012)
-
- 09 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.2.2.ebuild:
- Version bump
-
- 09 Jul 2012; Justin Lecher <jlec@gentoo.org> -xrootd-3.1.0.ebuild,
- -xrootd-3.1.1.ebuild, xrootd-3.2.1.ebuild, metadata.xml:
- Cleaned old, add missing eclass
-
- 08 Jul 2012; Jeff Horelick <jdhore@gentoo.org> xrootd-3.2.1.ebuild:
- marked x86 per bug 425054
-
- 06 Jul 2012; Agostino Sarubbo <ago@gentoo.org> xrootd-3.2.1.ebuild:
- Stable for amd64, wrt bug #425054
-
-*xrootd-3.2.1 (22 May 2012)
-
- 22 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.2.1.ebuild:
- Version bump
-
-*xrootd-3.1.1 (06 Mar 2012)
-
- 06 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.1.1.ebuild:
- Version bump
-
- 19 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> +xrootd-3.1.0.ebuild,
- +files/cmsd.confd, +files/cmsd.initd, +files/frm_purged.initd,
- +files/frm_xfrd.initd, +files/xrootd.confd, +files/xrootd.initd,
- +metadata.xml:
- Initial import to the main tree
-
-*xrootd-3.1.0 (03 Dec 2011)
-
- 03 Dec 2011; Andrew Savchenko <bircoph@gmail.com> +xrootd-3.1.0.ebuild,
- +files/cmsd.initd, +files/frm_purged.initd, +files/frm_xfrd.initd,
- +files/xrootd.confd, +files/xrootd.initd, +metadata.xml:
- XRootD isn't really a new program in this overlay. It was
- previously bundled within sci-physics/root, but now it is unbundled
- upstream and needs to be installed as a separate package in order
- to be used from ROOT.
-
- Aside from standard xrootd distribution, this ebuild may install
- useful pdf documentation from the official web site.
-
- Program was tested on ~x86 and ~amd64 with some basic setup, though
- no real production tests were done. Please note, that xrootd and
- accompany daemons do not work with root privileges any longer, so
- special xrootd user was used.
-
- Another note: all daemons MUST use the same config (-c
- /etc/xrootd/your._config), that's why there is only one conf.d file
- for all four daemons.
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest
deleted file mode 100644
index b2607e0e0..000000000
--- a/net-libs/xrootd/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-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/files/cmsd.confd b/net-libs/xrootd/files/cmsd.confd
deleted file mode 100644
index ab5aa8c61..000000000
--- a/net-libs/xrootd/files/cmsd.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-# conf.d file for cmsd daemon
-
-# User to run as (default is root)
-CMSD_USER="root"
-
-#
-# Please refer to the cmsd(1) man(1) page for more
-# information on command line parameters.
-CMSD_OPTS=""
diff --git a/net-libs/xrootd/files/cmsd.initd b/net-libs/xrootd/files/cmsd.initd
deleted file mode 100644
index b04ca579c..000000000
--- a/net-libs/xrootd/files/cmsd.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/cmsd.initd,v 1.3 2013/06/04 15:51:34 bicatali Exp $
-
-. /etc/conf.d/xrootd
-
-depend() {
- need net
- use logger dns
- provide root-file-server
-}
-
-start_pre() {
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd
-}
-
-start() {
- ebegin "Starting Cluster Management Service daemon"
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME} --background -- \
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
- ${CMSD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Cluster Management Service daemon"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME}
- eend $?
-}
diff --git a/net-libs/xrootd/files/frm_purged.initd b/net-libs/xrootd/files/frm_purged.initd
deleted file mode 100644
index 1e95d5c8c..000000000
--- a/net-libs/xrootd/files/frm_purged.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_purged.initd,v 1.3 2013/06/04 15:51:34 bicatali Exp $
-
-. /etc/conf.d/xrootd
-
-depend() {
- need net
- use logger dns
- provide root-file-server
-}
-
-start_pre() {
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd
-}
-
-start() {
- ebegin "Starting File Residency Manager purge daemon"
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME} --background -- \
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
- ${FRM_PURGED_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping File Residency Manager purge daemon"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME}
- eend $?
-}
diff --git a/net-libs/xrootd/files/frm_xfrd.initd b/net-libs/xrootd/files/frm_xfrd.initd
deleted file mode 100644
index 0b28f873a..000000000
--- a/net-libs/xrootd/files/frm_xfrd.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_xfrd.initd,v 1.3 2013/06/04 15:51:34 bicatali Exp $
-
-. /etc/conf.d/xrootd
-
-depend() {
- need net
- use logger dns
- provide root-file-server
-}
-
-start_pre() {
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd
-}
-
-start() {
- ebegin "Starting File Residency Manager transfer daemon"
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME} --background -- \
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
- ${FRM_XFRD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping File Residency Manager transfer daemon"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME}
- eend $?
-}
diff --git a/net-libs/xrootd/files/xrootd-no-werror.patch b/net-libs/xrootd/files/xrootd-no-werror.patch
deleted file mode 100644
index d9f3b1c52..000000000
--- a/net-libs/xrootd/files/xrootd-no-werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmake/XRootDOSDefs.cmake.orig 2014-06-04 20:31:15.000000000 +0400
-+++ cmake/XRootDOSDefs.cmake 2014-08-21 12:12:55.397368485 +0400
-@@ -15,7 +15,7 @@
- # GCC
- #-------------------------------------------------------------------------------
- if( CMAKE_COMPILER_IS_GNUCXX )
-- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror" )
-+ set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra" )
- set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter" )
- # gcc 4.1 is retarded
- execute_process( COMMAND ${CMAKE_C_COMPILER} -dumpversion
diff --git a/net-libs/xrootd/files/xrootd.confd b/net-libs/xrootd/files/xrootd.confd
deleted file mode 100644
index 0e847e53e..000000000
--- a/net-libs/xrootd/files/xrootd.confd
+++ /dev/null
@@ -1,21 +0,0 @@
-# conf.d file for xroot, cmsd, frm_purged, frm_xfrd daemons
-
-# User to run as, please note that:
-# 1) daemons will refuse to run as root;
-# 2) several dirs must be created with an appropriate permissions
-# and ownership, so be careful when changing default 'xrootd' user.
-XROOTD_USER="xrootd"
-
-# Configuration file MUST be the same for all four daemons.
-# See /etc/xrootd for available simple defaults.
-XROOTD_CONF="/etc/xrootd/xrootd-clustered.cfg"
-
-# Logdir for all daemons
-XROOTD_LOGDIR="/var/log/xrootd"
-
-# Additional options for each daemon, please refer to their
-# documentation for details
-XROOTD_OPTS=""
-CMSD_OPTS=""
-FRM_PURGED=""
-FRM_XFRD=""
diff --git a/net-libs/xrootd/files/xrootd.initd b/net-libs/xrootd/files/xrootd.initd
deleted file mode 100644
index 1685ccc5c..000000000
--- a/net-libs/xrootd/files/xrootd.initd
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/xrootd.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $
-
-depend() {
- need net
- use logger dns
- provide root-file-server
-}
-
-start_pre() {
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool
- checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd
-}
-
-start() {
- ebegin "Starting extended ROOTD file server"
- start-stop-daemon --start --quiet --user ${XROOTD_USER} \
- --make-pidfile --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME} --background -- \
- -c ${XROOTD_CONF} -l ${XROOTD_LOGDIR}/${RC_SVCNAME}.log \
- ${XROOTD_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping extended ROOTD file server"
- start-stop-daemon --stop --quiet \
- --pidfile /var/run/${RC_SVCNAME}.pid \
- --exec /usr/bin/${RC_SVCNAME}
- eend $?
-}
diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml
deleted file mode 100644
index 4d4eef0ef..000000000
--- a/net-libs/xrootd/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>sci-physics</herd>
- <longdescription lang="en">
- XROOTD software framework is a fully generic suite for fast, low latency
- and scalable data access, which can serve natively any kind of data,
- organized as a hierarchical filesystem-like namespace, based on the
- concept of directory.
- It is usually used with <pkg>sci-physics/root</pkg> and its PROOF
- facilities for cluster computing in high energy physics.
-</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.0.4.ebuild b/net-libs/xrootd/xrootd-4.0.4.ebuild
deleted file mode 100644
index 6d763751a..000000000
--- a/net-libs/xrootd/xrootd-4.0.4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# 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 kerberos perl libevent 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 )"
-
-pkg_setup() {
- enewgroup xrootd
- enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd
-}
-
-PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch )
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_enable fuse)
- $(cmake-utils_use_enable kerberos KRB5)
- $(cmake-utils_use_enable perl)
- $(cmake-utils_use_enable libevent)
- $(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/*
-}
diff --git a/net-libs/xrootd/xrootd-4.1.1.ebuild b/net-libs/xrootd/xrootd-4.1.1.ebuild
deleted file mode 100644
index c060b7d2a..000000000
--- a/net-libs/xrootd/xrootd-4.1.1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# 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/*
-}