diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/xrootd | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xrootd/files/cmsd.confd | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/cmsd.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_purged.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_xfrd.initd | 35 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-no-werror.patch | 11 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd.confd | 21 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd.initd | 33 | ||||
-rw-r--r-- | net-libs/xrootd/metadata.xml | 18 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-3.3.6.ebuild | 78 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.1.1.ebuild | 86 |
11 files changed, 363 insertions, 0 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest new file mode 100644 index 000000000000..47a8625575a2 --- /dev/null +++ b/net-libs/xrootd/Manifest @@ -0,0 +1,2 @@ +DIST xrootd-3.3.6.tar.gz 1836866 SHA256 06656d919f5296bcf49953e97b1f3d1cf601c9a1d676945529032fa0046d7217 SHA512 87682fbc49ac13e0c98ee72f506c7c23902f983cfdb672f52a041bcd8de3f723d0ce26638d366a74cffbb3e251e69335454da4b9f8dd8e00ae80bb3bfc432572 WHIRLPOOL 9da9140743b3679ac49f6ae42e9ae4fd430ababd1bf3a021331b804fbe6c56140c6b36fe7d10113a0efc14283ab934240e3d7dac6b4e94c794e8dc47c9896559 +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 new file mode 100644 index 000000000000..ab5aa8c614f0 --- /dev/null +++ b/net-libs/xrootd/files/cmsd.confd @@ -0,0 +1,9 @@ +# 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 new file mode 100644 index 000000000000..eb8b4470b345 --- /dev/null +++ b/net-libs/xrootd/files/cmsd.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /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 new file mode 100644 index 000000000000..9b7db734adb5 --- /dev/null +++ b/net-libs/xrootd/files/frm_purged.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /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 new file mode 100644 index 000000000000..b33f3f9b0322 --- /dev/null +++ b/net-libs/xrootd/files/frm_xfrd.initd @@ -0,0 +1,35 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +. /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 new file mode 100644 index 000000000000..d9f3b1c52f7b --- /dev/null +++ b/net-libs/xrootd/files/xrootd-no-werror.patch @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 000000000000..0e847e53e69c --- /dev/null +++ b/net-libs/xrootd/files/xrootd.confd @@ -0,0 +1,21 @@ +# 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 new file mode 100644 index 000000000000..ffffa6c4470e --- /dev/null +++ b/net-libs/xrootd/files/xrootd.initd @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 new file mode 100644 index 000000000000..4d4eef0ef40d --- /dev/null +++ b/net-libs/xrootd/metadata.xml @@ -0,0 +1,18 @@ +<?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-3.3.6.ebuild b/net-libs/xrootd/xrootd-3.3.6.ebuild new file mode 100644 index 000000000000..5ca003f361bf --- /dev/null +++ b/net-libs/xrootd/xrootd-3.3.6.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 readline ssl test" + +RDEPEND=" + !<sci-physics/root-5.32[xrootd] + sys-libs/zlib:0= + fuse? ( sys-fs/fuse ) + kerberos? ( virtual/krb5 ) + perl? ( + dev-lang/perl + readline? ( dev-perl/Term-ReadLine-Perl ) + ) + readline? ( sys-libs/readline:0= ) + ssl? ( dev-libs/openssl:= )" +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 +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable fuse) + $(cmake-utils_use_enable kerberos KRB5) + $(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/* +} 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 000000000000..920673938c8e --- /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 +# $Id$ + +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/* +} |