From 8d36228add14e0fc659b3d8345500e32a338a41e Mon Sep 17 00:00:00 2001 From: Gerardo Zamudio Date: Fri, 22 May 2020 23:48:35 -0500 Subject: [PATCH] libvirt: Nuevo --- CHECKSUMS.md5 | 21 +- CHECKSUMS.md5.asc | 28 +-- CHECKSUMS.md5.gz | Bin 4228 -> 4439 bytes CHECKSUMS.md5.gz.asc | 28 +-- ChangeLog.rss | 26 +-- ChangeLog.txt | 4 + ChangeLog.txt.gz | Bin 1012 -> 1025 bytes FILELIST.TXT | 41 ++-- PACKAGES.TXT | 2 +- PACKAGES.TXT.gz | Bin 78 -> 78 bytes libvirt/HEADER.txt | 19 ++ libvirt/README | 19 ++ libvirt/build/README | 53 +++++ libvirt/build/libvirt.SlackBuild | 136 +++++++++++ libvirt/build/libvirt.info | 10 + libvirt/build/slack-desc | 19 ++ libvirt/doinst.sh | 26 +++ libvirt/rc.libvirt | 255 +++++++++++++++++++++ libvirt/use-virtgroup-in-polkit-rules.diff | 15 ++ 19 files changed, 640 insertions(+), 62 deletions(-) create mode 100644 libvirt/HEADER.txt create mode 100644 libvirt/README create mode 100644 libvirt/build/README create mode 100644 libvirt/build/libvirt.SlackBuild create mode 100644 libvirt/build/libvirt.info create mode 100644 libvirt/build/slack-desc create mode 100644 libvirt/doinst.sh create mode 100644 libvirt/rc.libvirt create mode 100644 libvirt/use-virtgroup-in-polkit-rules.diff diff --git a/CHECKSUMS.md5 b/CHECKSUMS.md5 index f89d569..255f64f 100644 --- a/CHECKSUMS.md5 +++ b/CHECKSUMS.md5 @@ -10,14 +10,14 @@ tail +13 CHECKSUMS.md5 | md5sum --check | less /pub/gnu, or at any GNU mirror site. MD5 message digest Filename -abc61ea78912a6e1859bae0cf90890cf ./ChangeLog.rss -1634c95aae62f8d29efcea3396b85a5b ./ChangeLog.txt -61ab2b817794d1603dfe2752631804ca ./ChangeLog.txt.gz -da1dcf69a937f19feb1e9855184b1216 ./FILELIST.TXT +d29481da15fe66cdeb0e8a829f0d67ec ./ChangeLog.rss +3dd269541d6915dab801f71523c1e305 ./ChangeLog.txt +0327fbe7873294c7dd1ca2eafdfc6f6b ./ChangeLog.txt.gz +3c46f86c699ab972abd2b1cd36e85984 ./FILELIST.TXT 7f4bffeb686cc5fd6056bd404dda08d7 ./GPG-KEY 4059d198768f9f8dc9372dc1c54bc3c3 ./MANIFEST.bz2 -e788fe7e5c2f058c94118a84eeb5b4ba ./PACKAGES.TXT -937d4ff8b918cc9157c697ba5715ad85 ./PACKAGES.TXT.gz +6fca5ba2d090ec2194436226223836fa ./PACKAGES.TXT +0db1740094b1570b0954770cb4d1cb8b ./PACKAGES.TXT.gz bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/HEADER.txt bc0cd60a08dbe2a365a3865cc9673bee ./device-tree-compiler/README 8c970fb9c9408b1ef9fddd2abdc2c15a ./device-tree-compiler/build/README @@ -80,6 +80,15 @@ cf6df93fb1e199fe3d004ca47d5def54 ./libseccomp/build/libseccomp.info 42d6712f622b5d5ed77d3f38949ab188 ./liburcu/build/liburcu.SlackBuild 897f7880aa877b1e0a40828467f55efd ./liburcu/build/liburcu.info 1e91a8eeedd85c4c6ae5c69e4e7e0575 ./liburcu/build/slack-desc +444681e990b7b12a9c3ae6d962cfbf64 ./libvirt/HEADER.txt +444681e990b7b12a9c3ae6d962cfbf64 ./libvirt/README +4d6a5bb621a04f4a8aaf0cd0a7c78c89 ./libvirt/build/README +af60eb845d8ef824bcc047c75899eacc ./libvirt/build/libvirt.SlackBuild +c3f6774fef298831d63ffbd6aadb06db ./libvirt/build/libvirt.info +444681e990b7b12a9c3ae6d962cfbf64 ./libvirt/build/slack-desc +a8d1d8c0af8c252e232a6aefdb1297ce ./libvirt/doinst.sh +0cbc8da9962c06426f4ef822f976cc69 ./libvirt/rc.libvirt +af89061d795c4e7bda31e8bf80bdf96a ./libvirt/use-virtgroup-in-polkit-rules.diff a1c05ba7104267a1665c68a0825ba95b ./lz4/HEADER.txt a1c05ba7104267a1665c68a0825ba95b ./lz4/README b196a40c2bbeac42ef88ec43d93ba422 ./lz4/build/README diff --git a/CHECKSUMS.md5.asc b/CHECKSUMS.md5.asc index 85cc05f..d9b4f75 100644 --- a/CHECKSUMS.md5.asc +++ b/CHECKSUMS.md5.asc @@ -1,17 +1,17 @@ -----BEGIN PGP SIGNATURE----- -iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IqmEZHGd6YW11ZGlv -QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV0hYD/9Sqw5F/QmqrgFLyKZKrjwi -UEdcIwXFzbb50Cc0Qb92cYWxlKeK+0+BG5aPGI8n9DtU9r09F3vLf8E2Asa5hUBN -RECL2Vj+Jy+fFc5cL01VlhA9PrItWmHfeE4lGvoHX969Rd+s6Qjfl7djlJIExdsX -9npNn2fzokkisIJfj/V+xcbawyV9tbloo2ne1u9pvAvhFWDXglcHyzVdzBbmShfU -E/tc16dUtWB1Sw9PVoCWbz86bDbpUBwQSaQCPYh37KJ1WerRzVMApRDt4vMKIO4y -r+0yY+zYfziqeWxJez2wPIpT3KGWHKdRg91gAAxL7gbbREuhBEvSo3FcWAaNQBRl -VrFVccEn5KXj3g6N/r4eS89rKyHCCqnbpulddYfxlJcQbawGY1WZx70V1Dp28GWV -gj4T5oHOuhhQrdiPPwIVfZFCybBFoAhLd/VoTIWLaCp6bcdVMsRLgjHz4Mr4KB37 -GM/LBR4BaKrxOz3SAbTwala8NEoj4Pqa5WrTvkoMK4q303u1OuwVSVOO9CQHzF4s -H9ftix45cyUw4NrvdM4Y+vK+5suj/3pG2idT1k6jhb56PO1t1wL5SjB2EF8PTvn3 -DgN5KX1eoBOrDDzXle56VGZdMcTOMs28NL6bB0Nm86JX1abgtRTGbSsHP76tHzte -M0pRwS0Ms0H6XrGZ86XSLg== -=KrVS +iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAl7IqxkZHGd6YW11ZGlv +QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV29HD/9DarSZp0Sxp3OPXOBDJh5y +VhoHW5MM5ahpGljD97RGksGIhldy7/MgmPvigE5ilW7/XMLm9tb5RfbtccI7psNR +5NexuCWiffz5qjHbPqFyYZh8LsF2Mkjy8w2NWvjSdM32o2TvVO4aclCIVZUhJtxN +WieTUywXfBA2Bn4wp9ue6QblmwPowzBcgP2cJuOOlQQQAEIJovT1N13VumKT3Qn1 +y10P9wr55l2OgBzar8Ue1sTYvj5Z706/l3HowJM1jO/V8SmmMtxLTWuGEvh0VHyO +P2SmgVnpHMTypqZH8kf1m3asF35nNEshfaFIHM3MTbrXNFoCuBClzdpMdo+ZiL1q +q9SeDfB2k1sQB6vWlRRPYYc8GwSUVJ1EgzkMN9rWPBZrscrUFV/BV0Vx0hvd7pW/ +LdDDXvSYeur5X7XaDV+hw0fV6oLciIqmeO8rWYpFwYjiquFhbjEdHxGRBdwxgaKP +i/B/GzAHrjqOJXlDiFqGkvg2oQECaHd/rEHUJG0CHq82xJ083AhQ5usZVy0DpoK6 +4xmkR8gSRyImvj1+w/OaR/1Asb9utjbTokAI7Q24DsGNd3A+E7/BEqnGjezncM6G +yN0zodym98I29zi2eFbmn70d7qyKVo+LpN2DwhlK12C/NvD1otDZjTYFAw5C9kQI +otUaDBz+AMwYVaCg9iwpqw== +=kvt0 -----END PGP SIGNATURE----- diff --git a/CHECKSUMS.md5.gz b/CHECKSUMS.md5.gz index 9cf6f5a26376f80fa3c23da58cc1ebfef20f3fce..47580e374c9a85d0c0c1558a2f1f3b0a9a05b784 100644 GIT binary patch literal 4439 zcmV-d5vcATiwFoAtH@pg14BqfLrYUtO;avyWHkVtTHAITN0NNUSKw_Pc1YL#vTs^h zz8u>#b1cow?vqbeW)_7NMQ{O79{bG4ZxouK&;ltF@{w&cgsASytjvh0>Njt7t4rGG za`#r3KYbmS?{&MSD_zR!O1Hc1vadJ$zw4`O-7Z%*xL9rRw;Sc%dh^@m;`_e*ZGE@= zm2P&+-FmqLYJ9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eZ5cdqTE0pLlwql2XCsitj/2xEewbuuvrx1DdW6RH6bI21ajTadBbRDlrB +sHJ5vLPVml8Y3MUMEKo97Cs864HnMMyT9Mj2EWzgGGNkxyOct9gFYXTAscLTF38c +sMAat/kh0G6wcdm4yI8gzW+JoaI1rgmemW8KWH88ZNX+hEJXm7GPR6zwi9aVjne1 +7AfkhAEhz1y/Tm5QR3bVLbK8iG1mtYlL1U5CrDbmhWkqOMV3ghC+3wKwFhv8gIu4 +xunF/xWVeoaalzido8pr4A== +=JeBw -----END PGP SIGNATURE----- diff --git a/ChangeLog.rss b/ChangeLog.rss index 063c7e5..4eb4fd1 100644 --- a/ChangeLog.rss +++ b/ChangeLog.rss @@ -11,9 +11,20 @@ Repositorio de software para Slackare Linux proporcionado por Libre Expresión México en-us urn:uuid:f735159c-86bd-11ea-9d48-04d4c453db33 - Sat, 23 May 2020 04:45:17 GMT - Sat, 23 May 2020 04:45:20 GMT + Sat, 23 May 2020 04:48:20 GMT + Sat, 23 May 2020 04:48:24 GMT gen_repos_files.sh v 1.98 + + Sat, 23 May 2020 04:48:20 GMT + https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt + Sat, 23 May 2020 04:48:20 GMT + 20200522234820 + + +libvirt: Nuevo + ]]> + + Sat, 23 May 2020 04:45:17 GMT https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt @@ -190,16 +201,5 @@ osinfo-db-tools: Asumir el mantenimiento ]]> - - Sat, 23 May 2020 03:35:18 GMT - https://mirror.slackware.mx/libremex/slackbuilds/ChangeLog.txt - Sat, 23 May 2020 03:35:18 GMT - 20200522223518 - - -osinfo-db-tools: Nuevo - ]]> - - diff --git a/ChangeLog.txt b/ChangeLog.txt index 548938f..18e3c99 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ ++--------------------------+ +Sat May 23 04:48:20 UTC 2020 +libvirt: Nuevo + +--------------------------+ Sat May 23 04:45:17 UTC 2020 yajl: Asumir el mantenim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^QYS@m!jcng>AMeA88srQR8+`r+Rg7)oTKcuG?Em$uM#1sbQVej8K}N1MmzPGbr-5B-7@yjA=};K3C&6azKV~#>Dhs;- zm(fe<@QiT7#!s2GJiA6{jg*OKPo2_N9+^p6{B*PP-Edja{HJcOX;beqy38&-Hb_S7Zq8Eu)R)0oH>JRIY`ii8mp!iEgFNJH6k)jsU zBl{u0B5UqdXLoFCeqJTSydKa;Re? . @@ -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 31 1000 100 4096 2020-05-22 23:45 . --rw-r--r-- 1 1000 100 12199 2020-05-22 23:43 ./CHECKSUMS.md5 --rw-r--r-- 1 1000 100 870 2020-05-22 23:43 ./CHECKSUMS.md5.asc --rw-r--r-- 1 1000 100 4227 2020-05-22 23:43 ./CHECKSUMS.md5.gz --rw-r--r-- 1 1000 100 870 2020-05-22 23:43 ./CHECKSUMS.md5.gz.asc --rw-r--r-- 1 1000 100 7850 2020-05-22 23:45 ./ChangeLog.rss --rw-r--r-- 1 1000 100 6316 2020-05-22 23:45 ./ChangeLog.txt --rw-r--r-- 1 1000 100 1012 2020-05-22 23:45 ./ChangeLog.txt.gz --rw-r--r-- 1 1000 100 311 2020-05-22 23:45 ./FILELIST.TXT +drwxr-xr-x 32 1000 100 4096 2020-05-22 23:48 . +-rw-r--r-- 1 1000 100 12199 2020-05-22 23:45 ./CHECKSUMS.md5 +-rw-r--r-- 1 1000 100 870 2020-05-22 23:45 ./CHECKSUMS.md5.asc +-rw-r--r-- 1 1000 100 4228 2020-05-22 23:45 ./CHECKSUMS.md5.gz +-rw-r--r-- 1 1000 100 870 2020-05-22 23:45 ./CHECKSUMS.md5.gz.asc +-rw-r--r-- 1 1000 100 7842 2020-05-22 23:48 ./ChangeLog.rss +-rw-r--r-- 1 1000 100 6390 2020-05-22 23:48 ./ChangeLog.txt +-rw-r--r-- 1 1000 100 1025 2020-05-22 23:48 ./ChangeLog.txt.gz +-rw-r--r-- 1 1000 100 311 2020-05-22 23:48 ./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-22 23:45 ./MANIFEST.bz2 --rw-r--r-- 1 1000 100 45 2020-05-22 23:45 ./PACKAGES.TXT --rw-r--r-- 1 1000 100 78 2020-05-22 23:45 ./PACKAGES.TXT.gz +-rw-r--r-- 1 1000 100 14 2020-05-22 23:48 ./MANIFEST.bz2 +-rw-r--r-- 1 1000 100 45 2020-05-22 23:48 ./PACKAGES.TXT +-rw-r--r-- 1 1000 100 78 2020-05-22 23:48 ./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 @@ -115,6 +115,19 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 16:27 ./liburcu/build -rw-r--r-- 1 1000 100 812 2020-05-22 16:24 ./liburcu/build/slack-desc drwxr-xr-x 3 1000 100 4096 2020-05-22 16:17 ./liburcu/pkg64 drwxr-xr-x 2 1000 100 4096 2020-05-22 16:17 ./liburcu/pkg64/current +drwxr-xr-x 4 1000 100 4096 2020-05-22 23:48 ./libvirt +-rw-r--r-- 1 1000 100 765 2020-05-22 23:48 ./libvirt/HEADER.txt +-rw-r--r-- 1 1000 100 765 2020-05-22 23:48 ./libvirt/README +drwxr-xr-x 2 1000 100 4096 2020-05-22 23:48 ./libvirt/build +-rw-r--r-- 1 1000 100 2013 2020-05-21 23:29 ./libvirt/build/README +-rw-r--r-- 1 1000 100 3895 2020-05-21 23:29 ./libvirt/build/libvirt.SlackBuild +-rw-r--r-- 1 1000 100 279 2020-05-21 23:29 ./libvirt/build/libvirt.info +-rw-r--r-- 1 1000 100 765 2020-05-21 23:29 ./libvirt/build/slack-desc +-rw-r--r-- 1 1000 100 599 2020-05-21 23:29 ./libvirt/doinst.sh +drwxr-xr-x 3 1000 100 4096 2020-05-22 23:48 ./libvirt/pkg64 +drwxr-xr-x 2 1000 100 4096 2020-05-22 23:48 ./libvirt/pkg64/current +-rw-r--r-- 1 1000 100 5936 2020-05-21 23:29 ./libvirt/rc.libvirt +-rw-r--r-- 1 1000 100 687 2020-05-21 23:29 ./libvirt/use-virtgroup-in-polkit-rules.diff drwxr-xr-x 3 1000 100 4096 2020-05-22 15:11 ./lz4 -rw-r--r-- 1 1000 100 919 2020-05-22 15:11 ./lz4/HEADER.txt -rw-r--r-- 1 1000 100 919 2020-05-22 15:11 ./lz4/README @@ -292,7 +305,7 @@ drwxr-xr-x 2 1000 100 4096 2020-05-22 15:11 ./virglrenderer/build 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 -drwxr-xr-x 2 1000 100 4096 2020-05-22 23:44 ./yajl/build +drwxr-xr-x 2 1000 100 4096 2020-05-22 23:47 ./yajl/build -rw-r--r-- 1 1000 100 177 2020-05-21 23:29 ./yajl/build/README -rw-r--r-- 1 1000 100 774 2020-05-22 23:43 ./yajl/build/slack-desc -rw-r--r-- 1 1000 100 3176 2020-05-22 23:44 ./yajl/build/yajl.SlackBuild diff --git a/PACKAGES.TXT b/PACKAGES.TXT index 5915719..e9dc0ff 100644 --- a/PACKAGES.TXT +++ b/PACKAGES.TXT @@ -1,2 +1,2 @@ -PACKAGES.TXT; Sat May 23 04:45:17 UTC 2020 +PACKAGES.TXT; Sat May 23 04:48:20 UTC 2020 diff --git a/PACKAGES.TXT.gz b/PACKAGES.TXT.gz index c06b0a737f6320ca4e8d28fdb3c2987a1efa3281..97496754e21fd6432ebd3faeb38955819cbab714 100644 GIT binary patch delta 38 ucmebCW0UXZ;E-HBkxgH6;|3$601n>5Fask4qX&U9|y7y!-e3fBMt diff --git a/libvirt/HEADER.txt b/libvirt/HEADER.txt new file mode 100644 index 0000000..4208954 --- /dev/null +++ b/libvirt/HEADER.txt @@ -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------------------------------------------------------| +libvirt: libvirt (The virtualization API) +libvirt: +libvirt: libvirt is a toolkit to interact with the virtualization +libvirt: capabilities of recent versions of Linux (and other OSes). +libvirt: +libvirt: Homepage: http://libvirt.org +libvirt: +libvirt: +libvirt: +libvirt: +libvirt: diff --git a/libvirt/README b/libvirt/README new file mode 100644 index 0000000..4208954 --- /dev/null +++ b/libvirt/README @@ -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------------------------------------------------------| +libvirt: libvirt (The virtualization API) +libvirt: +libvirt: libvirt is a toolkit to interact with the virtualization +libvirt: capabilities of recent versions of Linux (and other OSes). +libvirt: +libvirt: Homepage: http://libvirt.org +libvirt: +libvirt: +libvirt: +libvirt: +libvirt: diff --git a/libvirt/build/README b/libvirt/build/README new file mode 100644 index 0000000..865d1a5 --- /dev/null +++ b/libvirt/build/README @@ -0,0 +1,53 @@ +libvirt - The virtualization API + +libvirt is a toolkit to interact with the virtualization +capabilities of recent versions of Linux (and other OSes). + +Most optional dependencies are autodetected and having the required +libs in place will build the respective features automatically. + +The group can be specified at build time like this: +VIRTGROUP=somegroup ./libvirt.SlackBuild (default: users) +You'll want to keep this in sync with what qemu uses (it also +defaults to the "users" group). + +If you want to start the libvirt daemon at boot, add this +to /etc/rc.d/rc.local + + # Start libvirt: + if [ -x /etc/rc.d/rc.libvirt ]; then + /etc/rc.d/rc.libvirt start + fi + +and if you want it to stop at shutdown add this to +/etc/rc.d/rc.local_shutdown + + # Stop libvirt: + if [ -x /etc/rc.d/rc.libvirt ]; then + /etc/rc.d/rc.libvirt stop + fi + +The enclosed rc.libvirt script will do a 'managedsave' on all running +and paused guests when issuing 'rc.libvirt stop'. Please note that this +saves the RAM of each guest to the host system's disk (by default under +/var/lib/libvirt/qemu/save) - so make sure enough space is available. If +you prefer to perform a full shutdown on all running guests instead, +issue a 'rc.libvirt guests_shutdown' followed by 'rc.libvirt shutdown'. + +By default 'rc.libvirt stop' and 'rc.libvirt guests_shutdown' will wait +a maximum of 5 minutes for all guests to shutdown, after which any +guests still running will be destroyed. Adjust this to a suitable value +for your system, as destroying a running guest carries a high risk of +data loss! + +There is also a 'guests_reboot' for rebooting all running guests. + +Have a look at the commented part of rc.libvirt for some gotchas. + +netcat-openbsd is an optional dependency (needed if you +want to connect from a remote host using virt-manager). +Other optional dependencies include avahi, xen, audit, glusterfs, +and numactl. + +As of the 4.5.0 version, you may have to remove any previously +installed versions of libvirt before this will build. diff --git a/libvirt/build/libvirt.SlackBuild b/libvirt/build/libvirt.SlackBuild new file mode 100644 index 0000000..0064101 --- /dev/null +++ b/libvirt/build/libvirt.SlackBuild @@ -0,0 +1,136 @@ +#!/bin/sh + +# Slackware build script for libvirt +# Written by Michal Bialozor +# Maintained by Robby Workman + +PRGNAM=libvirt +VERSION=${VERSION:-5.10.0} +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" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +VIRTGROUP=${VIRTGROUP:-users} + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.xz +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 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + +# we have sysctld files in /etc/sysctl.d +sed -i "s|(prefix)/lib/sysctl|(sysconfdir)/sysctl|" src/Makefile.in + +patch -p1 < $CWD/use-virtgroup-in-polkit-rules.diff +sed -i -e "s,@VIRTGROUP@,$VIRTGROUP,g" src/remote/libvirtd.rules + +# Since 5.10: "configure: error: Build directory must be different from source directory" +mkdir -p build +cd build +CFLAGS="$SLKCFLAGS" \ +../configure \ + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --bindir=/usr/sbin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --enable-static=no \ + --enable-shared=yes \ + --with-yajl \ + --with-qemu-group=$VIRTGROUP \ + --with-init-script=none + +make \ + HTML_DIR=/usr/doc/$PRGNAM-$VERSION \ + EXAMPLE_DIR=/usr/doc/$PRGNAM-$VERSION/examples +make \ + HTML_DIR=/usr/doc/$PRGNAM-$VERSION \ + EXAMPLE_DIR=/usr/doc/$PRGNAM-$VERSION/examples \ + install-strip DESTDIR=$PKG +cd .. + +# we don't have augeas +rm -fr $PKG/usr/share/augeas + +# add an rc.libvirt to start/stop/restart the daemon +install -D -m 0755 $CWD/rc.libvirt $PKG/etc/rc.d/rc.libvirt.new + +# we use $VIRTGROUP as our virtualization group, fix auth permissions, and +# consider the fact that by default we got no certs +sed -i \ + -e "s|^\#unix_sock_group\ =\ \"libvirt\"|unix_sock_group = \"$VIRTGROUP\"|" \ + -e "s|^\#unix_sock_rw_perms\ =\ \"0770\"|unix_sock_rw_perms = \"0770\"|" \ + -e "s|^\#auth_unix_ro.*|auth_unix_ro = \"none\"|" \ + -e "s|^\#auth_unix_rw.*|auth_unix_rw = \"none\"|" \ + -e "s|^\#listen_tls|listen_tls|" \ + $PKG/etc/libvirt/libvirtd.conf + +# still, we use $VIRTGROUP as our virtualization group +sed -i \ + -e "s|^\#group\ =\ \"root\"|group = \"$VIRTGROUP\"|" \ + $PKG/etc/libvirt/qemu.conf + +# disable seccomp support or else VMs won't start with new libvirt/qemu combo +sed -i "s|^\#seccomp_sandbox = 1|seccomp_sandbox = 0|" \ + $PKG/etc/libvirt/qemu.conf + +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 \ + AUTHORS ChangeLog COPYING* INSTALL README NEWS examples/polkit/* \ + $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 + +# Don't clobber existing configuration files +for i in etc/libvirt etc/libvirt/nwfilter etc/libvirt/qemu/networks etc/logrotate.d etc/sasl2 etc/sysctl.d; do + for j in $(ls -1 $PKG/$i); do + if [ ! -d $PKG/$i/$j ]; then + mv $PKG/$i/$j $PKG/$i/$j.new + echo "config $i/$j.new" >> $PKG/install/doinst.sh + fi + done +done + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/libvirt/build/libvirt.info b/libvirt/build/libvirt.info new file mode 100644 index 0000000..1bb424b --- /dev/null +++ b/libvirt/build/libvirt.info @@ -0,0 +1,10 @@ +PRGNAM="libvirt" +VERSION="5.10.0" +HOMEPAGE="http://libvirt.org" +DOWNLOAD="https://libvirt.org/sources/libvirt-5.10.0.tar.xz" +MD5SUM="d15aaba3f1e7dc311aacbded48f0dff7" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +REQUIRES="yajl" +MAINTAINER="Robby Workman" +EMAIL="rworkman@slackbuilds.org" diff --git a/libvirt/build/slack-desc b/libvirt/build/slack-desc new file mode 100644 index 0000000..4208954 --- /dev/null +++ b/libvirt/build/slack-desc @@ -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------------------------------------------------------| +libvirt: libvirt (The virtualization API) +libvirt: +libvirt: libvirt is a toolkit to interact with the virtualization +libvirt: capabilities of recent versions of Linux (and other OSes). +libvirt: +libvirt: Homepage: http://libvirt.org +libvirt: +libvirt: +libvirt: +libvirt: +libvirt: diff --git a/libvirt/doinst.sh b/libvirt/doinst.sh new file mode 100644 index 0000000..e1b32b3 --- /dev/null +++ b/libvirt/doinst.sh @@ -0,0 +1,26 @@ +config() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + # If there's no config file by that name, mv it over: + if [ ! -r $OLD ]; then + mv $NEW $OLD + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then + # toss the redundant copy + rm $NEW + fi + # Otherwise, we leave the .new copy for the admin to consider... +} + +preserve_perms() { + NEW="$1" + OLD="$(dirname $NEW)/$(basename $NEW .new)" + if [ -e $OLD ]; then + cp -a $OLD ${NEW}.incoming + cat $NEW > ${NEW}.incoming + mv ${NEW}.incoming $NEW + fi + config $NEW +} + +preserve_perms etc/rc.d/rc.libvirt.new + diff --git a/libvirt/rc.libvirt b/libvirt/rc.libvirt new file mode 100644 index 0000000..fb058a7 --- /dev/null +++ b/libvirt/rc.libvirt @@ -0,0 +1,255 @@ +#!/usr/bin/bash +# Init script for libvirtd on Slackware +# Written by Matteo Bernardini +# +# Note that a dnsmasq daemon is started by libvirtd itself to serve +# its virtual network, and possibly can conflict with a dnsmasq +# already running on the system, see +# http://wiki.libvirt.org/page/Libvirtd_and_dnsmasq +# Note also that the tun, vhost_net and kvm related modules are +# automatically loaded at start and removed at stop: edit the +# script if this behaviour conflicts with anything else running +# on your setup + +MODULES="tun vhost_net" +TIMEOUT=${TIMEOUT:-300} +LIBVIRTD_PIDFILE="/var/run/libvirt/libvirtd.pid" +LIBVIRTD_OPTS=${LIBVIRT_OPTS:-" -f /etc/libvirt/libvirtd.conf -p $LIBVIRTD_PIDFILE "} +VIRTLOGD_PIDFILE="/var/run/libvirt/virtlogd.pid" +VIRTLOGD_OPTS=${VIRTLOGD_OPTS:-" -f /etc/libvirt/virtlogd.conf -p $VIRTLOGD_PIDFILE "} +VIRTLOCKD_PIDFILE="/var/run/libvirt/virtlockd.pid" +VIRTLOCKD_OPTS=${VIRTLOCKD_OPTS:-" -f /etc/libvirt/virtlockd.conf -p $VIRTLOCKD_PIDFILE "} + +guests_reboot() { + + for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do + /usr/sbin/virsh reboot $machine + done + +} + +guests_shutdown() { + + for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do + /usr/sbin/virsh shutdown $machine & + done + + sleep 2 + + echo -n "Waiting for guests to finish shutting down..." + + count=0 + + while [ $(/usr/sbin/virsh list --name --state-running | grep -v ^$ | wc -l) -gt "0" ]; do + if [ "$count" -ge "$TIMEOUT" ];then + break + fi + echo -n "." + count=$(expr $count + 1) + sleep 1 + done + + echo "" + + if [ $(/usr/sbin/virsh list --name --state-running | grep -v ^$ | wc -l) -gt "0" ];then + + echo -n "The following guests are still running after $TIMEOUT seconds; destroying them: " + for machine in $(/usr/sbin/virsh list --name --state-running | grep -v ^$) ; do + /usr/sbin/virsh destroy $machine + echo -n "$machine " + done + + sleep 2 + else + # add back the seconds we waited before starting the count + count=$(expr $count + 2) + echo "Shutdown of guests took $count seconds..." + fi + +} + + +guests_managedsave() { + # apply managedsave on running and paused machines (as we can't distinguish between + # the two states while managedsave is being applied, so won't know when to finish waiting) + + for machine in $(/usr/sbin/virsh list --name | grep -v ^$) ; do + /usr/sbin/virsh managedsave $machine & + done + + sleep 2 + + echo -n "Waiting for managedsave to finish on all guests..." + + count=0 + + while [ $(/usr/sbin/virsh list --name | grep -v ^$ | wc -l) -gt "0" ]; do + if [ "$count" -ge "$TIMEOUT" ];then + break + fi + echo -n "." + count=$(expr $count + 1) + sleep 1 + done + + echo "" + + if [ $(/usr/sbin/virsh list --name | grep -v ^$ | wc -l) -gt "0" ];then + + echo -n "Following guests are still running after $TIMEOUT seconds, destroying them: " + for machine in $(/usr/sbin/virsh list --name | grep -v ^$) ; do + /usr/sbin/virsh destroy $machine + echo -n "$machine " + done + + sleep 2 + else + # add back the seconds we waited before starting the count + count=$(expr $count + 2) + echo "Guests managed save took $count seconds..." + fi +} + +check_processor() { + + egrep 'vmx' /proc/cpuinfo > /dev/null + + if [ "$?" -eq "0" ];then + MODULES="$MODULES kvm_intel kvm" + fi + + check=$? + + egrep 'svm' /proc/cpuinfo > /dev/null + + if [ "$?" -eq "0" ];then + MODULES="$MODULES kvm_amd kvm" + fi + + check=$(expr $check + $?) + + if [ $check -eq "2" ];then + echo "Your system does not support KVM!" + fi + +} + +start_libvirtd() { + if [ -f $LIBVIRTD_PIDFILE ];then + echo "libvirt is already running..." + exit 1 + fi + echo "Starting libvirtd: /usr/sbin/libvirtd -d " + mkdir -p $(dirname $LIBVIRTD_PIDFILE) + check_processor + /sbin/modprobe -a $MODULES + /usr/sbin/libvirtd -d -l $LIBVIRTD_OPTS +} + +stop_libvirtd() { + if [ ! -f $LIBVIRTD_PIDFILE ];then + echo "libvirt is not running..." + exit 2 + fi + guests_managedsave + check_processor + echo "Stopping libvirtd..." + for network in $(/usr/sbin/virsh net-list --name); do + /usr/sbin/virsh net-destroy "$network" + done + kill -TERM $(cat $LIBVIRTD_PIDFILE) + sleep 3 + /sbin/modprobe -ra $MODULES 2>/dev/null +} + +start_virtlogd() { + if [ -f $VIRTLOGD_PIDFILE ];then + echo "virtlogd is already running..." + exit 1 + fi + echo "Starting virtlogd: /usr/sbin/virtlogd -d " + mkdir -p $(dirname $VIRTLOGD_PIDFILE) + /usr/sbin/virtlogd -d $VIRTLOGD_OPTS +} + +stop_virtlogd() { + if [ ! -f $VIRTLOGD_PIDFILE ];then + echo "virtlogd is not running..." + exit 2 + fi + echo "Stopping virtlogd..." + kill -TERM $(cat $VIRTLOGD_PIDFILE) + sleep 1 +} + +start_virtlockd() { + if [ -f $VIRTLOCKD_PIDFILE ];then + echo "virtlockd is already running..." + exit 1 + fi + echo "Starting virtlockd: /usr/sbin/virtlockd -d " + mkdir -p $(dirname $VIRTLOCKD_PIDFILE) + /usr/sbin/virtlockd -d $VIRTLOCKD_OPTS +} + +stop_virtlockd() { + if [ ! -f $VIRTLOCKD_PIDFILE ];then + echo "virtlockd is not running..." + exit 2 + fi + echo "Stopping virtlockd..." + kill -TERM $(cat $VIRTLOCKD_PIDFILE) + sleep 1 +} + +soft_restart() { + echo "Soft-restarting libvirt..." + if [ ! -f $LIBVIRTD_PIDFILE ];then + echo "libvirt is not running..." + exit 2 + fi + echo "Stopping libvirtd..." + kill -TERM $(cat $LIBVIRTD_PIDFILE) + sleep 3 + stop_virtlogd + stop_virtlockd + sleep 1 + start_virtlockd + start_virtlogd + start_libvirtd +} + +case $1 in +start) + start_virtlockd + start_virtlogd + start_libvirtd + ;; +stop) + stop_libvirtd + stop_virtlogd + stop_virtlockd + ;; +restart) + stop_libvirtd + stop_virtlogd + stop_virtlockd + sleep 2 + start_virtlockd + start_virtlogd + start_libvirtd + ;; +soft_restart) + soft_restart + ;; +guests_shutdown) + guests_shutdown + ;; +guests_reboot) + guests_reboot + ;; +*) + echo "Usage: $0 (start|stop|restart|soft_restart|guests_shutdown|guests_reboot)" + ;; +esac + diff --git a/libvirt/use-virtgroup-in-polkit-rules.diff b/libvirt/use-virtgroup-in-polkit-rules.diff new file mode 100644 index 0000000..10c6265 --- /dev/null +++ b/libvirt/use-virtgroup-in-polkit-rules.diff @@ -0,0 +1,15 @@ +diff -Nur libvirt-4.6.0.orig/src/remote/libvirtd.rules libvirt-4.6.0/src/remote/libvirtd.rules +--- libvirt-4.6.0.orig/src/remote/libvirtd.rules 2018-02-26 03:02:18.496310271 -0600 ++++ libvirt-4.6.0/src/remote/libvirtd.rules 2018-08-12 21:55:35.293691409 -0500 +@@ -1,9 +1,9 @@ +-// Allow any user in the 'libvirt' group to connect to system libvirtd ++// Allow any user in the '@VIRTGROUP@' group to connect to system libvirtd + // without entering a password. + + polkit.addRule(function(action, subject) { + if (action.id == "org.libvirt.unix.manage" && +- subject.isInGroup("libvirt")) { ++ subject.isInGroup("@VIRTGROUP@")) { + return polkit.Result.YES; + } + });