]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commit
ppp: Fixes bug#13164 - Update to version 2.5.0
authorAdolf Belka <adolf.belka@ipfire.org>
Sun, 2 Jul 2023 09:54:32 +0000 (11:54 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 7 Aug 2023 14:10:42 +0000 (14:10 +0000)
commit27a3ef9834eed9d17e89b7751823998bf309a1f5
tree82fca45a1db1ff296b77c00c6324954cdc8f02b1
parentff8ce0d7627e783429099a63f1cb8dbb01ff6ffb
ppp: Fixes bug#13164 - Update to version 2.5.0

- Update from version 2.4.9 to 2.5.0
   This includes breaking changes for third-party plugins but as far as I can see IPFire
    is not using any third party plugins
- Update of rootfile
- Update of patches and sed commands
   - pcap-int.h and if_pppol2tp.h files have not been in source file since at least 2014
   - Some of the patches required updates as additional lines needing to be patched are
      now present. nThis was related to the O_CLOEXEC & SOCK_CLOEXEC related patches
   - connect-errors file location is now defined by a configure command --with-logfile-dir
- install-etcppp is no longer provided. However the install command in this version still
   has the same files available in /etc/ppp as previously. There is a new file,
   openssl.cnf, which I have commented out. If it is required in future it can always be
   uncommented in future releases.
- Build went without any problems with the updated patches.
- I cannot test this as I don't use ppp, however the original bug reporter has agreed to
   test this out when it is released into Testing unless anyone else is capable of testing
   it.
- Changelog
    What's new in ppp-2.5.0.
The 2.5.0 release is a major release of pppd which contains breaking
 changes for third-party plugins, a complete revamp of the build-system
 and that allows for flexibility of configuring features as needed.
In Summary:
* Support for PEAP authentication by Eivind Næss and Rustam Kovhaev
* Support for loading PKCS12 certificate envelopes
* Adoption of GNU Autoconf / Automake build environment, by Eivind Næss
  and others.
* Support for pkgconfig tool has been added by Eivind Næss.
* Bunch of fixes and cleanup to PPPoE and IPv6 support by Pali Rohár.
* Major revision to PPPD's Plugin API by Eivind Næss.
  - Defines in which describes what features was included in pppd
  - Functions now prefixed with explicit ppp_* to indicate that
    pppd functions being called.
  - Header files were renamed to better align with their features,
    and now use proper include guards
  - A pppdconf.h file is supplied to allow third-party modules to use
    the same feature defines pppd was compiled with.
  - No extern declarations of internal variable names of pppd,
    continued use of these extern variables are considered
    unstable.
* Lots of internal fixes and cleanups for Radius and PPPoE by Jaco Kroon
* Dropped IPX support, as Linux has dropped support in version 5.15
  for this protocol.
* Many more fixes and cleanups.
* Pppd is no longer installed setuid-root.
* New pppd options:
  - ipv6cp-noremote, ipv6cp-nosend, ipv6cp-use-remotenumber,
    ipv6-up-script, ipv6-down-script
  - -v, show-options
  - usepeerwins, ipcp-no-address, ipcp-no-addresses, nosendip
* On Linux, any baud rate can be set on a serial port provided the
  kernel serial driver supports that.
Note that if you have built and installed previous versions of this
 package and you want to continue having configuration and TDB files in
 /etc/ppp, you will need to use the --sysconfdir option to ./configure.
For a list of the changes made during the 2.4 series releases of this
 package, see the Changes-2.4 file.
Compression methods.
This package supports two packet compression methods: Deflate and
 BSD-Compress.  Other compression methods which are in common use
 include Predictor, LZS, and MPPC.  These methods are not supported for
 two reasons - they are patent-encumbered, and they cause some packets
 to expand slightly, which pppd doesn't currently allow for.
 BSD-Compress and Deflate (which uses the same algorithm as gzip) don't
 ever expand packets.

Fixes: bug#13164
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
12 files changed:
config/rootfiles/common/ppp
lfs/ppp
src/patches/ppp/0014-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch [deleted file]
src/patches/ppp/ppp-2.4.6-increase-max-padi-attempts.patch [deleted file]
src/patches/ppp/ppp-2.4.7-headers_4.9.patch [deleted file]
src/patches/ppp/ppp-2.4.9-patch-configure-to-handle-cflags-properly.patch [deleted file]
src/patches/ppp/ppp-2.5.0-1-we-don-t-want-to-accidentally-leak-fds.patch [moved from src/patches/ppp/0012-pppd-we-don-t-want-to-accidentally-leak-fds.patch with 54% similarity]
src/patches/ppp/ppp-2.5.0-2-everywhere-O_CLOEXEC-harder.patch [moved from src/patches/ppp/0013-everywhere-O_CLOEXEC-harder.patch with 63% similarity]
src/patches/ppp/ppp-2.5.0-3-everywhere-use-SOCK_CLOEXEC-when-creating-socket.patch [new file with mode: 0644]
src/patches/ppp/ppp-2.5.0-4-increase-max-padi-attempts.patch [new file with mode: 0644]
src/patches/ppp/ppp-2.5.0-5-headers_4.9.patch [new file with mode: 0644]
src/patches/ppp/ppp-2.5.0-6-patch-configure-to-handle-cflags-properly.patch [new file with mode: 0644]