r50 - in unstable/rutilt/debian: . patches

benh at alioth.debian.org benh at alioth.debian.org
Mon Oct 8 00:29:21 UTC 2007


Author: benh
Date: 2007-10-08 00:29:21 +0000 (Mon, 08 Oct 2007)
New Revision: 50

Added:
   unstable/rutilt/debian/patches/015_use_su-to-root.diff
Modified:
   unstable/rutilt/debian/control
   unstable/rutilt/debian/patches/series
Log:
Replaced use of gksu | kdesu with su-to-root from the menu package.


Modified: unstable/rutilt/debian/control
===================================================================
--- unstable/rutilt/debian/control	2007-10-08 00:05:01 UTC (rev 49)
+++ unstable/rutilt/debian/control	2007-10-08 00:29:21 UTC (rev 50)
@@ -11,7 +11,7 @@
 
 Package: rutilt
 Architecture: any
-Depends: ${shlibs:Depends}, gksu | kdebase-bin
+Depends: ${shlibs:Depends}, menu
 Recommends: procps, dhcp3-client
 Description: Configuration tool for rt2x00 wireless network cards
  RutilT is a Gtk+2 utility for Linux that helps you configure your wireless

Added: unstable/rutilt/debian/patches/015_use_su-to-root.diff
===================================================================
--- unstable/rutilt/debian/patches/015_use_su-to-root.diff	                        (rev 0)
+++ unstable/rutilt/debian/patches/015_use_su-to-root.diff	2007-10-08 00:29:21 UTC (rev 50)
@@ -0,0 +1,17 @@
+--- rutilt.orig/configure.sh
++++ rutilt/configure.sh
+@@ -295,12 +295,7 @@
+ # within this script too to apply different policy for each user. 
+ # This script is not executed with root privileges.
+ #
+-if which gksu > /dev/null; then
+-    exec gksu \"$prefix/$helper_prefix$helper_name \$1\"
+-elif which kdesu > /dev/null; then
+-    exec kdesu \"$prefix/$helper_prefix$helper_name \$1\"
+-else
+-    echo "$helper_launcher_name : Cannot find a launcher."
+-fi" > $helper_launcher_name
++exec su-to-root -X -c \"$prefix/$helper_prefix$helper_name \$1\"" \
++> $helper_launcher_name
+     echo done
+ fi

Modified: unstable/rutilt/debian/patches/series
===================================================================
--- unstable/rutilt/debian/patches/series	2007-10-08 00:05:01 UTC (rev 49)
+++ unstable/rutilt/debian/patches/series	2007-10-08 00:29:21 UTC (rev 50)
@@ -11,3 +11,4 @@
 003_fix_ELF_location.diff
 013_fix_install_failure.diff
 014_make_dialogs_transient.diff
+015_use_su-to-root.diff




More information about the Pkg-ralink-commits mailing list