mirror of
https://github.com/rxrbln/t2sde.git
synced 2025-05-08 20:21:59 +08:00
16 lines
632 B
Plaintext
16 lines
632 B
Plaintext
# --- T2-COPYRIGHT-BEGIN ---
|
|
# t2/package/*/sudo/sudo.conf
|
|
# Copyright (C) 2004 - 2025 The T2 SDE Project
|
|
# Copyright (C) 1998 - 2003 ROCK Linux Project
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
# --- T2-COPYRIGHT-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 confopt ' ' '--with-pam'
|
|
pkginstalled pam || var_append confopt ' ' '--disable-pam-session'
|
|
pkginstalled pam || hook_add premake 3 'sed -i -e "s/-lpam//" Makefile'
|