]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
network: Add patch to fix logdir
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 19 Mar 2023 15:02:04 +0000 (16:02 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 21 Mar 2023 18:25:40 +0000 (18:25 +0000)
Add upstream patch to proper set the location
to the logdir.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
network/network.nm
network/patches/network-fix-logdir-path.patch [new file with mode: 0644]

index 4879f71f906c8b0ede4f576cc38fc5a292600b80..85a9d15b3b4c9ac449d210844ea9c07bcd3a2c23 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = network
 version    = 010
-release    = 4.2
+release    = 5
 
 maintainer = Michael Tremer <michael.tremer@ipfire.org>
 groups     = Base Networking/Tools
diff --git a/network/patches/network-fix-logdir-path.patch b/network/patches/network-fix-logdir-path.patch
new file mode 100644 (file)
index 0000000..f708c03
--- /dev/null
@@ -0,0 +1,23 @@
+commit 88e5f32944b8dc1c4b1c74028c7d46c37b2aad34
+Author: Stefan Schantl <stefan.schantl@ipfire.org>
+Date:   Sun Mar 19 15:58:11 2023 +0100
+
+    Makefile.am: Fix typo defining the logdir
+    
+    The correct value name should be "localstatedir"
+    
+    Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
+
+diff --git a/Makefile.am b/Makefile.am
+index 893f1b8..5dc4629 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -51,7 +51,7 @@ hooks_zonesdir   = $(hooksdir)/zones
+ triggersdir      = $(networkdir)/triggers
+-logdir           = $(localestatedir)/log/network
++logdir           = $(localstatedir)/log/network
+ utildir          = $(networkdir)
+ CLEANFILES =