summaryrefslogtreecommitdiff
path: root/u2f-hidraw-policy
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-10-30 14:01:26 +0000
committerB Stack <bgstack15@gmail.com>2019-10-30 14:01:26 +0000
commit8617f170c1327872c477de8a46273361de92a1e4 (patch)
tree28477c7581fb8e60307dcd2ecb1e68566c396b85 /u2f-hidraw-policy
parentMerge branch 'freefilesync-bump' into 'master' (diff)
parentel8: add volumeicon (diff)
downloadstackrpms-8617f170c1327872c477de8a46273361de92a1e4.tar.gz
stackrpms-8617f170c1327872c477de8a46273361de92a1e4.tar.bz2
stackrpms-8617f170c1327872c477de8a46273361de92a1e4.zip
Merge branch 'centos-8' into 'master'
el8: add xfdesktop See merge request bgstack15/stackrpms!96
Diffstat (limited to 'u2f-hidraw-policy')
-rw-r--r--u2f-hidraw-policy/README.md13
-rw-r--r--u2f-hidraw-policy/u2f-hidraw-policy.spec77
2 files changed, 90 insertions, 0 deletions
diff --git a/u2f-hidraw-policy/README.md b/u2f-hidraw-policy/README.md
new file mode 100644
index 0000000..c786cc6
--- /dev/null
+++ b/u2f-hidraw-policy/README.md
@@ -0,0 +1,13 @@
+# u2f-hidraw-policy upstream
+https://src.fedoraproject.org/rpms/u2f-hidraw-policy.git
+
+# Reason for being in stackrpms
+CentOS 8 does not package u2f-hidraw-policy yet and waterfox depends on any version of it.
+
+# Reverse dependency matrix
+Distro | u2f-hidraw-policy version
+---------- | ----------------
+CentOS 8 | 1.0.2
+
+# Differences from upstream
+None
diff --git a/u2f-hidraw-policy/u2f-hidraw-policy.spec b/u2f-hidraw-policy/u2f-hidraw-policy.spec
new file mode 100644
index 0000000..8b936ff
--- /dev/null
+++ b/u2f-hidraw-policy/u2f-hidraw-policy.spec
@@ -0,0 +1,77 @@
+%global _hardened_build 1
+
+Name: u2f-hidraw-policy
+Version: 1.0.2
+Release: 10%{?dist}
+Summary: Udev rule to allow desktop access to HIDRAW U2F tokens
+
+License: LGPLv2+
+URL: https://github.com/amluto/u2f-hidraw-policy/
+Source0: https://github.com/amluto/%{name}/archive/%{version}.tar.gz
+
+BuildRequires: gcc
+
+# We need the udev libraries and the _udevrulesdir macro
+BuildRequires: systemd systemd-devel
+
+# systemd owns /usr/lib/udev/rules.d
+Requires: systemd
+
+%description
+u2f-hidraw-policy is a udev helper that detects U2F HID tokens as described
+by the U2F spec.
+
+
+%prep
+%setup -q
+
+%build
+%make_build CFLAGS="%{optflags} %{__global_ldflags}"
+
+%install
+make install DESTDIR="%{buildroot}/usr"
+
+%files
+%{_udevrulesdir}/60-u2f-hidraw.rules
+%{_udevrulesdir}/../u2f_hidraw_id
+
+%license LICENSE
+%doc README.md
+
+%changelog
+* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sat Jul 21 2018 luto@kernel.org - 1.0.2-8
+- Add BR: gcc
+
+* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Oct 30 2015 Andy Lutomirski <luto@mit.edu> - 1.0.2-1
+- New version, simplifying packaging
+- Harden the build
+
+* Mon Oct 19 2015 Andy Lutomirski <luto@mit.edu> - 1.0.1-1
+- New version, fixing LICENSE
+
+* Mon Oct 19 2015 Andy Lutomirski <luto@kernel.org> - 1.0-1
+- New package
bgstack15