Commit Graph

392 Commits

Author SHA1 Message Date
wollman
ff582331c8 Make netstat report the correct state for T/TCP.
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
ache
20d781f1d9 Merge with eBones stuff
Submitted by: mark@grondar.za
1995-02-11 18:20:06 +00:00
jkh
4e4a2a42a9 Fixes for chpass.
Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
1995-02-09 11:14:39 +00:00
jkh
231af43b2f Add y.tab.h to CLEANFILES. 1995-02-09 00:24:00 +00:00
jmz
b4f0cb5993 Correct a bug in the P function: according to 7th edition UNIX (tm), the
newline must be part of the pattern space i.e. `echo a|sed -e P' must print
a
a
and not
aa
This is consistent with gnu sed, SunOS, Ultrix (and probably others!)
1995-02-06 00:14:50 +00:00
wpaul
7691231ee1 cleaned up and modified slightly to reflect changes 1995-02-01 23:47:04 +00:00
wpaul
a7c8f42a50 Cleaned up Makefile a little, added man page links from ypchsh.1 ypchfn.1
and ypchpass.1 to yppasswd.1. Also fixed a typo: ypshfn != ypchfn.
1995-02-01 23:46:20 +00:00
wpaul
73ef160522 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
2e5935449b Fix calculation of default field heights and a bug in the setting
of form dimensions.
1995-02-01 04:08:19 +00:00
paul
0ca165be7a 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
bde
88c35f905c 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
1be8fd4ad3 Add dmenu. 1995-01-31 13:53:44 +00:00
wpaul
3d0ac6fd1e 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
jkh
d1af417b50 Unify the copyright notice. 1995-01-30 22:21:29 +00:00
asami
213bd87233 Cleanup.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-30 17:49:19 +00:00
ache
49e0c4f865 Fix owner/mode for installed data 1995-01-30 15:34:06 +00:00
ache
355dcb0bca Remove creating dirs & symlinks, it is done by mtree now 1995-01-30 15:29:47 +00:00
paul
fde04bb710 Update the parser to handle the color specifications and new attr
options.
1995-01-30 02:43:28 +00:00
phk
b870719315 add file2c 1995-01-29 00:51:38 +00:00
phk
c06793a4a7 This is a small little program used to execute a bad practice a clean way :-)
It will read a file on stdin and write it as decimal integers on stdout,
this is useful for embedding files in c-sources.

There are a few places where this is needed, and this is a better way than
the current practice of hand-editing the sources.

The command:

date | file2c 'const char date[] = {' ',0};'

will produce:

const char date[] = {
83,97,116,32,74,97,110,32,50,56,32,49,54,58,52,55,58,51,51,32,80,83,84,
32,49,57,57,53,10
,0};

The manual page is 2 lines longer than the source :-)
1995-01-29 00:49:57 +00:00
asami
153afc4dd2 Add a -s' flag for silent' processing. Make the script return 0 for
success and 1 for failure.  Describe the options in manpage.
1995-01-28 17:35:56 +00:00
jkh
ca1e014423 Put in a much less bogus Makefile on advice from Bruce. 1995-01-28 06:01:18 +00:00
dg
4425e96b90 Fixed coredump when issuing d$ on a blank line. Fixes bin/191. 1995-01-28 01:58:14 +00:00
jkh
c041452654 Use the better perl script version of which submitted by Wolfram.
Submitted by:	Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-01-26 21:49:54 +00:00
ache
7a704a159f LIBFORMS added to DPADD 1995-01-25 20:29:32 +00:00
ache
16ffb897c5 LIBS changed to DPADD & LDADD 1995-01-25 20:28:39 +00:00
jkh
6725fa8d3a Add which. 1995-01-25 19:19:06 +00:00
jkh
ac10a896e0 This commit was generated by cvs2svn to compensate for changes in r5887,
which included commits to RCS files with non-trunk default branches.
1995-01-25 19:18:33 +00:00
jkh
00f6b2130e Bring in Joerg's which command. It's small, it's simple, it will stop
people (like me! :) from whining!
Submitted by:	joerg
1995-01-25 19:18:33 +00:00
paul
7e417f9885 More parser fixes. Store attributes properly for each field and
don't emit a second declaration unless it's different to the default.
1995-01-25 07:56:10 +00:00
paul
572d159840 Quash another bug where if no link alias is specified a
duplicate declaration was emitted.
1995-01-25 07:10:53 +00:00
paul
bf1a2df634 Correct default calculation of menu field widths. 1995-01-25 06:32:40 +00:00
paul
5b582b5c4d Fix a serious bug where changes to a field changed all fields
in the forms that used the same field declaration.
1995-01-25 06:04:02 +00:00
paul
3c1200ce0b Improve the forms language quite a bit. Most things now
default to sensible values so you don't have to spell out
every little detail for every field. Also, auto-detect
the field type from the syntax.
1995-01-25 03:27:34 +00:00
ache
3fc909228f Merge. 1995-01-24 00:41:11 +00:00
ache
38d8a0f015 This commit was generated by cvs2svn to compensate for changes in r5825,
which included commits to RCS files with non-trunk default branches.
1995-01-24 00:37:11 +00:00
ache
91f1983c7d Upgrade. My recent fix applied by author. 1995-01-24 00:37:11 +00:00
jkh
37a294f6f3 Bring in a number of changes from NetBSD's make, fixing quite a few
problems in the process:

1. Quoting should work properly now.  In particular, Chet's reported bash
   make problem has gone away.
2. A lot of memory that just wasn't being free'd after use is now freed.
   This should cause make to take up a LOT less memory when dealing with
   archive targets.
3. Give proper credit to Adam de Boor in a number of files.
Obtained from: NetBSD (and Adam de Boor)
1995-01-23 21:03:17 +00:00
wollman
973de866ee Don't print protocol-cloned routes by default (enabled by -a flag).
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
paul
1f71b5c74f A forms interface builder. Basically, it reads a forms spec file and
spits out a frm.tab.h file with all the definitions needed by the
libforms interface.
1995-01-23 14:43:38 +00:00
bde
7e0bb04ca3 Update comments about MISSING and GNU versions. 1995-01-21 14:47:33 +00:00
bde
72beaa2c03 Don't default to -g in ${CFLAGS}. Developers can still use `make g=-g ...'
for debugging.  The default ${CFLAGS} still clobbers the system default
of -O2 to -O.
1995-01-21 14:41:45 +00:00
bde
9b9fa2b031 Use exactly the same checks in excluded() as in inlist(): ignore stabs and
stringless symbols in excluded(); check for too-small (nonzero) string table
offsets in inlist().
1995-01-21 10:24:18 +00:00
ache
43c32831ea Better protection against too long pathes and 8bit controls in file
names, locate dumps core instead
1995-01-21 05:50:50 +00:00
ache
2ace66ee5a Not go to interactive mode, if login failed for URLs, just
exit(1). Dedicated to Jordan.
1995-01-21 01:37:22 +00:00
wollman
a9a644156c In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c
doesn't complain.
1995-01-20 23:07:10 +00:00
wollman
73f8dfbd08 Update for new kpasswd interface. 1995-01-20 22:03:36 +00:00
wollman
1553a89f03 Added mk_cmds. 1995-01-19 22:31:17 +00:00
wollman
56a8633bc6 Port to FreeBSD. (Sorry there's no man page yet.) 1995-01-19 22:27:58 +00:00
wollman
1a2bf8adfb This commit was generated by cvs2svn to compensate for changes in r5719,
which included commits to RCS files with non-trunk default branches.
1995-01-19 21:30:25 +00:00