aboutsummaryrefslogtreecommitdiff
path: root/gnu/libexec
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework error reporting/logging: although the SunOS documentation saysBill Paul1995-03-317-44/+140
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=7508
* Ack... clean up the logfile name generation that I botched in the lastBill Paul1995-03-301-3/+2
| | | | | | | commit. Notes: svn path=/head/; revision=7484
* Fix up the way _PATH_YP is used to put together the pathname to theBill Paul1995-03-302-13/+30
| | | | | | | | | | | | | 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). Notes: svn path=/head/; revision=7483
* Removed annoying changelog entries from ypclnt.c, added usage() functionBill Paul1995-02-062-61/+25
| | | | | | | to ypxfr.c. Notes: svn path=/head/; revision=6220
* Wrote manual page for ypxfr, modified Makefile to install it.Bill Paul1995-02-062-5/+198
| | | | Notes: svn path=/head/; revision=6216
* Added subdir entry for ypxfrBill Paul1995-01-311-2/+2
| | | | Notes: svn path=/head/; revision=6073
* Obtained from: The NYS projectBill Paul1995-01-317-0/+1694
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=6072
* Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},Bruce Evans1995-01-242-19/+18
| | | | | | | | which is not supposed to work for shell files, but somehow did with the old `make'. Notes: svn path=/head/; revision=5860
* NOOBJS -> NOOBJ - it's more consistent.Jordan K. Hubbard1995-01-241-2/+2
| | | | Notes: svn path=/head/; revision=5858
* No object here.Jordan K. Hubbard1995-01-241-2/+3
| | | | Notes: svn path=/head/; revision=5857
* Deal with this not having an object file.Jordan K. Hubbard1995-01-241-2/+3
| | | | Notes: svn path=/head/; revision=5855
* Fix the bogus depend rule - boy, NetBSD's make catches a lot ofJordan K. Hubbard1995-01-231-2/+2
| | | | | | | bogus Makefiles! Notes: svn path=/head/; revision=5815
* Use new bsd.info.mk to avoid local rules and fix bugs in `all' and `depend'Bruce Evans1995-01-021-7/+2
| | | | | | | targets. Notes: svn path=/head/; revision=5346
* Add doc to subdirsAndrey A. Chernov1995-01-011-3/+3
| | | | Notes: svn path=/head/; revision=5341
* Install info pages nowAndrey A. Chernov1995-01-011-0/+8
| | | | Notes: svn path=/head/; revision=5340
* Changed one occurence of rmail(1) to rmail(8).Andreas Schulz1994-12-111-2/+2
| | | | Notes: svn path=/head/; revision=5044
* From Johannes Stille:David Greenman1994-11-062-24/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=4208
* Allow '#' in address in rmail argumentsAndrey A. Chernov1994-10-223-12/+21
| | | | | | | Obtained from: taylor-uucp list Notes: svn path=/head/; revision=3773
* Make ~%take work: ignore \rAndrey A. Chernov1994-10-021-1/+4
| | | | | | | Obtained from: taylor-list Notes: svn path=/head/; revision=3322
* Make -a option optional, uux fails in other case with new sendmail-styleAndrey A. Chernov1994-10-021-2/+2
| | | | | | | | <> address in return-receipts Obtained from: taylor-list Notes: svn path=/head/; revision=3321
* We do have <dirent.h>, and it was harmful to pretend that we don't.Bruce Evans1994-08-281-1/+1
| | | | | | | | | | | | 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. Notes: svn path=/head/; revision=2355
* New 2.0 specific changes.Jordan K. Hubbard1994-08-081-0/+5
| | | | | | | | Reviewed by: Submitted by: Notes: svn path=/head/; revision=1969
* Make uucp compile again in 2.0. A little perturbed about the commentJordan K. Hubbard1994-08-081-3/+3
| | | | | | | | | | 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: Notes: svn path=/head/; revision=1968
* Back out previous change and allow uucico to run by others,Andrey A. Chernov1994-05-311-3/+2
| | | | | | | this required by several programs Notes: svn path=/head/; revision=1659
* Don't need to restrict cu, it can be able to check permissions by itselfAndrey A. Chernov1994-05-311-3/+2
| | | | Notes: svn path=/head/; revision=1657
* Allow uux and uucp to run by others,Andrey A. Chernov1994-05-312-6/+4
| | | | | | | we can got problems with various mailers in other case Notes: svn path=/head/; revision=1656
* I forget to add BINGRP=$(group)Andrey A. Chernov1994-05-315-6/+11
| | | | Notes: svn path=/head/; revision=1655
* Disallow uucp execution to others.Andrey A. Chernov1994-05-311-2/+3
| | | | | | | | It maybe not so nice, but if any user can easily shut up your mail feed with big file isn't nice too. Notes: svn path=/head/; revision=1654
* Allow group "dialer" to run cuAndrey A. Chernov1994-05-311-2/+3
| | | | | | | Disallow others to run cu Notes: svn path=/head/; revision=1653
* Don't allow others to run uuconvAndrey A. Chernov1994-05-311-1/+2
| | | | Notes: svn path=/head/; revision=1652
* Don't allow others run uuchkAndrey A. Chernov1994-05-311-1/+2
| | | | Notes: svn path=/head/; revision=1651
* Don't allow others run uuxqtAndrey A. Chernov1994-05-311-2/+2
| | | | Notes: svn path=/head/; revision=1650
* Don't allow others run uucicoAndrey A. Chernov1994-05-311-2/+2
| | | | Notes: svn path=/head/; revision=1649
* Change group to uucp groupAndrey A. Chernov1994-05-311-1/+1
| | | | Notes: svn path=/head/; revision=1644
* Fix -z key, patch from TaylorAndrey A. Chernov1994-05-251-21/+20
| | | | Notes: svn path=/head/; revision=1552
* Documentation addedAndrey A. Chernov1994-05-251-0/+4036
| | | | Notes: svn path=/head/; revision=1551
* Fix multiply slash problemAndrey A. Chernov1994-05-201-1/+4
| | | | Notes: svn path=/head/; revision=1522
* We have BROKEN_SETREUID by Taylor point of viewAndrey A. Chernov1994-05-171-1/+1
| | | | Notes: svn path=/head/; revision=1509
* Upgrade to version 1.05Andrey A. Chernov1994-05-07230-3672/+14733
| | | | Notes: svn path=/head/; revision=1464
* 1) Add \p\c after CONNECT for modems which give CONNECT beforeAndrey A. Chernov1994-05-031-1/+5
| | | | | | | | | | carrier up 2) Add more chat-fail codes 3) Add comment about complete/abort scripts, when modem handle DTR drop properly Notes: svn path=/head/; revision=1450
* Back my earlier BSD_TTY change out of -current.Jordan K. Hubbard1994-04-261-2/+2
| | | | Notes: svn path=/head/; revision=1418
* From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)Jordan K. Hubbard1994-04-259-2/+320
| | | | | | | | | | | | | | | | | | | Message-Id: <199404171501.LAA01245@stark.UUCP> To: freebsd-hackers@freefall.cdrom.com Subject: Make world and UUCP Sender: freebsd-hackers-owner@freefall.cdrom.com Precedence: bulk It would be much more convenient if "make world" didn't clobber my UUCP configuration files in /etc/uucp. Perhaps the easiest fix would be to change the names of the sample configuration files: config -> config.sample ports -> ports.sample ... Notes: svn path=/head/; revision=1414
* From: Marko Teiste <mte@tigger.cirion.fi>Jordan K. Hubbard1994-04-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Message-Id: <199404241154.OAA00260@tigger.cirion.fi> Subject: uucp error Index: gun/libexec/uucp FreeBSD-1.1-GAMMA Apparently-To: FreeBSD-bugfiler@freefall.cdrom.com Sender: freebsd-bugs-owner@freefall.cdrom.com Precedence: bulk Description: When calling remote uucp site dialing succeeds, but standard login chat fails. Debug file shows that uucico does not see any characters send from remote. Repeat-By: use sio drivers, 16450 base serial and standard taylor configuration provided with the GAMMA release. Run uucico and observer. Fix: define HAVE_BSD_TTY instead of HAVE_POSIX_TTY in common_source/policy.h and recompile. Notes: svn path=/head/; revision=1413
* Fix gross spelling and typographical errors pointed out by Keith Bostic.Jordan K. Hubbard1994-04-241-4/+4
| | | | Notes: svn path=/head/; revision=1411
* Back out previous change.Jordan K. Hubbard1994-04-021-4/+3
| | | | Notes: svn path=/head/; revision=1322
* Fix from Gene for bogus destinations.Jordan K. Hubbard1994-04-011-3/+4
| | | | Notes: svn path=/head/; revision=1317
* Partially undo prevoius fix from Ian Taylor, VTIME must be 0 hereAndrey A. Chernov1994-02-071-3/+3
| | | | Notes: svn path=/head/; revision=1123
* Patches from Gunter Jung to make xchat work properly.Jordan K. Hubbard1994-02-061-40/+36
| | | | Notes: svn path=/head/; revision=1101
* Update for new organization of gnu tree.Rodney W. Grimes1994-01-302-0/+8
| | | | Notes: svn path=/head/; revision=1043
* remove HAVE_SETPGRP, because it doesn't detach terminalAndrey A. Chernov1993-11-181-1/+1
| | | | | | | in POSIX (setsid() is only way to do it) Notes: svn path=/head/; revision=784