]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ppp: Bug#13164 - Update configure options to have correct directory for pid
authorAdolf Belka <adolf.belka@ipfire.org>
Fri, 18 Aug 2023 18:46:45 +0000 (20:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 21 Aug 2023 10:01:08 +0000 (10:01 +0000)
- The original poster of the bug#13164 has already tested out ppp-2.5.0 in CU179 (master)
   and identified that the startup could not find the directory /usr/var/run/. This is due
   to the change in use of the prefix command in 2.5.0 vs 2.4.9 so --localstatedir set to
   /var. runstatedir is then set to localstatedir/run ie /var/run which is then correct
   for IPFire.
- This fix needs to be implemented into CU179 so that the bug poster can test out the update
- Updated rootfile to remove additional empty line

Fixes: Bug#13164
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/ppp
lfs/ppp

index 6098fa7c3c45573c8ed9aace946dd8f57ce07531..379c64af44fb9a1a471b09c39c8f5eea3fe51754 100644 (file)
@@ -71,4 +71,3 @@ usr/sbin/pppstats
 #usr/share/man/man8/pppoe-discovery.8
 #usr/share/man/man8/pppstats.8
 var/log/connect-errors
-
diff --git a/lfs/ppp b/lfs/ppp
index fc4528ece9160e7f560e37cdf2dc9561aba5a6cc..a6bd633b488557d37bc5d62d9c2a5246a2d68878 100644 (file)
--- a/lfs/ppp
+++ b/lfs/ppp
@@ -82,6 +82,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                                        --prefix=/usr \
                                        --sysconfdir=/etc \
                                        --with-logfile-dir=/var/log \
+                                       --localstatedir=/var \
                                        cc="gcc" \
                                        cflags="$(CFLAGS)"
        cd $(DIR_APP) && make $(MAKETUNING)