app-emulation/libvirt: remove --listen parameter for systemd unit files
authorMatthias Maier <tamiko@gentoo.org>
Mon, 6 Apr 2020 17:41:08 +0000 (12:41 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 6 Apr 2020 17:46:30 +0000 (12:46 -0500)
Upstream-Changes: https://www.redhat.com/archives/libvir-list/2019-August/msg01070.html
Closes: https://bugs.gentoo.org/716452
Package-Manager: Portage-2.3.96, Repoman-2.3.22
RepoMan-Options: --force
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/libvirt/files/README.gentoo-r3 [moved from app-emulation/libvirt/files/README.gentoo-r2 with 94% similarity]
app-emulation/libvirt/files/libvirtd.service.conf [deleted file]
app-emulation/libvirt/libvirt-6.0.0-r3.ebuild [moved from app-emulation/libvirt/libvirt-6.0.0-r2.ebuild with 98% similarity]
app-emulation/libvirt/libvirt-6.1.0-r1.ebuild [moved from app-emulation/libvirt/libvirt-6.2.0.ebuild with 98% similarity]
app-emulation/libvirt/libvirt-6.2.0-r1.ebuild [moved from app-emulation/libvirt/libvirt-6.1.0.ebuild with 98% similarity]
app-emulation/libvirt/libvirt-9999.ebuild

similarity index 94%
rename from app-emulation/libvirt/files/README.gentoo-r2
rename to app-emulation/libvirt/files/README.gentoo-r3
index 6d6fb18ed3c8fd85d674062443eaa7e08e2418bc..1fec12f0c02551c2572c15a91051cc62b37a194f 100644 (file)
@@ -36,8 +36,8 @@ For openrc users:
 
 For systemd users:
 
-       Please use /etc/systemd/system/libvirtd.service.d/00gentoo.conf
-       to control the '--listen' parameter for libvirtd.
+       The '--listen' parameter is unavailable when libvirtd is run as a
+    systemd unit.
 
        The configuration for the 'libvirt-guests.service' is found under
        /etc/libvirt/libvirt-guests.conf"
diff --git a/app-emulation/libvirt/files/libvirtd.service.conf b/app-emulation/libvirt/files/libvirtd.service.conf
deleted file mode 100644 (file)
index f087922..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Uncomment the following three lines to start libvirtd with the '--listen'
-# directive such that it listens for TCP/IP connections (honoring the
-# listen_tls and listen_tcp settings in /etc/libvirt/libvirtd.conf). If
-# libvirtd is started without the '--listen' parameter, network connection
-# (for the daemon) is globally disabled:
-
-# [Service]
-# ExecStart=
-# ExecStart=/usr/sbin/libvirtd --listen
-
similarity index 98%
rename from app-emulation/libvirt/libvirt-6.0.0-r2.ebuild
rename to app-emulation/libvirt/libvirt-6.0.0-r3.ebuild
index 80289b5c551efcbf51aba9dbe0c1907526238567..93f45ac0a1cc76c1db8fb09b586569bb559ad7c9 100644 (file)
@@ -326,9 +326,6 @@ my_src_install() {
        use libvirtd || return 0
        # From here, only libvirtd-related instructions, be warned!
 
-       systemd_install_serviced \
-               "${FILESDIR}"/libvirtd.service.conf libvirtd.service
-
        systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
 
        newinitd "${S}/libvirtd.init" libvirtd
@@ -339,7 +336,7 @@ my_src_install() {
        newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
        newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
 
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
+       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
        DISABLE_AUTOFORMATTING=true
        readme.gentoo_create_doc
 }
similarity index 98%
rename from app-emulation/libvirt/libvirt-6.2.0.ebuild
rename to app-emulation/libvirt/libvirt-6.1.0-r1.ebuild
index 2761471088521b8ec26c14a2c47afd16ef6c4831..a387149a36415fa6bd057d8072fb4ff511873e6a 100644 (file)
@@ -324,9 +324,6 @@ my_src_install() {
        use libvirtd || return 0
        # From here, only libvirtd-related instructions, be warned!
 
-       systemd_install_serviced \
-               "${FILESDIR}"/libvirtd.service.conf libvirtd.service
-
        systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
 
        newinitd "${S}/libvirtd.init" libvirtd
@@ -337,7 +334,7 @@ my_src_install() {
        newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
        newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
 
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
+       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
        DISABLE_AUTOFORMATTING=true
        readme.gentoo_create_doc
 }
similarity index 98%
rename from app-emulation/libvirt/libvirt-6.1.0.ebuild
rename to app-emulation/libvirt/libvirt-6.2.0-r1.ebuild
index 2761471088521b8ec26c14a2c47afd16ef6c4831..a387149a36415fa6bd057d8072fb4ff511873e6a 100644 (file)
@@ -324,9 +324,6 @@ my_src_install() {
        use libvirtd || return 0
        # From here, only libvirtd-related instructions, be warned!
 
-       systemd_install_serviced \
-               "${FILESDIR}"/libvirtd.service.conf libvirtd.service
-
        systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
 
        newinitd "${S}/libvirtd.init" libvirtd
@@ -337,7 +334,7 @@ my_src_install() {
        newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
        newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
 
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
+       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
        DISABLE_AUTOFORMATTING=true
        readme.gentoo_create_doc
 }
index 4e84e0dcb8f6e9143ac8f3c96e39428b1666feb4..9d8951755786b97ecf719095a194876c3fc1cd54 100644 (file)
@@ -323,9 +323,6 @@ my_src_install() {
        use libvirtd || return 0
        # From here, only libvirtd-related instructions, be warned!
 
-       systemd_install_serviced \
-               "${FILESDIR}"/libvirtd.service.conf libvirtd.service
-
        systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
 
        newinitd "${S}/libvirtd.init" libvirtd
@@ -336,7 +333,7 @@ my_src_install() {
        newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
        newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
 
-       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
+       DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
        DISABLE_AUTOFORMATTING=true
        readme.gentoo_create_doc
 }