summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-07-05 14:27:22 -0400
committerZero_Chaos <zerochaos@gentoo.org>2018-07-05 14:28:34 -0400
commit3b9fc3c8c6cad2b327f8d5969856415533f9a499 (patch)
tree253bed6ef7dc90ab95feb20e688bcf51e2b24bfe /net-wireless/lorcon/lorcon-9999.ebuild
parentprofiles: fix sys-devel/clang on standalone prefix (diff)
downloadgentoo-3b9fc3c8c6cad2b327f8d5969856415533f9a499.tar.gz
gentoo-3b9fc3c8c6cad2b327f8d5969856415533f9a499.tar.bz2
gentoo-3b9fc3c8c6cad2b327f8d5969856415533f9a499.zip
net-wireless/lorcon: update, bump snapshot
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'net-wireless/lorcon/lorcon-9999.ebuild')
-rw-r--r--net-wireless/lorcon/lorcon-9999.ebuild18
1 files changed, 12 insertions, 6 deletions
diff --git a/net-wireless/lorcon/lorcon-9999.ebuild b/net-wireless/lorcon/lorcon-9999.ebuild
index f0502097ecd1..9a0cf320d69e 100644
--- a/net-wireless/lorcon/lorcon-9999.ebuild
+++ b/net-wireless/lorcon/lorcon-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
PYTHON_COMPAT=( python2_7 )
DISTUTILS_OPTIONAL=1
@@ -9,14 +9,18 @@ DISTUTILS_OPTIONAL=1
inherit distutils-r1
DESCRIPTION="A generic library for injecting 802.11 frames"
-HOMEPAGE="http://802.11ninja.net/lorcon"
+HOMEPAGE="https://github.com/kismetwireless/lorcon"
if [[ ${PV} == "9999" ]] ; then
- EGIT_REPO_URI="https://code.google.com/p/lorcon/"
+ #EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git"
+ EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git"
inherit git-r3
KEYWORDS=""
+ S="${WORKDIR}"/${P}
else
- SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz"
+ GIT_HASH="d8637792f2e857f31849f29759c1022eb0518c83"
+ SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}"/"${PN}-${GIT_HASH}"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
fi
@@ -32,7 +36,6 @@ RDEPEND="${DEPEND}"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-S="${WORKDIR}"/${P}
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
@@ -44,6 +47,9 @@ src_unpack() {
src_prepare() {
sed -i 's#<lorcon2/lorcon.h>#"../lorcon.h"#' pylorcon2/PyLorcon2.c
+ sed -i 's#<lorcon2/lorcon_multi.h>#"../lorcon_multi.h"#' pylorcon2/PyLorcon2.c
+ sed -i 's#<lorcon2/lorcon_multi.h>#"../lorcon_multi.h"#' pylorcon2/PyLorcon2.h
+ default
use python && distutils-r1_src_prepare
}