Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619522 - gnome-extra/nemo: automagic dependency on libselinux
Summary: gnome-extra/nemo: automagic dependency on libselinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cinnamon Team (DISABLED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-24 08:48 UTC by Pacho Ramos
Modified: 2017-06-24 15:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2017-05-24 08:48:27 UTC
After depcleaning I noticed this:
>>> package: sys-libs/libselinux-2.6
 *  - /lib64/libselinux.so.1
 *      used by /usr/bin/nemo (gnome-extra/nemo-3.2.0)
 *      used by /usr/bin/nemo-connect-server (gnome-extra/nemo-3.2.0)
 *      used by /usr/bin/nemo-open-with (gnome-extra/nemo-3.2.0)

and, indeed, looking to configure.ac, it seems this dep is automagic :(
dnl *** Check for libselinux ***
dnl ****************************
    
SELINUX_LIBS=
msg_selinux=no
AC_CHECK_LIB(selinux, is_selinux_enabled,
   [AC_CHECK_HEADERS(selinux/selinux.h,
     [AC_SEARCH_LIBS(selinux_raw_to_trans_context, selinux, 
       [AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available])
        SELINUX_LIBS="-lselinux"
        msg_selinux=yes])
     ])
   ])
AC_SUBST(SELINUX_LIBS)
Comment 1 Kristian Fiskerstrand (RETIRED) gentoo-dev 2017-06-24 15:02:13 UTC
3.4.4 dies without support, made it explicit dep in

commit 9c69ae8e5148ab0197959f3f7bcb69880a502fa0
Author: Kristian Fiskerstrand <k_f@gentoo.org>
Date:   Sat Jun 24 16:46:11 2017 +0200

    gnome-extra/nemo: New upstream version 3.4.4
    
    Gentoo-Bug: 617602
    Gentoo-Bug: 619522
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.1