Browse Source

libgksu: add revert forkpty patch

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4221 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 12 years ago
parent
commit
c44cb5b0d4
1 changed files with 9 additions and 1 deletions
  1. 9 1
      lib/libg/libgksu/libgksu-vl.spec

+ 9 - 1
lib/libg/libgksu/libgksu-vl.spec

@@ -2,7 +2,7 @@ Summary: GKSu libraries
 SUmmary(ja): GKSu ライブラリ
 Name: libgksu
 Version: 2.0.12
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 Url: http://www.nongnu.org/gksu/
 Group: System Environment/Libraries
 License: GPL
@@ -27,6 +27,7 @@ Patch18: libgksu-2.0.9-g_markup_escape_text_for_command.patch
 Patch20: libgksu-2.0.9-better_usleep.patch
 Patch21: libgksu-2.0.9-composited_rgba_addition.patch
 Patch22: libgksu-2.0.9-sudo_keep_env.patch
+Patch30:  libgksu-2.0.12-revert-forkpty.patch
 
 Patch100: libgksu-2.0.12-default-sudo_mode.patch
 
@@ -90,6 +91,7 @@ that need to ask a user's password to run another program as another user.
 %patch20 -p1 -b .better_usleep
 %patch21 -p1 -b .composited_rgba_addition
 %patch22 -p1 -b .sudo_keep_env
+%patch30 -p1 -b .revert_forkpty
 
 %patch100 -p1 -b .default-sudo_mode
 
@@ -163,6 +165,12 @@ fi
 %{_mandir}/man1/gksu-properties.1*
 
 %changelog
+* Wed Jun 22 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-2
+- add patch30 from ubuntu
+  + revert the upstream change to run sudo in a forkpty() 
+    environment, this is incompatible with our default sudo 
+    tty_tickets configuration 
+
 * Tue Jun 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.12-1
 - update to 2.0.12
 - add patch100 to enable sudo_mode by default.