From d99093fb4bb5652015c06274d64083daa2439e4f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Mar 2021 10:28:17 +0000 Subject: gentoo resync : 03.03.2021 --- net-wireless/lorcon/Manifest | 6 ++- net-wireless/lorcon/lorcon-0.0_p20200214.ebuild | 4 +- net-wireless/lorcon/lorcon-2020.06.06.ebuild | 70 +++++++++++++++++++++++++ net-wireless/lorcon/lorcon-9999.ebuild | 4 +- 4 files changed, 78 insertions(+), 6 deletions(-) create mode 100644 net-wireless/lorcon/lorcon-2020.06.06.ebuild (limited to 'net-wireless/lorcon') diff --git a/net-wireless/lorcon/Manifest b/net-wireless/lorcon/Manifest index 9b183e88dc2e..51d1d12429ea 100644 --- a/net-wireless/lorcon/Manifest +++ b/net-wireless/lorcon/Manifest @@ -1,4 +1,6 @@ DIST lorcon-0.0_p20200214.tar.gz 506444 BLAKE2B 07faf66dad8acae5cd2c1ff60778a1c6a7116be449740d975dc79e0606c646cf2fd21f3b5752d8fc6d23848347ce3ff9e14e0068a8f929a0b35434af7fef7fda SHA512 794a973ccccdd2f214041373ecb1ac167698e4cdf23b69900ba9e589fd88bdb064105ceb6c23ebd1d499db83ad7f417e1cbc4cd26169f46636cee2eb4764e28a -EBUILD lorcon-0.0_p20200214.ebuild 1496 BLAKE2B f82deb490f5c4426ecb12b00ad86cebaba6d4be9285276f340dc3525b3ce9b8285b1727b45311df23c06a17dee175a72cd8b418a77b5559b349febac356331d0 SHA512 90fc7b3a33c2f23f87a85298e3e61777d6b3de1af5eceeac7a301e87a14005ab12ea1d90ad10a75003f2a2380ccea52b25a3d9826e66705cecfb735e78a979ac -EBUILD lorcon-9999.ebuild 1500 BLAKE2B 2c0f1bc8232c019b3989db8313ab12a4d144e33ee0bf5d9d18ca3d2b3e374390fe9039179f02822e04888f9e11f8a69c3cb5532fde5d5094e764bc49316cdce7 SHA512 05b9479b3f650d78f05a513a8695a0c668bbe5a959ec12a698d1d8a4e1784375d3f3c84016a6ddc79a7928074bca70ff9492d840571fefa2c786086eb3026d84 +DIST lorcon-2020.06.06.tar.gz 506144 BLAKE2B 6fe0d3578b8f91ed9ed0ea12ce110afc6764b694c78c57935b835e4fb8e4c4c81e07f7a8b069583382e91ef760a07bdcf3f9aa51167add052ac1f3f8c0758155 SHA512 1f51dc221d01356b59fd615ebccabb6d00f1999fd9450f6f092f6234635e162f0407e203df9dde4f0f942691cd9395df30377478ec677c910c2d1603228cef30 +EBUILD lorcon-0.0_p20200214.ebuild 1498 BLAKE2B f9cd7d4092aa373d6634e554d93159f074321078178a31daf8c6565e8179633094621dd5c7fb7f8904b3cbd1282b77e547ed5699b1988cf8cb1c9dba2345c0fc SHA512 95ca9f94c6754d8aef1a76865e3eea199e040620665f9ffad3d2e5af2e63bd184468185df71ba8d2e6f2b5b7e8c56a7e6656c1b8a84f136debd90f1c1a390869 +EBUILD lorcon-2020.06.06.ebuild 1407 BLAKE2B d58837af81c5dac8d39e94d6d9edccb93feaaf6d68bac7d08cfb63928573ab6da0640da2547ba262d6faecbb37efa95f7007fc4705dd46316be860fa378a908f SHA512 db48a9153baf1904b7c0aad999f40649c04a852d80aec64ec73902ba21cbb9ac8184de7b95b55655b5702b04d58ec0bc570b8f2759f519a2e9d31076956a17bc +EBUILD lorcon-9999.ebuild 1502 BLAKE2B ced150448b5b96cc27b5a0e1d21282f23c60238335425178715dcad697f2d0e2fd893afa7bddb5cb01188dec9ee20aa0fa6034452d3979439153a143c94f329c SHA512 d9f3921fdd549348129197fe4f39a05d5490227238023300285ee0f6030a6712a9d4d857df47e936ffb434e490fae8c2cb1670b5b77397d2abec2c76c2873560 MISC metadata.xml 241 BLAKE2B 31d2e88c810d3facda6587f93bdc429e66b6ed90dc2c019dac1ece6da620b74dc4db8907a25d6559ff7a027f6b267774016686a56c5a5e67da4fbfa3cae7be6e SHA512 d308ccef737c1776c2d77c0761996ef272a5866f5d9ceeda4dd4ceede851a145f76281a29b4c4b154e5b10f1d57c9344010bfcf75ba52fb3f1b34a58e3c2053f diff --git a/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild b/net-wireless/lorcon/lorcon-0.0_p20200214.ebuild index 986973b7941d..db239c00f95b 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-2020.06.06.ebuild b/net-wireless/lorcon/lorcon-2020.06.06.ebuild new file mode 100644 index 000000000000..20a4da501628 --- /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} == "9999" ]] ; 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} == "9999" ]] ; 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 +} diff --git a/net-wireless/lorcon/lorcon-9999.ebuild b/net-wireless/lorcon/lorcon-9999.ebuild index e99189ef34b4..4a69d22d8690 100644 --- a/net-wireless/lorcon/lorcon-9999.ebuild +++ b/net-wireless/lorcon/lorcon-9999.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 -- cgit v1.2.3