# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../libcap/libcap.conf # Copyright (C) 2011 - 2013 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # # 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 --- var_append makeinstopt " " "LIBDIR=$root/$libdir" hook_add postdoc 5 "rm -rvf $root$docdir/old; cp -v `match_source_file -p capfaq` $root$docdir/" # When installing setcap, set its inheritable bit to be able to place # capabilities on files. It can be used in conjunction with pam_cap # (associated with su and certain users say) to make it useful for # specially blessed users. If you wish to drop this install feature, # use this command when running install # # make RAISE_SETFCAP=no install # var_append makeinstopt " " "RAISE_SETFCAP=no" # check if we can build the pam module which can be used to enforce inheritable # capability sets for a specified user if ! pkginstalled -f pam; then var_append makeopt ' ' "PAM_CAP=no" var_append makeinstopt ' ' "PAM_CAP=no" fi