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||||||
tXG8t7SkVn6p95GKkFb6O+7qDyO7UqwrfQv/toObHHeclgF6N9705Dep4pnSa6u5
|
yEov5oN4OxZ/qCBMP2HhhN6szIKLObRFYA9ByP1ezLfpScCLQbbxcAmQzfBsZb/2
|
||||||
Y3zavWIXBGsdHldWYYaiRjsZJKYghX3e3zqxJFI9SDp0MU/fn/qKCP+8pSPk+dI/
|
MBRInb/V/zgzW/z7pfMss268AQZdirXCOeAVjzoRJiO7aXtr0smVIf6oTK1jH40W
|
||||||
TSh+CgjRHvjV0L8W+hiYtK3wecXDGLkTxHtn14+oxX4HREvG2Pk8LdnnFNhJIBfg
|
kPe2exEJgjZdeBajM1ofSTpi77etwBYiqc4HZPkDlnvx+9bCItomisdo+ikoJIt+
|
||||||
819whkI3ZsjOL46TMcoL6uuEml4QIwJtbimn9U+QJNmaF8vmRFsJprnuOTG9xH7a
|
q7OG32xLDYc7Q4WYVfwBaScG5maIJx9efqc0ukJ2bkF5fAKunv9GMVP06klaxj+k
|
||||||
o9CZ0VadY19eIjLy02KGAg7qw+Q630wQlB9wc1cBQMBIZOhT1SD4usyOM2XPylDr
|
2Y48/dpkeqVgvgUasQUpdbQUjs5PNEDJVesrg7e4wRpp+04ZYe3Ni/RSruTasN7A
|
||||||
4puspyRquHxcMX0ogz9XVw==
|
KXnWv7Dw9ekvvQa3mTiK+g==
|
||||||
=OshX
|
=aotj
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IscoZHGd6YW11ZGlv
|
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IsjgZHGd6YW11ZGlv
|
||||||
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV2qaD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LAjtb
|
||||||
gl2LaQX6uO9t/4AU13sGyqlOABENo/hC357zAwe+EwJLE2BJiwhwosF7vudK/FaD
|
jQjuNbaaOUZ7dnaemgA49lL4+nmKxjwwHuuqGKNwUWiAE+CVodCGR6LXVEuTAa60
|
||||||
pXw1PhZ59ujlv8uEuyo1aKzCDT3naBV5Ba9ZVLS0qysBsjgbohvj25DzTruQ+VZ+
|
gicWraeOLFYUo/JNX+92xF5lFK9nS+4v0hcOB69H1FA4nYCgnMStL4uT01soghcc
|
||||||
q+VQv+Vdujfg3Gk6mIAgBqnNSg5GkxVV/P7eGMD3/N0Wo6F6gOVDntl02ZsnH5sd
|
1Gs94mgqXkDF8ZgZgTlkZjyJhsWOYzJn86TlCOQCoyhh+DTN8rFiwMuCezAR904D
|
||||||
grX4zy0FXydLpfslNiYcJw==
|
XnH8Uoq3cplHiIZuEao6fQ==
|
||||||
=EXSF
|
=o37e
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
@ -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…
Reference in new issue