From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] base-files: add usbmon group, udev rules
Date: Fri, 02 Sep 2022 13:08:13 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39059@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 752 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages usbmon
https://github.com/void-linux/void-packages/pull/39059
base-files: add usbmon group, udev rules
this will be useful for wireshark users, whose official documentation
says to manually set an ACL for /dev/usbmon* to use it with USB devices.
This should make it easier.
Source: https://src.fedoraproject.org/rpms/wireshark/blob/rawhide/f/90-wireshark-usbmon.rules
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/39059.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-usbmon-39059.patch --]
[-- Type: text/x-diff, Size: 1936 bytes --]
From 074ed30bb8f543f68c58826eb2f7c4d6063e4402 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Fri, 2 Sep 2022 07:04:52 -0400
Subject: [PATCH] base-files: add usbmon group, udev rules
this will be useful for wireshark users, whose official documentation
says to manually set an ACL for /dev/usbmon* to use it with USB devices.
This should make it easier.
Source: https://src.fedoraproject.org/rpms/wireshark/blob/rawhide/f/90-wireshark-usbmon.rules
---
srcpkgs/base-files/files/90-usbmon.rules | 1 +
srcpkgs/base-files/files/group | 1 +
srcpkgs/base-files/template | 4 ++--
3 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/base-files/files/90-usbmon.rules
diff --git a/srcpkgs/base-files/files/90-usbmon.rules b/srcpkgs/base-files/files/90-usbmon.rules
new file mode 100644
index 000000000000..10a127c3a840
--- /dev/null
+++ b/srcpkgs/base-files/files/90-usbmon.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="usbmon", GROUP="usbmon", MODE="640"
diff --git a/srcpkgs/base-files/files/group b/srcpkgs/base-files/files/group
index b4e61903105c..dfad1019792b 100644
--- a/srcpkgs/base-files/files/group
+++ b/srcpkgs/base-files/files/group
@@ -23,6 +23,7 @@ network:x:21:
kvm:x:24:
input:x:25:
plugdev:x:26:
+usbmon:x:27:
nogroup:x:99:
users:x:100:
xbuilder:x:101:
diff --git a/srcpkgs/base-files/template b/srcpkgs/base-files/template
index 2249d002f3f9..be6384f942c6 100644
--- a/srcpkgs/base-files/template
+++ b/srcpkgs/base-files/template
@@ -1,7 +1,7 @@
# Template file for 'base-files'
pkgname=base-files
version=0.142
-revision=13
+revision=14
bootstrap=yes
depends="xbps-triggers"
short_desc="Void Linux base system files"
@@ -29,7 +29,7 @@ conf_files="
replaces="base-directories>=0"
# New system groups
-system_groups="kvm:24 plugdev:26"
+system_groups="kvm:24 plugdev:26 usbmon:27"
do_install() {
# Create bin and lib dirs and symlinks.
next reply other threads:[~2022-09-02 11:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-02 11:08 classabbyamp [this message]
2022-09-13 17:54 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39059@inbox.vuxu.org \
--to=classabbyamp@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).