SHA256
1
0
forked from pool/ppp

Compare commits

...

94 Commits

Author SHA256 Message Date
Ana Guerrero
412dab52ba Accepting request 1247103 from network
- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/1247103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=54
2025-02-20 15:27:29 +00:00
Reinhard Max
473419fb53 - 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

- 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

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=86
2025-02-19 13:38:28 +00:00
Ana Guerrero
ef0b5f708f Accepting request 1187482 from network
OBS-URL: https://build.opensuse.org/request/show/1187482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=53
2024-07-15 17:46:23 +00:00
Dominique Leuenberger
6b31c6b1dc Accepting request 1154016 from network
OBS-URL: https://build.opensuse.org/request/show/1154016
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=52
2024-03-03 19:18:59 +00:00
bf5fcb5441 Accepting request 1153299 from home:dimstar:rpm4.20:p
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1153299
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=82
2024-03-01 13:13:21 +00:00
Ana Guerrero
d3b32c891c Accepting request 1139724 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1139724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=51
2024-01-19 22:00:09 +00:00
Reinhard Max
a1bd3b005b - Backport ppp-pidfiles.patch and ppp-mkdir-run.patch from the
upcoming 2.5.1 release and make sure that pppd's pid, resolv
  and database files are created under /run/ppp (bsc#1218370).

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=80
2024-01-11 13:33:49 +00:00
Reinhard Max
0df2d74147 - Reflect the rp-pppoe -> pppoe name change also in pppoe-peers.
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=79
2023-12-28 10:40:21 +00:00
Ana Guerrero
fa2af14574 Accepting request 1134222 from network
- Update to version 2.5.0. This 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.
  * CVE-2022-4603, bsc#1218251: improper validation of array index
    of the component pppdump
  * Support for PEAP authentication
  * Support for loading PKCS12 certificate envelopes
  * Adoption of GNU Autoconf / Automake build environment
  * Support for pkgconfig
  * Bunch of fixes and cleanup to PPPoE and IPv6 support
  * Major revision to PPPD's Plugin API
  * Lots of internal fixes and cleanups for Radius and PPPoE
  * Dropped IPX support, as Linux has dropped it in version 5.15
  * 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.
- Obsoleted patches:
  * ppp-lib64.patch
  * ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch
  * ppp-pie.patch
- Source file pppoe-discovery.8.gz is now part of the tarball.
- Enable support for systemd notification.

OBS-URL: https://build.opensuse.org/request/show/1134222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=50
2023-12-21 22:37:27 +00:00
Reinhard Max
2927176af0 - Source file pppoe-discovery.8.gz is now part of the tarball.
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=77
2023-12-20 13:28:00 +00:00
Reinhard Max
19a05fd8ee * CVE-2022-4603, bsc#1218251: improper validation of array index
of the component pppdump

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=76
2023-12-20 10:40:13 +00:00
Reinhard Max
5d5a2e27d9 - Update to version 2.5.0. This 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.
  * Support for PEAP authentication
  * Support for loading PKCS12 certificate envelopes
  * Adoption of GNU Autoconf / Automake build environment
  * Support for pkgconfig
  * Bunch of fixes and cleanup to PPPoE and IPv6 support
  * Major revision to PPPD's Plugin API
  * Lots of internal fixes and cleanups for Radius and PPPoE
  * Dropped IPX support, as Linux has dropped it in version 5.15
  * 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.
- Obsoleted patches:
  * ppp-lib64.patch
  * ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch
  * ppp-pie.patch
- Enable support for systemd notification.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=75
2023-07-05 15:45:43 +00:00
Dominique Leuenberger
1770bae85f Accepting request 1057041 from network
OBS-URL: https://build.opensuse.org/request/show/1057041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=49
2023-01-10 13:59:19 +00:00
Reinhard Max
cbbd2225e4 Accepting request 1045658 from home:schubi2:pam_usr_etc
- Migration of PAM settings to /usr/lib/pam.d.

OBS-URL: https://build.opensuse.org/request/show/1045658
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=73
2023-01-09 11:03:07 +00:00
Dominique Leuenberger
4eef21a1dd Accepting request 979444 from network
OBS-URL: https://build.opensuse.org/request/show/979444
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=48
2022-05-27 22:28:00 +00:00
Reinhard Max
bbb3a9fd5f Accepting request 979388 from home:marxin:branches:network
- Add ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch
  that fixed the following rpmlint error:
  executable-stack (Badness: 10000) /usr/sbin/pppd

OBS-URL: https://build.opensuse.org/request/show/979388
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=71
2022-05-27 07:10:38 +00:00
Dominique Leuenberger
78fe461988 Accepting request 978760 from network
OBS-URL: https://build.opensuse.org/request/show/978760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=47
2022-05-24 18:31:08 +00:00
Reinhard Max
c3684bde70 Accepting request 978755 from home:susnux:branches:network
Update to version 2.4.9

OBS-URL: https://build.opensuse.org/request/show/978755
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=69
2022-05-23 16:49:45 +00:00
Dominique Leuenberger
8d513cf3b5 Accepting request 961701 from network
OBS-URL: https://build.opensuse.org/request/show/961701
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=46
2022-03-15 18:04:14 +00:00
Reinhard Max
8e86eccadd Accepting request 960801 from home:13ilya:branches:network
- Removed Wants=network.target from modem@.service (bsc#1196359).

OBS-URL: https://build.opensuse.org/request/show/960801
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=67
2022-03-14 14:19:26 +00:00
Dominique Leuenberger
27b2f43034 Accepting request 863670 from network
OBS-URL: https://build.opensuse.org/request/show/863670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=45
2021-01-19 15:00:25 +00:00
dd33c4036c Accepting request 847054 from home:13ilya:branches:network
- Refresh spec-file via spec-cleaner and manual optimizations.
  * Removed obsolete constructs (creating dialout group via shadow).

OBS-URL: https://build.opensuse.org/request/show/847054
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=65
2021-01-16 15:16:49 +00:00
Dominique Leuenberger
860f99865b Accepting request 844105 from network
OBS-URL: https://build.opensuse.org/request/show/844105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=44
2020-10-29 08:22:04 +00:00
b50219dfe5 Accepting request 840416 from home:dimstar:Factory
- Fix build with RPM 4.16: error: bare words are no longer
  supported, please use "...":  lib64 == lib64.

OBS-URL: https://build.opensuse.org/request/show/840416
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=63
2020-10-26 14:19:04 +00:00
Dominique Leuenberger
ac9ea8d18e Accepting request 824334 from network
- New version 2.4.8.
  * New pppd options have been added:
    * ifname, to set the name for the PPP interface device
    * defaultroute-metric, to set the metric for the default route
    * defaultroute6, to add an IPv6 default route (with
      nodefaultroute6 to prevent adding an IPv6 default route).
    * up_sdnotify, to have pppd notify systemd when the link is up.
  * The rp-pppoe plugin has new options:
    * host-uniq, to set the Host-Uniq value to send
    * pppoe-padi-timeout, to set the timeout for discovery packets
    * pppoe-padi-attempts, to set the number of discovery attempts.
  * Added the CLASS attribute in radius packets.
  * Fixed warnings and issues found by static analysis.
- Obsoleted patches:
  * ppp-2.4.3-pppoatm.diff
  * ppp-2.4.4-strncatfix.patch
  * ppp-2.4.6-ifname.diff
  * ppp-2.4.7-DES-openssl.patch
  * ppp-2.4.7.tar.gz.asc
  * ppp-send-padt.patch
- Patches that got renamed, because they needed rediffing:
  * ppp-2.4.1-higher-speeds.diff -> ppp-higher-speeds.patch
  * ppp-2.4.1-higher-speeds.diff -> ppp-higher-speeds.patch
  * ppp-2.4.2-__P.diff -> ppp-__P.patch
  * ppp-2.4.2-cifdefroute.diff -> ppp-cifdefroute.patch
  * ppp-2.4.2-pie.patch -> ppp-pie.patch
  * ppp-2.4.2-smpppd.diff -> ppp-smpppd.patch
  * ppp-2.4.3-filter.diff -> ppp-filter.patch
  * ppp-2.4.3-fork-fix.diff -> ppp-fork-fix.patch
  * ppp-2.4.4-var_run_resolv_conf.patch -> ppp-var_run_resolv_conf.patch
  * ppp-2.4.6-lib64.patch -> ppp-lib64.patch
  * ppp-2.4.6-make.diff -> ppp-make.patch
  * ppp-2.4.6-misc.diff -> ppp-misc.patch
  * ppp-2.4.7-fix-bashisms.patch -> ppp-fix-bashisms.patch
- bsc#1172916: Fix an outdated comment for lcp-echo-interval.

OBS-URL: https://build.opensuse.org/request/show/824334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=43
2020-08-06 15:30:40 +00:00
Reinhard Max
98d2a3b244 * ppp-2.4.7-fix-bashisms.patch -> ppp-fix-bashisms.patch
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=61
2020-08-04 13:07:49 +00:00
Reinhard Max
4505baafb8 - New version 2.4.8.
* New pppd options have been added:
    * ifname, to set the name for the PPP interface device
    * defaultroute-metric, to set the metric for the default route
    * defaultroute6, to add an IPv6 default route (with
      nodefaultroute6 to prevent adding an IPv6 default route).
    * up_sdnotify, to have pppd notify systemd when the link is up.
  * The rp-pppoe plugin has new options:
    * host-uniq, to set the Host-Uniq value to send
    * pppoe-padi-timeout, to set the timeout for discovery packets
    * pppoe-padi-attempts, to set the number of discovery attempts.
  * Added the CLASS attribute in radius packets.
  * Fixed warnings and issues found by static analysis.
- Obsoleted patches:
  [...]
- Patches that got renamed, because they needed rediffing:
 [...] 
- bsc#1172916: Fix an outdated comment for lcp-echo-interval.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=60
2020-08-03 15:45:36 +00:00
Yuchen Lin
37c03bb0db Accepting request 807561 from network
OBS-URL: https://build.opensuse.org/request/show/807561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=42
2020-05-26 15:14:10 +00:00
882fac0063 Accepting request 807367 from home:dimstar:Factory
- Fixup previous fix: use the defined macro %_unitdir for the
  systemd unit.

OBS-URL: https://build.opensuse.org/request/show/807367
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=58
2020-05-20 09:49:23 +00:00
Reinhard Max
c35dc1271b Accepting request 800960 from home:pgajdos:libexec
- /usr/lib/systemd instead %{_libexecdir}/systemd

OBS-URL: https://build.opensuse.org/request/show/800960
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=57
2020-05-07 08:00:58 +00:00
Dominique Leuenberger
b966cbacdc Accepting request 798108 from network
- add upstream signing keyring and verify source signature (forwarded request 798048 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/798108
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=41
2020-04-29 18:41:15 +00:00
Reinhard Max
734d4c7e06 Accepting request 798048 from home:AndreasStieger:branches:network
- add upstream signing keyring and verify source signature

OBS-URL: https://build.opensuse.org/request/show/798048
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=55
2020-04-27 08:01:34 +00:00
Dominique Leuenberger
a906a6c47e Accepting request 783453 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/783453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=40
2020-03-14 08:53:48 +00:00
Reinhard Max
50c623431c - Add pam_keyinit to /etc/pam.d/ppp (bsc#1144055).
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=53
2020-03-03 14:47:09 +00:00
Dominique Leuenberger
105d4f1a3f Accepting request 772130 from network
- CVE-2020-8597, bsc#1162610, ppp-CVE-2020-8597.patch: rhostname
  buffer overflow in the  eap_request and eap_response functions.

OBS-URL: https://build.opensuse.org/request/show/772130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=39
2020-02-15 21:23:36 +00:00
Reinhard Max
4e816d705b OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=51 2020-02-07 15:28:45 +00:00
Reinhard Max
782ca703b2 OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=50 2020-02-07 15:27:32 +00:00
Reinhard Max
22ec66be50 - CVE-2020-8597, bsc#1162610: rhostname buffer overflow in the
eap_request and eap_response functions.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=49
2020-02-07 14:48:55 +00:00
Dominique Leuenberger
c6c23a07eb Accepting request 640619 from network
OBS-URL: https://build.opensuse.org/request/show/640619
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=38
2018-10-12 11:09:12 +00:00
Ismail Dönmez
47136598ad Accepting request 639994 from home:Andreas_Schwab:Factory
- ppp-2.4.7-DES-openssl.patch: Use openssl instead of libcrypt for DES

OBS-URL: https://build.opensuse.org/request/show/639994
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=47
2018-10-08 13:08:33 +00:00
Dominique Leuenberger
931329229c Accepting request 547370 from network
OBS-URL: https://build.opensuse.org/request/show/547370
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=37
2017-12-04 08:59:46 +00:00
OBS User mrdocs
d4a837a1b8 Accepting request 545313 from home:13ilya:branches:network
- Refresh spec-file via spec-cleaner.
- Add ppp-modem package for automatic redial to mobile provider.

OBS-URL: https://build.opensuse.org/request/show/545313
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=45
2017-12-02 04:17:03 +00:00
Dominique Leuenberger
9af7e390b4 Accepting request 545185 from network
OBS-URL: https://build.opensuse.org/request/show/545185
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=36
2017-11-29 09:50:05 +00:00
Reinhard Max
291f847d16 Accepting request 544773 from home:13ilya:branches:network
- Add Requires group(dialout) (boo#1067511).

OBS-URL: https://build.opensuse.org/request/show/544773
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=43
2017-11-24 12:58:52 +00:00
Dominique Leuenberger
67d6d587b8 Accepting request 503394 from network
1

OBS-URL: https://build.opensuse.org/request/show/503394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=35
2017-06-23 07:13:36 +00:00
Thorsten Kukuk
0187af40de Accepting request 503393 from home:kukuk:branches:network
This package needs permissions from Base:System to build

- Add /etc/ppp, this directory is no longer part of filesystem.
  Most likely requiring sysconfig would be necessary.

OBS-URL: https://build.opensuse.org/request/show/503393
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=41
2017-06-13 13:51:55 +00:00
OBS User mrdocs
1a0a7952df Accepting request 502808 from home:msmeissn:branches:network
- ppp-2.4.2-pie.patch: also enable PIE for /usr/sbin/pppstats

OBS-URL: https://build.opensuse.org/request/show/502808
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=40
2017-06-11 23:15:09 +00:00
Dominique Leuenberger
c5ac1bae88 Accepting request 445128 from network
- Use system-wide libatm instead of local copy (boo#1013567).

OBS-URL: https://build.opensuse.org/request/show/445128
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=34
2016-12-13 18:32:22 +00:00
Reinhard Max
aa82edec2b - Use system-wide libatm instead of local copy (boo#1013567).
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=38
2016-12-09 15:31:40 +00:00
Dominique Leuenberger
2930ccdd33 Accepting request 435743 from network
1

OBS-URL: https://build.opensuse.org/request/show/435743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=33
2016-11-04 19:48:45 +00:00
8b660d9265 Accepting request 435709 from home:Andreas_Schwab:Factory
- fix-header-conflict.patch: avoid conflict with kernel headers

OBS-URL: https://build.opensuse.org/request/show/435709
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=36
2016-10-17 12:51:45 +00:00
Dominique Leuenberger
cbabb497b0 Accepting request 344305 from network
1

OBS-URL: https://build.opensuse.org/request/show/344305
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=32
2015-11-18 21:31:18 +00:00
27c0649129 Accepting request 344304 from home:aeneas_jaissle:branches:network
OBS-URL: https://build.opensuse.org/request/show/344304
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=34
2015-11-13 23:24:28 +00:00
Reinhard Max
35d7529f29 OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=33 2015-11-13 16:06:49 +00:00
Reinhard Max
ae7ba71314 - bnc#927841, CVE-2015-3310: Fix buffer overflow in radius
plug-in's rc_mksid().

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=32
2015-11-13 15:39:47 +00:00
Reinhard Max
eec413c3c3 reverting premature acceptance of sr
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=31
2015-07-13 14:12:34 +00:00
Rusmir Duško
7a3480c41a Accepting request 316447 from home:jkeil:branches:network
- Add ppp@.service unit file for systemd
  * start/stops a configured connection over ppp (e.g. ppp@PROVIDER)

OBS-URL: https://build.opensuse.org/request/show/316447
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=30
2015-07-13 13:59:41 +00:00
Dominique Leuenberger
ffa1e43915 Accepting request 262934 from network
1

OBS-URL: https://build.opensuse.org/request/show/262934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=31
2014-11-26 09:35:23 +00:00
Stefan Seyfried
b137e0142e Accepting request 262262 from home:Ledest:bashisms
fix bashisms in redialer script

OBS-URL: https://build.opensuse.org/request/show/262262
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=28
2014-11-25 07:55:34 +00:00
Stephan Kulow
7293728234 Accepting request 245614 from network
- Update to 2.4.7:
  * Fixed a potential security issue in parsing option files
    (CVE-2014-3158, bnc#891489).
  * There is a new "stop-bits" option, which takes an argument of
    1 or 2, indicating the number of stop bits to use for async serial
    ports.
  * Various bug fixes.

OBS-URL: https://build.opensuse.org/request/show/245614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=29
2014-08-25 09:03:05 +00:00
Reinhard Max
b31f727da6 Delete .orig files
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=26
2014-08-21 13:25:59 +00:00
Reinhard Max
0ef11af2d6 rediff Patch2
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=25
2014-08-21 13:20:57 +00:00
Reinhard Max
725cab8d64 - Update to 2.4.7:
* Fixed a potential security issue in parsing option files
    (CVE-2014-3158, bnc#891489).
  * There is a new "stop-bits" option, which takes an argument of
    1 or 2, indicating the number of stop bits to use for async serial
    ports.
  * Various bug fixes.

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=24
2014-08-21 12:17:10 +00:00
Tomáš Chvátal
304ca4be39 Accepting request 226916 from network
New upstream release 2.4.6 (forwarded request 226897 from aeneas_jaissle)

OBS-URL: https://build.opensuse.org/request/show/226916
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=28
2014-03-23 21:29:36 +00:00
Lars Vogdt
8c5154bcc1 Accepting request 226897 from home:aeneas_jaissle:branches:network
New upstream release 2.4.6

OBS-URL: https://build.opensuse.org/request/show/226897
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=22
2014-03-20 23:17:52 +00:00
Stephan Kulow
227704e976 Accepting request 197120 from network
- Add ppp-terminate-correct.patch, fix the pppd's hang after exit
  (bnc#693469).

OBS-URL: https://build.opensuse.org/request/show/197120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=26
2013-09-04 12:02:56 +00:00
Reinhard Max
8645b29a31 - Add ppp-terminate-correct.patch, fix the pppd's hang after exit
(bnc#693469).

OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=20
2013-09-02 14:46:01 +00:00
Stephan Kulow
f99d869954 Accepting request 185232 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/185232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=25
2013-08-01 15:14:05 +00:00
Reinhard Max
41e209bbc8 - ppp-send-padt.patch: Send PADT at the end of a PPPoE session.
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=18
2013-07-24 12:57:01 +00:00
Stephan Kulow
86c40ebacb Accepting request 157100 from network
license update: BSD-3-Clause and LGPL-2.1+ and GPL-2.0+
GPL-2.0 matches found in ppp-2.4.5/include/linux/if_pppol2tp.h             (forwarded request 156999 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/157100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=24
2013-03-05 14:20:06 +00:00
Stefan Seyfried
de4b742b29 Accepting request 156999 from home:babelworx:ldig:branches:network
license update: BSD-3-Clause and LGPL-2.1+ and GPL-2.0+
GPL-2.0 matches found in ppp-2.4.5/include/linux/if_pppol2tp.h

OBS-URL: https://build.opensuse.org/request/show/156999
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=16
2013-03-02 11:28:44 +00:00
Sascha Peilicke
352e49eb0f Accepting request 156501 from openSUSE:Factory:Staging:spdx
update license to new format

OBS-URL: https://build.opensuse.org/request/show/156501
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=15
2013-02-27 08:40:13 +00:00
Stephan Kulow
e58249ed16 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=21
2011-12-06 17:53:01 +00:00
Sascha Peilicke
0be1d47b71 Autobuild autoformatter for 79523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=19
2011-08-23 08:54:13 +00:00
Sascha Peilicke
28bc9bd36b Accepting request 79523 from network
- remove extra dependencies from doc files (forwarded request 78678 from coolo)

OBS-URL: https://build.opensuse.org/request/show/79523
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=18
2011-08-23 08:54:04 +00:00
Stephan Kulow
e9585127be Accepting request 78678 from home:coolo:branches:openSUSE:Factory
- remove extra dependencies from doc files

OBS-URL: https://build.opensuse.org/request/show/78678
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=13
2011-08-23 07:30:36 +00:00
Berthold Gunreben
6c1276a2bc Autobuild autoformatter for 57142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=16
2011-01-05 14:57:58 +00:00
Berthold Gunreben
0fe8211f2f Accepting request 57142 from network
Accepted submit request 57142 from user coolo

OBS-URL: https://build.opensuse.org/request/show/57142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=15
2011-01-05 14:57:44 +00:00
Stephan Kulow
03dee9706c - refresh patch
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=11
2011-01-05 10:17:37 +00:00
Stephan Kulow
f6da706b41 Accepting request 57136 from home:a_jaeger:branches:openSUSE:Factory
I fix the i586 build failure too :)

OBS-URL: https://build.opensuse.org/request/show/57136
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=10
2011-01-05 10:03:32 +00:00
OBS User autobuild
d83ba1d4e7 Accepting request 37098 from network
Copy from network/ppp based on submit request 37098 from user coolo

OBS-URL: https://build.opensuse.org/request/show/37098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=12
2010-04-07 16:04:56 +00:00
OBS User autobuild
85d9324d85 Accepting request 37098 from network
checked in (request 37098)

OBS-URL: https://build.opensuse.org/request/show/37098
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=9
2010-04-07 16:04:55 +00:00
Stephan Kulow
c28179ea0e Accepting request 37040 from home:coolo:branches:openSUSE:Factory
Copy from home:coolo:branches:openSUSE:Factory/ppp via accept of submit request 37040 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/37040
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=8
2010-04-06 09:12:43 +00:00
OBS User autobuild
1be89728d5 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=11 2010-03-18 15:23:01 +00:00
OBS User buildservice-autocommit
9861f33aaa Updating link to change in openSUSE:Factory/ppp revision 11.0
OBS-URL: https://build.opensuse.org/package/show/network/ppp?expand=0&rev=8ff7755a6aa540be7198eba33e95130a
2010-03-18 15:23:01 +00:00
OBS User autobuild
6283702866 Accepting request 28260 from network
Copy from network/ppp based on submit request 28260 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28260
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=10
2010-01-08 00:43:57 +00:00
OBS User autobuild
9df421b61f Accepting request 24479 from network
Copy from network/ppp based on submit request 24479 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=9
2009-11-16 11:54:31 +00:00
OBS User unknown
0185b2b962 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=7 2008-10-23 10:29:18 +00:00
OBS User unknown
66ae7d4bf1 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=6 2008-09-15 10:22:18 +00:00
OBS User unknown
80322fa51e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=5 2008-05-22 02:14:09 +00:00
OBS User unknown
66892a4a4a OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=4 2008-04-06 06:00:17 +00:00
OBS User unknown
3747d3a597 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=3 2007-08-23 23:57:20 +00:00
OBS User unknown
101841c191 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=2 2007-07-27 00:08:13 +00:00
OBS User unknown
24ead714ff OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ppp?expand=0&rev=1 2006-12-19 16:17:30 +00:00
12 changed files with 74 additions and 563 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cae0e8075f8a1755f16ca290eb44e6b3545d3f292af4da65ecffe897de636ff
size 1170057

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQFGBAABCAAwFiEEv0VLfXa2m9eKuaRpnZrqdyxjcZ8FAmQrvoQSHHBhdWx1c0Bv
emxhYnMub3JnAAoJEJ2a6ncsY3Gfx+YH/3DJdp8pCZDaONwBADpWc9ttGAusH3k6
fsOntaWKumy5HyJIF7h/ArDvYiAUeO3rgSckZS9o94u3OfkDxP4uf9AnGWBPzCir
CAwUes6JIP23IHAI5uLnSqo72lGtsRNbh95H8PALobKGN/Im+CTi2j6FIx+Nnf2f
6GRSJuw+OSRDzp+rJb1osAoUyuMnRpogXuQAAAeKJAHFDC+98vInQhDmwcu7wNWP
rhR1PrviW8nIsikwRQQptCQNC35DVI3IYUg3L1o8Y2LU1ofF3gYtX7lDF7IthqLM
pUPy+ddE8AsOiHOnKKIxzH9YFy9/xABQmtFLRJDAT24BHe1BCTyqniI=
=4tVk
-----END PGP SIGNATURE-----

3
ppp-2.5.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47da358de54a10cb10bf6ff2cf9b1c03c0d3555518f6182e8f701b8e55733cb2
size 973132

11
ppp-2.5.2.tar.gz.asc Normal file
View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
iQEzBAABCAAdFiEEv0VLfXa2m9eKuaRpnZrqdyxjcZ8FAmdze4gACgkQnZrqdyxj
cZ+crgf+IA+VDraa4/0+cnlvI/meqgia/K9nQG9JXt7cLouqNqwJyNV4j5RO8WxO
x/iI2l7UMTMxYs3iRgm7GJwUTlt5m7jtV3pR9h1Vpu1Zco4POmCsL5dB8GLA4F2l
AYvSTiK68rVCFsBurlqvL1ZTvXVHScKKFSbn8YjFHMJ5i3UHyCElaK2H2Bhpzqtx
8+t4yaI0+N+M7xwiT+CZym+xWi02uhZS+dSUmHpMrEL7zQKEQE83aVY9sazo9Q4Y
gKJ/TwTDnZQ/QqXraY7LlOSKxrzRQ3KyW6bJJlCE2sM3vW7TXXlYsy7OyLZmYAm5
oJoo4hC03pxz6ycIqSPMax/A0BUfTA==
=5RCg
-----END PGP SIGNATURE-----

View File

@ -1,29 +0,0 @@
--- scripts/redialer.orig
+++ scripts/redialer
@@ -31,7 +31,7 @@ PASSWORD=my_password
# Function to initialize the modem and ensure that it is in command
# state. This may not be needed, but it doesn't hurt.
#
-function initialize
+initialize()
{
chat -v TIMEOUT 3 '' AT 'OK-+++\c-OK'
return
@@ -41,7 +41,7 @@ function initialize
#
# Script to dial a telephone
#
-function callnumber
+callnumber()
{
chat -v \
ABORT '\nBUSY\r' \
@@ -66,7 +66,7 @@ chat -v \
#
# Script to dial any telephone number
#
-function callall
+callall()
{
# echo "dialing attempt number: $1" >/dev/console
callnumber $PHONE1

View File

@ -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

View File

@ -1,453 +0,0 @@
From b0e7307b3569a5dad0f2606d2736cc8317851598 Mon Sep 17 00:00:00 2001
From: Dominique Martinet <dominique.martinet@atmark-techno.com>
Date: Wed, 30 Aug 2023 11:46:01 +0900
Subject: [PATCH 1/2] utils: add mkdir_recursive
This will be used in the next commit.
A test file for utils has also been added to check mkdir works as
intended.
Signed-off-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
---
pppd/Makefile.am | 6 ++
pppd/pppd-private.h | 1 +
pppd/utils.c | 82 ++++++++++++++++++++++++++
pppd/utils_utest.c | 139 ++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 228 insertions(+)
create mode 100644 pppd/utils_utest.c
--- pppd/Makefile.am.orig
+++ pppd/Makefile.am
@@ -20,6 +20,12 @@ utest_pppcrypt_LDFLAGS =
check_PROGRAMS += utest_crypto
+utest_utils_SOURCES = utils.c utils_utest.c
+utest_utils_CPPFLAGS = -DUNIT_TEST
+utest_utils_LDFLAGS =
+
+check_PROGRAMS += utest_utils
+
if WITH_SRP
sbin_PROGRAMS += srp-entry
dist_man8_MANS += srp-entry.8
--- pppd/pppd-private.h.orig
+++ pppd/pppd-private.h
@@ -437,6 +437,7 @@ int sifproxyarp(int, u_int32_t);
int cifproxyarp(int, u_int32_t);
/* Delete proxy ARP entry for peer */
u_int32_t GetMask(u_int32_t); /* Get appropriate netmask for address */
+int mkdir_recursive(const char *); /* Recursively create directory */
int lock(char *); /* Create lock file for device */
int relock(int); /* Rewrite lock file with new pid */
void unlock(void); /* Delete previously-created lock file */
--- pppd/utils.c.orig
+++ pppd/utils.c
@@ -781,6 +781,88 @@ complete_read(int fd, void *buf, size_t
}
#endif
+/*
+ * mkdir_check - helper for mkdir_recursive, creates a directory
+ * but do not error on EEXIST if and only if entry is a directory
+ * The caller must check for errno == ENOENT if appropriate.
+ */
+static int
+mkdir_check(const char *path)
+{
+ struct stat statbuf;
+
+ if (mkdir(path, 0755) >= 0)
+ return 0;
+
+ if (errno == EEXIST) {
+ if (stat(path, &statbuf) < 0)
+ /* got raced? */
+ return -1;
+
+ if ((statbuf.st_mode & S_IFMT) == S_IFDIR)
+ return 0;
+
+ /* already exists but not a dir, treat as failure */
+ errno = EEXIST;
+ return -1;
+ }
+
+ return -1;
+}
+
+/*
+ * mkdir_parent - helper for mkdir_recursive, modifies the string in place
+ * Assumes mkdir(path) already failed, so it first creates the parent then
+ * full path again.
+ */
+static int
+mkdir_parent(char *path)
+{
+ char *slash;
+ int rc;
+
+ slash = strrchr(path, '/');
+ if (!slash)
+ return -1;
+
+ *slash = 0;
+ if (mkdir_check(path) < 0) {
+ if (errno != ENOENT) {
+ *slash = '/';
+ return -1;
+ }
+ if (mkdir_parent(path) < 0) {
+ *slash = '/';
+ return -1;
+ }
+ }
+ *slash = '/';
+
+ return mkdir_check(path);
+}
+
+/*
+ * mkdir_recursive - recursively create directory if it didn't exist
+ */
+int
+mkdir_recursive(const char *path)
+{
+ char *copy;
+ int rc;
+
+ // optimistically try on full path first to avoid allocation
+ if (mkdir_check(path) == 0)
+ return 0;
+
+ copy = strdup(path);
+ if (!copy)
+ return -1;
+
+ rc = mkdir_parent(copy);
+ free(copy);
+ return rc;
+}
+
/* Procedures for locking the serial device using a lock file. */
static char lock_file[MAXPATHLEN];
--- /dev/null
+++ pppd/utils_utest.c
@@ -0,0 +1,139 @@
+#include <fcntl.h>
+#include <string.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
+#include "pppd-private.h"
+
+/* globals used in test.c... */
+int debug = 1;
+int error_count;
+int unsuccess;
+
+/* check if path exists and returns its type */
+static int
+file_type(char *path)
+{
+ struct stat statbuf;
+
+ if (stat(path, &statbuf) < 0)
+ return -1;
+
+ return statbuf.st_mode & S_IFMT;
+}
+
+int
+test_simple() {
+ if (mkdir_recursive("dir"))
+ return -1;
+
+ if (file_type("dir") != S_IFDIR)
+ return -1;
+
+ rmdir("dir");
+ return 0;
+}
+
+int
+test_recurse() {
+ if (mkdir_recursive("dir/subdir/subsubdir"))
+ return -1;
+
+ if (file_type("dir/subdir/subsubdir") != S_IFDIR)
+ return -1;
+
+ rmdir("dir/subdir/subsubdir");
+
+ /* try again with partial existence */
+ if (mkdir_recursive("dir/subdir/subsubdir"))
+ return -1;
+
+ if (file_type("dir/subdir/subsubdir") != S_IFDIR)
+ return -1;
+
+ rmdir("dir/subdir/subsubdir");
+ rmdir("dir/subdir");
+ rmdir("dir");
+ return 0;
+}
+
+int
+test_recurse_multislash() {
+ if (mkdir_recursive("dir/subdir///subsubdir"))
+ return -1;
+
+ if (file_type("dir/subdir/subsubdir") != S_IFDIR)
+ return -1;
+
+ rmdir("dir/subdir/subsubdir");
+ rmdir("dir/subdir");
+
+ /* try again with partial existence */
+ if (mkdir_recursive("dir/subdir/subsubdir///"))
+ return -1;
+
+ if (file_type("dir/subdir/subsubdir") != S_IFDIR)
+ return -1;
+
+ rmdir("dir/subdir/subsubdir");
+ rmdir("dir/subdir");
+ rmdir("dir");
+ return 0;
+}
+
+int
+test_parent_notdir() {
+ int fd = open("file", O_CREAT, 0600);
+ if (fd < 0)
+ return -1;
+ close(fd);
+
+ if (mkdir_recursive("file") == 0)
+ return -1;
+ if (mkdir_recursive("file/dir") == 0)
+ return -1;
+
+ unlink("file");
+ return 0;
+}
+
+int
+main()
+{
+ char *base_dir = strdup("/tmp/ppp_utils_utest.XXXXXX");
+ int failure = 0;
+
+ if (mkdtemp(base_dir) == NULL) {
+ printf("Could not create test directory, aborting\n");
+ return 1;
+ }
+
+ if (chdir(base_dir) < 0) {
+ printf("Could not enter newly created test dir, aborting\n");
+ return 1;
+ }
+
+ if (test_simple()) {
+ printf("Could not create simple directory\n");
+ failure++;
+ }
+
+ if (test_recurse()) {
+ printf("Could not create recursive directory\n");
+ failure++;
+ }
+
+ if (test_recurse_multislash()) {
+ printf("Could not create recursive directory with multiple slashes\n");
+ failure++;
+ }
+
+ if (test_parent_notdir()) {
+ printf("Creating over a file appeared to work?\n");
+ failure++;
+ }
+
+ rmdir(base_dir);
+ free(base_dir);
+ return failure;
+}
--- pppd/tdb.c.orig
+++ pppd/tdb.c
@@ -60,8 +60,11 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <signal.h>
+
+#include "pppd-private.h"
#include "tdb.h"
#include "spinlock.h"
+#include "pathnames.h"
#define TDB_MAGIC_FOOD "TDB file\n"
#define TDB_VERSION (0x26011967 + 6)
@@ -1728,7 +1731,12 @@ TDB_CONTEXT *tdb_open_ex(const char *nam
goto internal;
}
+again:
if ((tdb->fd = open(name, open_flags, mode)) == -1) {
+ if ((open_flags & O_CREAT) && errno == ENOENT &&
+ mkdir_recursive(PPP_PATH_VARRUN) == 0)
+ goto again;
+
TDB_LOG((tdb, 5, "tdb_open_ex: could not open file %s: %s\n",
name, strerror(errno)));
goto fail; /* errno set by open(2) */
--- pppd/Makefile.in.orig
+++ pppd/Makefile.in
@@ -92,8 +92,8 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
sbin_PROGRAMS = pppd$(EXEEXT) $(am__EXEEXT_4)
-check_PROGRAMS = utest_crypto$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \
- $(am__EXEEXT_3)
+check_PROGRAMS = utest_crypto$(EXEEXT) utest_utils$(EXEEXT) \
+ $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3)
@WITH_SRP_TRUE@am__append_1 = srp-entry
@WITH_SRP_TRUE@am__append_2 = srp-entry.8
@PPP_WITH_SYSTEM_CA_PATH_TRUE@am__append_3 = -DSYSTEM_CA_PATH='"@SYSTEM_CA_PATH@"'
@@ -258,6 +258,13 @@ utest_pppcrypt_LINK = $(LIBTOOL) $(AM_V_
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
$(AM_CFLAGS) $(CFLAGS) $(utest_pppcrypt_LDFLAGS) $(LDFLAGS) -o \
$@
+am_utest_utils_OBJECTS = utest_utils-utils.$(OBJEXT) \
+ utest_utils-utils_utest.$(OBJEXT)
+utest_utils_OBJECTS = $(am_utest_utils_OBJECTS)
+utest_utils_LDADD = $(LDADD)
+utest_utils_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(utest_utils_LDFLAGS) $(LDFLAGS) -o $@
AM_V_P = $(am__v_P_@AM_V@)
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
am__v_P_0 = false
@@ -300,7 +307,9 @@ am__depfiles_remade = ./$(DEPDIR)/libppp
./$(DEPDIR)/utest_crypto-crypto.Po \
./$(DEPDIR)/utest_peap-mppe.Po ./$(DEPDIR)/utest_peap-peap.Po \
./$(DEPDIR)/utest_peap-utils.Po \
- ./$(DEPDIR)/utest_pppcrypt-crypto_ms.Po
+ ./$(DEPDIR)/utest_pppcrypt-crypto_ms.Po \
+ ./$(DEPDIR)/utest_utils-utils.Po \
+ ./$(DEPDIR)/utest_utils-utils_utest.Po
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@@ -323,11 +332,11 @@ am__v_CCLD_1 =
SOURCES = $(libppp_crypto_la_SOURCES) $(pppd_SOURCES) \
$(srp_entry_SOURCES) $(utest_chap_SOURCES) \
$(utest_crypto_SOURCES) $(utest_peap_SOURCES) \
- $(utest_pppcrypt_SOURCES)
+ $(utest_pppcrypt_SOURCES) $(utest_utils_SOURCES)
DIST_SOURCES = $(libppp_crypto_la_SOURCES) $(am__pppd_SOURCES_DIST) \
$(am__srp_entry_SOURCES_DIST) $(utest_chap_SOURCES) \
$(utest_crypto_SOURCES) $(utest_peap_SOURCES) \
- $(utest_pppcrypt_SOURCES)
+ $(utest_pppcrypt_SOURCES) $(utest_utils_SOURCES)
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -733,6 +742,9 @@ utest_crypto_LDFLAGS =
utest_pppcrypt_SOURCES = crypto_ms.c
utest_pppcrypt_CPPFLAGS = -DUNIT_TEST_MSCRYPTO
utest_pppcrypt_LDFLAGS =
+utest_utils_SOURCES = utils.c utils_utest.c
+utest_utils_CPPFLAGS = -DUNIT_TEST
+utest_utils_LDFLAGS =
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = pppd.pc
pppd_includedir = $(includedir)/pppd
@@ -955,6 +967,10 @@ utest_pppcrypt$(EXEEXT): $(utest_pppcryp
@rm -f utest_pppcrypt$(EXEEXT)
$(AM_V_CCLD)$(utest_pppcrypt_LINK) $(utest_pppcrypt_OBJECTS) $(utest_pppcrypt_LDADD) $(LIBS)
+utest_utils$(EXEEXT): $(utest_utils_OBJECTS) $(utest_utils_DEPENDENCIES) $(EXTRA_utest_utils_DEPENDENCIES)
+ @rm -f utest_utils$(EXEEXT)
+ $(AM_V_CCLD)$(utest_utils_LINK) $(utest_utils_OBJECTS) $(utest_utils_LDADD) $(LIBS)
+
mostlyclean-compile:
-rm -f *.$(OBJEXT)
@@ -1006,6 +1022,8 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utest_peap-peap.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utest_peap-utils.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utest_pppcrypt-crypto_ms.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utest_utils-utils.Po@am__quote@ # am--include-marker
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/utest_utils-utils_utest.Po@am__quote@ # am--include-marker
$(am__depfiles_remade):
@$(MKDIR_P) $(@D)
@@ -1629,6 +1647,34 @@ utest_pppcrypt-crypto_ms.obj: crypto_ms.
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_pppcrypt_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utest_pppcrypt-crypto_ms.obj `if test -f 'crypto_ms.c'; then $(CYGPATH_W) 'crypto_ms.c'; else $(CYGPATH_W) '$(srcdir)/crypto_ms.c'; fi`
+utest_utils-utils.o: utils.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utest_utils-utils.o -MD -MP -MF $(DEPDIR)/utest_utils-utils.Tpo -c -o utest_utils-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/utest_utils-utils.Tpo $(DEPDIR)/utest_utils-utils.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils.c' object='utest_utils-utils.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utest_utils-utils.o `test -f 'utils.c' || echo '$(srcdir)/'`utils.c
+
+utest_utils-utils.obj: utils.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utest_utils-utils.obj -MD -MP -MF $(DEPDIR)/utest_utils-utils.Tpo -c -o utest_utils-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/utest_utils-utils.Tpo $(DEPDIR)/utest_utils-utils.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils.c' object='utest_utils-utils.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utest_utils-utils.obj `if test -f 'utils.c'; then $(CYGPATH_W) 'utils.c'; else $(CYGPATH_W) '$(srcdir)/utils.c'; fi`
+
+utest_utils-utils_utest.o: utils_utest.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utest_utils-utils_utest.o -MD -MP -MF $(DEPDIR)/utest_utils-utils_utest.Tpo -c -o utest_utils-utils_utest.o `test -f 'utils_utest.c' || echo '$(srcdir)/'`utils_utest.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/utest_utils-utils_utest.Tpo $(DEPDIR)/utest_utils-utils_utest.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils_utest.c' object='utest_utils-utils_utest.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utest_utils-utils_utest.o `test -f 'utils_utest.c' || echo '$(srcdir)/'`utils_utest.c
+
+utest_utils-utils_utest.obj: utils_utest.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT utest_utils-utils_utest.obj -MD -MP -MF $(DEPDIR)/utest_utils-utils_utest.Tpo -c -o utest_utils-utils_utest.obj `if test -f 'utils_utest.c'; then $(CYGPATH_W) 'utils_utest.c'; else $(CYGPATH_W) '$(srcdir)/utils_utest.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/utest_utils-utils_utest.Tpo $(DEPDIR)/utest_utils-utils_utest.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='utils_utest.c' object='utest_utils-utils_utest.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(utest_utils_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o utest_utils-utils_utest.obj `if test -f 'utils_utest.c'; then $(CYGPATH_W) 'utils_utest.c'; else $(CYGPATH_W) '$(srcdir)/utils_utest.c'; fi`
+
mostlyclean-libtool:
-rm -f *.lo
@@ -1918,6 +1964,13 @@ utest_crypto.log: utest_crypto$(EXEEXT)
--log-file $$b.log --trs-file $$b.trs \
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
"$$tst" $(AM_TESTS_FD_REDIRECT)
+utest_utils.log: utest_utils$(EXEEXT)
+ @p='utest_utils$(EXEEXT)'; \
+ b='utest_utils'; \
+ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
utest_chap.log: utest_chap$(EXEEXT)
@p='utest_chap$(EXEEXT)'; \
b='utest_chap'; \
@@ -2080,6 +2133,8 @@ distclean: distclean-am
-rm -f ./$(DEPDIR)/utest_peap-peap.Po
-rm -f ./$(DEPDIR)/utest_peap-utils.Po
-rm -f ./$(DEPDIR)/utest_pppcrypt-crypto_ms.Po
+ -rm -f ./$(DEPDIR)/utest_utils-utils.Po
+ -rm -f ./$(DEPDIR)/utest_utils-utils_utest.Po
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-tags
@@ -2171,6 +2226,8 @@ maintainer-clean: maintainer-clean-am
-rm -f ./$(DEPDIR)/utest_peap-peap.Po
-rm -f ./$(DEPDIR)/utest_peap-utils.Po
-rm -f ./$(DEPDIR)/utest_pppcrypt-crypto_ms.Po
+ -rm -f ./$(DEPDIR)/utest_utils-utils.Po
+ -rm -f ./$(DEPDIR)/utest_utils-utils_utest.Po
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

View File

@ -1,34 +0,0 @@
From 091e69b4e612427eeb95410dbc73eff10ea5dadb Mon Sep 17 00:00:00 2001
From: Mike Gilbert <floppym@gentoo.org>
Date: Mon, 26 Jun 2023 01:17:16 -0400
Subject: [PATCH] Ensure there is a '/' between PPP_PATH_VARRUN and the PID
filename (#427)
Bug: https://bugs.gentoo.org/907311
Fixes: 66a8c74c3f73 ("Let ./configure control the paths for pppd", 2022-07-30)
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
---
pppd/main.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- pppd/main.c.orig
+++ 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);

View File

@ -22,12 +22,15 @@ Move the resolv.conf written by pppd to /var/run [bnc#401648]
--- 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 @@ Move the resolv.conf written by pppd to /var/run [bnc#401648]
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,20 +57,18 @@ Move the resolv.conf written by pppd to /var/run [bnc#401648]
#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

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Wed Feb 19 13:29:35 UTC 2025 - Reinhard Max <max@suse.com>
- 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 <max@suse.com>
- 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.
-------------------------------------------------------------------
Wed Jun 19 10:10:49 UTC 2024 - Jiri Bohac <jbohac@suse.com>

View File

@ -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 @@ Source17: %{name}.keyring
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 @@ you can disable unnecessary or disable everything.
%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 @@ find -type f -name '*.orig' | xargs rm -f
%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

View File

@ -1,11 +0,0 @@
#
# PPP over ATM options
#
plugin pppoatm.so
#
# Plugin passwordfd enables us to pipe the password to pppd, thus we
# don't have to put it into pap-secrets and chap-secrets.
#
plugin passwordfd.so
#
noauth