Skip to content

Commit

Permalink
usbguard: Add at v1.1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Jan 18, 2025
1 parent 3772c53 commit 86fa6ee
Show file tree
Hide file tree
Showing 4 changed files with 246 additions and 0 deletions.
Binary file added u/usbguard/manifest.x86_64.bin
Binary file not shown.
194 changes: 194 additions & 0 deletions u/usbguard/manifest.x86_64.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
/** Human readable report. This is not consumed by boulder */
{
"manifest-version": "0.2",
"packages": {
"usbguard": {
"build-depends": [
"binary(xsltproc)",
"pkgconfig(bash-completion)",
"pkgconfig(dbus-1)",
"pkgconfig(gio-2.0)",
"pkgconfig(libcap-ng)",
"pkgconfig(libqb)",
"pkgconfig(libseccomp)",
"pkgconfig(libssl)",
"pkgconfig(libsystemd)",
"pkgconfig(polkit-gobject-1)",
"pkgconfig(protobuf)"
],
"depends": [
"interpreter(/usr/lib/ld-linux-x86-64.so.2(x86_64))",
"soname(libabsl_bad_optional_access.so.2407.0.0(x86_64))",
"soname(libabsl_bad_variant_access.so.2407.0.0(x86_64))",
"soname(libabsl_base.so.2407.0.0(x86_64))",
"soname(libabsl_city.so.2407.0.0(x86_64))",
"soname(libabsl_civil_time.so.2407.0.0(x86_64))",
"soname(libabsl_cord.so.2407.0.0(x86_64))",
"soname(libabsl_cord_internal.so.2407.0.0(x86_64))",
"soname(libabsl_cordz_functions.so.2407.0.0(x86_64))",
"soname(libabsl_cordz_handle.so.2407.0.0(x86_64))",
"soname(libabsl_cordz_info.so.2407.0.0(x86_64))",
"soname(libabsl_crc32c.so.2407.0.0(x86_64))",
"soname(libabsl_crc_cord_state.so.2407.0.0(x86_64))",
"soname(libabsl_crc_cpu_detect.so.2407.0.0(x86_64))",
"soname(libabsl_crc_internal.so.2407.0.0(x86_64))",
"soname(libabsl_debugging_internal.so.2407.0.0(x86_64))",
"soname(libabsl_decode_rust_punycode.so.2407.0.0(x86_64))",
"soname(libabsl_demangle_internal.so.2407.0.0(x86_64))",
"soname(libabsl_demangle_rust.so.2407.0.0(x86_64))",
"soname(libabsl_die_if_null.so.2407.0.0(x86_64))",
"soname(libabsl_examine_stack.so.2407.0.0(x86_64))",
"soname(libabsl_exponential_biased.so.2407.0.0(x86_64))",
"soname(libabsl_flags_commandlineflag.so.2407.0.0(x86_64))",
"soname(libabsl_flags_commandlineflag_internal.so.2407.0.0(x86_64))",
"soname(libabsl_flags_config.so.2407.0.0(x86_64))",
"soname(libabsl_flags_internal.so.2407.0.0(x86_64))",
"soname(libabsl_flags_marshalling.so.2407.0.0(x86_64))",
"soname(libabsl_flags_private_handle_accessor.so.2407.0.0(x86_64))",
"soname(libabsl_flags_program_name.so.2407.0.0(x86_64))",
"soname(libabsl_flags_reflection.so.2407.0.0(x86_64))",
"soname(libabsl_graphcycles_internal.so.2407.0.0(x86_64))",
"soname(libabsl_hash.so.2407.0.0(x86_64))",
"soname(libabsl_hashtablez_sampler.so.2407.0.0(x86_64))",
"soname(libabsl_int128.so.2407.0.0(x86_64))",
"soname(libabsl_kernel_timeout_internal.so.2407.0.0(x86_64))",
"soname(libabsl_leak_check.so.2407.0.0(x86_64))",
"soname(libabsl_log_entry.so.2407.0.0(x86_64))",
"soname(libabsl_log_globals.so.2407.0.0(x86_64))",
"soname(libabsl_log_initialize.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_check_op.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_conditions.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_fnmatch.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_format.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_globals.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_log_sink_set.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_message.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_nullguard.so.2407.0.0(x86_64))",
"soname(libabsl_log_internal_proto.so.2407.0.0(x86_64))",
"soname(libabsl_log_severity.so.2407.0.0(x86_64))",
"soname(libabsl_log_sink.so.2407.0.0(x86_64))",
"soname(libabsl_low_level_hash.so.2407.0.0(x86_64))",
"soname(libabsl_malloc_internal.so.2407.0.0(x86_64))",
"soname(libabsl_random_distributions.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_platform.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_pool_urbg.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_randen.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_randen_hwaes.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_randen_hwaes_impl.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_randen_slow.so.2407.0.0(x86_64))",
"soname(libabsl_random_internal_seed_material.so.2407.0.0(x86_64))",
"soname(libabsl_random_seed_gen_exception.so.2407.0.0(x86_64))",
"soname(libabsl_random_seed_sequences.so.2407.0.0(x86_64))",
"soname(libabsl_raw_hash_set.so.2407.0.0(x86_64))",
"soname(libabsl_raw_logging_internal.so.2407.0.0(x86_64))",
"soname(libabsl_spinlock_wait.so.2407.0.0(x86_64))",
"soname(libabsl_stacktrace.so.2407.0.0(x86_64))",
"soname(libabsl_status.so.2407.0.0(x86_64))",
"soname(libabsl_statusor.so.2407.0.0(x86_64))",
"soname(libabsl_str_format_internal.so.2407.0.0(x86_64))",
"soname(libabsl_strerror.so.2407.0.0(x86_64))",
"soname(libabsl_string_view.so.2407.0.0(x86_64))",
"soname(libabsl_strings.so.2407.0.0(x86_64))",
"soname(libabsl_strings_internal.so.2407.0.0(x86_64))",
"soname(libabsl_symbolize.so.2407.0.0(x86_64))",
"soname(libabsl_synchronization.so.2407.0.0(x86_64))",
"soname(libabsl_throw_delegate.so.2407.0.0(x86_64))",
"soname(libabsl_time.so.2407.0.0(x86_64))",
"soname(libabsl_time_zone.so.2407.0.0(x86_64))",
"soname(libabsl_utf8_for_code_point.so.2407.0.0(x86_64))",
"soname(libabsl_vlog_config_internal.so.2407.0.0(x86_64))",
"soname(libc++.so.1(x86_64))",
"soname(libc.so.6(x86_64))",
"soname(libcap-ng.so.0(x86_64))",
"soname(libcrypto.so.3(x86_64))",
"soname(libgio-2.0.so.0(x86_64))",
"soname(libglib-2.0.so.0(x86_64))",
"soname(libgobject-2.0.so.0(x86_64))",
"soname(libm.so.6(x86_64))",
"soname(libpolkit-gobject-1.so.0(x86_64))",
"soname(libprotobuf.so.29.3.0(x86_64))",
"soname(libqb.so.100(x86_64))",
"soname(libseccomp.so.2(x86_64))",
"soname(libunwind.so.1(x86_64))",
"soname(libutf8_range.so(x86_64))",
"soname(libutf8_validity.so(x86_64))"
],
"files": [
"/usr/bin/usbguard",
"/usr/bin/usbguard-rule-parser",
"/usr/lib/libusbguard.so.1",
"/usr/lib/libusbguard.so.1.0.1",
"/usr/lib/systemd/system/usbguard-dbus.service",
"/usr/lib/systemd/system/usbguard.service",
"/usr/lib/tmpfiles.d/usbguard.conf",
"/usr/sbin/usbguard-daemon",
"/usr/sbin/usbguard-dbus",
"/usr/share/bash-completion/completions/usbguard",
"/usr/share/dbus-1/system-services/org.usbguard1.service",
"/usr/share/dbus-1/system.d/org.usbguard1.conf",
"/usr/share/factory/etc/usbguard/IPCAccessControl.d",
"/usr/share/factory/etc/usbguard/rules.conf",
"/usr/share/factory/etc/usbguard/usbguard-daemon.conf",
"/usr/share/polkit-1/actions/org.usbguard1.policy"
],
"name": "usbguard",
"provides": [
"binary(usbguard)",
"binary(usbguard-rule-parser)",
"soname(libusbguard.so.1(x86_64))",
"sysbinary(usbguard-daemon)",
"sysbinary(usbguard-dbus)"
]
},
"usbguard-devel": {
"build-depends": [
"binary(xsltproc)",
"pkgconfig(bash-completion)",
"pkgconfig(dbus-1)",
"pkgconfig(gio-2.0)",
"pkgconfig(libcap-ng)",
"pkgconfig(libqb)",
"pkgconfig(libseccomp)",
"pkgconfig(libssl)",
"pkgconfig(libsystemd)",
"pkgconfig(polkit-gobject-1)",
"pkgconfig(protobuf)"
],
"depends": [
"pkgconfig(libqb)",
"usbguard"
],
"files": [
"/usr/include/usbguard/Audit.hpp",
"/usr/include/usbguard/ConfigFile.hpp",
"/usr/include/usbguard/Device.hpp",
"/usr/include/usbguard/DeviceManager.hpp",
"/usr/include/usbguard/DeviceManagerHooks.hpp",
"/usr/include/usbguard/Exception.hpp",
"/usr/include/usbguard/IPCClient.hpp",
"/usr/include/usbguard/IPCServer.hpp",
"/usr/include/usbguard/Interface.hpp",
"/usr/include/usbguard/KeyValueParser.hpp",
"/usr/include/usbguard/Logger.hpp",
"/usr/include/usbguard/MemoryRuleSet.hpp",
"/usr/include/usbguard/Policy.hpp",
"/usr/include/usbguard/Predicates.hpp",
"/usr/include/usbguard/Rule.hpp",
"/usr/include/usbguard/RuleCondition.hpp",
"/usr/include/usbguard/RuleSet.hpp",
"/usr/include/usbguard/Typedefs.hpp",
"/usr/include/usbguard/USB.hpp",
"/usr/include/usbguard/USBGuard.hpp",
"/usr/lib/libusbguard.so",
"/usr/lib/pkgconfig/libusbguard.pc"
],
"name": "usbguard-devel",
"provides": [
"pkgconfig(libusbguard)"
]
}
},
"source-name": "usbguard",
"source-release": "1",
"source-version": "1.1.3"
}
7 changes: 7 additions & 0 deletions u/usbguard/monitoring.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
releases:
id: 11151
rss: https://github.com/USBGuard/usbguard/releases.atom
security:
cpe:
- vendor: usbguard_project
product: usbguard
45 changes: 45 additions & 0 deletions u/usbguard/stone.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#
# SPDX-FileCopyrightText: © 2020-2025 Serpent OS Developers
#
# SPDX-License-Identifier: MPL-2.0
#
name : usbguard
version : 1.1.3
release : 1
homepage : https://usbguard.github.io/
upstreams :
- https://github.com/USBGuard/usbguard/releases/download/usbguard-1.1.3/usbguard-1.1.3.tar.gz : 707dad2938923202697f636c2b4e0be80f192242039a2af3fc7ac35d03f78551
summary : USBGuard - USB device authorization policy framework
description : |
USBGuard - USB device authorization policy framework
license : GPL-2.0-or-later
builddeps :
- binary(xsltproc)
- pkgconfig(bash-completion)
- pkgconfig(dbus-1)
- pkgconfig(gio-2.0)
- pkgconfig(libcap-ng)
- pkgconfig(libqb)
- pkgconfig(libseccomp)
- pkgconfig(libssl)
- pkgconfig(libsystemd)
- pkgconfig(polkit-gobject-1)
- pkgconfig(protobuf)
setup : |
%configure --disable-static \
--with-crypto-library=openssl \
--with-bundled-catch \
--with-bundled-pegtl \
--enable-systemd
build : |
%make
install : |
%make_install
%install_dir %(installroot)%(datadir)/factory
mv %(installroot)/etc %(installroot)%(datadir)/factory/.
rm -rf %(installroot)/var
# Install mutable rules via factory
%tmpfiles "C /etc/usbguard - - - -"
%tmpfiles "D /etc/usbguard/rules.d 0755 root root -"
%tmpfiles "D /run/log/usbguard 0755 root root -"

0 comments on commit 86fa6ee

Please sign in to comment.