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.

35 lines
1.4 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../libcap/libcap.conf
  5. # Copyright (C) 2011 - 2013 The OpenSDE Project
  6. # Copyright (C) 2004 - 2006 The T2 SDE Project
  7. # Copyright (C) 1998 - 2004 Clifford Wolf
  8. #
  9. # More information can be found in the files COPYING and README.
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; version 2 of the License. A copy of the
  14. # GNU General Public License can be found in the file COPYING.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. var_append makeinstopt " " "LIBDIR=$root/$libdir"
  17. hook_add postdoc 5 "rm -rvf $root$docdir/old; cp -v `match_source_file -p capfaq` $root$docdir/"
  18. # When installing setcap, set its inheritable bit to be able to place
  19. # capabilities on files. It can be used in conjunction with pam_cap
  20. # (associated with su and certain users say) to make it useful for
  21. # specially blessed users. If you wish to drop this install feature,
  22. # use this command when running install
  23. #
  24. # make RAISE_SETFCAP=no install
  25. #
  26. var_append makeinstopt " " "RAISE_SETFCAP=no"
  27. # check if we can build the pam module which can be used to enforce inheritable
  28. # capability sets for a specified user
  29. if ! pkginstalled -f pam; then
  30. var_append makeopt ' ' "PAM_CAP=no"
  31. var_append makeinstopt ' ' "PAM_CAP=no"
  32. fi