代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/secpaver 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: secpaver
Summary: Security policy development tool
Version: 1.0.2
Release: 2
License: Mulan PSL v2
URL: https://gitee.com/openeuler/secpaver
Source: https://gitee.com/openeuler/secpaver/repository/archive/%{name}-%{version}.tar.gz
Patch0001: dont-do-daemon-reload-in-make-install.patch
Patch0002: set-default-log-path.patch
BuildRequires: golang make
Requires: %{name}-plugin = %{version}-%{release}
%define debug_package %{nil}
%description
Security policy development tool
%package selinux
Summary: SELinux plugin for secPaver
License: MuLan PSL v2
BuildRequires: libselinux-devel libsepol-devel libsemanage-devel
Requires: %{name} = %{version}-%{release}
Requires: libselinux libsepol libsemanage checkpolicy policycoreutils
Provides: %{name}-plugin = %{version}-%{release}
%description selinux
SELinux plugin for secPaver.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build everything
%install
%make_install DESTDIR="%{buildroot}"
%check
%files
%defattr(0600,root,root,0700)
%attr(0700,root,root) %{_bindir}/pav
%attr(0700,root,root) %{_bindir}/pavd
%dir %{_sysconfdir}/secpaver
%dir %{_sysconfdir}/secpaver/pavd
%dir %{_libdir}/secpaver
%dir %{_datadir}/secpaver
%dir %{_datadir}/secpaver/scripts
%dir %{_localstatedir}/local/secpaver
%dir %{_localstatedir}/local/secpaver/policies
%dir %{_localstatedir}/local/secpaver/projects
%config(noreplace) %{_sysconfdir}/secpaver/pavd/config.json
%{_unitdir}/pavd.service
%files selinux
%defattr(0600,root,root,0700)
%attr(0700,root,root) %{_libdir}/secpaver/selinux.so
%dir %{_localstatedir}/local/secpaver/policies/selinux
%dir %{_datadir}/secpaver/scripts/selinux
%{_datadir}/secpaver/scripts/selinux/config
%attr(0700,root,root) %{_datadir}/secpaver/scripts/selinux/*.sh
%post
%systemd_post pavd.service
%preun
%systemd_preun pavd.service
%postun
%systemd_postun_with_restart pavd.service
%changelog
* Thu Sep 30 2021 luhuaxin <1539327763@qq.com> - 1.0.2-2
- set default log path
* Thu Sep 30 2021 luhuaxin <1539327763@qq.com> - 1.0.2-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。