virt-manager: Nuevo

master
Gerardo Zamudio 5 years ago
parent 0fd309a442
commit 2144decf37
Signed by: gzamudio
GPG Key ID: F6CFA5A99E7B5957

@ -10,14 +10,14 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less
/pub/gnu, or at any GNU mirror site.
MD5 message digest Filename
c388c7e79b4bff76550bb74e447d8671 ./ChangeLog.rss
9f4ad57cd7b856f6744c0e116ada7d23 ./ChangeLog.txt
af77735366ce0beb364a0b9a7663c898 ./ChangeLog.txt.gz
206be8b0a7370db8c04e22e7d2bfba98 ./FILELIST.TXT
c5a7a555fc51c2d38dbb484dd9015641 ./ChangeLog.rss
678f62616b624cd0df050b1ce4b76c05 ./ChangeLog.txt
09bb3803d5f3dff3d70a607bb592c06f ./ChangeLog.txt.gz
d095c363ae36c301a4447f4308594738 ./FILELIST.TXT
7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY
4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2
b1d88bfdf540c8eb045426177df1cc8d ./PACKAGES.TXT
e87ac037f063b2b002f454032ff1aa91 ./PACKAGES.TXT.gz
487acee59e931af6c63b5fa21a3189c2 ./PACKAGES.TXT
ff2ab92b27e2a5df26d745dddfbe97b1 ./PACKAGES.TXT.gz
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt
bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README
8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README
@ -217,6 +217,14 @@ d5f947a4e24b850687d49156eac09cd4 ./vde/build/vde.SlackBuild
89f1f7294949d150af49cacf3c4adb9a ./virglrenderer/build/slack-desc
d7bad1a6c1ad808346f7def0315e1567 ./virglrenderer/build/virglrenderer.SlackBuild
48334e8a9fc2f6c03b45ec5b657920c5 ./virglrenderer/build/virglrenderer.info
406a224f1aebe8094b786bc7c545842e ./virt-manager/Add-Slackware-to-OS-choices.patch
6c08c9502a587803bc377a9e7e05ae27 ./virt-manager/HEADER.txt
6c08c9502a587803bc377a9e7e05ae27 ./virt-manager/README
fcfee3da4ef3e1840c910c175679190d ./virt-manager/build/README
6c08c9502a587803bc377a9e7e05ae27 ./virt-manager/build/slack-desc
238bf18a8284a74251fb264b9f6b0183 ./virt-manager/build/virt-manager.SlackBuild
e68aa6e0e71fb6d0ab0853b84716d247 ./virt-manager/build/virt-manager.info
9aad89c17ec9fd862eb099f3ca387138 ./virt-manager/doinst.sh
5222c615a4bdee4df89070aa95ff2c5a ./yajl/HEADER.txt
5222c615a4bdee4df89070aa95ff2c5a ./yajl/README
f8ec30a6b48ef8cab4c1a95807227308 ./yajl/build/README

@ -1,17 +1,17 @@
-----BEGIN PGP SIGNATURE-----
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IscoZHGd6YW11ZGlv
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZVxWiEACR+oM/TjzYGnf6KtEf47+5
8Vl/S6dCzqgtcrpCUlvZ4MjgO3uk3SbMCI/GvUVc1cPUQ/UGizGkmYeXg8fRFS7R
yA2LTCbTB3gAtYJ+otKpy5J2vswryN28XmoO4+jNzv9sMATv0HEFhAPv4napK1t+
nxx0fVxhwwj6shVww41yBu9NW0V5kl2kqEDKEusmHwKJ7eqmq2DjNdGYYpkyjB+e
fd/zqbqT+OQQLdfR87lfd8jY6gix295UmZK2kDbV8D7YTqVM9U+lM32aEQl6B8gm
vu0TDLGbLO3qM5xdaxTYIRDECtZGUcQpIaF7uYLX/RIouRcOwHErYtG4EmX+TvfH
tXG8t7SkVn6p95GKkFb6O+7qDyO7UqwrfQv/toObHHeclgF6N9705Dep4pnSa6u5
Y3zavWIXBGsdHldWYYaiRjsZJKYghX3e3zqxJFI9SDp0MU/fn/qKCP+8pSPk+dI/
TSh+CgjRHvjV0L8W+hiYtK3wecXDGLkTxHtn14+oxX4HREvG2Pk8LdnnFNhJIBfg
819whkI3ZsjOL46TMcoL6uuEml4QIwJtbimn9U+QJN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ZvBf54Ws48gLpfiBmhc7yMuY1q3Vu7AbZ/mxnDXyBbhnJPqu
H2E+z0z5ufSpGPMahHlELvVuycRWEAoAWzdxcOF4NbRKj+NY1/qQV29WtVDEr7Lc
t7DtZg+2Mx7xEuw/t/vnlE4YnF9QzAYbbP3z7pZ6SiY+O1Q4ApHl0a3vpatnx9jc
iBrAqanayBC+JgOVGJ3ujmMF+dkqfEX6fVTp5Jn+mTiE4yL4q/3lizDpoVSLAjtb
jQjuNbaaOUZ7dnaemgA49lL4+nmKxjwwHuuqGKNwUWiAE+CVodCGR6LXVEuTAa60
gicWraeOLFYUo/JNX+92xF5lFK9nS+4v0hcOB69H1FA4nYCgnMStL4uT01soghcc
1Gs94mgqXkDF8ZgZgTlkZjyJhsWOYzJn86TlCOQCoyhh+DTN8rFiwMuCezAR904D
XnH8Uoq3cplHiIZuEao6fQ==
=o37e
-----END PGP SIGNATURE-----

@ -11,9 +11,20 @@
<description>Repositorio de software para Slackare Linux proporcionado por Libre Expresión México</description>
<language>en-us</language>
<id xmlns="http://www.w3.org/2005/Atom">urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33</id>
<pubDate>Sat, 23 May 2020 05:16:53 GMT</pubDate>
<lastBuildDate>Sat, 23 May 2020 05:16:57 GMT</lastBuildDate>
<pubDate>Sat, 23 May 2020 05:18:44 GMT</pubDate>
<lastBuildDate>Sat, 23 May 2020 05:18:47 GMT</lastBuildDate>
<generator>gen_repos_files.sh v 1.98</generator>
<item>
<title>Sat, 23 May 2020 05:18:44 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 05:18:44 GMT</pubDate>
<guid isPermaLink="false">20200523001844</guid>
<description>
<![CDATA[<pre>
virt-manager: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Sat, 23 May 2020 05:16:53 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
@ -190,16 +201,5 @@ tunctl: Nuevo
</pre>]]>
</description>
</item>
<item>
<title>Sat, 23 May 2020 04:24:19 GMT</title>
<link>https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt</link>
<pubDate>Sat, 23 May 2020 04:24:19 GMT</pubDate>
<guid isPermaLink="false">20200522232419</guid>
<description>
<![CDATA[<pre>
libosinfo: Actualizado a versión 1.7.1
</pre>]]>
</description>
</item>
</channel>
</rss>

@ -1,3 +1,7 @@
+--------------------------+
Sat May 23 05:18:44 UTC 2020
virt-manager: Nuevo
+--------------------------+
Sat May 23 05:16:53 UTC 2020
libvirt-python: Actualizado a versión 6.3.0

Binary file not shown.

@ -1,4 +1,4 @@
Sat May 23 05:16:53 UTC 2020
Sat May 23 05:18:44 UTC 2020
Here is the file list for https://mirror.slackware.mx/libremex/slackbuilds ,
maintained by Gerardo Zamudio <gzamudio@libremex.org.mx> .
@ -6,19 +6,19 @@ If you are using a mirror site and find missing or extra files
in the subdirectories, please have the archive administrator
refresh the mirror.
drwxr-xr-x 34 1000 100 4096 2020-05-23 00:16 .
-rw-r--r-- 1 1000 100 13569 2020-05-23 00:13 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-23 00:13 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 4677 2020-05-23 00:13 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-23 00:13 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7844 2020-05-23 00:16 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 7039 2020-05-23 00:16 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 1089 2020-05-23 00:16 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-23 00:16 ./FILELIST.TXT
drwxr-xr-x 35 1000 100 4096 2020-05-23 00:18 .
-rw-r--r-- 1 1000 100 13569 2020-05-23 00:16 ./CHECKSUMS.md5
-rw-r--r-- 1 1000 100 870 2020-05-23 00:16 ./CHECKSUMS.md5.asc
-rw-r--r-- 1 1000 100 4687 2020-05-23 00:16 ./CHECKSUMS.md5.gz
-rw-r--r-- 1 1000 100 870 2020-05-23 00:16 ./CHECKSUMS.md5.gz.asc
-rw-r--r-- 1 1000 100 7824 2020-05-23 00:18 ./ChangeLog.rss
-rw-r--r-- 1 1000 100 7118 2020-05-23 00:18 ./ChangeLog.txt
-rw-r--r-- 1 1000 100 1105 2020-05-23 00:18 ./ChangeLog.txt.gz
-rw-r--r-- 1 1000 100 311 2020-05-23 00:18 ./FILELIST.TXT
-rw-r--r-- 1 1000 100 6217 2020-05-22 15:11 ./GPG-KEY
-rw-r--r-- 1 1000 100 14 2020-05-23 00:16 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-23 00:16 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 78 2020-05-23 00:16 ./PACKAGES.TXT.gz
-rw-r--r-- 1 1000 100 14 2020-05-23 00:18 ./MANIFEST.bz2
-rw-r--r-- 1 1000 100 45 2020-05-23 00:18 ./PACKAGES.TXT
-rw-r--r-- 1 1000 100 78 2020-05-23 00:18 ./PACKAGES.TXT.gz
drwxr-xr-x 4 1000 100 4096 2020-05-22 15:38 ./device-tree-compiler
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/HEADER.txt
-rw-r--r-- 1 1000 100 1108 2020-05-22 15:38 ./device-tree-compiler/README
@ -322,6 +322,18 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 15:11 ./virglrenderer/build
-rw-r--r-- 1 1000 100 784 2020-05-22 15:11 ./virglrenderer/build/slack-desc
-rw-r--r-- 1 1000 100 3093 2020-05-22 15:11 ./virglrenderer/build/virglrenderer.SlackBuild
-rw-r--r-- 1 1000 100 363 2020-05-22 15:11 ./virglrenderer/build/virglrenderer.info
drwxr-xr-x 4 1000 100 4096 2020-05-23 00:18 ./virt-manager
-rw-r--r-- 1 1000 100 2272 2020-05-22 02:53 ./virt-manager/Add-Slackware-to-OS-choices.patch
-rw-r--r-- 1 1000 100 794 2020-05-23 00:18 ./virt-manager/HEADER.txt
-rw-r--r-- 1 1000 100 794 2020-05-23 00:18 ./virt-manager/README
drwxr-xr-x 2 1000 100 4096 2020-05-23 00:18 ./virt-manager/build
-rw-r--r-- 1 1000 100 507 2020-05-22 02:53 ./virt-manager/build/README
-rw-r--r-- 1 1000 100 794 2020-05-22 02:53 ./virt-manager/build/slack-desc
-rw-r--r-- 1 1000 100 2090 2020-05-22 02:53 ./virt-manager/build/virt-manager.SlackBuild
-rw-r--r-- 1 1000 100 386 2020-05-22 02:53 ./virt-manager/build/virt-manager.info
-rw-r--r-- 1 1000 100 613 2020-05-22 02:53 ./virt-manager/doinst.sh
drwxr-xr-x 3 1000 100 4096 2020-05-23 00:18 ./virt-manager/pkg64
drwxr-xr-x 2 1000 100 4096 2020-05-23 00:18 ./virt-manager/pkg64/current
drwxr-xr-x 4 1000 100 4096 2020-05-22 23:44 ./yajl
-rw-r--r-- 1 1000 100 774 2020-05-22 23:44 ./yajl/HEADER.txt
-rw-r--r-- 1 1000 100 774 2020-05-22 23:44 ./yajl/README

@ -1,2 +1,2 @@
PACKAGES.TXT; Sat May 23 05:16:53 UTC 2020
PACKAGES.TXT; Sat May 23 05:18:44 UTC 2020

Binary file not shown.

@ -0,0 +1,62 @@
diff -Nur virt-manager-2.2.0.orig/virtinst/install/urldetect.py virt-manager-2.2.0/virtinst/install/urldetect.py
--- virt-manager-2.2.0.orig/virtinst/install/urldetect.py 2019-06-17 00:20:11.000000000 -0500
+++ virt-manager-2.2.0/virtinst/install/urldetect.py 2019-07-03 02:14:35.978571412 -0500
@@ -466,6 +466,47 @@
return cache.treeinfo_family_regex(famregex)
+class SlackwareDistro(_DistroTree):
+ # slackware doesn't have installable URLs, so this is just for a
+ # mounted ISO
+ name = "Slackware"
+ urldistro = "slackware"
+ os_variant = "linux"
+
+ PRETTY_NAME = "Slackware"
+ matching_distros = ["slackware"]
+ _variant_prefix = "slackware"
+
+ _boot_iso_paths = []
+ _xen_kernel_paths = []
+
+ def __init__(self, *args, **kwargs):
+ Distro.__init__(self, *args, **kwargs)
+ if re.match(r'i[4-9]86', self.arch):
+ self.arch = 'i486'
+ self.kname = 'hugesmp.s'
+ else:
+ self.arch = 'x86_64'
+ self.kname = 'huge.s'
+
+ self._hvm_kernel_paths = [("kernels/%s/bzImage" % self.kname,
+ "isolinux/initrd.img")]
+
+ def isValidStore(self):
+ # Don't support any paravirt installs
+ if self.type is not None and self.type != "hvm":
+ return False
+
+ # Slackware website / media appear to have a Slackware-HOWTO
+ # file in top level which we can use as our 'magic'
+ # check for validity
+ if not self.fetcher.hasFile("Slackware-HOWTO"):
+ return False
+
+ logging.debug("Regex didn't match, not a %s distro", self.name)
+ return False
+
+
class _SuseDistro(_RHELDistro):
PRETTY_NAME = None
_suse_regex = []
diff -Nur virt-manager-2.2.0.orig/virtinst/osdict.py virt-manager-2.2.0/virtinst/osdict.py
--- virt-manager-2.2.0.orig/virtinst/osdict.py 2019-06-17 00:20:11.000000000 -0500
+++ virt-manager-2.2.0/virtinst/osdict.py 2019-07-03 02:11:59.208399622 -0500
@@ -146,6 +146,7 @@
"rhel5": "rhel5.0",
"rhel6": "rhel6.0",
"rhel7": "rhel7.0",
+ "slackware": "slackware14.2",
"ubuntuhardy": "ubuntu8.04",
"ubuntuintrepid": "ubuntu8.10",
"ubuntujaunty": "ubuntu9.04",

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
virt-manager: virt-manager (a gtk interface for libvirt)
virt-manager:
virt-manager: virt-manager is a gtk interface for libvirt.
virt-manager: It supports Xen, qemu/kvm, virtualbox, and perhaps others.
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
virt-manager: virt-manager (a gtk interface for libvirt)
virt-manager:
virt-manager: virt-manager is a gtk interface for libvirt.
virt-manager: It supports Xen, qemu/kvm, virtualbox, and perhaps others.
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:

@ -0,0 +1,11 @@
virt-manager is a gtk interface that connects to libvirt.
If you have networking problems, make sure you have the tun module loaded.
To run virt-manager as a normal user, you need to configure libvirt
to have the correct permissions. Uncomment the unix_sock_group and
unix_sock_rw_perms in /etc/libvirt/libvirtd.conf and add the user to the
group libvirt uses.
If you have python3 installed at build-time, this probably won't work,
so you'll need to temporarily uninstall python3 for the build process.

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
virt-manager: virt-manager (a gtk interface for libvirt)
virt-manager:
virt-manager: virt-manager is a gtk interface for libvirt.
virt-manager: It supports Xen, qemu/kvm, virtualbox, and perhaps others.
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:
virt-manager:

@ -0,0 +1,80 @@
#!/bin/sh
# Slackware build script for virt-manager
# Written by Ash Wiren ash@spooksoftware.com # Released to public domain.
# Modified by Zoran Stojakovic
# Lots of mods by rworkman for 1.x and (later) 2.x
PRGNAM=virt-manager
VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Add Slackware support
patch -p1 < $CWD/Add-Slackware-to-OS-choices.patch
python3 setup.py configure
python3 setup.py install --root=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CONTRIBUTING.md COPYING INSTALL.md NEWS.md README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

@ -0,0 +1,10 @@
PRGNAM="virt-manager"
VERSION="2.2.1"
HOMEPAGE="http://virt-manager.org/"
DOWNLOAD="https://virt-manager.org/download/sources/virt-manager/virt-manager-2.2.1.tar.gz"
MD5SUM="adb4fa436d60b62a8e18a7b3a1667d97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtksourceview3 libosinfo libvirt-glib libvirt-python gtk-vnc spice-gtk"
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"

@ -0,0 +1,20 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
if [ -e usr/share/glib-2.0/schemas ]; then
if [ -x /usr/bin/glib-compile-schemas ]; then
/usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
fi
fi
Loading…
Cancel
Save