diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-18 19:56:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-18 19:56:57 +0100 |
commit | d1262423b614597cd55d30370eb8de6bfa8f0899 (patch) | |
tree | 1a5f46b31c19b0bfcc840ab7a6ee06d7aa161c87 /net-libs/xrootd | |
parent | cb9a501c2ed1312c376917c1cbfc79542d799806 (diff) |
gentoo auto-resync : 18:10:2022 - 19:56:57
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.5.0.ebuild | 134 |
2 files changed, 136 insertions, 0 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index ee4733a4f3ba..4cb66e86ad38 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -8,7 +8,9 @@ AUX xrootd-5.4.3-python_tests_py3.patch 4491 BLAKE2B 61e3eb0e10de6e746b1447c7a1d AUX xrootd.confd 651 BLAKE2B a35bf51b82334757dbd27bd48923e59f955361ab009c4b92eef83050d5d4e23904abc2b0b9577f8a5888c875c34bf736cf4072b6684a91ca6ad8cd90fe9a2ba9 SHA512 60ab5b6d77cf79437960044bf201127c8adf5134e7f61a18dcccd2e474a4e41eda971e3ada71dea987716080fb308af98a5237bab2a0b82f50f932ff59e3fdea AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae273273821e4d77d30a7fe65ac4fccbb640ad5e0b6f879e549dbbc4e799f87b5b5c813d66f2d270af2b SHA512 dcdb75341d904c9850c2bf97393ccbb68ad37b095e0a20ca4dab27b10dd7525874c8ad6e07e5b9c1f3c3566391a50c06dee70622d865fa51a7e73aa4096da955 DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a SHA512 189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72 +DIST xrootd-5.5.0.tar.gz 3227490 BLAKE2B 3d9c0ab859f95d6e651ae98dc132ade389f9981a20c738798bc2079a5470d766cd882df326359ccd4777389e15bf064537e6d4f7f653fbb5fe251b019b4ca5fd SHA512 d13d76be54eacc097363cd1c06448f87bffdd32c81eaad12b4c3321be31c7b221ef34b1bf5da50ee5128d9682e13dc670554317c29c13607c246c781a1fefffe EBUILD xrootd-5.4.3-r1.ebuild 3236 BLAKE2B 9e1aa0733247cbfde76a1a53b87e9c7e44f58a5465cdc6b5e741757ad8a1a6e8515879d27324f8ee994ccc5fea1433804f27ce7113126b8b0b34f605e54c5787 SHA512 60d917d1737b2053bf23150464590b97c231010d16bd535df2147a3b89b73c261750342f9c1133d7eff5abbd84b0b41232f360eb9928862518937fbb74200274 EBUILD xrootd-5.4.3-r2.ebuild 4627 BLAKE2B ee921f4275109a9beebf596d13da360e9d9ea7302a3c30b3c585b32fd999c827ac43cf9cdc70d57ec967c47546032990d1bf490fdda9bfcf547ac704a36164ee SHA512 3e89e0f3d32bba82f96a590f32b2bdb65bf3d01acbdab2090b9dace9352fa5538eb77b2bbd2287803f34c8c6469ce7be131e02da23074723e2b44b0e5800a62e EBUILD xrootd-5.4.3.ebuild 3186 BLAKE2B de3810bbf345c8576b7bbc1835905e600d58edfe694eb631214d0c075f0acf11d8ae95e24252f65ede89b8f48d80bce740992fa65dc0fcc892c8c51b362fe91e SHA512 4c89f8a9d3a1dd61130fb63b5b1d8548d1f555e76ffe8dfe1ee9cac112c0a18a8fa07a61bbd758fc1743771f7b92c775d1f5bd73e1ff185eb0dbc0be0a82918a +EBUILD xrootd-5.5.0.ebuild 3210 BLAKE2B 31b284e45bde9d3e633b6a97321e73c9e1ce7f9eb63423df25198c4c9eed90841f1a6a410df97f3feb11ff741e20cb5708e4607233d2b844af7641ed8f9fda83 SHA512 483a71faf2ec708685f3d7454c25cecde51f7cac79ed04ddba0fe5acbcbcc98b8e11e54ec533e0bd6a0c4e20ed97d6310e39170c5d5cf4a34500575ff481ef47 MISC metadata.xml 1124 BLAKE2B 28d63d184e1d3c53c1cc1ec05f9508e0cc99a0a6a14e405aa8cdeddcf20cff0e825d814531826544b58e51b4996948718407ba1269966037ad7f00ab8807b2c7 SHA512 3aac33a0c6eea3f0ea2e105a0c5b000a0d9d423ed1d2cfc10619142aa5de35fa4b27fba6aa224bd95020c5d9ec278a89bbd0468c38d674fb53e989bc738f001e diff --git a/net-libs/xrootd/xrootd-5.5.0.ebuild b/net-libs/xrootd/xrootd-5.5.0.ebuild new file mode 100644 index 000000000000..53f8a65ef85d --- /dev/null +++ b/net-libs/xrootd/xrootd-5.5.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Upstream does not support the building of Python bindings +# via CMake for more than one implementation at a time. +PYTHON_COMPAT=( python3_{8..11} ) +DOCS_BUILDER="doxygen" +DOCS_DEPEND=" + media-gfx/graphviz + virtual/latex-base + python? ( dev-python/sphinx ) +" + +inherit cmake docs python-single-r1 + +DESCRIPTION="Extended ROOT remote file server" +HOMEPAGE="https://xrootd.slac.stanford.edu/" +SRC_URI="https://xrootd.slac.stanford.edu/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples fuse http kerberos +libxml2 python readline +server systemd test" +RESTRICT="!test? ( test )" + +CDEPEND="acct-group/xrootd + acct-user/xrootd + dev-libs/openssl:0= + net-libs/davix + sys-libs/zlib + virtual/libcrypt:= + fuse? ( sys-fs/fuse:0= ) + http? ( net-misc/curl:= ) + kerberos? ( virtual/krb5 ) + libxml2? ( dev-libs/libxml2:2= ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:0= ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${CDEPEND}" +BDEPEND=" + python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') ) + test? ( dev-util/cppunit ) +" +RDEPEND="${CDEPEND} + dev-lang/perl +" +REQUIRED_USE=" + http? ( kerberos ) + python? ( ${PYTHON_REQUIRED_USE} ) + test? ( server ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-4.8.3-crc32.patch + "${FILESDIR}"/${PN}-5.4.3-no_automagic.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.*-$(ver_cut 1)\.so + /usr/lib.*/libXrdClTests\.so" + +pkg_setup() { + use python && python_setup +} + +# FIXME: support xrdec - currently only builds against bundled isa-l +src_configure() { + local mycmakeargs=( + -DENABLE_FUSE=$(usex fuse) + -DENABLE_HTTP=$(usex http) + -DENABLE_KRB5=$(usex kerberos) + -DENABLE_LIBXML2=$(usex libxml2) + -DENABLE_PYTHON=$(usex python) + -DENABLE_READLINE=$(usex readline) + -DENABLE_TESTS=$(usex test) + -DENABLE_VOMS=no + -DFORCE_ENABLED=yes + -DPIP_OPTIONS="--ignore-installed" # bug 861452 + -DXRDCL_ONLY=$(usex server "no" "yes") + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + docs_compile + + # secondary documentation for python bindings + if use python && use doc; then + emake -C bindings/python/docs html + fi +} + +src_install() { + dodoc docs/ReleaseNotes.txt + cmake_src_install + find "${ED}" \( -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 + + if use server; then + 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 + fi + + 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 +} |