diff options
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.10.0.ebuild | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index ce85798165d9..b176c083a916 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -4,8 +4,10 @@ AUX frm_xfrd.initd 899 BLAKE2B bdfc83f7bbad7e0d7aea91720798c10367c7ac27851414b99 AUX xrootd-4.8.3-crc32.patch 1987 BLAKE2B be57f7be2a897a2399f923e4670d219be79053221cc62ca0f6cf9b7abe6fae4f99dde0ccc72f6617bb07a871a396072db59aa57265382dab7928cbffdac1706e SHA512 4c390ed4329f21839ca2b481408c0114e5d4839cf0b04e673677e175c2e7e92573c9f56ec69660d4f5256c824676f65f9fb6c683d0e77d3b1f97bee7e5f65bc9 AUX xrootd.confd 651 BLAKE2B a35bf51b82334757dbd27bd48923e59f955361ab009c4b92eef83050d5d4e23904abc2b0b9577f8a5888c875c34bf736cf4072b6684a91ca6ad8cd90fe9a2ba9 SHA512 60ab5b6d77cf79437960044bf201127c8adf5134e7f61a18dcccd2e474a4e41eda971e3ada71dea987716080fb308af98a5237bab2a0b82f50f932ff59e3fdea AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae273273821e4d77d30a7fe65ac4fccbb640ad5e0b6f879e549dbbc4e799f87b5b5c813d66f2d270af2b SHA512 dcdb75341d904c9850c2bf97393ccbb68ad37b095e0a20ca4dab27b10dd7525874c8ad6e07e5b9c1f3c3566391a50c06dee70622d865fa51a7e73aa4096da955 +DIST xrootd-4.10.0.tar.gz 2532873 BLAKE2B 076c935d969ce7c5de6c5bde447d7579669c2908394318ddf4e2ef2938aa5cfdf36ac0f52771340b1586a1f933316278eff76c8f568c3f2a67c419ad096d1067 SHA512 deb40ed2d751c3e5a8512a85a9fb13c8fc432cda14682adb0755d0da1f95f177115d09df9438de97d224b36d00d487112d4deeba1c3db9382c7a727daf956bc3 DIST xrootd-4.8.3.tar.gz 2390520 BLAKE2B 1b97225c41f6a3a751f55a4d357f53fac2e4cc24f2456962a6d6282b78faaeb844db5d69bff34437acd2c015dbff4a2a5047d6295770abd200d3e5bedd89d4fe SHA512 6f605131be18f35115bf7cf5d829dfd5a36e004ac69aa77dd0cb34ab70f2b89ff07e7b3e3259fe672d81b6241596c78a537de02e5abad4537dc92ae745ae8911 DIST xrootd-4.9.0.tar.gz 2517614 BLAKE2B 5f1ce6f599fdf5b1f9b4fa078d9b306be241757f95e9b5e9bc0a6f06450a21315778428d8c1d1ffd28ef0841bc50fca387036740bb707d9a96b7f07e94e15540 SHA512 a956262a8adae4c9cb9a91275d4207943cf43251fc61ade111c91152c62baf06c1cbdf1d659c6d792703045a4c2a82bac732220ecfd2fa707e445d6fc66ee047 +EBUILD xrootd-4.10.0.ebuild 2603 BLAKE2B e73ab288f2dbf0482364e083c8d93cd21523d13242a8a3fdf5053d6fd0147de2b21f469bc1bdc45667cdcf52ec24ef17e2634d837e19263aca9e40cbf0bed7bb SHA512 4366482e0c0c7d6ef657e51dbe14978b301f389ffb3b9a67d39ff3c8e0e8980cb6ad8176ca1691c4e04bce4838731a4625e3980b1593a23469626ea08d69a163 EBUILD xrootd-4.8.3.ebuild 2593 BLAKE2B e0aef6a1c55d34fc4175e4f57acf99083f208ea0283b49c988de16d58176c8e63b5bbdf8378361be34313b5a3734d6d362c64d02b723cd56b903bf655f72b0de SHA512 75526b8954ceba00889d4649b01f0995c758998bdc4b11af5d11f826bbd7319e112b368997ee144aee8299a74d5ee38ac3732621faed9b75ecb4cd6afe518a9b EBUILD xrootd-4.9.0.ebuild 2603 BLAKE2B e73ab288f2dbf0482364e083c8d93cd21523d13242a8a3fdf5053d6fd0147de2b21f469bc1bdc45667cdcf52ec24ef17e2634d837e19263aca9e40cbf0bed7bb SHA512 4366482e0c0c7d6ef657e51dbe14978b301f389ffb3b9a67d39ff3c8e0e8980cb6ad8176ca1691c4e04bce4838731a4625e3980b1593a23469626ea08d69a163 MISC metadata.xml 934 BLAKE2B f490ed604e1135f4440e805a5c7e6ee239326ea716074f1952361efc95d1763ab1ed7e3d9ed883f801430986181104313560092a329994b4a5caf478efec72e9 SHA512 44828821d0307904163a2a818855efc7c68029be18aa0e11ea07bd99d794c433888bcf74a19632a7e3b68494192e6d8c2b9d30b9c33aea748e8b03ebd44efb25 diff --git a/net-libs/xrootd/xrootd-4.10.0.ebuild b/net-libs/xrootd/xrootd-4.10.0.ebuild new file mode 100644 index 000000000000..d0c6576d614a --- /dev/null +++ b/net-libs/xrootd/xrootd-4.10.0.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 Gentoo Authors +# 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}"/xrootd-4.8.3-crc32.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 +} |