Commit Graph

83 Commits

Author SHA1 Message Date
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joshua Peck Macdonald
20307d5eea Add missing info section name. 1997-01-11 03:11:35 +00:00
Andrey A. Chernov
19d1a09b3d Not have saved setuid anymore 1996-12-06 22:55:31 +00:00
Jordan K. Hubbard
40b8bc74b7 Allow baud rate of 230400.
Submitted-By: Andrew L.Davydov <davydov@ns.okbmei.msk.su>
1996-12-02 12:12:19 +00:00
Joerg Wunsch
d1a3967b59 Catch a situation where the tty speed might be 0 (in the case of UUCP
over TCP), but is used as a divisor later, causing uucico to abort
with a SIGFPE.

Reviewed by:	Ian Lance Taylor <ian@cygnus.com>
1996-10-12 10:41:56 +00:00
Wolfram Schneider
361e0905ef make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Mike Pritchard
7c87ef470d Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bill Paul
1c16e9536e Toss ypxfr into the attic. The new one should be appearing shortly. 1995-12-25 02:57:48 +00:00
Bill Paul
4466e54fea Turn of ypxfr. It's about to be nuked. 1995-12-25 02:56:12 +00:00
Andrey A. Chernov
44ac4ef672 Make it sgid dialer to read lockfiles 1995-09-15 00:05:07 +00:00
Andrey A. Chernov
f73f49f214 Make cu/uucico sgid dialer to help to work with others lockfiles,
they can't open root.dialer lockfiles in old variant.
1995-09-14 22:18:39 +00:00
Andrey A. Chernov
2ac29091ed Upgrade 1.06 -> 1.06.1 1995-08-21 11:28:26 +00:00
Andrey A. Chernov
2bcf7e034b Fix LEGAL_GRADE determination, isalnum can return true when national
environment is active
1995-08-19 22:08:38 +00:00
Andrey A. Chernov
6ec4b3339b Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Jean-Marc Zucconi
f7fda1a3c9 configuration files are in /etc/uucp and spool files are in /var/spool/uucp 1995-05-20 21:25:25 +00:00
Andrey A. Chernov
cb874294c9 Install uuconv/uuchk with right permissions 1995-05-14 17:01:07 +00:00
Andrey A. Chernov
38e121ed71 Update other Makefiles to reflect uuconv/uuchk install place change 1995-05-13 12:57:44 +00:00
Andrey A. Chernov
12421b942f Install uuconv/uuchk to /usr/sbin 1995-05-13 12:30:17 +00:00
Andrey A. Chernov
4c639bf9d7 Fix HAVE_SAVED_IDS and HAVE_BROKEN_SETREUID defines 1995-04-29 12:22:41 +00:00
Bill Paul
b8ca7ca6c6 Removed code from yp_xdr.c module that now lives in libc. (Unfortunately,
ypxfr can't easily be reduced down to one file like yppush because it
needs to do certain special things (such as binding to a specific
machine (the NIS master)) which the yp_*() functions in libc don't
allow.
1995-04-02 17:01:31 +00:00
Bill Paul
4b2f613d23 Rework error reporting/logging: although the SunOS documentation says
that ypxfr is supposed to log messages to /var/yp/ypxfr.log if it exists,
using syslog() makes more sense, especially since ypserv does the same
thing already. Try to use stderr by default, and use syslog() if stderr
is not a tty.

Also update the man page to reflect this change.
1995-03-31 05:45:23 +00:00
Bill Paul
8d36de4ea2 Ack... clean up the logfile name generation that I botched in the last
commit.
1995-03-30 04:21:31 +00:00
Bill Paul
effe773667 Fix up the way _PATH_YP is used to put together the pathname to the
NIS maps (get rid of extraneous slash a la /var/yp//domainname).

Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a
tty. This should allow logging to be done when ypxfr is called from
inside ypserv in response to a yppush request.

Update man page to reflect the change (and fix a typo).
1995-03-30 04:14:46 +00:00
Bill Paul
6e532401dd Removed annoying changelog entries from ypclnt.c, added usage() function
to ypxfr.c.
1995-02-06 23:35:49 +00:00
Bill Paul
5920e7589e Wrote manual page for ypxfr, modified Makefile to install it. 1995-02-06 22:15:21 +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
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
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
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
Andreas Schulz
dc59b9fd8d Changed one occurence of rmail(1) to rmail(8). 1994-12-11 21:35:17 +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
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
1546c307a6 Make ~%take work: ignore \r
Obtained from: taylor-list
1994-10-02 23:10:39 +00:00
Andrey A. Chernov
09b7b3dcca Make -a option optional, uux fails in other case with new sendmail-style
<> address in return-receipts
Obtained from: taylor-list
1994-10-02 23:09:41 +00:00
Bruce Evans
05e598dc37 We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
1994-08-28 16:04:56 +00:00
Jordan K. Hubbard
7129790a6c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
Jordan K. Hubbard
aeddb76205 Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size.  Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:
1994-08-08 20:24:12 +00:00
Andrey A. Chernov
4a62bda2ae Back out previous change and allow uucico to run by others,
this required by several programs
1994-05-31 15:55:43 +00:00
Andrey A. Chernov
9c07bcf01d Don't need to restrict cu, it can be able to check permissions by itself 1994-05-31 07:47:39 +00:00
Andrey A. Chernov
70db166b79 Allow uux and uucp to run by others,
we can got problems with various mailers in other case
1994-05-31 07:37:25 +00:00