# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/sudo/sudo.conf # Copyright (C) 2004 - 2024 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # 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 version 2. # --- T2-COPYRIGHT-NOTE-END --- passprompt='[sudo] password for %p: ' var_append confopt ' ' "'--with-passprompt=\"\$passprompt\"'" var_append confopt ' ' '--enable-log-host --with-tty-tickets' var_append confopt ' ' "--runstatedir=$localstatedir/run" pkginstalled pam && var_append extraconfopt ' ' '--with-pam' pkginstalled pam || var_append extraconfopt ' ' '--disable-pam-session' pkginstalled pam || hook_add premake 3 'sed -i -e "s/-lpam//" Makefile'