Re: [gentoo-dev] Packages up for grabs due to dev-zero's inactivity

2019-11-29 Thread Michal Privoznik

On 11/29/19 10:12 AM, Michał Górny wrote:

Hello,

The following packages are looking for a new maintainer due to dev-
zero's inactivity:




[  ] app-emulation/libvirt-snmp


As an upstream maintainer of this package I'm also willing to maintain 
it in Gentoo. However, so far I'm not a maintainer of any Gentoo package 
although I have couple of patches merged in.


Michal




[gentoo-dev] [PATCH] app-emulation/libvirt-snmp: version bump to 0.0.4

2018-10-25 Thread Michal Privoznik
Signed-off-by: Michal Privoznik 
---
 app-emulation/libvirt-snmp/Manifest   |  1 +
 .../libvirt-snmp/libvirt-snmp-0.0.4.ebuild| 40 +++
 2 files changed, 41 insertions(+)
 create mode 100644 app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild

diff --git a/app-emulation/libvirt-snmp/Manifest 
b/app-emulation/libvirt-snmp/Manifest
index ea3d956712a..b7eb38bce37 100644
--- a/app-emulation/libvirt-snmp/Manifest
+++ b/app-emulation/libvirt-snmp/Manifest
@@ -1,2 +1,3 @@
 DIST libvirt-snmp-0.0.2.tar.gz 152790 BLAKE2B 
b2e5eee2d67283112556c52921b14029a90d5cedf0c4575e056475191470a4b6bf5d837f1ca942b848f6509da4aa12daa508bbfc5272e1435e73fbfc290e1967
 SHA512 
13a522c765d278d3b8f8ab9f32f97c8531f6d131afcb0ce62ae397631db92ed3b585ad221a1f2b3bc17907cc4d61adca4a2071b0458a05f2bff5ca06191e1478
 DIST libvirt-snmp-0.0.3.tar.gz 161186 BLAKE2B 
1b43e7e81a43d4e969e2e30d7d62776743b3c5fb19929fb1606850946c665ad1ca662bee88743f60f202cd92fc42be1cc2cc94e99bf1d137df61bec09850de93
 SHA512 
6ffda3594ddc513e05e31e7d347a12e371dca3cc698ca790a70e2d01b2ceac6acb5dd6e3cd19723817b41aa62e0c0a49c01c47cb9ce379ac491856a7e88e5a08
+DIST libvirt-snmp-0.0.4.tar.gz 157859 BLAKE2B 
e2c8fcdd97ba9b55bd4d318c63f7738024c1360ee10aa4e685c2ea6ca02478206febff30f3e1a82eb1a2dadaa52a377cfbce538e12e33f4ea2fe10b1a089945d
 SHA512 
dbf47e7983f9bd6fcff205fffd1f6006268cca774cf427d39dec84dc7de37b545c0dfcbb2c6f171f55d73487cdec13341097137e24de2dea58ce90494d281162
diff --git a/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild 
b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild
new file mode 100644
index 000..f0eb657001f
--- /dev/null
+++ b/app-emulation/libvirt-snmp/libvirt-snmp-0.0.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils
+
+DESCRIPTION="Provides SNMP functionality for libvirt"
+HOMEPAGE="http://libvirt.org;
+SRC_URI="http://www.libvirt.org/sources/snmp/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+   app-emulation/libvirt
+   net-analyzer/net-snmp"
+BDEPEND="
+   virtual/pkgconfig"
+
+src_install() {
+   default
+   newinitd "${FILESDIR}/libvirt-snmp.initd-r1" "${PN}"
+   newconfd "${FILESDIR}/libvirt-snmp.confd" "${PN}"
+}
+
+pkg_postinst() {
+   elog "This daemon runs as an AgentX sub-daemon for snmpd. You should 
therefore"
+   elog "enable the AgentX functionality in snmpd by specifying the 
following"
+   elog "in /etc/snmp/snmpd.conf:"
+   elog "  master agentx"
+   elog "It is further recommended to send traps to the localhost as well 
using"
+   elog "this option:"
+   elog "  trap2sink localhost"
+   elog "More information is available here:"
+   elog "  http://wiki.libvirt.org/page/Libvirt-snmp;
+}
-- 
2.18.1




[gentoo-dev] [PATCH 2/2] app-emulation/qemu-9999: Drop sdl-1.2 support

2018-10-22 Thread Michal Privoznik
QEMU has deprecated sdl-1.2 support nearly a year ago (in
upstream commit of e52c6ba3414). It's not removed yet, but it
soon will be. Therefore, drop support for it in our ebuild. This
is achieved by basically dropping old 'sdl' use flag and then
renaming 'sdl2' to 'sdl'.

Signed-off-by: Michal Privoznik 
---
 app-emulation/qemu/qemu-.ebuild | 15 ---
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/app-emulation/qemu/qemu-.ebuild 
b/app-emulation/qemu/qemu-.ebuild
index 555a20f9237..b33e04e5152 100644
--- a/app-emulation/qemu/qemu-.ebuild
+++ b/app-emulation/qemu/qemu-.ebuild
@@ -30,7 +30,7 @@ SLOT="0"
 IUSE="accessibility +aio alsa bluetooth bzip2 capstone +caps +curl debug
+fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
-   pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
+   pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy
spice ssh static static-user systemtap tci test usb usbredir vde
+vhost-net virgl virtfs +vnc vte xattr xen xfs"
 
@@ -55,7 +55,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}
qemu_softmmu_targets_mips64el? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
-   sdl2? ( sdl )
static? ( static-user !alsa !bluetooth !gtk !opengl !pulseaudio !snappy 
)
virtfs? ( xattr )
vte? ( gtk )"
@@ -127,14 +126,8 @@ SOFTMMU_TOOLS_DEPEND="
rbd? ( sys-cluster/ceph[static-libs(+)] )
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
sdl? (
-   !sdl2? (
-   media-libs/libsdl[X]
-   >=media-libs/libsdl-1.2.11[static-libs(+)]
-   )
-   sdl2? (
-   media-libs/libsdl2[X]
-   media-libs/libsdl2[static-libs(+)]
-   )
+   media-libs/libsdl2[X]
+   media-libs/libsdl2[static-libs(+)]
)
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
@@ -488,7 +481,7 @@ qemu_src_configure() {
conf_opts+=(
--audio-drv-list="${audio_opts}"
)
-   use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
+   use sdl && conf_opts+=( --with-sdlabi=2.0 )
fi
 
case ${buildtype} in
-- 
2.18.1




[gentoo-dev] [PATCH 1/2] app-emulation/qemu-9999: Drop gtk2 use flag

2018-10-22 Thread Michal Privoznik
QEMU has deprecated gtk2 support nearly a year ago, and recently
it dropped the support completely (upstream commit 89d85cde75143).
Reflect this change in the live ebuild.

Signed-off-by: Michal Privoznik 
---
 app-emulation/qemu/qemu-.ebuild | 16 
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/app-emulation/qemu/qemu-.ebuild 
b/app-emulation/qemu/qemu-.ebuild
index 833c2349a4c..555a20f9237 100644
--- a/app-emulation/qemu/qemu-.ebuild
+++ b/app-emulation/qemu/qemu-.ebuild
@@ -28,7 +28,7 @@ HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org;
 LICENSE="GPL-2 LGPL-2 BSD-2"
 SLOT="0"
 IUSE="accessibility +aio alsa bluetooth bzip2 capstone +caps +curl debug
-   +fdt glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
+   +fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
spice ssh static static-user systemtap tci test usb usbredir vde
@@ -50,14 +50,13 @@ IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
 # Allow no targets to be built so that people can get a tools-only build.
 # Block USE flag configurations known to not work.
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
-   gtk2? ( gtk )
qemu_softmmu_targets_arm? ( fdt )
qemu_softmmu_targets_microblaze? ( fdt )
qemu_softmmu_targets_mips64el? ( fdt )
qemu_softmmu_targets_ppc? ( fdt )
qemu_softmmu_targets_ppc64? ( fdt )
sdl2? ( sdl )
-   static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio 
!snappy )
+   static? ( static-user !alsa !bluetooth !gtk !opengl !pulseaudio !snappy 
)
virtfs? ( xattr )
vte? ( gtk )"
 
@@ -100,14 +99,8 @@ SOFTMMU_TOOLS_DEPEND="
>=net-libs/gnutls-3.0:=[static-libs(+)]
)
gtk? (
-   gtk2? (
-   x11-libs/gtk+:2
-   vte? ( x11-libs/vte:0 )
-   )
-   !gtk2? (
-   x11-libs/gtk+:3
-   vte? ( x11-libs/vte:2.91 )
-   )
+   x11-libs/gtk+:3
+   vte? ( x11-libs/vte:2.91 )
)
infiniband? (
sys-fabric/libibumad:=[static-libs(+)]
@@ -495,7 +488,6 @@ qemu_src_configure() {
conf_opts+=(
--audio-drv-list="${audio_opts}"
)
-   use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
fi
 
-- 
2.18.1




[gentoo-dev] [PATCH 0/2] app-emulation/qemu-9999: Couple of sync patches

2018-10-22 Thread Michal Privoznik
QEMU upstream has changed a bit and thus we must update our ebuild.

Michal Privoznik (2):
  app-emulation/qemu-: Drop gtk2 use flag
  app-emulation/qemu-: Drop sdl-1.2 support

 app-emulation/qemu/qemu-.ebuild | 31 -
 1 file changed, 8 insertions(+), 23 deletions(-)

-- 
2.18.1




[gentoo-dev] [PATCH] app-emulation/virt-manager: Don's pass --qemu-user to configure

2018-10-15 Thread Michal Privoznik
virt-manager has dropped --qemu-user configure option in
e6738d9827492d. Update live ebulid to not pass it.

Signed-off-by: Michal Privoznik 
---
 app-emulation/virt-manager/virt-manager-.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-emulation/virt-manager/virt-manager-.ebuild 
b/app-emulation/virt-manager/virt-manager-.ebuild
index 7e88178f48f..69c24ad9817 100644
--- a/app-emulation/virt-manager/virt-manager-.ebuild
+++ b/app-emulation/virt-manager/virt-manager-.ebuild
@@ -61,7 +61,6 @@ distutils-r1_python_compile() {
local defgraphics=
 
esetup.py configure \
-   --qemu-user=qemu \
--default-graphics=spice
 }
 
-- 
2.18.1




[gentoo-dev] [PATCH] app-emulation/qemu-9999: Sync softmmu targets

2018-09-26 Thread Michal Privoznik
Qemu dropped ppcemb target in
a69dc537cc1a6d3c3cb35d30197ed45914a150c3.

Signed-off-by: Michal Privoznik 
---
 app-emulation/qemu/qemu-.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-emulation/qemu/qemu-.ebuild 
b/app-emulation/qemu/qemu-.ebuild
index 8f95e3f2a6e..833c2349a4c 100644
--- a/app-emulation/qemu/qemu-.ebuild
+++ b/app-emulation/qemu/qemu-.ebuild
@@ -38,7 +38,7 @@ COMMON_TARGETS="aarch64 alpha arm cris hppa i386 m68k 
microblaze microblazeel
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 riscv32 riscv64 s390x
sh4 sh4eb sparc sparc64 x86_64 xtensa xtensaeb"
 IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
-   lm32 moxie ppcemb tricore unicore32"
+   lm32 moxie tricore unicore32"
 IUSE_USER_TARGETS="${COMMON_TARGETS}
aarch64_be armeb mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus
tilegx"
-- 
2.16.4