head	1.55;
access;
symbols
	RELENG_8_4:1.55.0.2
	RELENG_9_1_0_RELEASE:1.54.2.1.4.2
	RELENG_9_1:1.54.2.1.0.4
	RELENG_9_1_BP:1.54.2.1
	RELENG_8_3_0_RELEASE:1.53.10.1.8.1
	RELENG_8_3:1.53.10.1.0.8
	RELENG_8_3_BP:1.53.10.1
	RELENG_9_0_0_RELEASE:1.54.2.1.2.1
	RELENG_9_0:1.54.2.1.0.2
	RELENG_9_0_BP:1.54.2.1
	RELENG_9:1.54.0.2
	RELENG_9_BP:1.54
	RELENG_7_4_0_RELEASE:1.53.14.1
	RELENG_8_2_0_RELEASE:1.53.10.1.6.1
	RELENG_7_4:1.53.0.14
	RELENG_7_4_BP:1.53
	RELENG_8_2:1.53.10.1.0.6
	RELENG_8_2_BP:1.53.10.1
	RELENG_8_1_0_RELEASE:1.53.10.1.4.1
	RELENG_8_1:1.53.10.1.0.4
	RELENG_8_1_BP:1.53.10.1
	RELENG_7_3_0_RELEASE:1.53.12.1
	RELENG_7_3:1.53.0.12
	RELENG_7_3_BP:1.53
	RELENG_8_0_0_RELEASE:1.53.10.1.2.1
	RELENG_8_0:1.53.10.1.0.2
	RELENG_8_0_BP:1.53.10.1
	RELENG_8:1.53.0.10
	RELENG_8_BP:1.53
	RELENG_7_2_0_RELEASE:1.53.8.1
	RELENG_7_2:1.53.0.8
	RELENG_7_2_BP:1.53
	RELENG_7_1_0_RELEASE:1.53.6.1
	RELENG_6_4_0_RELEASE:1.48.2.3.4.1
	RELENG_7_1:1.53.0.6
	RELENG_7_1_BP:1.53
	RELENG_6_4:1.48.2.3.0.4
	RELENG_6_4_BP:1.48.2.3
	RELENG_7_0_0_RELEASE:1.53
	RELENG_6_3_0_RELEASE:1.48.2.3
	RELENG_7_0:1.53.0.4
	RELENG_7_0_BP:1.53
	RELENG_6_3:1.48.2.3.0.2
	RELENG_6_3_BP:1.48.2.3
	RELENG_7:1.53.0.2
	RELENG_7_BP:1.53
	RELENG_6_2_0_RELEASE:1.48.2.2
	RELENG_6_2:1.48.2.2.0.2
	RELENG_6_2_BP:1.48.2.2
	RELENG_5_5_0_RELEASE:1.47.2.1
	RELENG_5_5:1.47.2.1.0.2
	RELENG_5_5_BP:1.47.2.1
	RELENG_6_1_0_RELEASE:1.48.2.1
	RELENG_6_1:1.48.2.1.0.2
	RELENG_6_1_BP:1.48.2.1
	RELENG_6_0_0_RELEASE:1.48
	RELENG_6_0:1.48.0.4
	RELENG_6_0_BP:1.48
	RELENG_6:1.48.0.2
	RELENG_6_BP:1.48
	RELENG_5_4_0_RELEASE:1.47
	RELENG_5_4:1.47.0.6
	RELENG_5_4_BP:1.47
	RELENG_4_11_0_RELEASE:1.31.2.2
	RELENG_4_11:1.31.2.2.0.16
	RELENG_4_11_BP:1.31.2.2
	RELENG_5_3_0_RELEASE:1.47
	RELENG_5_3:1.47.0.4
	RELENG_5_3_BP:1.47
	RELENG_5:1.47.0.2
	RELENG_5_BP:1.47
	RELENG_4_10_0_RELEASE:1.31.2.2
	RELENG_4_10:1.31.2.2.0.14
	RELENG_4_10_BP:1.31.2.2
	RELENG_5_2_1_RELEASE:1.42
	RELENG_5_2_0_RELEASE:1.42
	RELENG_5_2:1.42.0.6
	RELENG_5_2_BP:1.42
	RELENG_4_9_0_RELEASE:1.31.2.2
	RELENG_4_9:1.31.2.2.0.12
	RELENG_4_9_BP:1.31.2.2
	RELENG_5_1_0_RELEASE:1.42
	RELENG_5_1:1.42.0.4
	RELENG_5_1_BP:1.42
	RELENG_4_8_0_RELEASE:1.31.2.2
	RELENG_4_8:1.31.2.2.0.10
	RELENG_4_8_BP:1.31.2.2
	RELENG_5_0_0_RELEASE:1.42
	RELENG_5_0:1.42.0.2
	RELENG_5_0_BP:1.42
	RELENG_4_7_0_RELEASE:1.31.2.2
	RELENG_4_7:1.31.2.2.0.8
	RELENG_4_7_BP:1.31.2.2
	RELENG_4_6_2_RELEASE:1.31.2.2
	RELENG_4_6_1_RELEASE:1.31.2.2
	RELENG_4_6_0_RELEASE:1.31.2.2
	RELENG_4_6:1.31.2.2.0.6
	RELENG_4_6_BP:1.31.2.2
	RELENG_4_5_0_RELEASE:1.31.2.2
	RELENG_4_5:1.31.2.2.0.4
	RELENG_4_5_BP:1.31.2.2
	RELENG_4_4_0_RELEASE:1.31.2.2
	RELENG_4_4:1.31.2.2.0.2
	RELENG_4_4_BP:1.31.2.2
	RELENG_4_3_0_RELEASE:1.31
	RELENG_4_3:1.31.0.4
	RELENG_4_3_BP:1.31
	RELENG_4_2_0_RELEASE:1.31
	RELENG_4_1_1_RELEASE:1.31
	PRE_SMPNG:1.31
	RELENG_4_1_0_RELEASE:1.31
	RELENG_3_5_0_RELEASE:1.27.2.2
	RELENG_4_0_0_RELEASE:1.31
	RELENG_4:1.31.0.2
	RELENG_4_BP:1.31
	RELENG_3_4_0_RELEASE:1.27.2.2
	RELENG_3_3_0_RELEASE:1.27.2.2
	RELENG_3_2_PAO:1.27.2.1.0.2
	RELENG_3_2_PAO_BP:1.27.2.1
	RELENG_3_2_0_RELEASE:1.27.2.1
	RELENG_3_1_0_RELEASE:1.27.2.1
	RELENG_3:1.27.0.2
	RELENG_3_BP:1.27
	RELENG_2_2_8_RELEASE:1.13.6.2
	RELENG_3_0_0_RELEASE:1.21
	RELENG_2_2_7_RELEASE:1.13.6.2
	RELENG_2_2_6_RELEASE:1.13.6.2
	RELENG_2_2_5_RELEASE:1.13.6.1
	bsd_44_lite_2:1.1.1.1
	RELENG_2_2_2_RELEASE:1.13.6.1
	RELENG_2_2_1_RELEASE:1.13
	RELENG_2_2_0_RELEASE:1.13
	RELENG_2_1_7_RELEASE:1.13
	RELENG_2_1_6_1_RELEASE:1.13
	RELENG_2_1_6_RELEASE:1.13
	RELENG_2_2:1.13.0.6
	RELENG_2_2_BP:1.13
	RELENG_2_1_5_RELEASE:1.13
	RELENG_2_1_0_RELEASE:1.13
	RELENG_2_1_0:1.13.0.4
	RELENG_2_1_0_BP:1.13
	RELENG_2_0_5_RELEASE:1.13
	RELENG_2_0_5:1.13.0.2
	RELENG_2_0_5_BP:1.13
	RELENG_2_0_5_ALPHA:1.12
	RELEASE_2_0:1.9
	BETA_2_0:1.9
	ALPHA_2_0:1.9.0.2
	bsd_44_lite:1.1.1.1
	CSRG:1.1.1;
locks; strict;
comment	@# @;


1.55
date	2012.11.17.01.54.23;	author svnexp;	state Exp;
branches
	1.55.2.1;
next	1.54;

1.54
date	2010.01.02.10.27.05;	author ed;	state Exp;
branches
	1.54.2.1;
next	1.53;

1.53
date	2006.12.13.06.13.32;	author csjp;	state Exp;
branches
	1.53.2.1
	1.53.6.1
	1.53.8.1
	1.53.10.1
	1.53.12.1
	1.53.14.1;
next	1.52;

1.52
date	2006.04.13.12.49.24;	author ru;	state Exp;
branches;
next	1.51;

1.51
date	2006.03.17.18.54.39;	author ru;	state Exp;
branches;
next	1.50;

1.50
date	2006.03.06.12.31.25;	author yar;	state Exp;
branches;
next	1.49;

1.49
date	2006.02.04.20.20.02;	author wsalamon;	state Exp;
branches;
next	1.48;

1.48
date	2004.11.03.18.01.19;	author ru;	state Exp;
branches
	1.48.2.1;
next	1.47;

1.47
date	2004.02.29.06.39.11;	author bde;	state Exp;
branches
	1.47.2.1;
next	1.46;

1.46
date	2004.02.27.19.00.41;	author des;	state Exp;
branches;
next	1.45;

1.45
date	2004.02.27.17.50.59;	author des;	state Exp;
branches;
next	1.44;

1.44
date	2004.02.27.08.39.16;	author des;	state Exp;
branches;
next	1.43;

1.43
date	2004.02.02.18.00.06;	author ru;	state Exp;
branches;
next	1.42;

1.42
date	2002.04.21.12.43.14;	author bde;	state Exp;
branches;
next	1.41;

1.41
date	2002.02.08.23.07.34;	author markm;	state Exp;
branches;
next	1.40;

1.40
date	2002.01.30.19.10.21;	author des;	state Exp;
branches;
next	1.39;

1.39
date	2001.12.01.19.48.59;	author bde;	state Exp;
branches;
next	1.38;

1.38
date	2001.12.01.17.46.46;	author markm;	state Exp;
branches;
next	1.37;

1.37
date	2001.09.13.06.48.17;	author ru;	state Exp;
branches;
next	1.36;

1.36
date	2001.08.30.11.27.36;	author markm;	state Exp;
branches;
next	1.35;

1.35
date	2001.05.01.10.30.08;	author markm;	state Exp;
branches;
next	1.34;

1.34
date	2001.04.28.08.06.33;	author markm;	state Exp;
branches;
next	1.33;

1.33
date	2001.03.27.19.40.50;	author markm;	state Exp;
branches;
next	1.32;

1.32
date	2001.03.27.10.51.49;	author ru;	state Exp;
branches;
next	1.31;

1.31
date	99.12.18.13.55.14;	author peter;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	99.12.16.10.55.42;	author marcel;	state Exp;
branches;
next	1.29;

1.29
date	99.08.28.01.03.09;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	99.01.22.12.44.55;	author jdp;	state Exp;
branches;
next	1.27;

1.27
date	99.01.20.21.58.46;	author jdp;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	99.01.19.22.59.37;	author abial;	state Exp;
branches;
next	1.25;

1.25
date	98.11.21.18.27.15;	author jdp;	state Exp;
branches;
next	1.24;

1.24
date	98.11.21.02.22.14;	author jdp;	state Exp;
branches;
next	1.23;

1.23
date	98.11.11.05.47.45;	author jdp;	state Exp;
branches;
next	1.22;

1.22
date	98.11.11.02.16.01;	author jdp;	state Exp;
branches;
next	1.21;

1.21
date	98.09.19.22.42.04;	author obrien;	state Exp;
branches;
next	1.20;

1.20
date	98.08.06.21.37.04;	author markm;	state Exp;
branches;
next	1.19;

1.19
date	97.09.28.08.49.21;	author markm;	state Exp;
branches;
next	1.18;

1.18
date	97.09.05.18.15.29;	author nate;	state Exp;
branches;
next	1.17;

1.17
date	97.09.05.12.00.01;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	97.02.22.19.55.57;	author peter;	state Exp;
branches;
next	1.15;

1.15
date	97.01.14.07.01.15;	author jkh;	state Exp;
branches;
next	1.14;

1.14
date	97.01.11.07.16.34;	author davidn;	state Exp;
branches;
next	1.13;

1.13
date	95.05.30.06.31.25;	author rgrimes;	state Exp;
branches
	1.13.4.1
	1.13.6.1;
next	1.12;

1.12
date	95.03.18.17.18.15;	author nate;	state Exp;
branches;
next	1.11;

1.11
date	95.01.14.22.57.38;	author wollman;	state Exp;
branches;
next	1.10;

1.10
date	94.11.20.23.20.33;	author wollman;	state Exp;
branches;
next	1.9;

1.9
date	94.10.19.00.03.31;	author pst;	state Exp;
branches;
next	1.8;

1.8
date	94.09.30.13.26.15;	author csgr;	state Exp;
branches;
next	1.7;

1.7
date	94.09.29.18.59.14;	author pst;	state Exp;
branches;
next	1.6;

1.6
date	94.09.29.13.05.36;	author csgr;	state Exp;
branches;
next	1.5;

1.5
date	94.08.22.19.56.10;	author guido;	state Exp;
branches;
next	1.4;

1.4
date	94.08.21.19.26.15;	author guido;	state Exp;
branches;
next	1.3;

1.3
date	94.08.20.21.15.14;	author csgr;	state Exp;
branches;
next	1.2;

1.2
date	94.08.05.20.32.22;	author wollman;	state Exp;
branches;
next	1.1;

1.1
date	94.05.27.12.32.03;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.55.2.1
date	2012.11.17.01.54.23;	author svnexp;	state dead;
branches;
next	1.55.2.2;

1.55.2.2
date	2013.03.28.13.06.05;	author svnexp;	state Exp;
branches;
next	;

1.54.2.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.54.2.1.2.1
	1.54.2.1.4.1;
next	1.54.2.2;

1.54.2.2
date	2012.11.17.11.37.39;	author svnexp;	state Exp;
branches;
next	;

1.54.2.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.54.2.1.2.2;

1.54.2.1.2.2
date	2012.11.17.08.37.35;	author svnexp;	state Exp;
branches;
next	;

1.54.2.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.54.2.1.4.2;

1.54.2.1.4.2
date	2012.11.17.08.48.27;	author svnexp;	state Exp;
branches;
next	;

1.53.2.1
date	2012.11.17.08.08.32;	author svnexp;	state Exp;
branches;
next	;

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

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

1.53.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.53.10.1.2.1
	1.53.10.1.4.1
	1.53.10.1.6.1
	1.53.10.1.8.1;
next	1.53.10.2;

1.53.10.2
date	2012.11.17.10.37.17;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.53.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.53.10.1.8.2;

1.53.10.1.8.2
date	2012.11.17.08.25.50;	author svnexp;	state Exp;
branches;
next	;

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

1.53.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.53.14.2;

1.53.14.2
date	2012.11.17.08.17.42;	author svnexp;	state Exp;
branches;
next	;

1.48.2.1
date	2006.03.09.22.18.07;	author yar;	state Exp;
branches;
next	1.48.2.2;

1.48.2.2
date	2006.09.05.23.53.21;	author csjp;	state Exp;
branches;
next	1.48.2.3;

1.48.2.3
date	2007.01.20.02.25.36;	author csjp;	state Exp;
branches
	1.48.2.3.4.1;
next	1.48.2.4;

1.48.2.4
date	2012.11.17.07.45.46;	author svnexp;	state Exp;
branches;
next	;

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

1.47.2.1
date	2006.03.11.08.24.25;	author yar;	state Exp;
branches;
next	;

1.31.2.1
date	2001.04.25.11.29.27;	author ru;	state Exp;
branches;
next	1.31.2.2;

1.31.2.2
date	2001.07.16.07.02.39;	author markm;	state Exp;
branches;
next	1.31.2.3;

1.31.2.3
date	2012.11.17.07.27.36;	author svnexp;	state Exp;
branches;
next	;

1.27.2.1
date	99.01.22.18.41.00;	author jdp;	state Exp;
branches;
next	1.27.2.2;

1.27.2.2
date	99.08.29.15.30.00;	author peter;	state Exp;
branches;
next	;

1.13.4.1
date	99.09.05.11.35.09;	author peter;	state Exp;
branches;
next	;

1.13.6.1
date	97.05.10.21.20.13;	author davidn;	state Exp;
branches;
next	1.13.6.2;

1.13.6.2
date	98.02.18.12.07.38;	author markm;	state Exp;
branches;
next	1.13.6.3;

1.13.6.3
date	99.09.05.11.32.39;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.05.27.12.32.04;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.55
log
@Switching exporter and resync
@
text
@# 	@@(#)Makefile	8.1 (Berkeley) 7/19/93
# $FreeBSD: head/usr.bin/login/Makefile 201386 2010-01-02 10:27:05Z ed $

.include <bsd.own.mk>

PROG=	login
SRCS=	login.c login_fbtab.c
CFLAGS+=-DLOGALL
DPADD=	${LIBUTIL} ${LIBPAM}
LDADD=	-lutil ${MINUSLPAM}

WARNS?=	5

.if ${MK_AUDIT} != "no"
SRCS+=	login_audit.c
CFLAGS+= -DUSE_BSM_AUDIT
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

.if ${MK_SETUID_LOGIN} != "no"
BINOWN=	root
BINMODE=4555
PRECIOUSPROG=
.endif

.include <bsd.prog.mk>
@


1.55.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:06:05 +0000
@
text
@d1 27
@


1.55.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 25
# 	@@(#)Makefile	8.1 (Berkeley) 7/19/93
# $FreeBSD: releng/8.4/usr.bin/login/Makefile 165152 2006-12-13 06:13:32Z csjp $

.include <bsd.own.mk>

PROG=	login
SRCS=	login.c login_fbtab.c
CFLAGS+=-DLOGALL
DPADD=	${LIBUTIL} ${LIBPAM}
LDADD=	-lutil ${MINUSLPAM}

.if ${MK_AUDIT} != "no"
SRCS+=	login_audit.c
CFLAGS+= -DUSE_BSM_AUDIT
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

.if ${MK_SETUID_LOGIN} != "no"
BINOWN=	root
BINMODE=4555
PRECIOUSPROG=
.endif

.include <bsd.prog.mk>
@


1.54
log
@SVN rev 201386 on 2010-01-02 10:27:05Z by ed

Build usr.bin/ with WARNS=6 by default.

Also add some missing $FreeBSD$ to keep svn happy.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.54.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.54.2.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
@d2 1
a2 1
# $FreeBSD: stable/9/usr.bin/login/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.54.2.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.54.2.1.4.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.1/usr.bin/login/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.54.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.54.2.1.2.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/9.0/usr.bin/login/Makefile 201386 2010-01-02 10:27:05Z ed $
@


1.53
log
@Teach login(1) about the make.conf NO_AUDIT variable.  This allows us to
conditionally build in audit support.

Submitted by:	bz
MFC after:	1 week
@
text
@d12 2
@


1.53.2.1
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/7/usr.bin/login/Makefile 165152 2006-12-13 06:13:32Z csjp $
@


1.53.14.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.53.14.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/7.4/usr.bin/login/Makefile 165152 2006-12-13 06:13:32Z csjp $
@


1.53.12.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.53.10.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.53.10.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
@d2 1
a2 1
# $FreeBSD: stable/8/usr.bin/login/Makefile 165152 2006-12-13 06:13:32Z csjp $
@


1.53.10.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.53.10.1.8.2
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: releng/8.3/usr.bin/login/Makefile 165152 2006-12-13 06:13:32Z csjp $
@


1.53.10.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.53.10.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.53.10.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.53.8.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.53.6.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.52
log
@Add missing library dependencies.
@
text
@d7 1
a7 1
SRCS=	login.c login_audit.c login_fbtab.c
d9 9
a17 2
DPADD=	${LIBUTIL} ${LIBPAM} ${LIBBSM}
LDADD=	-lutil ${MINUSLPAM} -lbsm
@


1.51
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
@d9 1
a9 1
DPADD=	${LIBUTIL} ${LIBPAM}
@


1.50
log
@Since the whole login.access feature has moved to PAM,
login.access.5 will be installed from the respective PAM
module's src directory.

MFC after:	3 days
@
text
@d4 2
d12 1
a12 1
.if !defined(NO_SETUID_LOGIN)
@


1.49
log
@Make login audit-enabled, submitting audit records for the login and logout
events. The specifics of submitting the records is contained within
login_audit.c.
Document the auditing behavior in the man page.

Obtained from: TrustedBSD Project, Apple Computer, Inc.
Approved by: rwatson (mentor)
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.48 2004/11/03 18:01:19 ru Exp $
d9 1
a9 1
MAN=	login.1 login.access.5
@


1.48
log
@Introduce the PRECIOUSPROG knob in bsd.prog.mk, similar
to PRECIOUSLIB from bsd.lib.mk.  The side effect of this
is making installing the world under jail(8) possible by
using another knob, NOFSCHG.

Reviewed by:	oliver
@
text
@d2 1
a2 1
# $FreeBSD$
d5 1
a5 1
SRCS=	login.c login_fbtab.c
d8 1
a8 1
LDADD=	-lutil ${MINUSLPAM}
@


1.48.2.1
log
@MFC:

Some years ago handling login.access(5) was moved from login(1) to
pam_login_access(8) completely and unconditionally.  This patch is
to finalize the move by deleting unused files and defines, and by
updating the manpages.  In addition, login.access.5 will be installed
from the pam_login_access src directory, to where it belongs and
where it has lived for quite a while, too.

Besides satisfying general purism, this patch should stop ongoing
attempts to fix the dead code.

Approved by:	re (mux)
@
text
@d9 1
a9 1

@


1.48.2.2
log
@MFC the audit modifications to login so audit context is properly set and
the correct audit records are submitted.

Reviewed by:	rwatson
Obtained from:	TrustedBSD Project
@
text
@d5 1
a5 1
SRCS=	login.c login_audit.c login_fbtab.c
d8 1
a8 1
LDADD=	-lutil ${MINUSLPAM} -lbsm
@


1.48.2.3
log
@MFC Makefile revision 1.53 (with changes)
MFC login.c revision 1.102
MFC login.h revision 1.6

- Conditional build of audit based on NO_AUDIT
@
text
@d5 1
a5 1
SRCS=	login.c login_fbtab.c
a9 7
.if !defined(NO_AUDIT)
SRCS+=  login_audit.c
CFLAGS+= -DUSE_BSM_AUDIT
DPADD+=  ${LIBBSM}
LDADD+=  -lbsm
.endif

@


1.48.2.4
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/6/usr.bin/login/Makefile 166118 2007-01-20 02:25:36Z csjp $
@


1.48.2.3.4.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.47
log
@Fixed style bugs in previous commit (.ifndef instead of .if defined(),
and tab lossage).

Garbage-collected NEED_LIBNAMES.
@
text
@d13 1
a13 1
INSTALLFLAGS=-fschg
@


1.47.2.1
log
@MFC:

Now login.access(5) feature belongs to pam_login_access(8),
not to login(1), unlike it used to.  This appears to apply
to RELENG_5, too.

Approved by:	re (mux)
@
text
@d9 1
a9 1

@


1.46
log
@I am a moron.
@
text
@d10 2
a11 2
.ifndef NO_SETUID_LOGIN
BINOWN= root
a14 1
NEED_LIBNAMES= yes
@


1.45
log
@Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.
@
text
@d10 1
a10 1
.ifdef NO_SETUID_LOGIN
@


1.44
log
@Cut through the bikeshed and remove login(1)'s setuid bit.  It has no
business trying to impersonate su(1), and it does not need to be setuid
to function properly when invoked by getty(8) or telnetd(8).
@
text
@d10 5
@


1.43
log
@GC (now unused here) -lcrypt.
@
text
@a9 3
BINOWN=	root
BINMODE=4555
INSTALLFLAGS=-fschg
@


1.42
log
@Fixed some style bugs ("From:" in vendor id line, disordered MAN line, and
blank lines).

Not unapproved of by:	markm
@
text
@d7 2
a8 2
DPADD=	${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD=	-lutil -lcrypt ${MINUSLPAM}
@


1.41
log
@Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
@
text
@d1 1
a1 1
# From:	@@(#)Makefile	8.1 (Berkeley) 7/19/93
a5 2
MAN=	login.1 login.access.5

a6 1

d9 1
a9 1

@


1.40
log
@Still with asbestos longjohns on, completely PAMify login(1) and remove
code made redundant by various PAM modules (primarily pam_unix(8)).

Sponsored by:	DARPA, NAI Labs
@
text
@a8 2
WARNS?=	4
NO_WERROR=
@


1.39
log
@Work around world breakage in previous commit.  The bug is in
<security/pam_misc.h>.  It declares a function parameter named 'send',
so nothing that includes both <unistd.h> (which declares send(2)) and
<security/pam_misc.h> be compiled with WARNS=2 unless NO_WERRROR is
set.

Fixed order of WARNS.
@
text
@d5 1
a5 1
SRCS=	login.c login_access.c login_fbtab.c
d8 2
a9 2
CFLAGS+=-DLOGIN_ACCESS -DLOGALL
WARNS?=	2
@


1.38
log
@WARNS=2 fixes.

Reviewed by:	bde (a while back)
@
text
@d9 2
a13 2

WARNS?=	2
@


1.37
log
@Set BINOWN=root explicitly for setuid root binaries.

This is not "useless", as one may have non-default
setting for BINOWN in make.conf, and we still want
these to be installed setuid root in this case.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.36 2001/08/30 11:27:36 markm Exp $
d12 2
@


1.36
log
@Like su(1), make PAM use mandatory. Remove parts of the authentication
logic that are handled by PAM. Fix documentation to reflect this.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.35 2001/05/01 10:30:08 markm Exp $
d13 1
@


1.35
log
@Clean out some cruft that has been put in a better (central) place.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.34 2001/04/28 08:06:33 markm Exp $
d8 1
a8 1
CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL
d10 2
a11 8
DPADD=	${LIBUTIL} ${LIBCRYPT}
LDADD=	-lutil -lcrypt

.if !defined(NOPAM)
CFLAGS+= -DUSE_PAM
DPADD+=	${LIBPAM}
LDADD+=	${MINUSLPAM}
.endif
@


1.34
log
@Enable (optional) static linking.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.33 2001/03/27 19:40:50 markm Exp $
a23 5

.if defined(NOSHARED) && !defined(NOPAM)
DPADD+= ${LIBCRYPTO}
LDADD+= -L${.OBJDIR}/../../secure/lib/libssh/ -lssh -lcrypto
.endif
@


1.33
log
@Add full PAM support for account management and sessions.

The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
package's PAM patches to the BSD login.c

Submitted by:	"David J. MacKenzie" <djm@@web.us.uu.net>
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.32 2001/03/27 10:51:49 ru Exp $
d24 5
@


1.32
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.31 1999/12/18 13:55:14 peter Exp $
d13 2
a14 3
.if defined(NOPAM)
CFLAGS+= -DNO_PAM
.else
@


1.31
log
@Revert the libcrypt/libmd stuff back to how it was.  This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.30 1999/12/16 10:55:42 marcel Exp $
a4 2
MAN1=	login.1
MAN5=	login.access.5
d6 1
@


1.31.2.1
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.31 1999/12/18 13:55:14 peter Exp $
d5 2
a7 1
MAN=	login.1 login.access.5
@


1.31.2.2
log
@MFC: extended PAM services and documentation thereof.

PR:	27153
@
text
@d2 1
a2 1
# $FreeBSD$
d13 3
a15 2
.if !defined(NOPAM)
CFLAGS+= -DUSE_PAM
@


1.31.2.3
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/usr.bin/login/Makefile 79782 2001-07-16 07:02:39Z markm $
@


1.30
log
@Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
@
text
@d2 1
a2 1
# $FreeBSD: src/usr.bin/login/Makefile,v 1.29 1999/08/28 01:03:09 peter Exp $
d11 2
a12 2
DPADD=	${LIBUTIL} ${LIBCRYPT} ${LIBMD}
LDADD=	-lutil -lcrypt -lmd
@


1.29
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d11 2
a12 2
DPADD=	${LIBUTIL} ${LIBCRYPT}
LDADD=	-lutil -lcrypt
@


1.28
log
@Force <bsd.libnames.mk> to be included, regardless of the object
format.  This fixes the undefined symbols when building login for
a.out.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.27 1999/01/20 21:58:46 jdp Exp $
@


1.27
log
@Allow login to be linked statically even when PAM is used, since
there is now a static version of libpam.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.26 1999/01/19 22:59:37 abial Exp $
d23 1
@


1.27.2.1
log
@MFC: Fix PAM-related a.out breakage.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.28 1999/01/22 12:44:55 jdp Exp $
a22 1
NEED_LIBNAMES= yes
@


1.27.2.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.26
log
@Add a compile knob to avoid using PAM code (login will use standard Unix
authentication only). This comes handy when you're tight on space.

Submitted by:	mostly John Baldwin <jobaldwi@@vt.edu>
Reviewed by:	John D. Polstra <jdp@@polstra.com>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.25 1998/11/21 18:27:15 jdp Exp $
d18 1
a18 2
LDADD+=	-lpam
NOSHARED=no
a19 1

@


1.25
log
@Work around the problem that login won't link if NOSHARED=yes,
because libpam is built shared only.  There is a way to build PAM
into a static library that contains all (or a selected subset) of
the modules.  But our Makefiles don't support that yet.  Until I get
that working, just force NOSHARED=no in login's Makefile.  Of
course, it still won't work if NOPIC is set.

Submitted by:	bde
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.24 1998/11/21 02:22:14 jdp Exp $
d11 8
a18 2
DPADD=	${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD=	-lutil -lcrypt -lpam
d20 2
@


1.24
log
@ATTENTION: INSTALL "/etc/pam.conf" FROM "src/etc"!!!

Change login to use PAM for authentication.  I kept the built-in
passwd/NIS authentication support, to handle cases where the system
is missing its "/etc/pam.conf" file.  S/Key and KerberosIV
authentication methods are removed from the login program, but
still available in PAM modules.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.23 1998/11/11 05:47:45 jdp Exp $
d13 1
@


1.23
log
@unifdef -DLOGIN_CAP.  After almost 2 years, I think we can assume
it's here to stay.

This code is starting to look almost reasonable again.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.22 1998/11/11 02:16:01 jdp Exp $
d9 1
a9 1
CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL
d11 2
a12 14
.if defined(KLOGIN_PARANOID)
CFLAGS+=-DKLOGIN_PARANOID
.endif

DPADD=	${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
LDADD=	-lutil -lskey -lmd -lcrypt

.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DKERBEROS
SRCS+=	klogin.c
DPADD+=	${LIBKRB} ${LIBDES}
LDADD+=	-lkrb -ldes
DISTRIBUTION=	krb
.endif
@


1.22
log
@Remove support for LOGIN_CAP_AUTH.  It was never enabled, it was
not complete, and it hasn't been touched for 18 months.  All the
ifdefs obfuscate the code.  I discussed the LOGIN_CAP_AUTH support
with its author and he agreed that it is a dead end.  I am bringing
PAM into the tree within the next two weeks.  It is much more
flexible than LOGIN_CAP_AUTH, and will serve as a superior replacement
for it.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.21 1998/09/19 22:42:04 obrien Exp $
d9 1
a9 1
CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP
@


1.21
log
@Remove useless `BINOWN=root' now that it is the default.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.20 1998/08/06 21:37:04 markm Exp $
d9 1
a9 4
#Uncomment to activate login_auth
#Warning: requires src/libexec/login_* auth modules
#LC_AUTH=-DLOGIN_CAP_AUTH
CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
d18 1
a18 1
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH)
@


1.20
log
@Fix LIBDIR (for aout/ELF).
@
text
@d2 1
a2 1
# $Id$
a28 1
BINOWN=	root
@


1.19
log
@Changes for KTH KerberosIV.
Also quieten -Wall a bit.
@
text
@d21 1
a21 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH)
@


1.18
log
@"lmd" -> "-lmd"
Submitted by:	Vincent Poy <vince@@venus.gaianet.net>
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1997/09/05 12:00:01 peter Exp $
d12 1
a12 1
CFLAGS+=-DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
d18 2
a19 2
DPADD=	${LIBUTIL} ${LIBSKEY} ${LIBCRYPT}
LDADD=	-lutil -lskey -lcrypt
d21 1
a21 7
# have to provide libmd.a for libskey.so to use.
.if ${BINFORMAT} != elf
DPADD+=	${LIBMD}
LDADD+=	-lmd
.endif

.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
@


1.17
log
@If building elf, don't link in libmd.a just for libskey.so to use.  Under
elf, libskey.so will not expose it's implementation on it's caller.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1997/02/22 19:55:57 peter Exp $
d24 1
a24 1
LDADD+=	lmd
@


1.16
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d18 8
a25 2
DPADD=	${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT}
LDADD=	-lutil -lskey -lmd -lcrypt
@


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


1.14
log
@Makes login login_cap-savvy.

Note that LOGIN_CAP_AUTH code (login authentication) is not (yet) enabled
and requires /usr/libexec/login_<style> authentication program support to
be added at a later date. The Makefile contains a macro LC_AUTH to turn
it on and prevent unnecessarily linking against skey/krb libs and the
addition of klogin.c module.

All other aspects of login_cap support are fully functional.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/30 06:31:25 rgrimes Exp $
@


1.13
log
@Remove trailing whitespace.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1995/03/18 17:18:15 nate Exp $
d9 4
a12 1
CFLAGS+=-DLOGIN_ACCESS -DSKEY -DLOGALL
d21 1
a21 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES)
@


1.13.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13.6.1
log
@MFC: Add login.conf support.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/30 06:31:25 rgrimes Exp $
d9 1
a9 4
#Uncomment to activate login_auth
#Warning: requires src/libexec/login_* auth modules
#LC_AUTH=-DLOGIN_CAP_AUTH
CFLAGS+=-DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
d18 1
a18 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_EBONES) && !defined(LC_AUTH)
@


1.13.6.2
log
@Replace eBones with kerberosIV (Actually KTH eBones from current)
@
text
@d2 1
a2 1
# $Id$
d12 1
a12 1
CFLAGS+=-Wall -DSKEY -DLOGIN_ACCESS -DLOGALL -DLOGIN_CAP $(LC_AUTH)
d21 1
a21 1
.if exists(${DESTDIR}/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(LC_AUTH)
@


1.13.6.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@Change the library order so libcrypt is the last library in the list.
libskey contains references to _crypt and can't resolve it unless
-lcrypt occurs after it in the link command.  This only occurs when
linking statically.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1995/01/14 22:57:38 wollman Exp $
d15 1
a15 1
DPADD=	${LIBUTIL} ${LIBSKEY} ${LIBMD} ${LIBCRYPT} 
@


1.11
log
@Modify klogin to:

1) Don't spit out an error message if Kerberos is installed but not yet
   set up.

2) Don't attempt to verify the ticket you got back, as workstations
   are not intended to have srvtab files of their own.

Both behaviors can be re-enabled with KLOGIN_PARANOID.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1994/11/20 23:20:33 wollman Exp $
d15 2
a16 2
DPADD=	${LIBUTIL} ${LIBCRYPT} ${LIBSKEY} ${LIBMD}
LDADD=	-lutil -lcrypt -lskey -lmd
@


1.10
log
@Add distribution=krb for P-HK
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1994/10/19 00:03:31 pst Exp $
d11 4
d18 1
a18 2
.if exists(${DESTDIR}/usr/lib/libkrb.a) && \
	(defined(MAKE_KERBEROS) || defined(MAKE_EBONES))
@


1.9
log
@Include most of the logdaemon v4.4 S/key changes
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1994/09/30 13:26:15 csgr Exp $
d20 1
@


1.8
log
@Undo damage done between revisions 1.6 and 1.7
(Guys, please don't DAMAGE commits that have just gone in.)
@
text
@d2 1
a2 1
# $Id$
d7 2
a8 3
SRCS=	login.c login_access.c login_skey.c login_fbtab.c
DPADD=	${LIBUTIL} ${LIBSKEY}
LDADD=	-lutil -lcrypt -lskey
d11 5
a15 2
.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
	|| defined(MAKE_EBONES))
a26 1

@


1.7
log
@Install support for skey and login.access
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 7/19/93
a3 1
#CFLAGS+=-DKERBEROS
a7 1
#klogin.c
a8 1
#${LIBKRB} ${LIBDES}
d10 10
a19 1
#-lkrb -ldes
a21 1
CFLAGS+=	-DLOGIN_ACCESS -DSKEY -DLOGALL
@


1.6
log
@First level of changes for bringing in eBones (kerberos).
- Get rid of inverse logic (NOKERBEROS and NOEBONES) in src/makefile,
and replace with MAKE_KERBEROS and MAKE_EBONES.  (Far fewer contortions,
and both default to off.)  IF YOU WANT KERBEROS, YOU HAVE TO EXPLICITLY
DEFINE ONE OF THESE.
- Make Makefiles kerberos-aware.
@
text
@d1 1
a1 2
# From:	@@(#)Makefile	8.1 (Berkeley) 7/19/93
# $Id$
d3 1
d8 1
d10 1
d12 1
a12 10
CFLAGS+=-DLOGIN_ACCESS -DSKEY -DLOGALL

.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_KERBEROS) \
	|| defined(MAKE_EBONES))
CFLAGS+=-DKERBEROS
SRCS+=	klogin.c
DPADD+=	${LIBKRB} ${LIBDES}
LDADD+=	-lkrb -ldes
.endif

d15 1
@


1.5
log
@Implemnet fbtab ala SunOS (thanks to WZV, see login_fbtab.c)
Reviewed by:
Submitted by:	guido
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 7/19/93
a3 1
#CFLAGS+=-DKERBEROS
a7 1
#klogin.c
a8 1
#${LIBKRB} ${LIBDES}
d10 10
a19 1
#-lkrb -ldes
a21 1
CFLAGS+=	-DLOGIN_ACCESS -DSKEY -DLOGALL
@


1.4
log
@Add skey supprot
Reviewed by:
Submitted by:	guido
@
text
@d7 1
a7 1
SRCS=	login.c login_access.c login_skey.c
@


1.3
log
@LDADD= -lcrypt
Submitted by:	Geoff
@
text
@d5 3
a7 1
SRCS=	login.c
d9 1
a9 1
DPADD=	${LIBUTIL}
d11 1
a11 1
LDADD=	-lutil -lcrypt
d15 1
d19 1
@


1.2
log
@Don't compile with kerberos yet, we aren't ready.
@
text
@d9 1
a9 1
LDADD=	-lutil
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
CFLAGS+=-DKERBEROS
d5 6
a10 3
SRCS=	klogin.c login.c
DPADD=	${LIBUTIL} ${LIBKRB} ${LIBDES}
LDADD=	-lutil -lkrb -ldes
@


1.1.1.1
log
@BSD 4.4 Lite Usr.bin Sources
@
text
@@
