Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/
Date: Mon, 10 Feb 2020 16:04:29
Message-Id: 1581350637.9d0cc6913081b83e692189b025b7f781e344a183.tamiko@gentoo
1 commit: 9d0cc6913081b83e692189b025b7f781e344a183
2 Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 10 16:03:11 2020 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 16:03:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0cc691
7
8 app-emulation/libvirt: Also update 6.0.0
9
10 Closes: https://bugs.gentoo.org/708782
11 Package-Manager: Portage-2.3.87, Repoman-2.3.20
12 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
13
14 ...ibvirt-6.0.0.ebuild => libvirt-6.0.0-r1.ebuild} | 22 ++--------------------
15 1 file changed, 2 insertions(+), 20 deletions(-)
16
17 diff --git a/app-emulation/libvirt/libvirt-6.0.0.ebuild b/app-emulation/libvirt/libvirt-6.0.0-r1.ebuild
18 similarity index 93%
19 rename from app-emulation/libvirt/libvirt-6.0.0.ebuild
20 rename to app-emulation/libvirt/libvirt-6.0.0-r1.ebuild
21 index 3c740c9ed17..477f8f977c0 100644
22 --- a/app-emulation/libvirt/libvirt-6.0.0.ebuild
23 +++ b/app-emulation/libvirt/libvirt-6.0.0-r1.ebuild
24 @@ -218,20 +218,6 @@ src_prepare() {
25
26 default
27
28 - if [[ ${PV} = *9999* ]]; then
29 - # Reinitialize submodules as this is required for gnulib's bootstrap
30 - git submodule init
31 - # git checkouts require bootstrapping to create the configure script.
32 - # Additionally the submodules must be cloned to the right locations
33 - # bug #377279
34 - ./bootstrap || die "bootstrap failed"
35 - (
36 - git submodule status .gnulib | awk '{ print $1 }'
37 - git hash-object bootstrap.conf
38 - git ls-tree -d HEAD gnulib/local | awk '{ print $3 }'
39 - ) >.git-module-status
40 - fi
41 -
42 # Tweak the init script:
43 cp "${FILESDIR}/libvirtd.init-r18" "${S}/libvirtd.init" || die
44 sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
45 @@ -296,6 +282,7 @@ my_src_configure() {
46 --disable-werror
47
48 --localstatedir=/var
49 + --with-runstatedir=/run
50 --enable-dependency-tracking
51 )
52
53 @@ -306,12 +293,6 @@ my_src_configure() {
54 fi
55
56 econf "${myeconfargs[@]}"
57 -
58 - if [[ ${PV} = *9999* ]]; then
59 - # Restore gnulib's config.sub and config.guess
60 - # bug #377279
61 - (cd "${S}"/.gnulib && git reset --hard > /dev/null)
62 - fi
63 }
64
65 my_src_test() {
66 @@ -336,6 +317,7 @@ my_src_install() {
67 # libvirtd is able to create them on demand
68 rm -rf "${D}"/etc/sysconfig
69 rm -rf "${D}"/var
70 + rm -rf "${D}"/run
71
72 newbashcomp "${S}/tools/bash-completion/vsh" virsh
73 bashcomp_alias virsh virt-admin