Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 527916 - net-analyzer/vnstat - add USE=selinux
Summary: net-analyzer/vnstat - add USE=selinux
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527868
  Show dependency tree
 
Reported: 2014-11-01 20:38 UTC by Eric Gisse
Modified: 2014-11-02 20:29 UTC (History)
1 user (show)

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


Attachments
Adds selinux use flag to the ebuild. (vnstat-1.12.ebuild,2.30 KB, text/plain)
2014-11-01 20:38 UTC, Eric Gisse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Gisse 2014-11-01 20:38:10 UTC
I'm pulling stuff from puppet manifests, codifying them in the ebuild, and pushing them upstream.

Another easy one.





Reproducible: Always
Comment 1 Eric Gisse 2014-11-01 20:38:53 UTC
Created attachment 388284 [details]
Adds selinux use flag to the ebuild.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2014-11-02 14:33:14 UTC
Only add in the dependency to RDEPEND, we no longer need the DEPEND dependency for SELinux policy packages.

@netmon herd, can you add in the following to the vnstat package?

IUSE="selinux"
RDEPEND="selinux? ( sec-policy/selinux-vnstatd )"

I can do it for you (with revbump) if you don't have anything in the queue. Otherwise, this can wait a bit if you think you will have a bump soonish anyway.

Index: vnstat-1.12.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/vnstat/vnstat-1.12.ebuild,v
retrieving revision 1.1
diff -u -B -r1.1 vnstat-1.12.ebuild
--- vnstat-1.12.ebuild  3 Sep 2014 14:16:40 -0000       1.1
+++ vnstat-1.12.ebuild  2 Nov 2014 14:31:19 -0000
@@ -12,11 +12,13 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="gd"
+IUSE="gd selinux"
 
 DEPEND="
        gd? ( media-libs/gd[png] )"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+       selinux? ( sec-policy/selinux-vnstatd )
+"
 
 pkg_setup() {
        enewgroup vnstat
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-02 20:29:16 UTC
Fixed without revision bump.