Applied execlp patch, as outlined in bug #17880, so that killing an un-owned process...
authorMike Gardiner <obz@gentoo.org>
Fri, 5 Nov 2004 03:44:44 +0000 (03:44 +0000)
committerMike Gardiner <obz@gentoo.org>
Fri, 5 Nov 2004 03:44:44 +0000 (03:44 +0000)
gnome-extra/gnome-system-monitor/ChangeLog
gnome-extra/gnome-system-monitor/Manifest
gnome-extra/gnome-system-monitor/files/digest-gnome-system-monitor-2.7.0-r1 [new file with mode: 0644]
gnome-extra/gnome-system-monitor/files/gnome-system-monitor-execlp.patch [new file with mode: 0644]
gnome-extra/gnome-system-monitor/gnome-system-monitor-2.7.0-r1.ebuild [new file with mode: 0644]

index a320127158be234bdc82ad8454fadf9350d32593..bc0bbb824f0226c5623f9421d029bfa44093b387 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for gnome-extra/gnome-system-monitor
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.46 2004/09/17 22:53:13 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/ChangeLog,v 1.47 2004/11/05 03:44:44 obz Exp $
+
+*gnome-system-monitor-2.7.0-r1 (05 Nov 2004)
+
+  05 Nov 2004; Mike Gardiner <obz@gentoo.org>
+  +files/gnome-system-monitor-execlp.patch,
+  +gnome-system-monitor-2.7.0-r1.ebuild:
+  Applied execlp patch, as outlined in bug #17880, so that killing an un-owned
+  process really works now.
 
 *gnome-system-monitor-2.7.0 (18 Sep 2004)
 
index 08603d4378f3d6000bca39eaf5ff26b3e0e46d4a..6188aa985b0c4d78f4fa55135dcf99dca0056502 100644 (file)
@@ -1,10 +1,13 @@
 MD5 104b833484dd1a2a0f56d12750188b6e gnome-system-monitor-2.7.0.ebuild 760
 MD5 0c299594f2298bc18c00d22305126735 gnome-system-monitor-2.4.0.ebuild 893
-MD5 f8949a797ba95d5bcba0e072e317d9fc ChangeLog 5828
+MD5 8efed74af1ea27716d693f0754347f44 gnome-system-monitor-2.7.0-r1.ebuild 905
+MD5 17d592dbc0269f9d813ed2899e5faa4c ChangeLog 6111
 MD5 de6e9fbc941d9b5fad86d7d17d335bba gnome-system-monitor-2.6.0.ebuild 758
 MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 a154a9f86e926ea00a0779b875cebc67 files/digest-gnome-system-monitor-2.7.0-r1 79
 MD5 19acc82cb5fc63387b37c71ddf4c09c6 files/gnome-system-monitor-2.0.5-fix-startup-crash.patch 616
 MD5 b39b1d001c6cfb36a860351aed50ddb3 files/gnome-system-monitor-devicesviewimprovements.patch 20935
+MD5 9948d4c847a49ac1a9db168f46c0d376 files/gnome-system-monitor-execlp.patch 365
 MD5 dd79207af7cf6082732128db4d74c083 files/digest-gnome-system-monitor-2.4.0 79
 MD5 944c4f8bbb9ce7f3a74df3f85d3dc4ac files/digest-gnome-system-monitor-2.6.0 79
 MD5 a154a9f86e926ea00a0779b875cebc67 files/digest-gnome-system-monitor-2.7.0 79
diff --git a/gnome-extra/gnome-system-monitor/files/digest-gnome-system-monitor-2.7.0-r1 b/gnome-extra/gnome-system-monitor/files/digest-gnome-system-monitor-2.7.0-r1
new file mode 100644 (file)
index 0000000..3007117
--- /dev/null
@@ -0,0 +1 @@
+MD5 e2e46c3ee26458a808d52071b7420413 gnome-system-monitor-2.7.0.tar.bz2 654517
diff --git a/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-execlp.patch b/gnome-extra/gnome-system-monitor/files/gnome-system-monitor-execlp.patch
new file mode 100644 (file)
index 0000000..9d2ed3f
--- /dev/null
@@ -0,0 +1,11 @@
+--- gnome-system-monitor-2.7.0/src/util.c      2004-07-19 20:20:08.000000000 +0800
++++ gnome-system-monitor-2.7.0-patched/src/util.c      2004-11-05 19:29:24.543517008 +0800
+@@ -270,7 +270,7 @@
+               freopen ("/dev/null", "w", stdout);
+ #endif
+ 
+-              execlp ("su", "su", "-m", user_p, "-c", exec_p, NULL);
++              execlp ("su", "-m", user_p, "-c", exec_p, NULL);
+               _exit (0);
+               
+       }
diff --git a/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.7.0-r1.ebuild b/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.7.0-r1.ebuild
new file mode 100644 (file)
index 0000000..a688608
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-system-monitor/gnome-system-monitor-2.7.0-r1.ebuild,v 1.1 2004/11/05 03:44:44 obz Exp $
+
+inherit gnome2 eutils
+
+DESCRIPTION="The Gnome System Monitor"
+HOMEPAGE="http://www.gnome.org/"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ia64 ~mips"
+IUSE=""
+
+RDEPEND=">=x11-libs/gtk+-2.3
+       >=gnome-base/libgnomeui-2
+       >=gnome-base/libgnome-2
+       >=gnome-base/gconf-2
+       >=gnome-base/libgtop-2.8
+       >=x11-libs/libwnck-2.5"
+
+DEPEND=">=dev-util/pkgconfig-0.12.0
+       >=app-text/scrollkeeper-0.3.11
+       >=dev-util/intltool-0.29
+       ${RDEPEND}"
+
+DOCS="AUTHORS ChangeLog COPYING HACKING README INSTALL NEWS TODO"
+
+src_unpack() {
+       unpack ${A}
+       # fix the "can't kill an un-owned process bug,
+       # see bug #17880
+       epatch ${FILESDIR}/${PN}-execlp.patch
+}
+