summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2020-01-03 01:17:53 +0100
committerSebastian Pipping <sping@gentoo.org>2020-01-03 01:22:34 +0100
commit418a356ac55fb3ac19acd269ec593ce436a0f456 (patch)
tree3d9453242ca2743f6dbc63affde13d7328666b08 /sys-apps/usbguard/files
parentdev-vcs/cvs-fast-export: drop old (diff)
downloadgentoo-418a356ac55fb3ac19acd269ec593ce436a0f456.tar.gz
gentoo-418a356ac55fb3ac19acd269ec593ce436a0f456.tar.bz2
gentoo-418a356ac55fb3ac19acd269ec593ce436a0f456.zip
sys-apps/usbguard: 0.7.6 (new package)
Revision 1 is used because 0.7.6(-r0) exists in Pentoo. Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to 'sys-apps/usbguard/files')
-rwxr-xr-xsys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc12
-rwxr-xr-xsys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc12
2 files changed, 24 insertions, 0 deletions
diff --git a/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc
new file mode 100755
index 000000000000..2c923123c186
--- /dev/null
+++ b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard-dbus.openrc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/usbguard-dbus"
+command_args="--system"
+command_background="true"
+pidfile="/run/usbguard-dbus.pid"
+
+depend() {
+ need dbus usbguard
+}
diff --git a/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc
new file mode 100755
index 000000000000..3ea514cce169
--- /dev/null
+++ b/sys-apps/usbguard/files/usbguard-0.7.6-usbguard.openrc
@@ -0,0 +1,12 @@
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="/usr/sbin/usbguard-daemon"
+command_args="-k -c /etc/usbguard/usbguard-daemon.conf"
+command_background="true"
+pidfile="/run/usbguard.pid"
+
+depend() {
+ need udev localmount
+}