0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-23 21:10:22 +00:00

Explicitly depend on version-matched plugins in native packages. ()

* Explicitly depend on version-matched plugins in native packages.

This should allow in-place downgrades of our native packages, starting
from versions after this change is introduced.

* Fix deps in Debian control file.
This commit is contained in:
Austin S. Hemmelgarn 2023-08-22 06:45:04 -04:00 committed by GitHub
parent e47f21d530
commit ebf5211024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 24 deletions

View file

@ -36,15 +36,15 @@ Architecture: any
Depends: openssl, Depends: openssl,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends},
netdata-plugin-ebpf [amd64], netdata-plugin-ebpf (= ${source:Version}) [amd64],
netdata-plugin-apps, netdata-plugin-apps (= ${source:Version}),
netdata-plugin-pythond, netdata-plugin-pythond (= ${source:Version}),
netdata-plugin-go, netdata-plugin-go (= ${source:Version}),
netdata-plugin-debugfs, netdata-plugin-debugfs (= ${source:Version}),
netdata-plugin-nfacct, netdata-plugin-nfacct (= ${source:Version}),
netdata-plugin-chartsd, netdata-plugin-chartsd (= ${source:Version}),
netdata-plugin-slabinfo, netdata-plugin-slabinfo (= ${source:Version}),
netdata-plugin-perf netdata-plugin-perf (= ${source:Version})
Pre-Depends: adduser, Pre-Depends: adduser,
dpkg (>= 1.17.14), dpkg (>= 1.17.14),
libcap2-bin (>=1:2.0), libcap2-bin (>=1:2.0),
@ -53,9 +53,9 @@ Conflicts: netdata-core,
netdata-plugins-bash, netdata-plugins-bash,
netdata-plugins-python, netdata-plugins-python,
netdata-web netdata-web
Suggests: netdata-plugin-cups, Suggests: netdata-plugin-cups (= ${source:Version}),
netdata-plugin-freeipmi netdata-plugin-freeipmi (= ${source:Version})
Recommends: netdata-plugin-systemd-journal Recommends: netdata-plugin-systemd-journal (= ${source:Version})
Description: real-time charts for system monitoring Description: real-time charts for system monitoring
Netdata is a daemon that collects data in realtime (per second) Netdata is a daemon that collects data in realtime (per second)
and presents a web site to view and analyze them. The presentation and presents a web site to view and analyze them. The presentation

View file

@ -136,24 +136,24 @@ Requires(pre): /usr/sbin/useradd
# makes it impossible to properly test the packages prior to upload, # makes it impossible to properly test the packages prior to upload,
# so we just skip depending on them on CentOS 7. # so we just skip depending on them on CentOS 7.
%if 0%{?_have_ebpf} %if 0%{?_have_ebpf}
Requires: netdata-plugin-ebpf Requires: netdata-plugin-ebpf = %{version}
%endif %endif
Requires: netdata-plugin-apps Requires: netdata-plugin-apps = %{version}
Requires: netdata-plugin-pythond Requires: netdata-plugin-pythond = %{version}
Requires: netdata-plugin-go Requires: netdata-plugin-go = %{version}
Requires: netdata-plugin-debugfs Requires: netdata-plugin-debugfs = %{version}
Requires: netdata-plugin-chartsd Requires: netdata-plugin-chartsd = %{version}
Requires: netdata-plugin-slabinfo Requires: netdata-plugin-slabinfo = %{version}
Requires: netdata-plugin-perf Requires: netdata-plugin-perf = %{version}
%if 0%{?_have_nfacct} %if 0%{?_have_nfacct}
Requires: netdata-plugin-nfacct Requires: netdata-plugin-nfacct = %{version}
%endif %endif
%if 0%{?_have_freeipmi} && 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2 %if 0%{?_have_freeipmi} && 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
Suggests: netdata-plugin-freeipmi Suggests: netdata-plugin-freeipmi = %{version}
%endif %endif
%if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2 %if 0%{?centos_ver} != 6 && 0%{?centos_ver} != 7 && 0%{?amazon_linux} != 2
Suggests: netdata-plugin-cups Suggests: netdata-plugin-cups = %{version}
Recommends: netdata-plugin-systemd-journal Recommends: netdata-plugin-systemd-journal = %{version}
%endif %endif
@ -919,6 +919,7 @@ fi
%caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin %caps(cap_dac_read_search=ep) %attr(0750,root,netdata) %{_libexecdir}/%{name}/plugins.d/systemd-journal.plugin
%changelog %changelog
* Mon Aug 21 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-22
* Thu Aug 03 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-21 * Thu Aug 03 2023 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-21
- Added systemd-journal plugin handling - Added systemd-journal plugin handling
* Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20 * Wed Jun 14 2023 Konstantin Shalygin <k0ste@k0ste.ru> 0.0.0-20