-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into revert_chirp
- Loading branch information
Showing
36 changed files
with
285 additions
and
755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST pcileech-4.17.tar.gz 393124 BLAKE2B fd6d044e1475ff364f49c1d0ed65bebb5bb412f97e29432d50ed548be2c6d16fd2ecb81629261b6b17b274d1797b4a1bc7c3ea94bbeb672f21a4faed0a5a1504 SHA512 1c4370f6b9dbe3d6aee42d60f682645517ea818d14f8e4e8d515fdfb70eead2668fe9640de0caf1403a665310528a319fd77e7db7754bc68f570dbf64e174f76 | ||
DIST pcileech-4.18.tar.gz 493745 BLAKE2B d69cfe8c89184ca5ba3704052f16cbcbfdb18da0b8b53a7b9dc748784504523d68429cb91a77dc5d58aa44f4884ac2fb7e77bc3bab1830515ed530cc045c6829 SHA512 444fdb5fb91188a762e5ac9e7f87c58d8e29c6c545341a32fd7c1d64a99f3c07a3afcc210576fde0b0ca252b5f5b941d9c18cfa99d2a00db8a2c1686f196e142 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="Direct Memory Access (DMA) Attack Software" | ||
HOMEPAGE="https://github.com/ufrisk/pcileech" | ||
SRC_URI="https://github.com/ufrisk/pcileech/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="amd64 ~arm64 x86" | ||
|
||
DEPEND="virtual/libusb:1 | ||
>=dev-libs/LeechCore-2.7 | ||
>=dev-libs/memprocfs-4.7" | ||
RDEPEND="${DEPEND}" | ||
|
||
src_prepare() { | ||
sed '/mv leechcore.so/d' -i pcileech/Makefile || die | ||
sed '/mv vmm.so/d' -i pcileech/Makefile || die | ||
eapply_user | ||
} | ||
|
||
src_compile() { | ||
emake -C pcileech | ||
} | ||
|
||
src_install(){ | ||
dobin files/pcileech | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
DIST LeechCore-2.14.tar.gz 155367 BLAKE2B 1c37d4eef60017761a962fc59c59de7a08e98974d8af9566a288909219426778a974d772a9ac626041fca0a8b24917423f492ce1bef6a916caa537a8153a9d21 SHA512 542e634a6182aca45aafdf0e03acbccc333494229d56a6e0936076b6cdcab039b0211272edcc05b8325fc7476c9464e49c56a0bb87a502f2ab60d27247f353b1 | ||
DIST LeechCore-2.16.tar.gz 217790 BLAKE2B 9c41af3d6c27ea5a536916e4780f2b5adbafbb9ead30bad6977864d71f64ae8a2db289f9004ce6a674732cb0db8e7072a37472eb082e6d152fcf7c474ff28f78 SHA512 63cc7e22c09f4f5dd9ab280f7db642f22e3745289739cb0b4445a4ac0e1557e13a65d0b78761dabc520ee8ec728c96247eea2479637cbd5e272fa72e83e69999 | ||
DIST LeechCore-2.18.tar.gz 226653 BLAKE2B 3bc804f155abc650d57dd27ebbad6c0b11f10b246561b8924cdf4e0b8deaaf7b5e66fb0e756eff9e29ee73d56b5baa3f0531b46226da7ad16627ed9795a4fc64 SHA512 feb2fc7c70ed0d9cc18cacc5764e9db39cf5dbe5dedb21ef34caaa00aaa87871d1a707a8d76204f89ac993fdde208aaa3fe17cc2d3079d130941d97358caa4bf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 1999-2024 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DISTUTILS_USE_PEP517=setuptools | ||
PYTHON_COMPAT=( python3_{10..12} ) | ||
|
||
inherit distutils-r1 pypi fcaps | ||
|
||
DESCRIPTION="Python interface to Bluetooth LE on Linux" | ||
HOMEPAGE="https://github.com/IanHarvey/bluepy" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~x86" | ||
|
||
RDEPEND="${PYTHON_DEPS} | ||
dev-libs/glib:2" | ||
DEPEND="${RDEPEND}" | ||
|
||
src_prepare(){ | ||
sed -i 's|description-file|description_file|' setup.cfg || die "failed to sed setup.cfg" | ||
sed -i 's|$(CFLAGS) $(CPPFLAGS)|$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)|' bluepy/Makefile || die "failed to sed Makefile" | ||
#compile bluepy-helper using python_compile() later. Or not | ||
#sed -i '/pre_install()$/d' setup.py || die "failed to sed setup.py" | ||
distutils-r1_src_prepare | ||
# eapply_user | ||
} | ||
|
||
#python_compile() { | ||
# pushd bluepy > /dev/null | ||
#FIXME: broken Makefile, do not untar multiple times | ||
# emake -j1 | ||
# popd > /dev/null | ||
# distutils-r1_python_compile | ||
#} | ||
|
||
pkg_postinst() { | ||
python_setup | ||
fcaps cap_net_raw,cap_net_admin+eip $(python_get_sitedir)/bluepy/bluepy-helper | ||
rm $(python_get_sitedir)/${PN}/{bluez-src.tgz,bluepy-helper.c,Makefile,version.h} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.