From 74e9230d7a8008f0d80dab7ef96e0a814c501946 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sun, 19 Jun 2022 18:00:03 +0200 Subject: sys-apps/usbguard: Make logs go to /var/log not /var/lib/log As discussed with concord on IRC. Bug: https://bugs.gentoo.org/852296 Signed-off-by: Sebastian Pipping Package-Manager: Portage-3.0.30, Repoman-3.0.3 --- sys-apps/usbguard/usbguard-1.1.1-r3.ebuild | 99 ++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 sys-apps/usbguard/usbguard-1.1.1-r3.ebuild (limited to 'sys-apps/usbguard') diff --git a/sys-apps/usbguard/usbguard-1.1.1-r3.ebuild b/sys-apps/usbguard/usbguard-1.1.1-r3.ebuild new file mode 100644 index 000000000000..889da51341e6 --- /dev/null +++ b/sys-apps/usbguard/usbguard-1.1.1-r3.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools bash-completion-r1 + +DESCRIPTION="Daemon protecting your computer against BadUSB" +HOMEPAGE="https://github.com/USBGuard/usbguard" +SRC_URI="https://github.com/USBGuard/usbguard/releases/download/${P}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0/1" # due to libusbguard.so.<1>.0.0 +KEYWORDS="~amd64 ~x86" +IUSE="dbus ldap policykit selinux static-libs systemd test umockdev" + +# https://github.com/USBGuard/usbguard/issues/449 +# https://bugs.gentoo.org/769692 +REQUIRED_USE+=" test? ( static-libs )" + +CDEPEND=" + dev-libs/pegtl + >=dev-libs/libsodium-0.4.5:= + >=dev-libs/protobuf-2.5.0:= + >=sys-cluster/libqb-0.16.0:= + sys-devel/gcc:*[cxx] + >=sys-libs/libcap-ng-0.7.0 + >=sys-libs/libseccomp-2.0.0 + >=sys-process/audit-2.7.7 + dbus? ( + dev-libs/glib:2 + sys-apps/dbus + sys-auth/polkit[introspection] + ) + ldap? ( net-nds/openldap:= ) + systemd? ( sys-apps/systemd ) + umockdev? ( dev-util/umockdev ) + " +RDEPEND="${CDEPEND} + virtual/udev + selinux? ( sec-policy/selinux-usbguard ) + " +DEPEND="${CDEPEND} + app-text/asciidoc + /etc/usbguard/rules.conf"' + ewarn +} -- cgit v1.2.3-65-gdbad