diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/xrootd |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 13 | ||||
-rw-r--r-- | net-libs/xrootd/files/cmsd.initd | 34 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_purged.initd | 34 | ||||
-rw-r--r-- | net-libs/xrootd/files/frm_xfrd.initd | 34 | ||||
-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 | 32 | ||||
-rw-r--r-- | net-libs/xrootd/metadata.xml | 21 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.4.0.ebuild | 82 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.5.0.ebuild | 114 |
10 files changed, 396 insertions, 0 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest new file mode 100644 index 000000000000..b29789cddd63 --- /dev/null +++ b/net-libs/xrootd/Manifest @@ -0,0 +1,13 @@ +AUX cmsd.initd 885 SHA256 2f1a252874546a9fc57eb210085acfb5005e15cc8a0ee6ff2b4485fafc1d02b5 SHA512 7f666e98634b205964d69fd540fb79c7ff3b6f1b423ed416a966d1e0d6a18d950908e1dc463e3cc8029fc062b2ff7d29693af8e5af2fb13a36500d40b16345e9 WHIRLPOOL 8429708608bf7f229743a53fc973237819c1d4e5a81f5526f3a31acbd3f9503b6efb022c24ba6f46e5d2e2d923d464fafdf09e8953dfc82a371db7fab3a0cf13 +AUX frm_purged.initd 895 SHA256 36f16a055912e6f0fc04a2064c8c6962304c2762b7226bf8959145da1bd465bf SHA512 f9c09f8baae7ed391d5248f5dfb7a1d4d60f23605b2646e6f3c2ec33b05838918a4ba4874424e9b4e674f1ca127d57760364552f6f948dcd3ef84245730efc30 WHIRLPOOL f15f84a69c64ee6523649b50a891af11f8d44ea54dd7a6688f3579e77401a6f1f0220131c6404c61ee15dce112bbc64999e2d10a862bf68b7426a079dbbc5db1 +AUX frm_xfrd.initd 899 SHA256 f884dd84e04aa87e08e2757fb664aeb05e34a98ba32edd8e9198df5467607ba3 SHA512 1c38b20c9b54cab17706c040a90b00df61c9b2f5e4e7a9cc26fa3b125e1d132097222921b5627a33f69b80c8ae5a64cfbaea0a4880588de9fa9d18f6aaa04768 WHIRLPOOL 78b399748553001187e4d33353b2dd3f13ca22c217fb298b92900107504cd28cd62355b43d36757869cfb5072dcd3ab5f29ae1298749409af9e1360ef64fc70e +AUX xrootd-no-werror.patch 486 SHA256 e0ec720e85586b0630148466540464607539d82db44664b67e25992906ae2ddd SHA512 9a866518836d61416ca4e40587dc9fb81121c7b2c245b9d26053058cef6d2ec75b94c687929378e1ed7287432a99f91888f4a138536447dd934ac03e484f5a4f WHIRLPOOL 25517a503a06a7a658c157505fb88019eb74db5caa178ca1296ebf68d2caba28717c063aab7c650bac84cfab12bc4e68b3c8697dd687447fdcc9783d20df50a5 +AUX xrootd.confd 651 SHA256 c0bec135fc63da3000a520ebe1cffec7e507f4f31e9038f7ef4350f973548785 SHA512 60ab5b6d77cf79437960044bf201127c8adf5134e7f61a18dcccd2e474a4e41eda971e3ada71dea987716080fb308af98a5237bab2a0b82f50f932ff59e3fdea WHIRLPOOL ca35a9ce16b7d82839ca6ef1989b5b40177c93ff52379a2296e4bd99483422f2f49c57eb0b646673f84bc09f9b3b8f1298c906311367711f60170394c0dee6c6 +AUX xrootd.initd 858 SHA256 b3fd5a20fb1888fccb1f93658b833eb54c7abd2ab25243e913d71ee27b66e664 SHA512 dcdb75341d904c9850c2bf97393ccbb68ad37b095e0a20ca4dab27b10dd7525874c8ad6e07e5b9c1f3c3566391a50c06dee70622d865fa51a7e73aa4096da955 WHIRLPOOL fd3f30862121ca6d1858f5f61ee59a327d0375e9caf5458eed9d0b57b6e5d2fc113d9ce661916c548de39637184f4ae31acc92617fab4a76540bdbdb71beb73a +DIST xrootd-4.4.0.tar.gz 2146909 SHA256 f066e7488390c0bc50938d23f6582fb154466204209ca92681f0aa06340e77c8 SHA512 3e81285b97b928830538f358daf358538609d1678d5beb23b8c0f8fdda7ad22895cc96ba0aaadf55892b7cba08a60182fee19e27af3225b638cb209a4146bbfa WHIRLPOOL febb09eb0a18660807e05bf1ae3645bb5969eba7dbe7a764d4efec4883b1c8558dcc6f5577881bc2b37feeb99b77f2dd9d087b22d933a1be186959e8b79f837e +DIST xrootd-4.5.0.tar.gz 2172752 SHA256 27a8e4ef1e6bb6bfe076fef50afe474870edd198699d43359ef01de2f446c670 SHA512 0ffa982b872ac94eae1e26d1ebbb94db46f607fb4b0f1d4a2261a7d34dc7715b67cb7c7beecea300f82578bf4773d18e9b86c55b32dfd65ab2e48f3cbb03f173 WHIRLPOOL 0263647475007500b5df1590c6707f2c8025bb8e0970247a8a5674a96bc0fa1c88ed77c3478296df10ef178fe6b233abfebbb2539e0abfa9643f1d5b24c59c75 +EBUILD xrootd-4.4.0.ebuild 1998 SHA256 8d7114d6cb92fb87f92b524376c5cd503dbf1b363610acea98fe3aff2d37fde9 SHA512 16394e1339dd97893c89063a14e78476cee973317e3f24adc6563dc0de4689a4b524afe7a7395beb06cc62f4d5149c1ee0d69bc5d03298ba21a97ca0cac46b6d WHIRLPOOL 013bb66b09072cd9e7d7e8a0796aa8f4a6b256a66613fe2e75f4328fabb95c4e9bd5294c818f4200ee7cb7891b421d32195510822c834badc70fdffb10170cbe +EBUILD xrootd-4.5.0.ebuild 2600 SHA256 24c142259b7d74e175b34dc959ecf9bdeaaf07e53ebc192fc60e4449cdbd52c5 SHA512 9700666b53a38fe5d24965823a71e73ee0dcf90dade960a9af16153f8f266e7cb24daeb327a10a2ff7a867e603c162eaf6df13393880784da6e470233d1dafc9 WHIRLPOOL 01dc5ee85ce59398f23c581db3082c157fce3455a6a45cabb08a34d067313f3afba49bc47b7fede1cd59e8b761e5be18f67b11839ca0bdd77dbf77b113d8fb6c +MISC ChangeLog 3085 SHA256 2477c6fd7fc730d97ee37051c6d49335a6b3ccbcb9d182fcd5eacc09515fef6b SHA512 5e6001044bcc45b12e6f534429314641fa1b6f08d05ece152742be61def7c712a3c5a16a9734e92bdb459f45f4b141bf49c1991644be0228b955a228b9421687 WHIRLPOOL f46ce97352265d791cdc541f7b1b9ec9241274e1d3bcb0001416d1eac1193cc3cac359d5ed395125d40b9bedfe70b47d5caecd029326bb08a793ec09c8cfb85e +MISC ChangeLog-2015 4715 SHA256 0853a8e6218b2a4a576a3c158ea208a3bc200bdcdd2ac6bc5423de87856b2666 SHA512 de885f11709c038fd23e579c3ca37d6c44617cfefd022ef1bd9d8cae53ca5eab3063c57bf16280be6b0895d6c46826b54ba229c0892ffbe04f84a370eee13621 WHIRLPOOL 8be84cea7583db4636a9a81d6e8989a07c4ab3b235f1c6b0a0cfea953d2981669c3036c054f30109f6d7a6fd80cb61f2f348a0ea38e390b085232b1261274581 +MISC metadata.xml 934 SHA256 9deec5628e0eb8456cbe2db2cf589ae527c3860ade5d5f0c4e1d1c5fbdfa2ac8 SHA512 44828821d0307904163a2a818855efc7c68029be18aa0e11ea07bd99d794c433888bcf74a19632a7e3b68494192e6d8c2b9d30b9c33aea748e8b03ebd44efb25 WHIRLPOOL 60747e380cfdd6b80882b1e832bcf79129258a305eed69fe065e0560dd649998d7275b1801cdda618c556aced515c8761815b5a7b0cf2824f0600489cad8e7a7 diff --git a/net-libs/xrootd/files/cmsd.initd b/net-libs/xrootd/files/cmsd.initd new file mode 100644 index 000000000000..9a2f9e292b64 --- /dev/null +++ b/net-libs/xrootd/files/cmsd.initd @@ -0,0 +1,34 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +. /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..14741ef498ac --- /dev/null +++ b/net-libs/xrootd/files/frm_purged.initd @@ -0,0 +1,34 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +. /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..37272d2a5872 --- /dev/null +++ b/net-libs/xrootd/files/frm_xfrd.initd @@ -0,0 +1,34 @@ +#!/sbin/openrc-run +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +. /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..b8010b777e39 --- /dev/null +++ b/net-libs/xrootd/files/xrootd-no-werror.patch @@ -0,0 +1,11 @@ +--- a/cmake/XRootDOSDefs.cmake ++++ b/cmake/XRootDOSDefs.cmake +@@ -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..c3adf500bf3b --- /dev/null +++ b/net-libs/xrootd/files/xrootd.initd @@ -0,0 +1,32 @@ +#!/sbin/openrc-run +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..ecd16e038b97 --- /dev/null +++ b/net-libs/xrootd/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci-physics@gentoo.org</email> + <name>Gentoo Physics Project</name> + </maintainer> + <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="rbd">Enable rados block device support via <pkg>sys-cluster/ceph</pkg></flag> + </use> +</pkgmetadata> diff --git a/net-libs/xrootd/xrootd-4.4.0.ebuild b/net-libs/xrootd/xrootd-4.4.0.ebuild new file mode 100644 index 000000000000..77d78382d960 --- /dev/null +++ b/net-libs/xrootd/xrootd-4.4.0.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils user + +DESCRIPTION="Extended ROOT remote file server" +HOMEPAGE="http://xrootd.org/" +SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="doc fuse http kerberos readline ssl test" + +RDEPEND=" + !<sci-physics/root-5.32[xrootd] + sys-libs/zlib + fuse? ( sys-fs/fuse ) + kerberos? ( virtual/krb5 ) + readline? ( sys-libs/readline:0= ) + ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[dot] ) + test? ( dev-util/cppunit )" + +REQUIRED_USE="http? ( kerberos ssl )" +PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) + +# xrootd plugins are not intended to be linked with, +# they are to be loaded at runtime by xrootd, +# see https://github.com/xrootd/xrootd/issues/447 +QA_SONAME="/usr/lib.*/libXrd*-4.so" + +pkg_setup() { + enewgroup xrootd + enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd +} + +src_configure() { + local mycmakeargs=( + -DENABLE_FUSE=$(usex fuse) + -DENABLE_HTTP=$(usex http) + -DENABLE_KRB5=$(usex kerberos) + -DENABLE_READLINE=$(usex readline) + -DENABLE_CRYPTO=$(usex ssl) + -DENABLE_TESTS=$(usex test) + -DENABLE_CEPH=OFF + -DENABLE_PYTHON=OFF # TODO: install python bindings properly + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen Doxyfile || die + fi +} + +src_install() { + use doc && HTML_DOCS=( doxydoc/html/. ) + dodoc docs/ReleaseNotes.txt + cmake-utils_src_install + find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die + + # 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 +} diff --git a/net-libs/xrootd/xrootd-4.5.0.ebuild b/net-libs/xrootd/xrootd-4.5.0.ebuild new file mode 100644 index 000000000000..9026596f259a --- /dev/null +++ b/net-libs/xrootd/xrootd-4.5.0.ebuild @@ -0,0 +1,114 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils python-single-r1 user + +DESCRIPTION="Extended ROOT remote file server" +HOMEPAGE="http://xrootd.org/" +SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples fuse http kerberos python readline rbd ssl test" + +CDEPEND=" + !<sci-physics/root-5.32[xrootd] + sys-libs/zlib + fuse? ( sys-fs/fuse ) + kerberos? ( virtual/krb5 ) + python? ( ${PYTHON_DEPS} ) + rbd? ( sys-cluster/ceph ) + readline? ( sys-libs/readline:0= ) + ssl? ( dev-libs/openssl:0= ) +" +DEPEND="${CDEPEND} + doc? ( + app-doc/doxygen[dot] + python? ( dev-python/sphinx ) + ) + test? ( dev-util/cppunit ) +" +RDEPEND="${CDEPEND} + dev-lang/perl +" +REQUIRED_USE=" + http? ( kerberos ssl ) + python? ( ${PYTHON_REQUIRED_USE} ) +" +PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) + +# xrootd plugins are not intended to be linked with, +# they are to be loaded at runtime by xrootd, +# see https://github.com/xrootd/xrootd/issues/447 +QA_SONAME="/usr/lib.*/libXrd*-4.so" + +pkg_setup() { + enewgroup xrootd + enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd + use python && python_setup +} + +src_configure() { + local mycmakeargs=( + -DENABLE_CEPH=$(usex rbd) + -DENABLE_CRYPTO=$(usex ssl) + -DENABLE_FUSE=$(usex fuse) + -DENABLE_HTTP=$(usex http) + -DENABLE_KRB5=$(usex kerberos) + -DENABLE_PYTHON=$(usex python) + -DENABLE_READLINE=$(usex readline) + -DENABLE_TESTS=$(usex test) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + doxygen Doxyfile || die + if use python; then + emake -C bindings/python/docs html + fi + fi +} + +src_install() { + use doc && HTML_DOCS=( doxydoc/html/. ) + dodoc docs/ReleaseNotes.txt + cmake-utils_src_install + find "${D}" \( -iname '*.md5' -o -iname '*.map' \) -delete || die + + # 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 + + if use python; then + python_optimize "${D}/$(python_get_sitedir)" + + if use doc; then + docinto python + docompress -x "/usr/share/doc/${PF}/python/html" + dodoc -r bindings/python/docs/build/html + fi + if use examples; then + docinto python + dodoc -r bindings/python/examples + fi + fi +} |