Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Troy Dawson
202b2f74de remove package.cfg per new epel-playground policy 2020-09-24 18:39:08 +00:00
Stefan Koch
bc78e28fac add sources (usbauth-1.0.1.tar.bz2) 2019-09-30 22:42:42 +02:00
Stefan Koch
def9a1bb23 initial package for usbauth USB firewall against BadUSB attacks 2019-09-30 22:42:42 +02:00
Gwyn Ciesla
8ee1472311 "Adding package.cfg file" 2019-09-30 09:54:29 -05:00
4 changed files with 75 additions and 0 deletions

0
.gitignore vendored Normal file
View file

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (usbauth-1.0.1.tar.bz2) = e43cf5e6723ee52da0032f1485e579acd81c96b9670437e03bd8b986b67cd235291b3134b6255be870def24be133fed8b34f98096544067de4d2dc0d844e22ed

BIN
usbauth-1.0.1.tar.bz2 Normal file

Binary file not shown.

74
usbauth.spec Normal file
View file

@ -0,0 +1,74 @@
#
# spec file for package usbauth
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Stefan Koch <stefan.koch10@gmail.com>
# Copyright (c) 2015 SUSE LLC. All Rights Reserved.
# Author: Stefan Koch <skoch@suse.de>
#
# 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.1
Summary: USB firewall against BadUSB attacks
Url: https://github.com/kochstefan/usbauth-all/tree/master/usbauth
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: gcc
BuildRequires: libtool
BuildRequires: libudev-devel
BuildRequires: libusbauth-configparser-devel
BuildRequires: dbus-devel
%description
It is a firewall against BadUSB attacks.
A config file describes in which way devices would be accepted.
%prep
%setup -q -n %{name}
%build
autoreconf -f -i
%configure
%make_build
%install
%make_install udevrulesdir=%_udevrulesdir
%files
%license COPYING
%doc README
%_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
* Tue Jan 22 2019 stefan.koch10@gmail.com - 1.0.1-1
- initial package for usbauth USB firewall against BadUSB attacks