summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-11-02 03:48:23 +0000
committerChris Larson <clarson@kergoth.com>2003-11-02 03:48:23 +0000
commit03ac9e1b96c29cd1a6dcec5ce6a6b66977376080 (patch)
treefb1737c92eeebe9330ad4ca7cb84362197de28fd
parentbf9b33d347fa65b214cc0fe97ba2c328de2a1c06 (diff)
Fix the sudo non-root do_install.
BKrev: 3fa47e87tmH9RPKIPgVGt0l_1LYXzw
-rw-r--r--sudo/sudo-1.6.7p5/nonrootinstall.patch0
-rw-r--r--sudo/sudo_1.6.7p5.oe14
2 files changed, 14 insertions, 0 deletions
diff --git a/sudo/sudo-1.6.7p5/nonrootinstall.patch b/sudo/sudo-1.6.7p5/nonrootinstall.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/sudo/sudo-1.6.7p5/nonrootinstall.patch
diff --git a/sudo/sudo_1.6.7p5.oe b/sudo/sudo_1.6.7p5.oe
index e69de29bb2..6d1f9cbabc 100644
--- a/sudo/sudo_1.6.7p5.oe
+++ b/sudo/sudo_1.6.7p5.oe
@@ -0,0 +1,14 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ftp://ftp.sudo.ws/pub/sudo/sudo-${PV}.tar.gz \
+ file://${FILESDIR}/configure.patch;patch=1 \
+ file://${FILESDIR}/nonrootinstall.patch;patch=1
+
+inherit autotools
+
+do_configure_prepend () {
+ if [ ! -e acinclude.m4 ]; then
+ cat aclocal.m4 > acinclude.m4
+ fi
+}