From 706f1ef845956ebf5d108aae6213c3270a29f0c3 Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 4 Mar 2023 18:00:09 +0000 Subject: [PATCH 01/14] Update usbauth to v1.0.5 --- usbauth.spec | 59 +++++++++++++++++----------------------------------- 1 file changed, 19 insertions(+), 40 deletions(-) diff --git a/usbauth.spec b/usbauth.spec index 4db6d38..53ac0dd 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -1,6 +1,7 @@ # # spec file for package usbauth # +# Copyright (c) 2019 SUSE LLC # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Stefan Koch # Copyright (c) 2015 SUSE LLC. All Rights Reserved. @@ -20,29 +21,22 @@ Name: usbauth -Version: 1.0.1 +Version: 1.0.5 Summary: USB firewall against BadUSB attacks -Url: https://github.com/kochstefan/usbauth-all/tree/master/usbauth +URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth +Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 8%{?dist} +Release: 1%{?dist} License: GPLv2 -# Generate a source tarball: -# git clone https://github.com/kochstefan/usbauth-all.git -# cd usbauth-all -# git checkout vVERSION -# tar cvfj usbauth-VERSION.tar.bz2 usbauth -Source0: %{name}-%{version}.tar.bz2 - Requires: systemd Requires: udev -BuildRequires: make +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: libusbauth-configparser-devel BuildRequires: gcc BuildRequires: libtool BuildRequires: libudev-devel -BuildRequires: libusbauth-configparser-devel - -BuildRequires: dbus-devel %description @@ -50,47 +44,32 @@ It is a firewall against BadUSB attacks. A config file describes in which way devices would be accepted. %prep -%setup -q -n %{name} +%autosetup -n usbauth-all-%{version} -p1 %build +pushd %{name}/ autoreconf -f -i %configure %make_build +popd %install +pushd %{name}/ %make_install udevrulesdir=%_udevrulesdir +popd %files -%license COPYING -%doc README +%license %{name}/COPYING +%doc %{name}/README +doc %_mandir/man1/usbauth.1.* %_sbindir/usbauth %config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf %config(noreplace) %_sysconfdir/usbauth.conf %_udevrulesdir/20-usbauth.rules -%_mandir/man1/usbauth.1.* %changelog -* Sat Jan 21 2023 Fedora Release Engineering - 1.0.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 1.0.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 1.0.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 1.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 1.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 1.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 1.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - +* Sat Mar 04 2023 stefan.koch10@gmail.com - 1.0.5-1 +- update to v1.0.5 * Tue Jan 22 2019 stefan.koch10@gmail.com - 1.0.1-1 -- initial package for usbauth USB firewall against BadUSB attacks +- initial package for usbauth USB firewall against BadUSB attacks \ No newline at end of file From b7eaa0cc5074b914f57179b657d1c13ad52d5009 Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 11 Mar 2023 21:37:53 +0000 Subject: [PATCH 02/14] Update sources file --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 9e2728e..41c349e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (usbauth-1.0.1.tar.bz2) = e43cf5e6723ee52da0032f1485e579acd81c96b9670437e03bd8b986b67cd235291b3134b6255be870def24be133fed8b34f98096544067de4d2dc0d844e22ed +SHA512 (v1.0.5.tar.gz) = c660ecaaddb29decff06811c71b68a0fe9ecde5ff279fd89c0bcf782f218bd9b1b38e316ca33da89784a05ca151ee68e23f558fd83452fcf86e80a0e69215b6e From 05260fe58b0c4b1c044c85981135f3c84f3eff35 Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 11 Mar 2023 21:49:26 +0000 Subject: [PATCH 03/14] Fix manpage install --- usbauth.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index 53ac0dd..bd8217e 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -61,7 +61,7 @@ popd %files %license %{name}/COPYING %doc %{name}/README -doc %_mandir/man1/usbauth.1.* +%doc %_mandir/man1/usbauth.1.* %_sbindir/usbauth %config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf %config(noreplace) %_sysconfdir/usbauth.conf From 47c725f73b332b14121507bd9ea2ad54589a9486 Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 11 Mar 2023 22:01:07 +0000 Subject: [PATCH 04/14] fix manpage filename --- usbauth.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index bd8217e..ab89562 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -61,7 +61,7 @@ popd %files %license %{name}/COPYING %doc %{name}/README -%doc %_mandir/man1/usbauth.1.* +%doc %_mandir/man1/usbauth.8.* %_sbindir/usbauth %config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf %config(noreplace) %_sysconfdir/usbauth.conf From 2ad51a10689e662443534af5e3675e198a7919ac Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 11 Mar 2023 22:13:34 +0000 Subject: [PATCH 05/14] Fix manpage dir --- usbauth.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index ab89562..eec8e26 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -61,7 +61,7 @@ popd %files %license %{name}/COPYING %doc %{name}/README -%doc %_mandir/man1/usbauth.8.* +%doc %_mandir/man8/usbauth.8.* %_sbindir/usbauth %config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf %config(noreplace) %_sysconfdir/usbauth.conf From e8efb1b690906f6cf5be5f68c3f8d9cdd571595e Mon Sep 17 00:00:00 2001 From: Stefan Koch Date: Sat, 11 Mar 2023 22:36:44 +0000 Subject: [PATCH 06/14] improve manpage install --- usbauth.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usbauth.spec b/usbauth.spec index eec8e26..d16e551 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Requires: systemd @@ -61,7 +61,7 @@ popd %files %license %{name}/COPYING %doc %{name}/README -%doc %_mandir/man8/usbauth.8.* +%doc %_mandir/*/* %_sbindir/usbauth %config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf %config(noreplace) %_sysconfdir/usbauth.conf @@ -69,7 +69,11 @@ popd %changelog +* Sat Mar 11 2023 stefan.koch10@gmail.com - 1.0.5-2 +- improve manpage install + * Sat Mar 04 2023 stefan.koch10@gmail.com - 1.0.5-1 - update to v1.0.5 + * Tue Jan 22 2019 stefan.koch10@gmail.com - 1.0.1-1 - initial package for usbauth USB firewall against BadUSB attacks \ No newline at end of file From 38f72188d3d7ed31944599712b2723284e59230a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:15:26 +0000 Subject: [PATCH 07/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index d16e551..7368196 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Requires: systemd @@ -69,6 +69,9 @@ popd %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Mar 11 2023 stefan.koch10@gmail.com - 1.0.5-2 - improve manpage install From b7df2fe118a9438785082ee2ad146d8bb528d9d5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:16:22 +0000 Subject: [PATCH 08/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index 7368196..8f7e9e7 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Requires: systemd @@ -69,6 +69,9 @@ popd %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 1.0.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From b12b23d562b1b8c415ccde7623f6c6c3a82555d0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:24:26 +0000 Subject: [PATCH 09/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index 8f7e9e7..6de0e53 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Requires: systemd @@ -69,6 +69,9 @@ popd %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 1.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From ee2cfdbaaf37a3da00fe3796e62e25e429822a81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 29 Jul 2024 12:26:07 +0200 Subject: [PATCH 10/14] convert GPLv2 license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- usbauth.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/usbauth.spec b/usbauth.spec index 6de0e53..25c4890 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,8 +26,9 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 5%{?dist} -License: GPLv2 +Release: 6%{?dist} +# Automatically converted from old format: GPLv2 - review is highly recommended. +License: GPL-2.0-only Requires: systemd Requires: udev @@ -69,6 +70,9 @@ popd %changelog +* Mon Jul 29 2024 Miroslav Suchý - 1.0.5-6 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 1.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a7f6a21935d419388a4fb54b77cfba72a6cdf7a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:55:29 +0000 Subject: [PATCH 11/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index 25c4890..d589054 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 6%{?dist} +Release: 7%{?dist} # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only @@ -70,6 +70,9 @@ popd %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.5-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Jul 29 2024 Miroslav Suchý - 1.0.5-6 - convert license to SPDX From 4b82ff211632aa7af60a4ff9d4ef0d4e4bd6c38b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:52:07 +0000 Subject: [PATCH 12/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index d589054..ccc1cb5 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 7%{?dist} +Release: 8%{?dist} # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only @@ -70,6 +70,9 @@ popd %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.0.5-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 1.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 8ccc9e5f53c10c59f6a7312877dd8bed1b8d56ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:41:16 +0000 Subject: [PATCH 13/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index ccc1cb5..864b512 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 8%{?dist} +Release: 9%{?dist} # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only @@ -70,6 +70,9 @@ popd %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.5-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 1.0.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From b6aa0cc70b0e8fb70613db3d7e2e80c6fc2332e9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:15:52 +0000 Subject: [PATCH 14/14] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- usbauth.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usbauth.spec b/usbauth.spec index 864b512..1c2e94f 100644 --- a/usbauth.spec +++ b/usbauth.spec @@ -26,7 +26,7 @@ Summary: USB firewall against BadUSB attacks URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz -Release: 9%{?dist} +Release: 10%{?dist} # Automatically converted from old format: GPLv2 - review is highly recommended. License: GPL-2.0-only @@ -70,6 +70,9 @@ popd %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.0.5-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 1.0.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild