[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-08-19 Thread Rick Farina
commit: c9f4f60f07fcfd759eb418fc8b3d5f5fdc5e93f6
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:41:17 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:41:17 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9f4f60f

net-wireless/lorcon: drop 0.0_p20200214

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/Manifest|  1 -
 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 72 -
 2 files changed, 73 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 88649157bbed..c807ec44615c 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1,2 +1 @@
-DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 
07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda
 SHA512 
794a973dd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a
 DIST lorcon-2020.06.06_p20220216.tar.gz 506368 BLAKE2B 
2881af0130f331b2f648c0d29b0d70516770b833ba18b5f9bf6d4eb9eaab2192034ecc840f5e2b323c0e0fb8737dd1e29525b237d95825d60e78e3200f4ac929
 SHA512 
3f7d5967a1af840f8f6f05872c06d908ce426e7827046b8d86267770da044b48973554ff7a0415756522332055496f00ad078fa6a25a1898d640c925834111ef

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
deleted file mode 100644
index f3d0a140a745..
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1
-
-DESCRIPTION="A generic library for injecting 802.11 frames"
-HOMEPAGE="https://github.com/kismetwireless/lorcon;
-
-if [[ ${PV} == "" ]] ; then
-   #EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
-   EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
-   inherit git-r3
-   S="${WORKDIR}"/${P}
-else
-   GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"
-   
SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
-   S="${WORKDIR}"/"${PN}-${GIT_HASH}"
-   KEYWORDS="amd64 arm ~arm64 ppc x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="python"
-
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl:3=
-   net-libs/libpcap"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="test"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all"
-   fi
-   default_src_unpack
-}
-
-src_prepare() {
-   default
-   use python && distutils-r1_src_prepare
-}
-
-src_configure() {
-   econf --disable-static
-}
-
-src_compile() {
-   default_src_compile
-   if use python; then
-   LDFLAGS+=" -L${S}/.libs/"
-   cd pylorcon2 || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   emake DESTDIR="${ED}" install
-   if use python; then
-   cd pylorcon2 || die
-   distutils-r1_src_install
-   fi
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-08-19 Thread Rick Farina
commit: aaabcf70deac98c8d352b75bf7527ec2269f82a5
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:40:44 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:40:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaabcf70

net-wireless/lorcon: enable py3.12

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild | 2 +-
 net-wireless/lorcon/lorcon-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index c683b59bc137..f81061543774 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 flag-o-matic

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index b7e75c806c22..2d2cb5de6bee 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1 flag-o-matic



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-08-19 Thread Rick Farina
commit: 824a5d87416bf051cf4cbc0bdc7d772c5b51cd6b
Author: Rick Farina  gentoo  org>
AuthorDate: Sat Aug 19 13:39:21 2023 +
Commit: Rick Farina  gentoo  org>
CommitDate: Sat Aug 19 13:39:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=824a5d87

net-wireless/lorcon: add github upstream metadata

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/metadata.xml b/net-wireless/lorcon/metadata.xml
index 5b155ef976b3..9fa099abab96 100644
--- a/net-wireless/lorcon/metadata.xml
+++ b/net-wireless/lorcon/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-
-zeroch...@gentoo.org
-Rick Farina
-
+   
+   zeroch...@gentoo.org
+   Rick Farina
+   
+   
+   kismetwireless/lorcon
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-04-19 Thread Arthur Zamarin
commit: bedc7bf9f9ce71f0e18040b92aaedd677eba3d90
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 19 10:15:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 19 10:15:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bedc7bf9

net-wireless/lorcon: Stabilize 2020.06.06_p20220216-r2 ppc, #904575

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index f5359c0b4191..c683b59bc137 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -23,7 +23,7 @@ else

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
 
-   KEYWORDS="amd64 arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm ~arm64 ppc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-04-19 Thread Arthur Zamarin
commit: d902c209f802577ef418593420ee4619a378725b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 19 10:15:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 19 10:15:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d902c209

net-wireless/lorcon: Stabilize 2020.06.06_p20220216-r2 arm, #904575

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index 5bcfee99b5d5..f5359c0b4191 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -23,7 +23,7 @@ else

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
 
-   KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-04-19 Thread Sam James
commit: 9f9e6c31d1abb5e340aea17e9f7b50fba18fefea
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:46:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:46:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9e6c31

net-wireless/lorcon: Stabilize 2020.06.06_p20220216-r2 amd64, #904575

Signed-off-by: Sam James  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index b7b5bbab57a5..5bcfee99b5d5 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -23,7 +23,7 @@ else

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-04-19 Thread Sam James
commit: e11ae4d1e0a857c111e37ddf47fade6c261be603
Author: Sam James  gentoo  org>
AuthorDate: Wed Apr 19 09:41:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Apr 19 09:42:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e11ae4d1

net-wireless/lorcon: Stabilize 2020.06.06_p20220216-r2 x86, #904575

Signed-off-by: Sam James  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index 19a7dbbdd451..b7b5bbab57a5 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -23,7 +23,7 @@ else

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
 
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/files/

2023-03-19 Thread David Seifert
commit: b4d470cb1e4b9ae015ed02ae5b0e5dd9ed6f8baa
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 19 19:35:36 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 19 19:35:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d470cb

net-wireless/lorcon: add missing patch

Signed-off-by: David Seifert  gentoo.org>

 .../lorcon-2020.06.06_p20220216-C99-decls.patch  | 20 
 1 file changed, 20 insertions(+)

diff --git 
a/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch 
b/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch
new file mode 100644
index ..9643c0f973cf
--- /dev/null
+++ b/net-wireless/lorcon/files/lorcon-2020.06.06_p20220216-C99-decls.patch
@@ -0,0 +1,20 @@
+--- a/drv_mac80211.c
 b/drv_mac80211.c
+@@ -52,6 +52,7 @@
+ #include "lorcon_int.h"
+ #include "lorcon_packasm.h"
+ #include "lorcon_endian.h"
++#include "iwcontrol.h"
+ 
+ #ifndef IEEE80211_RADIOTAP_FLAGS
+ #define IEEE80211_RADIOTAP_FLAGS(1 << 1)
+--- a/drv_madwifing.c
 b/drv_madwifing.c
+@@ -48,6 +48,7 @@
+ #include "ifcontrol_linux.h"
+ #include "madwifing_control.h"
+ #include "lorcon_int.h"
++#include "lorcon_packasm.h"
+ 
+ /* Monitor, inject, and injmon are all the same method, make a new
+  * mwng VAP */



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-03-19 Thread David Seifert
commit: 67f9979bc3e1c009d6a255de79e0cb9c4015cc4c
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 19 17:13:57 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 19 17:13:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67f9979b

net-wireless/lorcon: sync live ebuild

Signed-off-by: David Seifert  gentoo.org>

 net-wireless/lorcon/lorcon-.ebuild | 37 ++
 1 file changed, 15 insertions(+), 22 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 1508abca7594..b7e75c806c22 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -4,71 +4,64 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="https://github.com/kismetwireless/lorcon;
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
#main repo
#EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
#reliable mirror
EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
inherit git-r3
-   S="${WORKDIR}"/${P}
 else
GIT_HASH="4a81d6aaa2c6ac7253ecd182ffe97c6c89411196"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
+
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
dev-libs/libnl:3=
net-libs/libpcap
python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
-BDEPEND="python? ( ${DISTUTILS_DEPS} )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all" || die
-   fi
-   default_src_unpack
-}
+BDEPEND="
+   virtual/pkgconfig
+   python? ( ${DISTUTILS_DEPS} )"
 
 src_prepare() {
default
use python && distutils-r1_src_prepare
 }
 
-src_configure() {
-   econf --disable-static
-}
-
 src_compile() {
-   default_src_compile
+   default
+
if use python; then
-   LDFLAGS+=" -L${S}/.libs/"
+   append-ldflags "-L${S}/.libs/"
cd pylorcon2 || die
distutils-r1_src_compile
fi
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
+   default
+
if use python; then
cd pylorcon2 || die
distutils-r1_src_install
fi
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2023-03-19 Thread David Seifert
commit: 242d5ec7dab26446b124f4d3abf214c6db8019ca
Author: David Seifert  gentoo  org>
AuthorDate: Sun Mar 19 17:13:56 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Mar 19 17:13:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242d5ec7

net-wireless/lorcon: fix clang16 build

Closes: https://bugs.gentoo.org/843698
Closes: https://bugs.gentoo.org/875401
Closes: https://bugs.gentoo.org/897182
Signed-off-by: David Seifert  gentoo.org>

 ...build => lorcon-2020.06.06_p20220216-r2.ebuild} | 37 ++
 1 file changed, 16 insertions(+), 21 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
similarity index 73%
rename from net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild
rename to net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
index 1508abca7594..19a7dbbdd451 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r2.ebuild
@@ -4,71 +4,66 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_OPTIONAL=1
 
-inherit distutils-r1
+inherit distutils-r1 flag-o-matic
 
 DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="https://github.com/kismetwireless/lorcon;
 
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
#main repo
#EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
#reliable mirror
EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
inherit git-r3
-   S="${WORKDIR}"/${P}
 else
GIT_HASH="4a81d6aaa2c6ac7253ecd182ffe97c6c89411196"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
+
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
 IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 RDEPEND="
dev-libs/libnl:3=
net-libs/libpcap
python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
-BDEPEND="python? ( ${DISTUTILS_DEPS} )"
+BDEPEND="
+   virtual/pkgconfig
+   python? ( ${DISTUTILS_DEPS} )"
 
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all" || die
-   fi
-   default_src_unpack
-}
+PATCHES=( "${FILESDIR}"/${P}-C99-decls.patch )
 
 src_prepare() {
default
use python && distutils-r1_src_prepare
 }
 
-src_configure() {
-   econf --disable-static
-}
-
 src_compile() {
-   default_src_compile
+   default
+
if use python; then
-   LDFLAGS+=" -L${S}/.libs/"
+   append-ldflags "-L${S}/.libs/"
cd pylorcon2 || die
distutils-r1_src_compile
fi
 }
 
 src_install() {
-   emake DESTDIR="${D}" install
+   default
+
if use python; then
cd pylorcon2 || die
distutils-r1_src_install
fi
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2022-04-07 Thread Rick Farina
commit: f8e6afa5c7bbaec0365dc1e7467e65a1a4541f87
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Feb 16 18:37:56 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Thu Apr  7 14:45:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8e6afa5

net-wireless/lorcon: use newer pep517

Signed-off-by: Arthur Zamarin  gentoo.org>
Signed-off-by: Rick Farina  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/24215

 ...06.06_p20220216.ebuild => lorcon-2020.06.06_p20220216-r1.ebuild} | 6 --
 net-wireless/lorcon/lorcon-.ebuild  | 6 --
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild
similarity index 92%
rename from net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
rename to net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild
index 36ede49a82fc..b19aa50f2fba 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216-r1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 
@@ -30,10 +31,11 @@ SLOT="0"
 IUSE="python"
 
 RDEPEND="
-   python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
-   net-libs/libpcap"
+   net-libs/libpcap
+   python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
+BDEPEND="python? ( ${DISTUTILS_DEPS} )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 36ede49a82fc..b19aa50f2fba 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_OPTIONAL=1
 
@@ -30,10 +31,11 @@ SLOT="0"
 IUSE="python"
 
 RDEPEND="
-   python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
-   net-libs/libpcap"
+   net-libs/libpcap
+   python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}"
+BDEPEND="python? ( ${DISTUTILS_DEPS} )"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2022-02-16 Thread Rick Farina
commit: 32ad6624e94619f5574d5002cf151b8c61308486
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Feb 16 15:38:17 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Feb 16 16:08:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ad6624

net-wireless/lorcon: fix musl support

Closes: https://bugs.gentoo.org/660484
Sent patch to upstream and shipping snapshot due to additional desired
fixes

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/Manifest   |  2 +-
 ...020.06.06.ebuild => lorcon-2020.06.06_p20220216.ebuild} | 14 --
 net-wireless/lorcon/lorcon-.ebuild | 12 ++--
 3 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 39bee0406da5..88649157bbed 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1,2 +1,2 @@
 DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 
07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda
 SHA512 
794a973dd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a
-DIST lorcon-2020.06.06.tar.gz 506144 BLAKE2B 
6fe0d3578b8f91ed9ed0ea12ce110afc6764b694c78c57935b835e4fb8e4c4c81e07f7a8b069583382e91ef760a07bdcf3f9aa51167add052ac1f3f8c0758155
 SHA512 
1f51dc221d01356b59fd615ebccabb6d00f1999fd9450f6f092f6234635e162f0407e203df9dde4f0f942691cd9395df30377478ec677c910c2d1603228cef30
+DIST lorcon-2020.06.06_p20220216.tar.gz 506368 BLAKE2B 
2881af0130f331b2f648c0d29b0d70516770b833ba18b5f9bf6d4eb9eaab2192034ecc840f5e2b323c0e0fb8737dd1e29525b237d95825d60e78e3200f4ac929
 SHA512 
3f7d5967a1af840f8f6f05872c06d908ce426e7827046b8d86267770da044b48973554ff7a0415756522332055496f00ad078fa6a25a1898d640c925834111ef

diff --git a/net-wireless/lorcon/lorcon-2020.06.06.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
similarity index 80%
rename from net-wireless/lorcon/lorcon-2020.06.06.ebuild
rename to net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
index c43251b94d5d..2f5368187970 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
@@ -12,12 +12,16 @@ DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="https://github.com/kismetwireless/lorcon;
 
 if [[ ${PV} == "" ]] ; then
+   #main repo
#EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
+   #reliable mirror
EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
inherit git-r3
S="${WORKDIR}"/${P}
 else
-   SRC_URI="https://github.com/kismetwireless/lorcon/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+   GIT_HASH="4a81d6aaa2c6ac7253ecd182ffe97c6c89411196"
+   
SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
+   S="${WORKDIR}"/"${PN}-${GIT_HASH}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
 fi
 
@@ -25,19 +29,18 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="python"
 
-DEPEND="
+RDEPEND="
python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
net-libs/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="test"
 
 src_unpack() {
if [[ ${PV} == "" ]] ; then
git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all"
+   cp -R "${S}/" "${WORKDIR}/all" || die
fi
default_src_unpack
 }
@@ -66,5 +69,4 @@ src_install() {
cd pylorcon2 || die
distutils-r1_src_install
fi
-   find "${ED}" -name '*.la' -delete || die
 }

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index dfe0a1417ae1..2f5368187970 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -12,12 +12,14 @@ DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="https://github.com/kismetwireless/lorcon;
 
 if [[ ${PV} == "" ]] ; then
+   #main repo
#EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
+   #reliable mirror
EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
inherit git-r3
S="${WORKDIR}"/${P}
 else
-   GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"
+   GIT_HASH="4a81d6aaa2c6ac7253ecd182ffe97c6c89411196"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
@@ -27,19 +29,18 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="python"
 
-DEPEND="
+RDEPEND="
python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
net-libs/libpcap"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}"
 
 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2022-02-16 Thread Rick Farina
commit: 9369232eb1b29f955c7bc1d7da05131a8eab48b2
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Feb 16 15:43:56 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Feb 16 16:08:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9369232e

net-wireless/lorcon: fix double EPREFIX

Closes: https://bugs.gentoo.org/693154

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild | 2 +-
 net-wireless/lorcon/lorcon-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
index 2f5368187970..36ede49a82fc 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06_p20220216.ebuild
@@ -64,7 +64,7 @@ src_compile() {
 }
 
 src_install() {
-   emake DESTDIR="${ED}" install
+   emake DESTDIR="${D}" install
if use python; then
cd pylorcon2 || die
distutils-r1_src_install

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 2f5368187970..36ede49a82fc 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -64,7 +64,7 @@ src_compile() {
 }
 
 src_install() {
-   emake DESTDIR="${ED}" install
+   emake DESTDIR="${D}" install
if use python; then
cd pylorcon2 || die
distutils-r1_src_install



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2022-01-12 Thread Rick Farina
commit: 04cbe2c6bc590088e1bdd333cae85fd0f054df3e
Author: Rick Farina  gentoo  org>
AuthorDate: Thu Jan 13 01:41:34 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Thu Jan 13 01:53:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04cbe2c6

net-wireless/lorcon: add python 3.10

bump eapi to 8

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/lorcon-2020.06.06.ebuild | 6 +++---
 net-wireless/lorcon/lorcon-.ebuild   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-2020.06.06.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06.ebuild
index 20a4da501628..c9b4f070b6aa 100644
--- a/net-wireless/lorcon/lorcon-2020.06.06.ebuild
+++ b/net-wireless/lorcon/lorcon-2020.06.06.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9})
+PYTHON_COMPAT=( python3_{7,8,9,10})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 4a69d22d8690..80f35a3d8ffd 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9})
+PYTHON_COMPAT=( python3_{7,8,9,10})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2022-01-12 Thread Rick Farina
commit: 01cc9d0ae4d7d2f7ff9cc822584105411701e739
Author: Rick Farina  gentoo  org>
AuthorDate: Thu Jan 13 01:49:47 2022 +
Commit: Rick Farina  gentoo  org>
CommitDate: Thu Jan 13 01:53:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01cc9d0a

net-wireless/lorcon: bump python to 3.10

update EAPI 7 -> 8

Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index db239c00f95b..1446bc1840cd 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9})
+PYTHON_COMPAT=( python3_{7,8,9,10})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2021-02-17 Thread Rick Farina
commit: 9b738ecd8367a8e9138bbe068f4e4bda80c4132f
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Feb 17 16:01:22 2021 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Feb 17 16:10:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b738ecd

net-wireless/lorcon: bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/Manifest |  1 +
 net-wireless/lorcon/lorcon-2020.06.06.ebuild | 70 
 2 files changed, 71 insertions(+)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 7aa71a54d79..39bee0406da 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1 +1,2 @@
 DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 
07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda
 SHA512 
794a973dd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a
+DIST lorcon-2020.06.06.tar.gz 506144 BLAKE2B 
6fe0d3578b8f91ed9ed0ea12ce110afc6764b694c78c57935b835e4fb8e4c4c81e07f7a8b069583382e91ef760a07bdcf3f9aa51167add052ac1f3f8c0758155
 SHA512 
1f51dc221d01356b59fd615ebccabb6d00f1999fd9450f6f092f6234635e162f0407e203df9dde4f0f942691cd9395df30377478ec677c910c2d1603228cef30

diff --git a/net-wireless/lorcon/lorcon-2020.06.06.ebuild 
b/net-wireless/lorcon/lorcon-2020.06.06.ebuild
new file mode 100644
index 000..20a4da50162
--- /dev/null
+++ b/net-wireless/lorcon/lorcon-2020.06.06.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9})
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1
+
+DESCRIPTION="A generic library for injecting 802.11 frames"
+HOMEPAGE="https://github.com/kismetwireless/lorcon;
+
+if [[ ${PV} == "" ]] ; then
+   #EGIT_REPO_URI="https://www.kismetwireless.net/lorcon.git;
+   EGIT_REPO_URI="https://github.com/kismetwireless/lorcon.git;
+   inherit git-r3
+   S="${WORKDIR}"/${P}
+else
+   SRC_URI="https://github.com/kismetwireless/lorcon/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="python"
+
+DEPEND="
+   python? ( ${PYTHON_DEPS} )
+   dev-libs/libnl:3=
+   net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="test"
+
+src_unpack() {
+   if [[ ${PV} == "" ]] ; then
+   git-r3_src_unpack
+   cp -R "${S}/" "${WORKDIR}/all"
+   fi
+   default_src_unpack
+}
+
+src_prepare() {
+   default
+   use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+   econf --disable-static
+}
+
+src_compile() {
+   default_src_compile
+   if use python; then
+   LDFLAGS+=" -L${S}/.libs/"
+   cd pylorcon2 || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   emake DESTDIR="${ED}" install
+   if use python; then
+   cd pylorcon2 || die
+   distutils-r1_src_install
+   fi
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2021-02-17 Thread Rick Farina
commit: 3f51bcc9ac6a53c445cc9d191313b2bd9e8f59fb
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Feb 17 15:33:25 2021 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Feb 17 15:33:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f51bcc9

net-wireless/lorcon: python bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 4 ++--
 net-wireless/lorcon/lorcon-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index 986973b7941..db239c00f95 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8})
+PYTHON_COMPAT=( python3_{7,8,9})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index e99189ef34b..4a69d22d869 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8})
+PYTHON_COMPAT=( python3_{7,8,9})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2020-11-14 Thread David Seifert
commit: b49eea844c9a9c1a4b94abf342d5ea856d0f4062
Author: Jakov Smolic  sartura  hr>
AuthorDate: Sat Nov 14 20:19:34 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Nov 14 20:19:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b49eea84

net-wireless/lorcon: disable static libs

Closes: https://bugs.gentoo.org/725146
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 4 ++--
 net-wireless/lorcon/lorcon-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index 5b0c385c4d6..13d500f801a 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
 }
 
 src_configure() {
-   default_src_configure
+   econf --disable-static
 }
 
 src_compile() {
@@ -68,5 +68,5 @@ src_install() {
cd pylorcon2 || die
distutils-r1_src_install
fi
-   find "${D}" -xtype f -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 7e81f859671..5f2fea92453 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -50,7 +50,7 @@ src_prepare() {
 }
 
 src_configure() {
-   default_src_configure
+   econf --disable-static
 }
 
 src_compile() {
@@ -68,5 +68,5 @@ src_install() {
cd pylorcon2 || die
distutils-r1_src_install
fi
-   find "${D}" -xtype f -name '*.la' -delete || die
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2020-11-07 Thread Michał Górny
commit: 8ada6b9ac810358e3bcec0bd76d38c4e96825edd
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov  8 00:28:57 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov  8 00:32:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ada6b9a

net-wireless/lorcon: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-wireless/lorcon/Manifest   |  2 -
 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild| 73 ---
 net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild | 81 --
 3 files changed, 156 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index c781f71b031..7aa71a54d79 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1,3 +1 @@
-DIST lorcon-0.0_p20150109.tar.xz 259788 BLAKE2B 
e3bd188642f7ef49fa3b7361bd659fdd47d6449598b5248412ad3d8e85e5d0b9c0f8d73fdcd3d0822f19a0d069bf0eeb832bed7bb38c418970d617c03387d1ce
 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
-DIST lorcon-0.0_p20180409.tar.gz 506177 BLAKE2B 
d4bea3e91ce506c6ba56221b4fc2e25ffd5ba979b905e66166c570adefc513ca51229fab5706276dbbd1bea68ee2c2802adf4eeefb1e5f0c593fada6cb39ab51
 SHA512 
7273b68fa4aa7418d9bab8b4651b93e315b9ea55657efa7d14ef444fda7e0e036267d319cda6676951e54b661391a77cc848778f859249a50847d33dac0b8ea9
 DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 
07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda
 SHA512 
794a973dd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
deleted file mode 100644
index 715e6dd1a8c..000
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1
-
-DESCRIPTION="A generic library for injecting 802.11 frames"
-HOMEPAGE="http://802.11ninja.net/lorcon;
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://code.google.com/p/lorcon/;
-   inherit git-r3
-   KEYWORDS=""
-else
-   SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz;
-   KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="python"
-
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl:3=
-   net-libs/libpcap"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}"/${P}
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all"
-   fi
-   default_src_unpack
-}
-
-src_prepare() {
-   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
-   use python && distutils-r1_src_prepare
-}
-
-src_configure() {
-   default_src_configure
-}
-
-src_compile() {
-   default_src_compile
-   if use python; then
-   LDFLAGS+=" -L${S}/.libs/"
-   cd pylorcon2 || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   emake DESTDIR="${ED}" install
-   if use python; then
-   cd pylorcon2 || die
-   distutils-r1_src_install
-   fi
-}
-
-src_test() {
-   :
-}

diff --git a/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
deleted file mode 100644
index d9ac3ecfbee..000
--- a/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-inherit distutils-r1
-
-DESCRIPTION="A generic library for injecting 802.11 frames"
-HOMEPAGE="https://github.com/kismetwireless/lorcon;
-
-if [[ ${PV} == "" ]] ; then
-   #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
-   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 ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="python"
-
-DEPEND="
-   python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl:3=
-   net-libs/libpcap"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   

[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2020-10-03 Thread Sam James
commit: c2f6f81f4e31767bb2ea56fa0de4f6e0df9a97bf
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  3 14:56:33 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  3 14:57:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f6f81f

net-wireless/lorcon: Stabilize 0.0_p20200214 arm, #743553

Signed-off-by: Sam James  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index de4194575cf..6873b294410 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -20,7 +20,7 @@ else
GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
-   KEYWORDS="~amd64 ~arm ~arm64 ppc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 arm ~arm64 ppc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2020-10-01 Thread Sergei Trofimovich
commit: ba8b288d8b8496052cc4f9756d1932cf28a05e3f
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Oct  1 22:58:52 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Oct  1 22:58:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba8b288d

net-wireless/lorcon: stable 0.0_p20200214 for ppc

stable wrt bug #743553

Package-Manager: Portage-3.0.8, Repoman-3.0.1
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index 7e81f859671..de4194575cf 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -20,7 +20,7 @@ else
GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~amd64 ~arm ~arm64 ppc ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2020-02-14 Thread Rick Farina
commit: b6bdaf21bdc13cf857390684db076540b1fca0ae
Author: Rick Farina  gentoo  org>
AuthorDate: Fri Feb 14 19:31:56 2020 +
Commit: Rick Farina  gentoo  org>
CommitDate: Fri Feb 14 19:40:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6bdaf21

net-wireless/lorcon: python3

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Rick Farina  gentoo.org>

 net-wireless/lorcon/Manifest|  1 +
 ...rcon-.ebuild => lorcon-0.0_p20200214.ebuild} | 21 ++---
 net-wireless/lorcon/lorcon-.ebuild  | 21 ++---
 3 files changed, 13 insertions(+), 30 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 9b556bcf187..c781f71b031 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1,2 +1,3 @@
 DIST lorcon-0.0_p20150109.tar.xz 259788 BLAKE2B 
e3bd188642f7ef49fa3b7361bd659fdd47d6449598b5248412ad3d8e85e5d0b9c0f8d73fdcd3d0822f19a0d069bf0eeb832bed7bb38c418970d617c03387d1ce
 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
 DIST lorcon-0.0_p20180409.tar.gz 506177 BLAKE2B 
d4bea3e91ce506c6ba56221b4fc2e25ffd5ba979b905e66166c570adefc513ca51229fab5706276dbbd1bea68ee2c2802adf4eeefb1e5f0c593fada6cb39ab51
 SHA512 
7273b68fa4aa7418d9bab8b4651b93e315b9ea55657efa7d14ef444fda7e0e036267d319cda6676951e54b661391a77cc848778f859249a50847d33dac0b8ea9
+DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 
07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda
 SHA512 
794a973dd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
similarity index 68%
copy from net-wireless/lorcon/lorcon-.ebuild
copy to net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
index d9ac3ecfbee..7e81f859671 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1
@@ -15,10 +15,9 @@ if [[ ${PV} == "" ]] ; then
#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
-   GIT_HASH="d8637792f2e857f31849f29759c1022eb0518c83"
+   GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"
S="${WORKDIR}"/"${PN}-${GIT_HASH}"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
@@ -35,6 +34,7 @@ DEPEND="
 RDEPEND="${DEPEND}"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="test"
 
 src_unpack() {
if [[ ${PV} == "" ]] ; then
@@ -45,12 +45,6 @@ src_unpack() {
 }
 
 src_prepare() {
-   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
-   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.h
-   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.c
-   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.h
-   sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.c
-   sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.h
default
use python && distutils-r1_src_prepare
 }
@@ -74,8 +68,5 @@ src_install() {
cd pylorcon2 || die
distutils-r1_src_install
fi
-}
-
-src_test() {
-   :
+   find "${D}" -xtype f -name '*.la' -delete || die
 }

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index d9ac3ecfbee..7e81f859671 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python3_{6,7,8})
 DISTUTILS_OPTIONAL=1
 
 inherit distutils-r1
@@ -15,10 +15,9 @@ if [[ ${PV} == "" ]] ; then
#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
-   GIT_HASH="d8637792f2e857f31849f29759c1022eb0518c83"
+   GIT_HASH="7dbf24ee6f7c277240c0fbd988b690285052"

SRC_URI="https://github.com/kismetwireless/lorcon/archive/${GIT_HASH}.tar.gz -> 
${P}.tar.gz"

[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2019-05-19 Thread Stephen Klimaszewski
commit: c208cb4844dfd7db6f91b7064364f0cf96b0ad6e
Author: Steev Klimaszewski  gentoo  org>
AuthorDate: Sun May 19 22:32:49 2019 +
Commit: Stephen Klimaszewski  gentoo  org>
CommitDate: Sun May 19 22:33:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c208cb48

net-wireless/lorcon: add ~arm64 keyword

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Stephen Klimaszewski  gentoo.org>

 net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild | 4 ++--
 net-wireless/lorcon/lorcon-.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
index 0348df63540..3d4ff55cdf8 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ else
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"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux"
 fi
 
 LICENSE="GPL-2"

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 0348df63540..3d4ff55cdf8 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -21,7 +21,7 @@ else
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"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~x86-fbsd ~amd64-linux 
~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2018-07-06 Thread Richard Farina
commit: e2e04946ba31485ac196377edde9acb53d55d8e3
Author: Zero_Chaos  gentoo  org>
AuthorDate: Fri Jul  6 14:32:43 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Fri Jul  6 14:32:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2e04946

net-wireless/lorcon: bug #660494

whoops, re-add stable version

Package-Manager: Portage-2.3.41, Repoman-2.3.9
RepoMan-Options: --force

 net-wireless/lorcon/Manifest|  1 +
 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 73 +
 2 files changed, 74 insertions(+)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 94c11c88bc6..9b556bcf187 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1 +1,2 @@
+DIST lorcon-0.0_p20150109.tar.xz 259788 BLAKE2B 
e3bd188642f7ef49fa3b7361bd659fdd47d6449598b5248412ad3d8e85e5d0b9c0f8d73fdcd3d0822f19a0d069bf0eeb832bed7bb38c418970d617c03387d1ce
 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
 DIST lorcon-0.0_p20180409.tar.gz 506177 BLAKE2B 
d4bea3e91ce506c6ba56221b4fc2e25ffd5ba979b905e66166c570adefc513ca51229fab5706276dbbd1bea68ee2c2802adf4eeefb1e5f0c593fada6cb39ab51
 SHA512 
7273b68fa4aa7418d9bab8b4651b93e315b9ea55657efa7d14ef444fda7e0e036267d319cda6676951e54b661391a77cc848778f859249a50847d33dac0b8ea9

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
new file mode 100644
index 000..702bd34a3a2
--- /dev/null
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+DISTUTILS_OPTIONAL=1
+
+inherit distutils-r1
+
+DESCRIPTION="A generic library for injecting 802.11 frames"
+HOMEPAGE="http://802.11ninja.net/lorcon;
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://code.google.com/p/lorcon/;
+   inherit git-r3
+   KEYWORDS=""
+else
+   SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz;
+   KEYWORDS="amd64 arm ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="python"
+
+DEPEND="
+   python? ( ${PYTHON_DEPS} )
+   dev-libs/libnl:3=
+   net-libs/libpcap"
+RDEPEND="${DEPEND}"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}"/${P}
+
+src_unpack() {
+   if [[ ${PV} == "" ]] ; then
+   git-r3_src_unpack
+   cp -R "${S}/" "${WORKDIR}/all"
+   fi
+   default_src_unpack
+}
+
+src_prepare() {
+   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
+   use python && distutils-r1_src_prepare
+}
+
+src_configure() {
+   default_src_configure
+}
+
+src_compile() {
+   default_src_compile
+   if use python; then
+   LDFLAGS+=" -L${S}/.libs/"
+   cd pylorcon2 || die
+   distutils-r1_src_compile
+   fi
+}
+
+src_install() {
+   emake DESTDIR="${ED}" install
+   if use python; then
+   cd pylorcon2 || die
+   distutils-r1_src_install
+   fi
+}
+
+src_test() {
+   :
+}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2018-07-06 Thread Richard Farina
commit: 1ffdd4f724a73324e461d636729ac39d5d3c0898
Author: Zero_Chaos  gentoo  org>
AuthorDate: Fri Jul  6 14:27:23 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Fri Jul  6 14:27:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ffdd4f7

net-wireless/lorcon: fix to not compile against installed version

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 .../{lorcon-0.0_p20180409.ebuild => lorcon-0.0_p20180409-r1.ebuild}| 3 +++
 net-wireless/lorcon/lorcon-.ebuild | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
similarity index 88%
rename from net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
rename to net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
index 59c2b9799b2..0348df63540 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20180409-r1.ebuild
@@ -46,6 +46,9 @@ src_unpack() {
 
 src_prepare() {
sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.h
+   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.h
sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.c
sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.h
default

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 59c2b9799b2..0348df63540 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -46,6 +46,9 @@ src_unpack() {
 
 src_prepare() {
sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.h
+   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon_packet.h"#' 
pylorcon2/PyLorcon2.h
sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.c
sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.h
default



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2018-07-05 Thread Richard Farina
commit: 3b9fc3c8c6cad2b327f8d5969856415533f9a499
Author: Zero_Chaos  gentoo  org>
AuthorDate: Thu Jul  5 18:27:22 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Thu Jul  5 18:28:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b9fc3c8

net-wireless/lorcon: update, bump snapshot

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-wireless/lorcon/Manifest |  2 +-
 ..._p20150109.ebuild => lorcon-0.0_p20180409.ebuild} | 20 +---
 net-wireless/lorcon/lorcon-.ebuild   | 18 --
 3 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index a17a6921ca7..94c11c88bc6 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1 +1 @@
-DIST lorcon-0.0_p20150109.tar.xz 259788 BLAKE2B 
e3bd188642f7ef49fa3b7361bd659fdd47d6449598b5248412ad3d8e85e5d0b9c0f8d73fdcd3d0822f19a0d069bf0eeb832bed7bb38c418970d617c03387d1ce
 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
+DIST lorcon-0.0_p20180409.tar.gz 506177 BLAKE2B 
d4bea3e91ce506c6ba56221b4fc2e25ffd5ba979b905e66166c570adefc513ca51229fab5706276dbbd1bea68ee2c2802adf4eeefb1e5f0c593fada6cb39ab51
 SHA512 
7273b68fa4aa7418d9bab8b4651b93e315b9ea55657efa7d14ef444fda7e0e036267d319cda6676951e54b661391a77cc848778f859249a50847d33dac0b8ea9

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
similarity index 61%
rename from net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
rename to net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
index c10482d2cdf..9a0cf320d69 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20180409.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,15 +9,19 @@ 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} == "" ]] ; 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;
-   KEYWORDS="amd64 arm ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+   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
 
 LICENSE="GPL-2"
@@ -32,7 +36,6 @@ RDEPEND="${DEPEND}"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-S="${WORKDIR}"/${P}
 
 src_unpack() {
if [[ ${PV} == "" ]] ; then
@@ -44,6 +47,9 @@ src_unpack() {
 
 src_prepare() {
sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.c
+   sed -i 's##"../lorcon_multi.h"#' 
pylorcon2/PyLorcon2.h
+   default
use python && distutils-r1_src_prepare
 }
 

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index f0502097ecd..9a0cf320d69 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.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} == "" ]] ; 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? ( 

[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2018-07-05 Thread Richard Farina
commit: 5add0978f1db088cb04e5e254a5616a53d43f49d
Author: Zero_Chaos  gentoo  org>
AuthorDate: Thu Jul  5 18:28:20 2018 +
Commit: Richard Farina  gentoo  org>
CommitDate: Thu Jul  5 18:28:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5add0978

net-wireless/lorcon: fix warning

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 net-wireless/lorcon/lorcon-0.0_p20180409.ebuild | 1 -
 net-wireless/lorcon/lorcon-.ebuild  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
index 9a0cf320d69..59c2b9799b2 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20180409.ebuild
@@ -36,7 +36,6 @@ RDEPEND="${DEPEND}"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-
 src_unpack() {
if [[ ${PV} == "" ]] ; then
git-r3_src_unpack

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 9a0cf320d69..59c2b9799b2 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -36,7 +36,6 @@ RDEPEND="${DEPEND}"
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-
 src_unpack() {
if [[ ${PV} == "" ]] ; then
git-r3_src_unpack



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon-old/

2017-10-04 Thread Michał Górny
commit: d29eb6b39acad4cc43095b56daebdf646a44cbd9
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 07:31:25 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 09:14:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29eb6b3

net-wireless/lorcon-old: Strip empty metadata.xml elements

 net-wireless/lorcon-old/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net-wireless/lorcon-old/metadata.xml 
b/net-wireless/lorcon-old/metadata.xml
index ea40f278355..0bd171786a1 100644
--- a/net-wireless/lorcon-old/metadata.xml
+++ b/net-wireless/lorcon-old/metadata.xml
@@ -5,6 +5,4 @@
 zeroch...@gentoo.org
 Rick Farina
 
-
-
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2017-10-04 Thread Michał Górny
commit: b9423b439dad625e54ad0178f7dd585e3830ecd5
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 07:31:27 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 09:14:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9423b43

net-wireless/lorcon: Strip empty metadata.xml elements

 net-wireless/lorcon/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/net-wireless/lorcon/metadata.xml b/net-wireless/lorcon/metadata.xml
index ea40f278355..0bd171786a1 100644
--- a/net-wireless/lorcon/metadata.xml
+++ b/net-wireless/lorcon/metadata.xml
@@ -5,6 +5,4 @@
 zeroch...@gentoo.org
 Rick Farina
 
-
-
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2017-08-20 Thread Hans de Graaff
commit: 080ee7087ff8e8ce4b53d36294b5f657381c9e59
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Aug 20 19:47:59 2017 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Aug 20 19:48:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080ee708

net-wireless/lorcon: drop ruby USE flag, bug 620400

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 35 +++--
 net-wireless/lorcon/lorcon-.ebuild  | 35 +++--
 2 files changed, 8 insertions(+), 62 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index a77f0e64a77..c10482d2cdf 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,10 +6,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby20 ruby21"
-RUBY_OPTIONAL=yes
-
-inherit distutils-r1 ruby-ng
+inherit distutils-r1
 
 DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="http://802.11ninja.net/lorcon;
@@ -25,9 +22,9 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="python ruby"
+IUSE="python"
 
-DEPEND="ruby? ( $(ruby_implementations_depend) )
+DEPEND="
python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
net-libs/libpcap"
@@ -37,26 +34,17 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 S="${WORKDIR}"/${P}
 
-pkg_setup() {
-   use ruby && ruby-ng_pkg_setup
-}
-
 src_unpack() {
if [[ ${PV} == "" ]] ; then
git-r3_src_unpack
cp -R "${S}/" "${WORKDIR}/all"
fi
default_src_unpack
-   #ruby-ng_src_unpack doesn't seem to like mixing with git so we just 
copy things above
-   use ruby && ruby-ng_src_unpack
 }
 
 src_prepare() {
sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
-   sed -i 's#find_library("orcon2", "lorcon_list_drivers", 
"lorcon2/lorcon.h") and ##' ruby-lorcon/extconf.rb
-   sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
use python && distutils-r1_src_prepare
-   use ruby && ruby-ng_src_prepare
 }
 
 src_configure() {
@@ -65,7 +53,6 @@ src_configure() {
 
 src_compile() {
default_src_compile
-   use ruby && ruby-ng_src_compile
if use python; then
LDFLAGS+=" -L${S}/.libs/"
cd pylorcon2 || die
@@ -75,7 +62,6 @@ src_compile() {
 
 src_install() {
emake DESTDIR="${ED}" install
-   use ruby && ruby-ng_src_install
if use python; then
cd pylorcon2 || die
distutils-r1_src_install
@@ -85,16 +71,3 @@ src_install() {
 src_test() {
:
 }
-
-each_ruby_compile() {
-   sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon 
-L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb
-   "${RUBY}" -C ruby-lorcon extconf.rb || die
-   sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
-   sed -i -e "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" \
-   -e "s#-Wl,--no-undefined##" ruby-lorcon/Makefile || die
-   emake V=1 -C ruby-lorcon
-}
-
-each_ruby_install() {
-   DESTDIR="${ED}" emake -C ruby-lorcon install
-}

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index c25009b8693..f0502097ecd 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,10 +6,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby20 ruby21"
-RUBY_OPTIONAL=yes
-
-inherit distutils-r1 ruby-ng
+inherit distutils-r1
 
 DESCRIPTION="A generic library for injecting 802.11 frames"
 HOMEPAGE="http://802.11ninja.net/lorcon;
@@ -25,9 +22,9 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="python ruby"
+IUSE="python"
 
-DEPEND="ruby? ( $(ruby_implementations_depend) )
+DEPEND="
python? ( ${PYTHON_DEPS} )
dev-libs/libnl:3=
net-libs/libpcap"
@@ -37,26 +34,17 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 S="${WORKDIR}"/${P}
 
-pkg_setup() {
-   use ruby && ruby-ng_pkg_setup
-}
-
 src_unpack() {
if [[ ${PV} == "" ]] ; then
git-r3_src_unpack
cp -R "${S}/" "${WORKDIR}/all"
fi
default_src_unpack
-   #ruby-ng_src_unpack doesn't seem to like mixing with git so we just 
copy things above
-   use ruby && ruby-ng_src_unpack
 }
 
 src_prepare() {
sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
-   sed -i 's#find_library("orcon2", "lorcon_list_drivers", 
"lorcon2/lorcon.h") and ##' ruby-lorcon/extconf.rb
-  

[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2016-11-06 Thread Hans de Graaff
commit: 7c8761facfff957141d170ffa05159c3218228fa
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov  6 14:51:01 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov  6 15:24:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c8761fa

net-wireless/lorcon: add ruby21, bug 589418

Package-Manager: portage-2.3.0

 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 7 ---
 net-wireless/lorcon/lorcon-.ebuild  | 7 ---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index 1a9622c..b507490 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby20"
+USE_RUBY="ruby20 ruby21"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng
@@ -91,8 +91,9 @@ each_ruby_compile() {
sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon 
-L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb
"${RUBY}" -C ruby-lorcon extconf.rb || die
sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
-   sed -i "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" 
ruby-lorcon/Makefile || die
-   emake -C ruby-lorcon
+   sed -i -e "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" \
+   -e "s#-Wl,--no-undefined##" ruby-lorcon/Makefile || die
+   emake V=1 -C ruby-lorcon
 }
 
 each_ruby_install() {

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index f91f561..356a067 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby20"
+USE_RUBY="ruby20 ruby21"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng
@@ -91,8 +91,9 @@ each_ruby_compile() {
sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon 
-L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb
"${RUBY}" -C ruby-lorcon extconf.rb || die
sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
-   sed -i "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" 
ruby-lorcon/Makefile || die
-   emake -C ruby-lorcon
+   sed -i -e "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" \
+   -e "s#-Wl,--no-undefined##" ruby-lorcon/Makefile || die
+   emake V=1 -C ruby-lorcon
 }
 
 each_ruby_install() {



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2016-07-22 Thread Hans de Graaff
commit: f2f95b326126e824388cf962bf3501402347b48e
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Jul 22 06:57:27 2016 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Jul 22 07:00:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f95b32

net-wireless/lorcon: drop ruby19

Package-Manager: portage-2.2.28

 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 4 ++--
 net-wireless/lorcon/lorcon-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index 145199d..1a9622c 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby19 ruby20"
+USE_RUBY="ruby20"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 9ef6605..f91f561 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby19 ruby20"
+USE_RUBY="ruby20"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2015-09-07 Thread Agostino Sarubbo
commit: ee337bd17099b3e8ecce6adbcb8ef7a4259255bf
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  7 09:50:37 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  7 09:50:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee337bd1

net-wireless/lorcon: ppc stable wrt bug #547774

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index 23c6911..145199d 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} == "" ]] ; then
KEYWORDS=""
 else
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz;
-   KEYWORDS="amd64 arm ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2015-09-07 Thread Manuel Rüger
commit: d1e7464d258944cf5413e9b300445026541ce348
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep  7 09:54:37 2015 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep  7 09:54:54 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e7464d

net-wireless/lorcon: Remove old

Package-Manager: portage-2.2.20.1

 net-wireless/lorcon/Manifest   |   1 -
 net-wireless/lorcon/lorcon-0.0_p20130212-r1.ebuild | 100 -
 2 files changed, 101 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 4583bee..168dbda 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1,2 +1 @@
-DIST lorcon-0.0_p20130212.tar.xz 956024 SHA256 
1266bbd53e483456aca3031a49ea47fe3bd004e3e109b86a61672c881801742b SHA512 
d7c33d9e8b5678e0b8b9513b6a132ab1b13045503e884d077474745a4a9731fa609ba8dc9c35f344ad93b65eb0ddc038919a6349d32187b6c6c92a020155b34f
 WHIRLPOOL 
b5e6af7977fd742b34a0f394eb443cc1aca95f9c44177b7353e8a19e1593bca4ccf7e72cf1fc2f05eb4fc5d77303bb162440462957fcc37a7f8a69443f1f4df5
 DIST lorcon-0.0_p20150109.tar.xz 259788 SHA256 
a853b9bf3f9eb4a8950b3428121fe637eab274f5f0fe2aca0a5c988127c709f4 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
 WHIRLPOOL 
54e50e1e2fb5537779dde8ce264c55663dbe3615ae1276e3c6f9c6379b3dc5d6f1dd1ed22fe51628abefc0ac94f30ed7bf1157da71edab2d53b849d07b8dfbf6

diff --git a/net-wireless/lorcon/lorcon-0.0_p20130212-r1.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20130212-r1.ebuild
deleted file mode 100644
index 67a50d4..000
--- a/net-wireless/lorcon/lorcon-0.0_p20130212-r1.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-DISTUTILS_OPTIONAL=1
-
-USE_RUBY="ruby19"
-RUBY_OPTIONAL=yes
-
-inherit distutils-r1 ruby-ng
-
-DESCRIPTION="A generic library for injecting 802.11 frames"
-HOMEPAGE="http://802.11ninja.net/lorcon;
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://code.google.com/p/lorcon/;
-   inherit git-r3
-   KEYWORDS=""
-else
-   SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz;
-   KEYWORDS="amd64 arm ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="python ruby"
-
-DEPEND="ruby? ( $(ruby_implementations_depend) )
-   python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl
-   net-libs/libpcap"
-RDEPEND="${DEPEND}"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}"/${P}
-
-pkg_setup() {
-   use ruby && ruby-ng_pkg_setup
-}
-
-src_unpack() {
-   if [[ ${PV} == "" ]] ; then
-   git-r3_src_unpack
-   cp -R "${S}/" "${WORKDIR}/all"
-   fi
-   default_src_unpack
-   #ruby-ng_src_unpack doesn't seem to like mixing with git so we just 
copy things above
-   use ruby && ruby-ng_src_unpack
-}
-
-src_prepare() {
-   sed -i 's##"../lorcon.h"#' pylorcon2/PyLorcon2.c
-   sed -i 's#find_library("orcon2", "lorcon_list_drivers", 
"lorcon2/lorcon.h") and ##' ruby-lorcon/extconf.rb
-   sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
-   use python && distutils-r1_src_prepare
-   use ruby && ruby-ng_src_prepare
-}
-
-src_configure() {
-   default_src_configure
-}
-
-src_compile() {
-   default_src_compile
-   use ruby && ruby-ng_src_compile
-   if use python; then
-   LDFLAGS+=" -L${S}/.libs/"
-   cd pylorcon2 || die
-   distutils-r1_src_compile
-   fi
-}
-
-src_install() {
-   emake DESTDIR="${ED}" install
-   use ruby && ruby-ng_src_install
-   if use python; then
-   cd pylorcon2 || die
-   distutils-r1_src_install
-   fi
-}
-
-src_test() {
-   :
-}
-
-each_ruby_compile() {
-   sed -i "s#-I/usr/include/lorcon2#-I${WORKDIR}/${P}/ruby-lorcon 
-L${WORKDIR}/${P}/.libs#" ruby-lorcon/extconf.rb
-   "${RUBY}" -C ruby-lorcon extconf.rb || die
-   sed -i 's##"../lorcon.h"#' ruby-lorcon/Lorcon2.h
-   sed -i "s#-L\.#-L. -L${WORKDIR}/${P}/.libs -lorcon2 #g" 
ruby-lorcon/Makefile || die
-   emake -C ruby-lorcon
-}
-
-each_ruby_install() {
-   DESTDIR="${ED}" emake -C ruby-lorcon install
-}



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2015-08-31 Thread Richard Farina
commit: 9025144e5c65ae3bf747c19f02b443bdaa6364da
Author: Zero_Chaos  gentoo  org>
AuthorDate: Mon Aug 31 17:09:21 2015 +
Commit: Richard Farina  gentoo  org>
CommitDate: Mon Aug 31 17:09:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9025144e

net-wireless/lorcon: add what is likely the final snapshot of lorcon to fix 
ruby20 support but not ruby21 :-(

Package-Manager: portage-2.2.20.1

 net-wireless/lorcon/Manifest| 1 +
 .../lorcon/{lorcon-.ebuild => lorcon-0.0_p20150109.ebuild}  | 6 +++---
 net-wireless/lorcon/lorcon-.ebuild  | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest
index 1f0b024..4583bee 100644
--- a/net-wireless/lorcon/Manifest
+++ b/net-wireless/lorcon/Manifest
@@ -1 +1,2 @@
 DIST lorcon-0.0_p20130212.tar.xz 956024 SHA256 
1266bbd53e483456aca3031a49ea47fe3bd004e3e109b86a61672c881801742b SHA512 
d7c33d9e8b5678e0b8b9513b6a132ab1b13045503e884d077474745a4a9731fa609ba8dc9c35f344ad93b65eb0ddc038919a6349d32187b6c6c92a020155b34f
 WHIRLPOOL 
b5e6af7977fd742b34a0f394eb443cc1aca95f9c44177b7353e8a19e1593bca4ccf7e72cf1fc2f05eb4fc5d77303bb162440462957fcc37a7f8a69443f1f4df5
+DIST lorcon-0.0_p20150109.tar.xz 259788 SHA256 
a853b9bf3f9eb4a8950b3428121fe637eab274f5f0fe2aca0a5c988127c709f4 SHA512 
acbd88477317475ca8555d579a1483ea5e5d9eac0f86ef7bde2592e007025070ca56c6cd43e814560e28165ac7b40bd86f2703a466faeca1619b8373dc2b625b
 WHIRLPOOL 
54e50e1e2fb5537779dde8ce264c55663dbe3615ae1276e3c6f9c6379b3dc5d6f1dd1ed22fe51628abefc0ac94f30ed7bf1157da71edab2d53b849d07b8dfbf6

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
similarity index 96%
copy from net-wireless/lorcon/lorcon-.ebuild
copy to net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index 9f0b1f0..9ef6605 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby19 ruby21"
+USE_RUBY="ruby19 ruby20"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng
@@ -30,7 +30,7 @@ IUSE="python ruby"
 
 DEPEND="ruby? ( $(ruby_implementations_depend) )
python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl
+   dev-libs/libnl:3=
net-libs/libpcap"
 RDEPEND="${DEPEND}"
 

diff --git a/net-wireless/lorcon/lorcon-.ebuild 
b/net-wireless/lorcon/lorcon-.ebuild
index 9f0b1f0..9ef6605 100644
--- a/net-wireless/lorcon/lorcon-.ebuild
+++ b/net-wireless/lorcon/lorcon-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 DISTUTILS_OPTIONAL=1
 
-USE_RUBY="ruby19 ruby21"
+USE_RUBY="ruby19 ruby20"
 RUBY_OPTIONAL=yes
 
 inherit distutils-r1 ruby-ng
@@ -30,7 +30,7 @@ IUSE="python ruby"
 
 DEPEND="ruby? ( $(ruby_implementations_depend) )
python? ( ${PYTHON_DEPS} )
-   dev-libs/libnl
+   dev-libs/libnl:3=
net-libs/libpcap"
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: net-wireless/lorcon/

2015-08-31 Thread Richard Farina
commit: 06fbf0866475d77b8524c36faeb85dd1a9928b0f
Author: Zero_Chaos  gentoo  org>
AuthorDate: Mon Aug 31 18:52:08 2015 +
Commit: Richard Farina  gentoo  org>
CommitDate: Mon Aug 31 18:52:21 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06fbf086

net-wireless/lorcon: stable for amd64, arm, x86

Package-Manager: portage-2.2.20.1

 net-wireless/lorcon/lorcon-0.0_p20150109.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild 
b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
index 9ef6605..23c6911 100644
--- a/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
+++ b/net-wireless/lorcon/lorcon-0.0_p20150109.ebuild
@@ -21,7 +21,7 @@ if [[ ${PV} == "" ]] ; then
KEYWORDS=""
 else
SRC_URI="https://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.xz;
-   KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+   KEYWORDS="amd64 arm ~ppc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="GPL-2"