summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-gentoo.patch35
-rw-r--r--app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-update-guest-attrs.patch11
2 files changed, 0 insertions, 46 deletions
diff --git a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-gentoo.patch b/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-gentoo.patch
deleted file mode 100644
index ee9b86e91396..000000000000
--- a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-gentoo.patch
+++ /dev/null
@@ -1,35 +0,0 @@
---- usr/sbin/xe-linux-distribution.orig 2011-04-18 10:56:30.000000000 -0500
-+++ usr/sbin/xe-linux-distribution 2013-12-31 01:35:51.995831278 -0600
-@@ -249,6 +249,24 @@
- write_to_output "${distro}" "${major}" "${minor}" "${description}"
- }
-
-+identify_gentoo()
-+{
-+ gentoo_release="$1"
-+ if [ ! -e "${gentoo_release}" ] ; then
-+ return 1
-+ fi
-+ distro="gentoo"
-+ eval $(cat ${gentoo_release} | awk '{ print "release=" $5 }' )
-+ if [ -z "${release}" ] ; then
-+ return 1
-+ fi
-+ eval $(echo $release | awk -F. -- '{ print "major=" $1 ; print "minor=" $2 }' )
-+ if [ -z "${major}" -o -z "$minor" ] ; then
-+ return 1
-+ fi
-+ write_to_output "${distro}" "${major}" "${minor}" "${distro}"
-+}
-+
- if [ $# -eq 1 ] ; then
- exec 1>"$1"
- fi
-@@ -258,6 +276,7 @@
- identify_sles /etc/SuSE-release && exit 0
- identify_lsb lsb_release && exit 0
- identify_debian /etc/debian_version && exit 0
-+ identify_gentoo /etc/gentoo-release && exit 0
-
- if [ $# -eq 1 ] ; then
- rm -f "$1"
diff --git a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-update-guest-attrs.patch b/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-update-guest-attrs.patch
deleted file mode 100644
index c60994effa65..000000000000
--- a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-5.6.100_p651-update-guest-attrs.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- usr/sbin/xe-update-guest-attrs.orig 2011-04-18 10:56:30.000000000 -0500
-+++ usr/sbin/xe-update-guest-attrs 2013-12-31 04:34:57.750083257 -0600
-@@ -172,7 +172,7 @@
- # collisions:0 txqueuelen:0
- # RX bytes:3604609 (3.4 MiB) TX bytes:3604609 (3.4 MiB)
-
--eval $(/sbin/ifconfig | \
-+eval $(/bin/ifconfig | \
- sed -n -e '/^[0-9a-z][0-9a-z]*\:/,/^$/d' \
- -e 's/^\([0-9a-z][0-9a-z]*\) .*/ifs="\$ifs \1"; current="\1"; /gp;' \
- -e 's/ *inet addr:\('$IPADDR_RE'\) .*/eval inet_\${current}="\1"; /gp;')