diff --git a/net-wireless/proxmark3/Manifest b/net-wireless/proxmark3/Manifest index bb7256219..cb22744be 100644 --- a/net-wireless/proxmark3/Manifest +++ b/net-wireless/proxmark3/Manifest @@ -1,3 +1 @@ -DIST proxmark3-3.1.0_p20190820.tar.gz 11672097 BLAKE2B 4e908fc76b71f87eb7b04a4a4296031fd3f63be59df3b7ce5982c1be5562b4f8db61c1c3dba77724abcd65f86bc9d0b5cac13b75bd5dd5325f0e83a3fd7c1a10 SHA512 2093f2c2aa83ccc27733facd411246fab04378ac32ef2c970e388b3b84b7a1c5956bd088d2605ecffd686e1ccb997501b8c81a5b849885733da509067a613634 -DIST proxmark3-3.1.0_p20200316.tar.gz 11672097 BLAKE2B 4e908fc76b71f87eb7b04a4a4296031fd3f63be59df3b7ce5982c1be5562b4f8db61c1c3dba77724abcd65f86bc9d0b5cac13b75bd5dd5325f0e83a3fd7c1a10 SHA512 2093f2c2aa83ccc27733facd411246fab04378ac32ef2c970e388b3b84b7a1c5956bd088d2605ecffd686e1ccb997501b8c81a5b849885733da509067a613634 -DIST proxmark3-4.9237.tar.gz 12051539 BLAKE2B 3818802a2d65bed203c23c44bc3782ad0eaa3fbec285ea5bfb2fb9f4bf125546d64d6722136f5460c13cc3de58635d9f4e8809c8b93049e6d0ad4f9db56766ab SHA512 c3ba93c3d456a1daf5001a37bc8030aa973eb1626ef4b31fc14df791375088763926637478df1bbb45f489743ec03490efe36accc22ef7301d7a032a445e551d +DIST proxmark3-4.13441.tar.gz 24563979 BLAKE2B 230aba82d54d57e2d14b7602120cac9a8fb563ffdb6fde983be912dcf960a9ca111a3b98d71c64713392a69b48ed2d17d21a874437308def790cc15a4b7b8288 SHA512 64b9a33a302b33cef6dee34eae842a08e2647566bf375af15c7da6a27973d2b53f072b739518206a4f8c436f1e75cc08503ed65ef382bbc785362e38f44ef6c2 diff --git a/net-wireless/proxmark3/proxmark3-3.1.0_p20190820.ebuild b/net-wireless/proxmark3/proxmark3-3.1.0_p20190820.ebuild deleted file mode 100644 index 490e058d7..000000000 --- a/net-wireless/proxmark3/proxmark3-3.1.0_p20190820.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit udev - -HASH_COMMIT="1ac5211601b50b82b41737dce0c3a72d9e0374ac" - -DESCRIPTION="A general purpose RFID tool for Proxmark3 hardware" -HOMEPAGE="https://github.com/RfidResearchGroup/proxmark3" -SRC_URI="https://github.com/RfidResearchGroup/${PN}/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="deprecated +firmware" - -#fpga_compress fails to compile -#MAKEOPTS="${MAKEOPTS} -j1" - -RDEPEND="virtual/libusb:0 - sys-libs/ncurses:*[tinfo] - dev-qt/qtcore:5 - dev-qt/qtwidgets:5 - dev-qt/qtgui:5 - sys-libs/readline:= - dev-util/astyle" -DEPEND="${RDEPEND} - firmware? ( sys-devel/gcc-arm-none-eabi )" - -S=${WORKDIR}/${PN}-${HASH_COMMIT} - -src_prepare() { - sed -i -e 's/-ltermcap/-ltinfo/g' client/Makefile || die - sed -i -e 's/-ltermcap/-ltinfo/g' client/liblua/Makefile || die - sed -i -e 's#lualibs/#../../usr/share/proxmark3/lualibs/#' client/scripting.h || die - sed -i -e 's#scripts/#../../usr/share/proxmark3/scripts/#' client/scripting.h || die - sed -i -e 's#mkdir#mkdir -p#' Makefile.host || die - eapply_user -} - -src_compile(){ - if use firmware; then - # platform should be an exclusive use flag, extras should default to btaddon for pm3rdv4 - # standalone should also be an exclusive use flag - emake V=1 PLATFORM=PM3RDV4 PLATFORM_EXTRAS=BTADDON all - elif use deprecated; then - emake V=1 client/proxmark3 mfkey nonce2key - else - emake V=1 client/proxmark3 - fi -} - -src_install(){ - dobin client/proxmark3 - if use deprecated; then - #install some tools - exeinto /usr/share/proxmark3/tools - doexe tools/mfkey/mfkey{32,64} - doexe tools/nonce2key/nonce2key - fi - #install main lua and scripts - insinto /usr/share/proxmark3/lualibs - doins client/lualibs/* - insinto /usr/share/proxmark3/scripts - doins client/scripts/* - if use firmware; then - exeinto /usr/share/proxmark3/firmware - doexe client/flasher - insinto /usr/share/proxmark3/firmware - doins armsrc/obj/fullimage.elf - doins bootrom/obj/bootrom.elf - insinto /usr/share/proxmark3/jtag - doins recovery/*.bin - fi - udev_dorules driver/77-pm3-usb-device-blacklist.rules -} - -pkg_postinst() { - if use firmware; then - einfo "flasher is located in /usr/share/proxmark3/firmware/" - ewarn "Please note, all firmware and recovery files are intended for the Proxmark3 RDV4" - fi -} diff --git a/net-wireless/proxmark3/proxmark3-3.1.0_p20200316.ebuild b/net-wireless/proxmark3/proxmark3-3.1.0_p20200316.ebuild deleted file mode 100644 index 490e058d7..000000000 --- a/net-wireless/proxmark3/proxmark3-3.1.0_p20200316.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit udev - -HASH_COMMIT="1ac5211601b50b82b41737dce0c3a72d9e0374ac" - -DESCRIPTION="A general purpose RFID tool for Proxmark3 hardware" -HOMEPAGE="https://github.com/RfidResearchGroup/proxmark3" -SRC_URI="https://github.com/RfidResearchGroup/${PN}/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64" -IUSE="deprecated +firmware" - -#fpga_compress fails to compile -#MAKEOPTS="${MAKEOPTS} -j1" - -RDEPEND="virtual/libusb:0 - sys-libs/ncurses:*[tinfo] - dev-qt/qtcore:5 - dev-qt/qtwidgets:5 - dev-qt/qtgui:5 - sys-libs/readline:= - dev-util/astyle" -DEPEND="${RDEPEND} - firmware? ( sys-devel/gcc-arm-none-eabi )" - -S=${WORKDIR}/${PN}-${HASH_COMMIT} - -src_prepare() { - sed -i -e 's/-ltermcap/-ltinfo/g' client/Makefile || die - sed -i -e 's/-ltermcap/-ltinfo/g' client/liblua/Makefile || die - sed -i -e 's#lualibs/#../../usr/share/proxmark3/lualibs/#' client/scripting.h || die - sed -i -e 's#scripts/#../../usr/share/proxmark3/scripts/#' client/scripting.h || die - sed -i -e 's#mkdir#mkdir -p#' Makefile.host || die - eapply_user -} - -src_compile(){ - if use firmware; then - # platform should be an exclusive use flag, extras should default to btaddon for pm3rdv4 - # standalone should also be an exclusive use flag - emake V=1 PLATFORM=PM3RDV4 PLATFORM_EXTRAS=BTADDON all - elif use deprecated; then - emake V=1 client/proxmark3 mfkey nonce2key - else - emake V=1 client/proxmark3 - fi -} - -src_install(){ - dobin client/proxmark3 - if use deprecated; then - #install some tools - exeinto /usr/share/proxmark3/tools - doexe tools/mfkey/mfkey{32,64} - doexe tools/nonce2key/nonce2key - fi - #install main lua and scripts - insinto /usr/share/proxmark3/lualibs - doins client/lualibs/* - insinto /usr/share/proxmark3/scripts - doins client/scripts/* - if use firmware; then - exeinto /usr/share/proxmark3/firmware - doexe client/flasher - insinto /usr/share/proxmark3/firmware - doins armsrc/obj/fullimage.elf - doins bootrom/obj/bootrom.elf - insinto /usr/share/proxmark3/jtag - doins recovery/*.bin - fi - udev_dorules driver/77-pm3-usb-device-blacklist.rules -} - -pkg_postinst() { - if use firmware; then - einfo "flasher is located in /usr/share/proxmark3/firmware/" - ewarn "Please note, all firmware and recovery files are intended for the Proxmark3 RDV4" - fi -} diff --git a/net-wireless/proxmark3/proxmark3-4.9237.ebuild b/net-wireless/proxmark3/proxmark3-4.13441.ebuild similarity index 99% rename from net-wireless/proxmark3/proxmark3-4.9237.ebuild rename to net-wireless/proxmark3/proxmark3-4.13441.ebuild index b36ca855c..cc422358b 100644 --- a/net-wireless/proxmark3/proxmark3-4.9237.ebuild +++ b/net-wireless/proxmark3/proxmark3-4.13441.ebuild @@ -32,6 +32,8 @@ REQUIRED_USE="?? ( ${STANDALONE/+/} ) standalone-hf-bog? ( pm3rdv4 )" RDEPEND="virtual/libusb:0 + app-arch/bzip2 + dev-libs/jansson sys-libs/ncurses:*[tinfo] sys-libs/readline:= bluez? ( net-wireless/bluez ) diff --git a/net-wireless/proxmark3/proxmark3-9999.ebuild b/net-wireless/proxmark3/proxmark3-9999.ebuild index 1886e4c15..5e79b94ce 100644 --- a/net-wireless/proxmark3/proxmark3-9999.ebuild +++ b/net-wireless/proxmark3/proxmark3-9999.ebuild @@ -32,6 +32,8 @@ REQUIRED_USE="?? ( ${STANDALONE/+/} ) standalone-hf-bog? ( pm3rdv4 )" RDEPEND="virtual/libusb:0 + app-arch/bzip2 + dev-libs/jansson sys-libs/ncurses:*[tinfo] sys-libs/readline:= bluez? ( net-wireless/bluez )