commit cec933776efd0d86a9e1326481ab8aaa9b537cb2 Author: Adrian Schröter Date: Wed Jun 7 08:25:01 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 ppp revision c3ca3621dfac361e4bb0f4ebf5d608d5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/chap-secrets.template b/chap-secrets.template new file mode 100644 index 0000000..18fc30f --- /dev/null +++ b/chap-secrets.template @@ -0,0 +1,18 @@ +# Secrets for authentication using CHAP +# client server secret IP addresses + +# OUTBOUND CONNECTIONS +# Here you should add your PPP Login and PPP password to connect to your +# provider via pap. The * means that the entry(login and passoword may be +# used for ANY host you connect to. +# Thus you do not have to worry about the foreign machine name. Just +# replace password with your password. +#hostname * password + +# PREDIFINED CONNECTIONS +# These are user and password entries for publically accessible call-by-call +# Internet providers in Germany. If they confict with your config, remove them. +# READ_IN_CALLBYCALL_SECRETS + +# INBOUND CONNECTIONS +#client hostname 192.168.1.1 diff --git a/filters b/filters new file mode 100644 index 0000000..9f3bf3c --- /dev/null +++ b/filters @@ -0,0 +1,14 @@ +# +# These filter rules should prevent unwanted internet services to +# keep your connections up by ignoring their connection requests +# and your 'go way' responses. +# +# This file should be included by the line 'file /etc/ppp/filters' in +# /etc/ppp/options. +# +# Note: This has nothing to do with firewall rules. It only affects +# the idle time calculation of the kernel/pppd. +# + +active-filter 'outbound and not icmp[0] == 3 and not tcp[13] & 4 != 0' + diff --git a/modem-peers b/modem-peers new file mode 100644 index 0000000..1e565f7 --- /dev/null +++ b/modem-peers @@ -0,0 +1,18 @@ +460800 +defaultroute +usepeerdns +crtscts +lock +noauth +local +persist +modem +nopcomp +novjccomp +nobsdcomp +nodeflate +noaccomp +ipcp-accept-local +ipcp-accept-remote +noipdefault +connect "/usr/sbin/chat -t10 -f /etc/ppp/chatscripts/modem.chat" diff --git a/modem.chat b/modem.chat new file mode 100644 index 0000000..6c9671e --- /dev/null +++ b/modem.chat @@ -0,0 +1,19 @@ +ABORT 'BUSY' +ABORT 'NO CARRIER' +ABORT 'VOICE' +ABORT 'NO DIALTONE' +ABORT 'NO DIAL TONE' +ABORT 'NO ANSWER' +ABORT 'DELAYED' +REPORT CONNECT +TIMEOUT 5 +'' 'ATQ0' +'OK-AT-OK' 'ATZ' +TIMEOUT 3 +'OK-AT-OK' 'ATI' +'OK' 'ATZ' +'OK' 'ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0' +'OK' 'AT\^SYSCFG=2,2,3fffffff,0,1' +'OK-AT-OK' 'AT+CGDCONT=1,"IP","internet.mts.ru"' +'OK' 'ATDT*99#' +CONNECT diff --git a/modem.rules b/modem.rules new file mode 100644 index 0000000..90b79ec --- /dev/null +++ b/modem.rules @@ -0,0 +1 @@ +KERNEL=="ttyACM[0-9]*", TAG+="systemd", ENV{SYSTEMD_WANTS}="modem@%n.service" diff --git a/modem@.service b/modem@.service new file mode 100644 index 0000000..0aa6ef7 --- /dev/null +++ b/modem@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Modem /dev/ttyACM%i +BindsTo=dev-ttyACM%i.device +After=dev-ttyACM%i.device +Before=network.target + +[Service] +Group=dialout +ExecStart=/usr/sbin/pppd call modem /dev/ttyACM%i + +[Install] +WantedBy=multi-user.target diff --git a/options b/options new file mode 100644 index 0000000..fbc21d7 --- /dev/null +++ b/options @@ -0,0 +1,198 @@ +# /etc/ppp/options +# +# Not every option is listed here, see man pppd for more details. This file +# is read by the pppd, it is an error when it is not present. +# +# Use the following command to see the active options: +# grep -v ^# /etc/ppp/options | grep -v ^$ +# + +# The name of this server. Often, the FQDN is used here. +#name + +# Enforce the use of the hostname as the name of the local system for +# authentication purposes (overrides the name option). +#usehostname + +# If no local IP address is given, pppd will use the first IP address +# that belongs to the local hostname. If "noipdefault" is given, this +# is disabled and the peer will have to supply an IP address. +noipdefault + +# With this option, pppd will accept the peer's idea of our local IP +# address, even if the local IP address was specified in an option. +#ipcp-accept-local + +# With this option, pppd will accept the peer's idea of its (remote) IP +# address, even if the remote IP address was specified in an option. +#ipcp-accept-remote + +# Run the executable or shell command specified after pppd has terminated +# the link. This script could, for example, issue commands to the modem +# to cause it to hang up if hardware modem control signals were not +# available. +# If mgetty is running, it will reset the modem anyway. So there is no need +# to do it here. +#disconnect "chat -- \d+++\d\c OK ath0 OK" + +# Increase debugging level (same as -d). The debug output is written +# to syslog LOG_LOCAL2. +#debug + +# Enable debugging code in the kernel-level PPP driver. The argument n +# is a number which is the sum of the following values: 1 to enable +# general debug messages, 2 to request that the contents of received +# packets be printed, and 4 to request that the contents of transmitted +# packets be printed. +#kdebug n + +# noauth means do not require the peer to authenticate itself, this must +# be set if you want to use pppd to connect to the internet. In this case +# *you* must authenicate yourself to the peer(internet provider), so do +# not disable this setting unless you are the dial-in server which where +# the peer has to autenticate to. +noauth + +# Use hardware flow control (i.e. RTS/CTS) to control the flow of data +# on the serial port. +crtscts + +# Specifies that pppd should use a UUCP-style lock on the serial device +# to ensure exclusive access to the device. +lock + +# Use the modem control lines.(is default) +modem +# The opposite: local +# +# Description: +# Don't use the modem control lines. With this option, pppd will ignore the +# state of the CD (Carrier Detect) signal from the modem and will not change +# the state of the DTR (Data Terminal Ready) signal. +# +# You need to disable modem and enable local if you want to connect to anoter +# system without using a modem: +#local + +# async character map -- 32-bit hex; each bit is a character +# that needs to be escaped for pppd to receive it. 0x00000001 +# represents '\x01', and 0x80000000 represents '\x1f'. +# To allow pppd to work over a rlogin/telnet connection, ou should escape +# XON (^Q), XOFF (^S) and ^]: (The peer should use "escape ff".) +#asyncmap 200a0000 +asyncmap 0 + +# needed for some ISDN Terminaladaters, namely ELSA, those seem to have +# problems with asyncmap negotiation, so you can turn off this procedure +# in case your ISDN box has trouble with it, by enabling this option. +# You have to disable the asyncmap option to be sure to have it +# active. If you use wvdial, set the ISDN parameter in /etc/wvdial.conf +# instead. +#default-asyncmap + +# Set the MRU [Maximum Receive Unit] value to for negotiation. pppd +# will ask the peer to send packets of no more than bytes. The +# minimum MRU value is 128. The default MRU value is 1500. A value of +# 296 is recommended for slow links (40 bytes for TCP/IP header + 256 +# bytes of data). The value 1492 is for DSL connections (PPP Default - +# PPPoE Header: 1500 - 8 = 1492) +# mru 1492 + +# Set the MTU [Maximum Transmit Unit] value to . Unless the peer +# requests a smaller value via MRU negotiation, pppd will request that +# the kernel networking code send data packets of no more than n bytes +# through the PPP network interface. The value 1492 is for DSL connections +# (PPP Default - PPPoE Header: 1500 - 8 = 1492) +# mtu 1492 + +# Set the interface netmask to , a 32 bit netmask in "decimal dot" +# notation (e.g. 255.255.255.0). +#netmask 255.255.255.0 + +# Don't fork to become a background process (otherwise pppd will do so +# if a serial device is specified). +nodetach + +# If this option is given, pppd will send an LCP echo-request frame to +# the peer every n seconds. Normally the peer should respond to the +# echo-request by sending an echo-reply. This option can be used with +# the lcp-echo-failure option to detect that the peer is no longer +# connected. +lcp-echo-interval 30 + +# If this option is given, pppd will presume the peer to be dead if n +# LCP echo-requests are sent without receiving a valid LCP echo-reply. +# If this happens, pppd will terminate the connection. Use of this +# option requires a non-zero value for the lcp-echo-interval parameter. +# This option can be used to enable pppd to terminate after the physical +# connection has been broken (e.g., the modem has hung up) in +# situations where no hardware modem control lines are available. +lcp-echo-failure 4 + +# Send up to 60 LCP configure-request during negotiation. With a value +# of 2 for lcp-restart below, this might take up to 2 minutes. +lcp-max-configure 60 + +# Resend unanswered LCP requests after 2 seconds. +lcp-restart 2 + +# Specifies that pppd should disconnect if the link is idle for n seconds. +idle 600 + +# Specifies the maximal number of attempts to connect to the server. This +# is useful for dial on demand. Default value is 10. +#maxfail 3 + +# Disable the IPXCP and IPX protocols. +noipx + +# In the file /etc/ppp/filters are some active-filter rules. See man pppd +# and man tcpdump for more informations. +file /etc/ppp/filters + +#------------------------------------------------------------------------- +# The next two options are only interesting for you if you are admin of +# a system with other users that use ppp, and those users are normally +# never allowed to add default route, or you do not want users to +# replace the default route. +#------------------------------------------------------------------------- + +# enable this to prevent users from attempting to add a default route. +# Use this option with caution: If the user needs to use a program like +# wvdial, he will not be able to connect because wvdial forces defaulroute +# but this is rejected by this option and the user will not be able to +# connect to the internet. +#nodefaultroute + +# enable this to prevent users from replacing an existing default route. +#noreplacedefaultroute + +#------------------------------------------------------------------------- +# All options below only make sense if you configure pppd to be a dial-in +# server, so don't touch these if you want dial into your provider with +# PPP! +#------------------------------------------------------------------------- + +# Set the assumed name of the remote system for authentication purposes +# to . +#remotename + +# Add an entry to this system's ARP [Address Resolution Protocol] +# table with the IP address of the peer and the Ethernet address of this +# system. {proxyarp,noproxyarp} +#proxyarp + +# Use the system password database for authenticating the peer using +# PAP. Note: mgetty already provides this option. If this is specified +# then dialin from users using a script under Linux to fire up ppp wont work. +#login + +# Specify which DNS Servers the incoming Win95 or WinNT Connection should use +# Two Servers can be remotely configured +#ms-dns 192.168.1.1 +#ms-dns 192.168.1.2 + +# Specify which WINS Servers the incoming connection Win95 or WinNT should use +#ms-wins 192.168.1.50 +#ms-wins 192.168.1.51 + diff --git a/pap-secrets.template b/pap-secrets.template new file mode 100644 index 0000000..f06ae90 --- /dev/null +++ b/pap-secrets.template @@ -0,0 +1,33 @@ +# Secrets for authentication using PAP +# client server secret IP addresses + +# OUTBOUND CONNECTIONS +# Here you should add your PPP Login and PPP password to connect to your +# provider via pap. The * means that the entry(login and passoword may be +# used for ANY host you connect to. +# Thus you do not have to worry about the foreign machine name. Just +# replace password with your password. +#hostname * password + +# PREDIFINED CONNECTIONS +# These are user and password entries for publically accessible call-by-call +# Internet providers in Germany. If they confict with your config, remove them. +# READ_IN_CALLBYCALL_SECRETS + +# INBOUND CONNECTIONS +#client hostname 192.168.1.1 + +# If you add "auth login -chap +pap" to /etc/mgetty+sendfax/login.config, +# all users in /etc/passwd can use their password for pap-authentication. +# +# Every regular user can use PPP and has to use passwords from /etc/passwd +#* hostname "" +# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any +# other accounts that should not be able to use pppd! Replace hostname +# with your local hostname. +#guest hostname "*" - +#master hostname "*" - +#root hostname "*" - +#support hostname "*" - +#stats hostname "*" - + diff --git a/ppp-2.4.9.tar.gz b/ppp-2.4.9.tar.gz new file mode 100644 index 0000000..b69363b --- /dev/null +++ b/ppp-2.4.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f938b35eccde533ea800b15a7445b2f1137da7f88e32a16898d02dee8adc058d +size 716165 diff --git a/ppp-2.4.9.tar.gz.asc b/ppp-2.4.9.tar.gz.asc new file mode 100644 index 0000000..e691a69 --- /dev/null +++ b/ppp-2.4.9.tar.gz.asc @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCAAdFiEEv0VLfXa2m9eKuaRpnZrqdyxjcZ8FAl/zpLgACgkQnZrqdyxj +cZ8ImAgAzRJAmRuS4BB87OkE5LQMO68CVji/jHVyTgt3/hTMhJ6HYlX2iLzjmkM9 +tXX3vZ+qP0WfcSm65QDIIBd9ICy1VNjjuwb9QH1qBSQJIlE9ZDSbECKtqxtHI//H +gSXe8w4L7xGTl7ODYB3m3JnR13qnfTjf15kDIJ+RKPXmZjYo5cIBb3zATurJBWqC +H8N00XL4d3RPD+hLQtxDDZE8hIIYxVrtmsV6e4MB90/2BBAhEKuW3YgXTDekD6dr +Q3BXdsFcQnUssEIfWFvxt0b08/y92HhtyVaIqVEPxyfGEv/KfugIwzP6E6h7XtX9 +uU4Lrqr0652/9UJQT3FS5ou7aaW/PQ== +=x0Lf +-----END PGP SIGNATURE----- diff --git a/ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch b/ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch new file mode 100644 index 0000000..bb81967 --- /dev/null +++ b/ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch @@ -0,0 +1,54 @@ +diff --git a/pppd/eap-tls.c b/pppd/eap-tls.c +index 5740f30..46a4d5b 100644 +--- a/pppd/eap-tls.c ++++ b/pppd/eap-tls.c +@@ -280,6 +280,23 @@ ENGINE *eaptls_ssl_load_engine( char *engine_name ) + + + ++#ifndef OPENSSL_NO_ENGINE ++static int eaptls_UI_writer(UI *ui, UI_STRING *uis) ++{ ++ PW_CB_DATA* cb_data = (PW_CB_DATA*)UI_get0_user_data(ui); ++ UI_set_result(ui, uis, cb_data->password); ++ return 1; ++} ++ ++static int eaptls_UI_stub(UI* ui) { ++ return 1; ++} ++ ++static int eaptls_UI_reader(UI *ui, UI_STRING *uis) { ++ return 1; ++} ++#endif ++ + /* + * Initialize the SSL stacks and tests if certificates, key and crl + * for client or server use can be loaded. +@@ -516,20 +533,11 @@ SSL_CTX *eaptls_init_ssl(int init_server, char *cacertfile, char *capath, + { + UI_METHOD* transfer_pin = UI_create_method("transfer_pin"); + +- int writer (UI *ui, UI_STRING *uis) +- { +- PW_CB_DATA* cb_data = (PW_CB_DATA*)UI_get0_user_data(ui); +- UI_set_result(ui, uis, cb_data->password); +- return 1; +- }; +- int stub (UI* ui) {return 1;}; +- int stub_reader (UI *ui, UI_STRING *uis) {return 1;}; +- +- UI_method_set_writer(transfer_pin, writer); +- UI_method_set_opener(transfer_pin, stub); +- UI_method_set_closer(transfer_pin, stub); +- UI_method_set_flusher(transfer_pin, stub); +- UI_method_set_reader(transfer_pin, stub_reader); ++ UI_method_set_writer(transfer_pin, eaptls_UI_writer); ++ UI_method_set_opener(transfer_pin, eaptls_UI_stub); ++ UI_method_set_closer(transfer_pin, eaptls_UI_stub); ++ UI_method_set_flusher(transfer_pin, eaptls_UI_stub); ++ UI_method_set_reader(transfer_pin, eaptls_UI_reader); + + dbglog( "Using our private key '%s' in engine", pkey_identifier ); + pkey = ENGINE_load_private_key(pkey_engine, pkey_identifier, transfer_pin, &cb_data); diff --git a/ppp-fix-bashisms.patch b/ppp-fix-bashisms.patch new file mode 100644 index 0000000..2b85721 --- /dev/null +++ b/ppp-fix-bashisms.patch @@ -0,0 +1,30 @@ +diff -Ndur ppp-2.4.7/scripts/redialer ppp-2.4.7-fix-bashisms/scripts/redialer +--- ppp-2.4.7/scripts/redialer 2014-08-09 15:31:39.000000000 +0300 ++++ ppp-2.4.7-fix-bashisms/scripts/redialer 2014-11-19 05:09:46.168864978 +0200 +@@ -31,7 +31,7 @@ + # 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 @@ + # + # Script to dial a telephone + # +-function callnumber ++callnumber() + { + chat -v \ + ABORT '\nBUSY\r' \ +@@ -66,7 +66,7 @@ + # + # Script to dial any telephone number + # +-function callall ++callall() + { + # echo "dialing attempt number: $1" >/dev/console + callnumber $PHONE1 diff --git a/ppp-fork-fix.patch b/ppp-fork-fix.patch new file mode 100644 index 0000000..d9931e5 --- /dev/null +++ b/ppp-fork-fix.patch @@ -0,0 +1,91 @@ +--- pppd/main.c.orig ++++ pppd/main.c +@@ -1551,14 +1551,6 @@ safe_fork(int infd, int outfd, int errfd + int fd, pipefd[2]; + char buf[1]; + +- /* make sure fds 0, 1, 2 are occupied (probably not necessary) */ +- while ((fd = dup(fd_devnull)) >= 0) { +- if (fd > 2) { +- close(fd); +- break; +- } +- } +- + if (pipe(pipefd) == -1) + pipefd[0] = pipefd[1] = -1; + pid = fork(); +@@ -1582,25 +1574,31 @@ safe_fork(int infd, int outfd, int errfd + tdb_close(pppdb); + #endif + +- /* make sure infd, outfd and errfd won't get tromped on below */ +- if (infd == 1 || infd == 2) +- infd = dup(infd); +- if (outfd == 0 || outfd == 2) +- outfd = dup(outfd); +- if (errfd == 0 || errfd == 1) +- errfd = dup(errfd); +- ++ /* make sure fds 0, 1, 2 are occupied, so the duplicated fds always > 2 */ ++ while ((fd = dup(fd_devnull)) >= 0) { ++ if (fd > 2) { ++ close(fd); ++ break; ++ } ++ } ++ ++ /* always copy fd's to avoid to use a already closed fd later */ ++ { ++ int fdi = infd, fdo = outfd; ++ ++ infd = dup(infd); ++ outfd = dup(outfd); ++ if (errfd >= 0) { ++ fd = errfd; ++ errfd = dup(errfd); ++ close(fd); ++ } ++ close(fdi); ++ close(fdo); ++ } + closelog(); + +- /* dup the in, out, err fds to 0, 1, 2 */ +- if (infd != 0) +- dup2(infd, 0); +- if (outfd != 1) +- dup2(outfd, 1); +- if (errfd != 2) +- dup2(errfd, 2); +- +- if (log_to_fd > 2) ++ if (log_to_fd > 0) + close(log_to_fd); + if (the_channel->close) + (*the_channel->close)(); +@@ -1608,12 +1606,18 @@ safe_fork(int infd, int outfd, int errfd + close(devfd); /* some plugins don't have a close function */ + close(fd_ppp); + close(fd_devnull); +- if (infd != 0) +- close(infd); +- if (outfd != 1) +- close(outfd); +- if (errfd != 2) +- close(errfd); ++ ++ close(0); ++ dup2(infd, 0); ++ close(infd); ++ close(1); ++ dup2(outfd, 1); ++ close(outfd); ++ if (errfd >= 0) { ++ close(2); ++ dup2(errfd, 2); ++ close(errfd); ++ } + + notify(fork_notifier, 0); + close(pipefd[0]); diff --git a/ppp-lib64.patch b/ppp-lib64.patch new file mode 100644 index 0000000..77b0307 --- /dev/null +++ b/ppp-lib64.patch @@ -0,0 +1,99 @@ +diff -Nur ppp-2.4.9/pppd/Makefile.linux new/pppd/Makefile.linux +--- ppp-2.4.9/pppd/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -112,7 +112,7 @@ + # EAP SRP-SHA1 + ifdef USE_SRP + CFLAGS += -DUSE_SRP -DOPENSSL -I/usr/local/ssl/include +-LIBS += -lsrp -L/usr/local/ssl/lib ++LIBS += -lsrp -L/usr/local/ssl/lib6464 + NEEDCRYPTOLIB = y + TARGETS += srp-entry + EXTRAINSTALL = $(INSTALL) -c -m 555 srp-entry $(BINDIR)/srp-entry +diff -Nur ppp-2.4.9/pppd/pathnames.h new/pppd/pathnames.h +--- ppp-2.4.9/pppd/pathnames.h 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/pathnames.h 2022-05-23 17:42:04.835599374 +0200 +@@ -62,9 +62,9 @@ + + #ifdef PLUGIN + #ifdef __STDC__ +-#define _PATH_PLUGIN DESTDIR "/lib/pppd/" VERSION ++#define _PATH_PLUGIN DESTDIR "/lib64/pppd/" VERSION + #else /* __STDC__ */ +-#define _PATH_PLUGIN "/usr/lib/pppd" ++#define _PATH_PLUGIN "/usr/lib64/pppd" + #endif /* __STDC__ */ + + #endif /* PLUGIN */ +diff -Nur ppp-2.4.9/pppd/plugins/Makefile.linux new/pppd/plugins/Makefile.linux +--- ppp-2.4.9/pppd/plugins/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/plugins/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -5,7 +5,7 @@ + DESTDIR = $(INSTROOT)@DESTDIR@ + BINDIR = $(DESTDIR)/sbin + MANDIR = $(DESTDIR)/share/man/man8 +-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) ++LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) + + CFLAGS = $(COPTS) -I.. -I../../include -fPIC + LDFLAGS_SHARED = -shared +diff -Nur ppp-2.4.9/pppd/plugins/pppoatm/Makefile.linux new/pppd/plugins/pppoatm/Makefile.linux +--- ppp-2.4.9/pppd/plugins/pppoatm/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/plugins/pppoatm/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -4,7 +4,7 @@ + COPTS=@CFLAGS@ + + DESTDIR = $(INSTROOT)@DESTDIR@ +-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) ++LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) + + VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) + +diff -Nur ppp-2.4.9/pppd/plugins/pppoe/Makefile.linux new/pppd/plugins/pppoe/Makefile.linux +--- ppp-2.4.9/pppd/plugins/pppoe/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/plugins/pppoe/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -18,7 +18,7 @@ + + DESTDIR = $(INSTROOT)@DESTDIR@ + BINDIR = $(DESTDIR)/sbin +-LIBDIR = $(DESTDIR)/lib/pppd/$(PPPDVERSION) ++LIBDIR = $(DESTDIR)/lib64/pppd/$(PPPDVERSION) + + PPPDVERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) + +diff -Nur ppp-2.4.9/pppd/plugins/pppol2tp/Makefile.linux new/pppd/plugins/pppol2tp/Makefile.linux +--- ppp-2.4.9/pppd/plugins/pppol2tp/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/plugins/pppol2tp/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -4,7 +4,7 @@ + COPTS=@CFLAGS@ + + DESTDIR = $(INSTROOT)/@DESTDIR@ +-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) ++LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) + + VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) + +diff -Nur ppp-2.4.9/pppd/plugins/radius/Makefile.linux new/pppd/plugins/radius/Makefile.linux +--- ppp-2.4.9/pppd/plugins/radius/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/plugins/radius/Makefile.linux 2022-05-23 17:42:04.835599374 +0200 +@@ -9,7 +9,7 @@ + + DESTDIR = $(INSTROOT)@DESTDIR@ + MANDIR = $(DESTDIR)/share/man/man8 +-LIBDIR = $(DESTDIR)/lib/pppd/$(VERSION) ++LIBDIR = $(DESTDIR)/lib64/pppd/$(VERSION) + + VERSION = $(shell awk -F '"' '/VERSION/ { print $$2; }' ../../patchlevel.h) + +diff -Nur ppp-2.4.9/pppd/pppd.8 new/pppd/pppd.8 +--- ppp-2.4.9/pppd/pppd.8 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/pppd.8 2022-05-23 17:42:04.835599374 +0200 +@@ -995,7 +995,7 @@ + .B plugin \fIfilename + Load the shared library object file \fIfilename\fR as a plugin. This + is a privileged option. If \fIfilename\fR does not contain a slash +-(/), pppd will look in the \fB/usr/lib/pppd/\fIversion\fR directory ++(/), pppd will look in the \fB/usr/lib64/pppd/\fIversion\fR directory + for the plugin, where + \fIversion\fR is the version number of pppd (for example, 2.4.2). + .TP diff --git a/ppp-misc.patch b/ppp-misc.patch new file mode 100644 index 0000000..f4de5ce --- /dev/null +++ b/ppp-misc.patch @@ -0,0 +1,45 @@ +--- pppd/auth.c.orig ++++ pppd/auth.c +@@ -2105,9 +2105,10 @@ check_access(f, filename) + + if (fstat(fileno(f), &sbuf) < 0) { + warn("cannot stat secret file %s: %m", filename); +- } else if ((sbuf.st_mode & (S_IRWXG | S_IRWXO)) != 0) { +- warn("Warning - secret file %s has world and/or group access", +- filename); ++ } else if ((sbuf.st_mode & S_IRWXO) != 0) { ++ warn("Warning - secret file %s has world access", filename); ++ } else if ((sbuf.st_mode & S_IRWXG) != 0 && sbuf.st_gid != 15) { ++ warn("Warning - secret file %s has group access", filename); + } + } + +--- pppd/lcp.c.orig ++++ pppd/lcp.c +@@ -2302,7 +2302,7 @@ lcp_received_echo_reply (f, id, inp, len + if (lcp_gotoptions[f->unit].neg_magicnumber + && magic == lcp_gotoptions[f->unit].magicnumber) { + warn("appear to have received our own echo-reply!"); +- return; ++ /* M$-Software did get this wrong so we also accept those packets. */ + } + + /* Reset the number of outstanding echo frames */ +--- pppd/pppd.h.orig ++++ pppd/pppd.h +@@ -873,15 +873,7 @@ extern void (*snoop_send_hook) __P((unsi + #define DEBUGCHAP 1 + #endif + +-#ifndef LOG_PPP /* we use LOG_LOCAL2 for syslog by default */ +-#if defined(DEBUGMAIN) || defined(DEBUGFSM) || defined(DEBUGSYS) \ +- || defined(DEBUGLCP) || defined(DEBUGIPCP) || defined(DEBUGUPAP) \ +- || defined(DEBUGCHAP) || defined(DEBUG) || defined(DEBUGIPV6CP) + #define LOG_PPP LOG_LOCAL2 +-#else +-#define LOG_PPP LOG_DAEMON +-#endif +-#endif /* LOG_PPP */ + + #ifdef DEBUGMAIN + #define MAINDEBUG(x) if (debug) dbglog x diff --git a/ppp-peers b/ppp-peers new file mode 100644 index 0000000..612bd93 --- /dev/null +++ b/ppp-peers @@ -0,0 +1,9 @@ +# +# PPP (plain old modem) options +# +# 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 diff --git a/ppp-pie.patch b/ppp-pie.patch new file mode 100644 index 0000000..482a6cb --- /dev/null +++ b/ppp-pie.patch @@ -0,0 +1,36 @@ +diff -Nur ppp-2.4.9/chat/Makefile.linux new/chat/Makefile.linux +--- ppp-2.4.9/chat/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/chat/Makefile.linux 2022-05-23 17:29:53.108022140 +0200 +@@ -19,7 +19,7 @@ + all: chat + + chat: chat.o +- $(CC) $(LDFLAGS) -o chat chat.o ++ $(CC) -pie $(LDFLAGS) -o chat chat.o + + chat.o: chat.c + $(CC) -c $(CFLAGS) -o chat.o chat.c +diff -Nur ppp-2.4.9/pppd/Makefile.linux new/pppd/Makefile.linux +--- ppp-2.4.9/pppd/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/Makefile.linux 2022-05-23 17:29:53.108022140 +0200 +@@ -245,7 +245,7 @@ + $(INSTALL) -c -m 444 pppd.8 $(MANDIR) + + pppd: $(PPPDOBJS) +- $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_PLUGIN) -o pppd $(PPPDOBJS) $(LIBS) ++ $(CC) $(CFLAGS) -pie -fPIC $(LDFLAGS) $(LDFLAGS_PLUGIN) -o pppd $(PPPDOBJS) $(LIBS) + + srp-entry: srp-entry.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ srp-entry.c $(LIBS) +diff -Nur ppp-2.4.9/pppstats/Makefile.linux new/pppstats/Makefile.linux +--- ppp-2.4.9/pppstats/Makefile.linux 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppstats/Makefile.linux 2022-05-23 17:29:53.108022140 +0200 +@@ -27,7 +27,7 @@ + $(INSTALL) -c -m 444 pppstats.8 $(MANDIR) + + pppstats: $(PPPSTATSRCS) +- $(CC) $(CFLAGS) $(LDFLAGS) -o pppstats pppstats.c $(LIBS) ++ $(CC) $(CFLAGS) -pie -fPIE $(LDFLAGS) -o pppstats pppstats.c $(LIBS) + + clean: + rm -f pppstats *~ #* core diff --git a/ppp-smpppd.patch b/ppp-smpppd.patch new file mode 100644 index 0000000..58002fd --- /dev/null +++ b/ppp-smpppd.patch @@ -0,0 +1,13 @@ +--- pppd/main.c.orig ++++ pppd/main.c +@@ -1920,8 +1920,8 @@ forget_child(pid, status) + if (WIFSIGNALED(status)) { + warn("Child process %s (pid %d) terminated with signal %d", + (chp? chp->prog: "??"), pid, WTERMSIG(status)); +- } else if (debug) +- dbglog("Script %s finished (pid %d), status = 0x%x", ++ } else ++ info("Script %s finished (pid %d), status = 0x%x", + (chp? chp->prog: "??"), pid, + WIFEXITED(status) ? WEXITSTATUS(status) : status); + if (chp && chp->done) diff --git a/ppp-var_run_resolv_conf.patch b/ppp-var_run_resolv_conf.patch new file mode 100644 index 0000000..73f0205 --- /dev/null +++ b/ppp-var_run_resolv_conf.patch @@ -0,0 +1,77 @@ +Tue Jul 22 14:16:29 CEST 2008 - hvogel@suse.de + +Move the resolv.conf written by pppd to /var/run [bnc#401648] + + +diff -Nur ppp-2.4.9/Changes-2.3 new/Changes-2.3 +--- ppp-2.4.9/Changes-2.3 2021-01-05 00:06:37.000000000 +0100 ++++ new/Changes-2.3 2022-05-23 18:30:08.827773633 +0200 +@@ -262,10 +262,10 @@ + + * Added new option `usepeerdns', thanks to Nick Walker + . If the peer supplies DNS addresses, these +- will be written to /etc/ppp/resolv.conf. The ip-up script can then +- be used to add these addresses to /etc/resolv.conf if desired (see +- the ip-up.local.add and ip-down.local.add files in the scripts +- directory). ++ will be written to /var/run/ppp_resolv.conf.$INTERFACE_NAME. ++ The ip-up script can then be used to add these addresses to ++ /etc/resolv.conf if desired (see the ip-up.local.add and ++ ip-down.local.add files in the scripts directory). + + * The Solaris ppp driver should now work correctly on SMP systems. + +diff -Nur ppp-2.4.9/pppd/ipcp.c new/pppd/ipcp.c +--- ppp-2.4.9/pppd/ipcp.c 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/ipcp.c 2022-05-23 18:30:08.827773633 +0200 +@@ -2090,10 +2090,13 @@ + create_resolv(u_int32_t peerdns1, u_int32_t peerdns2) + { + FILE *f; ++ char rcfilename[MAXIFNAMELEN]; + +- f = fopen(_PATH_RESOLV, "w"); ++ slprintf(rcfilename, sizeof(rcfilename), "%s.%s", ++ _PATH_RESOLV, ifname); ++ f = fopen(rcfilename, "w"); + if (f == NULL) { +- error("Failed to create %s: %m", _PATH_RESOLV); ++ error("Failed to create %s: %m", rcfilename); + return; + } + +@@ -2104,7 +2107,7 @@ + fprintf(f, "nameserver %s\n", ip_ntoa(peerdns2)); + + if (ferror(f)) +- error("Write failed to %s: %m", _PATH_RESOLV); ++ error("Write failed to %s: %m", rcfilename); + + fclose(f); + } +diff -Nur ppp-2.4.9/pppd/pathnames.h new/pppd/pathnames.h +--- ppp-2.4.9/pppd/pathnames.h 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/pathnames.h 2022-05-23 18:30:08.827773633 +0200 +@@ -35,7 +35,7 @@ + #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options." + #define _PATH_CONNERRS _ROOT_PATH "/etc/ppp/connect-errors" + #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/" +-#define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf" ++#define _PATH_RESOLV _ROOT_PATH "/var/run/ppp_resolv.conf" + + #define _PATH_USEROPT ".ppprc" + #define _PATH_PSEUDONYM ".ppp_pseudonym" +diff -Nur ppp-2.4.9/pppd/pppd.8 new/pppd/pppd.8 +--- ppp-2.4.9/pppd/pppd.8 2021-01-05 00:06:37.000000000 +0100 ++++ new/pppd/pppd.8 2022-05-23 18:30:08.827773633 +0200 +@@ -1196,8 +1196,8 @@ + 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. ++/var/run/ppp_resolv.conf.$INTERFACE file containing one or two nameserver ++lines with the address(es) supplied by the peer. + .TP + .B user \fIname + Sets the name used for authenticating the local system to the peer to diff --git a/ppp.changes b/ppp.changes new file mode 100644 index 0000000..f01f40d --- /dev/null +++ b/ppp.changes @@ -0,0 +1,1038 @@ +------------------------------------------------------------------- +Wed Dec 28 14:32:02 UTC 2022 - Stefan Schubert + +- Migration of PAM settings to /usr/lib/pam.d. + +------------------------------------------------------------------- +Thu May 26 18:43:35 UTC 2022 - Martin Liška + +- 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 + +------------------------------------------------------------------- +Mon May 23 14:07:58 UTC 2022 - Ferdinand Thiessen + +- Update to version 2.4.9 + * Support for new EAP (Extensible Authentication Protocol) methods + * Support for EAP-TLS + * Support for EAP-MSCHAPv2 + * New pppd options: + * chap-timeout + * chapms-strip-domain + * replacedefaultroute + * noreplacedefaultroute + * ipv6cp-accept-remote + * lcp-echo-adaptive + * ip-up-script + * ip-down-script + * ca + * capath + * cert + * key + * crl-dir + * crl + * max-tls-version + * need-peer-eap + * Fixes for CVE-2020-8597 and CVE-2015-3310. + * The rp-pppoe plugin has been renamed to pppoe, to distinguish it + from the upstream rp-pppoe code. Its options have changed names, + but the old names are kept as aliases. + * Many bug fixes and cleanups. +- Drop upstream fixed patches + * ppp-2.4.3-winbind-setuidfix.patch + * fix-header-conflict.patch + * ppp-CVE-2015-3310.patch + * ppp-CVE-2020-8597.patch + * ppp-cifdefroute.patch + * ppp-higher-speeds.patch + * ppp-2.4.3-strip.diff + * ppp-filter.patch + * ppp-__P.patch +- Drop upstream resolved ppp-make.patch use `--cflags` configure + switch instead + +------------------------------------------------------------------- +Thu Mar 10 13:59:07 UTC 2022 - Илья Индиго + +- Removed Wants=network.target from modem@.service (bsc#1196359). + +------------------------------------------------------------------- +Mon Nov 9 07:21:55 UTC 2020 - Илья Индиго + +- Refresh spec-file via spec-cleaner and manual optimizations. + * Removed obsolete constructs (creating dialout group via shadow). + +------------------------------------------------------------------- +Fri Oct 9 11:15:53 UTC 2020 - Dominique Leuenberger + +- Fix build with RPM 4.16: error: bare words are no longer + supported, please use "...": lib64 == lib64. + +------------------------------------------------------------------- +Mon Aug 3 14:52:55 UTC 2020 - Reinhard Max + +- 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. + +------------------------------------------------------------------- +Tue May 19 15:40:26 UTC 2020 - Dominique Leuenberger + +- Fixup previous fix: use the defined macro %_unitdir for the + systemd unit. + +------------------------------------------------------------------- +Thu May 7 07:42:50 UTC 2020 - pgajdos@suse.com + +- /usr/lib/systemd instead %{_libexecdir}/systemd + +------------------------------------------------------------------- +Sun Apr 26 21:10:15 UTC 2020 - Andreas Stieger + +- add upstream signing keyring and verify source signature + +------------------------------------------------------------------- +Tue Mar 3 14:44:11 UTC 2020 - Reinhard Max + +- Add pam_keyinit to /etc/pam.d/ppp (bsc#1144055). + +------------------------------------------------------------------- +Fri Feb 7 14:30:35 UTC 2020 - Reinhard Max + +- CVE-2020-8597, bsc#1162610, ppp-CVE-2020-8597.patch: rhostname + buffer overflow in the eap_request and eap_response functions. + +------------------------------------------------------------------- +Thu Oct 4 15:18:10 UTC 2018 - schwab@suse.de + +- ppp-2.4.7-DES-openssl.patch: Use openssl instead of libcrypt for DES + +------------------------------------------------------------------- +Fri Nov 24 19:18:37 UTC 2017 - ilya@ilya.cf + +- Refresh spec-file via spec-cleaner. +- Add ppp-modem package for automatic redial to mobile provider. + +------------------------------------------------------------------- +Thu Nov 23 14:47:28 UTC 2017 - ilya@ilya.cf + +- Add Requires group(dialout) (boo#1067511). + +------------------------------------------------------------------- +Tue Jun 13 13:43:05 UTC 2017 - kukuk@suse.com + +- Add /etc/ppp, this directory is no longer part of filesystem. + Most likely requiring sysconfig would be necessary. + +------------------------------------------------------------------- +Sat Jun 10 15:20:12 UTC 2017 - meissner@suse.com + +- ppp-2.4.2-pie.patch: also enable PIE for /usr/sbin/pppstats + +------------------------------------------------------------------- +Fri Dec 9 15:11:25 UTC 2016 - max@suse.com + +- Use system-wide libatm instead of local copy (boo#1013567). + +------------------------------------------------------------------- +Mon Oct 17 10:26:16 UTC 2016 - schwab@suse.de + +- fix-header-conflict.patch: avoid conflict with kernel headers + +------------------------------------------------------------------- +Fri Nov 13 15:26:03 UTC 2015 - max@suse.com + +- Added ppp-CVE-2015-3310.patch: + Fix for bnc#927841, CVE-2015-3310: Fix buffer overflow in radius + plug-in's rc_mksid(). + +------------------------------------------------------------------- +Wed Nov 19 03:11:00 UTC 2014 - Led + +- fix bashisms in redialer script +- add patches: + * ppp-2.4.7-fix-bashisms.patch + +------------------------------------------------------------------- +Thu Aug 21 12:15:41 UTC 2014 - max@suse.com + +- 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. + +------------------------------------------------------------------- +Thu Mar 20 15:07:22 UTC 2014 - aj@ajaissle.de + +- Update to 2.4.6 + + Man page updates. + + Several bug fixes. + + Options files can now set and unset environment variables for + scripts. + + The timeout for chat scripts can now be taken from an environment + variable. + + There is a new option, master_detach, which allows pppd to detach + from the controlling terminal when it is the multilink bundle master + but its own link has terminated, even if the nodetach option has + been given. + +- Removed the following patches; + - ppp-2.4.2-logwtmp.diff -- now checks for HAVE_LOGWTMP + - ppp-2.4.3-demand-fix.diff -- using 'status' + - ppp-terminate-correct.patch -- upstream inclusion + +- Rebased the following patches: + * ppp-2.4.3-make.diff as ppp-2.4.6-make.diff + * ppp-2.4.2-misc.diff as ppp-2.4.6-misc.diff + * ppp-2.4.2-ifname.diff as ppp-2.4.6-ifname.diff + * ppp-2.4.4-lib64.patch as ppp-2.4.6-lib64.patch + +- Url changed to ppp.samba.org +- Use macros in spec file +- We dont need to cleanup the buildroot + +------------------------------------------------------------------- +Mon Sep 2 14:41:21 UTC 2013 - max@suse.com + +- Add ppp-terminate-correct.patch, fix the pppd's hang after exit + (bnc#693469). + +------------------------------------------------------------------- +Wed Jul 24 12:54:01 UTC 2013 - max@suse.com + +- ppp-send-padt.patch: Send PADT at the end of a PPPoE session. + +------------------------------------------------------------------- +Fri Mar 1 14:59:29 UTC 2013 - cfarrell@suse.com + +- 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 + +------------------------------------------------------------------- +Wed Feb 27 06:18:39 UTC 2013 - coolo@suse.com + +- update license to new format + +------------------------------------------------------------------- +Fri Aug 12 15:40:58 UTC 2011 - coolo@novell.com + +- remove extra dependencies from doc files + +------------------------------------------------------------------- +Wed Jan 5 10:17:28 UTC 2011 - coolo@novell.com + +- refresh patch + +------------------------------------------------------------------- +Wed Jan 5 09:17:19 UTC 2011 - aj@suse.de + +- Fix build of pppol2tp - remove local copy of if_pppol2tp.h + that is out of sync with kernel definition. +- Remove ppp-makedevice.patch, it is obsolete. + +------------------------------------------------------------------- +Wed Jan 5 09:03:05 UTC 2011 - aj@suse.de + +- Update to final 2.4.5 version with these changes: + * Pppd now works better with 3G modems that do strange things such as + sending IPCP Configure-Naks with the same values over and over again. + * Bugfixes + +------------------------------------------------------------------- +Tue Apr 6 05:40:20 UTC 2010 - coolo@novell.com + +- replace %PACKAGE_VERSION with %version to fix build + +------------------------------------------------------------------- +Tue Jan 5 17:21:23 CET 2010 - jengelh@medozas.de + +- enable parallel building + +------------------------------------------------------------------- +Tue Nov 3 19:09:38 UTC 2009 - coolo@novell.com + +- updated patches to apply with fuzz=0 + +------------------------------------------------------------------- +Wed Oct 14 12:38:07 UTC 2009 - crrodriguez@opensuse.org + +- build with -fno-strict-aliasing, dereferencing pointer 'svc' + does break strict-aliasing rules. +- give the package a more meaningful version number + +------------------------------------------------------------------- +Thu Oct 23 09:32:31 CEST 2008 - lnussel@suse.de + +- fix wrong permissions of pppol2tp.so +- fix invalid interpreter in secure-card script + +------------------------------------------------------------------- +Fri Sep 12 13:29:59 CEST 2008 - hvogel@suse.de + +- update to 2.4.5 (git:07bcc935f7a10bc5d78325fc53a6ac9bdf2aad6a) + * pppd can now operate in a mode where it doesn't request + the peer's IP address, as some peers refuse to supply an IP + address. + * included PPP over L2TP plugin + * Add L2TP support + * Various bug fixes + +------------------------------------------------------------------- +Tue Jul 22 14:16:29 CEST 2008 - hvogel@suse.de + +- move the resolv.conf written by pppd to /var/run [bnc#401648] + +------------------------------------------------------------------- +Wed May 21 11:48:17 CEST 2008 - hvogel@suse.de + +- add man page of pppoe-discovery [bnc#392784] + +------------------------------------------------------------------- +Thu Apr 3 11:57:11 CEST 2008 - hvogel@suse.de + +- move plugin directory to %_libdir [bnc#358927] + +------------------------------------------------------------------- +Thu Aug 23 16:21:21 CEST 2007 - hvogel@suse.de + +- Work around pppoatm MTU problems. [#301678] + +------------------------------------------------------------------- +Thu Jul 26 16:56:40 CEST 2007 - prusnak@suse.cz + +- changed libpcap to libpcap-devel in BuildRequires + +------------------------------------------------------------------- +Tue Dec 19 10:37:21 CET 2006 - meissner@suse.de + +- fixed strncat usage in radius plugin. + +------------------------------------------------------------------- +Wed Sep 13 13:12:17 CEST 2006 - hvogel@suse.de + +- Argh, really re-enable the patch. + +------------------------------------------------------------------- +Thu Sep 7 16:48:47 CEST 2006 - hvogel@suse.de + +- fix and reenable "replace default route" patch + +------------------------------------------------------------------- +Mon Aug 21 21:30:35 CEST 2006 - kukuk@suse.de + +- Use include statements in PAM config file + +------------------------------------------------------------------- +Mon Aug 7 15:45:21 CEST 2006 - mskibbe@suse.de + +- update to version 2.4.4 which + o fix some bugs + o fix bug #179560 (MTU overwritten by pppoe plugin) + +------------------------------------------------------------------- +Tue May 30 18:50:47 CEST 2006 - meissner@suse.de + +- check return code of setuid in winbind plugin. #179660 + +------------------------------------------------------------------- +Fri Jan 27 02:20:20 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 24 18:01:20 CET 2006 - max@suse.de + +- Enabled IPv6 support (#145246). + +------------------------------------------------------------------- +Sat Jan 14 02:22:44 CET 2006 - schwab@suse.de + +- Don't strip binaries. + +------------------------------------------------------------------- +Fri Jan 13 15:04:51 CET 2006 - hvogel@suse.de + +- Make use of Stack Protector + +------------------------------------------------------------------- +Wed Nov 2 16:45:03 CET 2005 - hvogel@suse.de + +- expand strict-aliasing patch to the radius plugin + +------------------------------------------------------------------- +Mon Oct 17 15:36:06 CEST 2005 - arvin@suse.de + +- fixed pptp peers file + +------------------------------------------------------------------- +Wed Oct 12 12:47:38 CEST 2005 - hvogel@suse.de + +- Add -fno-strict-aliasing to pppd cflags. Added + * ppp-2.4.3-no-strict-aliasing.patch + +------------------------------------------------------------------- +Wed Oct 5 16:51:37 CEST 2005 - hvogel@suse.de + +- fix too few arguments to a *printf function. modified + * ppp-2.4.2-misc.diff +- make use of optflags everywhere. modified + * ppp-2.4.3-optflags.patch + +------------------------------------------------------------------- +Sun Aug 7 11:11:48 CEST 2005 - kkeil@suse.de + +- fix filter stuff for libpcap version 0.9.3 (see #102460) + +------------------------------------------------------------------- +Sat Jul 2 14:47:59 CEST 2005 - hvogel@suse.de + +- use optflags also for pppoatm plugin + +------------------------------------------------------------------- +Tue Jun 28 12:03:37 CEST 2005 - kkeil@suse.de + +- fix some problems with 2.4.3 (#80468) + * solve not working dial on demand after a connection was shut + down first time + * fix safe_fork to not close needed file descriptors + +------------------------------------------------------------------- +Thu Jun 23 02:10:05 CEST 2005 - ro@suse.de + +- build with -fPIC/-pie + +------------------------------------------------------------------- +Thu Apr 21 15:03:09 CEST 2005 - arvin@suse.de + +- fixed compilation of pppoatm plugin (bug #79295) + +------------------------------------------------------------------- +Fri Mar 18 01:05:44 CET 2005 - kkeil@suse.de + +- fix filter stuff and DOD (#73663) + +------------------------------------------------------------------- +Mon Feb 28 21:08:50 CET 2005 - kkeil@suse.de + +- undefined fd is a bad idea, incremental fix for #66786 + +------------------------------------------------------------------- +Mon Feb 28 17:46:21 CET 2005 - hvogel@suse.de + +- enable device creating if it does not exist (Bug #66786) + +------------------------------------------------------------------- +Mon Dec 13 15:24:55 CET 2004 - hvogel@suse.de + +- get rid of the pppoam patch + +------------------------------------------------------------------- +Fri Dec 10 12:31:54 CET 2004 - hvogel@suse.de + +- update to version 2.4.3 which includes: + o Various fixes and enhancements to the radius and rp-pppoe + plugins have been added. + o There is a new option, child-timeout, which sets the length + of time that pppd will wait for child processes + o There is a new winbind plugin, from Andrew Bartlet of the Samba + team, which provides the ability to authenticate the peer + against an NT domain controller using MS-CHAP or MS-CHAPV2. + o There is a new pppoatm plugin + +------------------------------------------------------------------- +Tue Sep 21 15:16:12 CEST 2004 - kkeil@suse.de + +- fix dial on demand; outbound must flagged with 1 not 0xff (#45694) + +------------------------------------------------------------------- +Sun Sep 12 09:35:04 CEST 2004 - kukuk@suse.de + +- Don't use __P from glibc + +------------------------------------------------------------------- +Wed Aug 25 01:28:13 CEST 2004 - kkeil@suse.de + +- use DLT_PPP_WITHDIRECTION for the filters to be compatible with + kernel 2.6.8 + +------------------------------------------------------------------- +Tue Jul 20 10:44:09 CEST 2004 - arvin@suse.de + +- added option to rename ppp interface (experimental) + +------------------------------------------------------------------- +Mon Jul 19 11:51:49 CEST 2004 - arvin@suse.de + +- allow all names as Ethernet interfaces (bug #43048) + +------------------------------------------------------------------- +Tue Jul 13 11:02:54 CEST 2004 - arvin@suse.de + +- removed non-ascii character from option file + +------------------------------------------------------------------- +Fri May 28 13:03:05 CEST 2004 - kkeil@suse.de + +- correct fix for the DOD filter rule paket header (see bug #34724) + +------------------------------------------------------------------- +Fri Apr 16 13:21:07 CEST 2004 - mmj@suse.de + +- Void functions should be declared as such + +------------------------------------------------------------------- +Wed Mar 31 11:14:24 CEST 2004 - arvin@suse.de + +- fixed filter rules for dial on demand (see bug #34724) + +------------------------------------------------------------------- +Wed Feb 18 16:08:16 CET 2004 - arvin@suse.de + +- fixed setting of filter rules (bug #34569) + +------------------------------------------------------------------- +Fri Feb 13 16:58:03 CET 2004 - arvin@suse.de + +- updated pppoatm plugin (bug #34543) +- fixed ctl-c bug + +------------------------------------------------------------------- +Fri Feb 13 15:22:11 CET 2004 - arvin@suse.de + +- updated to version 2.4.2, main features: + - new upstream PPPoE plugin implementation + - new upstream MPPE implementation + - many protocols (CHAP, CBCP, EAP, ECP) added or updated +- build package as non-root user +- build sub-package ppp-devel with header files required for + extra plugins + +------------------------------------------------------------------- +Thu Feb 12 17:34:57 CET 2004 - arvin@suse.de + +- removed outdated samples +- some cleanup + +------------------------------------------------------------------- +Thu Feb 12 01:16:20 CET 2004 - ro@suse.de + +- adapt to change in libpcap: include moved to pcap_bpf.h + +------------------------------------------------------------------- +Mon Jan 26 14:45:02 CET 2004 - arvin@suse.de + +- allow higher serial speeds (see bug #34053) + +------------------------------------------------------------------- +Fri Jan 16 12:17:50 CET 2004 - kukuk@suse.de + +- Add pam-devel to neededforbuild + +------------------------------------------------------------------- +Fri Jan 9 11:56:34 CET 2004 - kukuk@suse.de + +- Fix compiler warnings + +------------------------------------------------------------------- +Wed Aug 13 09:16:26 CEST 2003 - arvin@suse.de + +- allow vlan devices for pppoe (bug #28645) + +------------------------------------------------------------------- +Mon Jun 30 10:45:19 CEST 2003 - arvin@suse.de + +- fixed closing of pppoatm (bug #27315) +- fixed pppoe on ppc (bug #27575) + +------------------------------------------------------------------- +Thu Jun 05 12:49:28 CEST 2003 - arvin@suse.de + +- converted MSCHAPv2-fix patch to unix format as new patch + doesn't like dos anymore + +------------------------------------------------------------------- +Tue Jun 03 11:03:31 CEST 2003 - arvin@suse.de + +- added peers file for pptp + +------------------------------------------------------------------- +Mon May 26 23:06:12 CEST 2003 - arvin@suse.de + +- adapted neededforbuild to linux-atm changes + +------------------------------------------------------------------- +Thu May 22 15:52:07 CEST 2003 - okir@suse.de + +- prevent buffer overflow in MPPE (#27062) + +------------------------------------------------------------------- +Wed Mar 12 10:58:35 CET 2003 - arvin@suse.de + +- activate filter rules per default (bug #25134) + +------------------------------------------------------------------- +Sat Jan 18 20:00:24 CET 2003 - arvin@suse.de + +- added config file with some filter rules + +------------------------------------------------------------------- +Fri Jan 10 15:49:26 CET 2003 - arvin@suse.de + +- Reactivated option noipdefault in default options file since + some providers can't handle a suggested local ip address. Can't + reproduce the wrong behaviour of the pppd mentioned in bug #1751 + so the change is ok. + +------------------------------------------------------------------- +Thu Dec 12 14:52:44 CET 2002 - arvin@suse.de + +- removed absolute paths from pam configuration file + +------------------------------------------------------------------- +Wed Nov 13 12:30:03 CET 2002 - arvin@suse.de + +- fixed multi-line string literals + +------------------------------------------------------------------- +Thu Oct 24 13:12:06 CEST 2002 - arvin@suse.de + +- fixed callback phone number handling (bug #9659 and #18408) +- activated patches added on Aug. 1st + +------------------------------------------------------------------- +Fri Aug 23 16:38:40 CEST 2002 - arvin@suse.de + +- remove a warning message in the log (bug #18254) +- removed obsolete peers file demand + +------------------------------------------------------------------- +Tue Aug 06 16:42:51 CEST 2002 - arvin@suse.de + +- added "plain old modem" peers file (related to bug #17341) + +------------------------------------------------------------------- +Thu Aug 1 18:16:48 CEST 2002 - bk@suse.de + +- add patches recommeded for pptp which also fix bug 17097 + +------------------------------------------------------------------- +Thu Jul 25 13:48:16 CEST 2002 - arvin@suse.de + +- disable pppoatm plugin on s390 and s390x + +------------------------------------------------------------------- +Mon Jul 08 12:34:45 CEST 2002 - arvin@suse.de + +- removed setuid bits from pppd (bug #16860) + +------------------------------------------------------------------- +Thu May 16 16:31:03 CEST 2002 - arvin@suse.de + +- compile with packet filter support + +------------------------------------------------------------------- +Wed May 15 16:34:13 CEST 2002 - arvin@suse.de + +- enable more debugging for pppoe if the pppd gets the debug + option + +------------------------------------------------------------------- +Mon May 13 09:33:34 CEST 2002 - ro@suse.de + +- fix build on x86_64 + +------------------------------------------------------------------- +Fri Apr 19 17:20:59 CEST 2002 - arvin@suse.de + +- disable pppoatm plugin on mips (since linux-atm does not build) + +------------------------------------------------------------------- +Tue Apr 16 22:20:56 CEST 2002 - arvin@suse.de + +- turn off debugging by default + +------------------------------------------------------------------- +Wed Mar 13 17:42:47 CET 2002 - arvin@suse.de + +- better mtu handling as workaround for broken dsl providers + +------------------------------------------------------------------- +Fri Feb 08 13:09:49 CET 2002 - arvin@suse.de + +- fixed error handling in passwordfd plugin + +------------------------------------------------------------------- +Fri Feb 8 10:36:35 CET 2002 - okir@suse.de + +- applied security fix to zlib + +------------------------------------------------------------------- +Tue Feb 05 16:06:22 CET 2002 - arvin@suse.de + +- more log output without debug option so that the smpppd does + not require the debug option +- removed debug option from peers files +- use %{_mandir} + +------------------------------------------------------------------- +Wed Jan 30 13:38:31 CET 2002 - arvin@suse.de + +- use buildroot +- compile pppoatm plugin on all archs again + +------------------------------------------------------------------- +Fri Jan 11 13:18:35 CET 2002 - arvin@suse.de + +- added terminating NULL in options list of passwordfd plugin + +------------------------------------------------------------------- +Fri Jan 11 11:30:26 CET 2002 - arvin@suse.de + +- don't compile pppoatm plugin on axp and s390 + +------------------------------------------------------------------- +Wed Jan 09 15:41:03 CET 2002 - arvin@suse.de + +- added "modprobe pppoatm" in pppoatm plugin + +------------------------------------------------------------------- +Tue Jan 08 18:04:20 CET 2002 - arvin@suse.de + +- fixed compiling on ia64 + +------------------------------------------------------------------- +Mon Jan 07 13:35:22 CET 2002 - arvin@suse.de + +- added atm support +- modified peers files for new network configuration + +------------------------------------------------------------------- +Mon Nov 05 14:28:15 CET 2001 - arvin@suse.de + +- set MTU and MRU to 1492 (to prevent problems for DSL) + +------------------------------------------------------------------- +Thu Sep 27 12:28:16 CEST 2001 - arvin@suse.de + +- added rc-pppoe peers file + +------------------------------------------------------------------- +Wed Sep 19 14:40:29 CEST 2001 - arvin@suse.de + +- added patch only-eth.dif: makes pppoe plugin only accect eth* + as device and thus prevents kernel from trying to load dozens + of modules (bug #10845) + +------------------------------------------------------------------- +Tue Aug 28 18:40:33 CEST 2001 - arvin@suse.de + +- strip plugins + +------------------------------------------------------------------- +Mon Aug 13 16:54:58 CEST 2001 - arvin@suse.de + +- updated pppoe patch to ppp-2.4.1-pppoe.patch4 + +------------------------------------------------------------------- +Thu Aug 09 17:37:16 CEST 2001 - arvin@suse.de + +- added Obsoletes ppp-soho +- added peers file pppoe + +------------------------------------------------------------------- +Tue Jul 17 11:08:03 CEST 2001 - arvin@suse.de + +- added directories to file list + +------------------------------------------------------------------- +Wed Jul 11 12:56:35 CEST 2001 - arvin@suse.de + +- removed obsolete generation of pap and chap secrets form + wvdial provider list + +------------------------------------------------------------------- +Sun Jun 24 18:23:01 CEST 2001 - arvin@suse.de + +- updated to version 2.4.1 +- added peers file "demand" (from package pppoed) + +------------------------------------------------------------------- +Thu May 10 01:19:25 CEST 2001 - mfabian@suse.de + +- bzip2 sources + +------------------------------------------------------------------- +Fri Apr 20 12:06:04 CEST 2001 - arvin@suse.de + +- added options lcp-max-configure 60 and lcp-restart 2 + +------------------------------------------------------------------- +Fri Mar 30 18:07:15 CEST 2001 - arvin@suse.de + +- added mppe patch +- search for plugins in /usr/lib/pppd/ (backport from + pppd 2.4.1) +- moved all plugins to /usr/lib/pppd/ + +------------------------------------------------------------------- +Wed Feb 28 12:24:57 CET 2001 - arvin@suse.de + +- moved all plugins to /usr/lib/pppd/plugins + +------------------------------------------------------------------- +Thu Feb 15 13:16:41 CET 2001 - arvin@suse.de + +- included pppoe patch from Michal Ostrowski + +------------------------------------------------------------------- +Thu Nov 9 12:32:57 CET 2000 - arvin@suse.de + +- updated to version 2.4.0 + +------------------------------------------------------------------- +Mon Sep 11 18:14:48 CEST 2000 - arvin@suse.de + +- Fixed plugin passwordfd for chap. + +------------------------------------------------------------------- +Mon Jul 31 19:15:58 CEST 2000 - arvin@suse.de + +- Added (commented) option "maxfail 3" to options. Partly fix + for bug #3637. + +------------------------------------------------------------------- +Thu Jul 13 15:45:31 CEST 2000 - arvin@suse.de + +- removed directory /var/state/pppd from spec file. It is not + needed and only got there by accident. + +------------------------------------------------------------------- +Mon Jul 10 23:03:41 CEST 2000 - bk@suse.de + +- fixed bug with replacedefaultroute and dial on demand(route was lost) +- fixed Open message of demand patch for ICMP(was displayed as UDP) + +------------------------------------------------------------------- +Tue Jul 4 21:52:37 CEST 2000 - arvin@suse.de + +- Support for dial on demand with sync ppp. +- On dial on demand log witch packed caused the connect. Example: + Open UDP 212.185.229.193:2048 -> 216.32.74.51:22926 +- Fixed plugin passwordfd for dial on demand. + +------------------------------------------------------------------- +Mon Jun 5 16:52:23 CEST 2000 - arvin@suse.de + +- fixed bug in plugin passwordfd + +------------------------------------------------------------------- +Fri Jun 2 17:41:25 CEST 2000 - arvin@suse.de + +- added plugin passwordfd to read password via a pipe +- replacedefaultroute option fixed for pppd demand + +------------------------------------------------------------------- +Fri Mar 3 00:52:11 CET 2000 - ro@suse.de + +- manpages .. + +------------------------------------------------------------------- +Thu Mar 2 17:37:38 CET 2000 - bk@suse.de + +- fixed patch path strip count for ppp-2.3.11.dif +- added comment about modem and local options to /etc/ppp/options + +------------------------------------------------------------------- +Wed Mar 1 17:45:35 CET 2000 - bk@suse.de + +- copied ppp-2.3.11.dif from ppp_ssl(fixes MANPATH) and filelist fixed. + +------------------------------------------------------------------- +Sat Feb 26 00:41:02 CET 2000 - bk@suse.de + +- removed priviledged property from (no)replacedefaultroute, this + way wvdial can set it in /etc/ppp/peers/wvdial with call wvdial. + +------------------------------------------------------------------- +Fri Feb 25 19:06:41 CET 2000 - bk@suse.de + +- disabled new replacedefaultroute option per default, can be controlled + thru the replacedefaultroute and noreplacedefaultroute options. + +------------------------------------------------------------------- +Fri Feb 25 00:28:01 CET 2000 - bk@suse.de + +- wrote patch which replaces the old defaut route on successfully + completed IPCP negotiation unless the included noreplacedefaultroute + option is given. Documented in the man page and /etc/ppp/options. + On connection shutdown, the old default route is restored automatically. + Nice feature for many people with laptops which have a default + route set trough their ethernet and want go online with their + modem if not connected to the ethernet. Should reduce support + load in this area dramatically. + +------------------------------------------------------------------- +Sun Feb 20 06:59:25 CET 2000 - bk@suse.de + +- only change tty perms really needed, will avoid the loosing tty + perms bug (bug #1831 and 1361) +- disabled noipdefault in the default options file for static IP addresses + and dial-in. wvdial still passes it to pppd if Force Address is not + set in wvdial.conf, so no problem. (Fix for bug #1751) + +------------------------------------------------------------------- +Fri Feb 11 17:40:52 CET 2000 - bk@suse.de + +- generate pap and chap secrets with callbycall.secrets +- Makefile.Linux merged into the spec file and dropped from diff + +------------------------------------------------------------------- +Sun Jan 16 23:27:12 CET 2000 - bk@suse.de + +- update to ppp-2.3.11 + +------------------------------------------------------------------- +Fri Oct 29 15:32:13 CEST 1999 - bk@suse.de + +- added logins for german call-by-call providers to the secrets +- removed suse dialin scripts + +------------------------------------------------------------------- +Mon Oct 25 01:38:11 CEST 1999 - olh@suse.de + +- add some sample scripts, minor sample changes + +------------------------------------------------------------------- +Sun Oct 24 22:21:07 CEST 1999 - bk@suse.de + +- fix for empty files in /usr/doc/packages/ppp (olh: thanks for the report!!) + +------------------------------------------------------------------- +Sun Oct 10 23:21:44 CEST 1999 - bk@suse.de + +- update to ppp-2.3.10 +- split up diff +- removed not installed ppplogin which also didn't appear in the + file list lately +- removed proxyarp from the default options file +- force pppd use the glibc's logwtmp instead of implementing its own + (patch for ppp-2.3.9, but is preferred for 2.3.10 also) +- added the samples to /usr/doc/packages/ppp + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Mon Aug 30 12:51:21 MEST 1999 - kukuk@suse.de + +- add pppdump.8 + +------------------------------------------------------------------- +Thu Aug 19 05:16:46 CEST 1999 - bk@suse.de + +- added documentation + +------------------------------------------------------------------- +Thu Jul 29 15:15:40 MEST 1999 - bs@suse.de + +- set /etc/ppp to 750, root.dialout +- use noauth in /etc/ppp/options + +------------------------------------------------------------------- +Sat Jul 17 06:39:04 MEST 1999 - bk@suse.de + +- /etc/ppp/option fixed wins-addr, corrected to ms-wins + +------------------------------------------------------------------- +Mon Jun 14 18:27:26 MEST 1999 - kukuk@suse.de + +- Enable PAM support, add ppp.pamd + +------------------------------------------------------------------- +Sat May 22 09:35:33 MEST 1999 - bk@suse.de + +- update to ppp-2.3.8 using diff from jurix +- added ppp-2.3.8-patch1 +- marked /etc/ppp/options as noreplace + +------------------------------------------------------------------- +Mon Dec 14 15:53:13 MET 1998 - tmg@suse.de + +- changed default config + +------------------------------------------------------------------- +Wed Dec 9 23:32:12 MET 1998 - bs@suse.de + +- marked config files as noreplace + +------------------------------------------------------------------- +Tue Nov 24 15:14:04 MET 1998 - ro@suse.de + +- don't pack if_ppp.h (delivered by glibc) + +------------------------------------------------------------------- +Tue Oct 6 17:06:21 MEST 1998 - ro@suse.de + +- update to ppp-2.3.5 using diff from jurix +- re-activate ppp_available in sys-linux.c + +------------------------------------------------------------------- +Mon Nov 3 17:57:14 MET 1997 - ro@suse.de + +- install include files in usr/include/net before compilation + +---------------------------------------------------------------------------- +Wed Apr 30 15:57:14 CEST 1997 - florian@suse.de + +- create eror output file with perm 0600 +- pppd is only executable for group "dialout" + +---------------------------------------------------------------------------- +Sat Nov 2 17:35:11 CET 1996 - florian@suse.de + +- add bug-fix +- add ipx support diff --git a/ppp.keyring b/ppp.keyring new file mode 100644 index 0000000..69422a1 --- /dev/null +++ b/ppp.keyring @@ -0,0 +1,157 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: SKS 1.1.6 +Comment: Hostname: sks.pod02.fleetstreetops.com + +mQINBE6U9CMBEADlOHAMjZEsRW0/0kNcckRWRbW5J29rhPM7N0cgSC2NcJEcPYDT/yoNsv8g +bzhGCACSvYDMscTdifon7o9JZyOxoUcn+AaFMyNCuZRcvmZNsHcKfB82dkmSniM+nCwC6Oqv +4av5XyeRz9k5o06Gno6k8nio0zX5ZIdHjtHTxB8mvur7tNkkUiDvl++VXk8txsJNKLNti3Eq +RTaHHG9Uu+bx4j1HuDyqh5+RAWoVClAc9OaiaPxQw44p1meWPLcR/E4ClEUvzN/L03AKFj2K +d85HuYc5zoqP4GsfnDwvqMKZZvNP7Ohq9hw3rtweoFrU476umQ+XYyBhEtY7ktP6jVbipZpS +4UoF49/ZZHx/pA+8VzMUWf5OwgGUxHYHWdeR7ffgsWKBM2+EZlfmAEzLWMC5FEvpvQkdAgy+ +QsZWE+Hvom4IueBxEiimcL2DjIfIx0HcVsMObM82/w35p3ymYHM+WuKuqq8eXNgx6uAMnGYP +vVXrp/1DxCMog+aaZslPhgKelF31Oh4S7IIeG/YRRsQaxiFl2M01+uhpNOGoLhW08H6Y3irw +Jz5x8WACDaA9adZN6qJB1LI1QnxUxan4ZUqPoCuUuwn8uqBet7OU8Z8u3VEMs9EMW477wjkR +qZedIopUJRgQnnlUYTPPY235gn/UNSy6X27o33vWngt3A5JLLQARAQABtCFQYXVsIE1hY2tl +cnJhcy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OYVAvw +l2VdcG3+JK/k8JBKStESB0njIyrW1qxJdftNdHS2Ts5aoSBa+ZOPiyIqAa4VW6uJ9xOSFGdW +B4rnGfB7h/VlsKvsLPtQy7D8lajN07RDYTel6vWK31/4ub/BUKjRdbfLaSi1FFBjo5DGWJoo +ZQDUARaxDGQixCcNuIYoF4Xu+8ZNbzRo7wBgmQTWeFxKPJYnmIL/ECgvvZNuDhMQq41nlE42 +FjAY6h7OYIKOEB6xyaTXdNMxR0Nnr/ce6l83OyGJDpujFJAJB+nAgd0pv+RrHqzbdlhq57y2 +mtD+451i1EhsrN8RXwmB7gdrJelEc65b87BL2idoqtLDGNX4lipps5saiJK954FdGzr+5BRd +ihsTKNHc074oaGFgYe/puE/nbQ31JKN8Pzo97fVYc2nYKnWUMCEYp4YgspwZd9Jm3a1Aw1WK +NkSoM6+BtqWOLSp7mBCCGGsV0OwXfdqlBGcv2KVfvNLcg18mY4sniQ== +=lvBd +-----END PGP PUBLIC KEY BLOCK----- + diff --git a/ppp.pamd b/ppp.pamd new file mode 100644 index 0000000..5a0a130 --- /dev/null +++ b/ppp.pamd @@ -0,0 +1,7 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include common-auth +account include common-account +password include common-password +session optional pam_keyinit.so revoke +session include common-session diff --git a/ppp.spec b/ppp.spec new file mode 100644 index 0000000..eb6af5c --- /dev/null +++ b/ppp.spec @@ -0,0 +1,215 @@ +# +# spec file for package ppp +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define _group dialout +Name: ppp +Version: 2.4.9 +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 +Group: Productivity/Networking/PPP +URL: https://ppp.samba.org +Source0: https://download.samba.org/pub/ppp/ppp-%{version}.tar.gz +Source1: https://download.samba.org/pub/ppp/ppp-%{version}.tar.gz.asc +# templates for secrets +Source2: pap-secrets.template +Source3: chap-secrets.template +# config for pam +Source4: ppp.pamd +# options and filters files +Source5: options +Source6: filters +# several peers file +Source7: modem-peers +Source8: pppoe-peers +Source9: pppoe-rp-peers +Source10: pppoatm-peers +Source11: ppp-peers +Source12: pptp-peers +Source13: pppoe-discovery.8.gz +# modem files +Source14: modem.chat +Source15: modem@.service +Source16: modem.rules +# https://www.kernel.org/doc/wot/paulus.html +Source17: %{name}.keyring +# PATCH-FEATURE-OPENSUSE ppp-smpppd.patch -- Add more log output for smpppd (move from debug to info log) +Patch0: ppp-smpppd.patch +# PATCH-FIX-OPENSUSE ppp-pie.patch -- Build position independent code +Patch1: ppp-pie.patch +# PATCH-FIX-OPENSUSE ppp-lib64.patch -- Install into lib64 on 64bit systems +Patch2: ppp-lib64.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 +# PATCH-FIX-UPSTREAM ppp-fork-fix.patch -- fix E: executable-stack (Badness: 10000) /usr/sbin/pppd +Patch7: ppp-compiling-with-clang-encounters-an-error-in-eap-tls..patch +# Of cause any other compatible libc would work, like musl, but 2.24 required for SOL_NETLINK +BuildRequires: glibc-devel >= 2.24 +BuildRequires: libpcap-devel +BuildRequires: linux-atm-devel +BuildRequires: openssl-devel +BuildRequires: pam-devel +Requires: group(%{_group}) +Requires(pre): group(%{_group}) + +%description +The ppp package contains the PPP (Point-to-Point Protocol) daemon, +pppd, additional PPP utilities, documentation, and sample files. PPP +provides a method for transmitting IP and IPX datagrams over serial +point-to-point links, for example over a modem. The PPP daemon handles +the details of setting up a PPP link including configuring the network +interface and performing the PPP negotiations. + +%package devel +Summary: Header Files Required for Developing Plugins for pppd +Group: Development/Libraries/C and C++ +Requires: ppp = %{version} + +%description devel +The package ppp-devel contains C header files required for developing +plugins for the pppd. + +%package modem +Summary: Automatic redial for any USB modem supported by the kernel +Group: System/Kernel +Requires: ppp +Requires: udev +Requires: group(dialout) +BuildArch: noarch + +%description modem +This package contains peer, chat script, systemd unit and udev rule for +automatic redial when connecting any USB modem supported by the kernel. +For disable automatic redial (by default enabled for all), run +sudo systemctl mask modem@0.service +For enable again automatic redial, run +sudo systemctl unmask modem@0.service +"0" after "@" is the serial number of the modem, if you have more than one, +you can disable unnecessary or disable everything. + +%prep +%setup -q +%patch0 +%patch1 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 +%patch6 +%patch7 -p1 + +%if "%{_lib}" == "lib64" +%patch2 -p1 +%endif + +sed -i -e '1s/local\///' scripts/secure-card +find scripts -type f | xargs chmod a-x +find -type f -name '*.orig' | xargs rm -f + +# Have to patch this in the Makefile, because setting it on the make +# command line only is not enough. +sed -i '/#HAVE_LIBATM/s/#//' pppd/plugins/pppoatm/Makefile.linux + +%build +%configure --cflags "%{optflags} -fno-strict-aliasing -fPIC $SP" +%make_build CHAPMS=y CBCP=y HAS_SHADOW=y USE_PAM=y FILTER=y HAVE_INET6=y HAVE_LOGWTMP=y + +%install +make install DESTDIR=%{buildroot}%{_prefix} +install -dm 750 %{buildroot}%{_sysconfdir}/ppp +install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/ppp/options +install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/ppp/filters +install -m 600 %{SOURCE2} %{buildroot}%{_sysconfdir}/ppp/pap-secrets +install -m 600 %{SOURCE3} %{buildroot}%{_sysconfdir}/ppp/chap-secrets +install -d 755 %{buildroot}%{_sysconfdir}/ppp/peers +install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/ppp/peers/modem +install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}/ppp/peers/pppoe +install -m 644 %{SOURCE9} %{buildroot}%{_sysconfdir}/ppp/peers/pppoe-rp +%ifnarch mips s390 s390x +install -m 644 %{SOURCE10} %{buildroot}%{_sysconfdir}/ppp/peers/pppoatm +%endif +install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/ppp/peers/ppp +install -m 644 %{SOURCE12} %{buildroot}%{_sysconfdir}/ppp/peers/pptp +%if 0%{?suse_version} > 1500 +install -d 755 %{buildroot}%{_pam_vendordir} +install -m 644 %{SOURCE4} %{buildroot}%{_pam_vendordir}/ppp +%else +install -d 755 %{buildroot}%{_sysconfdir}/pam.d +install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/ppp +%endif +install -m 644 %{SOURCE13} %{buildroot}%{_mandir}/man8/pppoe-discovery.8.gz +install -Dm 644 %{SOURCE14} %{buildroot}%{_sysconfdir}/ppp/chatscripts/modem.chat +install -Dm 644 %{SOURCE15} %{buildroot}%{_unitdir}/modem@.service +install -Dm 644 %{SOURCE16} %{buildroot}%{_udevrulesdir}/90-modem.rules + +%if 0%{?suse_version} > 1500 +%pre +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in pam.d/ppp ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done + +%posttrans +# Migration to /usr/etc, restore just created .rpmsave +for i in pam.d/ppp ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif + +%files +%attr(0750,root,root) %dir %{_sysconfdir}/ppp +%dir %{_sysconfdir}/ppp/peers +%config(noreplace) %{_sysconfdir}/ppp/options +%config(noreplace) %{_sysconfdir}/ppp/filters +%config(noreplace) %{_sysconfdir}/ppp/pap-secrets +%config(noreplace) %{_sysconfdir}/ppp/chap-secrets +%config(noreplace) %{_sysconfdir}/ppp/peers/p* +%if 0%{?suse_version} > 1500 +%{_pam_vendordir}/ppp +%else +%config(noreplace) %{_sysconfdir}/pam.d/ppp +%endif +%doc FAQ README* SETUP scripts PLUGINS +%{_mandir}/man?/*.?%{ext_man} +%attr(-,root,%{_group}) %{_sbindir}/pppd +%{_sbindir}/chat +%{_sbindir}/pppdump +%{_sbindir}/pppstats +%{_sbindir}/pppoe-discovery +%dir %{_libdir}/pppd +%dir %{_libdir}/pppd/%{version} +%attr(0755,root,root) %{_libdir}/pppd/%{version}/*.so + +%files devel +%{_includedir}/pppd + +%files modem +%dir %{_sysconfdir}/ppp/peers +%config(noreplace) %{_sysconfdir}/ppp/peers/modem +%dir %{_sysconfdir}/ppp/chatscripts +%config(noreplace) %{_sysconfdir}/ppp/chatscripts/modem.chat +%{_unitdir}/modem@.service +%dir %{_udevrulesdir} +%{_udevrulesdir}/90-modem.rules + +%changelog diff --git a/pppoatm-peers b/pppoatm-peers new file mode 100644 index 0000000..89d8dec --- /dev/null +++ b/pppoatm-peers @@ -0,0 +1,11 @@ +# +# 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 diff --git a/pppoe-discovery.8.gz b/pppoe-discovery.8.gz new file mode 100644 index 0000000..5871282 --- /dev/null +++ b/pppoe-discovery.8.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f85dfeed01f9f4132dfabddabf033d2bb62d62d70046f21d1cea0d94cf1c10d6 +size 1141 diff --git a/pppoe-peers b/pppoe-peers new file mode 100644 index 0000000..f2d69d4 --- /dev/null +++ b/pppoe-peers @@ -0,0 +1,19 @@ +# +# PPP over Ethernet options (using roaring pinguin plugin) +# +plugin rp-pppoe.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 +# pppoe has a lower mtu/mru +mtu 1492 +mru 1492 +# switch off all compressions (this is a must) +nopcomp +# this is recommended +novjccomp +noccp diff --git a/pppoe-rp-peers b/pppoe-rp-peers new file mode 100644 index 0000000..fbd9fdd --- /dev/null +++ b/pppoe-rp-peers @@ -0,0 +1,17 @@ +# +# PPP over Ethernet options (using roaring pinguin external program) +# +# 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 +# pppoe has a lower mtu/mru +mtu 1492 +mru 1492 +# switch off all compressions (this is a must) +nopcomp +# this is recommended +novjccomp +noccp diff --git a/pptp-peers b/pptp-peers new file mode 100644 index 0000000..d8901bd --- /dev/null +++ b/pptp-peers @@ -0,0 +1,15 @@ +# +# PPTP options +# +# 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 +linkname adsl +nocrtscts +local +# switch off all compressions (this is a must) +noaccomp +nopcomp