28b7f562fc
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)
22 lines
465 B
Makefile
22 lines
465 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= ksu
|
|
.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} \
|
|
-lasn1 -lcrypto -lcrypt -lcom_err
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${KRB5DIR}/appl/su
|