From: "Alon Bar-Lev" <alonbl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/aircrack-ng/
Date: Tue, 14 Aug 2018 11:31:12 +0000 (UTC) [thread overview]
Message-ID: <1534246259.47e78a0cdc644b606e93b72dbff367738dcdc7c3.alonbl@gentoo> (raw)
commit: 47e78a0cdc644b606e93b72dbff367738dcdc7c3
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 14 11:06:48 2018 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Tue Aug 14 11:30:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e78a0c
net-wireless/aircrack-ng: ebuild cleanups
Package-Manager: Portage-2.3.40, Repoman-2.3.9
net-wireless/aircrack-ng/aircrack-ng-1.3-r2.ebuild | 44 ++++++++--------------
net-wireless/aircrack-ng/aircrack-ng-9999.ebuild | 39 ++++++-------------
2 files changed, 28 insertions(+), 55 deletions(-)
diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.3-r2.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.3-r2.ebuild
index 750e234f898..932cae27508 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-1.3-r2.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-1.3-r2.ebuild
@@ -19,7 +19,6 @@ else
MY_PV=${PV/_/-}
SRC_URI="https://download.aircrack-ng.org/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
fi
LICENSE="GPL-2"
@@ -45,35 +44,29 @@ PDEPEND="kernel_linux? (
sys-apps/hwids
airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )"
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )"
-
-pkg_setup() {
- MAKE_COMMON=(
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" \
- LD="$(tc-getLD)" \
- RANLIB="$(tc-getRANLIB)" \
- DESTDIR="${ED}"
- )
-}
+REQUIRED_USE="
+ airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
+ airgraph-ng? ( ${PYTHON_REQUIRED_USE} )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-8812au.patch"
+)
src_prepare() {
- eapply "${FILESDIR}/${P}-8812au.patch"
- eapply_user
+ default
eautoreconf
}
src_configure() {
econf \
--disable-asan \
- $(use_enable netlink libnl) \
- $(use_with experimental) \
- $(use_with sqlite sqlite3) \
--enable-shared \
--disable-static \
- --without-opt
+ --without-opt \
+ $(use_enable netlink libnl) \
+ $(use_with experimental) \
+ $(use_with sqlite sqlite3)
}
src_compile() {
@@ -82,7 +75,7 @@ src_compile() {
filter-flags -frecord-gcc-switches
fi
- emake "${MAKE_COMMON[@]}"
+ default
if use airgraph-ng; then
cd "${S}/scripts/airgraph-ng"
@@ -94,13 +87,8 @@ src_compile() {
fi
}
-src_test() {
- emake "${MAKE_COMMON[@]}" check
-}
-
src_install() {
- einstalldocs
- emake "${MAKE_COMMON[@]}" install
+ default
if use airgraph-ng; then
cd "${S}/scripts/airgraph-ng"
@@ -111,7 +99,7 @@ src_install() {
distutils-r1_src_install
fi
- #we don't need aircrack-ng's oui updater, we have our own
+ # we don't need aircrack-ng's oui updater, we have our own
rm "${ED}"/usr/sbin/airodump-ng-oui-update
}
diff --git a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
index ce0358979ab..5921374bbc9 100644
--- a/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
+++ b/net-wireless/aircrack-ng/aircrack-ng-9999.ebuild
@@ -19,7 +19,6 @@ else
MY_PV=${PV/_/-}
SRC_URI="https://download.aircrack-ng.org/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${PN}-${MY_PV}"
fi
LICENSE="GPL-2"
@@ -45,34 +44,25 @@ PDEPEND="kernel_linux? (
sys-apps/hwids
airdrop-ng? ( net-wireless/lorcon[python,${PYTHON_USEDEP}] )"
-REQUIRED_USE="airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
- airgraph-ng? ( ${PYTHON_REQUIRED_USE} )"
-
-pkg_setup() {
- MAKE_COMMON=(
- CC="$(tc-getCC)" \
- CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" \
- LD="$(tc-getLD)" \
- RANLIB="$(tc-getRANLIB)" \
- DESTDIR="${ED}"
- )
-}
+REQUIRED_USE="
+ airdrop-ng? ( ${PYTHON_REQUIRED_USE} )
+ airgraph-ng? ( ${PYTHON_REQUIRED_USE} )
+"
src_prepare() {
- eapply_user
+ default
eautoreconf
}
src_configure() {
econf \
--disable-asan \
- $(use_enable netlink libnl) \
- $(use_with experimental) \
- $(use_with sqlite sqlite3) \
--enable-shared \
--disable-static \
- --without-opt
+ --without-opt \
+ $(use_enable netlink libnl) \
+ $(use_with experimental) \
+ $(use_with sqlite sqlite3)
}
src_compile() {
@@ -81,7 +71,7 @@ src_compile() {
filter-flags -frecord-gcc-switches
fi
- emake "${MAKE_COMMON[@]}"
+ default
if use airgraph-ng; then
cd "${S}/scripts/airgraph-ng"
@@ -93,13 +83,8 @@ src_compile() {
fi
}
-src_test() {
- emake "${MAKE_COMMON[@]}" check
-}
-
src_install() {
- einstalldocs
- emake "${MAKE_COMMON[@]}" install
+ default
if use airgraph-ng; then
cd "${S}/scripts/airgraph-ng"
@@ -110,7 +95,7 @@ src_install() {
distutils-r1_src_install
fi
- #we don't need aircrack-ng's oui updater, we have our own
+ # we don't need aircrack-ng's oui updater, we have our own
rm "${ED}"/usr/sbin/airodump-ng-oui-update
}
next reply other threads:[~2018-08-14 11:31 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 11:31 Alon Bar-Lev [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-11-10 1:05 [gentoo-commits] repo/gentoo:master commit in: net-wireless/aircrack-ng/ Rick Farina
2023-08-19 22:48 Rick Farina
2023-04-25 19:13 Rick Farina
2023-04-25 1:36 Rick Farina
2023-04-24 21:05 Rick Farina
2023-04-24 21:05 Rick Farina
2023-03-07 15:45 Sam James
2023-03-07 11:42 Sam James
2023-03-04 5:41 Arthur Zamarin
2022-05-11 0:36 Rick Farina
2022-01-13 1:53 Rick Farina
2022-01-04 10:30 David Seifert
2022-01-04 3:29 Sam James
2021-12-25 0:02 Mike Gilbert
2021-12-07 20:29 Sam James
2021-11-25 17:05 Mike Gilbert
2021-05-03 9:47 Mikle Kolyada
2021-02-17 16:47 Rick Farina
2020-11-05 22:26 Michał Górny
2020-10-13 9:26 Agostino Sarubbo
2020-10-09 8:40 Agostino Sarubbo
2020-10-03 14:53 Sam James
2020-07-23 2:07 Rick Farina
2020-07-23 2:07 Rick Farina
2020-05-28 1:28 Rick Farina
2020-05-28 1:28 Rick Farina
2020-02-14 19:40 Rick Farina
2020-01-27 21:32 Rick Farina
2020-01-27 21:32 Rick Farina
2019-05-21 16:45 Stephen Klimaszewski
2019-05-05 19:05 Mike Gilbert
2019-04-02 10:32 Alon Bar-Lev
2019-03-30 19:05 Mikle Kolyada
2019-03-24 10:01 Agostino Sarubbo
2019-01-21 22:05 Alon Bar-Lev
2019-01-21 20:37 Alon Bar-Lev
2018-12-17 16:21 Rick Farina
2018-10-09 9:42 Mikle Kolyada
2018-10-01 14:52 Richard Farina
2018-09-27 23:55 Alon Bar-Lev
2018-08-16 23:50 Mikle Kolyada
2018-08-14 11:31 Alon Bar-Lev
2018-08-14 11:31 Alon Bar-Lev
2018-08-14 11:31 Alon Bar-Lev
2018-07-09 14:20 Richard Farina
2017-03-03 12:56 Alon Bar-Lev
2017-02-04 21:40 Alon Bar-Lev
2016-06-30 17:16 Richard Farina
2015-12-18 4:37 Richard Farina
2015-12-11 22:55 Richard Farina
2015-11-22 3:36 Richard Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1534246259.47e78a0cdc644b606e93b72dbff367738dcdc7c3.alonbl@gentoo \
--to=alonbl@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox