SHA256
1
0
forked from pool/rebootmgr

Compare commits

..

8 Commits

Author SHA256 Message Date
Ana Guerrero
0350aba7ac Accepting request 1241153 from devel:microos
- Update to version 3.0+git20250129.eed876f:
  * Release version 3.1
  * rebootmgrd: fix check if new strategy is valid

- Update to version 3.0+git20250128.8fa577c:
  * Import version 3.0 based on sd-varlink

- Update to version 3.0+git20250127.73667d7:
  * rebootmgrctl: implement verbose dump-config verb
  * Fix search path for vendor config file
  * Add CI with openSUSE container
  * Add new methods and use UID auth
- Add timezone to BuildRequires for test suite

- Update to version 3.0+git20250114.f74a9d5:
  * Add bash-completion for rebootmgrctl

- Update to version 3.0+git20241219.7166827:
  * Remove left overs from dbus related manual page
  * Use int64 to parse JSON for time_t
  * Set varlink info
  * Move announce_ready() call to a later place
  * Require libeconf 0.7.5
  * Free event loop in destroy context.
  * Add missing error reply
  * Remove unused log_type variable
  * Add internal error to varlink interface
  * Move varlink definition into own file
  * Update manual pages

OBS-URL: https://build.opensuse.org/request/show/1241153
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rebootmgr?expand=0&rev=31
2025-01-30 13:49:11 +00:00
Thorsten Kukuk
4abe2cbcd0 - Update to version 3.0+git20250129.eed876f:
* Release version 3.1
  * rebootmgrd: fix check if new strategy is valid

OBS-URL: https://build.opensuse.org/package/show/devel:microos/rebootmgr?expand=0&rev=23
2025-01-29 09:58:41 +00:00
Thorsten Kukuk
0c696a3680 - Update to version 3.0+git20250128.8fa577c:
* Import version 3.0 based on sd-varlink

- Update to version 3.0+git20250127.73667d7:
  * rebootmgrctl: implement verbose dump-config verb
  * Fix search path for vendor config file
  * Add CI with openSUSE container
  * Add new methods and use UID auth
- Add timezone to BuildRequires for test suite

- Update to version 3.0+git20250114.f74a9d5:
  * Add bash-completion for rebootmgrctl

- Update to version 3.0+git20241219.7166827:
  * Remove left overs from dbus related manual page
  * Use int64 to parse JSON for time_t
  * Set varlink info
  * Move announce_ready() call to a later place
  * Require libeconf 0.7.5
  * Free event loop in destroy context.
  * Add missing error reply
  * Remove unused log_type variable
  * Add internal error to varlink interface
  * Move varlink definition into own file
  * Update manual pages

OBS-URL: https://build.opensuse.org/package/show/devel:microos/rebootmgr?expand=0&rev=22
2025-01-28 15:21:23 +00:00
8684a8e4e1 Accepting request 1223279 from devel:microos
- Add compatibility symlink for rebootmgrctl to sbin

OBS-URL: https://build.opensuse.org/request/show/1223279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rebootmgr?expand=0&rev=30
2024-11-11 12:43:34 +00:00
Thorsten Kukuk
e108423881 - Add compatibility symlink for rebootmgrctl to sbin
OBS-URL: https://build.opensuse.org/package/show/devel:microos/rebootmgr?expand=0&rev=20
2024-11-11 06:05:25 +00:00
2d98d1b0c5 Accepting request 1222710 from devel:microos
- Update to version 2.6+git20241108.fc0c103:
  * Fix installation of .so man pages
  * Rework manpage generation
  * Switch from configure.ac to meson
  * Document that timezones are not supported
  * Release version 2.5

OBS-URL: https://build.opensuse.org/request/show/1222710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rebootmgr?expand=0&rev=29
2024-11-09 19:52:51 +00:00
Thorsten Kukuk
0ef6b1a6ee OBS-URL: https://build.opensuse.org/package/show/devel:microos/rebootmgr?expand=0&rev=18 2024-11-08 10:02:18 +00:00
Thorsten Kukuk
58618ea8ab - Update to version 2.6+git20241108.fc0c103:
* Fix installation of .so man pages
  * Rework manpage generation
  * Switch from configure.ac to meson
  * Document that timezones are not supported
  * Release version 2.5

OBS-URL: https://build.opensuse.org/package/show/devel:microos/rebootmgr?expand=0&rev=17
2024-11-08 09:51:41 +00:00
6 changed files with 92 additions and 47 deletions

View File

@ -1,14 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="version">2.4</param>
<param name="versionformat">2.4+git%cd.%h</param>
<service name="tar_scm" mode="manual">
<param name="version">3.0</param>
<param name="versionformat">3.0+git%cd.%h</param>
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
<param name="revision">master</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<service name="recompress" mode="manual">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version" mode="manual"/>
</services>

View File

@ -1,5 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/SUSE/rebootmgr.git</param>
<param name="changesrevision">30e5383142b027a3f61fd6b4e910fb192101d32e</param></service>
<param name="changesrevision">eed876f90679183432df8e29b2664a699ad3a29d</param></service>
</servicedata>

BIN
rebootmgr-2.4+git20240524.30e5383.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c80a87ad19e5a2943ec2f26204da34ee228546b1f91b5b00d0090f5acb6c7e65
size 43372

View File

@ -1,3 +1,63 @@
-------------------------------------------------------------------
Wed Jan 29 09:56:49 UTC 2025 - kukuk@suse.com
- Update to version 3.0+git20250129.eed876f:
* Release version 3.1
* rebootmgrd: fix check if new strategy is valid
-------------------------------------------------------------------
Tue Jan 28 15:05:30 UTC 2025 - kukuk@suse.com
- Update to version 3.0+git20250128.8fa577c:
* Import version 3.0 based on sd-varlink
-------------------------------------------------------------------
Mon Jan 27 13:25:24 UTC 2025 - kukuk@suse.com
- Update to version 3.0+git20250127.73667d7:
* rebootmgrctl: implement verbose dump-config verb
* Fix search path for vendor config file
* Add CI with openSUSE container
* Add new methods and use UID auth
- Add timezone to BuildRequires for test suite
-------------------------------------------------------------------
Wed Jan 15 11:05:37 UTC 2025 - kukuk@suse.com
- Update to version 3.0+git20250114.f74a9d5:
* Add bash-completion for rebootmgrctl
-------------------------------------------------------------------
Thu Dec 19 15:28:20 UTC 2024 - kukuk@suse.com
- Update to version 3.0+git20241219.7166827:
* Remove left overs from dbus related manual page
* Use int64 to parse JSON for time_t
* Set varlink info
* Move announce_ready() call to a later place
* Require libeconf 0.7.5
* Free event loop in destroy context.
* Add missing error reply
* Remove unused log_type variable
* Add internal error to varlink interface
* Move varlink definition into own file
* Update manual pages
-------------------------------------------------------------------
Mon Nov 11 06:03:16 UTC 2024 - Thorsten Kukuk <kukuk@suse.com>
- Add compatibility symlink for rebootmgrctl to sbin
-------------------------------------------------------------------
Fri Nov 08 09:49:55 UTC 2024 - kukuk@suse.com
- Update to version 2.6+git20241108.fc0c103:
* Fix installation of .so man pages
* Rework manpage generation
* Switch from configure.ac to meson
* Document that timezones are not supported
* Release version 2.5
-------------------------------------------------------------------
Fri May 24 11:56:30 UTC 2024 - kukuk@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package rebootmgr
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,28 +16,20 @@
#
%if ! %{defined _distconfdir}
%define _distconfdir %{_sysconfdir}
%define with_config 1
%else
%define with_config 0
%endif
Name: rebootmgr
Version: 2.4+git20240524.30e5383
Version: 3.0+git20250129.eed876f
Release: 0
Summary: Automatic controlled reboot during a maintenance window
License: GPL-2.0-only AND LGPL-2.1-or-later
Group: System/Base
URL: https://github.com/SUSE/rebootmgr
Source: %{name}-%{version}.tar.xz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libeconf)
BuildRequires: timezone
BuildRequires: pkgconfig(libeconf) >= 0.7.6
BuildRequires: pkgconfig(libsystemd) >= 257
%description
RebootManager is a dbus service to execute a controlled reboot after updates in a defined maintenance window.
@ -45,24 +37,24 @@ RebootManager is a dbus service to execute a controlled reboot after updates in
If you updated a system with e.g. transactional updates or a kernel update was applied, you can tell rebootmgrd with rebootmgrctl, that the machine should be reboot at the next possible time. This can either be immediately or during a defined maintenance window.
%prep
%setup -q
%autosetup
%build
./autogen.sh
%configure
make %{?_smp_mflags}
%meson
%meson_build
%install
%make_install
if [ ! -d %{buildroot}%{_distconfdir} ]; then
mkdir -p %{buildroot}%{_distconfdir}
mv %{buildroot}%{_sysconfdir}/rebootmgr.conf %{buildroot}%{_distconfdir}
fi
%fdupes %{buildroot}%{_mandir}
%meson_install
%check
%meson_test
%pre
%service_add_pre rebootmgr.service
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf.rpmsave.old ||:
if [ -f /etc/rebootmgr.conf ] && [ ! -f /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf ]; then
mkdir -p /etc/rebootmgr/rebootmgr.conf.d ||:
mv /etc/rebootmgr.conf /etc/rebootmgr/rebootmgr.conf.d/20-old-rebootmgr.conf
fi
%post
%service_add_post rebootmgr.service
@ -73,26 +65,18 @@ test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/re
%postun
%service_del_postun rebootmgr.service
%posttrans
test -f /etc/rebootmgr.conf.rpmsave && mv -v /etc/rebootmgr.conf.rpmsave /etc/rebootmgr.conf ||:
%files
%license COPYING COPYING.LIB
%doc NEWS
%if %{with_config}
%config %{_sysconfdir}/rebootmgr.conf
%else
%{_distconfdir}/rebootmgr.conf
%endif
%dir %{_datadir}/rebootmgr
%{_datadir}/rebootmgr/rebootmgr.conf
%{_unitdir}/rebootmgr.service
%{_sbindir}/rebootmgrctl
%{_sbindir}/rebootmgrd
%{_datadir}/dbus-1/interfaces/org.opensuse.RebootMgr.xml
%{_datadir}/dbus-1/system.d/org.opensuse.RebootMgr.conf
%{_bindir}/rebootmgrctl
%{_libexecdir}/rebootmgrd
%{_datadir}/bash-completion/completions/rebootmgrctl
%{_mandir}/man1/rebootmgrctl.1%{?ext_man}
%{_mandir}/man5/rebootmgr.conf.5%{?ext_man}
%{_mandir}/man8/rebootmgrd.8%{?ext_man}
%{_mandir}/man8/org.opensuse.RebootMgr.conf.8%{?ext_man}
%{_mandir}/man8/rebootmgr.service.8%{?ext_man}
%changelog