From 4e80bdd6d7382c28af208734cfefa2fe92e5e7b1 Mon Sep 17 00:00:00 2001 From: "Juergen \"George\" Sawinski" Date: Sat, 3 Jul 2004 10:20:47 +0000 Subject: [PATCH] Juergen Sawinski: -fix outside-basedir inst of /sbin/ether-wake (the lfs patch uses BASE_DIR not BASEDIR :( [2004070123515905990] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3509 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/net-tools/net-tools.conf | 2 +- package/base/net-tools/typo-basedir.patch | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 package/base/net-tools/typo-basedir.patch diff --git a/package/base/net-tools/net-tools.conf b/package/base/net-tools/net-tools.conf index 2009d804e..99ee51233 100644 --- a/package/base/net-tools/net-tools.conf +++ b/package/base/net-tools/net-tools.conf @@ -32,5 +32,5 @@ makeinstopt="BASEDIR=$root install" # add the wake-on-lan patch p="`echo $desc_D | sed 's/.* \(.*\.patch.*\) .*/\1/'`" -[ "$p" ] && var_append patchfiles " " "$archdir/$p" +[ "$p" ] && var_insert patchfiles " " "$archdir/$p" diff --git a/package/base/net-tools/typo-basedir.patch b/package/base/net-tools/typo-basedir.patch new file mode 100644 index 000000000..59db4c776 --- /dev/null +++ b/package/base/net-tools/typo-basedir.patch @@ -0,0 +1,11 @@ +--- net-tools-1.60/Makefile~ 2004-06-29 14:03:00.252927896 +0200 ++++ net-tools-1.60/Makefile 2004-06-29 14:03:13.149967248 +0200 +@@ -235,7 +235,7 @@ + install -m 0755 rarp ${BASEDIR}/sbin + install -m 0755 route ${BASEDIR}/sbin + install -m 0755 slattach $(BASEDIR)/sbin +- install -m 0755 ether-wake $(BASE_DIR)/sbin ++ install -m 0755 ether-wake $(BASEDIR)/sbin + ifeq ($(HAVE_IP_TOOLS),1) + install -m 0755 ipmaddr $(BASEDIR)/sbin + install -m 0755 iptunnel $(BASEDIR)/sbin