ppp: update to 2.5.0
authorSergey Ivanov <icegood1980@gmail.com>
Sat, 17 Jun 2023 07:20:42 +0000 (10:20 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Oct 2024 13:53:06 +0000 (15:53 +0200)
commit9cecf2b16e0ea8560e50ef6719938bd80b963704
tree9d8ff1fe763539a307f73ba4ea029e91a62b09d7
parent2cea050024895a50ef536d900cc1e01e883f690c
ppp: update to 2.5.0

ChangeLog:
https://github.com/ppp-project/ppp/blob/ppp-2.5.0/ChangeLog

Upstreamed patches:
120-debian_ipv6_updown_option.patch [1]
133-fix_sha1_include.patch [2]
140-pppd-Fix-compilation-with-older-glibc-or-kernel-head.patch [3]
141-Expand-byte-count-statistics-to-64-bits-298.patch [4]
142-pppd-Add-support-for-registering-ppp-interface-via-L.patch [5]
143-pppd-Workaround-for-generating-ppp-unit-id-on-Linux-.patch [6]
144-pppd-Retry-registering-interface-when-on-rtnetlink-E.patch [7]

Suppressed patches:
200-makefile.patch [8]
201-mppe_mppc_1.1.patch [9]
203-opt_flags.patch [10]
300-filter-pcap-includes-lib.patch [11]
511-pptp_cflags.patch [12]
600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch [13]
610-pppd_compile_fix.patch [14]

[1] https://github.com/ppp-project/ppp/commit/7f8c1a1f8e486b232340fd9a0a19c5d34f1c5ae0
[2] https://github.com/ppp-project/ppp/commit/ba7f7e053daae846a54a1d08d3d133a5f1266ace
[3] https://github.com/ppp-project/ppp/commit/98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be
[4] https://github.com/ppp-project/ppp/commit/81ad945630120cc1c27c8bb00503be42b76ff202
[5] https://github.com/ppp-project/ppp/commit/4a54e34cf5629f9fed61f0b7d69ee3ba4d874bc6
[6] https://github.com/ppp-project/ppp/commit/44609bfc974bdafc0316d069aabf5e2903efa805
[7] https://github.com/ppp-project/ppp/commit/089687fbcc6524809ae9f4b2f8145fe3c2a91147
[8] enable_eaptls=no, with_pcap=no, HAVE_CRYPT_H=1 in configure
[9] enable_microsoft_extensions=yes, MPPC support is removed.
[10] fPIC ignored so far
[11] done by autotools
[12] in main patch for pptp plugin
[13] with_openssl=no, already in upstream ppp-des.c
[14] with_static_pcap=yes from patch 310

Signed-off-by: Sergey Ivanov <icegood1980@gmail.com>
* Fix package hash.
* Fix multilink variant build.
* Fix some compile errors.
* Some code format fixes.
* Refactor commit message.
* Rebase git and fix conflicts.

Co-authored-by: Shiji Yang <yangshiji66@qq.com>
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16605
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
34 files changed:
package/network/services/ppp/Makefile
package/network/services/ppp/patches/010-use_target_for_configure.patch
package/network/services/ppp/patches/105-debian_demand.patch
package/network/services/ppp/patches/120-debian_ipv6_updown_option.patch [deleted file]
package/network/services/ppp/patches/133-fix_sha1_include.patch [deleted file]
package/network/services/ppp/patches/140-pppd-Fix-compilation-with-older-glibc-or-kernel-head.patch [deleted file]
package/network/services/ppp/patches/141-Expand-byte-count-statistics-to-64-bits-298.patch [deleted file]
package/network/services/ppp/patches/142-pppd-Add-support-for-registering-ppp-interface-via-L.patch [deleted file]
package/network/services/ppp/patches/143-pppd-Workaround-for-generating-ppp-unit-id-on-Linux-.patch [deleted file]
package/network/services/ppp/patches/144-pppd-Retry-registering-interface-when-on-rtnetlink-E.patch [deleted file]
package/network/services/ppp/patches/200-makefile.patch [deleted file]
package/network/services/ppp/patches/201-mppe_mppc_1.1.patch [deleted file]
package/network/services/ppp/patches/203-opt_flags.patch [deleted file]
package/network/services/ppp/patches/204-radius_config.patch
package/network/services/ppp/patches/205-no_exponential_timeout.patch
package/network/services/ppp/patches/207-lcp_mtu_max.patch
package/network/services/ppp/patches/208-fix_status_code.patch
package/network/services/ppp/patches/300-filter-pcap-includes-lib.patch [deleted file]
package/network/services/ppp/patches/310-precompile_filter.patch
package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch
package/network/services/ppp/patches/330-retain_foreign_default_routes.patch
package/network/services/ppp/patches/340-populate_default_gateway.patch
package/network/services/ppp/patches/400-simplify_kernel_checks.patch
package/network/services/ppp/patches/401-no_record_file.patch
package/network/services/ppp/patches/403-no_wtmp.patch
package/network/services/ppp/patches/404-remove_obsolete_protocol_names.patch
package/network/services/ppp/patches/405-no_multilink_option.patch
package/network/services/ppp/patches/500-add-pptp-plugin.patch
package/network/services/ppp/patches/510-pptp_compile_fix.patch
package/network/services/ppp/patches/511-pptp_cflags.patch [deleted file]
package/network/services/ppp/patches/520-u_int_bsd_fix.patch [new file with mode: 0644]
package/network/services/ppp/patches/521-remove_unused_openssl_dep.patch [new file with mode: 0644]
package/network/services/ppp/patches/600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch [deleted file]
package/network/services/ppp/patches/610-pppd_compile_fix.patch [deleted file]