summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2016-06-01 17:17:18 -0400
committerZero_Chaos <zerochaos@gentoo.org>2016-06-01 17:17:44 -0400
commitcbf8b8432e0f5bc1bb1877c667c0bc9651a30080 (patch)
treedfab86eb2fc37cf29bdc1658495defdb1b77a04f /net-wireless/kismet
parentx11-misc/sddm: x86 stable (diff)
downloadgentoo-cbf8b8432e0f5bc1bb1877c667c0bc9651a30080.tar.gz
gentoo-cbf8b8432e0f5bc1bb1877c667c0bc9651a30080.tar.bz2
gentoo-cbf8b8432e0f5bc1bb1877c667c0bc9651a30080.zip
net-wireless/kismet: some minor ebuild fixes
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'net-wireless/kismet')
-rw-r--r--net-wireless/kismet/kismet-2016.01.1.ebuild6
-rw-r--r--net-wireless/kismet/kismet-9999.ebuild9
2 files changed, 10 insertions, 5 deletions
diff --git a/net-wireless/kismet/kismet-2016.01.1.ebuild b/net-wireless/kismet/kismet-2016.01.1.ebuild
index 4fc6aa0cedb9..01dd3f3307c9 100644
--- a/net-wireless/kismet/kismet-2016.01.1.ebuild
+++ b/net-wireless/kismet/kismet-2016.01.1.ebuild
@@ -36,7 +36,6 @@ CDEPEND="net-wireless/wireless-tools
suid? ( sys-libs/libcap )
client? ( sys-libs/ncurses:0= )
!arm? ( speech? ( app-accessibility/flite ) )
- ruby? ( dev-lang/ruby:* )
plugin-btscan? ( net-wireless/bluez )
plugin-dot15d4? ( virtual/libusb:0 )
plugin-spectools? ( net-wireless/spectools )
@@ -47,12 +46,12 @@ DEPEND="${CDEPEND}
"
RDEPEND="${CDEPEND}
+ ruby? ( dev-lang/ruby:* )
selinux? ( sec-policy/selinux-kismet )
"
src_prepare() {
epatch -p1 "${FILESDIR}"/${P}-tinfo.patch
- eautoreconf
sed -i -e "s:^\(logtemplate\)=\(.*\):\1=/tmp/\2:" \
conf/kismet.conf.in
@@ -60,6 +59,9 @@ src_prepare() {
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
+
+ epatch_user
+ eautoreconf
}
src_configure() {
diff --git a/net-wireless/kismet/kismet-9999.ebuild b/net-wireless/kismet/kismet-9999.ebuild
index 442025fca020..18490cf7071b 100644
--- a/net-wireless/kismet/kismet-9999.ebuild
+++ b/net-wireless/kismet/kismet-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit eutils multilib user
+inherit autotools eutils multilib user
MY_P=${P/\./-}
MY_P=${MY_P/./-R}
@@ -34,9 +34,8 @@ CDEPEND="net-wireless/wireless-tools
)
pcre? ( dev-libs/libpcre )
suid? ( sys-libs/libcap )
- client? ( sys-libs/ncurses:= )
+ client? ( sys-libs/ncurses:0= )
!arm? ( speech? ( app-accessibility/flite ) )
- ruby? ( dev-lang/ruby:* )
plugin-btscan? ( net-wireless/bluez )
plugin-dot15d4? ( virtual/libusb:0 )
plugin-spectools? ( net-wireless/spectools )
@@ -47,6 +46,7 @@ DEPEND="${CDEPEND}
"
RDEPEND="${CDEPEND}
+ ruby? ( dev-lang/ruby:* )
selinux? ( sec-policy/selinux-kismet )
"
@@ -57,6 +57,9 @@ src_prepare() {
# Don't strip and set correct mangrp
sed -i -e 's| -s||g' \
-e 's|@mangrp@|root|g' Makefile.in
+
+ epatch_user
+ eautoreconf
}
src_configure() {