SHA256
1
0
forked from pool/usbguard
Commit Graph

56 Commits

Author SHA256 Message Date
Ana Guerrero
2530696d0b Accepting request 1148260 from hardware
Prepare for RPM 4.20 (forwarded request 1148255 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1148260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=21
2024-02-21 16:57:02 +00:00
5aca8e45f3 Accepting request 1148255 from home:dimstar:rpm4.20:u
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1148255
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=52
2024-02-20 16:01:00 +00:00
Dominique Leuenberger
b7ee168309 Accepting request 1083228 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1083228
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=20
2023-05-02 14:18:41 +00:00
Robert Frohl
c1f7454901 add reference to changes
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=50
2023-04-20 08:39:24 +00:00
Dominique Leuenberger
105765752d Accepting request 1074919 from hardware
OBS-URL: https://build.opensuse.org/request/show/1074919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=19
2023-03-28 15:51:11 +00:00
Robert Frohl
0b0f97bb14 Accepting request 1074918 from home:rfrohl:branches:hardware
fix build failure with gcc13

OBS-URL: https://build.opensuse.org/request/show/1074918
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=48
2023-03-28 08:44:07 +00:00
Dominique Leuenberger
311d8e09b5 Accepting request 1001233 from hardware
OBS-URL: https://build.opensuse.org/request/show/1001233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=18
2022-09-05 19:22:05 +00:00
Robert Frohl
688674e16b Accepting request 1001230 from home:rfrohl:branches:hardware
update usbguard to 1.1.2

OBS-URL: https://build.opensuse.org/request/show/1001230
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=46
2022-09-05 09:33:05 +00:00
Dominique Leuenberger
c549606c8d Accepting request 967513 from hardware
OBS-URL: https://build.opensuse.org/request/show/967513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=17
2022-04-07 22:28:20 +00:00
8bb169538d Accepting request 967012 from home:dimstar:Factory
- When running autoreconf, do it complete so that it does not trip
  over different versions of libtool being used.

OBS-URL: https://build.opensuse.org/request/show/967012
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=44
2022-04-07 14:07:37 +00:00
Dominique Leuenberger
469da3a29a Accepting request 964868 from hardware
needs the following changes: 964852

OBS-URL: https://build.opensuse.org/request/show/964868
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=16
2022-03-29 16:14:19 +00:00
Robert Frohl
73e354530b add aduit bug to changes
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=42
2022-03-24 15:12:04 +00:00
Robert Frohl
b803948d8d Accepting request 962187 from home:rfrohl:branches:hardware
usbguard 1.1.1

OBS-URL: https://build.opensuse.org/request/show/962187
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=41
2022-03-16 13:22:17 +00:00
Robert Frohl
68467d6ec2 Accepting request 958318 from home:rfrohl:branches:hardware
usbguard: enable dbus

OBS-URL: https://build.opensuse.org/request/show/958318
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=40
2022-03-01 17:05:12 +00:00
Dominique Leuenberger
5f7a5b93e4 Accepting request 957613 from hardware
OBS-URL: https://build.opensuse.org/request/show/957613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=15
2022-02-25 20:25:16 +00:00
Robert Frohl
0913b59d2d Accepting request 957609 from home:rfrohl:branches:hardware
usbguard: use gcc10 instead, manual PIE

OBS-URL: https://build.opensuse.org/request/show/957609
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=39
2022-02-25 14:28:17 +00:00
Robert Frohl
437c1f575c Accepting request 957563 from home:rfrohl:branches:hardware
usbguard: fix build with older gcc versions

OBS-URL: https://build.opensuse.org/request/show/957563
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=38
2022-02-25 11:04:58 +00:00
Dominique Leuenberger
071585ef19 Accepting request 957400 from hardware
OBS-URL: https://build.opensuse.org/request/show/957400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=14
2022-02-24 17:21:20 +00:00
Robert Frohl
cb107280be Accepting request 957398 from home:rfrohl:branches:hardware
update usbguard to 1.1.0

OBS-URL: https://build.opensuse.org/request/show/957398
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=37
2022-02-24 15:34:34 +00:00
Dominique Leuenberger
8ba6704182 Accepting request 910442 from hardware
OBS-URL: https://build.opensuse.org/request/show/910442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=13
2021-08-06 20:44:51 +00:00
Robert Frohl
f7a0bd3e33 Accepting request 910356 from home:rfrohl:branches:hardware
usbguard: move pid file from /var/run to /run

OBS-URL: https://build.opensuse.org/request/show/910356
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=36
2021-08-06 07:55:28 +00:00
Dominique Leuenberger
930b2cf735 Accepting request 865062 from hardware
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/865062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=12
2021-01-21 20:54:35 +00:00
Robert Frohl
2455cd58a7 Accepting request 862951 from home:rfrohl:branches:hardware
update usbguard to 1.0.0

OBS-URL: https://build.opensuse.org/request/show/862951
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=34
2021-01-14 08:07:15 +00:00
Dominique Leuenberger
ba6c4e095d Accepting request 839828 from hardware
OBS-URL: https://build.opensuse.org/request/show/839828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=11
2020-10-07 12:17:51 +00:00
Robert Frohl
689d34a151 Accepting request 839195 from home:pgajdos:remove-aspell
- drop useless build dependency on aspell (aspell is going to be
  removed from tumbleweed)

OBS-URL: https://build.opensuse.org/request/show/839195
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=32
2020-10-06 13:27:43 +00:00
Dominique Leuenberger
b950fd774b Accepting request 819800 from hardware
OBS-URL: https://build.opensuse.org/request/show/819800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=10
2020-07-10 13:30:12 +00:00
Robert Frohl
c7b4289521 Accepting request 819798 from home:rfrohl:branches:hardware
workaround for deamon startup problem in leap 15.2

OBS-URL: https://build.opensuse.org/request/show/819798
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=30
2020-07-09 20:12:19 +00:00
Dominique Leuenberger
8b789d3fca Accepting request 815249 from hardware
OBS-URL: https://build.opensuse.org/request/show/815249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=9
2020-06-17 12:48:59 +00:00
Robert Frohl
5ca1e79f69 Accepting request 815239 from home:rfrohl:branches:hardware
update usbguard to verion 0.7.8

OBS-URL: https://build.opensuse.org/request/show/815239
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=28
2020-06-16 13:07:37 +00:00
Dominique Leuenberger
4f14945654 Accepting request 768992 from hardware
OBS-URL: https://build.opensuse.org/request/show/768992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=8
2020-01-31 22:57:32 +00:00
Tomáš Chvátal
c66df247a5 Accepting request 768870 from home:StefanBruens:branches:devel:libraries:c_c++
- update to 0.7.6
  + Added missing options in manpage usbguard-daemon(8)
  + Extended the functionality of allow/block/reject commands
    The command can handle rule as a param and not only its ID e.g.
    in case of allow, command will allow each device that matches
    provided rule
  + Added debug info for malformed descriptors
  + Changed default backend to uevent
  + Fixed handling of add uevents during scanning
    Now we are sure that the enumeration is completed before
    processing any uevent we are trying to avoid a race where
    the kernel is still enumerating the devices and send the
    uevent while the parent is being authorised
  + Silenced 'bind' and 'unbind' uevents
- Remove PEGTL build dependency, the package already uses the
  bundled version, and there is hardly any reason to unbundle
  a template (header only) library.
- Remove Qt5 build dependencies, Qt applet is a separate package.
- Use pkgconfig(udev) instead of udev-devel to allow shortcut
  via udev-mini.
- update to 0.7.5
  - Added daemon configuration option HidePII
  - Added check to avoid conflict between ASAN and TSAN
  - Added daemon configuration option for authorized_default
  - Added devpath option to generate-policy
  - Added # line comments to the rule grammar
  - Added ImplicitPolicyTarget to get/set parameter methods
  - Added option to filter rules by label when listing
  - Added the label attribute to rule
  - Added PropertyParameterChanged signal
  - Added support for portX/connect_type attribute
  - Added temporary option to append-rule
  - Added versioning to DBus service
  - Added optional LDAP support
  - Fixed invalid return value in Rule::Attribute::setSolveEqualsOrdered
  - Fixed KeyValueParser to validate keys only when known names are set
  - Fixed uninitialized variables found by coverity
  - Fixes and cleanups based on LGTM.com report
  - Hardened systemd service
  - Rename ListRules parameter 'query' to 'label'
  - Skip empty lines in usbguard-rule-parser
  - The proof-of-concept Qt applet was removed. It is going to be maintained
    in a simplified form as a separate project.
    Removed: usbguard-applet-qt_desktop_menu_categories.patch
    Modified: usbguard-pthread.patch
- Updated usbguard.keyring to add new gpg key for upstream: 5A2EC3932A983910
- link against libpthread to make it build (bsc#1141377)
- added usbguard-pthread.patch
- Run spec-cleaner
- Add the missing systemd build requirement.
- use upstream usbguard.service instead of hardcoded version (bsc#1120969) 
- Fix RPM groups. Avoid pointless shelling out to /bin/rm.
- changed zsh completion location
- added rpmlint for zero size rules.conf
- added signature verification of tarball
  - add usbguard-0.7.4.tar.gz.sig
  - add usbguard.keyring
- update to 0.7.4
  - Changed
    Fixed conditional manual page generation & installation
- update to 0.7.3
  - Changed
    usbguard-daemon will now exit with an error if it fails to open a logging file or audit event file.
    Modified the present device enumeration algorithm to be more reliable.  Enumeration timeouts won't cause usbguard-daemon process to exit anymore.
  - Added
    umockdev based device manager capable of simulating devices based on umockdev-record files.
- update to 0.7.2
  - Changed
    Fixed memory leaks in usbguard::Hash class.
    Fixed file descriptor leaks in usbguard::SysFSDevice class.
    Skip audit backend logging when no backend was set.
  - Added
    Added zsh completion & other scripts to the distribution tarball.
- update to 0.7.1
  - Added
    CLI: usbguard watch command now includes an -e <path> option to run an executable for every received event. Event data are passed to the executable via environment variables.
    usbguard-daemon: added "-K" option which can disable logging to console.
    Added zsh autocompletion support.
    usbguard-daemon: added "-f" option which enabled double-fork daemonization procedure.
    Added AuditBackend usbguard-daemon configuration option for selecting audit log backend.
    Linux Audit support via new LinuxAudit backend.
    Added missing RuleCondition.hpp header file to the public API headers.
  - Changed
    Qt Applet: disabled session management
    usbguard-daemon console logging output is enabled by default now.  Previously, the -k option had to be passed to enable the output.
    Replaced --enable-maintainer-mode configure option with --enable-full-test-suite option. When the new option is not used during the configure phase, only a basic set of test is run during the make check phase.
    usbguard-daemon now opens configuration in read-only mode
    Fixed UEventDeviceManager to work with Linux Kernel >= 4.13
    Refactored audit logging to support different audit log backends
    Made the configuration parser strict. Unknown directives and wrong syntax will cause an error.
- Added usbguard-applet-qt package to allow easier user interaction
- Added usbguard-applet-qt_desktop_menu_categories.patch to fix category
- Updated usbguard-daemon.conf to upstream version
- Removed obsolte patch usbguard-fixes.patch
- Added rules.conf, fixing bsc#1071076
- updated to 0.7.0
  - Added
    Added InsertedDevicePolicy configuration option to control the policy method for inserted devices.
    Added RestoreControllerDeviceState configuration option.
    Added DeviceManagerBackend configuration option. This option can be used to select from several device manager backend implementations.
    Implemented an uevent based device manager backend.
    Added setParameter, getParameter IPC (incl. D-Bus) methods.
    Added set-parameter, get-parameter CLI subcommands.
    Qt Applet: Added Spanish (es_AR) translation.
    Create empty rules.conf file at install time (make install).
    Support for numeric UID/GID values in IPCAllowedUsers and IPCAllowedGroups settings.
    If bash completion support is detected at configure time, install the bash completion script during make install.
    Added new configuration setting: IPCAccessControlFiles.
    IPC access is now configurable down to a section and privilege level per user and/or group.
    Added add-user, remove-user usbuard CLI subcommands for creating, removing IPC access control files.
    Added AuditFilePath configuration option for setting the location of the USBGuard audit events log file path. If set, the usbguard-daemon will log policy and device related actions and whether they succeeded or not.
  - Removed
    Removed UDev based device manager backend and UDev related dependencies.
    Removed UDev development files/API dependecy
  - Changed
    Reset Linux root hub bcdDevice value before updating device hash. This is a backwards incompatible change because it changes how the device hash is computed for Linux root hub devices.
    Refactored low-level USB device handling into SysFSDevice class which represents a device in the /sys filesystem (sysfs).
    Removed usage of readdir_r because it's obsolete. Replaced with readdir with the assumption that its usage is thread-safe if the directory handle passed to it is not shared between threads.
    Extended test suite with use case tests.
    Install the usbguard-daemon configuration and policy file with strict file permissions to prevent policy leaks.
    Fixed several memory leaks.
    Don't pre-resolve user and group names in IPCAllowedUsers and IPCAllowedGroups settings. Instead, resolve the name during the IPC authentication phase.
- Updated to 0.6.2
    Wait for disconnect in IPCClient dtor if needed
    Qt Applet: Fixed loading of decision method and default decision settings
- Updated to 0.6.1
  - Changed
    Refactored logging subsystem
    Fixed handling of IPC disconnect in the IPCClient class
    Qt Applet: Fixed handling of main window minimization and maximization
    Fixed building on architectures that don't provide required atomic operations.
    The libatomic emulation library will be used in such cases.
    Fixed several typos in the documentation
  - Added
    Implemented a simple internal logger
    Access to the logger via public API
    Improved logging coverage. Logging output can be enabled either via
    CLI options or by setting the USBGUARD_DEBUG environment variable to 1.
    Qt Applet: UI translation support.
    Qt Applet: Czech (cs_CZ) translation
  - Removed
    Removed spdlog dependency
- ....  ommitted changes from 0.5* series ..
- split off a library package libusbguard0
- a daemon and framework and tools to guard against bad usb
  devices.

OBS-URL: https://build.opensuse.org/request/show/768870
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=26
2020-01-31 09:06:05 +00:00
Robert Frohl
c37d0514e9 Accepting request 745119 from home:rfrohl:branches:hardware
update usbguard to 0.7.5

OBS-URL: https://build.opensuse.org/request/show/745119
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=25
2019-11-04 09:16:37 +00:00
Dominique Leuenberger
cd021de6f7 Accepting request 717525 from hardware
- link against libpthread to make it build (bsc#1141377)
- added usbguard-pthread.patch

OBS-URL: https://build.opensuse.org/request/show/717525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=7
2019-07-22 15:18:55 +00:00
6756f90bb2 - link against libpthread to make it build (bsc#1141377)
- added usbguard-pthread.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=23
2019-07-22 09:50:34 +00:00
05d0976653 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=22 2019-07-22 09:28:08 +00:00
0a9657e08b OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=21 2019-07-22 09:19:15 +00:00
509acb58d4 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=20 2019-07-22 09:13:18 +00:00
7597e5752f OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=19 2019-07-22 09:04:49 +00:00
172e2c3dfc OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=18 2019-07-22 08:57:07 +00:00
eb072bd682 OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=17 2019-07-22 08:36:41 +00:00
468b9d436b OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=16 2019-07-22 08:24:22 +00:00
Dominique Leuenberger
0a4ecc47b2 Accepting request 705009 from hardware
OBS-URL: https://build.opensuse.org/request/show/705009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=6
2019-05-24 09:32:49 +00:00
Robert Frohl
86671b15a1 Accepting request 704757 from home:cgiboudeaux:branches:hardware
- Run spec-cleaner
- Add the missing systemd build requirement.

OBS-URL: https://build.opensuse.org/request/show/704757
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=14
2019-05-23 12:38:02 +00:00
Dominique Leuenberger
e059cea34f Accepting request 666304 from hardware
use upstream usbguard.service instead of hardcoded version (bsc#1120969) (forwarded request 666303 from rfrohl)

OBS-URL: https://build.opensuse.org/request/show/666304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=5
2019-01-21 09:56:31 +00:00
4dcea42899 Accepting request 666303 from home:rfrohl:branches:hardware
use upstream usbguard.service instead of hardcoded version (bsc#1120969)

OBS-URL: https://build.opensuse.org/request/show/666303
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=12
2019-01-15 17:02:02 +00:00
Dominique Leuenberger
c308f072bc Accepting request 647226 from hardware
OBS-URL: https://build.opensuse.org/request/show/647226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=4
2018-11-09 06:54:33 +00:00
Tomáš Chvátal
8560fbf779 Accepting request 647070 from home:jengelh:branches:hardware
- Fix RPM groups. Avoid pointless shelling out to /bin/rm.

OBS-URL: https://build.opensuse.org/request/show/647070
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=10
2018-11-08 07:45:11 +00:00
Dominique Leuenberger
06ec10d1b7 Accepting request 641406 from hardware
OBS-URL: https://build.opensuse.org/request/show/641406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=3
2018-10-12 11:11:53 +00:00
7d16704a91 Accepting request 641402 from home:rfrohl:branches:hardware
Added bug reference

OBS-URL: https://build.opensuse.org/request/show/641402
OBS-URL: https://build.opensuse.org/package/show/hardware/usbguard?expand=0&rev=8
2018-10-12 08:24:41 +00:00
Dominique Leuenberger
f453b82175 Accepting request 640850 from hardware
OBS-URL: https://build.opensuse.org/request/show/640850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/usbguard?expand=0&rev=2
2018-10-11 09:55:50 +00:00