From patchwork Sat Jun 28 13:48:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 8857 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 4bTv0k0G1pz3wnF for ; Sat, 28 Jun 2025 13:49:10 +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 "E5" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4bTv0b2D1Nz4lj for ; Sat, 28 Jun 2025 13:49:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bTv0Z2Tx3z34RK for ; Sat, 28 Jun 2025 13:49:02 +0000 (UTC) X-Original-To: development@lists.ipfire.org 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) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bTv0W2ZySz2yHY for ; Sat, 28 Jun 2025 13:48:59 +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 4bTv0V2kJBz91; Sat, 28 Jun 2025 13:48:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1751118538; 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; bh=pX/oxhYa37lb1nWb3Pe8n2Ex8XLXixd3Hj0yO2+0+Uo=; b=dOf25/8F41QZo8/ztJ26+mHvNyxxYbS6FfmL8yK/IcdGxm7l7djChZLQWFwl6DYUVvCepU 4NiRqh9ZTZcmjaAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1751118538; 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; bh=pX/oxhYa37lb1nWb3Pe8n2Ex8XLXixd3Hj0yO2+0+Uo=; b=k6pkHdVgWRFkOSJEMPS34yZhg3fvj7hAGaz9gxkhDp2GLAiaIEpBvWuOOc6pp2Sf8XL+HR YZ8OmmLRwMQ52WhGvmQ/iHsdrnu+SHO+xZv1ZIfJaryZFpPS0srIRIfp6Vzu890tC/iw8U 9e2zid8inW0lRw9/LHDaW/DdXWfWPnuKEyVlk1xjpHunWoYn7NyuWuVNFRdxfXcTFndIqw 2Ic7XmfWgG+j0XYxEu60l99sYQrkgdJqEARhEOGGaUbUy1XoEKVc493qvSa/MunXA2CryH qVs3EUaAdmg0wM2XBp3Jc8xw6TU1gwuUn6mfc+eqHAEAMSOsGn7Zmtdle7H6Fw== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH 1/5] functions.pl: pakfir cleanup Date: Sat, 28 Jun 2025 15:48:49 +0200 Message-ID: <20250628134853.3312365-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - I wondered what was supposed to be in the pakfire.log file that has always been empty so I had a look around and discovered that it has been commented out since CU30 - So this patch removes that commented out line and the other patches in this set remove the creation of the empty pakfire.log file and stop it being restored etc Signed-off-by: Adolf Belka --- src/pakfire/lib/functions.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 2f172c398..e2c646313 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -2,7 +2,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2022 IPFire Team # +# Copyright (C) 2007-2025 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 # @@ -105,7 +105,6 @@ sub message { sub logger { my $log = shift; if ($log) { - #system("echo \"`date`: $log\" >> /var/log/pakfire.log"); system("logger -t pakfire \"$log\""); } }