diff options
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch | 24 | ||||
-rw-r--r-- | net-libs/xrootd/metadata.xml | 1 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.3.1.ebuild | 117 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.4.3.ebuild (renamed from net-libs/xrootd/xrootd-5.4.0.ebuild) | 27 |
5 files changed, 46 insertions, 132 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index aaf957729766..4566db9332a3 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -2,12 +2,11 @@ AUX cmsd.initd 885 BLAKE2B 9198afa01850da74519a6869894ebd86313f87781e3e2401d429e AUX frm_purged.initd 895 BLAKE2B c192a3c69d3161a8342242789cfc1559f189c0748cd0bdd1ee6baf9b5ba98c80d8103fa55344e1c9b040a513045c7a473272da46c800ff2afa45a0665a93c3b2 SHA512 f9c09f8baae7ed391d5248f5dfb7a1d4d60f23605b2646e6f3c2ec33b05838918a4ba4874424e9b4e674f1ca127d57760364552f6f948dcd3ef84245730efc30 AUX frm_xfrd.initd 899 BLAKE2B bdfc83f7bbad7e0d7aea91720798c10367c7ac27851414b99013c01d4f9681e010082bfef332ba2cc520afdbef67051ea80ee6922e515a30de32e735f0a6c6a7 SHA512 1c38b20c9b54cab17706c040a90b00df61c9b2f5e4e7a9cc26fa3b125e1d132097222921b5627a33f69b80c8ae5a64cfbaea0a4880588de9fa9d18f6aaa04768 AUX xrootd-4.8.3-crc32.patch 1987 BLAKE2B be57f7be2a897a2399f923e4670d219be79053221cc62ca0f6cf9b7abe6fae4f99dde0ccc72f6617bb07a871a396072db59aa57265382dab7928cbffdac1706e SHA512 4c390ed4329f21839ca2b481408c0114e5d4839cf0b04e673677e175c2e7e92573c9f56ec69660d4f5256c824676f65f9fb6c683d0e77d3b1f97bee7e5f65bc9 +AUX xrootd-5.4.3-no_automagic.patch 454 BLAKE2B 78fdb01301a342db1ea3685f5513f56449ed69af0e5ecf48545af7c8e2cb00f58b68660b812f64dcdc15df4d1bc303ef127fe85c0b9ea7ebc4a9518ab0d30c11 SHA512 7aa1e7d2f2a86e2222a4bf95ca344994d67bc25dbb3ffce27c36634dcecf8dd828a3072f04dd266014e7fd8cab8a06135959a8ee10f3003dcbaf43ac5658d3e5 AUX xrootd.confd 651 BLAKE2B a35bf51b82334757dbd27bd48923e59f955361ab009c4b92eef83050d5d4e23904abc2b0b9577f8a5888c875c34bf736cf4072b6684a91ca6ad8cd90fe9a2ba9 SHA512 60ab5b6d77cf79437960044bf201127c8adf5134e7f61a18dcccd2e474a4e41eda971e3ada71dea987716080fb308af98a5237bab2a0b82f50f932ff59e3fdea AUX xrootd.initd 858 BLAKE2B 306970196c9f69db3f94c095c8518b837f5f4723a1cbae273273821e4d77d30a7fe65ac4fccbb640ad5e0b6f879e549dbbc4e799f87b5b5c813d66f2d270af2b SHA512 dcdb75341d904c9850c2bf97393ccbb68ad37b095e0a20ca4dab27b10dd7525874c8ad6e07e5b9c1f3c3566391a50c06dee70622d865fa51a7e73aa4096da955 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375cbbbb39577eed9e450eb SHA512 e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0 -DIST xrootd-5.3.1.tar.gz 2957788 BLAKE2B 6669ce4811e6c65ef17f06ae219e19e1f12027f4f9b620ad447df53ac437b30ce6425dc783a0ac7e4557d18ab562c266ac2497d93e93a2058fe5bd4aa7bc1d42 SHA512 a65436fe649233bb28123d9529d496c11b4ff40ba5490cbcbb32ff5379e555cfd684fad350c784c80e70056bb5d2e9701a80543c7f4a8ceb11e935aea01800b3 -DIST xrootd-5.4.0.tar.gz 3225065 BLAKE2B cda6b14fae4c4c8d34367fa3ff448c02bf3ecda9c6bb4029d3a6b53370a57445ac25de77d5324dd4dab8c92cda77490efdbb862e4db6b926e19ad3363278f046 SHA512 59f93db433f0e88439d5edfffb75d7813bae253e50c390fe8c43ef924bc36f5f4a56db9b00a44013c60c4b4bd5a0accaff2a8ca793fe37e59dc77dd8ab8f6837 +DIST xrootd-5.4.3.tar.gz 3182127 BLAKE2B ed3f6a943167eafb5f6d7f78ca34f44c9a18b5ed672a4e622acb1e6e6997bd21756a30bf24f0b799ab4f16e7e1fb3f61a042f4e5e00f965b898fc5a287bf995a SHA512 189ec8e20901fd07093494187502e031a60d4ade22af33067313fad7a1bf6a6feb5c5d9d59d3a86d13a6a767e5a93cf4836da02e9cae11c81ccac07199898d72 EBUILD xrootd-5.0.3-r1.ebuild 2666 BLAKE2B 553cea29036e2bfc922ab6604f66d001acc838c800b478131f46a674406b3f6302a7c4439e162496507a13ff7b0ef7665abe37edfcf5eadeff96720a5a908592 SHA512 daa560edcd935fc8ae9c21013fc5c83257ffc1eace97f2bf9aa90666d615b5206c817462f5f5fef84573a6e86db23f71a66afb5443829bfa7495bca716a8b384 -EBUILD xrootd-5.3.1.ebuild 2669 BLAKE2B 8a2fb7476bad3e7c018572b25502f7764a894def158c1a242d1db43064010672d40922114bcfb5266ef3d04605265a409663bfdd6c7b7bd5a394df0a1fb3b5e3 SHA512 b9775cbd2d27aea34839255059023e5019f828c201953ce6d1bbd899c9eb35eaf0664d32ad3adc801682210eb4442186ce0ec0d240fdbb8686d6f631d4bc1602 -EBUILD xrootd-5.4.0.ebuild 2959 BLAKE2B 26f003fdf3caed2bdfa4308b9868f94b07c1352b2950324ee53c717274d20a761b8dbfff285b11743b4608e23c05778f5d332c4417bb859accda0d62e40a3c71 SHA512 1f73a0f22645206068ab8669108c6acff07475e5fdaae31bd741544889816a9de9c28a7764023a7e5733e05c278575e255dc0079edcb1435213abce6b0f169a7 -MISC metadata.xml 914 BLAKE2B fa0f01645c7e2fb128738a2439e1614e83c0a5fea40efa894ae3e9ba5ab302b419e03b2f10563e406caefcda6318661cd25aa3fbb8976039bf3d4e82fdd22141 SHA512 cd9046d8cb1f45f3c20a8ada0a85282f798dea1c431eafa516ae72351f27492757e59f623eb20b526569a415a31bf8749491681488f5db99622ce2f772b3dfef +EBUILD xrootd-5.4.3.ebuild 3138 BLAKE2B 74fb850f61ca7371af660cdc26f41f7f7ae8447fc172781248065c7b0427aa4ecfe6412e4df6fede080c0bcc9a3937f7082723d3606011fd7fb010d3e254b3a9 SHA512 3c3590d68432769452ee34705b81a08deb56ae4d3c2813ef2095d1c4548bca97fc5af9f7acc09f020e7da8f3a20c611af2233a3ddde0414ba9f976ad7fdd4585 +MISC metadata.xml 1033 BLAKE2B fa55ef316f5229b73667fb7f220071793053ed09df89b171afb7db8d81e4c7b70cc2ef4b44468ce1a5fbb8483192fed0545910b98e3a9c7dc8d081a1d49597e3 SHA512 f19fa16717d3c76d11caab1b2c28dc756df1407f0e57d9a72be324c4083a59ef5df8fe53310e8ef4df1d31540b8fbcc8dd734b319baa51ef0c70cd3a479b65f9 diff --git a/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch new file mode 100644 index 000000000000..d50ea40e1c49 --- /dev/null +++ b/net-libs/xrootd/files/xrootd-5.4.3-no_automagic.patch @@ -0,0 +1,24 @@ +--- a/cmake/XRootDFindLibs.cmake ++++ b/cmake/XRootDFindLibs.cmake +@@ -25,15 +25,19 @@ + + find_package( TinyXml ) + +-find_package( LibXml2 ) ++if( ENABLE_LIBXML2 ) ++find_package( LibXml2 REQUIRED ) + if( LIBXML2_FOUND ) + add_definitions( -DHAVE_XML2 ) + endif() ++endif() + +-find_package( Systemd ) ++if( ENABLE_SYSTEMD ) ++find_package( Systemd REQUIRED ) + if( SYSTEMD_FOUND ) + add_definitions( -DHAVE_SYSTEMD ) + endif() ++endif() + + find_package( CURL ) + diff --git a/net-libs/xrootd/metadata.xml b/net-libs/xrootd/metadata.xml index a911c7c2e75c..a8b5e8a0921c 100644 --- a/net-libs/xrootd/metadata.xml +++ b/net-libs/xrootd/metadata.xml @@ -16,6 +16,7 @@ <use> <flag name="fuse">Enable the <pkg>sys-fs/fuse</pkg> filesystem driver</flag> <flag name="http">Enable http protocol support</flag> + <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for XML parsing (preferred) instead of bundled tinyxml</flag> <flag name="server">Install xrootd server and related plug-ins</flag> </use> </pkgmetadata> diff --git a/net-libs/xrootd/xrootd-5.3.1.ebuild b/net-libs/xrootd/xrootd-5.3.1.ebuild deleted file mode 100644 index a33ccf3fde4d..000000000000 --- a/net-libs/xrootd/xrootd-5.3.1.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -# Upstream does not support the building of Python bindings -# via CMake for more than one implementation at a time. -inherit cmake python-single-r1 - -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 ssl test" -RESTRICT="!test? ( test )" - -CDEPEND="acct-group/xrootd - acct-user/xrootd - sys-libs/zlib - virtual/libcrypt:= - fuse? ( sys-fs/fuse:= ) - kerberos? ( virtual/krb5 ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:0= ) - ssl? ( <dev-libs/openssl-3.0.0:0= ) -" -DEPEND="${CDEPEND}" -BDEPEND=" - 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.*-$(ver_cut 1)\.so - /usr/lib.*/libXrdClTests\.so" - -pkg_setup() { - use python && python_setup -} - -src_configure() { - local mycmakeargs=( - -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_src_configure -} - -src_compile() { - cmake_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_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 -} diff --git a/net-libs/xrootd/xrootd-5.4.0.ebuild b/net-libs/xrootd/xrootd-5.4.3.ebuild index b13ed2e2e71d..a8edf6912fda 100644 --- a/net-libs/xrootd/xrootd-5.4.0.ebuild +++ b/net-libs/xrootd/xrootd-5.4.3.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) - # Upstream does not support the building of Python bindings # via CMake for more than one implementation at a time. +PYTHON_COMPAT=( python3_{8..11} ) + inherit cmake python-single-r1 DESCRIPTION="Extended ROOT remote file server" @@ -16,18 +16,20 @@ 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="doc examples fuse http kerberos python readline +server ssl systemd test" +IUSE="doc examples fuse http kerberos +libxml2 python readline +server systemd test" RESTRICT="!test? ( test )" CDEPEND="acct-group/xrootd acct-user/xrootd + dev-libs/openssl:0= sys-libs/zlib virtual/libcrypt:= - fuse? ( sys-fs/fuse:= ) + 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= ) - ssl? ( <dev-libs/openssl-3.0.0:0= ) systemd? ( sys-apps/systemd:= ) " DEPEND="${CDEPEND}" @@ -37,18 +39,22 @@ BDEPEND=" virtual/latex-base python? ( dev-python/sphinx ) ) + python? ( $(python_gen_cond_dep 'dev-python/pip[${PYTHON_USEDEP}]') ) test? ( dev-util/cppunit ) " RDEPEND="${CDEPEND} dev-lang/perl " REQUIRED_USE=" - http? ( kerberos ssl ) + http? ( kerberos ) python? ( ${PYTHON_REQUIRED_USE} ) test? ( server ) " -PATCHES=( "${FILESDIR}"/xrootd-4.8.3-crc32.patch ) +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, @@ -60,17 +66,18 @@ pkg_setup() { use python && python_setup } -# FIXME: no systemd automagic! # FIXME: support xrdec - currently only builds against bundled isa-l src_configure() { local mycmakeargs=( - -DENABLE_CRYPTO=$(usex ssl) -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 -DXRDCL_ONLY=$(usex server "no" "yes") ) cmake_src_configure |