public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 2/5] pakfire: Remove creation of pakfire.log that is never used
Date: Sat, 28 Jun 2025 15:48:50 +0200	[thread overview]
Message-ID: <20250628134853.3312365-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250628134853.3312365-1-adolf.belka@ipfire.org>

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/pakfire | 1 -
 lfs/pakfire                     | 5 +----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/config/rootfiles/common/pakfire b/config/rootfiles/common/pakfire
index b2a10cf37..8fe0f09a4 100644
--- a/config/rootfiles/common/pakfire
+++ b/config/rootfiles/common/pakfire
@@ -17,4 +17,3 @@ opt/pakfire/pakfire
 opt/pakfire/tmp
 var/cache/pakfire
 var/log/pakfire
-var/log/pakfire.log
diff --git a/lfs/pakfire b/lfs/pakfire
index da7a648c8..2e75f7f68 100644
--- a/lfs/pakfire
+++ b/lfs/pakfire
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@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        #
@@ -58,9 +58,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		> $(DIR_APP)/etc/pakfire.conf
 	chown root.root $(DIR_APP) -R
 	chmod 755 $(DIR_APP)/pakfire
-	touch /var/log/pakfire.log
-	chown root.nobody /var/log/pakfire.log
-	chmod 644 /var/log/pakfire.log
 	ln -sf ../../var/log/pakfire /opt/pakfire/logs
 	ln -sf ../../var/cache/pakfire /opt/pakfire/cache
 	@$(POSTBUILD)
-- 
2.50.0



  reply	other threads:[~2025-06-28 13:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-28 13:48 [PATCH 1/5] functions.pl: pakfir cleanup Adolf Belka
2025-06-28 13:48 ` Adolf Belka [this message]
2025-06-28 13:48 ` [PATCH 3/5] backup.pl: Stop restore of the empty pakfire.log file Adolf Belka
2025-06-28 13:48 ` [PATCH 4/5] update.sh: Remove pakfire.log file as it is not used Adolf Belka
2025-06-28 13:48 ` [PATCH 5/5] core196: Ship pakfire 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=20250628134853.3312365-2-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