mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
net-libs/xrootd: Drop 4.12.4, 4.12.5, 5.0.2
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
df1e001569
commit
2ba83dd160
@ -1,5 +1,2 @@
|
||||
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
|
||||
|
||||
@ -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;
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user