OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../util-linux/util-linux.conf
  5. # Copyright (C) 2008 - 2016 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. if [ $prefix_auto = 1 ] ; then
  15. prefix=
  16. set_confopt
  17. fi
  18. # no NLS for now.
  19. var_append extraconfopt ' ' "--disable-nls"
  20. # use su, login from shadow package if available
  21. # Note: the variants provided by util-linux require pam
  22. if pkginstalled shadow; then
  23. var_append extraconfopt ' ' "--disable-su"
  24. var_append extraconfopt ' ' "--disable-login"
  25. var_append extraconfopt ' ' "--disable-nologin"
  26. fi
  27. # use sulogin from sysvinit package if available
  28. if pkginstalled sysvinit; then
  29. var_append extraconfopt ' ' "--disable-sulogin"
  30. fi
  31. # leave python alone please
  32. if pkginstalled python; then
  33. var_append extraconfopt ' ' "--without-python"
  34. fi
  35. if ! atstage native; then
  36. var_append extraconfopt ' ' "--disable-makeinstall-chown --disable-makeinstall-setuid"
  37. fi