Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527722 - app-forensics/aide should only use RDEPEND for SELinux policy package dependency
Summary: app-forensics/aide should only use RDEPEND for SELinux policy package dependency
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Forensics Herd [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527698
  Show dependency tree
 
Reported: 2014-11-01 09:46 UTC by Sven Vermeulen (RETIRED)
Modified: 2014-11-02 08:06 UTC (History)
1 user (show)

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 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 09:46:20 UTC
Please remove the "selinux? ( sec-policy/selinux-* )" dependency in the DEPEND variable (not RDEPEND). Take this into account with your next package bump - if after 6 months there have been no need for other package upgrades, we will be bumping the package(s) ourselves with just this change.

For more information, see our tracker Bug #527698 [1]. The requested change will be posted as a separate comment/patch. Note that if the package also depends on libselinux, libselinux itself should still remain in DEPEND and RDEPEND.

[1] https://bugs.gentoo.org/show_bug.cgi?id=527698

Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-01 09:47:01 UTC
Index: aide-0.13.1-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1-r3.ebuild,v
retrieving revision 1.10
diff -u -B -r1.10 aide-0.13.1-r3.ebuild
--- aide-0.13.1-r3.ebuild       11 Apr 2013 13:33:26 -0000      1.10
+++ aide-0.13.1-r3.ebuild       1 Nov 2014 09:46:25 -0000
@@ -17,7 +17,7 @@
 # libsandbox:  Can't dlopen libc: (null)
 RESTRICT="test"
 
-DEPEND="acl? ( sys-apps/acl )
+CDEPEND="acl? ( sys-apps/acl )
        curl? ( net-misc/curl )
        mhash? ( >=app-crypt/mhash-0.9.2 )
        !mhash? ( dev-libs/libgcrypt )
@@ -25,15 +25,15 @@
        postgres? ( dev-db/postgresql-base )
        selinux? (
                sys-libs/libselinux
-               sec-policy/selinux-aide
        )
        xattr? ( sys-apps/attr )
        zlib? ( sys-libs/zlib )"
 #      audit? ( sys-process/audit )
 
-RDEPEND="!static? ( ${DEPEND} )"
+RDEPEND="!static? ( ${CDEPEND} )
+               selinux? ( sec-policy/selinux-aide )"
 
-DEPEND="${DEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        sys-devel/bison
        sys-devel/flex"
Index: aide-0.13.1-r5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1-r5.ebuild,v
retrieving revision 1.7
diff -u -B -r1.7 aide-0.13.1-r5.ebuild
--- aide-0.13.1-r5.ebuild       11 Apr 2013 13:33:26 -0000      1.7
+++ aide-0.13.1-r5.ebuild       1 Nov 2014 09:46:25 -0000
@@ -17,7 +17,7 @@
 # libsandbox:  Can't dlopen libc: (null)
 RESTRICT="test"
 
-DEPEND="acl? ( sys-apps/acl )
+CDEPEND="acl? ( sys-apps/acl )
        curl? ( net-misc/curl )
        mhash? ( >=app-crypt/mhash-0.9.2 )
        !mhash? ( dev-libs/libgcrypt )
@@ -25,15 +25,15 @@
        postgres? ( dev-db/postgresql-base )
        selinux? (
                sys-libs/libselinux
-               sec-policy/selinux-aide
        )
        xattr? ( sys-apps/attr )
        zlib? ( sys-libs/zlib )"
 #      audit? ( sys-process/audit )
 
-RDEPEND="!static? ( ${DEPEND} )"
+RDEPEND="!static? ( ${CDEPEND} )
+               selinux? ( sec-policy/selinux-aide )"
 
-DEPEND="${DEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        sys-devel/bison
        sys-devel/flex"
Index: aide-0.13.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1.ebuild,v
retrieving revision 1.17
diff -u -B -r1.17 aide-0.13.1.ebuild
--- aide-0.13.1.ebuild  11 Apr 2013 13:33:26 -0000      1.17
+++ aide-0.13.1.ebuild  1 Nov 2014 09:46:26 -0000
@@ -14,7 +14,7 @@
 IUSE="acl curl mhash nls postgres selinux static xattr zlib"
 #IUSE="acl audit curl mhash nls postgres selinux static xattr zlib"
 
-DEPEND="acl? ( sys-apps/acl )
+CDEPEND="acl? ( sys-apps/acl )
        curl? ( net-misc/curl )
        mhash? ( >=app-crypt/mhash-0.9.2 )
        !mhash? ( dev-libs/libgcrypt )
@@ -22,16 +22,16 @@
        postgres? ( dev-db/postgresql-base )
        selinux? (
                sys-libs/libselinux
-               sec-policy/selinux-aide
        )
        xattr? ( sys-apps/attr )
        zlib? ( sys-libs/zlib )"
 #      audit? ( sys-process/audit )
 
-RDEPEND="!static? ( ${DEPEND} )
+RDEPEND="!static? ( ${CDEPEND} )
+       selinux? ( sec-policy/selinux-aide )
        virtual/mailx"
 
-DEPEND="${DEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        sys-devel/bison
        sys-devel/flex"
Index: aide-0.14.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.14.2.ebuild,v
retrieving revision 1.9
diff -u -B -r1.9 aide-0.14.2.ebuild
--- aide-0.14.2.ebuild  1 Mar 2014 23:07:16 -0000       1.9
+++ aide-0.14.2.ebuild  1 Nov 2014 09:46:26 -0000
@@ -15,7 +15,7 @@
 KEYWORDS="amd64 x86"
 IUSE="acl audit curl mhash nls postgres prelink selinux static xattr zlib"
 
-DEPEND="acl? ( virtual/acl )
+CDEPEND="acl? ( virtual/acl )
        audit? ( sys-process/audit )
        curl? ( net-misc/curl )
        mhash? ( >=app-crypt/mhash-0.9.2 )
@@ -25,14 +25,14 @@
        prelink? ( sys-devel/prelink )
        selinux? (
                sys-libs/libselinux
-               sec-policy/selinux-aide
        )
        xattr? ( sys-apps/attr )
        zlib? ( sys-libs/zlib )"
 
-RDEPEND="!static? ( ${DEPEND} )"
+RDEPEND="!static? ( ${CDEPEND} )
+       selinux? ( sec-policy/selinux-aide )"
 
-DEPEND="${DEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        sys-devel/bison
        sys-devel/flex"
Index: aide-0.15.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.15.1.ebuild,v
retrieving revision 1.6
diff -u -B -r1.6 aide-0.15.1.ebuild
--- aide-0.15.1.ebuild  1 Mar 2014 23:07:16 -0000       1.6
+++ aide-0.15.1.ebuild  1 Nov 2014 09:46:26 -0000
@@ -15,7 +15,7 @@
 KEYWORDS="~amd64 ~x86"
 IUSE="acl audit curl mhash nls postgres prelink selinux static xattr zlib"
 
-DEPEND="acl? ( virtual/acl )
+CDEPEND="acl? ( virtual/acl )
        audit? ( sys-process/audit )
        curl? ( net-misc/curl )
        mhash? ( >=app-crypt/mhash-0.9.2 )
@@ -25,14 +25,14 @@
        prelink? ( sys-devel/prelink )
        selinux? (
                sys-libs/libselinux
-               sec-policy/selinux-aide
        )
        xattr? ( sys-apps/attr )
        zlib? ( sys-libs/zlib )"
 
-RDEPEND="!static? ( ${DEPEND} )"
+RDEPEND="!static? ( ${CDEPEND} )
+               selinux? ( sec-policy/selinux-aide )"
 
-DEPEND="${DEPEND}
+DEPEND="${CDEPEND}
        nls? ( sys-devel/gettext )
        sys-devel/bison
        sys-devel/flex"
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 08:06:37 UTC
After checking with a few colleague developers it seems that this change does not need a revision bump after all. As such, I will make the necessary changes to the packages myself.

My apologies for the noise.