mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Conditionalize building radius support into libpam, ppp, etc via
MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
79fe80ef10
commit
31a741f473
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278182
@ -1634,7 +1634,7 @@ _prebuild_libs= ${_kerberos5_lib_libasn1} \
|
||||
${_lib_libcapsicum} \
|
||||
lib/ncurses/ncurses lib/ncurses/ncursesw \
|
||||
lib/libopie lib/libpam ${_lib_libthr} \
|
||||
lib/libradius lib/libsbuf lib/libtacplus \
|
||||
${_lib_libradius} lib/libsbuf lib/libtacplus \
|
||||
lib/libgeom \
|
||||
${_cddl_lib_libumem} ${_cddl_lib_libnvpair} \
|
||||
${_cddl_lib_libuutil} \
|
||||
@ -1657,6 +1657,10 @@ lib/libgeom__L: lib/libexpat__L
|
||||
_lib_libthr= lib/libthr
|
||||
.endif
|
||||
|
||||
.if ${MK_RADIUS_SUPPORT} != "no"
|
||||
_lib_libradius= lib/libradius
|
||||
.endif
|
||||
|
||||
.if ${MK_OFED} != "no"
|
||||
_ofed_lib= contrib/ofed/usr.lib/
|
||||
.endif
|
||||
|
@ -82,7 +82,7 @@ SUBDIR= ${SUBDIR_ORDERED} \
|
||||
${_libpmc} \
|
||||
${_libproc} \
|
||||
libprocstat \
|
||||
libradius \
|
||||
${_libradius} \
|
||||
librpcsvc \
|
||||
librt \
|
||||
${_librtld_db} \
|
||||
@ -142,7 +142,7 @@ SUBDIR_DEPEND_liblibrpcsec_gss= libgssapi
|
||||
SUBDIR_DEPEND_libmagic= libz
|
||||
SUBDIR_DEPEND_libmemstat= libkvm
|
||||
SUBDIR_DEPEND_libopie= libmd
|
||||
SUBDIR_DEPEND_libpam= libcrypt libopie libradius librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err}
|
||||
SUBDIR_DEPEND_libpam= libcrypt libopie ${_libradius} librpcsvc libtacplus libutil ${_libypclnt} ${_libcom_err}
|
||||
SUBDIR_DEPEND_libpjdlog= libutil
|
||||
SUBDIR_DEPEND_libprocstat= libkvm libutil
|
||||
SUBDIR_DEPEND_libradius= libmd
|
||||
@ -286,6 +286,10 @@ _libmp= libmp
|
||||
_libpmc= libpmc
|
||||
.endif
|
||||
|
||||
.if ${MK_RADIUS_SUPPORT} != "no"
|
||||
_libradius= libradius
|
||||
.endif
|
||||
|
||||
.if ${MK_SENDMAIL} != "no"
|
||||
_libmilter= libmilter
|
||||
_libsm= libsm
|
||||
|
@ -21,7 +21,9 @@ MODULES += pam_opie
|
||||
MODULES += pam_opieaccess
|
||||
MODULES += pam_passwdqc
|
||||
MODULES += pam_permit
|
||||
.if ${MK_RADIUS_SUPPORT} != "no"
|
||||
MODULES += pam_radius
|
||||
.endif
|
||||
MODULES += pam_rhosts
|
||||
MODULES += pam_rootok
|
||||
MODULES += pam_securetty
|
||||
|
@ -135,6 +135,7 @@ __DEFAULT_YES_OPTIONS = \
|
||||
PORTSNAP \
|
||||
PPP \
|
||||
QUOTAS \
|
||||
RADIUS_SUPPORT \
|
||||
RCMDS \
|
||||
RCS \
|
||||
RESCUE \
|
||||
|
5
tools/build/options/WITHOUT_RADIUS_SUPPORT
Normal file
5
tools/build/options/WITHOUT_RADIUS_SUPPORT
Normal file
@ -0,0 +1,5 @@
|
||||
.\" $FreeBSD$
|
||||
Set to not build radius support into various applications, like
|
||||
.Xr pam_radius 8
|
||||
and
|
||||
.Xr ppp 8 .
|
@ -31,6 +31,9 @@ PPP_NO_NETGRAPH=
|
||||
.if ${MK_PAM_SUPPORT} == "no"
|
||||
PPP_NO_PAM=
|
||||
.endif
|
||||
.if ${MK_RADIUS_SUPPORT} == "no"
|
||||
PPP_NO_RADIUS=
|
||||
.endif
|
||||
|
||||
.if defined(PPP_NO_SUID)
|
||||
BINMODE=554
|
||||
|
Loading…
Reference in New Issue
Block a user