summaryrefslogtreecommitdiff
path: root/net-wireless/rfcat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-08-02 19:14:55 +0100
commitb24bd25253fe093f722ab576d29fdc41d04cb1ee (patch)
tree0fcf2afd9f852c4d4c291cf8afaa2c244d598105 /net-wireless/rfcat
parent121ed4eec41fbf03e1998d09eede1bf449da63b9 (diff)
gentoo resync : 02.08.2019
Diffstat (limited to 'net-wireless/rfcat')
-rw-r--r--net-wireless/rfcat/Manifest4
-rw-r--r--net-wireless/rfcat/rfcat-0.0.190423.ebuild52
-rw-r--r--net-wireless/rfcat/rfcat-9999.ebuild7
3 files changed, 59 insertions, 4 deletions
diff --git a/net-wireless/rfcat/Manifest b/net-wireless/rfcat/Manifest
index 687f7e03138e..9214cfc2982f 100644
--- a/net-wireless/rfcat/Manifest
+++ b/net-wireless/rfcat/Manifest
@@ -2,7 +2,9 @@ DIST RfCatChronosCCBootloader-170313.hex 49806 BLAKE2B 5a742393b1236b77c5a5391a1
DIST RfCatDonsCCBootloader-170313.hex 49664 BLAKE2B 9936f4a5b1262f4abb5e8d38205af909d2640170b24499f9f3e9f6320501fa4f1e438d859dde59b1b8425dfaad8743fed0a0e1fd2b66fbcff9e22b97362f65b9 SHA512 c3fe9a14135a24a44d8c9d193278850a1ba41085f4225397fe21f47e9a874bf1cdaec080acb57d3b086ce05132711df8e6e4cb63b7eacf7d2c24fcafe4dff1f2
DIST RfCatYS1CCBootloader-170313.hex 50208 BLAKE2B 9df19800d5c0c5a4b8c99f550c758c14d9e3d6dab1f3ed58f65b7577720989eec113f2f243d0d5686a7137398d833374da38faae6ed1ba95836bbebb3448a417 SHA512 6b51aed7ca3ae916137056df711c0f8f76de7f30dec48227da226a7c8814fdded5a1d544f746c74423f69289bae90276b425f7b44a7ad4af5dd96994efc385e2
DIST immeSniff-170508.hex 38770 BLAKE2B fd34fee85ee6bf893234939cab9794c34f9302e37d86636116e544ca39e368ed8b6015ae2efa80c49ad56722b1fa573897e0b93ca4d5b2e6496c9f92c9c761d6 SHA512 3f06693fc893071adfb75e510da4d5c47752480896e449f893141b4db43dc7fb859dc25ab368d742ae612ebda085f199bcd8e18c9f5fa6f58c6b6204defc7b5f
+DIST rfcat-0.0.190423.tar.gz 334587 BLAKE2B da565d3272262b876763cb65da1f03fa2edd13c423dc23b1bfa91453ce4a8c1629e2f61f79dfaae3137ffbf3d85daec588a97a74db17149e677bef619e5d38ff SHA512 2c44ee933d5a47f3cf83b85c423b10ee044ce37a9e11f8bab0bf8c9734d8d8cac4744cec456eb1c12ad397b72194af7010f4b99aae95b42759bc63eb7b737532
DIST rfcat_170508.tgz 462440 BLAKE2B 20d4b875be7caeb8263e3582c101a2402527b2f4f54feceba49bf01f65d268f3f9537c42a9a40502a6e232c7d828b6be27d899e979509c607c1160a71aa3677a SHA512 79f960ee6b8c2d66cb17ca69216041bb9679b0d38579feb3ab59bbb6e41337b29c4ad30a6d03b2de4c58eeeff5f22fe26412a670da5278e81a47a2ec3d699f60
EBUILD rfcat-0.0.170508.ebuild 1381 BLAKE2B 06c89b4f5b5edbc0f9569fbe13e3c51b68e81775d77d8e03a7e8f2bb6ded0d567a46329171bdb8f83fdaf5db2e156d1337b37412565d05a0eb9331d37e83a7d6 SHA512 5957e81e866b1ecafa618c435da3790e1a540f31d8d893c42314f9339af4e9bd8a0158be50e8404b54efbc2fee29638369935291be5b6452b4085f880165ca45
-EBUILD rfcat-9999.ebuild 1423 BLAKE2B 91ea201c358d8c121fc5726873fee1d61d085c80a2f02c1d0a5d2711d98774971ef77daeef87ce6758a638051728f7da8d7fc1431c3214571ffa5154f75388eb SHA512 aed3e045cc64cd5a54161dca37bb3159d89eff5e35387975d95656abfc633f72ee252ecd264a7fa5804b56ce43087d9aa487e049e34e44f4d8932276fc653cab
+EBUILD rfcat-0.0.190423.ebuild 1485 BLAKE2B 29e5db161de76c854e02bce6dbf97283881b34357b2e751938aed0df4f4e7c1477ae4074013a3fc19ed88bf76c541729682fffdf19c79c1c1d08e412d8293132 SHA512 45ed01a14d008eb4aa791d8431ce681fe9b91eeae57ef66cf9ba5df55aa1a41d025d8a0d76f3dec5d3313367cf68a64aa53f9de375237d9c401e8fb36060c1ec
+EBUILD rfcat-9999.ebuild 1485 BLAKE2B 3781bc95018bbd58ea843a9aef8bb74beb35f11ae3c5a45b55cb1c31e9954a1fb2eb9528b0f2f3ab58174d51bcd92d80708a28652d13f0781c1f3530bb4ee75e SHA512 14d416a96bd25bcb6a0f78a1b0113f01f11050eacd7ec47fe6e547bb2e47e287c054654848f7e0c94beeed13da21872d681a26d21f88c1dc1101e5d1ba9acc29
MISC metadata.xml 332 BLAKE2B f434ada12078111a24ebbf48d22c9820bd2c4f93c86b90a75e3e31b62dada319d35260ca469b9e8931abfd34416b9018c55e6a246ba9f29b793f32eb30e3bfce SHA512 c99ea897c8e261d0fe784a70e40fa34d11e5ed1600ff1a24c5b0a3618430c9509d94755ec3c4e76e656c62cc51502b6345f0de7713f9a3dc213ef00bb5fce468
diff --git a/net-wireless/rfcat/rfcat-0.0.190423.ebuild b/net-wireless/rfcat/rfcat-0.0.190423.ebuild
new file mode 100644
index 000000000000..644402fa8044
--- /dev/null
+++ b/net-wireless/rfcat/rfcat-0.0.190423.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="The swiss army knife of subGHz"
+HOMEPAGE="https://github.com/atlas0fd00m/rfcat.git"
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="https://github.com/atlas0fd00m/rfcat.git"
+ inherit git-r3
+ KEYWORDS=""
+else
+ DATE="170508"
+ FIRMWARE_DATE="170313"
+ COMMIT="109f887fc816021a2cb2875dce62ab9cad02c5f3"
+ SRC_URI="https://github.com/atlas0fd00m/rfcat/archive/${COMMIT}.tar.gz -> ${P}.tar.gz \
+ https://bitbucket.org/atlas0fd00m/rfcat/downloads/immeSniff-${DATE}.hex \
+ https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatChronosCCBootloader-${FIRMWARE_DATE}.hex \
+ https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatDonsCCBootloader-${FIRMWARE_DATE}.hex \
+ https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatYS1CCBootloader-${FIRMWARE_DATE}.hex"
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+#DEPEND="dev-embedded/sdcc"
+#RDEPEND="${DEPEND}"
+PDEPEND="dev-python/future[${PYTHON_USEDEP}]"
+
+src_install() {
+ distutils-r1_src_install
+
+ if [ "${PV}" != "9999" ]; then
+ insinto /usr/share/rfcat
+ doins "${DISTDIR}"/*.hex
+ fi
+}
+
+pkg_postinst() {
+ if [ "${PV}" = "9999" ]; then
+ ewarn "Right now, this only installs the rfcat host tools, nothing related to firmware"
+ else
+ einfo "Pre-compiled firmwares from upstream are installed in /usr/share/rfcat"
+ fi
+}
diff --git a/net-wireless/rfcat/rfcat-9999.ebuild b/net-wireless/rfcat/rfcat-9999.ebuild
index a2f1584d251c..c5a88d6cf870 100644
--- a/net-wireless/rfcat/rfcat-9999.ebuild
+++ b/net-wireless/rfcat/rfcat-9999.ebuild
@@ -7,7 +7,7 @@ PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="The swiss army knife of subGHz"
-HOMEPAGE="https://bitbucket.org/atlas0fd00m/rfcat/"
+HOMEPAGE="https://github.com/atlas0fd00m/rfcat.git"
if [ "${PV}" = "9999" ]; then
EGIT_REPO_URI="https://github.com/atlas0fd00m/rfcat.git"
@@ -16,13 +16,14 @@ if [ "${PV}" = "9999" ]; then
else
DATE="170508"
FIRMWARE_DATE="170313"
- SRC_URI="https://bitbucket.org/atlas0fd00m/rfcat/downloads/rfcat_${DATE}.tgz \
+ COMMIT="109f887fc816021a2cb2875dce62ab9cad02c5f3"
+ SRC_URI="https://github.com/atlas0fd00m/rfcat/archive/${COMMIT}.tar.gz -> ${P}.tar.gz \
https://bitbucket.org/atlas0fd00m/rfcat/downloads/immeSniff-${DATE}.hex \
https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatChronosCCBootloader-${FIRMWARE_DATE}.hex \
https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatDonsCCBootloader-${FIRMWARE_DATE}.hex \
https://bitbucket.org/atlas0fd00m/rfcat/downloads/RfCatYS1CCBootloader-${FIRMWARE_DATE}.hex"
KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}/${PN}_${DATE}"
+ S="${WORKDIR}/${PN}_${COMMIT}"
fi
LICENSE="BSD"