head	1.19;
access;
symbols
	RELENG_8_4:1.19.0.2
	RELENG_9_1_0_RELEASE:1.18.4.1.4.2
	RELENG_9_1:1.18.4.1.0.4
	RELENG_9_1_BP:1.18.4.1
	RELENG_8_3_0_RELEASE:1.18.2.1.8.1
	RELENG_8_3:1.18.2.1.0.8
	RELENG_8_3_BP:1.18.2.1
	RELENG_9_0_0_RELEASE:1.18.4.1.2.1
	RELENG_9_0:1.18.4.1.0.2
	RELENG_9_0_BP:1.18.4.1
	RELENG_9:1.18.0.4
	RELENG_9_BP:1.18
	RELENG_7_4_0_RELEASE:1.16.10.1.10.1
	RELENG_8_2_0_RELEASE:1.18.2.1.6.1
	RELENG_7_4:1.16.10.1.0.10
	RELENG_7_4_BP:1.16.10.1
	RELENG_8_2:1.18.2.1.0.6
	RELENG_8_2_BP:1.18.2.1
	RELENG_8_1_0_RELEASE:1.18.2.1.4.1
	RELENG_8_1:1.18.2.1.0.4
	RELENG_8_1_BP:1.18.2.1
	RELENG_7_3_0_RELEASE:1.16.10.1.8.1
	RELENG_7_3:1.16.10.1.0.8
	RELENG_7_3_BP:1.16.10.1
	RELENG_8_0_0_RELEASE:1.18.2.1.2.1
	RELENG_8_0:1.18.2.1.0.2
	RELENG_8_0_BP:1.18.2.1
	RELENG_8:1.18.0.2
	RELENG_8_BP:1.18
	RELENG_7_2_0_RELEASE:1.16.10.1.6.1
	RELENG_7_2:1.16.10.1.0.6
	RELENG_7_2_BP:1.16.10.1
	RELENG_7_1_0_RELEASE:1.16.10.1.4.1
	RELENG_6_4_0_RELEASE:1.16.2.1.4.1
	RELENG_7_1:1.16.10.1.0.4
	RELENG_7_1_BP:1.16.10.1
	RELENG_6_4:1.16.2.1.0.4
	RELENG_6_4_BP:1.16.2.1
	RELENG_7_0_0_RELEASE:1.16.10.1
	RELENG_6_3_0_RELEASE:1.16.2.1
	RELENG_7_0:1.16.10.1.0.2
	RELENG_7_0_BP:1.16.10.1
	RELENG_6_3:1.16.2.1.0.2
	RELENG_6_3_BP:1.16.2.1
	RELENG_7:1.16.0.10
	RELENG_7_BP:1.16
	RELENG_6_2_0_RELEASE:1.16
	RELENG_6_2:1.16.0.8
	RELENG_6_2_BP:1.16
	RELENG_5_5_0_RELEASE:1.13.2.2
	RELENG_5_5:1.13.2.2.0.2
	RELENG_5_5_BP:1.13.2.2
	RELENG_6_1_0_RELEASE:1.16
	RELENG_6_1:1.16.0.6
	RELENG_6_1_BP:1.16
	RELENG_6_0_0_RELEASE:1.16
	RELENG_6_0:1.16.0.4
	RELENG_6_0_BP:1.16
	RELENG_6:1.16.0.2
	RELENG_6_BP:1.16
	RELENG_5_4_0_RELEASE:1.13
	RELENG_5_4:1.13.0.6
	RELENG_5_4_BP:1.13
	RELENG_5_3_0_RELEASE:1.13
	RELENG_5_3:1.13.0.4
	RELENG_5_3_BP:1.13
	RELENG_5:1.13.0.2
	RELENG_5_BP:1.13
	RELENG_5_2_1_RELEASE:1.11
	RELENG_5_2_0_RELEASE:1.11
	RELENG_5_2:1.11.0.2
	RELENG_5_2_BP:1.11
	RELENG_5_1_0_RELEASE:1.8
	RELENG_5_1:1.8.0.2
	RELENG_5_1_BP:1.8
	old_RELENG_5_0_0_RELEASE:1.7
	old_RELENG_5_0:1.7.0.2
	old_RELENG_5_0_BP:1.7
	old_RELENG_4_7_0_RELEASE:1.1.2.6
	old_RELENG_4_7:1.1.2.6.0.2
	old_RELENG_4_7_BP:1.1.2.6
	old_RELENG_4_6_2_RELEASE:1.1.2.5
	old_RELENG_4_6_1_RELEASE:1.1.2.5
	old_RELENG_4_6_0_RELEASE:1.1.2.5
	old_RELENG_4_6:1.1.2.5.0.2
	old_RELENG_4_6_BP:1.1.2.5
	old_RELENG_4_5_0_RELEASE:1.1.2.2
	old_RELENG_4_5:1.1.2.2.0.4
	old_RELENG_4_5_BP:1.1.2.2
	old_RELENG_4_4_0_RELEASE:1.1.2.2
	old_RELENG_4_4:1.1.2.2.0.2
	old_RELENG_4_4_BP:1.1.2.2
	old_RELENG_4_3_0_RELEASE:1.1.2.1
	old_RELENG_4_3:1.1.2.1.0.2
	old_RELENG_4_3_BP:1.1.2.1
	old_RELENG_4:1.1.0.2;
locks; strict;
comment	@# @;


1.19
date	2012.11.17.01.49.17;	author svnexp;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	2008.05.07.13.53.09;	author dfr;	state Exp;
branches
	1.18.2.1
	1.18.4.1;
next	1.17;

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

1.16
date	2005.07.07.14.16.37;	author kensmith;	state Exp;
branches
	1.16.2.1
	1.16.10.1;
next	1.15;

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

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

1.13
date	2004.02.05.18.51.52;	author ru;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2004.01.31.08.15.57;	author ru;	state Exp;
branches;
next	1.11;

1.11
date	2003.10.09.19.48.46;	author nectar;	state Exp;
branches;
next	1.10;

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

1.9
date	2003.07.02.23.46.38;	author ru;	state Exp;
branches;
next	1.8;

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

1.7
date	2002.08.04.22.23.48;	author fjoe;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.12.03.17.21;	author nectar;	state Exp;
branches;
next	1.5;

1.5
date	2002.05.11.14.05.07;	author nectar;	state Exp;
branches;
next	1.4;

1.4
date	2002.04.26.17.55.26;	author ru;	state Exp;
branches;
next	1.3;

1.3
date	2002.02.19.15.53.32;	author nectar;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.04.19.54.35;	author markm;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.05.11.18.35;	author markm;	state Exp;
branches
	1.1.2.1;
next	;

1.19.2.1
date	2012.11.17.01.49.17;	author svnexp;	state dead;
branches;
next	1.19.2.2;

1.19.2.2
date	2013.03.28.13.02.55;	author svnexp;	state Exp;
branches;
next	;

1.18.2.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.18.2.1.2.1
	1.18.2.1.4.1
	1.18.2.1.6.1
	1.18.2.1.8.1;
next	1.18.2.2;

1.18.2.2
date	2012.11.17.10.36.00;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.18.2.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.18.2.1.8.2;

1.18.2.1.8.2
date	2012.11.17.08.24.41;	author svnexp;	state Exp;
branches;
next	;

1.18.4.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.18.4.1.2.1
	1.18.4.1.4.1;
next	1.18.4.2;

1.18.4.2
date	2012.11.17.11.36.15;	author svnexp;	state Exp;
branches;
next	;

1.18.4.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.18.4.1.2.2;

1.18.4.1.2.2
date	2012.11.17.08.36.15;	author svnexp;	state Exp;
branches;
next	;

1.18.4.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.18.4.1.4.2;

1.18.4.1.4.2
date	2012.11.17.08.47.05;	author svnexp;	state Exp;
branches;
next	;

1.16.2.1
date	2007.10.29.21.47.56;	author peter;	state Exp;
branches
	1.16.2.1.4.1;
next	1.16.2.2;

1.16.2.2
date	2012.11.17.07.39.30;	author svnexp;	state Exp;
branches;
next	;

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

1.16.10.1
date	2007.10.29.21.39.03;	author peter;	state Exp;
branches
	1.16.10.1.4.1
	1.16.10.1.6.1
	1.16.10.1.8.1
	1.16.10.1.10.1;
next	1.16.10.2;

1.16.10.2
date	2012.11.17.08.01.44;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.16.10.1.10.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.16.10.1.10.2;

1.16.10.1.10.2
date	2012.11.17.08.16.40;	author svnexp;	state Exp;
branches;
next	;

1.13.2.1
date	2005.05.04.16.26.58;	author peter;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2005.07.11.13.20.47;	author kensmith;	state Exp;
branches;
next	;

1.1.2.1
date	2001.03.05.22.48.36;	author markm;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.06.04.21.11.34;	author peter;	state Exp;
branches
	1.1.2.2.2.1
	1.1.2.2.4.1;
next	1.1.2.3;

1.1.2.3
date	2002.04.30.14.57.44;	author nectar;	state Exp;
branches;
next	1.1.2.4;

1.1.2.4
date	2002.05.11.15.35.12;	author nectar;	state Exp;
branches;
next	1.1.2.5;

1.1.2.5
date	2002.05.15.12.51.30;	author nectar;	state Exp;
branches;
next	1.1.2.6;

1.1.2.6
date	2002.07.25.09.33.16;	author ru;	state Exp;
branches;
next	;

1.1.2.2.2.1
date	2002.05.15.13.04.00;	author nectar;	state Exp;
branches;
next	;

1.1.2.2.4.1
date	2002.05.15.12.56.21;	author nectar;	state Exp;
branches;
next	;


desc
@@


1.19
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $

PROG=	ksu
.if defined(ENABLE_SUID_K5SU)
BINMODE=4555
PRECIOUSPROG=
.endif
NO_MAN=
SRCS=	su.c
CFLAGS+=-I${KRB5DIR}/lib/roken
DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHX509} ${LIBROKEN} ${LIBVERS} \
	${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
LDADD=	-lkafs5 -lkrb5 -lhx509 -lroken ${LIBVERS} \
	-lasn1 -lcrypto -lcrypt -lcom_err

.include <bsd.prog.mk>

.PATH: ${KRB5DIR}/appl/su
@


1.19.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:02:55 +0000
@
text
@d1 18
@


1.19.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 18
# $FreeBSD: releng/8.4/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $

PROG=	ksu
.if defined(ENABLE_SUID_K5SU)
BINMODE=4555
PRECIOUSPROG=
.endif
NO_MAN=
SRCS=	su.c
CFLAGS+=-I${KRB5DIR}/lib/roken
DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBHX509} ${LIBROKEN} ${LIBVERS} \
	${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
LDADD=	-lkafs5 -lkrb5 -lhx509 -lroken ${LIBVERS} \
	-lasn1 -lcrypto -lcrypt -lcom_err

.include <bsd.prog.mk>

.PATH: ${KRB5DIR}/appl/su
@


1.18
log
@Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.18.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.18.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
@d1 1
a1 1
# $FreeBSD: stable/9/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.18.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.18.4.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.18.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.18.4.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.18.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.18.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
@d1 1
a1 1
# $FreeBSD: stable/8/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.18.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.18.2.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/kerberos5/usr.bin/ksu/Makefile 178828 2008-05-07 13:53:12Z dfr $
@


1.18.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.18.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.18.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.17
log
@Remove _FREEFALL_CONFIG hacks
@
text
@d11 1
a11 1
DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
d13 1
a13 1
LDADD=	-lkafs5 -lkrb5 -lroken ${LIBVERS} \
@


1.16
log
@This is sort of an MFS.  Peter made these changes to the RELENG_*
branches but missed HEAD.  This patch extends his a little bit,
setting it up via the Makefiles so that adding _FREEFALL_CONFIG
to /etc/make.conf is the only thing needed to cluster-ize things
(current setup also requires overriding CFLAGS).

From Peter's commit to the RELENG_* branches:
> Add the freebsd.org custer's source modifications under #ifdefs to aid
> keeping things in sync.  For ksu:
> * install suid-root by default
> * don't fall back to asking for a unix password (ie: be pure kerberos)
> * allow custom user instances for things like www and not just root

The Makefile tweaks will be MFC-ed, the rest is already done.

MFC after:      3 days
Approved by:    re (dwhite)
@
text
@d4 1
a4 1
.if defined(ENABLE_SUID_K5SU) || defined(_FREEFALL_CONFIG)
a10 3
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif
@


1.16.2.1
log
@MFC: remove some no-longer-needed _FREEFALL_CONFIG hacks.
@
text
@d4 1
a4 1
.if defined(ENABLE_SUID_K5SU)
d11 3
@


1.16.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/kerberos5/usr.bin/ksu/Makefile 173159 2007-10-29 21:47:56Z peter $
@


1.16.2.1.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.16.10.1
log
@MFC: remove some _FREEFALL_CONFIG hacks.  We don't use ksu on the
freebsd.org cluster any more.

Approved by:  re (kensmith)
@
text
@d4 1
a4 1
.if defined(ENABLE_SUID_K5SU)
d11 3
@


1.16.10.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/kerberos5/usr.bin/ksu/Makefile 173158 2007-10-29 21:39:03Z peter $
@


1.16.10.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.16.10.1.10.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/kerberos5/usr.bin/ksu/Makefile 173158 2007-10-29 21:39:03Z peter $
@


1.16.10.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.16.10.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.16.10.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.15
log
@Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by:	core
@
text
@d4 1
a4 1
.if defined(ENABLE_SUID_K5SU)
d11 3
@


1.14
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
@d8 1
a8 1
NOMAN=
@


1.13
log
@style.Makefile(5).

OK'ed by:	nectar
@
text
@d6 1
a6 1
INSTALLFLAGS=-fschg
@


1.13.2.1
log
@Add the freebsd.org custer's source modifications under #ifdefs to aid
keeping things in sync.  For ksu:
* install suid-root by default
* don't fall back to asking for a unix password (ie: be pure kerberos)
* allow custom user instances for things like www and not just root
@
text
@d4 1
a4 1
.if defined(ENABLE_SUID_K5SU) || defined(_FREEFALL_CONFIG)
@


1.13.2.2
log
@MFC v1.16, Add -D_FREEFALL_CONFIG to CFLAGS via Makefile so that just
defining _FREEFALL_CONFIG in /etc/make.conf is all that is required
for the clusterisms to take effect.
@
text
@a10 3
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif
@


1.12
log
@Overhaul of kerberos5/ makefiles.  Most significant changes are:

- Dropped support for standalone builds, this was only partially
  supported anyway, and required so much magic in makefiles that
  made life dangerous (e.g., by using the custom yacc rules).

- Got rid of .OBJDIR in makefiles -- makes building of individual
  files possible again.

- Made the .x.c transformations -j safe.

- Reprogrammed LDADD to fix static build of some utilities that
  was broken.

- Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively
  affects the contents of .depend files.

- Removed redundant .h's from SRCS, only kept those that are
  generated.

- libkrb5/ INCS were bogusly installed again with libgssapi/.

- Made build-tools real tools with their own makefiles in
  separate directories.  This allows us to properly track
  their dependencies, etc.

- Faster build, 21% less of makefile code!

Approved by:	nectar
Reviewed by:	markm
Silence on:	arch
@
text
@d4 5
a8 1

a9 1

d11 2
a12 1

a15 10
DPADD=	${LIBKAFS5} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
	${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}

NOMAN=	true

.if defined(ENABLE_SUID_K5SU)
BINMODE=4555
.endif
INSTALLFLAGS=-fschg

d18 1
a18 1
.PATH:	${KRB5DIR}/appl/su
@


1.11
log
@Update build infrastructure for Heimdal 0.6.
@
text
@d5 1
a5 6
SRCS=	\
	su.c			\
	${.OBJDIR}/asn1_err.h	\
	${.OBJDIR}/krb5_err.h	\
	${.OBJDIR}/heim_err.h	\
	${.OBJDIR}/k524_err.h
d7 1
a7 8
CFLAGS+=-I${KRB5DIR}/include	\
	-I${KRB5DIR}/lib/roken	\
	-I${KRB5DIR}/lib/kafs	\
	-I${KRB5DIR}/lib/krb5	\
	-I${KRB5DIR}/lib/asn1	\
	-I${KRB5DIR}/kuser	\
	-I${ASN1OBJDIR}		\
	-I${.OBJDIR}
d9 1
a9 1
LDADD=	-lkrb5 -lroken -lkafs5 ${LIBVERS} \
d12 1
a12 1
DPADD=	${LIBKRB5} ${LIBROKEN} ${LIBKAFS5} ${LIBVERS} \
@


1.10
log
@Big fixup of the makefiles. Sort out the dependancies so that "make"
without "make depend" works, "make -j N" works, and lists of source
files are made vertical to reduce future diffs.
@
text
@d21 1
a21 1
LDADD=	-lkrb5 -lroken ${LIBVERS} \
d24 1
a24 1
DPADD=	${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
@


1.9
log
@Fixed "make checkdpadd".

OK'ed by:	markm
@
text
@d3 26
a28 15
PROG=		ksu
SRCS=		su.c asn1_err.h krb5_err.h heim_err.h k524_err.h
CFLAGS+=	-I${KRB5DIR}/include \
		-I${KRB5DIR}/lib/roken \
		-I${KRB5DIR}/lib/kafs \
		-I${KRB5DIR}/lib/krb5 \
		-I${KRB5DIR}/lib/asn1 \
		-I${KRB5DIR}/kuser \
		-I${ASN1OBJDIR} \
		-I${.OBJDIR}
NOMAN=		true
LDADD=		-lkrb5 -lroken ${LIBVERS} \
		-lasn1 -lcrypto -lcrypt -lcom_err
DPADD=		${LIBKRB5} ${LIBROKEN} ${LIBVERS} \
		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
@


1.8
log
@Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIV
compatiblity mode anymore. Rename the k5foo utils to kfoo (after
repo-copy).
@
text
@d14 3
a16 5
LDADD=		-L${KRB5OBJDIR} -lkrb5 \
		-L${ROKENOBJDIR} -lroken \
		-L${VERSOBJDIR} -lvers \
		-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
DPADD=		${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} \
@


1.7
log
@Kerberos 5 no longer needs -lmd

Approved by:	nectar
@
text
@d3 1
a3 1
PROG=		k5su
a13 4
.if defined(MAKE_KERBEROS4)
_krb4libs=	-L${KAFS5OBJDIR} -lkafs -lkrb -lkafs5
_krb4deps=	${LIBKAFS5} ${LIBKRB} ${LIBKAFS}
.endif
a16 1
		${_krb4libs} \
d18 1
a18 1
DPADD=		${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
@


1.6
log
@Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.
@
text
@d22 1
a22 1
		-L${ASN1OBJDIR} -lasn1 -lcrypto -lmd -lcrypt -lcom_err
d24 1
a24 1
		${LIBASN1} ${LIBCRYPTO} ${LIBMD} ${LIBCRYPT} ${LIBCOM_ERR}
@


1.5
log
@Do not install this with set-user-ID bit set.  This utility does not
grok the `wheel' group.

Noticed by:	jmallett
@
text
@d25 3
a27 1
#BINMODE=4555
@


1.4
log
@Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@@sunbay.com>
@
text
@d25 1
a25 1
BINMODE=4555
@


1.3
log
@Update build after import of Heimdal Kerberos 2002/02/17.
@
text
@d14 1
a14 2
.if defined(MAKE_KERBEROS4) && \
	(${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes")
@


1.2
log
@Install this SUID root. Heck, it is su, after all.
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5su/Makefile,v 1.1 2001/03/05 11:18:35 markm Exp $
d4 1
a4 1
SRCS=		su.c asn1_err.h krb5_err.h heim_err.h
@


1.1
log
@*Sigh*. What I did without this, I have no idea.
@
text
@d1 1
a1 1
# $FreeBSD$
d26 2
@


1.1.2.1
log
@MFC: insert much-needed app.
@
text
@@


1.1.2.2
log
@MFC: rev 1.2: su binaries should be setuid :-)
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5su/Makefile,v 1.1.2.1 2001/03/05 22:48:36 markm Exp $
a25 2
BINMODE=4555
INSTALLFLAGS=-fschg
@


1.1.2.2.2.1
log
@MFC 1.206 src/UPDATING
    1.6   src/kerberos5/usr.bin/k5su/Makefile
    1.187 src/share/examples/etc/make.conf (etc/defaults/make.conf)
    1.44  src/share/man/man5/make.conf.5
Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.
@
text
@d1 1
a1 1
# $FreeBSD$
a25 1
.if defined(ENABLE_SUID_K5SU)
a26 1
.endif
@


1.1.2.2.4.1
log
@MFC 1.206 src/UPDATING
    1.6   src/kerberos5/usr.bin/k5su/Makefile
    1.187 src/share/examples/etc/make.conf (etc/defaults/make.conf)
    1.44  src/share/man/man5/make.conf.5
Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.
@
text
@d1 1
a1 1
# $FreeBSD$
a25 1
.if defined(ENABLE_SUID_K5SU)
a26 1
.endif
@


1.1.2.3
log
@MFC: Update build for Heimdal Kerberos 0.4e around 2002/02/17.
@
text
@d1 1
a1 1
# $FreeBSD$
d4 1
a4 1
SRCS=		su.c asn1_err.h krb5_err.h heim_err.h k524_err.h
@


1.1.2.4
log
@MFC 1.5: Do not install this with set-user-ID bit set.

Approved by:	jhb (re)
@
text
@d26 1
a26 1
#BINMODE=4555
@


1.1.2.5
log
@MFC 1.206 src/UPDATING
    1.6   src/kerberos5/usr.bin/k5su/Makefile
    1.187 src/share/examples/etc/make.conf (etc/defaults/make.conf)
    1.44  src/share/man/man5/make.conf.5
Turn on the set-user-ID bit for k5su if ENABLE_SUID_K5SU is defined.

Approved by:	brian (re)
@
text
@d26 1
a26 3
.if defined(ENABLE_SUID_K5SU)
BINMODE=4555
.endif
@


1.1.2.6
log
@MFC: cross-release support.

Assorted fixes:

- Changed the way the `catpages' dist is built (all MD catpages
  were missing before).

- Perl manpages now end up in the `manpage' dist.

- Clean up the `dict' dist generation script.

- Diff reduction to -CURRENT.
@
text
@d14 2
a15 1
.if defined(MAKE_KERBEROS4)
@


