Commit Graph

6024 Commits

Author SHA1 Message Date
sos
e33eacfbc0 Syscons bug fix: tab now right (thanks bruce!)
Mouse arrow support almost finished.
1995-02-01 21:56:32 +00:00
gpalmer
54b76ef3e5 Start the ball rolling by sticking a
MAINTAINER?= line in here.

Idea by: jkh@FreeBSD.ORG
1995-02-01 21:47:57 +00:00
wpaul
1818a0c4e1 Fix for that last fix... pass the hat. :) 1995-02-01 20:09:00 +00:00
wpaul
58429fdc31 Small fix to _getyppass(): sometimes we can construct the wrong mapname
when looking for master.passwd.whatever.
1995-02-01 20:06:33 +00:00
jkh
19441ff4f8 Take out my previous change to update the src tree first - that was
stupid.. :-)
1995-02-01 11:19:24 +00:00
jkh
01be8a1a70 Do what I think Poul *intended* to do, rather than what he did.. :-) 1995-02-01 11:15:45 +00:00
jkh
c766e4d1a4 Bump snap date. Our current version numbering scheme loses.
How can we get ONE canonical version string into everything?
1995-02-01 11:03:35 +00:00
jkh
685c12b3f3 Bump the date on the snapshot. The previous one never happened.. :-) 1995-02-01 10:59:37 +00:00
jkh
d9f62e5aa3 Change the way I make the link to /etc/termcap. It worked for install
but not distribute.  Now it works for both.
1995-02-01 08:32:05 +00:00
wpaul
ca503e6391 Changed passwd/yppasswd's Makefile to create all symbolic links instead
of hard links: since passwd is installed immutable, an attempt to make
a hard link to it during a 'make install' would fail. I didn't notice
this conflict because my /usr directory is an NFS filesystem mounted from a
SunOS server, so the special file mode flags had no effecti when I tested
everything on my machine. Live and learn.
1995-02-01 05:55:18 +00:00
paul
41f11011a1 Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
paul
0305d2ddc1 Implemented height field for text fields so they can now be more than
one line long.

Fixed a bug in the input field with cursor positioning at the end of
the field.

Make the print_status function available to apps so they can print
status messages.

Updated the example for the new fib parser.
1995-02-01 04:06:37 +00:00
paul
0f25422ca8 Clean up the parser, allow fields to be specified inline and
generally make the forms language much less verbose.

Add height option for fields and calculate sensible defaults.
1995-02-01 03:22:17 +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
wpaul
c66a9d7870 Need _PATH_YP for ypserver stuff. 1995-01-31 23:12:53 +00:00
phk
9f0a17dbb2 I have taken sysinstall out of the normal SUBDIR rule. There are too
many build problems just now, and it isn't that general after all.
1995-01-31 19:41:08 +00:00
phk
27ca9d3bb5 CTM email tools.
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-01-31 19:12:53 +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
bde
410788f921 Fix off by one error in calculation of `mday' (months start at 1).
Jan 31 gave Jan 30, often for next year.
1995-01-31 17:54:39 +00:00
jkh
0c3392596f Add dmenu. 1995-01-31 13:53:44 +00:00
dufault
331e8d8b9c Split byte packing functions into signed and unsigned versions.
Left most current invocations as signed, though that could be wrong.
1995-01-31 11:41:47 +00:00
wpaul
5902fd25c2 Some changes for YP password map handling:
- FreeBSD's NIS server can supply a master.passwd map, which has
  more fields in it than a standard passwd map, so we need a
  _master_pw_breakout() fuction.

- When doing passwd map lookups, look for master.passwd.* by attempting
  a _yp_first() on master.passwd.byname. If it exists, we're being served
  by a FreeBSD NIS server and we should use this map.

- If we aren't the superuser, retrieve only the standard passwd maps.
  If we're being served by a FreeBSD system, then the passwd map has
  no passwords in it, and it won't serve us the master.passwd map unless
  we're superuser anyway.

There's a small speed hit for the superuser inherent in the check for
the master.passwd map, but this lets us dynamically decide what to do
rather than rely on a non-standard config file somewhere. Since all
of this is bypassed for normal users, they shouldn't notice the
difference.
1995-01-31 10:04:18 +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
wpaul
005b0f04d8 Obtained from: The NYS project
This is the first round of changes to incorporate YP server functionality
into FreeBSD. This particular change allows passwd to change either the
local or NIS password, as well as the NIS GECOS and shell information.

Essentially, I've taken passwd(1) and yppasswd from the yppasswd-0.5
distribution (which is part of the NYS project -- a project to provide
a GNU GPL'ed suite of NIS tools) and rammed them into each other
at high speed. I've tried my best to make this co-exist with the
Kerberos stuff, but since I don't run Kerberos I don't have an easy
way to verify that it all works. If you choose any Kerberos flags
then the YP checks should be bypassed, but that may not be enough.
I'll modify it some more if it turns out I broke something. For now,
support for localand NIS passwords is pretty solid:

- If you simply type 'passwd,' the program checks to see if you exist
  in the local pwd.db database. If not, you get bounced to YP.

- If you try to force local functionality with the -l flag and you
  don't exist locally, you get an error.

The -y flag can be used to force YP functionality. -f and -s let you
change your full name and shell (respectively). -f *and* -s let you
change all of your 'account information.'

ypchfn, ypchsh, yppasswd and ypchpass are all links to passwd.
1995-01-31 08:34:16 +00:00
amurai
c2417479c7 Adding "ppp" entry for a user process PPP (aka iijppp) 1995-01-31 07:57:09 +00:00
dg
ca16906a63 Rewrote rlist_free(). The previous code was a good example of how to
write software wrong. rlist_alloc() needs a rewrite, too, but this will
have to wait.
1995-01-31 06:48:53 +00:00
amurai
d3834970da Add Tunnel devcie for ppp (iijppp) 1995-01-31 06:34:53 +00:00
amurai
ac12d39d2e Add Tunnel device for ppp (iijppp) 1995-01-31 06:33:58 +00:00
amurai
16c7cb588b Add tunnel device for ppp(iijppp) 1995-01-31 06:33:02 +00:00
amurai
f8a63aa3da This commit was generated by cvs2svn to compensate for changes in r6059,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:29:58 +00:00
amurai
d1e35feace 1995-01-31 06:29:58 +00:00
amurai
21ef2761fd 1995-01-31 06:29:58 +00:00
amurai
e71c24a676 This commit was generated by cvs2svn to compensate for changes in r6056,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:24:33 +00:00
amurai
0487956fcf Reviewed by: 1995-01-31 06:24:33 +00:00
amurai
f3484727e8 This commit was generated by cvs2svn to compensate for changes in r6053,
which included commits to RCS files with non-trunk default branches.
1995-01-31 06:15:49 +00:00
amurai
74b5a342fd 1995-01-31 06:15:49 +00:00
jkh
f7294b77fd Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
phk
bb768f1b38 $Id: -> $Id$ 1995-01-31 04:33:41 +00:00
jkh
0144326926 Add sweden to list of install sites. 1995-01-30 22:52:50 +00:00
jkh
a86f9e0ecf Unify the copyright notice. 1995-01-30 22:21:29 +00:00
jkh
a68d06836f Add our new Swedish mirror site. 1995-01-30 21:58:39 +00:00
sos
97c71acd6f Added 80x30 & 80x60 experimental modes officially. 1995-01-30 21:44:07 +00:00