svn commit: r360102 - in head: libexec/rc/rc.d share/mk tools/build/mk

Conrad Meyer cem at freebsd.org
Sun Apr 19 19:16:48 UTC 2020


Hm, some of us just want kerberos to be completed excised.  This
change makes WITHOUT_KERBEROS retain portions of kerberos?  That seems
unfortunate.

On Sun, Apr 19, 2020 at 10:01 AM Cy Schubert <cy at freebsd.org> wrote:
>
> Author: cy
> Date: Sun Apr 19 17:01:21 2020
> New Revision: 360102
> URL: https://svnweb.freebsd.org/changeset/base/360102
>
> Log:
>   Conditionally install Kerberos rc files based on MK_KERBEROS_SCRIPTS
>   instead of MK_KERBEROS. The reason for this change is some users
>   prefer to build FreeBSD WITHOUT_KERBEROS, wanting to retain the
>   Kerberos rc scripts to start/stop MIT Kerberos or Heimdal from ports.
>
>   PR:           197337
>   Reported by:  Adam McDougall <ebay at looksharp.net>
>   Reviewed by:  imp
>   Differential Revision:        https://reviews.freebsd.org/D24252
>
> Modified:
>   head/libexec/rc/rc.d/Makefile
>   head/share/mk/bsd.opts.mk
>   head/share/mk/src.opts.mk
>   head/tools/build/mk/OptionalObsoleteFiles.inc
>
> Modified: head/libexec/rc/rc.d/Makefile
> ==============================================================================
> --- head/libexec/rc/rc.d/Makefile       Sun Apr 19 17:01:17 2020        (r360101)
> +++ head/libexec/rc/rc.d/Makefile       Sun Apr 19 17:01:21 2020        (r360102)
> @@ -242,14 +242,17 @@ CONFS+=           lpd
>  .if ${MK_KERBEROS} != "no"
>  CONFS+=                ipropd_master
>  CONFS+=                ipropd_slave
> -_kadmind=      kadmind
> -_kdc=          kdc
> -_kfd=          kfd
> -_kpasswdd=     kpasswdd
>
>  DIRS+= VAR_HEMIDAL
>  VAR_HEMIDAL=   /var/heimdal
>  VAR_HEMIDAL_MODE=      700
> +.endif
> +
> +.if ${MK_KERBEROS_SCRIPTS} != "no"
> +_kadmind=      kadmind
> +_kdc=          kdc
> +_kfd=          kfd
> +_kpasswdd=     kpasswdd
>  .endif
>
>  .if ${MK_MAIL} != "no"
>
> Modified: head/share/mk/bsd.opts.mk
> ==============================================================================
> --- head/share/mk/bsd.opts.mk   Sun Apr 19 17:01:17 2020        (r360101)
> +++ head/share/mk/bsd.opts.mk   Sun Apr 19 17:01:21 2020        (r360102)
> @@ -55,6 +55,7 @@ __DEFAULT_YES_OPTIONS = \
>      INCLUDES \
>      INSTALLLIB \
>      KERBEROS \
> +    KERBEROS_SCRIPTS \
>      MAKE_CHECK_USE_SANDBOX \
>      MAN \
>      MANCOMPRESS \
>
> Modified: head/share/mk/src.opts.mk
> ==============================================================================
> --- head/share/mk/src.opts.mk   Sun Apr 19 17:01:17 2020        (r360101)
> +++ head/share/mk/src.opts.mk   Sun Apr 19 17:01:21 2020        (r360102)
> @@ -237,6 +237,7 @@ __DEFAULT_DEPENDENT_OPTIONS= \
>      INET \
>      INET6 \
>      KERBEROS \
> +    KERBEROS_SCRIPTS \
>      KVM \
>      NETGRAPH \
>      PAM \
>
> Modified: head/tools/build/mk/OptionalObsoleteFiles.inc
> ==============================================================================
> --- head/tools/build/mk/OptionalObsoleteFiles.inc       Sun Apr 19 17:01:17 2020        (r360101)
> +++ head/tools/build/mk/OptionalObsoleteFiles.inc       Sun Apr 19 17:01:21 2020        (r360102)
> @@ -3152,13 +3152,9 @@ OLD_FILES+=usr/libexec/hprop
>  OLD_FILES+=usr/libexec/hpropd
>  OLD_FILES+=usr/libexec/ipropd-master
>  OLD_FILES+=usr/libexec/ipropd-slave
> -OLD_FILES+=usr/libexec/kadmind
>  OLD_FILES+=usr/libexec/kcm
> -OLD_FILES+=usr/libexec/kdc
>  OLD_FILES+=usr/libexec/kdigest
> -OLD_FILES+=usr/libexec/kfd
>  OLD_FILES+=usr/libexec/kimpersonate
> -OLD_FILES+=usr/libexec/kpasswdd
>  OLD_FILES+=usr/sbin/kstash
>  OLD_FILES+=usr/sbin/ktutil
>  OLD_FILES+=usr/sbin/iprop-log
> @@ -3878,6 +3874,13 @@ OLD_FILES+=usr/share/man/man8/pam_krb5.8.gz
>  OLD_FILES+=usr/share/man/man8/pam_ksu.8.gz
>  OLD_FILES+=usr/share/man/man8/string2key.8.gz
>  OLD_FILES+=usr/share/man/man8/verify_krb5_conf.8.gz
> +.endif
> +
> +.if ${MK_KERBEROS_SCRIPTS} == no
> +OLD_FILES+=usr/libexec/kadmind
> +OLD_FILES+=usr/libexec/kdc
> +OLD_FILES+=usr/libexec/kfd
> +OLD_FILES+=usr/libexec/kpasswdd
>  .endif
>
>  .if ${MK_KERBEROS_SUPPORT} == no


More information about the svn-src-head mailing list