From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] logrotate: Update to version 3.22.0 Date: Sun, 15 Sep 2024 18:43:36 +0200 Message-ID: <20240915164342.4134180-3-adolf.belka@ipfire.org> In-Reply-To: <20240915164342.4134180-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2744587699974202840==" List-Id: --===============2744587699974202840== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 3.21.0 to 3.22.0 - Update for rootfile not required - autogen.sh step not required as configure file has been available in source= tarball since version 3.10.0 in 2016 - xz version of logrotate available so changed to that. - Changelog 3.22.0 - fix calculations for time differences (#516) - fix extension for zip compression (#545) - fix omitted copy for logs with `mail` and `rotate 0` (#553) - fix wrongly skipping copy with `copytruncate` and `compress` (#553) - fix ambiguities between `mode`, `UID` and `GID` parsing when not specifyi= ng all options (#575) - fix hang when encountering a named pipe (#607) - on prerotate failure logs are preserved instead of rotated (#506) - in case a configuration file was skipped due to unsafe permissions the exit status after rotattion will be `1` (#508) - the state is no longer written to non-regular files (#529) - the systemd timer now correctly utilizes load distribution (#574) - add dateformat specifier `%z` for timezone offsets (#594) - change default mode for created `olddir` directories to `0755` (#560) - support quoted user and group names in `su`, `create`, and `createolddir`= (#575) Signed-off-by: Adolf Belka --- lfs/logrotate | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lfs/logrotate b/lfs/logrotate index eb0f2de3f..7cbba67fe 100644 --- a/lfs/logrotate +++ b/lfs/logrotate @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2022 IPFire Team = # +# Copyright (C) 2007-2024 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,10 +24,10 @@ =20 include Config =20 -VER =3D 3.21.0 +VER =3D 3.22.0 =20 THISAPP =3D logrotate-$(VER) -DL_FILE =3D logrotate-$(VER).tar.gz +DL_FILE =3D logrotate-$(VER).tar.xz DL_FROM =3D $(URL_IPFIRE) DIR_APP =3D $(DIR_SRC)/$(THISAPP) TARGET =3D $(DIR_INFO)/$(THISAPP) @@ -42,7 +42,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D bd801aa8daed19213720ef36af8070277c3b36df2b866ab921bc5f= f85afe97871638f4a690061ba752f16b2df53acc76373097bf95b6a7fd2821c20574a444d8 +$(DL_FILE)_BLAKE2 =3D c1c9f1ff792905d2917e9ba3cee360c50259e1520e04073cb69abe= 475499adcf01aeb3cb4c6933af61255fbb5978577c4fdf9d6ab6ebf9568358d2446791c7f3 =20 install : $(TARGET) =20 @@ -71,11 +71,9 @@ $(subst %,%_BLAKE2,$(objects)) : =20 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - - cd $(DIR_APP) && ./autogen.sh - cd $(DIR_APP) && ./configure --prefix=3D/usr - + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure \ + --prefix=3D/usr cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install mkdir -pv /etc/logrotate.d --=20 2.46.0 --===============2744587699974202840==--