Enable bsm audit on Mac OS X and Solaris >= 11.
This commit is contained in:
13
mkpkg
13
mkpkg
@@ -239,6 +239,7 @@ case "$osversion" in
|
|||||||
export LDFLAGS="$ARCH_FLAGS $SDK_FLAGS"
|
export LDFLAGS="$ARCH_FLAGS $SDK_FLAGS"
|
||||||
# Note, must indent with tabs, not spaces due to IFS trickery
|
# Note, must indent with tabs, not spaces due to IFS trickery
|
||||||
configure_opts="--with-pam
|
configure_opts="--with-pam
|
||||||
|
--with-bsm-audit
|
||||||
--without-tty-tickets
|
--without-tty-tickets
|
||||||
--enable-zlib=system
|
--enable-zlib=system
|
||||||
--with-ldap
|
--with-ldap
|
||||||
@@ -275,8 +276,16 @@ case "$osversion" in
|
|||||||
# For Solaris, add project support and use let configure choose zlib.
|
# For Solaris, add project support and use let configure choose zlib.
|
||||||
# For all others, use the builtin zlib and disable NLS support.
|
# For all others, use the builtin zlib and disable NLS support.
|
||||||
case "$osversion" in
|
case "$osversion" in
|
||||||
sol*) configure_opts="${configure_opts}${configure_opts+$tab}--with-project";;
|
sol*)
|
||||||
*) configure_opts="${configure_opts}${configure_opts+$tab}--enable-zlib=builtin${tab}--disable-nls";;
|
configure_opts="${configure_opts}${configure_opts+$tab}--with-project"
|
||||||
|
|
||||||
|
if [ $osrelease -ge 11 ]; then
|
||||||
|
configure_opts="${configure_opts}${configure_opts+$tab}--with-bsm-audit"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
configure_opts="${configure_opts}${configure_opts+$tab}--enable-zlib=builtin${tab}--disable-nls"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
if test "$flavor" = "ldap"; then
|
if test "$flavor" = "ldap"; then
|
||||||
configure_opts="${configure_opts}${configure_opts+$tab}--with-ldap"
|
configure_opts="${configure_opts}${configure_opts+$tab}--with-ldap"
|
||||||
|
Reference in New Issue
Block a user