head	1.8;
access;
symbols
	RELENG_4_11_0_RELEASE:1.1.2.6
	RELENG_4_11:1.1.2.6.0.10
	RELENG_4_11_BP:1.1.2.6
	RELENG_4_10_0_RELEASE:1.1.2.6
	RELENG_4_10:1.1.2.6.0.8
	RELENG_4_10_BP:1.1.2.6
	RELENG_4_9_0_RELEASE:1.1.2.6
	RELENG_4_9:1.1.2.6.0.6
	RELENG_4_9_BP:1.1.2.6
	RELENG_4_8_0_RELEASE:1.1.2.6
	RELENG_4_8:1.1.2.6.0.4
	RELENG_4_8_BP:1.1.2.6
	RELENG_5_0_0_RELEASE:1.7
	RELENG_5_0:1.7.0.2
	RELENG_5_0_BP:1.7
	RELENG_4_7_0_RELEASE:1.1.2.6
	RELENG_4_7:1.1.2.6.0.2
	RELENG_4_7_BP:1.1.2.6
	RELENG_4_6_2_RELEASE:1.1.2.5
	RELENG_4_6_1_RELEASE:1.1.2.5
	RELENG_4_6_0_RELEASE:1.1.2.5
	RELENG_4_6:1.1.2.5.0.2
	RELENG_4_6_BP:1.1.2.5
	RELENG_4_5_0_RELEASE:1.1.2.2
	RELENG_4_5:1.1.2.2.0.4
	RELENG_4_5_BP:1.1.2.2
	RELENG_4_4_0_RELEASE:1.1.2.2
	RELENG_4_4:1.1.2.2.0.2
	RELENG_4_4_BP:1.1.2.2
	RELENG_4_3_0_RELEASE:1.1.2.1
	RELENG_4_3:1.1.2.1.0.2
	RELENG_4_3_BP:1.1.2.1
	RELENG_4:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2003.03.09.21.56.54;	author markm;	state dead;
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.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.7;

1.1.2.7
date	2005.05.04.16.51.57;	author peter;	state Exp;
branches;
next	1.1.2.8;

1.1.2.8
date	2005.07.11.13.22.13;	author kensmith;	state Exp;
branches;
next	1.1.2.9;

1.1.2.9
date	2012.11.17.07.23.14;	author svnexp;	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.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
@# $FreeBSD: src/kerberos5/usr.bin/k5su/Makefile,v 1.7 2002/08/04 22:23:48 fjoe Exp $

PROG=		k5su
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
.if defined(MAKE_KERBEROS4)
_krb4libs=	-L${KAFS5OBJDIR} -lkafs -lkrb -lkafs5
_krb4deps=	${LIBKAFS5} ${LIBKRB} ${LIBKAFS}
.endif
LDADD=		-L${KRB5OBJDIR} -lkrb5 \
		-L${ROKENOBJDIR} -lroken \
		-L${VERSOBJDIR} -lvers \
		${_krb4libs} \
		-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err
DPADD=		${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
.if defined(ENABLE_SUID_K5SU)
BINMODE=4555
.endif
INSTALLFLAGS=-fschg

.include <bsd.prog.mk>

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


1.7
log
@Kerberos 5 no longer needs -lmd

Approved by:	nectar
@
text
@d1 1
a1 1
# $FreeBSD$
@


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)
@


1.1.2.7
log
@Check in the freebsd.org cluster modifications to make k5su actually
usable.  In particular:
* disable unix password authentication (ie: do kerberos only)
* install k5su setuid by default
* allow instances for things like ksu to the www account instead
of only doing this for root.
This stuff is only enabled by make.conf switches.
@
text
@d25 1
a25 1
.if defined(ENABLE_SUID_K5SU) || defined(_FREEFALL_CONFIG)
d27 1
a28 1
.endif
@


1.1.2.8
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
@a28 3
.if defined(_FREEFALL_CONFIG)
CFLAGS+=-D_FREEFALL_CONFIG
.endif
@


1.1.2.9
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/kerberos5/usr.bin/k5su/Makefile 147928 2005-07-11 13:22:13Z kensmith $
@


