diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..41c349e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (v1.0.5.tar.gz) = c660ecaaddb29decff06811c71b68a0fe9ecde5ff279fd89c0bcf782f218bd9b1b38e316ca33da89784a05ca151ee68e23f558fd83452fcf86e80a0e69215b6e diff --git a/usbauth.spec b/usbauth.spec new file mode 100644 index 0000000..1c2e94f --- /dev/null +++ b/usbauth.spec @@ -0,0 +1,104 @@ +# +# 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. +# Author: Stefan Koch +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: usbauth +Version: 1.0.5 +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: 10%{?dist} +# Automatically converted from old format: GPLv2 - review is highly recommended. +License: GPL-2.0-only + +Requires: systemd +Requires: udev +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: libusbauth-configparser-devel +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: libudev-devel + + +%description +It is a firewall against BadUSB attacks. +A config file describes in which way devices would be accepted. + +%prep +%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 %{name}/COPYING +%doc %{name}/README +%doc %_mandir/*/* +%_sbindir/usbauth +%config %_sysconfdir/dbus-1/system.d/org.opensuse.usbauth.conf +%config(noreplace) %_sysconfdir/usbauth.conf +%_udevrulesdir/20-usbauth.rules + + +%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 + +* 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 + +* 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 + +* 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 + +* 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