Removing patchlevel.h The significance of this headerfile has now been reduced as pppd now provides pppd.pc (pkgconfig) and autotools to configure the project. Other projects can now also configure the correct path variable: e.g. /usr/lib/x86_64-linux-gnu/pppd/2.4.10/... To both consider the architecture and version via pkg-tool. The only consideration would be the missing DATE directive. But I am less worried about that as the entire release process has now been changed with the introduction of autotools. Also fixing up pppd/pppdconf.h.in to remove quotes around the defines Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Use autoconf/automake to configure and make ppp This change brings in autoconf/automake scripts to configure the ppp project. Current change doesn't eliminate the previous build system, but the new script autogen.sh will overwrite configure, and generate the basic Makefile.in and Makefile files. Features can now be enabled by command line: * Microsoft Extensions, - MSCHAP - MPPE - MS LAN Manager support * IPXCP protocol * CBCP protocol * PAM support * EAP-TLS support * EAP-SRP support * Max session lifetime by byte count * Plugins * Packet activity filter support * Multilink * IPv6 support Control linkage with * OpenSSL (-lssl -lcrypto) * systemd (-lsystemd) * libatm (-latm) * libsrp (-lsrp) * pam (-lpam) Also, the configure script is made sensitive to features of OpenSSL. Like the presence or absence of DES, SHA, MD4 and MD5 crypto support. In the cases where either of these are missing, the support will be directly compiled into pppd and plugins. In addition, package maintainers can now control the installation paths with standard --prefix=, or --localstatedir=, or --sysconfdir= to configure. On top of that, they can now control the following directories: * runtime directory w/--with-runtime-dir * logfile directory w/--with-logfile-dir * plugin directory w/--with-plugin-dir In the case where automake isn't the right solution, namely: SunOS kernel module build, the original Makefile infrastructure is preserved and reused. Care was taken to only cosmetically touchup the source files in this change. This means: * Insert HAVE_CONFIG_H and include config.h in all .c files. * Change HAS_SHADOW to HAVE_SHADOW_H * Change HAVE_LOGWTMP to HAVE_UTMP_H * Introduce HAVE_CRYPT_H into the source code where appropriate * Added ifdef MPPE where appropriate * USE_SRP required a few changes as it didn't compile * Touchup some compile warning in pppstats directory on SunOS Introduced a new pppdconf.h file that exports the appropriate defines to a module that wants to provide a module that pppd can dynamically load. This will define/undef features like MPPE, CHAPMS such that the project doesn't have to guess what features pppd is compiled with. Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Update README and patchlevel.h for 2.4.9 release Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Update README and patchlevel.h for 2.4.8 release Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Update README and patchlevel for 2.4.7 release Signed-off-by: Paul Mackerras <paulus@samba.org>
Update README and patchlevel for 2.4.6 release Signed-off-by: Paul Mackerras <paulus@samba.org>
Update README and patchlevel date for 2.4.5 release Signed-off-by: Paul Mackerras <paulus@samba.org>
Update for 2.4.5 release Signed-off-by: Paul Mackerras <paulus@samba.org>
Update patchlevel date
Update for 2.4.4 release
Up-date.
Update to 2.4.4b1
Update
Update patch level to 2.4.3b1
Update
Update to 2.4.2
Update
update
A bunch of fixes mostly aimed at fixing the problems we have been having with leaking fds and with fatal errors occurring when the link goes down. Updated patchlevel.h to 2.4.2b2. Moved open of /dev/ppp to generic_establish_ppp; we now close the ppp_dev_fd in generic_disestablish_ppp rather than trying to use PPPIOCDETACH. *_send_config and *_recv_config now return 0 for success or -1 for error, rather than calling fatal() when an error occurs. Added a notifier for when we fork so plugins can close their fds in the child. Added a safe_fork() which does a fork and then closes stuff in the child; the parent waits until the child has done that. On detach, the parent rewrites the pid files rather than the child, and the child waits for the parent to die. Fixed some potential FILE * leaks. Also moved auth_number() check into auth_check_options.
update the date