diff options
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/rfcat/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/rfcat/rfcat-0.0.190423.ebuild | 52 | ||||
-rw-r--r-- | net-wireless/rfcat/rfcat-9999.ebuild | 7 |
3 files changed, 57 insertions, 3 deletions
diff --git a/net-wireless/rfcat/Manifest b/net-wireless/rfcat/Manifest index e0a1e2e34edc..91f4e7a7377d 100644 --- a/net-wireless/rfcat/Manifest +++ b/net-wireless/rfcat/Manifest @@ -2,4 +2,5 @@ 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 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" |