2022-11-25 18:42:01 +08:00
|
|
|
Name: aops-apollo
|
2023-04-17 21:38:42 +08:00
|
|
|
Version: v1.2.0
|
2023-04-28 16:15:52 +08:00
|
|
|
Release: 2
|
2022-11-25 18:42:01 +08:00
|
|
|
Summary: Cve management service, monitor machine vulnerabilities and provide fix functions.
|
|
|
|
|
License: MulanPSL2
|
|
|
|
|
URL: https://gitee.com/openeuler/%{name}
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2023-04-28 16:15:52 +08:00
|
|
|
Patch0001: 0001-fix-args-not-effective-bug.patch
|
|
|
|
|
Patch0002: 0002-download-SA-collaborative-process.patch
|
2022-11-25 18:42:01 +08:00
|
|
|
|
|
|
|
|
BuildRequires: python3-setuptools
|
2023-04-17 21:38:42 +08:00
|
|
|
Requires: aops-vulcanus >= v1.2.0
|
2022-11-25 18:42:01 +08:00
|
|
|
Requires: python3-elasticsearch python3-flask-restful python3-marshmallow >= 3.13.0
|
|
|
|
|
Requires: python3-sqlalchemy python3-PyMySQL python3-Flask-APScheduler >= 1.11.0
|
|
|
|
|
Requires: python3-PyYAML python3-flask
|
2023-04-17 21:38:42 +08:00
|
|
|
Requires: python3-retrying python3-lxml
|
2022-11-25 18:42:01 +08:00
|
|
|
Provides: aops-apollo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Cve management service, monitor machine vulnerabilities and provide fix functions.
|
|
|
|
|
|
2023-03-25 15:30:56 +08:00
|
|
|
%package -n dnf-hotpatch-plugin
|
|
|
|
|
Summary: dnf hotpatch plugin
|
2023-03-25 17:47:16 +08:00
|
|
|
Requires: python3-hawkey python3-dnf syscare
|
2023-03-24 23:05:48 +08:00
|
|
|
|
2023-03-25 15:30:56 +08:00
|
|
|
%description -n dnf-hotpatch-plugin
|
2023-03-24 23:05:48 +08:00
|
|
|
dnf hotpatch plugin, it's about hotpatch query and fix
|
2022-11-25 18:42:01 +08:00
|
|
|
|
|
|
|
|
%prep
|
2023-04-28 16:15:52 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2023-04-17 21:38:42 +08:00
|
|
|
|
2022-11-25 18:42:01 +08:00
|
|
|
|
|
|
|
|
# build for aops-apollo
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# install for aops-apollo
|
|
|
|
|
%py3_install
|
|
|
|
|
|
2023-03-24 23:05:48 +08:00
|
|
|
#install for aops-dnf-plugin
|
2023-03-25 15:30:56 +08:00
|
|
|
cp -r hotpatch %{buildroot}/%{python3_sitelib}/dnf-plugins/
|
2023-03-24 23:05:48 +08:00
|
|
|
|
2022-11-25 18:42:01 +08:00
|
|
|
%files
|
|
|
|
|
%doc README.*
|
|
|
|
|
%attr(0644,root,root) %{_sysconfdir}/aops/apollo.ini
|
2023-04-17 21:38:42 +08:00
|
|
|
%attr(0644,root,root) %{_sysconfdir}/aops/apollo_crontab.ini
|
2022-11-25 18:42:01 +08:00
|
|
|
%attr(0755,root,root) %{_bindir}/aops-apollo
|
|
|
|
|
%attr(0755,root,root) /usr/lib/systemd/system/aops-apollo.service
|
|
|
|
|
%{python3_sitelib}/aops_apollo*.egg-info
|
|
|
|
|
%{python3_sitelib}/apollo/*
|
2023-03-25 15:30:56 +08:00
|
|
|
|
|
|
|
|
%files -n dnf-hotpatch-plugin
|
|
|
|
|
%{python3_sitelib}/dnf-plugins/*
|
2022-11-25 18:42:01 +08:00
|
|
|
|
|
|
|
|
%changelog
|
2023-04-28 16:15:52 +08:00
|
|
|
* Thu Apr 27 2023 ptyang<1475324955@qq.com> - v1.2.0-2
|
|
|
|
|
- fix args not effective bug
|
|
|
|
|
- download SA using a collaborative process
|
|
|
|
|
|
2023-04-17 21:38:42 +08:00
|
|
|
* Mon Apr 17 2023 gongzhengtang<gong_zhengtang@163.com> - v1.2.0-1
|
|
|
|
|
- add updated security advisory at regular time
|
|
|
|
|
- add execute the CVE scan command at regular time
|
|
|
|
|
- add correct abnormal data at regular time
|
2023-03-24 23:05:48 +08:00
|
|
|
- add dnf hotpatch list plugin
|
|
|
|
|
|
2022-12-27 12:26:45 +08:00
|
|
|
* Tue Dec 27 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-3
|
|
|
|
|
- modify version for vulcanus
|
|
|
|
|
|
2022-12-15 17:32:41 +08:00
|
|
|
* Thu Dec 15 2022 ptyang<1475324955@qq.com> - v1.1.2-2
|
2023-04-17 21:38:42 +08:00
|
|
|
- fix "PARTIAL_SUCCEED" bug
|
2022-12-15 17:32:41 +08:00
|
|
|
|
2022-12-07 17:55:44 +08:00
|
|
|
* Wed Dec 07 2022 wenxin<shusheng.wen@outlook.com> - v1.1.2-1
|
|
|
|
|
- modify status code for upload security advisories;fix cve query error
|
|
|
|
|
|
2022-12-05 22:22:21 +08:00
|
|
|
* Mon Dec 05 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.1-3
|
|
|
|
|
- Avoid the occasional 500 or query error when the api
|
|
|
|
|
- service is started through uwsgi
|
|
|
|
|
|
2022-12-02 17:36:52 +08:00
|
|
|
* Fri Dec 02 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.1-2
|
|
|
|
|
- fix param length validate and other bugs
|
|
|
|
|
|
2022-12-02 00:24:34 +08:00
|
|
|
* Fri Dec 02 2022 wenxin<shusheng.wen@outlook.com> - v1.1.1-1
|
|
|
|
|
- fix some bugs
|
|
|
|
|
|
2022-11-26 21:37:51 +08:00
|
|
|
* Sat Nov 26 2022 gongzhengtang<gong_zhengtang@163.com> - v1.1.0-2
|
|
|
|
|
- Fix param limit of length
|
|
|
|
|
|
2022-11-25 18:42:01 +08:00
|
|
|
* Fri Nov 25 2022 wenxin<shusheng.wen@outlook.com> - v1.1.0-1
|
|
|
|
|
- version update
|
|
|
|
|
|
|
|
|
|
* Wed Oct 19 2022 zhuyuncheng<zhuyuncheng@huawei.com> - v1.0.0-1
|
|
|
|
|
- Package init
|