head	1.25;
access;
symbols
	RELENG_8_4:1.25.0.2
	RELENG_9_1_0_RELEASE:1.22.4.1.4.2
	RELENG_9_1:1.22.4.1.0.4
	RELENG_9_1_BP:1.22.4.1
	RELENG_8_3_0_RELEASE:1.22.2.1.8.1
	RELENG_8_3:1.22.2.1.0.8
	RELENG_8_3_BP:1.22.2.1
	RELENG_9_0_0_RELEASE:1.22.4.1.2.1
	RELENG_9_0:1.22.4.1.0.2
	RELENG_9_0_BP:1.22.4.1
	RELENG_9:1.22.0.4
	RELENG_9_BP:1.22
	RELENG_7_4_0_RELEASE:1.21.2.1.10.1
	RELENG_8_2_0_RELEASE:1.22.2.1.6.1
	RELENG_7_4:1.21.2.1.0.10
	RELENG_7_4_BP:1.21.2.1
	RELENG_8_2:1.22.2.1.0.6
	RELENG_8_2_BP:1.22.2.1
	RELENG_8_1_0_RELEASE:1.22.2.1.4.1
	RELENG_8_1:1.22.2.1.0.4
	RELENG_8_1_BP:1.22.2.1
	RELENG_7_3_0_RELEASE:1.21.2.1.8.1
	RELENG_7_3:1.21.2.1.0.8
	RELENG_7_3_BP:1.21.2.1
	RELENG_8_0_0_RELEASE:1.22.2.1.2.1
	RELENG_8_0:1.22.2.1.0.2
	RELENG_8_0_BP:1.22.2.1
	RELENG_8:1.22.0.2
	RELENG_8_BP:1.22
	RELENG_7_2_0_RELEASE:1.21.2.1.6.1
	RELENG_7_2:1.21.2.1.0.6
	RELENG_7_2_BP:1.21.2.1
	RELENG_7_1_0_RELEASE:1.21.2.1.4.1
	RELENG_6_4_0_RELEASE:1.19.12.1
	RELENG_7_1:1.21.2.1.0.4
	RELENG_7_1_BP:1.21.2.1
	RELENG_6_4:1.19.0.12
	RELENG_6_4_BP:1.19
	RELENG_7_0_0_RELEASE:1.21.2.1
	RELENG_6_3_0_RELEASE:1.19
	RELENG_7_0:1.21.2.1.0.2
	RELENG_7_0_BP:1.21.2.1
	RELENG_6_3:1.19.0.10
	RELENG_6_3_BP:1.19
	RELENG_7:1.21.0.2
	RELENG_7_BP:1.21
	RELENG_6_2_0_RELEASE:1.19
	RELENG_6_2:1.19.0.8
	RELENG_6_2_BP:1.19
	RELENG_5_5_0_RELEASE:1.18.6.1
	RELENG_5_5:1.18.6.1.0.4
	RELENG_5_5_BP:1.18.6.1
	RELENG_6_1_0_RELEASE:1.19
	RELENG_6_1:1.19.0.6
	RELENG_6_1_BP:1.19
	RELENG_6_0_0_RELEASE:1.19
	RELENG_6_0:1.19.0.4
	RELENG_6_0_BP:1.19
	RELENG_6:1.19.0.2
	RELENG_6_BP:1.19
	RELENG_5_4_0_RELEASE:1.18.6.1
	RELENG_5_4:1.18.6.1.0.2
	RELENG_5_4_BP:1.18.6.1
	RELENG_4_11_0_RELEASE:1.4.2.4
	RELENG_4_11:1.4.2.4.0.10
	RELENG_4_11_BP:1.4.2.4
	RELENG_5_3_0_RELEASE:1.18
	RELENG_5_3:1.18.0.8
	RELENG_5_3_BP:1.18
	RELENG_5:1.18.0.6
	RELENG_5_BP:1.18
	RELENG_4_10_0_RELEASE:1.4.2.4
	RELENG_4_10:1.4.2.4.0.8
	RELENG_4_10_BP:1.4.2.4
	RELENG_5_2_1_RELEASE:1.18
	RELENG_5_2_0_RELEASE:1.18
	RELENG_5_2:1.18.0.4
	RELENG_5_2_BP:1.18
	RELENG_4_9_0_RELEASE:1.4.2.4
	RELENG_4_9:1.4.2.4.0.6
	RELENG_4_9_BP:1.4.2.4
	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.4.2.4
	RELENG_4_8:1.4.2.4.0.4
	RELENG_4_8_BP:1.4.2.4
	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.4.2.4
	RELENG_4_7:1.4.2.4.0.2
	RELENG_4_7_BP:1.4.2.4
	RELENG_4_6_2_RELEASE:1.4.2.3.6.1
	RELENG_4_6_1_RELEASE:1.4.2.3.6.1
	RELENG_4_6_0_RELEASE:1.4.2.3
	RELENG_4_6:1.4.2.3.0.6
	RELENG_4_6_BP:1.4.2.3
	RELENG_4_5_0_RELEASE:1.4.2.3
	RELENG_4_5:1.4.2.3.0.4
	RELENG_4_5_BP:1.4.2.3
	RELENG_4_4_0_RELEASE:1.4.2.3
	RELENG_4_4:1.4.2.3.0.2
	RELENG_4_4_BP:1.4.2.3
	RELENG_4_3_0_RELEASE:1.4.2.1
	RELENG_4_3:1.4.2.1.0.2
	RELENG_4_3_BP:1.4.2.1
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.4
	RELENG_4_1_0_RELEASE:1.4
	RELENG_3_5_0_RELEASE:1.2.2.2
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	RELENG_3_4_0_RELEASE:1.2.2.1
	RELENG_3_3_0_RELEASE:1.2.2.1
	RELENG_3_2_PAO:1.2.2.1.0.2
	RELENG_3_2_PAO_BP:1.2.2.1
	RELENG_3_2_0_RELEASE:1.2.2.1
	RELENG_3_1_0_RELEASE:1.2
	RELENG_3:1.2.0.2
	RELENG_3_BP:1.2
	juniper_1_0:1.1.1.1
	JUNIPER:1.1.1;
locks; strict;
comment	@# @;


1.25
date	2012.11.17.01.49.58;	author svnexp;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2012.01.18.18.26.56;	author peter;	state Exp;
branches;
next	1.23;

1.23
date	2011.11.28.14.01.17;	author fjoe;	state Exp;
branches;
next	1.22;

1.22
date	2007.10.20.19.01.50;	author ru;	state Exp;
branches
	1.22.2.1
	1.22.4.1;
next	1.21;

1.21
date	2006.03.19.08.52.49;	author ru;	state Exp;
branches
	1.21.2.1;
next	1.20;

1.20
date	2006.03.17.18.54.27;	author ru;	state Exp;
branches;
next	1.19;

1.19
date	2004.11.13.20.40.29;	author bz;	state Exp;
branches
	1.19.2.1
	1.19.12.1;
next	1.18;

1.18
date	2003.03.09.20.06.38;	author obrien;	state Exp;
branches
	1.18.6.1;
next	1.17;

1.17
date	2002.05.08.00.54.29;	author des;	state Exp;
branches;
next	1.16;

1.16
date	2002.04.15.02.34.43;	author des;	state Exp;
branches;
next	1.15;

1.15
date	2002.04.10.18.07.05;	author ru;	state Exp;
branches;
next	1.14;

1.14
date	2002.04.10.18.00.32;	author ru;	state Exp;
branches;
next	1.13;

1.13
date	2002.03.18.12.55.10;	author cjc;	state Exp;
branches;
next	1.12;

1.12
date	2002.03.07.16.56.19;	author sobomax;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.05.21.56.24;	author des;	state Exp;
branches;
next	1.10;

1.10
date	2002.02.06.18.46.48;	author markm;	state Exp;
branches;
next	1.9;

1.9
date	2002.01.24.18.37.16;	author markm;	state Exp;
branches;
next	1.8;

1.8
date	2001.08.26.17.41.13;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	2001.07.09.18.20.50;	author markm;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.04.19.47.56;	author markm;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.06.06.16.31;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.09.30.18.53.34;	author markm;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	99.05.08.01.59.27;	author jdp;	state Exp;
branches;
next	1.2;

1.2
date	99.01.20.21.55.30;	author jdp;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	98.11.18.01.44.37;	author jdp;	state Exp;
branches
	1.1.1.1;
next	;

1.25.2.1
date	2012.11.17.01.49.58;	author svnexp;	state dead;
branches;
next	1.25.2.2;

1.25.2.2
date	2013.03.28.13.03.19;	author svnexp;	state Exp;
branches;
next	;

1.22.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.22.2.1.2.1
	1.22.2.1.4.1
	1.22.2.1.6.1
	1.22.2.1.8.1;
next	1.22.2.2;

1.22.2.2
date	2012.11.17.10.36.09;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.22.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.22.2.1.8.2;

1.22.2.1.8.2
date	2012.11.17.08.24.50;	author svnexp;	state Exp;
branches;
next	;

1.22.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.22.4.1.2.1
	1.22.4.1.4.1;
next	1.22.4.2;

1.22.4.2
date	2012.11.17.11.36.25;	author svnexp;	state Exp;
branches;
next	1.22.4.3;

1.22.4.3
date	2013.03.01.20.43.41;	author svnexp;	state Exp;
branches;
next	;

1.22.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.22.4.1.2.2;

1.22.4.1.2.2
date	2012.11.17.08.36.25;	author svnexp;	state Exp;
branches;
next	;

1.22.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.22.4.1.4.2;

1.22.4.1.4.2
date	2012.11.17.08.47.15;	author svnexp;	state Exp;
branches;
next	;

1.21.2.1
date	2007.10.23.15.41.33;	author ru;	state Exp;
branches
	1.21.2.1.4.1
	1.21.2.1.6.1
	1.21.2.1.8.1
	1.21.2.1.10.1;
next	1.21.2.2;

1.21.2.2
date	2012.11.17.08.02.58;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.21.2.1.10.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.21.2.1.10.2;

1.21.2.1.10.2
date	2012.11.17.08.16.49;	author svnexp;	state Exp;
branches;
next	;

1.19.2.1
date	2012.11.17.07.40.30;	author svnexp;	state Exp;
branches;
next	;

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

1.18.6.1
date	2004.11.28.14.10.16;	author bz;	state Exp;
branches;
next	;

1.4.2.1
date	2001.01.06.23.16.57;	author obrien;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2001.06.07.09.37.13;	author markm;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2001.06.11.15.28.50;	author markm;	state Exp;
branches
	1.4.2.3.6.1;
next	1.4.2.4;

1.4.2.4
date	2002.07.03.21.41.31;	author des;	state Exp;
branches;
next	1.4.2.5;

1.4.2.5
date	2012.11.17.07.23.59;	author svnexp;	state Exp;
branches;
next	;

1.4.2.3.6.1
date	2002.07.16.12.33.25;	author des;	state Exp;
branches;
next	;

1.2.2.1
date	99.05.08.21.32.00;	author jdp;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2000.01.02.11.40.28;	author ru;	state Exp;
branches;
next	;

1.1.1.1
date	98.11.18.01.44.37;	author jdp;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Switching exporter and resync
@
text
@# Copyright 1998 Juniper Networks, Inc.
# All rights reserved.
# Copyright (c) 2002 Networks Associates Technology, Inc.
# All rights reserved.
#
# Portions of this software was developed for the FreeBSD Project by
# ThinkSec AS and NAI Labs, the Security Research Division of Network
# Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
# ("CBOSS"), as part of the DARPA CHATS research program.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote
#    products derived from this software without specific prior written
#    permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: head/lib/libpam/modules/pam_unix/Makefile 230311 2012-01-18 18:26:56Z peter $

.include <bsd.init.mk>

LIB=	pam_unix
SRCS=	pam_unix.c
MAN=	pam_unix.8

DPADD+= ${LIBUTIL} ${LIBCRYPT}
LDADD+= -lutil -lcrypt

.if ${MK_NIS} != "no"
CFLAGS+= -DYP
DPADD+= ${LIBYPCLNT}
LDADD+= -lypclnt
.endif

.include <bsd.lib.mk>
@


1.25.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:03:19 +0000
@
text
@d1 52
@


1.25.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 54
# Copyright 1998 Juniper Networks, Inc.
# All rights reserved.
# Copyright (c) 2002 Networks Associates Technology, Inc.
# All rights reserved.
#
# Portions of this software was developed for the FreeBSD Project by
# ThinkSec AS and NAI Labs, the Security Research Division of Network
# Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
# ("CBOSS"), as part of the DARPA CHATS research program.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in the
#    documentation and/or other materials provided with the distribution.
# 3. The name of the author may not be used to endorse or promote
#    products derived from this software without specific prior written
#    permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: releng/8.4/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $

NO_PROFILE=
NO_INSTALLLIB=
.include <bsd.own.mk>

LIB=	pam_unix
SRCS=	pam_unix.c
MAN=	pam_unix.8

DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt

.if ${MK_NIS} != "no"
CFLAGS+= -DYP
DPADD+= ${LIBYPCLNT}
LDADD+= -lypclnt
.endif

.include <bsd.lib.mk>
@


1.24
log
@SVN rev 230311 on 2012-01-18 18:26:56Z by peter

Rev 228065 (change bsd.own.mk -> bsd.init.mk) broke pam_unix.so by causing
the LDADD/DPADD to lose the -lpam, and causing openpam_dynamic() to fail
due to "openpam_get_options" being undefined.

This would cause obscure console log messages like:
  openpam_dynamic(): No error: 0
  openpam_load_module(): no pam_unix.so found
and other helpful messages which are no help in diagnosing the problem.

Fortunately this change was not mfc'ed to 9.x, it isn't broken there.
@
text
@d35 1
a35 1
# $FreeBSD$
@


1.23
log
@SVN rev 228065 on 2011-11-28 14:01:17Z by fjoe

.include <bsd.init.mk> instead of <bsd.own.mk>

The former allows common settings from ../Makefile.inc to be used.
@
text
@d43 2
a44 2
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
@


1.22
log
@- Convert NO_INSTALLLIB option to a new syntax: makefiles should
  test MK_INSTALLLIB, users can set WITHOUT_INSTALLLIB.  The old
  NO_INSTALLLIB is still supported as several makefiles set it.

- While here, fix an install when instructed not to install libs
  (usr.bin/lex/lib/Makefile).

PR:		bin/114200
Submitted by:	Henrik Brix Andersen
@
text
@d37 1
a37 3
NO_PROFILE=
NO_INSTALLLIB=
.include <bsd.own.mk>
@


1.22.4.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.22.4.2
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
@d35 1
a35 1
# $FreeBSD: stable/9/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $
@


1.22.4.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/247568
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d35 1
a35 1
# $FreeBSD: stable/9/lib/libpam/modules/pam_unix/Makefile 247568 2013-03-01 19:42:50Z des $
d37 3
a39 1
.include <bsd.init.mk>
d45 2
a46 2
DPADD+= ${LIBUTIL} ${LIBCRYPT}
LDADD+= -lutil -lcrypt
@


1.22.4.1.4.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.22.4.1.4.2
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: releng/9.1/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $
@


1.22.4.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.22.4.1.2.2
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: releng/9.0/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $
@


1.22.2.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.22.2.2
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
@d35 1
a35 1
# $FreeBSD: stable/8/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $
@


1.22.2.1.8.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.22.2.1.8.2
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: releng/8.3/lib/libpam/modules/pam_unix/Makefile 172832 2007-10-20 19:01:50Z ru $
@


1.22.2.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.22.2.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.22.2.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.21
log
@Fix build until I find a way to handle this case properly.
@
text
@d38 1
@


1.21.2.1
log
@MFC: Added MK_INSTALLLIB support and fixed usr.bin/lex/lib/Makefile
in case of installing with WITHOUT_INSTALLLIB (e.g. in nanobsd(8)).

PR:		bin/114200
Approved by:	re (kensmith)
@
text
@a37 1
NO_INSTALLLIB=
@


1.21.2.2
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: stable/7/lib/libpam/modules/pam_unix/Makefile 172907 2007-10-23 15:41:34Z ru $
@


1.21.2.1.10.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.21.2.1.10.2
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: releng/7.4/lib/libpam/modules/pam_unix/Makefile 172907 2007-10-23 15:41:34Z ru $
@


1.21.2.1.8.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.21.2.1.6.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.21.2.1.4.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.20
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d37 1
@


1.19
log
@Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Lost parts rediscovered by:	Danny Braniss <danny at cs.huji.ac.il>
PR:		bin/68303
No objections:	des, gshapiro, nectar
Reviewed by:	ru
Approved by:	rwatson (mentor)
MFC after:	2 weeks
@
text
@d37 2
d46 1
a46 1
.if !defined(NO_NIS)
@


1.19.2.1
log
@Switch importer
@
text
@d35 1
a35 1
# $FreeBSD: stable/6/lib/libpam/modules/pam_unix/Makefile 137675 2004-11-13 20:40:32Z bz $
@


1.19.12.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) police
(I've tried to keep to the spirit of the original formatting)

Reviewed by:	des
@
text
@d41 4
d46 3
a48 3

DPADD=	${LIBUTIL} ${LIBCRYPT} ${LIBYPCLNT}
LDADD=	-lutil -lcrypt -lypclnt
@


1.18.6.1
log
@MFC knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set.
If turned on  no NIS support and related programs will be built.

Approved by:	rwatson (mentor)
@
text
@d41 1
a41 2
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
d43 2
a44 5
.if !defined(NO_NIS)
CFLAGS+= -DYP
DPADD+= ${LIBYPCLNT}
LDADD+= -lypclnt
.endif
@


1.17
log
@Use libutil and libypclnt for all passwd manipulation and NIS needs.

Sponsored by:	DARPA, NAI Labs
@
text
@d37 8
a44 6
LIB=		pam_unix
SRCS=		pam_unix.c
CFLAGS+=	-DYP
DPADD=		${LIBUTIL} ${LIBCRYPT} ${LIBYPCLNT}
LDADD=		-lutil -lcrypt -lypclnt
MAN=		pam_unix.8
@


1.16
log
@Dike out most of the NIS code and replace it with calls to libypclnt.
Rework pam_sm_chauthtok() so it (mostly?) works.
The standard pw stuff still needs to move into a library somewhere.

Sponsored by:	DARPA, NAI Labs
@
text
@d3 7
d19 3
d38 2
a39 6
SRCS=		pam_unix.c pw_copy.c pw_util.c
CFLAGS+=	-DYP \
		-I. \
		-I${.CURDIR}/../../../../usr.sbin/vipw \
		-I${.CURDIR}/../../../../usr.bin/chpass \
		-I${.CURDIR}/../../../../lib/libc/gen
a44 3

.PATH:		${.CURDIR}/../../../../usr.bin/chpass
.PATH:		${.CURDIR}/../../../../usr.sbin/vipw
@


1.15
log
@Moved SHLIB_NAME definition into one place.

Approved by:	des
@
text
@d28 2
a29 2
SRCS=		pam_unix.c pw_copy.c pw_yp.c pw_util.c ypxfr_misc.c ${GENSRCS}
CFLAGS+=	-DYP -Dyp_error=warnx \
a30 1
		-I${.CURDIR}/../../../../libexec/ypxfr \
d34 2
a35 2
DPADD=		${LIBUTIL} ${LIBCRYPT} ${LIBRPCSVC}
LDADD=		-lutil -lcrypt -lrpcsvc
a37 35
GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c \
	yppasswd_private.h yppasswd_private_clnt.c yppasswd_private_xdr.c

RPCGEN= rpcgen -C
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/yp.x
RPCSRC_PW= ${DESTDIR}/usr/include/rpcsvc/yppasswd.x
RPCSRC_PRIV= ${.CURDIR}/../../../../usr.sbin/rpc.yppasswdd/yppasswd_private.x

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

yp_clnt.c: ${RPCSRC} yp.h
	${RPCGEN} -l -o ${.TARGET} ${RPCSRC}

yppasswd.h: ${RPCSRC_PW}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PW}

yppasswd_clnt.c: ${RPCSRC_PW}
	${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PW}

yppasswd_private.h: ${RPCSRC_PRIV}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV}

yppasswd_private_xdr.c: ${RPCSRC_PRIV}
	${RPCGEN} -c -o ${.TARGET} ${RPCSRC_PRIV}

yppasswd_private_clnt.c: ${RPCSRC_PRIV}
	${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV}


yppasswd_private.h: ${RPCSRC_PRIV}
	${RPCGEN} -h -o ${.TARGET} ${RPCSRC_PRIV}

CLEANFILES= ${GENSRCS}

a41 1
.PATH:		${.CURDIR}/../../../../libexec/ypxfr
@


1.14
log
@Fixed broken "make depend; make clean; make all" sequence.

I've looked for this example for a long time, to demonstrate
some people why it's a really BAD idea to use ${.OBJDIR}
instead of ".".  I hope these people are reading this.  :-)

Approved by:	des
@
text
@d25 1
a25 1
#	$FreeBSD$
a27 1
SHLIB_NAME=	${LIB}.so.${SHLIB_MAJOR}
@


1.13
log
@Fix world breakage introduced by my recent modifications to
chpass(8). The relations between libc, libpam, chpass, passwd, and
vipw are a mess and probably should be cleaned up.

Submitted by:	Peter Pentchev <roam@@ringlet.net>
@
text
@d31 1
a31 1
		-I${.OBJDIR} \
@


1.12
log
@Don't ignore system CFLAGS.
@
text
@d34 2
a35 1
		-I${.CURDIR}/../../../../usr.bin/chpass
@


1.11
log
@Switch to OpenPAM.  Bump library version.  Modules are now versioned, so
applications linked with Linux-PAM will still work.
Remove pam_get_pass(); OpenPAM has pam_get_authtok().
Remove pam_prompt(); OpenPAM has pam_{,v}{error,info,prompt}().
Remove pam_set_item(3) man page as OpenPAM has its own.

Sponsored by:	DARPA, NAI Labs
@
text
@d30 1
a30 1
CFLAGS=		-DYP -Dyp_error=warnx \
@


1.10
log
@Remove NO_WERROR, now that WARNS=n is gone.
@
text
@d28 1
a28 1
SHLIB_NAME=	pam_unix.so
@


1.9
log
@WARNS=4 fixes. Protect with NO_WERROR for the modules that have
warnings that are hard to fix or that I've been asked to leave alone.
@
text
@a34 1
NO_WERROR=	yes
@


1.8
log
@Big module makeover; improve logging, standardise variable names,
introduce ability to change passwords for both "usual" Unix methods
and NIS.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.7 2001/07/09 18:20:50 markm Exp $
d35 1
@


1.7
log
@Clean up (and in some cases write) the PAM mudules, using
o The new options-processing API
o The new DEBUG-logging API

Add man(1) pages for ALL modules. MDOC-Police welcome
to check this.

Audit, clean up while I'm here.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.6 2001/06/04 19:47:56 markm Exp $
d29 8
a36 3
SRCS=		pam_unix.c
DPADD=		${LIBUTIL} ${LIBCRYPT}
LDADD=		-lutil -lcrypt
d39 35
d75 4
@


1.6
log
@Big module cleanup.

Move common stuff into Makefile.inc, and tidy up all the Makefiles
as a result.

Build new modules.

Put a commented-out dependancy on libpam for the (shared) modules.
I can't bring this in just yet, as the dependancy (modules->libpam)
is reversed for the static case (libpam->modules).
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.5 2001/01/06 06:16:31 obrien Exp $
d32 1
@


1.5
log
@Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs.  This provides threaded programs with the
needed exception frame symbols.

parts submitted by:	Max Khon <fjoe@@iclub.nsu.ru>
PR:	23252
@
text
@d25 1
a25 3
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.4 1999/09/30 18:53:34 markm Exp $

PAMDIR=		${.CURDIR}/../../../../contrib/libpam
d30 2
a31 7
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
DPADD+=		${LIBUTIL} ${LIBCRYPT}
LDADD+=		-lutil -lcrypt
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
@


1.4
log
@Add libcrypt. This previously/coincidentally worked for login,
because login was already linked against it, but others have a
problem.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.3 1999/05/08 01:59:27 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBUTIL} ${LIBGCC_PIC} ${LIBCRYPT}
LDADD+=		-lutil -lgcc_pic -lcrypt
@


1.4.2.1
log
@MFC: use a unified libgcc and ensure strong references to pthread functions
     weakly referenced in libgcc.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.4 1999/09/30 18:53:34 markm Exp $
d35 2
a36 2
DPADD+=		${LIBUTIL} ${LIBCRYPT}
LDADD+=		-lutil -lcrypt
@


1.4.2.2
log
@MFC: FreeBSD PAM stuff and cleaned up modules build. New modules.
@
text
@d25 3
a27 1
#	$FreeBSD$
d32 7
a38 2
DPADD=		${LIBUTIL} ${LIBCRYPT}
LDADD=		-lutil -lcrypt
@


1.4.2.3
log
@Back out the extremely unwise PAM MFC that I did about 4 days ago.

My apologies to all. Please pass the pointy hat.
@
text
@a26 2
PAMDIR=		${.CURDIR}/../../../../contrib/libpam

d30 2
a31 7
CFLAGS+=	-Wall
CFLAGS+=	-I${PAMDIR}/libpam/include
CFLAGS+=	-I${.CURDIR}/../../libpam
DPADD+=		${LIBUTIL} ${LIBCRYPT}
LDADD+=		-lutil -lcrypt
INTERNALLIB=	yes
INTERNALSTATICLIB=yes
@


1.4.2.3.6.1
log
@Merge OpenSSH, OPIE, PAM and a number of dependencies from -STABLE.
@
text
@d27 1
d30 1
d37 2
@


1.4.2.4
log
@Bring -STABLE's libpam to a somewhat more functional state in preparation
for the OpenSSH upgrade:

 - update pam_opie(8) to not emit fake challenges when the no_fake_prompts
   option was specified, and add a man page.

 - add pam_opieaccess(8) and a man page.

 - synch pam_radius(8), pam_ssh(8) and pam_tacplus(8) with -CURRENT.

 - sync pam_unix(8) with its state in -CURRENT prior to the OpenPAM import.

 - bring in bits of OpenPAM and some of Mark's additions to Linux-PAM to
   support the updated modules.

Sponsored by:   DARPA, NAI Labs
@
text
@d27 1
d30 1
d37 2
@


1.4.2.5
log
@Switch importer
@
text
@d25 1
a25 1
#	$FreeBSD: stable/4/lib/libpam/modules/pam_unix/Makefile 99387 2002-07-03 21:41:31Z des $
@


1.3
log
@Revive the pam_deny and pam_permit modules from Linux-PAM.  They are
simple enough to be trusted.

Add account management functionality to the pam_unix module.

These changes should make it possible to use PAM in some ports.

Submitted by:	Max Khon <fjoe@@iclub.nsu.ru>
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.2 1999/01/20 21:55:30 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBUTIL} ${LIBGCC_PIC}
LDADD+=		-lutil -lgcc_pic
@


1.2
log
@Make it possible to use PAM in statically-linked applications.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.1.1.1 1998/11/18 01:44:37 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBGCC_PIC}
LDADD+=		-lgcc_pic
@


1.2.2.1
log
@MFC: Add pam_deny and pam_permit modules.  Add account management to
the pam_unix module.
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.2 1999/01/20 21:55:30 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBUTIL} ${LIBGCC_PIC}
LDADD+=		-lutil -lgcc_pic
@


1.2.2.2
log
@MFC: Add libcrypt.

PR:		14842
@
text
@d25 1
a25 1
#	$FreeBSD: src/lib/libpam/modules/pam_unix/Makefile,v 1.2.2.1 1999/05/08 21:32:00 jdp Exp $
d35 2
a36 2
DPADD+=		${LIBUTIL} ${LIBGCC_PIC} ${LIBCRYPT}
LDADD+=		-lutil -lgcc_pic -lcrypt
@


1.1
log
@Initial revision
@
text
@d25 1
a25 1
#	$FreeBSD$
d29 2
a30 1
PROG=		pam_unix.so
a31 1
CFLAGS+=	-fpic
a34 2
LDFLAGS+=	-shared
LDFLAGS+=	-L../../libpam
d36 3
a38 2
LDADD+=		-lpam -lgcc_pic
NOMAN=		true
d40 1
a40 1
.include <bsd.prog.mk>
@


1.1.1.1
log
@Build structure for contribified Linux-PAM, plus some home-grown
modules for FreeBSD's standard authentication methods.  Although
the Linux-PAM modules are present in the contrib tree, we don't
use any of them.

The main library "libpam" is composed of sources taken from three
places.  First are the standard Linux-PAM libpam sources from the
contrib tree.  Second are the Linux-PAM "libpam_misc" sources, also
from the contrib tree.  In Linux these form a separate library.
But as Mike Smith pointed out to me, that seems pointless, so I
have combined them into the libpam library.  Third are some additional
sources from the "src/lib/libpam" tree with some common functions
that make it easier to write modules.  Those I wrote myself.

This work has been donated to FreeBSD by Juniper Networks, Inc.
@
text
@@
