public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] logrotate: Update to version 3.22.0
Date: Sun, 15 Sep 2024 18:43:36 +0200	[thread overview]
Message-ID: <20240915164342.4134180-3-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20240915164342.4134180-1-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 3410 bytes --]

- 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 specifying 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 <adolf.belka(a)ipfire.org>
---
 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  <info(a)ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info(a)ipfire.org>                     #
 #                                                                             #
 # 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 @@
 
 include Config
 
-VER        = 3.21.0
+VER        = 3.22.0
 
 THISAPP    = logrotate-$(VER)
-DL_FILE    = logrotate-$(VER).tar.gz
+DL_FILE    = logrotate-$(VER).tar.xz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
@@ -42,7 +42,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = bd801aa8daed19213720ef36af8070277c3b36df2b866ab921bc5ff85afe97871638f4a690061ba752f16b2df53acc76373097bf95b6a7fd2821c20574a444d8
+$(DL_FILE)_BLAKE2 = c1c9f1ff792905d2917e9ba3cee360c50259e1520e04073cb69abe475499adcf01aeb3cb4c6933af61255fbb5978577c4fdf9d6ab6ebf9568358d2446791c7f3
 
 install : $(TARGET)
 
@@ -71,11 +71,9 @@ $(subst %,%_BLAKE2,$(objects)) :
 
 $(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=/usr
-
+	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+	cd $(DIR_APP) && ./configure \
+				--prefix=/usr
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	mkdir -pv /etc/logrotate.d
-- 
2.46.0


  parent reply	other threads:[~2024-09-15 16:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-15 16:43 [PATCH] libpng: Update to version 1.6.44 Adolf Belka
2024-09-15 16:43 ` [PATCH] lmdb: Update to version 0.9.33 Adolf Belka
2024-09-15 16:43 ` Adolf Belka [this message]
2024-09-15 16:43 ` [PATCH] lvm2: Update to version 2.03.26 Adolf Belka
2024-09-15 16:43 ` [PATCH] netatalk: Update to version 3.2.8 Adolf Belka
2024-09-15 16:43 ` [PATCH] nettle: Update to version 3.10 Adolf Belka
2024-09-15 16:43 ` [PATCH] nfs: Update to version 2.7.1 Adolf Belka
2024-09-15 16:43 ` [PATCH] nginx: Update to version 1.26.2 Adolf Belka
2024-09-15 16:43 ` [PATCH] ninja: Update to version 1.12.1 Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240915164342.4134180-3-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox