Commit Graph

846 Commits

Author SHA1 Message Date
Bill Paul
1d709ccef1 Created yp_mkdb(8) manual page, modified Makefile to install it. 1995-02-04 04:26:20 +00:00
Bill Paul
a613523aa3 Changed some comments. 1995-02-04 00:13:21 +00:00
Bill Paul
a50aabb5d6 Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet. 1995-02-03 22:01:17 +00:00
Bruce Evans
9504046bea 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 J.S. Antsilevich
a351d38006 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
Bill Paul
2700d33c07 Added ${.CURDIR}s to afterinstall target. 1995-02-03 03:44:41 +00:00
Bill Paul
4efbdedee3 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
Bill Paul
3e03108763 Removed reference in comments to -o option of yppasswdd: -o option
no longer exists.
1995-02-03 01:11:57 +00:00
Bruce Evans
dc3c30d9be 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
Bill Paul
cf7979fba5 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
Bill Paul
e0f276ea94 Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).
1995-02-01 23:30:02 +00:00
Bill Paul
e26ae5b13a 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
Bill Paul
7870fc7fdb /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
Bill Paul
ba3fbfe69c 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
Bill Paul
85e33f94dc 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
Bruce Evans
e322e6a55a 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
Bill Paul
e35cfba7f2 Added SUNDIR entry for yppush 1995-01-31 09:48:48 +00:00
Bill Paul
9f6a77c541 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
Bill Paul
2fd1e2091b Added subdir entry for ypxfr 1995-01-31 09:29:38 +00:00
Bill Paul
c183a93033 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
Bill Paul
985124b508 New Makefiles for YP server stuff. 1995-01-31 09:14:03 +00:00
Bill Paul
6c394ac5f9 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
Bill Paul
b4a640674a 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
Bill Paul
0faad4f4e7 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
Jordan K. Hubbard
053e19c19e Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
Andrey A. Chernov
255ec70534 Add more range/argument checking
Submitted by: charnier@lirmm.fr
1995-01-30 14:11:58 +00:00
Andreas Schulz
5992978871 Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.
1995-01-29 02:16:01 +00:00
Bruce Evans
ceac74879e 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
Jordan K. Hubbard
8f5738c194 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
Bruce Evans
03a6bd1d69 Remove stale NOOBJ.
Use standard clean and cleandir targets.
1995-01-25 19:26:31 +00:00
Bruce Evans
4c4b1af8c2 Makefile.tty:
Initialize CLEANFILES.  All tty FONTFILES are objects.
1995-01-25 19:25:20 +00:00
Bruce Evans
49da4dfc8d 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
Bruce Evans
fe0ac9ddfd 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
Jordan K. Hubbard
227756fca2 NOOBJS -> NOOBJ - it's more consistent. 1995-01-24 17:49:41 +00:00
Jordan K. Hubbard
398eaa8341 No object here. 1995-01-24 17:47:49 +00:00
Jordan K. Hubbard
03b41c8f3c Deal with this not having an object file. 1995-01-24 17:32:09 +00:00
Bruce Evans
725ae77af0 Fix path to makeinfo. 1995-01-24 04:13:34 +00:00
Jordan K. Hubbard
7884c1e534 Fix bogus dummy rule (sigh). 1995-01-23 23:43:35 +00:00
Jordan K. Hubbard
588a45c651 Fix bogus install rule. 1995-01-23 21:30:18 +00:00
Jordan K. Hubbard
aae156b27c Fix the bogus depend rule - boy, NetBSD's make catches a lot of
bogus Makefiles!
1995-01-23 21:19:45 +00:00
Andrey A. Chernov
bae50898b7 Infopages cleanup 1995-01-22 22:45:07 +00:00
Andrey A. Chernov
95f51c5b57 Add doc subdir 1995-01-22 21:56:38 +00:00
Andrey A. Chernov
ae46450f21 Add missing infopages 1995-01-22 21:54:49 +00:00
Bruce Evans
3c447b4f44 Don't build kgdb. It should go away soon. 1995-01-19 17:03:28 +00:00
Bruce Evans
b34bc5463d Fix installation of the link to tmac.an. $(FOO} doesn't work. 1995-01-19 15:58:34 +00:00
Andrey A. Chernov
a5bf27a269 Remove sneaked tabs
Submitted by: Ollivier Robert
1995-01-19 10:39:22 +00:00
Andrey A. Chernov
586cc4e455 Install additionly S and L text fonts, needed for BSD docs formatting 1995-01-17 22:02:34 +00:00
Andrey A. Chernov
8af44ad204 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
Andrey A. Chernov
8cd8abf162 Oops, forget to add \{ \} in prev. commit 1995-01-17 21:08:33 +00:00
Andrey A. Chernov
a61b49098a Fix for 8bit clean ctype 1995-01-17 20:36:26 +00:00
Andrey A. Chernov
32bb7861f2 koi8-r added 1995-01-17 20:17:31 +00:00
Andrey A. Chernov
1f1d79eb97 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
Andrey A. Chernov
3e6c1c6d90 Load russian hyphentation for -Tkoi8-r 1995-01-17 20:08:42 +00:00
Andrey A. Chernov
a99d423620 Build ngroff instead of groff now 1995-01-17 19:28:56 +00:00
Andrey A. Chernov
309c205212 afterinstall --> beforeinstall to make LINKS work 1995-01-17 19:05:12 +00:00
Andrey A. Chernov
a5cf5392ff Remove unnecessary complex renaming after nuking BSD tmacs 1995-01-17 18:49:52 +00:00
Andrey A. Chernov
083ad6c648 Rename tmacs properly (me)
Strip renamed pages before install
1995-01-17 18:31:07 +00:00
Andrey A. Chernov
055e903386 Add missing file 1995-01-17 17:51:52 +00:00
Andrey A. Chernov
bc70277b5b Add missing psroff.sh (for compatibility with old groff) 1995-01-17 17:36:19 +00:00
Jordan K. Hubbard
5238dbaecc 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
Andrey A. Chernov
0293a7a389 Remove troff chars emulation, handled better via tmac.tty-char 1995-01-17 01:08:03 +00:00
Andrey A. Chernov
c1328812d5 Back out 1.x changes (additional troff chars), now handled
via tmac.tty
1995-01-17 01:01:56 +00:00
Andrey A. Chernov
e9844b337b 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
Andrey A. Chernov
aab45466ff 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
Andrey A. Chernov
f94052d6fc Add russian hyphentation rules 1995-01-17 00:35:51 +00:00
Andrey A. Chernov
9acd98f380 Add koi8-r referred to tmac.tty 1995-01-17 00:21:30 +00:00
Andrey A. Chernov
5b90fb0af3 Add koi8-r as valid -T option 1995-01-17 00:13:15 +00:00
Andrey A. Chernov
7ac7111d42 Add devkoi8-r to SUBDIR 1995-01-17 00:06:29 +00:00
Andrey A. Chernov
a7e36b1757 Add koi8-r device (russian charset) 1995-01-17 00:04:14 +00:00
Andrey A. Chernov
7650ac4508 Fix install target when obj subdir present 1995-01-16 23:17:06 +00:00
Andrey A. Chernov
2875b41727 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
Andrey A. Chernov
23a4e9ded7 Add doc to SUBDIR 1995-01-16 17:56:20 +00:00
Andrey A. Chernov
98f978a585 Remove */doc 1995-01-16 17:53:43 +00:00
Andrey A. Chernov
9953d9b05d Add doc to SUBDIR 1995-01-16 17:49:20 +00:00
Andrey A. Chernov
8ab90258e8 Add doc to SUBDIR list 1995-01-16 17:40:57 +00:00
Andrey A. Chernov
1d8834adda Back out bkgd() function usage, it acts not from
common sense but from sysv standard
1995-01-16 17:22:35 +00:00
Andrey A. Chernov
603ef010b6 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
Paul Traina
4f6d30a46a One last one... 1995-01-15 09:12:29 +00:00
Paul Traina
b5e6cd375f Last of the FreeBSD changes 1995-01-15 09:06:50 +00:00
Paul Traina
d94fc6a011 Layer in FreeBSD changes 1995-01-15 08:36:35 +00:00
Paul Traina
26444f9367 Layer in all FreeBSD patches 1995-01-15 08:30:25 +00:00
Paul Traina
f84f13d3d0 groff-1.09 1995-01-15 08:10:00 +00:00
Garrett Wollman
c81d9b5121 Turn off incredibly obnoxious forced -c' option to more'. 1995-01-14 20:09:47 +00:00
Jordan K. Hubbard
d15b7357a8 Install suidperl suid root.
Submitted by:	Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
1995-01-14 03:31:27 +00:00
Andrey A. Chernov
21984e24b4 Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.
1995-01-13 00:42:04 +00:00
Jeffrey Hsu
add65270a0 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 Wunsch
d5453ba5c4 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
Jordan K. Hubbard
9d68e93aaf Good grammar and good taste, from Gary Jennejohn.
Submitted by:	gj
1995-01-12 11:47:02 +00:00
Andrey A. Chernov
4d7b8c9269 dc/doc added 1995-01-12 02:56:15 +00:00
Andrey A. Chernov
bfb9b93ee9 Infopage installation 1995-01-12 02:54:14 +00:00
Andrey A. Chernov
cd54e1437f as/doc added 1995-01-12 02:50:50 +00:00
Andrey A. Chernov
81d5811672 Infopage installation 1995-01-12 02:48:42 +00:00
Andrey A. Chernov
eb0dc9c294 ptx/doc added 1995-01-12 01:35:31 +00:00
Andrey A. Chernov
72faa78f5b Use -lgnuregex properly
Install infopages
1995-01-12 01:30:34 +00:00
Andrey A. Chernov
fe80b9dc28 doc added 1995-01-11 16:40:08 +00:00
Andrey A. Chernov
ad04b53da0 Add annotate target 1995-01-11 16:38:10 +00:00
Andrey A. Chernov
eb9747a649 Install infopages 1995-01-11 16:29:45 +00:00
Joerg Wunsch
056dfea8f8 argl, better unzip the perl script before installing. :-/ 1995-01-11 09:21:29 +00:00
Andrey A. Chernov
514c347b58 awk/doc added 1995-01-11 06:56:12 +00:00
Andrey A. Chernov
09122d010b Infopage install 1995-01-11 06:53:40 +00:00
Andrey A. Chernov
4efe110a6d Use -lgnuregex 1995-01-11 06:42:25 +00:00
Andrey A. Chernov
e82aeeb5ef Use -lgnuregex
Tune for 8bit ctype
1995-01-11 06:14:14 +00:00
Andrey A. Chernov
712624913e Upgrade to code which should satisfy all things which we have 1995-01-11 06:12:04 +00:00
Andrey A. Chernov
49b95be03e Use -lgnuregex 1995-01-11 05:45:48 +00:00
Andrey A. Chernov
dc92878b84 Upgrade regex code to most recent that I found
Version number still not changed
1995-01-11 05:39:08 +00:00
Andrey A. Chernov
e88843d3cf Use -lgnuregex
Tune for 8bit ctype
1995-01-11 05:07:00 +00:00
Andrey A. Chernov
35a3303073 Changes for 8-bit ctype 1995-01-11 04:56:51 +00:00
Andrey A. Chernov
ea822ebc88 libregex/doc added 1995-01-11 04:34:23 +00:00
Andrey A. Chernov
68206ccc06 Add infopage installation 1995-01-11 04:32:41 +00:00
Andrey A. Chernov
2e0ad30144 Remove regex code, use -lgnuregex instead 1995-01-11 04:18:38 +00:00
Andrey A. Chernov
b7091db2a5 send-pr/doc added 1995-01-10 20:04:35 +00:00
Andrey A. Chernov
0a172cf4d9 Add info installation 1995-01-10 20:02:15 +00:00
Joerg Wunsch
43c1db28c7 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 Wunsch
2563fac568 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 Richards
10824ac8f3 Added a ports category to the list. 1995-01-08 21:38:12 +00:00
Andrey A. Chernov
82c1981ce5 Back out prev fix, now fixed in bsd.info.mk 1995-01-07 16:42:39 +00:00
Andrey A. Chernov
ca6887fcae Fix "make" vs "make all" 1995-01-07 01:08:54 +00:00
Andrey A. Chernov
8458a20f14 Remove regex code, use -lgnuregex instead 1995-01-06 21:26:39 +00:00
Bruce Evans
e15532385d Handle segment registers (except %fs and %gs). 1995-01-06 14:52:06 +00:00
Steven Wallace
e86257e166 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
Andrey A. Chernov
00e87e70d1 Add readline/doc to SUBDIR 1995-01-04 22:38:51 +00:00
Andrey A. Chernov
9c596ee78f Fix format error 1995-01-04 22:21:06 +00:00
Andrey A. Chernov
687af2f4b8 Add dependances 1995-01-04 22:19:34 +00:00
Andrey A. Chernov
6f2b954ba5 Install infopages 1995-01-04 22:16:14 +00:00
Rodney W. Grimes
8546c86b55 Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile. 1995-01-03 02:57:53 +00:00
Bruce Evans
0a51c0612a 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
Andrey A. Chernov
8abfb51a90 Add doc to subdirs 1995-01-01 21:58:01 +00:00
Andrey A. Chernov
c987ec8ecd Install info pages now 1995-01-01 21:55:23 +00:00
Rodney W. Grimes
1f2cdfec28 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
Bruce Evans
47bcf800c3 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
Bruce Evans
2e8e965294 Fix previous commit. 1995-01-01 17:14:45 +00:00
Gary Clark II
b6490eb503 Add mlinks for man page
Reviewed by:
Submitted by:
Obtained from:
1994-12-31 21:10:46 +00:00
Bruce Evans
19bc776351 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
Bruce Evans
ccd05d4df4 Fix declaration of i386_float_info(). 1994-12-31 16:56:43 +00:00
Bruce Evans
9d1e3dc7d8 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
Bruce Evans
fcb54b3ee0 Hide yet another redefinition of PAGE_SIZE. Cosmetic. 1994-12-31 16:16:27 +00:00
Bruce Evans
bdeaa9bbc3 Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).
1994-12-31 16:14:13 +00:00
Jordan K. Hubbard
3c8ea7601e Bring in the files added by Gary Jennejohn's gdb update.
Submitted by:	gj
1994-12-30 23:33:10 +00:00
Jordan K. Hubbard
01db5e69c1 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
Andrey A. Chernov
7ccdf7da4c Upgrade from new bash 1994-12-30 14:39:39 +00:00
Andreas Schulz
d5a22d48c4 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 Williams
7edb8c9b99 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 Williams
de761939cf 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 Williams
61f9ce8d32 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
Andrey A. Chernov
f6f38b4bc9 Upgrade to readline from bash 1.14.3 1994-12-12 03:23:04 +00:00
Andreas Schulz
a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Andreas Schulz
3b92fb1ec6 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
Andreas Schulz
dc59b9fd8d Changed one occurence of rmail(1) to rmail(8). 1994-12-11 21:35:17 +00:00
Sean Eric Fagan
940ff2c0a9 Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
Andrey A. Chernov
c7d2093e06 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
Andrey A. Chernov
de0c026bbb Change #include order to not redifine __P 1994-12-09 01:51:16 +00:00
Andrey A. Chernov
9b39c00d7d Regcomp, re_comp eliminating 1994-12-09 01:08:56 +00:00
Andrey A. Chernov
97f0be939c More kosher regexp eliminating, based on BSD date now 1994-12-09 01:08:01 +00:00
Andrey A. Chernov
3f3f840110 Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.
1994-12-09 00:46:42 +00:00
Andrey A. Chernov
62c83be30c 8bit locale ajustment fix 1994-12-06 04:23:42 +00:00
Andrey A. Chernov
1d4039c723 Upgrade to version 2.0 1994-12-06 03:16:45 +00:00
Andreas Schulz
d025cfd6c5 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
Andrey A. Chernov
9b50f2c60a Use new bkgd() function to produce background 1994-12-02 19:49:17 +00:00
Andreas Schulz
a7f24f529c 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
Andreas Schulz
eafe5e1c1c 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
Andrey A. Chernov
3cab153245 Add -lcompat to LDADD for insque/remque (they treated as part of library) 1994-11-24 21:02:00 +00:00
Andrey A. Chernov
97b8db5f63 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
Andrey A. Chernov
284cd8b7b9 Add missing osfcn.h 1994-11-23 21:00:24 +00:00
Jordan K. Hubbard
5c52037561 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
Andrey A. Chernov
ef849892d9 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
Andrey A. Chernov
2c154e8124 Automatically turn off insert mode when end of field reached
in line_edit().
1994-11-19 10:22:12 +00:00
Andrey A. Chernov
5fa4b99ccf Highlight only flen sized part while editing in line_edit() 1994-11-19 09:58:34 +00:00
Andrey A. Chernov
3fa6f2210c Highlight only space available for editing 1994-11-19 00:45:02 +00:00
Andrey A. Chernov
852ffa1977 silently restrict all boxes to LINES, COLS 1994-11-18 22:49:09 +00:00
Jordan K. Hubbard
d76158cc6e 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
Andrey A. Chernov
df5add3f69 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
Andrey A. Chernov
a9e8a652cb Add new parameter to line_edit: field length (-1 means unlimited) 1994-11-18 01:02:42 +00:00
Andrey A. Chernov
f9c9c70b70 Save/restore attrs in line_edit now 1994-11-18 00:30:06 +00:00
Andrey A. Chernov
45cb79a377 Use newscr instead of curscr in shadows code 1994-11-17 23:54:24 +00:00
Andrey A. Chernov
934a5f3e30 Use wnoutrefresh() in clear_norefresh 1994-11-17 23:08:57 +00:00
Andrey A. Chernov
1a796bb52a Add dialog_clear_norefresh() function 1994-11-17 22:52:05 +00:00
Andrey A. Chernov
5c19f0147a 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
Andrey A. Chernov
04339572bc 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
Andrey A. Chernov
4857d86d34 Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
Andrey A. Chernov
dc092b5e4c Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
Andrey A. Chernov
5f5d7caab1 Full autosizing support, now you can pass -1, -1 for any
string
1994-11-16 14:37:37 +00:00
L Jonas Olsson
0066ef2281 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
Andrey A. Chernov
81301998fc Make shadow more 'real': now shadowed letters appearse as dim ones. 1994-11-15 17:32:05 +00:00
Andrey A. Chernov
a17f442eba Add comment about SYSV-ism 1994-11-15 13:32:35 +00:00
Andrey A. Chernov
fb05aa973e Fix bug: only one second-level shadow drawed 1994-11-15 12:42:14 +00:00
Poul-Henning Kamp
8ab1d79d16 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
Bruce Evans
069fcad2d9 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
Bruce Evans
a3a5ddcb52 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
Jordan K. Hubbard
c9902b6aaa Fix merge conflicts. 1994-11-13 06:11:02 +00:00
Jordan K. Hubbard
be25b01844 Michael Reifenberger's libg++ port
Submitted by:	mr
1994-11-13 05:57:35 +00:00
Jordan K. Hubbard
b3f6f5fbb3 Michael Reifenberger's libg++ 2.6.1 port.
Submitted by:	mr
1994-11-13 05:54:27 +00:00
Andrey A. Chernov
af39413d8c Additionly use erase char from termios
Implement kill line by ^U or kill char from termios
1994-11-10 15:16:46 +00:00
Poul-Henning Kamp
ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
Andrey A. Chernov
f3bd8e8cb8 Add include 1994-11-08 00:50:00 +00:00
Andrey A. Chernov
b817889f67 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
David Greenman
3237032fdc Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
Poul-Henning Kamp
b80d982b84 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
Bruce Evans
374047c149 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
David Greenman
1e8ee278b6 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
Poul-Henning Kamp
bf859da2b2 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
Jordan K. Hubbard
fb59d6ab65 __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
Gary Clark II
e4aaba56f5 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
Poul-Henning Kamp
84e25b852b 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
Gary Clark II
15aafd644b Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
Gary Clark II
05fd6621b0 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
Gary Clark II
31da8cb88e 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
Jordan K. Hubbard
03076d6bbf Remove obsolete __386BSD__ predefine. 1994-11-03 14:29:57 +00:00
Poul-Henning Kamp
fe7dee4700 ----------------------------------
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
Paul Traina
e8aae93744 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
Andrey A. Chernov
734d3eaf71 Enhance inputbox to pass initial prompt (optional) 1994-11-02 01:41:52 +00:00
Andrey A. Chernov
76ab56f350 Now line_edit() uses passed string as initial prompt 1994-11-02 01:40:34 +00:00
Jordan K. Hubbard
2af60dc4f7 Translate README to english. :-) 1994-11-02 00:39:42 +00:00
Jordan K. Hubbard
ad26d58d52 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
Jordan K. Hubbard
4d9190ae3a Add LINKS to get gcc back. 1994-11-01 20:51:29 +00:00
Andrey A. Chernov
f60854c594 Fix beforeinstall compare
Submitted by: jc@cleat.irbs.com
1994-11-01 17:32:46 +00:00
Paul Traina
8cbbf1b79e Don't reinstall includes when not necessary 1994-11-01 09:13:02 +00:00
Andrey A. Chernov
9570a6deea Add pointer check after each newwin/subwin with error diagnostic 1994-10-31 04:02:31 +00:00
Paul Traina
1dd5e27809 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
Jordan K. Hubbard
faa28a39e9 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
Andrey A. Chernov
646556067f 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
Andrey A. Chernov
b140921eef prgbox example added 1994-10-28 03:22:29 +00:00
Andrey A. Chernov
78e71dffd1 Add --prgbox option to test new prgbox() function 1994-10-28 03:12:46 +00:00
Andrey A. Chernov
3f20de5a5f Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box
1994-10-28 03:08:28 +00:00
Garrett Wollman
7d22abd50c 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
Jordan K. Hubbard
71e0221b87 Repair the damage done by whomever blew the last commit. Now it
compiles again.
1994-10-26 15:23:04 +00:00
Andrey A. Chernov
9e4cb8b6dc Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
Bruce Evans
de708661a9 Add perl. 1994-10-25 16:59:57 +00:00
Paul Richards
0adfb6eb99 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
L Jonas Olsson
0abc0dba57 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
L Jonas Olsson
1f967df0a4 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
David Greenman
b2075ecc44 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
Andrey A. Chernov
2e1e6f4685 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
Garrett Wollman
5e21ecefa9 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
Garrett Wollman
2c0f145076 Fill in SUBMITTER= line correctly. 1994-10-22 23:34:57 +00:00
Garrett Wollman
469247c74c 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 Williams
29656de043 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
Paul Traina
1666a8c2af remove cvsinit from subdir list 1994-10-22 16:59:52 +00:00
Nate Williams
2f822e9be7 Added cvsinit shell script as a runnable command.
Submitted by:	 CVS mailing list.
1994-10-22 04:51:40 +00:00
Andrey A. Chernov
8961fb9fd4 Allow '#' in address in rmail arguments
Obtained from: taylor-uucp list
1994-10-22 03:51:36 +00:00
Andrey A. Chernov
d60b2c616a Fix dialog_clear() to clear windows. 1994-10-21 17:52:19 +00:00
Andrey A. Chernov
2a9cdd71dd Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.
1994-10-21 15:42:30 +00:00
Andrey A. Chernov
8a585590ef Declare more functions externally.
Don't forget to use 'make beforeinstall'...
1994-10-20 21:56:45 +00:00
Andrey A. Chernov
51c3256355 Don't exit silently, if initscr failed; put error message 1994-10-19 04:45:41 +00:00
Andrey A. Chernov
e314eb04c7 Check initscr() for NULL 1994-10-19 04:10:48 +00:00
Garrett Wollman
7b82c373ed Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.
1994-10-15 21:39:54 +00:00
Andrey A. Chernov
0f61271c87 Add LDADD += -lcurses 1994-10-12 02:13:39 +00:00
Andrey A. Chernov
e46d877d8d Add LDADD+= -ltermcap 1994-10-12 02:06:02 +00:00
Andrey A. Chernov
ad37120909 SHARED_LDADD --> LDADD 1994-10-12 01:54:38 +00:00
Andrey A. Chernov
52f2c9a10a Output error diagnostics, if occurse.
Add radiolist test.
1994-10-11 23:52:16 +00:00
Andrey A. Chernov
52bc859d7c Use libdialog now. 1994-10-11 23:51:09 +00:00