History log of /freebsd-current/usr.bin/ypmatch/ypmatch.c
Revision Date Author Comments
# e5d258c9 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .c pattern

Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/


# b61a5730 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD

The SPDX folks have obsoleted the BSD-2-Clause-NetBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 1de7b4b8 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

various: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


# d6bd41a3 10-Aug-2015 Marcelo Araujo <araujo@FreeBSD.org>

More style(9) fixes. No functional changes.

Differential Revision: D3350
Reviewed by: ed
Approved by: bapt (mentor)


# b47f904d 07-Aug-2015 Marcelo Araujo <araujo@FreeBSD.org>

Remove an extra new line on usage().
Rename domain to domainname to be identical to the man page.

Reported by: bde


# e6330ffe 06-Aug-2015 Marcelo Araujo <araujo@FreeBSD.org>

Get closest as possible with style(9). No functional change.

Differential Revision: D3295
Reviewed by: bapt


# eb2e6d15 03-Aug-2015 Marcelo Araujo <araujo@FreeBSD.org>

Remove the 3rd clause of BSD LICENSE.
Sync the code with the OpenBSD version.

Differential Revision: D3213
Reviewed by: rodrigc, bapt
Obtained from: OpenBSD
Sponsored by: gandi.net


# 006a388b 28-Jul-2015 Marcelo Araujo <araujo@FreeBSD.org>

Compilers will complain the usage of obsolescent variable declarations.
Also it will fix the build problem with sparc64.

Submitted by: ed@


# 033af09d 27-Jul-2015 Marcelo Araujo <araujo@FreeBSD.org>

Staticfy and constify some variables and clean up the code a bit to make it
more readable. No functional change.

Differential Revision: D3166
Reviewed by: kib
Sponsored by: gandi.net


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# 821df508 12-Dec-2009 Xin LI <delphij@FreeBSD.org>

Revert most part of 200420 as requested, as more review and polish is
needed.


# 6f2d3221 11-Dec-2009 Xin LI <delphij@FreeBSD.org>

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


# 53c40578 25-Jun-2009 Brian Somers <brian@FreeBSD.org>

Support shadow.byname and shadow.byuid maps, protecting them by
insisting on privileged port access.

Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.

Approved by: re (kib)
MFC after: 3 weeks


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# f682f10c 21-May-2005 Ruslan Ermilov <ru@FreeBSD.org>

Sync program's usage() with manpage's SYNOPSIS.


# ba7887c7 25-Oct-2003 Peter Wemm <peter@FreeBSD.org>

Stop gcc warnings


# ed4d1c46 06-Feb-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Apply the following mechanical transformations in preparation for
ansification and constification:

s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g

Also add $FreeBSD$ where needed.

MFC after: 1 week


# 082d8262 11-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fixes
__FBSDID() additions
some include file sorting.
Some Makefile sorting.

WARNS?=2 is not added to the Makefile, because it is going to be
default for usr.bin/
NO_WERROR is set because there are rpc*.h file issues.


# 7a19d1bb 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 5b116430 19-Feb-1998 John Birrell <jb@FreeBSD.org>

Add #include <string.h> to get prototypes.


# 3eff8361 29-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add Xreferences. Delay the compute of default domain.
Obtained from: OpenBSD


# d228e65c 12-Jul-1997 Peter Wemm <peter@FreeBSD.org>

Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.


# 8b2178f1 25-Jun-1997 Tor Egge <tegge@FreeBSD.org>

Treat no match as a failure. This is the normal behaviour on SunOS.


# 12aeae6c 25-Mar-1995 Bill Paul <wpaul@FreeBSD.org>

Submitted by: Sebastian Strollo <seb@erix.ericsson.se>

Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.


# 73407b34 07-Aug-1994 Garrett Wollman <wollman@FreeBSD.org>

Move more YP user programs over.