# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../util-linux/util-linux.conf # Copyright (C) 2008 - 2016 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- if [ $prefix_auto = 1 ] ; then prefix= set_confopt fi # no NLS for now. var_append extraconfopt ' ' "--disable-nls" # use su, login from shadow package if available # Note: the variants provided by util-linux require pam if pkginstalled shadow; then var_append extraconfopt ' ' "--disable-su" var_append extraconfopt ' ' "--disable-login" var_append extraconfopt ' ' "--disable-nologin" fi # use sulogin from sysvinit package if available if pkginstalled sysvinit; then var_append extraconfopt ' ' "--disable-sulogin" fi # leave python alone please if pkginstalled python; then var_append extraconfopt ' ' "--without-python" fi if ! atstage native; then var_append extraconfopt ' ' "--disable-makeinstall-chown --disable-makeinstall-setuid" fi