106.12. ppp-2.5.4
Point-to-Point Protocol daemon (PPPoE and serial modems for NetworkManager)
2.5.4-1 · BSD-3-Clause AND GPL-2.0-or-later · 0.8 SBU · 1.1 MiB, 54 files · 41_system, 651 of 1047 · ports/core/network/ppp
Homepage: https://ppp.samba.org/
Why it is in KDOS. The comment above the 3 ports from ppp to modemmanager in script/phases/41_system/packages.d/network.txt:
Mobile broadband and PPPoE: ModemManager drives the modem, the provider database supplies a carrier's APN, pppd carries PPPoE and serial modems.
Required by (1): networkmanager.
Sources: ppp-2.5.4.tar.gz (989.3 KiB). Every step kpkg takes applies to this port.
Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.
--without-pam, line 15: pam
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install ppp'
build.sh:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --runstatedir=/run \
--disable-static \
--disable-systemd \
--without-pam \
--with-pcap=yes \
--with-runtime-dir=/run/pppd \
--with-logfile-dir=/var/log/ppp
make
make DESTDIR=$PKG install
chmod 644 "$PKG"/etc/ppp/*.example
Programs: chat, pppd, pppdump, pppoe-discovery, pppstats.
Directories: /etc/ppp, /usr/include/pppd, /usr/share/licenses/ppp.