Browse Source

* added patch for sudo, to allow xfsm-shutdown-helper if xfce4-session

legacy/multilib
Alejandro Mery 19 years ago
parent
commit
269773df13
2 changed files with 38 additions and 0 deletions
  1. +18
    -0
      pkg_conf/sudo.conf
  2. +20
    -0
      pkg_diff/sudo_xfsm.diff

+ 18
- 0
pkg_conf/sudo.conf

@ -0,0 +1,18 @@
#!/bin/sh
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/mnemosyne/pkg_conf/sudo.conf
# Copyright (C) 2004 - 2005 The T2 SDE Project
#
# 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.
# --- T2-COPYRIGHT-NOTE-END ---
if pkginstalled xfce4-session; then
var_append patchfiles ' ' $mnemosynedir/pkg_diff/sudo_xfsm.diff
fi

+ 20
- 0
pkg_diff/sudo_xfsm.diff

@ -0,0 +1,20 @@
# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# T2 SDE: target/mnemosyne/pkg_diff/sudo_xfsm.diff
# Copyright (C) 2004 - 2005 The T2 SDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---
--- ./sudoers.orig 2005-11-27 02:53:27.000000000 -0300
+++ ./sudoers 2005-11-27 02:58:52.000000000 -0300
@@ -29,0 +30 @@
+%users ALL=(root) NOPASSWD: /opt/xfce4/libexec/xfsm-shutdown-helper

Loading…
Cancel
Save