net-libs/xrootd: fix bug 603016

As explained[1] by upstream libXrd.*-4.so files are xrootd plugins
which are not supposed to be linked directly with, so adding
QA_SONAME_NO_SYMLINK exception for them.

[1] https://github.com/xrootd/xrootd/issues/447

Package-Manager: portage-2.3.3
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
This commit is contained in:
Andrew Savchenko
2016-12-30 18:32:06 +03:00
parent 1209a07b74
commit bc14e67bbd
2 changed files with 10 additions and 0 deletions

View File

@@ -29,6 +29,11 @@ DEPEND="${RDEPEND}
REQUIRED_USE="http? ( kerberos ssl )"
PATCHES=( "${FILESDIR}"/${PN}-no-werror.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_NO_SYMLINK="/usr/lib.*/libXrd*-4.so"
pkg_setup() {
enewgroup xrootd
enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd

View File

@@ -43,6 +43,11 @@ REQUIRED_USE="
"
PATCHES=( "${FILESDIR}"/${PN}-no-werror.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_NO_SYMLINK="/usr/lib.*/libXrd*-4.so"
pkg_setup() {
enewgroup xrootd
enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd