summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-28 08:10:31 +0100
committerSam James <sam@gentoo.org>2023-06-28 08:16:01 +0100
commit8f09b674ef26a4e58a0734fd9cdfea97107feb41 (patch)
tree7dcf24c1e834ac5fd87e52f70c1afb9a99919b53 /sci-geosciences
parentdev-java/swt: adjust dependency on gtk+ (diff)
downloadgentoo-8f09b674ef26a4e58a0734fd9cdfea97107feb41.tar.gz
gentoo-8f09b674ef26a4e58a0734fd9cdfea97107feb41.tar.bz2
gentoo-8f09b674ef26a4e58a0734fd9cdfea97107feb41.zip
sci-geosciences/gpsd: add missing selinux policy dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gpsd/gpsd-3.25.ebuild3
-rw-r--r--sci-geosciences/gpsd/gpsd-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/sci-geosciences/gpsd/gpsd-3.25.ebuild b/sci-geosciences/gpsd/gpsd-3.25.ebuild
index 95012f056712..1f0b0d395e3a 100644
--- a/sci-geosciences/gpsd/gpsd-3.25.ebuild
+++ b/sci-geosciences/gpsd/gpsd-3.25.ebuild
@@ -29,7 +29,7 @@ GPSD_PROTOCOLS=(
rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox
)
IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_}
-IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 +shm +sockets static systemd test udev usb X"
+IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 selinux +shm +sockets static systemd test udev usb X"
REQUIRED_USE="
X? ( python )
gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm )
@@ -69,6 +69,7 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
test? ( sys-devel/bc )"
+RDEPEND+=" selinux? ( sec-policy/selinux-gpsd )"
# asciidoctor package is for man page generation
if [[ ${PV} == *9999* ]] ; then
diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild
index 53bc8d53f9fd..166b426d8ec9 100644
--- a/sci-geosciences/gpsd/gpsd-9999.ebuild
+++ b/sci-geosciences/gpsd/gpsd-9999.ebuild
@@ -29,7 +29,7 @@ GPSD_PROTOCOLS=(
rtcm104v2 rtcm104v3 sirf skytraq superstar2 tnt tripmate tsip ublox
)
IUSE_GPSD_PROTOCOLS=${GPSD_PROTOCOLS[@]/#/+gpsd_protocols_}
-IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 +shm +sockets static systemd test udev usb X"
+IUSE="${IUSE_GPSD_PROTOCOLS} bluetooth +cxx dbus debug ipv6 latency-timing ncurses ntp +python qt5 selinux +shm +sockets static systemd test udev usb X"
REQUIRED_USE="
X? ( python )
gpsd_protocols_nmea2000? ( gpsd_protocols_aivdm )
@@ -69,6 +69,7 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
$(python_gen_any_dep 'dev-util/scons[${PYTHON_USEDEP}]')
test? ( sys-devel/bc )"
+RDEPEND+=" selinux? ( sec-policy/selinux-gpsd )"
# asciidoctor package is for man page generation
if [[ ${PV} == *9999* ]] ; then