Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b3456ea68 |
3 changed files with 30 additions and 83 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (v1.0.4.tar.gz) = ab8b2891589b1caee120bc773887bca93c77f00dbcc585fbbfdafd3e5ddb61bba003ca6c4df0886fcadb8a0a6614311c147ad211c648e8134dcfedca24bd43dd
|
||||
SHA512 (usbauth-notifier-1.0.2.tar.bz2) = dc43fff53c4849f078f34af26cd11de25879db6f279588fefb881e3ca474263aa8cd7548435a640d337b2861a5e3c7c54dab0b628c24e4d0f4c48a2763d56659
|
||||
|
|
|
|||
BIN
usbauth-notifier-1.0.2.tar.bz2
Normal file
BIN
usbauth-notifier-1.0.2.tar.bz2
Normal file
Binary file not shown.
|
|
@ -1,8 +1,6 @@
|
|||
#
|
||||
# spec file for package usbauth-notifier
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017-2018 Stefan Koch <stefan.koch10@gmail.com>
|
||||
# Copyright (c) 2015 SUSE LLC. All Rights Reserved.
|
||||
|
|
@ -17,122 +15,71 @@
|
|||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: usbauth-notifier
|
||||
Version: 1.0.4
|
||||
Version: 1.0.2
|
||||
Summary: Notifier for USB Firewall to use with desktop environments
|
||||
URL: https://github.com/kochstefan/usbauth-all/tree/master/usbauth-notifier
|
||||
Source: https://github.com/kochstefan/usbauth-all/archive/v%{version}.tar.gz
|
||||
Url: https://github.com/kochstefan/usbauth-all/tree/master/usbauth-notifier
|
||||
|
||||
Release: 10%{?dist}
|
||||
# Automatically converted from old format: GPLv2 - review is highly recommended.
|
||||
License: GPL-2.0-only
|
||||
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-notifier-VERSION.tar.bz2 usbauth-notifier
|
||||
Source0: %{name}-%{version}.tar.bz2
|
||||
|
||||
Requires: usbauth
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: libusbauth-configparser-devel
|
||||
BuildRequires: gcc
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: libnotify-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libusbauth-configparser-devel
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
A notifier for the usbauth firewall against BadUSB attacks. The user could manually allow or deny USB devices.
|
||||
A notifier for the usbauth firewall against BadUSB attacks.
|
||||
The user could manually allow or deny USB devices.
|
||||
|
||||
%prep
|
||||
%autosetup -n usbauth-all-%{version} -p1
|
||||
|
||||
# Create a sysusers.d config file
|
||||
cat >usbauth-notifier.sysusers.conf <<EOF
|
||||
g usbauth -
|
||||
g usbauth-notifier -
|
||||
EOF
|
||||
%setup -q -n %{name}
|
||||
|
||||
%build
|
||||
pushd %{name}/
|
||||
autoreconf -f -i
|
||||
%configure
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%pre
|
||||
getent group usbauth >/dev/null || groupadd -r usbauth
|
||||
getent group usbauth-notifier >/dev/null || groupadd -r usbauth-notifier
|
||||
exit 0
|
||||
|
||||
%install
|
||||
pushd %{name}/
|
||||
%make_install
|
||||
%find_lang %name
|
||||
popd
|
||||
|
||||
install -m0644 -D usbauth-notifier.sysusers.conf %{buildroot}%{_sysusersdir}/usbauth-notifier.conf
|
||||
|
||||
%files -f %{name}/%name.lang
|
||||
%license %{name}/COPYING
|
||||
%doc %{name}/README
|
||||
%doc %_mandir/*/*
|
||||
%files -f %name.lang
|
||||
%license COPYING
|
||||
%doc README
|
||||
%dir %_sysconfdir/xdg/autostart
|
||||
%_sysconfdir/xdg/autostart/usbauth-notifier.desktop
|
||||
%attr(04750,root,usbauth) %_libexecdir/usbauth-npriv
|
||||
%dir %attr(00750,root,usbauth-notifier) %_libexecdir/usbauth-notifier
|
||||
%attr(02755,root,usbauth) %_libexecdir/usbauth-notifier/usbauth-notifier
|
||||
%{_sysusersdir}/usbauth-notifier.conf
|
||||
%_mandir/man1/usbauth-notifier.1*
|
||||
%_mandir/man1/usbauth-npriv.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0.4-7
|
||||
- Add sysusers.d config file to allow rpm to create users/groups automatically
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Jul 29 2024 Miroslav Suchý <msuchy@redhat.com> - 1.0.4-5
|
||||
- convert license to SPDX
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Mar 04 2023 stefan.koch10@gmail.com - 1.0.5-1
|
||||
- update to v1.0.4
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Mon Sep 30 2019 stefan.koch10@gmail.com - 1.0.2-1
|
||||
- move binaries from bindir to libexecdir
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue