Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ppp for openSUSE:Factory checked in 
at 2025-02-20 16:27:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ppp (Old)
 and      /work/SRC/openSUSE:Factory/.ppp.new.1873 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ppp"

Thu Feb 20 16:27:29 2025 rev:54 rq:1247103 version:2.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ppp/ppp.changes  2024-07-15 19:46:28.129486581 
+0200
+++ /work/SRC/openSUSE:Factory/.ppp.new.1873/ppp.changes        2025-02-20 
16:28:34.624410545 +0100
@@ -1,0 +2,39 @@
+Wed Feb 19 13:29:35 UTC 2025 - Reinhard Max <[email protected]>
+
+- Update to version 2.5.2:
+  * Some old and probably unused code has been removed, notably
+    the pppgetpass program and the passprompt plugin, and some of
+    the files in the sample and scripts directories.
+  * If a remote number has been set, it is available to scripts in
+    the REMOTENUMBER environment variable.
+  * Various other bug fixes and minor enhancements.
+- Obsoleted patches:
+  * ppp-fix-bashisms.patch
+
+-------------------------------------------------------------------
+Thu Oct 17 11:29:31 UTC 2024 - Reinhard Max <[email protected]>
+
+- Update to version 2.5.1:
+  * Pppd can now measure and log the round-trip time (RTT) of LCP
+    echo-requests and record them in a binary file structured as a
+    circular buffer.  Other programs or scripts can examine the
+    file and provide real-time statistics on link latency.
+    This is enabled by a new "lcp-rtt-file" option.
+  * New scripts net-init, net-pre-up and net-down are executed in
+    the process of bringing the network interface up and down.
+    They provide additional, more deterministic ways for pppd to
+    interact with the rest of the networking configuration.
+  * New options have been added to allow the system administrator
+    to set the location of various scripts and secrets files.
+  * A new "noresolvconf" option tells pppd not to write the
+    /etc/ppp/resolv.conf file; DNS server addresses, if obtained
+    from the peer, are still passed to scripts in the environment.
+  * Pppd will now create the directory for the TDB connection
+    database if it doesn't already exist.
+- Obsoleted patches:
+  * ppp-mkdir-run.patch
+  * ppp-pidfiles.patch
+- Drop the ppp_ prefix from /run/ppp_resolv.conf* and put it under
+  /run/ppp like the other generated files.
+
+-------------------------------------------------------------------

Old:
----
  ppp-2.5.0.tar.gz
  ppp-2.5.0.tar.gz.asc
  ppp-fix-bashisms.patch
  ppp-mkdir-run.patch
  ppp-pidfiles.patch

New:
----
  ppp-2.5.2.tar.gz
  ppp-2.5.2.tar.gz.asc

BETA DEBUG BEGIN:
  Old:- Obsoleted patches:
  * ppp-fix-bashisms.patch
  Old:- Obsoleted patches:
  * ppp-mkdir-run.patch
  * ppp-pidfiles.patch
  Old:  * ppp-mkdir-run.patch
  * ppp-pidfiles.patch
- Drop the ppp_ prefix from /run/ppp_resolv.conf* and put it under
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ppp.spec ++++++
--- /var/tmp/diff_new_pack.lCgguR/_old  2025-02-20 16:28:36.928506973 +0100
+++ /var/tmp/diff_new_pack.lCgguR/_new  2025-02-20 16:28:36.932507141 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ppp
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define _group dialout
 Name:           ppp
-Version:        2.5.0
+Version:        2.5.2
 Release:        0
 Summary:        The Point to Point Protocol for Linux
 License:        BSD-3-Clause AND LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -50,14 +50,10 @@
 Patch0:         ppp-smpppd.patch
 # PATCH-FIX-UPSTREAM ppp-var_run_resolv_conf.patch -- Move resolv.conf to 
/var/run
 Patch3:         ppp-var_run_resolv_conf.patch
-# PATCH-FIX-UPSTREAM ppp-fix-bashisms.patch -- Remove bashism from posix shell 
interpreted script https://github.com/ppp-project/ppp/issues/348
-Patch4:         ppp-fix-bashisms.patch
 # PATCH-FIX-UPSTREAM ppp-fork-fix.patch -- fix safe_fork to not close needed 
file descriptors
 Patch5:         ppp-fork-fix.patch
 # misc tiny stuff
 Patch6:         ppp-misc.patch
-Patch7:         ppp-mkdir-run.patch
-Patch8:         ppp-pidfiles.patch
 
 # Of cause any other compatible libc would work, like musl, but 2.24 required 
for SOL_NETLINK
 BuildRequires:  glibc-devel >= 2.24
@@ -106,7 +102,6 @@
 %prep
 %autosetup -p0
 
-sed -i -e '1s/local\///' scripts/secure-card
 find scripts -type f | xargs chmod a-x
 find -type f -name '*.orig' | xargs rm -f
 
@@ -123,6 +118,9 @@
 
 %install
 make install DESTDIR=%{buildroot}
+for f in %{buildroot}%{_sysconfdir}/ppp/*.example; do
+    mv $f ${f%.example}
+done
 install -dm 750 %{buildroot}%{_sysconfdir}/ppp
 install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/ppp/options
 install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/ppp/filters

++++++ ppp-2.5.0.tar.gz -> ppp-2.5.2.tar.gz ++++++
++++ 44297 lines of diff (skipped)

++++++ ppp-misc.patch ++++++
--- /var/tmp/diff_new_pack.lCgguR/_old  2025-02-20 16:28:37.284521873 +0100
+++ /var/tmp/diff_new_pack.lCgguR/_new  2025-02-20 16:28:37.288522040 +0100
@@ -1,6 +1,6 @@
 --- pppd/auth.c.orig
 +++ pppd/auth.c
-@@ -2184,9 +2184,10 @@ check_access(FILE *f, char *filename)
+@@ -2202,9 +2202,10 @@ check_access(FILE *f, char *filename)
  
      if (fstat(fileno(f), &sbuf) < 0) {
        warn("cannot stat secret file %s: %m", filename);
@@ -16,7 +16,7 @@
  
 --- pppd/lcp.c.orig
 +++ pppd/lcp.c
-@@ -2243,7 +2243,7 @@ lcp_received_echo_reply (fsm *f, int id,
+@@ -2330,7 +2330,7 @@ lcp_received_echo_reply (fsm *f, int id,
      if (lcp_gotoptions[f->unit].neg_magicnumber
        && magic == lcp_gotoptions[f->unit].magicnumber) {
        warn("appear to have received our own echo-reply!");
@@ -24,10 +24,10 @@
 +      /* M$-Software did get this wrong so we also accept those packets. */
      }
  
-     /* Reset the number of outstanding echo frames */
+     if (lcp_rtt_file_fd && len >= 16) {
 --- pppd/pppd-private.h.orig
 +++ pppd/pppd-private.h
-@@ -545,15 +545,7 @@ int parse_dotted_ip(char *, u_int32_t *)
+@@ -552,15 +552,7 @@ int parse_dotted_ip(char *, u_int32_t *)
  #define DEBUGCHAP     1
  #endif
  

++++++ ppp-var_run_resolv_conf.patch ++++++
--- /var/tmp/diff_new_pack.lCgguR/_old  2025-02-20 16:28:37.320523380 +0100
+++ /var/tmp/diff_new_pack.lCgguR/_new  2025-02-20 16:28:37.324523547 +0100
@@ -22,12 +22,15 @@
  
 --- pppd/ipcp.c.orig
 +++ pppd/ipcp.c
-@@ -2151,10 +2151,13 @@ static void
+@@ -2155,13 +2155,16 @@ static void
  create_resolv(u_int32_t peerdns1, u_int32_t peerdns2)
  {
      FILE *f;
 +    char rcfilename[PATH_MAX];
  
+     if (noresolvconf)
+       return;
+ 
 -    f = fopen(PPP_PATH_RESOLV, "w");
 +    slprintf(rcfilename, sizeof(rcfilename), "%s.%s", PPP_PATH_RESOLV, 
ifname);
 +    
@@ -38,7 +41,7 @@
        return;
      }
  
-@@ -2165,7 +2168,7 @@ create_resolv(u_int32_t peerdns1, u_int3
+@@ -2172,7 +2175,7 @@ create_resolv(u_int32_t peerdns1, u_int3
        fprintf(f, "nameserver %s\n", ip_ntoa(peerdns2));
  
      if (ferror(f))
@@ -54,21 +57,19 @@
  #define PPP_PATH_TTYOPT         PPP_PATH_CONFDIR "/options."
  #define PPP_PATH_PEERFILES      PPP_PATH_CONFDIR "/peers/"
 -#define PPP_PATH_RESOLV         PPP_PATH_CONFDIR "/resolv.conf"
-+#define PPP_PATH_RESOLV         PPP_PATH_VARRUN  "/ppp_resolv.conf"
- 
- #define PPP_PATH_CONNERRS       PPP_PATH_VARLOG  "/connect-errors"
++#define PPP_PATH_RESOLV         PPP_PATH_VARRUN  "/ppp/resolv.conf"
  
+ #define PPP_PATH_NET_INIT     PPP_PATH_CONFDIR "/net-init"
+ #define PPP_PATH_NET_PREUP    PPP_PATH_CONFDIR "/net-pre-up"
 --- pppd/pppd.8.orig
 +++ pppd/pppd.8
-@@ -1189,8 +1189,8 @@ Ask the peer for up to 2 DNS server addr
+@@ -1199,7 +1199,7 @@ Ask the peer for up to 2 DNS server addr
  by the peer (if any) are passed to the /etc/ppp/ip\-up script in the
  environment variables DNS1 and DNS2, and the environment variable
  USEPEERDNS will be set to 1.  In addition, pppd will create an
 -/etc/ppp/resolv.conf file containing one or two nameserver lines with
--the address(es) supplied by the peer.
-+/run/ppp_resolv.conf.$INTERFACE file containing one or two nameserver
-+lines with the address(es) supplied by the peer.
++/run/ppp/resolv.conf.$INTERFACE file containing one or two nameserver lines 
with
+ the address(es) supplied by the peer (unless the \fInoresolvconf\fR
+ option is given).
  .TP
- .B usepeerwins
- Ask the peer for up to 2 WINS server addresses.  The addresses supplied
 

Reply via email to