summaryrefslogtreecommitdiff
path: root/net-wireless/ubertooth
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/ubertooth')
-rw-r--r--net-wireless/ubertooth/Manifest4
-rw-r--r--net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild (renamed from net-wireless/ubertooth/ubertooth-2020.12.1.ebuild)14
-rw-r--r--net-wireless/ubertooth/ubertooth-9999.ebuild14
3 files changed, 24 insertions, 8 deletions
diff --git a/net-wireless/ubertooth/Manifest b/net-wireless/ubertooth/Manifest
index 9c0625ad5e79..ec3ba5551fe7 100644
--- a/net-wireless/ubertooth/Manifest
+++ b/net-wireless/ubertooth/Manifest
@@ -2,6 +2,6 @@ AUX ubertooth-2018.12.1-gcc-10.patch 783 BLAKE2B e0d79ff3217de27b4c04c8e0427c521
DIST ubertooth-2018-12-R1.tar.xz 704208 BLAKE2B 7a17830a0ed417a737d78aa22c5a6a270a67b350a3a5e9a0aebabd4b38547d8d35551e061ea3d5260996f8fe1a366c75c8773d5e3a6abf37a0930f93200da3fc SHA512 409fdb403d6a3fa84b92757e0fd8672b1403ba3d24888fbde4d6d6923d8e0796914c20d38e2fc58909f81fcb8a0b6290bcf91282bb02354c310e6e91ad85e23b
DIST ubertooth-2020-12-R1.tar.xz 763952 BLAKE2B 592c5fa689e0f944875bd777dedfd83394ebe5c9c65c1ac2c19006a949daeda8440dc102e537cf97b4547e0730df8f47d5c2a420d84d5dc770577b6039e16b28 SHA512 f127cae09d9b20dc34ffad080871f4505cbeccc1117e0e4e841ecf4a30f578d02b67b52786d7a82bdfc43d06562919008c076f8eb9befc7e4bd95def05a3864c
EBUILD ubertooth-2018.12.1.ebuild 2121 BLAKE2B f76d7998e10f672897c463b15f703eba820258f8ae6b6891846495fdb745be299dd0f4c1e902f4c7ebab5ed2b0b0cc0466b031e2909402f6801cfd36d0feb423 SHA512 4f5d29bbb09e2485e589a27ebce1d552504c49330b62b53c83bdca6c25ca164cc78ec02d1d45d616d99583941870e33e24d13d87c67a50341206de4d0b4629cf
-EBUILD ubertooth-2020.12.1.ebuild 2077 BLAKE2B 1685985073295a888b4f301cc3a8c3cb4f69e14454a2554f3e2b8cc17ea967e2a23cedac6d2e90448a5136ab0818b810e111632104372fb95a15e831b64f6451 SHA512 2fc8b66630a598d17b77541e6afa96cd457eaad46b6a5fea6e8db220414199df53adbcca31c6479be8022e23c0e9e243267b9ab6f716952ad6d45aff4a070338
-EBUILD ubertooth-9999.ebuild 2077 BLAKE2B 0955fc76aa31f91e02986c5c4b1379ea0beed4f8eaa9306feae2fc7e251bff7cbe79c46b121b1923cfeae247c3886244b7995e6c640852f917db638d1e60f4e2 SHA512 1f9e0ea4a0fed9a8e4c27a4f48496ca840103766cdada2799dec452304a88e41be3f68a4b59b4e9f0eb8ef9185c7f15b06a51cce8a1a5ed611190614d7a0a4eb
+EBUILD ubertooth-2020.12.1-r1.ebuild 2162 BLAKE2B 8e7be1c9a73ca44740fc0c0967a4328dfeccc1fa6b3bc928258f0322b76d433f0b0f3e5b24c40750fdb6409ccf7be430a6a821ec6e0682d31bdb347de39c4679 SHA512 540db40944ac870a5389cfe2842f2b6bf2ac7eaa9f27d7f3ceff21d90e13c33cdb28ac92c67051d67837d98623a2363410d076a692a1d0bae1cb39d7b1fd9f85
+EBUILD ubertooth-9999.ebuild 2162 BLAKE2B 8e7be1c9a73ca44740fc0c0967a4328dfeccc1fa6b3bc928258f0322b76d433f0b0f3e5b24c40750fdb6409ccf7be430a6a821ec6e0682d31bdb347de39c4679 SHA512 540db40944ac870a5389cfe2842f2b6bf2ac7eaa9f27d7f3ceff21d90e13c33cdb28ac92c67051d67837d98623a2363410d076a692a1d0bae1cb39d7b1fd9f85
MISC metadata.xml 563 BLAKE2B e60e76c45d573b00a12adfc8b7398e04c63faf6ebd7430764c1fbfe1626e9fdd36d429d9fa6c7abcb425eda80f716fb653acd073f27cf8b60afa79e895f0d785 SHA512 6009ecd598e930adb2e657e906d86bfd2625f7c51ea6feba9bbda600dd8d3ba4f26eb33c20ffd9ef30192e027b95ed075e1279218a6cdb30c990785f7e5594a0
diff --git a/net-wireless/ubertooth/ubertooth-2020.12.1.ebuild b/net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild
index c3cfc4790455..580e009cffa1 100644
--- a/net-wireless/ubertooth/ubertooth-2020.12.1.ebuild
+++ b/net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
inherit cmake udev
@@ -14,7 +14,7 @@ IUSE="+bluez static-libs +ubertooth1-firmware +udev"
DEPEND="bluez? ( net-wireless/bluez:= )
>=net-libs/libbtbb-${PV}:=[static-libs?]
static-libs? ( dev-libs/libusb[static-libs] )
- virtual/libusb:1="
+ virtual/libusb:1"
RDEPEND="${DEPEND}
udev? ( virtual/udev )"
@@ -67,3 +67,11 @@ src_install() {
elog "Everyone can read from the ubertooth, but to talk to it"
elog "your user needs to be in the usb group."
}
+
+pkg_postinst() {
+ use udev && udev_reload
+}
+
+pkg_postrm() {
+ use udev && udev_reload
+}
diff --git a/net-wireless/ubertooth/ubertooth-9999.ebuild b/net-wireless/ubertooth/ubertooth-9999.ebuild
index 4a9603a7e8d4..580e009cffa1 100644
--- a/net-wireless/ubertooth/ubertooth-9999.ebuild
+++ b/net-wireless/ubertooth/ubertooth-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI=8
inherit cmake udev
@@ -14,7 +14,7 @@ IUSE="+bluez static-libs +ubertooth1-firmware +udev"
DEPEND="bluez? ( net-wireless/bluez:= )
>=net-libs/libbtbb-${PV}:=[static-libs?]
static-libs? ( dev-libs/libusb[static-libs] )
- virtual/libusb:1="
+ virtual/libusb:1"
RDEPEND="${DEPEND}
udev? ( virtual/udev )"
@@ -67,3 +67,11 @@ src_install() {
elog "Everyone can read from the ubertooth, but to talk to it"
elog "your user needs to be in the usb group."
}
+
+pkg_postinst() {
+ use udev && udev_reload
+}
+
+pkg_postrm() {
+ use udev && udev_reload
+}