summaryrefslogtreecommitdiff
path: root/common
Commit message (Collapse)AuthorAgeFilesLines
* Use autoconf/automake to configure and make pppEivind Næss2021-07-201-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix double-free bug in common/zlib.c. DOES NOT FIX pppdump's copy, though.David F. Skoll2002-04-021-5/+8
|
* Some systems define `u' as a macro.Paul Mackerras1998-09-131-1/+2
|
* don't use structure assignment, gcc generates memcpy for itPaul Mackerras1998-03-191-3/+3
| | | | which isn't available in Solaris kernel
* use Z_NULL not NULLPaul Mackerras1998-02-041-5/+5
|
* updated to zlib-1.0.4Paul Mackerras1997-11-272-845/+1951
|
* updated FILEVERSIONPaul Mackerras1997-05-222-4/+4
|
* mods to separate allocations during initialization and operationPaul Mackerras1997-04-302-17/+21
|
* get around FreeBSD already having an inflate()Paul Mackerras1997-03-042-6/+7
|
* fix for freebsdPaul Mackerras1996-10-081-2/+5
|
* mods for linuxPaul Mackerras1996-09-261-1/+8
|
* mods for linux and other kernelsPaul Mackerras1996-09-261-6/+20
|
* don't need thisPaul Mackerras1996-07-011-126/+0
|
* Fix comments, include zconf.h bodilyPaul Mackerras1996-04-041-19/+105
|
* Fix up comments and ID tags, add `local' to some definitionsPaul Mackerras1996-04-041-24/+33
|
* Added zlib libraryPaul Mackerras1996-01-183-0/+5281