commit:     fbf5b5f581406c9db5c524aa8c887c70a744ec1e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 07:51:50 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Mar 27 07:52:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf5b5f5

net-fs/samba: libnsl requires >=glibc-2.26

Bug: https://bugs.gentoo.org/651332
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-fs/samba/samba-4.7.6.ebuild | 8 ++++++--
 net-fs/samba/samba-4.8.0.ebuild | 8 ++++++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/net-fs/samba/samba-4.7.6.ebuild b/net-fs/samba/samba-4.7.6.ebuild
index 339585353ef..b9cff1dabea 100644
--- a/net-fs/samba/samba-4.7.6.ebuild
+++ b/net-fs/samba/samba-4.7.6.ebuild
@@ -47,7 +47,6 @@ CDEPEND="
        dev-libs/popt[${MULTILIB_USEDEP}]
        dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
        >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
-       net-libs/libnsl
        sys-apps/attr[${MULTILIB_USEDEP}]
        
>=sys-libs/ldb-1.2.3[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
        sys-libs/libcap
@@ -78,7 +77,12 @@ CDEPEND="
        ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
        system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
        system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] )
-       systemd? ( sys-apps/systemd:0= )"
+       systemd? ( sys-apps/systemd:0= )
+       || (
+               net-libs/libnsl
+               <sys-libs/glibc-2.26[rpc(+)]
+       )
+"
 DEPEND="${CDEPEND}
        ${PYTHON_DEPS}
        app-text/docbook-xsl-stylesheets

diff --git a/net-fs/samba/samba-4.8.0.ebuild b/net-fs/samba/samba-4.8.0.ebuild
index 2f07db8293d..8ffa5d8d74b 100644
--- a/net-fs/samba/samba-4.8.0.ebuild
+++ b/net-fs/samba/samba-4.8.0.ebuild
@@ -47,7 +47,6 @@ CDEPEND="
        dev-libs/popt[${MULTILIB_USEDEP}]
        dev-python/subunit[${PYTHON_USEDEP},${MULTILIB_USEDEP}]
        >=dev-util/cmocka-1.1.1[${MULTILIB_USEDEP}]
-       net-libs/libnsl
        sys-apps/attr[${MULTILIB_USEDEP}]
        
>=sys-libs/ldb-1.3.2[ldap(+)?,python?,${PYTHON_USEDEP},${MULTILIB_USEDEP}]
        sys-libs/libcap
@@ -78,7 +77,12 @@ CDEPEND="
        ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] )
        system-heimdal? ( >=app-crypt/heimdal-1.5[-ssl,${MULTILIB_USEDEP}] )
        system-mitkrb5? ( >=app-crypt/mit-krb5-1.15.1[${MULTILIB_USEDEP}] )
-       systemd? ( sys-apps/systemd:0= )"
+       systemd? ( sys-apps/systemd:0= )
+       || (
+               net-libs/libnsl
+               <sys-libs/glibc-2.26[rpc(+)]
+       )
+"
 DEPEND="${CDEPEND}
        ${PYTHON_DEPS}
        app-text/docbook-xsl-stylesheets

Reply via email to