Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory
@ 2021-07-10  2:07 amak79
  2021-07-10  2:36 ` [PR PATCH] [Updated] " amak79
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: amak79 @ 2021-07-10  2:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]

There is a new pull request by amak79 against master on the void-packages repository

https://github.com/amak79/void-packages usbguard
https://github.com/void-linux/void-packages/pull/31879

usbguard: prevent removal of IPCAccessControl.d directory
Fixes https://github.com/void-linux/void-packages/issues/31768. The `/etc/usbguard/IPCAccessControl.d` directory is needed by `usbguard-daemon` and will fail to start without it.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31879.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-usbguard-31879.patch --]
[-- Type: text/x-diff, Size: 1248 bytes --]

From f43bdb13e3466761a4b1311b25b3e1b9e87cc3b8 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Wed, 7 Jul 2021 20:20:35 +1000
Subject: [PATCH] usbguard: prevent removal of IPCAccessControl.d directory

Fixes 31768. The /etc/usbguard/IPCAccessControl.d directory is
needed by usbguard-daemon and will fail to start without it.
---
 srcpkgs/usbguard/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/usbguard/template b/srcpkgs/usbguard/template
index c2c6829a13ad..d33c0c367484 100644
--- a/srcpkgs/usbguard/template
+++ b/srcpkgs/usbguard/template
@@ -1,11 +1,13 @@
 # Template file for 'usbguard'
 pkgname=usbguard
 version=1.0.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--with-crypto-library=sodium --with-bundled-catch --with-bundled-pegtl"
 conf_files="/etc/usbguard/*"
-make_dirs="/var/log/usbguard 0755 root root"
+make_dirs="
+	/var/log/usbguard 0755 root root
+	/etc/usbguard/IPCAccessControl.d 0755 root root"
 hostmakedepends="automake libtool pkg-config asciidoc glib-devel protobuf"
 makedepends="libqb-devel libsodium-devel protobuf-devel polkit-devel libcap-ng-devel libseccomp-devel"
 short_desc="Tool for whitelisting and blacklisting USB devices"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] usbguard: prevent removal of IPCAccessControl.d directory
  2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
@ 2021-07-10  2:36 ` amak79
  2021-07-17  3:39 ` ericonr
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: amak79 @ 2021-07-10  2:36 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

There is an updated pull request by amak79 against master on the void-packages repository

https://github.com/amak79/void-packages usbguard
https://github.com/void-linux/void-packages/pull/31879

usbguard: prevent removal of IPCAccessControl.d directory
Fixes https://github.com/void-linux/void-packages/issues/31768. The `/etc/usbguard/IPCAccessControl.d` directory is needed by `usbguard-daemon` and will fail to start without it.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31879.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-usbguard-31879.patch --]
[-- Type: text/x-diff, Size: 1248 bytes --]

From f61d1b1d78e7cb3ab51c0acfb9d5ebec61215c72 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Wed, 7 Jul 2021 20:20:35 +1000
Subject: [PATCH] usbguard: prevent removal of IPCAccessControl.d directory

Fixes 31768. The /etc/usbguard/IPCAccessControl.d directory is
needed by usbguard-daemon and will fail to start without it.
---
 srcpkgs/usbguard/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/usbguard/template b/srcpkgs/usbguard/template
index c2c6829a13ad..06fc3bf92e95 100644
--- a/srcpkgs/usbguard/template
+++ b/srcpkgs/usbguard/template
@@ -1,11 +1,13 @@
 # Template file for 'usbguard'
 pkgname=usbguard
 version=1.0.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--with-crypto-library=sodium --with-bundled-catch --with-bundled-pegtl"
 conf_files="/etc/usbguard/*"
-make_dirs="/var/log/usbguard 0755 root root"
+make_dirs="
+ /var/log/usbguard 0755 root root
+ /etc/usbguard/IPCAccessControl.d 0755 root root"
 hostmakedepends="automake libtool pkg-config asciidoc glib-devel protobuf"
 makedepends="libqb-devel libsodium-devel protobuf-devel polkit-devel libcap-ng-devel libseccomp-devel"
 short_desc="Tool for whitelisting and blacklisting USB devices"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] usbguard: prevent removal of IPCAccessControl.d directory
  2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
  2021-07-10  2:36 ` [PR PATCH] [Updated] " amak79
@ 2021-07-17  3:39 ` ericonr
  2021-07-17  3:43 ` ericonr
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-07-17  3:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/amak79/void-packages usbguard
https://github.com/void-linux/void-packages/pull/31879

usbguard: prevent removal of IPCAccessControl.d directory
Fixes https://github.com/void-linux/void-packages/issues/31768. The `/etc/usbguard/IPCAccessControl.d` directory is needed by `usbguard-daemon` and will fail to start without it.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31879.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-usbguard-31879.patch --]
[-- Type: text/x-diff, Size: 1341 bytes --]

From bee8a863e58a3bfe948477941ef644279b23c3e1 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Wed, 7 Jul 2021 20:20:35 +1000
Subject: [PATCH] usbguard: add IPCAccessControl.d directory to make_dirs

The /etc/usbguard/IPCAccessControl.d directory is needed by
usbguard-daemon and it will fail to start without it. The build system
creates it, but it's empty, so it's cleaned up during package creation.

Fixes: #31768.
---
 srcpkgs/usbguard/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/usbguard/template b/srcpkgs/usbguard/template
index c2c6829a13ad..06fc3bf92e95 100644
--- a/srcpkgs/usbguard/template
+++ b/srcpkgs/usbguard/template
@@ -1,11 +1,13 @@
 # Template file for 'usbguard'
 pkgname=usbguard
 version=1.0.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--with-crypto-library=sodium --with-bundled-catch --with-bundled-pegtl"
 conf_files="/etc/usbguard/*"
-make_dirs="/var/log/usbguard 0755 root root"
+make_dirs="
+ /var/log/usbguard 0755 root root
+ /etc/usbguard/IPCAccessControl.d 0755 root root"
 hostmakedepends="automake libtool pkg-config asciidoc glib-devel protobuf"
 makedepends="libqb-devel libsodium-devel protobuf-devel polkit-devel libcap-ng-devel libseccomp-devel"
 short_desc="Tool for whitelisting and blacklisting USB devices"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] usbguard: prevent removal of IPCAccessControl.d directory
  2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
  2021-07-10  2:36 ` [PR PATCH] [Updated] " amak79
  2021-07-17  3:39 ` ericonr
@ 2021-07-17  3:43 ` ericonr
  2021-07-17  3:46 ` [PR PATCH] [Merged]: " ericonr
  2021-07-17  3:46 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-07-17  3:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1806 bytes --]

There is an updated pull request by ericonr against master on the void-packages repository

https://github.com/amak79/void-packages usbguard
https://github.com/void-linux/void-packages/pull/31879

usbguard: prevent removal of IPCAccessControl.d directory
Fixes https://github.com/void-linux/void-packages/issues/31768. The `/etc/usbguard/IPCAccessControl.d` directory is needed by `usbguard-daemon` and will fail to start without it.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31879.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-usbguard-31879.patch --]
[-- Type: text/x-diff, Size: 1341 bytes --]

From 2fbd5d50f8e5dd1cf357cea834a8f081ca446f26 Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Wed, 7 Jul 2021 20:20:35 +1000
Subject: [PATCH] usbguard: add IPCAccessControl.d directory to make_dirs

The /etc/usbguard/IPCAccessControl.d directory is needed by
usbguard-daemon and it will fail to start without it. The build system
creates it, but it's empty, so it's cleaned up during package creation.

Fixes: #31768.
---
 srcpkgs/usbguard/template | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/usbguard/template b/srcpkgs/usbguard/template
index c2c6829a13ad..06fc3bf92e95 100644
--- a/srcpkgs/usbguard/template
+++ b/srcpkgs/usbguard/template
@@ -1,11 +1,13 @@
 # Template file for 'usbguard'
 pkgname=usbguard
 version=1.0.0
-revision=3
+revision=4
 build_style=gnu-configure
 configure_args="--with-crypto-library=sodium --with-bundled-catch --with-bundled-pegtl"
 conf_files="/etc/usbguard/*"
-make_dirs="/var/log/usbguard 0755 root root"
+make_dirs="
+ /var/log/usbguard 0755 root root
+ /etc/usbguard/IPCAccessControl.d 0755 root root"
 hostmakedepends="automake libtool pkg-config asciidoc glib-devel protobuf"
 makedepends="libqb-devel libsodium-devel protobuf-devel polkit-devel libcap-ng-devel libseccomp-devel"
 short_desc="Tool for whitelisting and blacklisting USB devices"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Merged]: usbguard: prevent removal of IPCAccessControl.d directory
  2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
                   ` (2 preceding siblings ...)
  2021-07-17  3:43 ` ericonr
@ 2021-07-17  3:46 ` ericonr
  2021-07-17  3:46 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-07-17  3:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1650 bytes --]

There's a merged pull request on the void-packages repository

usbguard: prevent removal of IPCAccessControl.d directory
https://github.com/void-linux/void-packages/pull/31879

Description:
Fixes https://github.com/void-linux/void-packages/issues/31768. The `/etc/usbguard/IPCAccessControl.d` directory is needed by `usbguard-daemon` and will fail to start without it.

<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: usbguard: prevent removal of IPCAccessControl.d directory
  2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
                   ` (3 preceding siblings ...)
  2021-07-17  3:46 ` [PR PATCH] [Merged]: " ericonr
@ 2021-07-17  3:46 ` ericonr
  4 siblings, 0 replies; 6+ messages in thread
From: ericonr @ 2021-07-17  3:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 164 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31879#issuecomment-881811430

Comment:
Fixed commit message :)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-17  3:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-10  2:07 [PR PATCH] usbguard: prevent removal of IPCAccessControl.d directory amak79
2021-07-10  2:36 ` [PR PATCH] [Updated] " amak79
2021-07-17  3:39 ` ericonr
2021-07-17  3:43 ` ericonr
2021-07-17  3:46 ` [PR PATCH] [Merged]: " ericonr
2021-07-17  3:46 ` ericonr

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).