head	1.23;
access;
symbols
	RELENG_8_4:1.23.0.2
	RELENG_9_1_0_RELEASE:1.21.2.2.2.2
	RELENG_9_1:1.21.2.2.0.2
	RELENG_9_1_BP:1.21.2.2
	RELENG_8_3_0_RELEASE:1.19.32.2.2.1
	RELENG_8_3:1.19.32.2.0.2
	RELENG_8_3_BP:1.19.32.2
	RELENG_9_0_0_RELEASE:1.21.2.1.2.1
	RELENG_9_0:1.21.2.1.0.2
	RELENG_9_0_BP:1.21.2.1
	RELENG_9:1.21.0.2
	RELENG_9_BP:1.21
	RELENG_7_4_0_RELEASE:1.19.36.1
	RELENG_8_2_0_RELEASE:1.19.32.1.6.1
	RELENG_7_4:1.19.0.36
	RELENG_7_4_BP:1.19
	RELENG_8_2:1.19.32.1.0.6
	RELENG_8_2_BP:1.19.32.1
	RELENG_8_1_0_RELEASE:1.19.32.1.4.1
	RELENG_8_1:1.19.32.1.0.4
	RELENG_8_1_BP:1.19.32.1
	RELENG_7_3_0_RELEASE:1.19.34.1
	RELENG_7_3:1.19.0.34
	RELENG_7_3_BP:1.19
	RELENG_8_0_0_RELEASE:1.19.32.1.2.1
	RELENG_8_0:1.19.32.1.0.2
	RELENG_8_0_BP:1.19.32.1
	RELENG_8:1.19.0.32
	RELENG_8_BP:1.19
	RELENG_7_2_0_RELEASE:1.19.30.1
	RELENG_7_2:1.19.0.30
	RELENG_7_2_BP:1.19
	RELENG_7_1_0_RELEASE:1.19.28.1
	RELENG_6_4_0_RELEASE:1.19.26.1
	RELENG_7_1:1.19.0.28
	RELENG_7_1_BP:1.19
	RELENG_6_4:1.19.0.26
	RELENG_6_4_BP:1.19
	RELENG_7_0_0_RELEASE:1.19
	RELENG_6_3_0_RELEASE:1.19
	RELENG_7_0:1.19.0.24
	RELENG_7_0_BP:1.19
	RELENG_6_3:1.19.0.22
	RELENG_6_3_BP:1.19
	RELENG_7:1.19.0.20
	RELENG_7_BP:1.19
	RELENG_6_2_0_RELEASE:1.19
	RELENG_6_2:1.19.0.18
	RELENG_6_2_BP:1.19
	RELENG_5_5_0_RELEASE:1.19
	RELENG_5_5:1.19.0.16
	RELENG_5_5_BP:1.19
	RELENG_6_1_0_RELEASE:1.19
	RELENG_6_1:1.19.0.14
	RELENG_6_1_BP:1.19
	RELENG_6_0_0_RELEASE:1.19
	RELENG_6_0:1.19.0.12
	RELENG_6_0_BP:1.19
	RELENG_6:1.19.0.10
	RELENG_6_BP:1.19
	RELENG_5_4_0_RELEASE:1.19
	RELENG_5_4:1.19.0.8
	RELENG_5_4_BP:1.19
	RELENG_4_11_0_RELEASE:1.8.2.2
	RELENG_4_11:1.8.2.2.0.16
	RELENG_4_11_BP:1.8.2.2
	RELENG_5_3_0_RELEASE:1.19
	RELENG_5_3:1.19.0.6
	RELENG_5_3_BP:1.19
	RELENG_5:1.19.0.4
	RELENG_5_BP:1.19
	RELENG_4_10_0_RELEASE:1.8.2.2
	RELENG_4_10:1.8.2.2.0.14
	RELENG_4_10_BP:1.8.2.2
	RELENG_5_2_1_RELEASE:1.19
	RELENG_5_2_0_RELEASE:1.19
	RELENG_5_2:1.19.0.2
	RELENG_5_2_BP:1.19
	RELENG_4_9_0_RELEASE:1.8.2.2
	RELENG_4_9:1.8.2.2.0.12
	RELENG_4_9_BP:1.8.2.2
	RELENG_5_1_0_RELEASE:1.18
	RELENG_5_1:1.18.0.2
	RELENG_5_1_BP:1.18
	RELENG_4_8_0_RELEASE:1.8.2.2
	RELENG_4_8:1.8.2.2.0.10
	RELENG_4_8_BP:1.8.2.2
	RELENG_5_0_0_RELEASE:1.17
	RELENG_5_0:1.17.0.2
	RELENG_5_0_BP:1.17
	RELENG_4_7_0_RELEASE:1.8.2.2
	RELENG_4_7:1.8.2.2.0.8
	RELENG_4_7_BP:1.8.2.2
	RELENG_4_6_2_RELEASE:1.8.2.2
	RELENG_4_6_1_RELEASE:1.8.2.2
	RELENG_4_6_0_RELEASE:1.8.2.2
	RELENG_4_6:1.8.2.2.0.6
	RELENG_4_6_BP:1.8.2.2
	RELENG_4_5_0_RELEASE:1.8.2.2
	RELENG_4_5:1.8.2.2.0.4
	RELENG_4_5_BP:1.8.2.2
	ANDREW_LOCKD:1.15.0.2
	ANDREW_LOCKD_BP:1.15
	RELENG_4_4_0_RELEASE:1.8.2.2
	RELENG_4_4:1.8.2.2.0.2
	RELENG_4_4_BP:1.8.2.2
	RELENG_4_3_0_RELEASE:1.8
	RELENG_4_3:1.8.0.4
	RELENG_4_3_BP:1.8
	RELENG_4_2_0_RELEASE:1.8
	RELENG_4_1_1_RELEASE:1.8
	PRE_SMPNG:1.8
	RELENG_4_1_0_RELEASE:1.8
	RELENG_3_5_0_RELEASE:1.7.2.1
	RELENG_4_0_0_RELEASE:1.8
	RELENG_4:1.8.0.2
	RELENG_4_BP:1.8
	RELENG_3_4_0_RELEASE:1.7.2.1
	RELENG_3_3_0_RELEASE:1.7.2.1
	RELENG_3_2_PAO:1.7.0.4
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.2
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.2.2.1
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.2.2.1
	RELENG_2_2_6_RELEASE:1.2.2.1
	RELENG_2_2_5_RELEASE:1.2.2.1
	RELENG_2_2_2_RELEASE:1.2
	RELENG_2_2_1_RELEASE:1.2
	RELENG_2_2_0_RELEASE:1.2
	RELENG_2_2:1.2.0.2
	RELENG_2_2_BP:1.2
	r19960115:1.1.1.1
	A_GORDON:1.1.1;
locks; strict;
comment	@# @;


1.23
date	2012.11.17.01.54.57;	author svnexp;	state Exp;
branches
	1.23.2.1;
next	1.22;

1.22
date	2012.02.07.09.27.07;	author dim;	state Exp;
branches;
next	1.21;

1.21
date	2010.12.20.21.12.18;	author uqs;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2010.01.02.11.07.44;	author ed;	state Exp;
branches;
next	1.19;

1.19
date	2003.10.26.06.10.44;	author peter;	state Exp;
branches
	1.19.10.1
	1.19.20.1
	1.19.26.1
	1.19.28.1
	1.19.30.1
	1.19.32.1
	1.19.34.1
	1.19.36.1;
next	1.18;

1.18
date	2003.04.04.17.49.18;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2002.03.22.19.50.58;	author alfred;	state Exp;
branches;
next	1.16;

1.16
date	2002.03.21.23.05.13;	author alfred;	state Exp;
branches;
next	1.15;

1.15
date	2001.11.13.11.24.22;	author alfred;	state Exp;
branches;
next	1.14;

1.14
date	2001.07.20.06.20.17;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2001.04.25.18.40.38;	author alfred;	state Exp;
branches;
next	1.12;

1.12
date	2001.04.17.20.45.23;	author alfred;	state Exp;
branches;
next	1.11;

1.11
date	2001.03.26.14.41.44;	author ru;	state Exp;
branches;
next	1.10;

1.10
date	2001.03.20.18.17.08;	author ru;	state Exp;
branches;
next	1.9;

1.9
date	2001.03.19.12.50.09;	author alfred;	state Exp;
branches;
next	1.8;

1.8
date	99.08.28.01.19.34;	author peter;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	98.05.10.16.03.07;	author bde;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	98.03.06.14.30.45;	author bde;	state Exp;
branches;
next	1.5;

1.5
date	97.05.23.08.42.57;	author asami;	state Exp;
branches;
next	1.4;

1.4
date	97.02.22.16.12.49;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	97.01.14.07.17.42;	author jkh;	state Exp;
branches;
next	1.2;

1.2
date	96.04.01.05.29.57;	author peter;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	96.02.17.15.11.28;	author peter;	state Exp;
branches
	1.1.1.1;
next	;

1.23.2.1
date	2012.11.17.01.54.57;	author svnexp;	state dead;
branches;
next	1.23.2.2;

1.23.2.2
date	2013.03.28.13.06.24;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.21.2.1.2.1;
next	1.21.2.2;

1.21.2.2
date	2012.02.14.19.36.35;	author dim;	state Exp;
branches
	1.21.2.2.2.1;
next	1.21.2.3;

1.21.2.3
date	2012.11.17.11.37.47;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.21.2.1.2.2;

1.21.2.1.2.2
date	2012.11.17.08.37.44;	author svnexp;	state Exp;
branches;
next	;

1.21.2.2.2.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.21.2.2.2.2;

1.21.2.2.2.2
date	2012.11.17.08.48.35;	author svnexp;	state Exp;
branches;
next	;

1.19.10.1
date	2012.11.17.07.46.39;	author svnexp;	state Exp;
branches;
next	;

1.19.20.1
date	2012.02.14.19.49.36;	author dim;	state Exp;
branches;
next	1.19.20.2;

1.19.20.2
date	2012.11.17.08.09.05;	author svnexp;	state Exp;
branches;
next	;

1.19.26.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.19.28.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.19.30.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.19.32.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.19.32.1.2.1
	1.19.32.1.4.1
	1.19.32.1.6.1;
next	1.19.32.2;

1.19.32.2
date	2012.02.14.19.49.06;	author dim;	state Exp;
branches
	1.19.32.2.2.1;
next	1.19.32.3;

1.19.32.3
date	2012.11.17.10.37.26;	author svnexp;	state Exp;
branches;
next	;

1.19.32.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.19.32.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.19.32.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.19.32.2.2.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.19.32.2.2.2;

1.19.32.2.2.2
date	2012.11.17.08.25.57;	author svnexp;	state Exp;
branches;
next	;

1.19.34.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.19.36.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.19.36.2;

1.19.36.2
date	2012.11.17.08.17.50;	author svnexp;	state Exp;
branches;
next	;

1.8.2.1
date	2001.04.25.12.10.45;	author ru;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2001.08.01.06.39.36;	author alfred;	state Exp;
branches;
next	1.8.2.3;

1.8.2.3
date	2012.11.17.07.28.40;	author svnexp;	state Exp;
branches;
next	;

1.7.2.1
date	99.08.29.15.47.45;	author peter;	state Exp;
branches;
next	;

1.2.2.1
date	97.05.23.08.44.01;	author asami;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	99.09.05.11.41.13;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	96.02.17.15.11.28;	author peter;	state Exp;
branches;
next	;


desc
@@


1.23
log
@Switching exporter and resync
@
text
@#	$NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
# $FreeBSD: head/usr.sbin/rpc.lockd/Makefile 231118 2012-02-07 09:27:07Z dim $

PROG=	rpc.lockd
MAN=	rpc.lockd.8
MLINKS=	rpc.lockd.8 lockd.8
SRCS=	kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c

CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
WARNS?= 3

DPADD=	${LIBRPCSVC} ${LIBUTIL}
LDADD=	-lrpcsvc -lutil

CLEANFILES= nlm_prot_svc.c nlm_prot.h test

RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C

nlm_prot_svc.c: ${RPCSRC}
	${RPCGEN} -m -o ${.TARGET} ${RPCSRC}

nlm_prot.h: ${RPCSRC}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC}

test: ${.CURDIR}/test.c
	cc -o test ${.CURDIR}/test.c -lrpcsvc

.include <bsd.prog.mk>
@


1.23.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:24 +0000
@
text
@d1 29
@


1.23.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 29
#	$NetBSD: Makefile,v 1.12 2000/08/07 16:23:31 thorpej Exp $
# $FreeBSD: releng/8.4/usr.sbin/rpc.lockd/Makefile 231704 2012-02-14 19:49:06Z dim $

PROG=	rpc.lockd
MAN=	rpc.lockd.8
MLINKS=	rpc.lockd.8 lockd.8
SRCS=	kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c

CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
#WARNS?= 2

DPADD=	${LIBRPCSVC} ${LIBUTIL}
LDADD=	-lrpcsvc -lutil

CLEANFILES= nlm_prot_svc.c nlm_prot.h test

RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C

nlm_prot_svc.c: ${RPCSRC}
	${RPCGEN} -m -o ${.TARGET} ${RPCSRC}

nlm_prot.h: ${RPCSRC}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC}

test: ${.CURDIR}/test.c
	cc -o test ${.CURDIR}/test.c -lrpcsvc

.include <bsd.prog.mk>
@


1.22
log
@SVN rev 231118 on 2012-02-07 09:27:07Z by dim

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
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.21
log
@SVN rev 216603 on 2010-12-20 21:12:18Z by uqs

rpc.lockd(8) WARNS cleanup

- Provide function prototype for nlm_syscall
- Don't assign a variable from the stack to a global var[1]
- Remove unused vars

Found by:	clang static analyser [1]
Reviewed by:	dfr
@
text
@d18 1
a18 1
RPCGEN= rpcgen -L -C
@


1.21.2.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.2
log
@SVN rev 231702 on 2012-02-14 19:36:35Z by dim

MFC r231118:

Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
@
text
@d18 1
a18 1
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
@


1.21.2.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/9/usr.sbin/rpc.lockd/Makefile 231702 2012-02-14 19:36:35Z dim $
@


1.21.2.2.2.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.21.2.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/usr.sbin/rpc.lockd/Makefile 231702 2012-02-14 19:36:35Z dim $
@


1.21.2.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.21.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/usr.sbin/rpc.lockd/Makefile 216603 2010-12-20 21:12:18Z uqs $
@


1.20
log
@SVN rev 201390 on 2010-01-02 11:07:44Z by ed

The last big commit: let usr.sbin/ use WARNS=6 by default.
@
text
@d10 1
a10 1
WARNS?= 0
@


1.19
log
@Make this compile cleanly.  It passes WARNS=2, but I haven't checked
it is so on more platforms.
@
text
@d10 1
a10 1
#WARNS?= 2
@


1.19.10.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/usr.sbin/rpc.lockd/Makefile 121558 2003-10-26 06:10:44Z peter $
@


1.19.20.1
log
@SVN rev 231705 on 2012-02-14 19:49:36Z by dim

MFC r231118:

Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
@
text
@d18 1
a18 1
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
@


1.19.20.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/usr.sbin/rpc.lockd/Makefile 231705 2012-02-14 19:49:36Z dim $
@


1.19.36.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.19.36.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/usr.sbin/rpc.lockd/Makefile 121558 2003-10-26 06:10:44Z peter $
@


1.19.34.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.19.32.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.19.32.2
log
@SVN rev 231704 on 2012-02-14 19:49:06Z by dim

MFC r231118:

Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor
set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp.
@
text
@d18 1
a18 1
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
@


1.19.32.3
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: stable/8/usr.sbin/rpc.lockd/Makefile 231704 2012-02-14 19:49:06Z dim $
@


1.19.32.2.2.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.19.32.2.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/usr.sbin/rpc.lockd/Makefile 231704 2012-02-14 19:49:06Z dim $
@


1.19.32.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.19.32.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.19.32.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.19.30.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.19.28.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.19.26.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.18
log
@style.Makefile(5)
@
text
@d10 1
@


1.17
log
@WARNS from 3 to 4. still some warnings about assigning const char * to
char *, but we'll fix those later.
@
text
@a7 2
NO_WERROR=	YES
WARNS?=	4
@


1.16
log
@Bring code to WARNS=3 level.  Mostly fix unused variables.
@
text
@d9 1
a9 1
WARNS?=	3
@


1.15
log
@Turn on NO_WERROR and set WARNS to 1.

Fix the WARNS 1 warnings except unused variables.

Add prototype for log_netobj().
Don't compare signed/unsigned.
Cast u_int64_t to 'unsigned long long' and print using %llu.
Fix constness of string arrays.
Use a cast to avoid an unused parameter in a signal handler.
alarm(2) can't fail, so don't check for it.
ANSI'ify some functions.
@
text
@d9 1
a9 1
WARNS?=	1
@


1.14
log
@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.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.13 2001/04/25 18:40:38 alfred Exp $
d8 2
@


1.13
log
@Fix compiling without -O, some dead code was using non-existant functions,
make the code not automatically dead but actually use the debug level
in order to determine if output is needed.  Fix non-existant from_addr()
by #define'ing it to inet_ntoa().

Remove hardcoded -g from Makefile.

Reported by: "John W. De Boskey" <jwd@@bsdwins.com>
Tested by: "John W. De Boskey" <jwd@@bsdwins.com>
@
text
@a0 1
#	$FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.12 2001/04/17 20:45:23 alfred Exp $
d2 1
a4 1
SRCS=	kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
d7 1
@


1.12
log
@Implement client side NFS locks.

Obtained from: BSD/os
Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
@
text
@d1 1
a1 1
#	$FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.11 2001/03/26 14:41:44 ru Exp $
d9 1
a9 1
CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc -g
@


1.11
log
@- Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
#	$FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.10 2001/03/20 18:17:08 ru Exp $
d5 1
a5 1
SRCS=	nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
d9 1
a9 1
CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
@


1.10
log
@Set the default manual section for usr.sbin/ to 8.
@
text
@d1 1
a1 1
#	$FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.9 2001/03/19 12:50:09 alfred Exp $
d6 1
@


1.9
log
@Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul
@
text
@d1 1
a1 1
#	$FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.8 1999/08/28 01:19:34 peter Exp $
a5 1
MAN8=	rpc.lockd.8
@


1.8
log
@$Id$ -> $FreeBSD$
@
text
@d1 2
a2 1
# $FreeBSD$
d4 4
a7 3
PROG =	rpc.lockd
SRCS =	nlm_prot_svc.c nlm_prot.h lockd.c procs.c
MAN8 =	rpc.lockd.8
d9 1
a9 2
DPADD=	${LIBRPCSVC}
LDADD=	-lrpcsvc
d11 2
a12 1
CFLAGS+= -I.
d14 1
a14 1
CLEANFILES= nlm_prot_svc.c nlm_prot.h
d25 2
a26 2
test: test.c
	cc -o test test.c -lrpcsvc
@


1.8.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.8 1999/08/28 01:19:34 peter Exp $
d5 1
a5 1
MAN=	rpc.lockd.8
@


1.8.2.2
log
@Fake the NLMv4 protocol.  This allows lockd to 'service' nfsv3 clients.

Submitted by: Dan Nelson <dnelson@@emsphone.com>
@
text
@d1 1
a1 1
# $FreeBSD: src/usr.sbin/rpc.lockd/Makefile,v 1.8.2.1 2001/04/25 12:10:45 ru Exp $
d4 1
a4 1
SRCS =	nlm_prot_svc.c nlm_prot_clnt.c nlm_prot.h lockd.c procs.c
a6 2
MAN8 =	rpc.lockd.8

d12 1
a12 2
CLEANFILES= nlm_prot_svc.c nlm_prot.h nlm_prot_clnt.c \
			klm_prot_svc.c klm_prot.h
d14 1
a14 2
NLMRPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
KLMRPCSRC= ${DESTDIR}/usr/include/rpcsvc/klm_prot.x
d17 2
a18 11
nlm_prot_clnt.c: ${NLMRPCSRC}
	${RPCGEN} -l -o ${.TARGET} ${NLMRPCSRC}

nlm_prot_svc.c: ${NLMRPCSRC}
	${RPCGEN} -m -o ${.TARGET} ${NLMRPCSRC}

nlm_prot.h: ${NLMRPCSRC}
	${RPCGEN} -h -o ${.TARGET} ${NLMRPCSRC}

klm_prot_svc.c: ${KLMRPCSRC}
	${RPCGEN} -m -o ${.TARGET} ${KLMRPCSRC}
d20 2
a21 2
klm_prot.h: ${KLMRPCSRC}
	${RPCGEN} -h -o ${.TARGET} ${KLMRPCSRC}
@


1.8.2.3
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/usr.sbin/rpc.lockd/Makefile 80851 2001-08-01 06:39:36Z alfred $
@


1.7
log
@Removed bogus dependencies of generated .c files on generated headers.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1998/03/06 14:30:45 bde Exp $
@


1.7.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@Fixed `make -jN' for large N, as usual.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1997/05/23 08:42:57 asami Exp $
d17 1
a17 1
nlm_prot_svc.c: ${RPCSRC} nlm_prot.h
@


1.5
log
@Typo fix: ${.DESTDIR} -> ${DESTDIR}.

Reviewed by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1997/02/22 16:12:49 peter Exp $
d4 1
a4 1
SRCS =	nlm_prot_svc.c lockd.c procs.c
@


1.4
log
@Revert $FreeBSD$ to $Id$
@
text
@d1 1
a1 1
#	$Id$
d14 1
a14 1
RPCSRC= ${.DESTDIR}/usr/include/rpcsvc/nlm_prot.x
@


1.3
log
@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.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.2
log
@Tweaks for the stub lockd.
- Use rpcgen to generate the unmodified boilerplate code rather than
  having it in the repository.
- Eliminate the conflicting function names by changing them to their
  "natural" rpcgen generated names
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1.1.1 1996/02/17 15:11:28 peter Exp $
@


1.2.2.1
log
@MFC: ${.DESTDIR} -> ${DESTDIR}.

Reviewed by:	bde
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.2 1996/04/01 05:29:57 peter Exp $
d14 1
a14 1
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
@


1.2.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$Id$
d4 1
a4 1
SRCS =	lockd.c procs.c
d10 12
a21 1
.include <bsd.prog.mk>
d26 1
@


1.1.1.1
log
@Import Jan 15 version of Andrew Gordon <andrew.gordon@@net-tel.co.uk>'s
stub lockd.

This implements just the protocol, but does not interact with the kernel.
It says "Yes!" to all requests.  This is useful if you have people using
tools that do locking for no reason (eg: some PC NFS systems running some
Microsoft products) and will happily report they couldn't lock the file
and merrily proceed anyway.  Running this will not change the reliability of
sharing files, it'll just keep it out of everybody's face.
@
text
@@
