From: motorto <motorto@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] hackrf: fix udev rules directory
Date: Mon, 03 Oct 2022 08:00:27 +0200 [thread overview]
Message-ID: <20221003060027.8Gfvd3aMMzVFugxvoFVXPvo7Bw83A32GmPpS3KyX_z0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39633@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 734 bytes --]
There is an updated pull request by motorto against master on the void-packages repository
https://github.com/motorto/void-packages hackrf
https://github.com/void-linux/void-packages/pull/39633
hackrf: fix udev rules directory
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **NO**
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- armv6l
[39083](https://github.com/void-linux/void-packages/issues/39083)
A patch file from https://github.com/void-linux/void-packages/pull/39633.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hackrf-39633.patch --]
[-- Type: text/x-diff, Size: 1195 bytes --]
From 0fb8d9c78ce81cc9dca3bf11de1b176cf42cf2e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Cerqueira?= <acerqueira021@gmail.com>
Date: Sun, 2 Oct 2022 21:18:42 +0100
Subject: [PATCH] hackrf: remove duplicate udev rule;fix udev dir
By default, it installs rules on /etc/udev/rules.d which is forbidden use
/usr/lib/udev/rules.d instead.
Previously the udev rule would be duplicated installed by hackrf and
libhackrf.
---
srcpkgs/hackrf/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/hackrf/template b/srcpkgs/hackrf/template
index 9bd653451bb1..cf2759e92706 100644
--- a/srcpkgs/hackrf/template
+++ b/srcpkgs/hackrf/template
@@ -1,9 +1,10 @@
# Template file for 'hackrf'
pkgname=hackrf
version=2021.03.1
-revision=1
+revision=2
build_wrksrc=host
build_style=cmake
+configure_args="-DUDEV_RULES_PATH=/usr/lib/udev/rules.d/"
hostmakedepends="pkg-config"
makedepends="libusb-devel fftw-devel"
_desc="Low cost software defined radio (SDR) platform"
@@ -28,7 +29,6 @@ libhackrf_package() {
short_desc="${_desc} - library"
pkg_install() {
vmove usr/lib/*.so.*
- vinstall libhackrf/53-hackrf.rules 644 usr/lib/udev/rules.d/
}
}
next prev parent reply other threads:[~2022-10-03 6:00 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-02 20:21 [PR PATCH] " motorto
2022-10-02 20:25 ` [PR PATCH] [Updated] " motorto
2022-10-02 20:36 ` motorto
2022-10-02 21:32 ` Piraty
2022-10-02 21:34 ` Piraty
2022-10-02 21:56 ` paper42
2022-10-03 5:57 ` motorto
2022-10-03 6:00 ` motorto [this message]
2022-10-03 12:33 ` classabbyamp
2022-10-03 15:40 ` Piraty
2022-10-04 9:40 ` motorto
2022-10-04 9:40 ` [PR PATCH] [Updated] " motorto
2022-10-04 9:42 ` motorto
2022-10-04 11:02 ` motorto
2022-10-04 11:08 ` Piraty
2022-10-04 11:14 ` [PR PATCH] [Updated] " motorto
2022-10-04 17:32 ` classabbyamp
2022-10-04 17:33 ` classabbyamp
2022-10-04 19:37 ` [PR PATCH] [Updated] " motorto
2022-10-04 19:41 ` motorto
2022-10-04 19:46 ` motorto
2022-10-04 19:50 ` [PR PATCH] [Updated] " motorto
2022-10-04 20:46 ` classabbyamp
2022-10-04 20:49 ` [PR PATCH] [Updated] " motorto
2022-10-04 20:56 ` motorto
2022-10-04 21:01 ` [PR PATCH] [Merged]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221003060027.8Gfvd3aMMzVFugxvoFVXPvo7Bw83A32GmPpS3KyX_z0@z \
--to=motorto@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).