diff options
author | Ken Smith <kensmith@FreeBSD.org> | 2005-07-07 14:16:38 +0000 |
---|---|---|
committer | Ken Smith <kensmith@FreeBSD.org> | 2005-07-07 14:16:38 +0000 |
commit | 2672e71736bc2f7d0e5d289320b486b646710342 (patch) | |
tree | 710b8b002dddd551dd4f24a9841dfdb5fa2d4ee6 /kerberos5 | |
parent | 8b3676f1a1a155a58e6ee111cd0b0125ac7d7303 (diff) | |
download | src-2672e71736bc2f7d0e5d289320b486b646710342.tar.gz src-2672e71736bc2f7d0e5d289320b486b646710342.zip |
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)
Notes
Notes:
svn path=/head/; revision=147810
Diffstat (limited to 'kerberos5')
-rw-r--r-- | kerberos5/usr.bin/ksu/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kerberos5/usr.bin/ksu/Makefile b/kerberos5/usr.bin/ksu/Makefile index cca520e4e3c6..1e095ec29020 100644 --- a/kerberos5/usr.bin/ksu/Makefile +++ b/kerberos5/usr.bin/ksu/Makefile @@ -1,13 +1,16 @@ # $FreeBSD$ PROG= ksu -.if defined(ENABLE_SUID_K5SU) +.if defined(ENABLE_SUID_K5SU) || defined(_FREEFALL_CONFIG) BINMODE=4555 PRECIOUSPROG= .endif NO_MAN= SRCS= su.c CFLAGS+=-I${KRB5DIR}/lib/roken +.if defined(_FREEFALL_CONFIG) +CFLAGS+=-D_FREEFALL_CONFIG +.endif DPADD= ${LIBKAFS5} ${LIBKRB5} ${LIBROKEN} ${LIBVERS} \ ${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} LDADD= -lkafs5 -lkrb5 -lroken ${LIBVERS} \ |