1 |
commit: bc14e67bbdb9cb6c054f762732c50d6b31e92051 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 15:32:06 2016 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 15:32:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc14e67b |
7 |
|
8 |
net-libs/xrootd: fix bug 603016 |
9 |
|
10 |
As explained[1] by upstream libXrd.*-4.so files are xrootd plugins |
11 |
which are not supposed to be linked directly with, so adding |
12 |
QA_SONAME_NO_SYMLINK exception for them. |
13 |
|
14 |
[1] https://github.com/xrootd/xrootd/issues/447 |
15 |
|
16 |
Package-Manager: portage-2.3.3 |
17 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
18 |
|
19 |
net-libs/xrootd/xrootd-4.4.0.ebuild | 5 +++++ |
20 |
net-libs/xrootd/xrootd-4.5.0.ebuild | 5 +++++ |
21 |
2 files changed, 10 insertions(+) |
22 |
|
23 |
diff --git a/net-libs/xrootd/xrootd-4.4.0.ebuild b/net-libs/xrootd/xrootd-4.4.0.ebuild |
24 |
index d664ec8..bae1b0a 100644 |
25 |
--- a/net-libs/xrootd/xrootd-4.4.0.ebuild |
26 |
+++ b/net-libs/xrootd/xrootd-4.4.0.ebuild |
27 |
@@ -29,6 +29,11 @@ DEPEND="${RDEPEND} |
28 |
REQUIRED_USE="http? ( kerberos ssl )" |
29 |
PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) |
30 |
|
31 |
+# xrootd plugins are not intended to be linked with, |
32 |
+# they are to be loaded at runtime by xrootd, |
33 |
+# see https://github.com/xrootd/xrootd/issues/447 |
34 |
+QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so" |
35 |
+ |
36 |
pkg_setup() { |
37 |
enewgroup xrootd |
38 |
enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |
39 |
|
40 |
diff --git a/net-libs/xrootd/xrootd-4.5.0.ebuild b/net-libs/xrootd/xrootd-4.5.0.ebuild |
41 |
index c48d44f..d60b54e 100644 |
42 |
--- a/net-libs/xrootd/xrootd-4.5.0.ebuild |
43 |
+++ b/net-libs/xrootd/xrootd-4.5.0.ebuild |
44 |
@@ -43,6 +43,11 @@ REQUIRED_USE=" |
45 |
" |
46 |
PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) |
47 |
|
48 |
+# xrootd plugins are not intended to be linked with, |
49 |
+# they are to be loaded at runtime by xrootd, |
50 |
+# see https://github.com/xrootd/xrootd/issues/447 |
51 |
+QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so" |
52 |
+ |
53 |
pkg_setup() { |
54 |
enewgroup xrootd |
55 |
enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd |