diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-09-01 23:04:33 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-09-01 23:35:49 -0400 |
commit | da1f083d28792539e65dccd7b1e6d8833acad32f (patch) | |
tree | d4361c2343698b96af94b83461e2c53bef4a65c7 /net-wireless/kismet | |
parent | net-wireless/kismet: bump (diff) | |
download | gentoo-da1f083d28792539e65dccd7b1e6d8833acad32f.tar.gz gentoo-da1f083d28792539e65dccd7b1e6d8833acad32f.tar.bz2 gentoo-da1f083d28792539e65dccd7b1e6d8833acad32f.zip |
net-wireless/kismet: install systemd unit
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r-- | net-wireless/kismet/kismet-2020.09.1.ebuild | 10 | ||||
-rw-r--r-- | net-wireless/kismet/kismet-9999.ebuild | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/net-wireless/kismet/kismet-2020.09.1.ebuild b/net-wireless/kismet/kismet-2020.09.1.ebuild index f55bc6dc159c..62c65347ece9 100644 --- a/net-wireless/kismet/kismet-2020.09.1.ebuild +++ b/net-wireless/kismet/kismet-2020.09.1.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit autotools eutils multilib user python-single-r1 udev +inherit autotools eutils multilib user python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -83,9 +83,14 @@ src_prepare() { sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ conf/kismet_logging.conf || die + #this was added to quiet macosx builds but it makes gcc builds noisier + sed -i -e 's#-Wno-unknown-warning-option ##g' Makefile.inc.in || die + + #sed -i -e 's#root#kismet#g' packaging/systemd/kismet.service.in + # Don't strip and set correct mangrp sed -i -e 's| -s||g' \ - -e 's|@mangrp@|root|g' Makefile.in + -e 's|@mangrp@|root|g' Makefile.in || die eapply_user @@ -121,6 +126,7 @@ src_install() { dodoc CHANGELOG README* newinitd "${FILESDIR}"/${PN}.initd-r3 kismet newconfd "${FILESDIR}"/${PN}.confd-r2 kismet + systemd_dounit packaging/systemd/kismet.service } pkg_preinst() { diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild index f55bc6dc159c..62c65347ece9 100644 --- a/net-wireless/kismet/kismet-9999.ebuild +++ b/net-wireless/kismet/kismet-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8} ) -inherit autotools eutils multilib user python-single-r1 udev +inherit autotools eutils multilib user python-single-r1 udev systemd if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://www.kismetwireless.net/git/${PN}.git" @@ -83,9 +83,14 @@ src_prepare() { sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \ conf/kismet_logging.conf || die + #this was added to quiet macosx builds but it makes gcc builds noisier + sed -i -e 's#-Wno-unknown-warning-option ##g' Makefile.inc.in || die + + #sed -i -e 's#root#kismet#g' packaging/systemd/kismet.service.in + # Don't strip and set correct mangrp sed -i -e 's| -s||g' \ - -e 's|@mangrp@|root|g' Makefile.in + -e 's|@mangrp@|root|g' Makefile.in || die eapply_user @@ -121,6 +126,7 @@ src_install() { dodoc CHANGELOG README* newinitd "${FILESDIR}"/${PN}.initd-r3 kismet newconfd "${FILESDIR}"/${PN}.confd-r2 kismet + systemd_dounit packaging/systemd/kismet.service } pkg_preinst() { |