Adi Masputra [Tue, 18 Apr 2000 23:51:29 +0000 (23:51 +0000)]
1) Created a subdirectory called 'solaris'. Currently it contains a replica
of the 'svr4' directory. However, over time, files in this directory
will contain the same code as the kernel-portion of pppd in future
releases of Solaris, hence they most probably will change in contents
and/or sub-structure.
2) Changed the 'configure' script to not create symbolic link Makefiles
when the OS is SunOS 4.x. Under 'SunOS' category, only SunOS 5.x (or
Solaris 2.x) is currently enabled.
3) Changed the rest of the utilities + pppd daemon Makefile.sol2 to point
to the solaris/Makedefs instead of the one in svr4 directory.
Adi Masputra [Sat, 15 Apr 2000 01:30:53 +0000 (01:30 +0000)]
Removed '-w' cc flag, since it practically disables all warnings. This
may not be good for future development. Plus, warnings should be fixed
instead of ignored.
Paul Mackerras [Thu, 13 Apr 2000 11:59:40 +0000 (11:59 +0000)]
Changes for ppp-2.4.0 beta 1 release.
We are only including Linux, Solaris & SunOS in 2.4 unless
some maintainers start popping up out of the woodwork.
Adi Masputra [Thu, 6 Apr 2000 23:11:05 +0000 (23:11 +0000)]
Added the following:
1. Two versions of get_first_ethernet() function, one with a short
version of ifreq (before Solaris 8) and the other with a long
version of ifreq (Solaris 8 and beyond). This is needed to support
multilink.c
2. get_if_hwaddr() function, which is really a wrapper function which
calls get_hw_addr_dlpi() in order to obtain the Ethernet interface
address(es) via DLPI mechanism.
Adi Masputra [Thu, 6 Apr 2000 23:08:18 +0000 (23:08 +0000)]
Since this file needs to be included as part of the compilation, whether
or not HAVE_MULTILINK is defined, certain functions need to be wrapped
within HAVE_MULTILINK conditional preprocessor blocks. So far, everything
but the epdisc_to_str() function needs to be excluded when HAVE_MULTILINK
is not defined. This is because epdisc_to_str() seems to be called
unconditionally from within lcp.c, specifically from lcp_printpk().
Paul Mackerras [Tue, 4 Apr 2000 07:06:53 +0000 (07:06 +0000)]
Multilink support.
We now put details of each connection in a tdb database.
At present the values we put in the database are just
the same as the environment strings.
Adi Masputra [Mon, 6 Mar 2000 19:38:12 +0000 (19:38 +0000)]
The usage of intptr_t was completely a bad choice, since it's not
defined in 2.5.1 and earlier, including SunOS 4.x. A type definition
is now added (with support for LP64 as well) in order to avoid this
compilation problem across older Solaris releases.
Adi Masputra [Fri, 11 Feb 2000 03:09:19 +0000 (03:09 +0000)]
On synchronous links, typically the following options are set on the command
line: novj noccp noaccomp nopcomp. However, even so, the comp STREAMS module
was always pushed on the stream. This behavior has been changed, such that
when those options are set, the stream will be comp-less. This is not
specific to synchronous cases by the way, as it also applies on async
as well.
Adi Masputra [Tue, 25 Jan 2000 03:25:36 +0000 (03:25 +0000)]
Fixed many bugs related to synchronous links under Solaris platform. Mostly
they are due to the assumption that ppp_ahdl module is plumbed, which in
fact is not true when 'sync' option is specified.
Adi Masputra [Fri, 21 Jan 2000 01:04:56 +0000 (01:04 +0000)]
Re-wrote async HDLC encoding/decoding algorithms, mostly due to some
inconsistencies of behavior across different hardware platforms - previously
this code was generating an invalid HDLC frame (bad fcs) on Solaris x86
platform.
Adi Masputra [Fri, 19 Nov 1999 09:46:08 +0000 (09:46 +0000)]
Allow compile-time flags definitions to define the root path of config files
and also the location of /var/run. If no definitions found, then the
defaults will take place (unchanged as previously done). To change it,
define _ROOT_PATH (prefix of /etc/ppp) and _PATH_VARRUN (location of /var/run)
on the compiler options.
Adi Masputra [Wed, 22 Sep 1999 18:40:53 +0000 (18:40 +0000)]
Some people with older machine architectures have complained about not
needing the 64-bit support, so now the decision is based on the
architecture, not machine.
Adi Masputra [Tue, 21 Sep 1999 20:37:20 +0000 (20:37 +0000)]
A couple of fixes:
a) 64-bit compilation flags were insufficient. Additional ones were added
so that the generated binaries are correct (64-bit relocation issues).
b) Cleaned up some lint flags.
Adi Masputra [Tue, 21 Sep 1999 20:35:18 +0000 (20:35 +0000)]
Previously, 64-bit compilation was dependent upon the version of the OS,
e.g., Solaris 7 and above. This certainly will not work on machines
other than Sparc, i.e., x86. Therefore, until Merced (IA-64) is supported,
64-bit compilation will only be done on Sparc-based machines.
Adi Masputra [Mon, 13 Sep 1999 20:57:54 +0000 (20:57 +0000)]
Modifed configure to point to 64-bit Makefile extension for Sol 7 and later
Added sparcv9 subdirectory into svr4/.cvsignore
Cleaned up svr4/Makefile.sol2
Added svr4/Makefile.sol2-64