diff options
Diffstat (limited to 'net-libs/xrootd')
-rw-r--r-- | net-libs/xrootd/Manifest | 9 | ||||
-rw-r--r-- | net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch | 41 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.12.4.ebuild | 117 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-4.12.5.ebuild | 117 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.0.2.ebuild | 116 | ||||
-rw-r--r-- | net-libs/xrootd/xrootd-5.0.3.ebuild | 2 |
6 files changed, 2 insertions, 400 deletions
diff --git a/net-libs/xrootd/Manifest b/net-libs/xrootd/Manifest index fec6581aa375..73fd6172241a 100644 --- a/net-libs/xrootd/Manifest +++ b/net-libs/xrootd/Manifest @@ -1,18 +1,11 @@ AUX cmsd.initd 885 BLAKE2B 9198afa01850da74519a6869894ebd86313f87781e3e2401d429e5e05a938a19a583feca808f78c4b497fd459a8adaece01d0482b132646033575cd50ad5b1b7 SHA512 7f666e98634b205964d69fd540fb79c7ff3b6f1b423ed416a966d1e0d6a18d950908e1dc463e3cc8029fc062b2ff7d29693af8e5af2fb13a36500d40b16345e9 AUX frm_purged.initd 895 BLAKE2B c192a3c69d3161a8342242789cfc1559f189c0748cd0bdd1ee6baf9b5ba98c80d8103fa55344e1c9b040a513045c7a473272da46c800ff2afa45a0665a93c3b2 SHA512 f9c09f8baae7ed391d5248f5dfb7a1d4d60f23605b2646e6f3c2ec33b05838918a4ba4874424e9b4e674f1ca127d57760364552f6f948dcd3ef84245730efc30 AUX frm_xfrd.initd 899 BLAKE2B bdfc83f7bbad7e0d7aea91720798c10367c7ac27851414b99013c01d4f9681e010082bfef332ba2cc520afdbef67051ea80ee6922e515a30de32e735f0a6c6a7 SHA512 1c38b20c9b54cab17706c040a90b00df61c9b2f5e4e7a9cc26fa3b125e1d132097222921b5627a33f69b80c8ae5a64cfbaea0a4880588de9fa9d18f6aaa04768 -AUX xrootd-4.12.4-http_secret_leakage.patch 1339 BLAKE2B 47ff77bbc2c5a4d2ef0dafbb10dc75de45b7a263ed13867f050c11f07555d7818b811c20e9020696d0a2c69568b79e329523354973a61124a6b084d0ff4680f9 SHA512 c22d744444f96b2b4b93f9e6dbb18622a271e2a88313ed796783bb722a951098bfde60be19f5ea747e83d71d66754cab00e4ca7141c5f3d91ad643228f29c146 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.12.4.tar.gz 2577360 BLAKE2B f2e4413bcbf02dccb1ac7b0ceec8fbc2bb8b1de838cd9753c9d61f76fc2d68e845a41075b63a4afe56b1a434cf89ecf4f4b8571fa9ae866a19e6bcadcc5dcd9b SHA512 8cbc5e5f270f39c48b7c75a15e2721ebb793f13419608834777f39bc0ee7dd8c4fad481367f997172dae5029d9e5e4e9d7870843bd5c9957fa9fe439592c4364 -DIST xrootd-4.12.5.tar.gz 2580794 BLAKE2B 217abb8ad332b3eb0cbe2289f4fa7c31abce7c3122ef8d23f409a3a03b7691f0e8a1939a42c831774e6902bf0f3242a2583bbf010478a66f5a2e634008799c5b SHA512 c252866ccdc4465c9ffe3f5cb4bb83a2a70e775db5ff3a55bcd8ac70c72d280ea41fb31501f30550d8ac61b6d474ce602e0ee8a02485f1f2722617aeb25aff0d -DIST xrootd-5.0.2.tar.gz 2764503 BLAKE2B 35bc642d3601738135ff24a77f9bc8795568553856284ebe80d90315039d04109353d2e00310f8b8168f6b1176ee295c9116a7e6adaff33ca23383da9deecf17 SHA512 e58b5484c0fa9f83643e252eb8228f2061130b4f97964283a6adb8a81560841f3d44814572136023d944be6bdd97cff551e75bbfb04e6c9aafaa779ecb051255 DIST xrootd-5.0.3.tar.gz 2766694 BLAKE2B 1fe7743de4d09c95257c3d761c2056024ba3ba59b7cd86b5926f2d32cc2f85dcd0af69e6e5969967591a2bba293902b757395e0f9375cbbbb39577eed9e450eb SHA512 e085af48e4196a44e9ebd63bf1234cf4401f158d23d03ffb38fcfe43284d025abe6c0b5e46b2808b28f300b933ff12523f64ac2d86d3f344aa2e0aea95e30cb0 DIST xrootd-5.1.0.tar.gz 2862622 BLAKE2B cb166adcd60b263f7fbed22033fe362ed5b32b7a05c76ff2d8a5ab25d730673d0c5d22bc41816083c84c3f14832cca34d801738594c7b58dcebbea9882a7df37 SHA512 f9bb293433e16b86d3395f29cf23f10a4a5447b367aa762219559278b3f75402892be85e0ca914762bfe892ad0dcc05bcfc64ac1ad0316c5855586141b537bad -EBUILD xrootd-4.12.4.ebuild 2599 BLAKE2B 0d7738d90d0a3e987a3446214d26ac004eca3a3e851d690a7a56b1dae8567f7373b434da4f17b27e762e712ce4598747d55e6393d25fdf711ca965759e205cdf SHA512 fea5a69dfc85aac6130a3aa025110fdeb84719c39c1c658327a5addf68d5fc615cfb3335384099aadd4ca91ad98bd4c032b29af36881dcb17e2d1e5c57e35d6b -EBUILD xrootd-4.12.5.ebuild 2601 BLAKE2B a116866859144f8364f726079cc0796e8551200727d8d7909398b6648bb5b207eb8dc798b56ec9837cbe708c3417281766021c8affc8b5dcc382de3a399a4fef SHA512 457ba1720da5aa9804e4ea10a39e1ca976dacb9860b7c3e132248a3ff994622f1eed38a30a2190fc3156746442527e96df32e7820977e8a295c069de42446b41 -EBUILD xrootd-5.0.2.ebuild 2641 BLAKE2B 677f3e6a2c92ea6ce412fa9218f3a2cabb8d69931e1b0baf6ac9d54b96e82dce377ea61ebade7d4c7c770e66c9fea5858488082c3357443fb4f958a46095e0da SHA512 b218ec45615c4d15fff2916d0c2b0fe1ba93879c4d3d1ce6e9f558ab9dd157ada66739efdf453144f6d078bcb832825635d9d5f1cefd986ba9a3ef78d04229b6 -EBUILD xrootd-5.0.3.ebuild 2640 BLAKE2B 2e1d1a44d9369f4a3f6100803782f12acd567ab8350fa14a77f31bcb87b9567e5700a673e1a8cf0e33fd089517625676ff9e0c708a54d2b6916f90694537225c SHA512 f1cbfc6f4d45375b595e408a353925e8602dbd537a234e48a0a3740385723da356ebce2e886972035f939685cc27df4b5fd1905416c55e04d70943d48f416e55 +EBUILD xrootd-5.0.3.ebuild 2639 BLAKE2B 53277652dfe77b32d5dbeb98f1aea19900f68ae5de1f700191dc08d324e4cfbb068883d9ce2f6bb517389279b6eb884997c4df40d0c9bbecf32a51ee559bd3f6 SHA512 a60b4f76c8e052dc37d58f507704d8013cc8f170b4f24555055b0e0761ec2a6b0bdfd24432de468c4211dade85fa5674a2afd04b601c52980c3648c54bc06e36 EBUILD xrootd-5.1.0.ebuild 2641 BLAKE2B 667907d947a41fc82698201b7cc7d22ec1cd3263670d9208ea65a0670e7224e38c8daf6a2715f8641e4756cca702f4ca925f26c5320afe9b1200f1b54739bc17 SHA512 7694c5f863ed39a248284836fcdd44b9bcde6aca22dbfa1ff7a9c8cee7edd7cbb1186e4e5bc6ab4e2999da0602c009854c25253002f7122192699b3d766903e4 MISC metadata.xml 840 BLAKE2B 47b6a6dc8459145124fbc5555f39ef7d3c4a77ef0c4377237a16b37e459f69250442a53ef078498d2b37648f93becd9f46080e71dcca7373a4061d6642bcca0d SHA512 d197a0dda77d491fd3b7a6eeff70d77bd28e7b1faef61b6ca3e523b974653e64448adfc4bbee1c11aa6bf746a85e7a5f1c6e76a76a8d8c3431c45d17ca46ec36 diff --git a/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch b/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch deleted file mode 100644 index 953c6aa3b2bc..000000000000 --- a/net-libs/xrootd/files/xrootd-4.12.4-http_secret_leakage.patch +++ /dev/null @@ -1,41 +0,0 @@ -Backported from 5.0.2. Not quite sure if xrootd-4 is actually vulnerable -to this - but just in case. - -From fff97c2dc6703dc1ba8b28b1bf67eeb278ff3e22 Mon Sep 17 00:00:00 2001 -From: Andrew Hanushevsky <abh@stanford.edu> -Date: Wed, 2 Sep 2020 23:13:52 -0700 -Subject: [PATCH] [HTTP] Prevent secret key leakage if specified in the config - file. - ---- - src/XrdHttp/XrdHttpProtocol.cc | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/XrdHttp/XrdHttpProtocol.cc b/src/XrdHttp/XrdHttpProtocol.cc -index 66b89df20ed..5f50f2aeadd 100644 ---- a/src/XrdHttp/XrdHttpProtocol.cc -+++ b/src/XrdHttp/XrdHttpProtocol.cc -@@ -1986,6 +1986,7 @@ int XrdHttpProtocol::xsslcafile(XrdOucStream & Config) { - - int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) { - char *val; -+ bool inFile = false; - - // Get the path - // -@@ -2001,6 +2002,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) { - // otherwise, the token itself is the secretkey - if (val[0] == '/') { - struct stat st; -+ inFile = true; - if ( stat(val, &st) ) { - eDest.Emsg("Config", errno, "stat shared secret key file", val); - return 1; -@@ -2059,6 +2061,7 @@ int XrdHttpProtocol::xsecretkey(XrdOucStream & Config) { - // Record the path - if (secretkey) free(secretkey); - secretkey = strdup(val); -+ if (!inFile) Config.noEcho(); - - return 0; - } diff --git a/net-libs/xrootd/xrootd-4.12.4.ebuild b/net-libs/xrootd/xrootd-4.12.4.ebuild deleted file mode 100644 index bd57f9288dc7..000000000000 --- a/net-libs/xrootd/xrootd-4.12.4.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit cmake-utils 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 - fuse? ( sys-fs/fuse:= ) - kerberos? ( virtual/krb5 ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:0= ) - ssl? ( dev-libs/openssl: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}"/${PN}-4.8.3-crc32.patch - "${FILESDIR}"/${PN}-4.12.4-http_secret_leakage.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-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 -} diff --git a/net-libs/xrootd/xrootd-4.12.5.ebuild b/net-libs/xrootd/xrootd-4.12.5.ebuild deleted file mode 100644 index 9d9b131b8c7c..000000000000 --- a/net-libs/xrootd/xrootd-4.12.5.ebuild +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit cmake-utils 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 - fuse? ( sys-fs/fuse:= ) - kerberos? ( virtual/krb5 ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:0= ) - ssl? ( dev-libs/openssl: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}"/${PN}-4.8.3-crc32.patch - "${FILESDIR}"/${PN}-4.12.4-http_secret_leakage.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-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 -} diff --git a/net-libs/xrootd/xrootd-5.0.2.ebuild b/net-libs/xrootd/xrootd-5.0.2.ebuild deleted file mode 100644 index b96f560be940..000000000000 --- a/net-libs/xrootd/xrootd-5.0.2.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -# 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 - fuse? ( sys-fs/fuse:= ) - kerberos? ( virtual/krb5 ) - python? ( ${PYTHON_DEPS} ) - readline? ( sys-libs/readline:0= ) - ssl? ( dev-libs/openssl: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.0.3.ebuild b/net-libs/xrootd/xrootd-5.0.3.ebuild index e675df9e658e..74ef8fe1863b 100644 --- a/net-libs/xrootd/xrootd-5.0.3.ebuild +++ b/net-libs/xrootd/xrootd-5.0.3.ebuild @@ -15,7 +15,7 @@ SRC_URI="http://xrootd.org/download/v${PV}/${P}.tar.gz" LICENSE="LGPL-3" SLOT="0" -KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="doc examples fuse http kerberos python readline ssl test" RESTRICT="!test? ( test )" |