diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /app-emulation/xe-guest-utilities | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'app-emulation/xe-guest-utilities')
6 files changed, 0 insertions, 324 deletions
diff --git a/app-emulation/xe-guest-utilities/Manifest b/app-emulation/xe-guest-utilities/Manifest deleted file mode 100644 index 46d04c29c53a..000000000000 --- a/app-emulation/xe-guest-utilities/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xe-guest-utilities-6.2.0-1120.src.rpm 566881 BLAKE2B b2c727c551996f218c021d509ba1841baa07c70cbaf7660c0ec9cbeae696c4e77921d8ca12e8dfdf934a6894058c62ee6bf4e86bd1918e304cc76ee28d396fad SHA512 b945b3bf8175816b41b3a07a7dd8f0d9d2fdb1a7144448a5bb7fb4b6729736c67cea88fd45031df41abdd99416addb17fa1ee9cfe1fc76acf610cde3b3213880 diff --git a/app-emulation/xe-guest-utilities/files/xe-daemon.initd b/app-emulation/xe-guest-utilities/files/xe-daemon.initd deleted file mode 100644 index d2c6e51fb5bf..000000000000 --- a/app-emulation/xe-guest-utilities/files/xe-daemon.initd +++ /dev/null @@ -1,27 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need localmount - after bootmisc -} - -start() { - einfo "Detecting Linux distribution version" - /usr/sbin/xe-linux-distribution /var/cache/xe-linux-distribution - - ebegin "Starting xe daemon" - start-stop-daemon --start --exec /usr/sbin/xe-daemon \ - --pidfile /var/run/xe-daemon.pid \ - --background \ - -- -p /var/run/xe-daemon.pid - eend $? -} - -stop() { - ebegin "Stopping xe daemon" - start-stop-daemon --stop --exec /usr/sbin/xe-daemon \ - --pidfile /var/run/xe-daemon.pid - eend $? -} diff --git a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch b/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch deleted file mode 100644 index 29c8ebc91074..000000000000 --- a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Guest-Attributes.patch +++ /dev/null @@ -1,127 +0,0 @@ ---- a/xe-update-guest-attrs -+++ b/xe-update-guest-attrs -@@ -1,6 +1,7 @@ - #!/bin/sh - - # Copyright (C) 2009 Citrix Systems Inc. -+# Copyright (C) 2014 Christopher J. Camisa - # - # This program is free software; you can redistribute it and/or - # modify it under the terms of the GNU General Public License -@@ -51,10 +52,10 @@ - - # parse command line opts - --MEMORY_MODE=0 # do not update memory stats --while [ $# -ge 1 ] ; do -+MEMORY_MODE=0 # do not update memory stats -+while [ $# -ge 1 ] ; do - if [ "$1" = "--memory" ] ; then -- MEMORY_MODE=1 # update only memory stats -+ MEMORY_MODE=1 # update only memory stats - fi - shift - done -@@ -71,12 +72,12 @@ - fi - else - # cache does not exist -- if [ -e $cache ] ; then -+ if [ -e $cache ] ; then - # something (directory?) in its way - rm -rf $cache - fi - fi -- -+ - # try to write and update cache if successful - if $XENSTORE write "$key" "$newval" ; then - mkdir -p $(dirname "$cache") -@@ -119,8 +120,8 @@ - xenstore_list_interfaces_cached() { - topdir=$XS_CACHE/attr - if [ -d $topdir ] ; then -- cd $topdir -- for dir in * ; do -+ cd $topdir -+ for dir in * ; do - [ -f $dir/ip ] && echo $dir - done - fi -@@ -131,7 +132,7 @@ - eval $(cat /proc/meminfo | \ - sed -n -e 's/MemTotal\: *\([0-9]*\)[^$]*/memtotal=\1/gp;' \ - -e 's/MemFree\: *\([0-9]*\)[^$]*/memfree=\1/gp;') -- -+ - xenstore_write_cached "data/meminfo_total" "${memtotal}" - xenstore_write_cached "data/meminfo_free" "${memfree}" - fi -@@ -140,17 +141,17 @@ - - # e.g. - # $ ip addr show --# 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue -+# 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue - # link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 - # inet 127.0.0.1/8 scope host lo --# inet6 ::1/128 scope host -+# inet6 ::1/128 scope host - # valid_lft forever preferred_lft forever - # 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 - # link/ether 00:13:20:95:e8:74 brd ff:ff:ff:ff:ff:ff - # inet 172.31.0.57/20 brd 172.31.15.255 scope global eth0 --# inet6 fe80::213:20ff:fe95:e874/64 scope link -+# inet6 fe80::213:20ff:fe95:e874/64 scope link - # valid_lft forever preferred_lft forever --# 3: sit0: <NOARP> mtu 1480 qdisc noop -+# 3: sit0: <NOARP> mtu 1480 qdisc noop - # link/sit 0.0.0.0 brd 0.0.0.0 - - #eval $(ip addr show | \ -@@ -158,26 +159,26 @@ - # -e 's/^[[:space:]]\{4\}inet \('${IPADDR_RE}'\)\/.*/eval inet_\${current}="\1"; /gp;') - - # e.g. --# eth0 Link encap:Ethernet HWaddr 00:13:20:95:E8:74 -+# eth0 Link encap:Ethernet HWaddr 00:13:20:95:E8:74 - # inet addr:172.31.0.57 Bcast:172.31.15.255 Mask:255.255.240.0 - # inet6 addr: fe80::213:20ff:fe95:e874/64 Scope:Link - # UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 - # RX packets:98001128 errors:0 dropped:0 overruns:0 frame:0 - # TX packets:87728920 errors:0 dropped:0 overruns:0 carrier:0 --# collisions:0 txqueuelen:1000 -+# collisions:0 txqueuelen:1000 - # RX bytes:35864034092 (33.4 GiB) TX bytes:27544025180 (25.6 GiB) --# Interrupt:177 --# --# lo Link encap:Local Loopback -+# Interrupt:177 -+# -+# lo Link encap:Local Loopback - # inet addr:127.0.0.1 Mask:255.0.0.0 - # inet6 addr: ::1/128 Scope:Host - # UP LOOPBACK RUNNING MTU:16436 Metric:1 - # RX packets:32928 errors:0 dropped:0 overruns:0 frame:0 - # TX packets:32928 errors:0 dropped:0 overruns:0 carrier:0 --# collisions:0 txqueuelen:0 -+# collisions:0 txqueuelen:0 - # RX bytes:3604609 (3.4 MiB) TX bytes:3604609 (3.4 MiB) - --ifs=`/sbin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \ -+ifs=`/bin/ifconfig | sed -n -e 's/^\([a-z0-9]\+\).*/name \1/p' \ - -e 's/.*inet addr:\('$IPADDR_RE'\) .*/ipv4 \1/p' \ - -e 's+.*inet6 addr: \('$IPADDR6_RE'\)/.*+ipv6 \1+p' | \ - while read tag value; do -@@ -225,9 +226,9 @@ - # build time addons - xenstore_write_cached "attr/PVAddons/MajorVersion" "6" - xenstore_write_cached "attr/PVAddons/MinorVersion" "2" --xenstore_write_cached "attr/PVAddons/MicroVersion" "0" -+xenstore_write_cached "attr/PVAddons/MicroVersion" "0" - xenstore_write_cached "attr/PVAddons/BuildVersion" "70442" --xenstore_write_cached "attr/PVAddons/Installed" "1" -+xenstore_write_cached "attr/PVAddons/Installed" "1" - - # update xenstore if necessary - if [ $XENSTORE_UPDATED -eq 1 ] ; then diff --git a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch b/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch deleted file mode 100644 index d1ec22668603..000000000000 --- a/app-emulation/xe-guest-utilities/files/xe-guest-utilities-6.2.0_p1120-Linux-Distribution.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- a/xe-linux-distribution -+++ b/xe-linux-distribution -@@ -1,6 +1,7 @@ - #! /bin/sh - - # Copyright (C) 2009 Citrix Systems Inc. -+# Copyright (C) 2014 Christopher J. Camisa - # - # This program is free software; you can redistribute it and/or - # modify it under the terms of the GNU General Public License -@@ -68,7 +69,7 @@ - eval $(awk -F. '/^[0-9]*\.[0-9]*/ \ - { print "major="$1 ; print "minor="$2 ; exit 0 }' \ - "${debian_version}") -- -+ - if [ -z "${major}" ] && [ -z "${minor}" ] && ! grep -q /sid "${debian_version}" ; then - return 1 - fi -@@ -118,7 +119,7 @@ - # Enterprise Linux Enterprise Linux Server release 5 (Carthage) - # Enterprise Linux Enterprise Linux Server release 5.5 (Carthage) - # Oracle Linux Server release 5.6 -- -+ - if [ ! -f "${redhat_release}" ] ; then - return 1 - fi -@@ -236,7 +237,7 @@ - if [ ! -x "${lsb_release}" ] ; then - return 1 - fi -- -+ - distro=$(${lsb_release} --short --id | tr 'A-Z' 'a-z') - description=$(${lsb_release} --short --description | sed -e 's/^"\(.*\)"$/\1/g') - release=$(${lsb_release} --short --release) -@@ -254,6 +255,31 @@ - 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 -@@ -265,6 +291,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/metadata.xml b/app-emulation/xe-guest-utilities/metadata.xml deleted file mode 100644 index c53ad2005ebe..000000000000 --- a/app-emulation/xe-guest-utilities/metadata.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="person" proxied="yes"> - <email>chicago@blkid.net</email> - <name>Chicago</name> -</maintainer> -<maintainer type="person"> - <email>robbat2@gentoo.org</email> -</maintainer> -<maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> -</maintainer> -<maintainer type="project"> - <email>virtualization@gentoo.org</email> - <name>Gentoo Virtualization Project</name> -</maintainer> -<maintainer type="project"> - <email>xen@gentoo.org</email> - <name>Gentoo Xen Project</name> -</maintainer> -<use> - <flag name="xenstore">Use xenstore binaries bundled by Citrix instead of building <pkg>app-emulation/xen-tools</pkg></flag> -</use> -</pkgmetadata> diff --git a/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild b/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild deleted file mode 100644 index 8b723ae3c2cf..000000000000 --- a/app-emulation/xe-guest-utilities/xe-guest-utilities-6.2.0_p1120-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -RPM_COMPRESS_TYPE=none -inherit rpm linux-info udev - -PV_BASE=${PV/_*} -PV_FULL=${PV/_p/-} - -DESCRIPTION="XenServer Virtual Machine Tools" -HOMEPAGE="https://www.citrix.com/" -SRC_URI="http://updates.vmd.citrix.com/XenServer/${PV_BASE}/rhel4x/SRPMS/xe-guest-utilities-${PV_FULL}.src.rpm" -S="${WORKDIR}" - -LICENSE="LGPL-3 LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="xenstore" - -BDEPEND="app-arch/rpm2targz" -RDEPEND=" - !xenstore? ( app-emulation/xen-tools ) - xenstore? ( !app-emulation/xen-tools ) -" - -CONFIG_CHECK="~XEN_COMPAT_XENFS ~XENFS" -QA_PREBUILT="usr/bin/xenstore* usr/bin/xeninfo" - -PATCHES=( - "${FILESDIR}"/${PN}-6.2.0_p1120-Guest-Attributes.patch - "${FILESDIR}"/${PN}-6.2.0_p1120-Linux-Distribution.patch -) - -src_unpack() { - rpm_src_unpack ${A} - # Upstream includes xenstore-sources.tar.bz2 - # but it is NOT the complete source :-( -} - -src_install() { - newinitd "${FILESDIR}"/xe-daemon.initd xe-daemon - dosbin xe-daemon - dosbin xe-linux-distribution - dosbin xe-update-guest-attrs - - udev_newrules xen-vcpu-hotplug.rules 10-xen-vcpu-hotplug.rules - - if use xenstore; then - dobin usr/bin/xeninfo - dobin usr/bin/xenstore - dobin usr/bin/xenstore-* - fi -} - -pkg_postinst() { - udev_reload - - if [ ! -e /etc/runlevels/boot/xe-daemon ]; then - elog "To start the xe-daemon automatically by default" - elog "you should add it to the boot runlevel :" - elog "'rc-update add xe-daemon boot'" - elog - fi -} |
