From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E014158010 for ; Wed, 22 Feb 2023 16:35:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37A3BE079E; Wed, 22 Feb 2023 16:35:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1EE79E079E for ; Wed, 22 Feb 2023 16:35:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EE70335D6A for ; Wed, 22 Feb 2023 16:35:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 783138BA for ; Wed, 22 Feb 2023 16:35:50 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1677083738.94d0e8a53d05b6ab5f88fe63ac7e969b386f660f.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/ubertooth/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild net-wireless/ubertooth/ubertooth-2020.12.1.ebuild net-wireless/ubertooth/ubertooth-9999.ebuild X-VCS-Directories: net-wireless/ubertooth/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 94d0e8a53d05b6ab5f88fe63ac7e969b386f660f X-VCS-Branch: master Date: Wed, 22 Feb 2023 16:35:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7a321617-4496-4ae0-a4c8-6b9ed81a99c8 X-Archives-Hash: c2a3fb842ac2caea625c453f939641f7 commit: 94d0e8a53d05b6ab5f88fe63ac7e969b386f660f Author: Rick Farina gentoo org> AuthorDate: Wed Feb 22 16:33:58 2023 +0000 Commit: Rick Farina gentoo org> CommitDate: Wed Feb 22 16:35:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d0e8a5 net-wireless/ubertooth: minor qa adjust deps add udev_reload Closes: https://bugs.gentoo.org/849650 Signed-off-by: Rick Farina gentoo.org> ...ooth-2020.12.1.ebuild => ubertooth-2020.12.1-r1.ebuild} | 14 +++++++++++--- net-wireless/ubertooth/ubertooth-9999.ebuild | 14 +++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/net-wireless/ubertooth/ubertooth-2020.12.1.ebuild b/net-wireless/ubertooth/ubertooth-2020.12.1-r1.ebuild similarity index 93% rename from net-wireless/ubertooth/ubertooth-2020.12.1.ebuild rename to 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 +}