HomeFreeBSD

sysutils/gksu and sysutils/libgksu: Fix gksudo not running command

Description

sysutils/gksu and sysutils/libgksu: Fix gksudo not running command

This fixes an issue where gksudo would successfully authenticate
the user, but fail to run the requested command. This was caused by
gksudo forking a new PTY, meaning that different TTY was used for the
"sudo -v" command and subsequent "sudo -n ..." command. Whilst this used
to work, newer versions of sudo used per TTY authentication caching.
Patch taken from Arch Linux: https://aur.archlinux.org/packages/libgksu/

Also fixed:

  • Made Nautilus plugin optional, so gksu can be installed without GNOME
  • Added license details, pet portlint
  • Tidied patches: move path fixes into port Makefile

Details

Provenance
woodsb02Authored on
Parents
rP473671: MFH: r473670
Branches
Unknown
Tags
Unknown