diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 03:16:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 03:16:09 +0100 |
commit | 2d3042634af4767714cb90eff3f773ef54afb5ed (patch) | |
tree | 52df7aa6b75899440a32b7c80c8d7015adaf4524 /net-dialup/ppp/files | |
parent | 14bda3c9c57c13e8a59303f400678313fd770bdd (diff) |
gentoo auto-resync : 29:05:2023 - 03:16:09
Diffstat (limited to 'net-dialup/ppp/files')
-rw-r--r-- | net-dialup/ppp/files/ppp-2.5.0-passwordfd-read-early.patch | 2 | ||||
-rw-r--r-- | net-dialup/ppp/files/ppp-2.5.0-pidfile.patch | 39 |
2 files changed, 41 insertions, 0 deletions
diff --git a/net-dialup/ppp/files/ppp-2.5.0-passwordfd-read-early.patch b/net-dialup/ppp/files/ppp-2.5.0-passwordfd-read-early.patch index 2600a1d85f21..5c7067c5307b 100644 --- a/net-dialup/ppp/files/ppp-2.5.0-passwordfd-read-early.patch +++ b/net-dialup/ppp/files/ppp-2.5.0-passwordfd-read-early.patch @@ -1,3 +1,5 @@ +https://github.com/ppp-project/ppp/pull/420 + From df35ecb4ab63e8f89f57aa5d593441765a96ed62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alin=20N=C4=83stac?= <mrness@gentoo.org> Date: Fri, 20 Jun 2008 18:34:06 +0000 diff --git a/net-dialup/ppp/files/ppp-2.5.0-pidfile.patch b/net-dialup/ppp/files/ppp-2.5.0-pidfile.patch new file mode 100644 index 000000000000..538ddfb0a2c1 --- /dev/null +++ b/net-dialup/ppp/files/ppp-2.5.0-pidfile.patch @@ -0,0 +1,39 @@ +https://github.com/ppp-project/ppp/pull/427 + +From 0c9f2cb93f56d2a14ffcc97f53f4665b7728d8e4 Mon Sep 17 00:00:00 2001 +From: Mike Gilbert <floppym@gentoo.org> +Date: Sun, 28 May 2023 17:01:12 -0400 +Subject: [PATCH] Ensure there is a '/' between PPP_PATH_VARRUN and the PID + filename + +Bug: https://bugs.gentoo.org/907311 +Signed-off-by: Mike Gilbert <floppym@gentoo.org> +--- + pppd/main.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/pppd/main.c b/pppd/main.c +index 4455199..c207d10 100644 +--- a/pppd/main.c ++++ b/pppd/main.c +@@ -888,7 +888,7 @@ create_pidfile(int pid) + { + FILE *pidfile; + +- slprintf(pidfilename, sizeof(pidfilename), "%s%s.pid", ++ slprintf(pidfilename, sizeof(pidfilename), "%s/%s.pid", + PPP_PATH_VARRUN, ifname); + if ((pidfile = fopen(pidfilename, "w")) != NULL) { + fprintf(pidfile, "%d\n", pid); +@@ -907,7 +907,7 @@ create_linkpidfile(int pid) + if (linkname[0] == 0) + return; + ppp_script_setenv("LINKNAME", linkname, 1); +- slprintf(linkpidfile, sizeof(linkpidfile), "%sppp-%s.pid", ++ slprintf(linkpidfile, sizeof(linkpidfile), "%s/ppp-%s.pid", + PPP_PATH_VARRUN, linkname); + if ((pidfile = fopen(linkpidfile, "w")) != NULL) { + fprintf(pidfile, "%d\n", pid); +-- +2.40.1 + |