120 Star 0 Fork 13

src-openEuler / bolt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
bolt.spec 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
xuguangmin 提交于 2021-07-08 10:03 . update to 0.9.1
Name: bolt
Version: 0.9.1
Release: 1
Summary: Userspace system daemon to enable security levels for Thunderbolt 3 on GNU/Linux.
License: LGPLv2+
URL: https://gitlab.freedesktop.org/bolt/bolt
Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc asciidoc meson libudev-devel polkit-devel systemd
BuildRequires: pkgconfig(gio-2.0) pkgconfig(libudev) pkgconfig(systemd)
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description
bolt is a system daemon to manage thunderbolt 3 devices via a D-BUS API.
Devices connected via Thunderbolt can be DMA masters and thus read
system memory without interference of the operating system (or even
the CPU). Version 3 of the interface provides 5 different security
levels(none, dponly, user, secure, usbonly), in order to mitigate
the aforementioned security risk that connected devices pose to the system.
The security level is set by the system firmware.
%package_help
%prep
%autosetup -n %{name}-%{version}
%build
%meson -Ddb-name=boltd
%meson_build
%check
%meson_test
%install
%meson_install
%post
%systemd_post bolt.service
%preun
%systemd_preun bolt.service
%postun
%systemd_postun_with_restart bolt.service
%files
%license COPYING
%doc README.md
%{_bindir}/boltctl
%{_datadir}/dbus-1/interfaces/org.freedesktop.bolt.xml
%{_datadir}/polkit-1/actions/org.freedesktop.bolt.policy
%{_datadir}/polkit-1/rules.d/org.freedesktop.bolt.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.bolt.service
%{_libexecdir}/boltd
%{_unitdir}/bolt.service
%{_udevrulesdir}/*-bolt.rules
%{_datadir}/dbus-1/system.d/org.freedesktop.bolt.conf
%ghost %dir %{_localstatedir}/lib/boltd
%files help
%{_mandir}/man1/boltctl.1*
%{_mandir}/man8/boltd.8*
%changelog
* Thu Jul 8 2021 xuguangmin <xuguangmin@kylinos.cn> - 0.9.1-1
- update to 0.9.1
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.5-2
- Package init
1
https://gitee.com/src-openeuler/bolt.git
git@gitee.com:src-openeuler/bolt.git
src-openeuler
bolt
bolt
openEuler-22.03-LTS

搜索帮助