Commit Graph

889 Commits

Author SHA1 Message Date
wpaul
99031c3560 Hurm... I could have sworn I added usr.sbin to the top level GNU
Makefile. Apparently I was mistaken. *groan*
1995-02-07 19:10:39 +00:00
jkh
e6d3fa5c49 Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by:	gj
Submitted by:	Mark Diekhans <markd@grizzly.com>
1995-02-07 13:33:42 +00:00
wpaul
0a7e37f6d4 Do proper job of reaping child 'ypxfr' processes (we could sometimes
leave a zombie lying around until the next map transfer came alone).

Also fixed some minor typos on the man page.
1995-02-07 05:04:53 +00:00
wpaul
d3560dd142 Removed annoying changelog entries from ypclnt.c, added usage() function
to ypxfr.c.
1995-02-06 23:35:49 +00:00
wpaul
8a1b888b8e Wrote manual page for ypxfr, modified Makefile to install it. 1995-02-06 22:15:21 +00:00
wpaul
f40cd239b0 Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.
1995-02-05 21:48:04 +00:00
wpaul
a9318a2ce2 Created manual page for ypserv and changed Makefile to install it.
Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).
1995-02-04 21:32:04 +00:00
phk
472cc5aac8 added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-02-04 20:27:23 +00:00
wpaul
a58c3c9172 Created yp_mkdb(8) manual page, modified Makefile to install it. 1995-02-04 04:26:20 +00:00
wpaul
ec6e1d43a1 Changed some comments. 1995-02-04 00:13:21 +00:00
wpaul
9bf63224b9 Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet. 1995-02-03 22:01:17 +00:00
bde
6bb6091f96 Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
1995-02-03 20:25:59 +00:00
ugen
216e2af04b Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
wpaul
a029b8cf38 Added ${.CURDIR}s to afterinstall target. 1995-02-03 03:44:41 +00:00
wpaul
2f1a87a642 Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.
1995-02-03 03:41:38 +00:00
wpaul
27564afc63 Removed reference in comments to -o option of yppasswdd: -o option
no longer exists.
1995-02-03 01:11:57 +00:00
bde
14f499e5c7 Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time.  mtree already handles
them correctly.
1995-02-02 17:44:02 +00:00
wpaul
ca74ab01a7 Cleaned up and updated the yppasswdd man page to reflect FreeBSD-specific
changes and new options. (more new man pages and an NIS tutorial to follow)
1995-02-02 17:25:58 +00:00
wpaul
ca56934ab2 Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
1995-02-01 23:30:02 +00:00
wpaul
4ced3668eb Cleaned up usage() -- removed bogus references to opassfile, which isn't
used anymore (/var/yp/Makefile creates a new /var/yp/passwd file from
/var/yp/master.passwd using awk, so yppasswdd doesn't have to make it
anymore).
1995-02-01 23:27:46 +00:00
wpaul
f3d5354cdd /var/yp/Makefile doesn't create passwd file from master.passwd file
correctly (specified wrong fields to awk). Note that the files in question
are noe the local /etc/master.passwd and /etc/passwd files: this Makefile
expects there to be a seperate master.passwd file under /var/yp for NIS
database creation.
1995-02-01 23:05:36 +00:00
wpaul
219ed0fd18 Added the yppwupdate script. This is a small shell script that yppasswdd
executes after it finishes updating the raw master.passwd file. The script
is just there to invoke /var/yp/Makefile to build new maps and yppush them.
We could have yppasswdd run /var/yp/Makefile directly, but this allws a bit
more flexibility: the user may decide to run some other commands too.
1995-02-01 02:13:15 +00:00
wpaul
a0d2144bc8 Added Makefile.yp and mknetid, which are needed to rebuild NIS maps.
mknetid is a script. Both are installed by an afterinstall which as
been added to the main Makefile.
1995-02-01 02:00:03 +00:00
bde
7a22eb0731 Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.
1995-01-31 18:07:36 +00:00
wpaul
86715246c4 Added SUNDIR entry for yppush 1995-01-31 09:48:48 +00:00
wpaul
41d13cf350 Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
  header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
  hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
  that us.

- Incorporated some functions from the yps-0.21 library that yppush was
  dependent on.

Like ypxfr, this works, but could use come cleaning up.
1995-01-31 09:47:11 +00:00
wpaul
b8cfd20c17 Added subdir entry for ypxfr 1995-01-31 09:29:38 +00:00
wpaul
e5b131e6ec Obtained from: The NYS project
This is a ported/modified version of the ypxfr program from the yps-0.21
package from the NYS project. This program is normally invoked by ypserv
when it receives a yppush command from an NIS master. It can also be
run from the command line to grab copies of maps when initializing a
slave server.

This program has been hacked in the following ways:

- rpcgen'ed new yp_xdr.c, yp_svc.c and yp_clnt.c files. The old ones were
  rather grody.

- Changed certain function names (prefended a _ to them) to avoid conflicts
  with certain functions lurking within libc. One major problem here is
  that ypxfr needs to bind to a YP master in order to work correctly,
  but it can't use the _yp_bind function inside libc because that
  function only lets you bind to a domain, not a specific host. Lots
  of head scratching here.

- Converted from GDBM to DB at gunpoint.

- Removed lots of really nasty looking DEBUG code to try to reduce clutter.

- Incorporated some of the library code supplied with yps-0.21 on which
  ypxfr was dependent.

This program still needs to be cleaned up just as a matter of principle:
I get all icky just looking at it sometimes.
1995-01-31 09:28:47 +00:00
wpaul
10db783b7d New Makefiles for YP server stuff. 1995-01-31 09:14:03 +00:00
wpaul
12d39161b8 Obtained from: The NYS project
This is a ported/modified version of yppasswd from the NYS yppasswd-0.5
package. This package has code in it from both Olaf Kirch and Theo
de Raadt. There are GPL references and BSD-style copyright all over the
place... hopefully I won't get flamed into oblivion for commiting this.

This program has been modified from the original in the following ways:

- Changed the ALLOW_CHFN and ALLOW_CHSH compile-time options into
  run-time options.

- Demolished the password update functions and replaced them with
  routines to handle FreeBSD-style passwordd databases. It is expected
  that a seperate master.passwd file will be maintained for use with
  the NIS maps. yppasswd will have to be told where it is:

  % yppasswdd -m /var/yp/master.passwd

  A /var/yp/passwd file will be generated from /var/yp/master.passwd by
  /var/yp/Makefile. When yppasswdd has finished modifying the master.passwd
  file, it will invoke /usr/libexec/yppwupdate, which is a script that
  will run /var/yp/Makefile to generate new maps and push them.

Note that there are copies if pw_util.c and pw_copy.c here. This is
deliberate: they are *not* identical to the originals. Very similar, yes,
but not identical. *sigh*
1995-01-31 09:12:52 +00:00
wpaul
c46e35fcb4 Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
  function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
  aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
  the server will refuse to serve the master.passwd.{byname|byuid} maps
  if the request doesn't come from a privileged port. Normally, only the
  superuser can issue such a request. Requests for the passwd.{bynam|byuid}
  maps aren't affected. There will be a small change made to getpwent.c
  in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
  relying on gethostbyname() and friends. The author noted in the original
  documentation that a loop condition could arise where the server would
  query itself for hostsname lookups. Using direct DNS lookups prevents
  this from happening.

- added code to properly fork() the server into the background unless
  invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
  changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.
1995-01-31 08:58:57 +00:00
wpaul
17c13efe1c Obtained from: The NYS project
This program is used for both generating and dumping NIS maps. It's very
similar to the 'makedbm' command in SunOS. This program was ported from
the yps-0.21 package. It's close to the original except for the GDBM to
DB conversions. This was simple compared to the other YP components.
1995-01-31 08:43:07 +00:00
jkh
f7294b77fd Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
ache
6a9b44b167 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
ats
b4abec3d5e Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
bde
e536327446 Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share.  It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work.  Stuff is built at install time...
1995-01-26 06:00:40 +00:00
jkh
87dbeba47b Finally add a freakin' man page for tar!
Submitted by:	John F. Woods <jfw@jfwhome.funhouse.com>
Obtained from: NetBSD
1995-01-26 00:14:11 +00:00
bde
9d631032bb Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
bde
d027e69010 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
bde
8f80a82d24 Makefile.dev:
Don't initialize CLEANFILES here.  Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:19:03 +00:00
bde
03cfd28ee1 Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},
which is not supposed to work for shell files, but somehow did with
the old `make'.
1995-01-24 17:58:47 +00:00
jkh
8c29590cfd NOOBJS -> NOOBJ - it's more consistent. 1995-01-24 17:49:41 +00:00
jkh
2b8eaf684e No object here. 1995-01-24 17:47:49 +00:00
jkh
8e87b146d2 Deal with this not having an object file. 1995-01-24 17:32:09 +00:00
bde
a58f05812a Fix path to makeinfo. 1995-01-24 04:13:34 +00:00
jkh
b4c26b2f80 Fix bogus dummy rule (sigh). 1995-01-23 23:43:35 +00:00
jkh
f188edbf42 Fix bogus install rule. 1995-01-23 21:30:18 +00:00
jkh
ded779ffc4 Fix the bogus depend rule - boy, NetBSD's make catches a lot of
bogus Makefiles!
1995-01-23 21:19:45 +00:00
ache
496ce22ade Infopages cleanup 1995-01-22 22:45:07 +00:00
ache
16946f3787 Add doc subdir 1995-01-22 21:56:38 +00:00
ache
a45b3b018f Add missing infopages 1995-01-22 21:54:49 +00:00
bde
17342368b9 Don't build kgdb. It should go away soon. 1995-01-19 17:03:28 +00:00
bde
5f909271d1 Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
ache
5a8f534a66 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
ache
f5f5f9ee3f Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
ache
70fe30ff17 Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff
1995-01-17 21:12:05 +00:00
ache
a6c1efb584 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
ache
5dd705538c Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
ache
d185b45f4e koi8-r added 1995-01-17 20:17:31 +00:00
ache
f5462eb12f Back out prev change, don't load tty-char directly, it is already done
into nroff shell script
1995-01-17 20:11:04 +00:00
ache
8c49c5dc7b Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
ache
52c85fb013 Build ngroff instead of groff now 1995-01-17 19:28:56 +00:00
ache
926f8af8ac afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
ache
17e966773c Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
ache
023867e0d0 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
ache
85dc3d942c Add missing file 1995-01-17 17:51:52 +00:00
ache
ac8021d5bf Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
jkh
17a20d2fac Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by:	gj
1995-01-17 13:52:39 +00:00
ache
d13dcf3306 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
ache
b2697d3e9d Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
ache
40a6e3ef32 Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)
1995-01-17 00:58:05 +00:00
ache
fe60b5cd8b Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir
1995-01-17 00:42:27 +00:00
ache
dc4f07b048 Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
ache
171f6ffdef Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
ache
486bb610b8 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
ache
21d3d49a1d Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
ache
5ab215a6b1 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
ache
1eaa1bb48d Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
ache
5f5deb040d Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash
1995-01-16 23:02:07 +00:00
ache
801ab1baf7 Add doc to SUBDIR 1995-01-16 17:56:20 +00:00
ache
dd627db19f Remove */doc 1995-01-16 17:53:43 +00:00
ache
fe94006281 Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
ache
fb34b69448 Add doc to SUBDIR list 1995-01-16 17:40:57 +00:00
ache
b1254721e0 Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
ache
a0e48c2a72 Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages
1995-01-16 17:18:03 +00:00
pst
915accf24f One last one... 1995-01-15 09:12:29 +00:00
pst
d67abf9e7f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
pst
846706f103 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
pst
ecb5f40293 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
pst
435c3c0d28 This commit was generated by cvs2svn to compensate for changes in r5637,
which included commits to RCS files with non-trunk default branches.
1995-01-15 08:10:00 +00:00
pst
b4b083cfbe groff-1.09 1995-01-15 08:10:00 +00:00
pst
cce628f886 groff-1.09 1995-01-15 08:10:00 +00:00
pst
6eb7dd5407 groff-1.09 1995-01-15 08:10:00 +00:00
wollman
27668cffd2 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
jkh
b55651ef61 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
ache
465a9fc481 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
hsu
b5ccaa010d Fix bug that created new files even when running in -C check mode.
Reviewed by: phk
1995-01-12 22:09:40 +00:00
joerg
0cd8c74ee0 Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed.  Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.
1995-01-12 19:12:29 +00:00
jkh
20b24b646b Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
ache
d1ae267068 dc/doc added 1995-01-12 02:56:15 +00:00
ache
e818379cbc Infopage installation 1995-01-12 02:54:14 +00:00
ache
b4f042e04e as/doc added 1995-01-12 02:50:50 +00:00
ache
307f1b2ed7 Infopage installation 1995-01-12 02:48:42 +00:00
ache
3311eea0ad ptx/doc added 1995-01-12 01:35:31 +00:00
ache
1331e08127 Use -lgnuregex properly
Install infopages
1995-01-12 01:30:34 +00:00
ache
7f6bcdf38b doc added 1995-01-11 16:40:08 +00:00
ache
08af9bd264 Add annotate target 1995-01-11 16:38:10 +00:00
ache
3ccbbe3731 Install infopages 1995-01-11 16:29:45 +00:00
joerg
75bdcd257c argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
ache
fd4a9ed5df awk/doc added 1995-01-11 06:56:12 +00:00
ache
d9895781ca Infopage install 1995-01-11 06:53:40 +00:00
ache
0705911400 Use -lgnuregex 1995-01-11 06:42:25 +00:00
ache
3a70844002 Use -lgnuregex
Tune for 8bit ctype
1995-01-11 06:14:14 +00:00
ache
3b581314ff Upgrade to code which should satisfy all things which we have 1995-01-11 06:12:04 +00:00
ache
48a3ca7f45 Use -lgnuregex 1995-01-11 05:45:48 +00:00
ache
3f43d126a1 Upgrade regex code to most recent that I found
Version number still not changed
1995-01-11 05:39:08 +00:00
ache
e2db76d317 Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
ache
f15a1abdd6 Changes for 8-bit ctype 1995-01-11 04:56:51 +00:00
ache
b8bae0240d libregex/doc added 1995-01-11 04:34:23 +00:00
ache
5a1a090a02 Add infopage installation 1995-01-11 04:32:41 +00:00
ache
1191adc997 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
ache
ed41b47516 send-pr/doc added 1995-01-10 20:04:35 +00:00
ache
87f4f4e071 Add info installation 1995-01-10 20:02:15 +00:00
joerg
f1933d1eef From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by:   Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-10 18:12:50 +00:00
joerg
4573dfe5e5 I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but  we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by:	roberto@blaise.ibp.fr (Ollivier Robert)
1995-01-09 17:52:25 +00:00
paul
09f9300ee1 Added a ports category to the list. 1995-01-08 21:38:12 +00:00
ache
6262d512a4 Back out prev fix, now fixed in bsd.info.mk 1995-01-07 16:42:39 +00:00
ache
c7807dccca Fix "make" vs "make all" 1995-01-07 01:08:54 +00:00
ache
1d4a5e0d56 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
bde
a256f19b8f Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
swallace
bbf1f2302a Change to
#define STANDARD_SEARCH_DIRS    "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.
1995-01-05 02:36:29 +00:00
ache
364df36713 Add readline/doc to SUBDIR 1995-01-04 22:38:51 +00:00
ache
49b9a10834 Fix format error 1995-01-04 22:21:06 +00:00
ache
6a8dba58f7 Add dependances 1995-01-04 22:19:34 +00:00
ache
d016d6ef5e Install infopages 1995-01-04 22:16:14 +00:00
rgrimes
01cf760ecd Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
bde
38b641572f Use new bsd.info.mk to avoid local rules and fix bugs in all' and depend'
targets.
1995-01-02 12:28:56 +00:00
ache
8e024c3b91 Add doc to subdirs 1995-01-01 21:58:01 +00:00
ache
6f4231984d Install info pages now 1995-01-01 21:55:23 +00:00
rgrimes
e8a04de225 Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.
1995-01-01 20:30:56 +00:00
bde
9fb68975b3 Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.
1995-01-01 17:21:09 +00:00
bde
a2d98f5b6a Fix previous commit. 1995-01-01 17:14:45 +00:00
gclarkii
a877ff6db6 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
bde
f664103d12 Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc.  The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen.  The kernel
has supported this since 1.1 or before.  The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().
1994-12-31 17:00:09 +00:00
bde
44f160fc00 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
bde
11ea2ab944 Restore our local changes which were clobbered by the previous commit.
cvs is not being used effectively for gdb.  Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb.  The
revision logs get spammed for each release of gdb.
1994-12-31 16:34:59 +00:00
bde
6f9416cde6 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
bde
5089dca4db Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
jkh
2517028602 Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
jkh
cbfab23866 Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13.  This gdb features:

o	kgdb support - if this works (and I urge folks to test it), we can
	finally purge the old and hateful version of kgdb from our source
	tree.

o	attach/detach support.  See comments in README.FreeBSD for more
	details.

o	Well, it's newer.  Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary.  Much appreciated.  The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by:	gj
1994-12-30 23:27:33 +00:00
ache
5bfcb77fd9 Upgrade from new bash 1994-12-30 14:39:39 +00:00
ats
bc52f83749 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
nate
b2e597805f New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
nate
62967d2ab1 Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source.  Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD
1994-12-23 22:37:45 +00:00
nate
7f56eb7b93 Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD
1994-12-23 22:31:35 +00:00
ache
101ec26d7e Upgrade to readline from bash 1.14.3 1994-12-12 03:23:04 +00:00
ats
3de3890096 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
ats
46b010dcb7 Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0. 1994-12-11 21:39:31 +00:00
ats
116230bfae Changed one occurence of rmail(1) to rmail(8). 1994-12-11 21:35:17 +00:00
sef
b40926ab7c Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
ache
9f6331b10e Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation
1994-12-09 02:26:23 +00:00
ache
281db8eab5 Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
ache
31191dc296 Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
ache
b177687c4a More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
ache
ada37f51db Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
ache
eade49e148 8bit locale ajustment fix 1994-12-06 04:23:42 +00:00
ache
a4fe90a250 Upgrade to version 2.0 1994-12-06 03:16:45 +00:00
ats
e870c35b7e Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.
1994-12-03 16:32:02 +00:00
ache
b2b7987fd8 Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
ats
b81141f2b0 Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.
1994-11-28 18:30:44 +00:00
ats
b904f4fb3d Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.
1994-11-28 17:19:52 +00:00
ache
856011690c Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
ache
aa075eccb7 For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script
1994-11-23 21:11:20 +00:00
ache
db29764195 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
jkh
1c4fc5f824 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
ache
ef0518f6db Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges
1994-11-20 00:21:02 +00:00
ache
8d964f41a7 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
ache
1b44a4bb6d Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
ache
ff4e7b036e Highlight only space available for editing 1994-11-19 00:45:02 +00:00
ache
91b9eb92f4 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
jkh
cbf05342b5 From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>
in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug.  a patch is included below.  this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by:	jmb
1994-11-18 02:24:06 +00:00
ache
3790221257 Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.
1994-11-18 01:46:32 +00:00
ache
3a64b4bb5b Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
ache
b847ed27c4 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
ache
91d0857ccb Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
ache
b289af08a9 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
ache
550b4ca663 Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
ache
5c337b7c4e Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>
1994-11-17 21:44:49 +00:00
ache
afba98eb13 Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.
1994-11-17 19:21:51 +00:00
ache
91b83599a7 Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
ache
cbfb51dece Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
ache
e26dcdfe6d Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
ljo
0cbabcf40f Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.
1994-11-16 14:02:42 +00:00
ache
3affdfe7d7 Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
ache
055d9a45b5 Add comment about SYSV-ism 1994-11-15 13:32:35 +00:00
ache
62c5bc791b Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
phk
0a7f3ebca3 Integrated GCC-2.6.1 -> GCC-2.6.2 changes.
Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.
1994-11-15 04:52:19 +00:00
bde
a0b97b8906 Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries.  This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)
1994-11-14 05:57:36 +00:00
bde
91436a2279 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
jkh
35ae95d68a Fix merge conflicts. 1994-11-13 06:11:02 +00:00
jkh
e69c9ccd1b This commit was generated by cvs2svn to compensate for changes in r4422,
which included commits to RCS files with non-trunk default branches.
1994-11-13 05:57:35 +00:00
jkh
c21193cc8a Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
jkh
57230199f6 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
jkh
7cd72e0da9 This commit was generated by cvs2svn to compensate for changes in r4420,
which included commits to RCS files with non-trunk default branches.
1994-11-13 05:54:27 +00:00
jkh
1a97c0026b Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
ache
6cd208713f Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
phk
451c8fe79f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
ache
e0333db7f0 Add include 1994-11-08 00:50:00 +00:00
ache
355a777f5d Add missing values.h (it isn't part of libg++ anymore) but it
accords ANSI standard, provides backward 1.x compatibility and
used in many applications.
1994-11-08 00:47:04 +00:00
dg
4bdaa744de Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
phk
233a47503d As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
bde
d224d42672 Restore my fixes to 2.6.0. The changes should not affect anything except
profiling and wchar_t.  Profiled libraries will shrink.

tm.h:
Our wchar_t is int, not unsigned short.
Always link statically if profiling.
Define all the SPECs together.

final.c, tm.h:
Don't emit unused profiling code and data.

aux-output.c:
Always preserve the PIC register if profiling.

aux-output.c, tm.h:
Implement FUNCTION_PROFILER_EPILOGUE (currently not used).

New:
tm.h:
Set the target defaults in the correct way.
1994-11-06 21:32:11 +00:00
dg
a8a06384b5 From Johannes Stille:
When we get an EN8 response while we're already sending the file using
the i protocol, this can happen:

In send.c, flocal_send_await_reply() is called. This function calls
flocal_send_fail() to process the aborted transfer. After this, we run
into the branch that calls ffileseekend() to force the end of the
actual transfer.

Now flocal_send_fail() frees qtrans, but qtrans is still used later!

I propose to fix this by moving the usfree_send(qtrans) out of
flocal_send_fail(), as in the patch I append to this mail.

...

I have found a race condition in the uucp 1.05 code. The typical result
is that the connections mysteriously fails with "conversation failed",
even while all files were transmitted. This is the problem:

At least for the i protocol, the code to send a packet can receive and
process packets after sending.
In several places in the code, we send a command and then prepare to
receive an answer.
Now the answer might already arrive during the call that sends the
command while we aren't ready to process it.

The general solution is IMHO first to do all preparations and only as a
last step to send out the command.

Reviewed by:	John Dyson
Submitted by:	Johannes Stille
1994-11-06 10:17:13 +00:00
phk
7b1ac038f5 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
jkh
e78f90a463 __386BSD__ -> __FreeBSD__
I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?
1994-11-04 02:14:13 +00:00
gclarkii
7234eaeb65 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
phk
cca540823a Bump the version-number of the "shared-gcc-internals" library. Will only
affect you if you decided to use that feature.
1994-11-03 20:37:05 +00:00
gclarkii
4c3c905164 Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
gclarkii
54e788b218 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
gclarkii
bb75e8ba08 Install libs into /usr/lib/perl. The discussion we had did not come to
a point so...  If any thing besides here I would vote for /usr/include.
1994-11-03 20:02:15 +00:00
jkh
e5f35a5762 Remove obsolete __386BSD__ predefine. 1994-11-03 14:29:57 +00:00
phk
bbd23b334d ----------------------------------
GCC-2.6.1 COMES TO FREEBSD-current
----------------------------------
Everybody needs to 'make world'.

Oakland, Nov 2nd 1994.  In a surprise move this sunny afternoon, the release-
engineer for the slightly delayed FreeBSD-2.0, Poul-Henning Kamp (28),
decided to pull in the new version 2.6.1 of the GNU C-compiler.
The new version of the compiler was release today at noon, and hardly 9
hours later it was committed into the FreeBSD-current source-repository.
"It's is simply because we have had too much trouble with the version 2.6.0
of the compiler" Poul-Henning told the FreeBSD-Gazette, "we took a gamble
when we decided to use that as our compiler for the 2.0 release, but it
seems to pay of in the end now" he concludes.
The move has not been discussed on the "core" list at all, and will come as
a surprise for most Poul-Hennings peers.  "I have only discussed it with
Jordan [J. K. Hubbard, the FreeBSD's resident humourist], and we agreed that
we needed to do it, so ... I did it!".  After a breath he added with a grin:
"My email will probably get an all time 'disk-full' now!".
This will bring quite a flag-day to the FreeBSD developers, the patch-file
is almost 1.4 Megabyte, and they will have to run "make world" to get
entirely -current again.  "Too bad, but we just had to do this."  Was
the only comment from Poul-Henning to these problems.
When asked how this move would impact the 2.0 release-date, Poul-Hennings
face grew dark, he mumbled some very Danish words while he moved his fingers
in strange geometrical patterns.  Immediately something ecclipsed the Sun, a
minor tremor shook the buildings, and the temperature fell significantly.
We decided not to pursure the question.

-----------
JOB-SECTION
-----------
Are you a dedicated GCC-hacker ?
We BADLY need somebody to look at the 'freebsd' OS in gcc, sanitize it and
carry the patches back to the GNU people.  In particular, we need to get
out of the "i386-only" spot we are in now.  I have the stuff to take a
gnu-dist into bmake-form, and will do that part.

Please apply to phk@freebsd.org

No Novice Need Apply.
1994-11-03 06:52:42 +00:00
pst
304e7e53f1 Put a real man page in for cpp(1)... it needs to be converted to the mandoc
macros,  but it's good enough for now.
Obtained from: gcc 2.6.0 gnu distribution
1994-11-02 08:18:25 +00:00
ache
08d6168872 Enhance inputbox to pass initial prompt (optional) 1994-11-02 01:41:52 +00:00
ache
96d73d00f3 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
jkh
192a818a24 Translate README to english. :-) 1994-11-02 00:39:42 +00:00
jkh
db9cea6779 Link g++ -> c++, like I did with gcc -> cc. This is evil, but it's
now at least orthogonal evil.
1994-11-01 21:28:00 +00:00
jkh
e7aabafcd3 Add LINKS to get gcc back. 1994-11-01 20:51:29 +00:00
ache
1bf35b8f85 Fix beforeinstall compare
Submitted by: jc@cleat.irbs.com
1994-11-01 17:32:46 +00:00
pst
ad211229f0 Don't reinstall includes when not necessary 1994-11-01 09:13:02 +00:00
ache
cc17583236 Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
pst
ceda6f2de6 Test test test! sigh!
Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.
1994-10-29 07:14:55 +00:00
jkh
8ee64af9d6 Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.
1994-10-28 05:36:38 +00:00
ache
155937f9db Add refresh after each line of program output,
some pgms may have long waiting time between output lines.
1994-10-28 04:05:32 +00:00
ache
1a25ab537b prgbox example added 1994-10-28 03:22:29 +00:00
ache
ef4e01e472 Add --prgbox option to test new prgbox() function 1994-10-28 03:12:46 +00:00
ache
a984cc06a4 Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
wollman
2a45a34f5d Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library).  The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.
1994-10-27 23:16:54 +00:00
jkh
f2eb34cecf Repair the damage done by whomever blew the last commit. Now it
compiles again.
1994-10-26 15:23:04 +00:00
ache
faaede6ee5 Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
bde
c5d2a2e071 Add perl. 1994-10-25 16:59:57 +00:00
paul
9b625b2c6f Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
ljo
fff1957107 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
ljo
ffac1f6768 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
dg
b882a12ed1 Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
1994-10-25 07:02:23 +00:00
ache
35cb76f2c9 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
wollman
70966e6f5b Completed last fix: don't use backquotes in here-documents; it confuses
ash.  (The backquotes were only used to implement a slower version of
${foo-$bar} anyway.)
1994-10-22 23:47:21 +00:00
wollman
a3302bb197 Fill in SUBMITTER= line correctly. 1994-10-22 23:34:57 +00:00
wollman
b78b1be125 I really, really don't want to know why adding a blank line between
__EOF__ and a done command lets fixes this script for ash...
1994-10-22 23:32:01 +00:00
nate
3ef2581200 Adding cvsinit back to the subdirs since it shouldn't have been removed
in the first place.
1994-10-22 19:36:22 +00:00