|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
5abb10fa |
| 28-Sep-2021 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put yellow pages programs to its own package
YP is less and less used, split them to users have the choice to not install them.
MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH &
pkgbase: Put yellow pages programs to its own package
YP is less and less used, split them to users have the choice to not install them.
MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33441
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0 |
|
| #
7b8810a8 |
| 01-Mar-2017 |
Enji Cooper <[email protected]> |
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week Sponsored by: Dell EMC Isilon
|
| #
35c0323c |
| 06-Jan-2017 |
Enji Cooper <[email protected]> |
Conditionalize wrap(3) use based on MK_TCP_WRAPPERS instead of always building support into ypserv.
MFC after: 2 weeks
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
58458d06 |
| 25-Aug-2015 |
Marcelo Araujo <[email protected]> |
Sync ypwhich(1) code with the OpenBSD version that is more modern. Update the BSD LICENSE and remove the 3rd clause.
Reviewed by: rodrigc, kib, bapt Approved by: bapt (mentor) Obtained from: OpenBSD
Sync ypwhich(1) code with the OpenBSD version that is more modern. Update the BSD LICENSE and remove the 3rd clause.
Reviewed by: rodrigc, kib, bapt Approved by: bapt (mentor) Obtained from: OpenBSD Differential Revision: D3249
show more ...
|
|
Revision tags: release/10.2.0 |
|
| #
c6db8143 |
| 25-Nov-2014 |
Baptiste Daroussin <[email protected]> |
Convert usr.sbin to LIBADD Reduce overlinking
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0 |
|
| #
5e0a19bd |
| 07-Feb-2012 |
Dimitry Andric <[email protected]> |
Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
MFC after: 1 week
|
|
Revision tags: release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
| #
71ccf092 |
| 02-Jan-2010 |
Ed Schouten <[email protected]> |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
| #
69c2a92e |
| 18-Oct-2004 |
Ruslan Ermilov <[email protected]> |
Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in the implementation of the following feature in revision 1.4:
- Install Makefile.yp as /var/yp/Makefile.dist and link it to /var/yp
Utilize FILES, SCRIPTS, and SYMLINKS. While here, fixed a bug in the implementation of the following feature in revision 1.4:
- Install Makefile.yp as /var/yp/Makefile.dist and link it to /var/yp/Makefile only if /var/yp/Makefile doesn't already exist. Suggested by Peter Wemm.
The actual code was only symlinking when no /var/yp/Makefile.dist existed, i.e., never.
show more ...
|
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
| #
052238b1 |
| 04-Apr-2003 |
David E. O'Brien <[email protected]> |
style.Makefile(5)
|
|
Revision tags: release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
| #
d2893b16 |
| 29-Jul-2002 |
Ruslan Ermilov <[email protected]> |
Drop support for COPY, -c has been the default mode of install(1) for a long time now.
Approved by: bde
|
|
Revision tags: release/4.6.1 |
|
| #
0b87f799 |
| 18-Jul-2002 |
Ruslan Ermilov <[email protected]> |
s/${INSTALL} -c/${INSTALL} ${COPY}/
|
|
Revision tags: release/4.6.0_cvs |
|
| #
adb79039 |
| 06-Feb-2002 |
Mark Murray <[email protected]> |
Enable TCP_WRAPPERs for the NIS server. The protection afforded is not massive, but usable.
|
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
| #
90e655ea |
| 20-Jul-2001 |
David E. O'Brien <[email protected]> |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
| #
345e52e7 |
| 26-Mar-2001 |
Ruslan Ermilov <[email protected]> |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
|
Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs |
|
| #
97d92980 |
| 28-Aug-1999 |
Peter Wemm <[email protected]> |
$Id$ -> $FreeBSD$
|
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7 |
|
| #
67b780b0 |
| 31-May-1998 |
Bruce Evans <[email protected]> |
Fixed double slashes in pathnames.
|
| #
930ef4e2 |
| 10-May-1998 |
Bruce Evans <[email protected]> |
Removed bogus dependencies of generated .c files on generated headers.
|
|
Revision tags: release/2.2.6 |
|
| #
df3175a0 |
| 06-Mar-1998 |
Bruce Evans <[email protected]> |
Fixed `make -jN' for large N, as usual. Too usual for yp programs.
|
| #
0d15a950 |
| 11-Feb-1998 |
Bill Paul <[email protected]> |
Fix a bug in the database handle caching. This has to do with the way the underlying database code works. When dealing with first/next queries, you have the notion of a database 'cursor,' which is es
Fix a bug in the database handle caching. This has to do with the way the underlying database code works. When dealing with first/next queries, you have the notion of a database 'cursor,' which is essentially a file pointer for the database. To select the first entry, you do a fetch with the R_FIRST flag set, then you can use the R_NEXT flag to enumerate the other entries in the database. Unfortunately, doing a direct fetch with no flag does _not_ set the 'cursor,' so you can't do a direct fetch and then enumerate the table from there.
The bug is that cached handles generated as the result of a YPPROC_MATCH were being treated as though they were the same as handles generated by a YPPROC_FIRST, which is not the case. The manifestation is that if you do a 'ypmatch first-key-in-map map' followed by a yp_first()/yp_next() pair, the yp_first() and yp_next() both return the first key in the table, which makes the entry appear to be duplicated.
A couple smaller things since I'm here:
- yp_main.c and yp_error.c both have a global 'int debug' in them. For some reason, our cc/ld doesn't flag this as a multiply defined symbol even though it should. Removed the declaration from yp_main.c; we want the one in yp_error.c.
- The Makefile wasn't installing ypinit in the right place.
show more ...
|
| #
13170f18 |
| 10-Nov-1997 |
Bill Paul <[email protected]> |
Add a ypinit script and man page (script lifted from OpenBSD and haqued to work on FreeBSD, man page written by me.)
Also change Makefile.yp a little to be more tolerane in the face of missing sourc
Add a ypinit script and man page (script lifted from OpenBSD and haqued to work on FreeBSD, man page written by me.)
Also change Makefile.yp a little to be more tolerane in the face of missing source files. Print a message if we can't find /var/yp/master.passwd telling the user what to do to fix things.
show more ...
|
|
Revision tags: release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs |
|
| #
476602a9 |
| 22-Feb-1997 |
Peter Wemm <[email protected]> |
Revert $FreeBSD$ to $Id$
|
|
Revision tags: release/2.1.6_cvs, release/2.1.6.1 |
|
| #
1130b656 |
| 14-Jan-1997 |
Jordan K. Hubbard <[email protected]> |
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
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.
show more ...
|
| #
180807d2 |
| 22-Dec-1996 |
Bill Paul <[email protected]> |
Big round o changes:
- yp_dblookup.c: Create non-DB specific database access functions. Using these allows access to the underlying database functions without needing explicit knowledge of Berke
Big round o changes:
- yp_dblookup.c: Create non-DB specific database access functions. Using these allows access to the underlying database functions without needing explicit knowledge of Berkeley DB. (These are used only when DB_CACHE is #defined. Other programs that use the non-caching functions (yp_mkdb, ypxfr, yppush, rpc.yppasswdd) shouldn't notice the difference.)
- yp_dnslookup: Implement async DNS lookups. We send our own DNS requests using UDP and put the request in a queue. When the response arrives, we use the ID in the header to find the corresponsing queue entry and then send the response to the client. We can go about our business and handle other YP requests in the meantime. This way, we can deal with time consuming DNS requests without blocking and without forking.
- yp_server.c: Convert to using new non-DB-specific database access functions. This simplifies the code a bit and removes the need for this module to know anything about Berkeley DB. Also convert the ypproc_match_2_svc() function to use the async DNS lookup routines.
- yp_main.c: tweak yp_svc_run() to add the resolver socket to the set of descriptors monitored in the select() loop. Also add a timeout to select(); we may get stale DNS requests stuck in the queue which we want to invalidate after a while. If the timeout hits, we decrement the ttl on all pending DNS requests and nuke those requests that aren't handled before ttl hits zero.
- yp_extern.h: Add prototypes for new stuff.
- yp_svc_udp.c (new file): The async resolver code needs to be able to rummage around inside the RPC UDP transport handle in order to work correcty. There's basically one transport handle, and each time a request comes in, the transaction ID in the handle is changed. This means that if we queue a DNS request, then we handle some other unrelated requests, we will be unable to send the DNS response because the transaction ID and remote address of the client that made the DNS request will have been lost. What we need to do is save the client address and transaction ID in the queue entry for the DNS request, then put the transaction ID and address back in the transport handle when we're ready to reply. (And then we have to undo the change so as not to confuse any other part of the server.) The trouble is that the transaction ID is hidden in an opaque part of the transport handle, and only the code in the svc_udp module in the RPC library knows how to handle it. This file contains a couple of functions that let us read and set the transaction ID in spite of this. This is really a dirty trick and I should be taken out and shot for even thinking about it, but there's no other way to get this stuff to work.
- Makefile: add yp_svc_udp.c to SRCS.
show more ...
|
| #
4c69e7b9 |
| 03-Dec-1996 |
Bill Paul <[email protected]> |
Back out the non-forking YPPROC_ALL stuff. Whatever drugs I was doing when I came up with this idea weren't strong enough to help me see it through. If this was a self-contained application and I had
Back out the non-forking YPPROC_ALL stuff. Whatever drugs I was doing when I came up with this idea weren't strong enough to help me see it through. If this was a self-contained application and I had complete control over what data got sent through what socket and when, I might be able to get everything to work right without blocking, but instead I have RPC/XDR in between me and the socket layer, and they have their own ideas about what to do.
Maybe one day I'll go totally mad and figure out the right way to do this; in the meantime this mess goes on the back burner.
show more ...
|