From patchwork Sun Sep 15 16:43:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8124 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4X6DQN5T9xz3wxp for ; Sun, 15 Sep 2024 16:43:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4X6DQJ1qhhz5nj; Sun, 15 Sep 2024 16:43:52 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4X6DQJ1L3Jz346r; Sun, 15 Sep 2024 16:43:52 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4X6DQD2ynWz32Rt for ; Sun, 15 Sep 2024 16:43:48 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4X6DQC6Csnz1T7; Sun, 15 Sep 2024 16:43:47 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1726418627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=To52IHLEPN8P2Rle8Mjzav3bNHFu+yMkFKia4Am6fkc=; b=QENWlBu7MsJLpR5OHAHQJ9aSon4fKOHLNVIhgPbciNL66yq894eyZbBkySimvJ3SbZn9bn S0hklxrAXLuVAZCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1726418627; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=To52IHLEPN8P2Rle8Mjzav3bNHFu+yMkFKia4Am6fkc=; b=Glgwof64m7FAOm+IohsXOdNwSBQXiWsTC5LRiHKLIcjiVJOly9Wbm3o773e53Z2oGGNrfA BKnp0tJwbzwYAlAeaqOelrh4exk3RQjItqdNx+47kIfOurtxwoe04G67qY8b8g5tjNkd2D dUlS7Y3P/nmq2Hn86rysUC0z4N32WI2gows7z8Ur6wujxeW3OQaBIhPrIrS1fseFKjWqtY TBjmTlErpqvMMelXCsGhrT/QuHr4+e7fdy1/x1vhUVb9BbFPmI9/L1iXz3eEHKfdOS+Vhk y/ifJOvG95Dpu99tGSigBFhOPb5DTsC1inZudRoKlMhqpEAQA3AZ5oE7fro7/Q== 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> References: <20240915164342.4134180-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Message-ID-Hash: EXPTEBMAEYNYFOCPUDWOAC24FSYITBFG X-Message-ID-Hash: EXPTEBMAEYNYFOCPUDWOAC24FSYITBFG X-MailFrom: adolf.belka@ipfire.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - 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 --- 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 @@ 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