# Contributor: Santic # Maintainer: Santic pkgname=opennebula-node-kvm pkgver=6.8.0 pkgrel=1 pkgdesc="Services for OpenNebula KVM node (Community Edition)" url="https://opennebula.io/" arch="noarch" options="!check" license="Apache" depends=" opennebula-common libvirt-daemon qemu-img qemu-system-x86_64 ruby vlan ipset pciutils rsync tar cronie logrotate augeas libxml2 iptables" install=" ${pkgname}.post-install ${pkgname}.post-deinstall" source=" /etc/cron.d/opennebula-node /etc/init.d/opennebula-gate-proxy /etc/logrotate.d/opennebula-gate-proxy /etc/sudoers.d/opennebula-node-kvm /etc/sysctl.d/bridge-nf-call.conf /usr/bin/onegate-proxy /usr/bin/qemu-kvm-one-gen /usr/lib/one/onegate-proxy/onegate-proxy.rb " package() { install -Dm700 "${srcdir}/etc/cron.d/opennebula-node" "${pkgdir}/etc/cron.d/opennebula-node" install -Dm755 "${srcdir}/etc/init.d/opennebula-gate-proxy" "${pkgdir}/etc/init.d/opennebula-gate-proxy" install -Dm644 "${srcdir}/etc/logrotate.d/opennebula-gate-proxy" "${pkgdir}/etc/logrotate.d/opennebula-gate-proxy" install -Dm400 "${srcdir}/etc/sudoers.d/opennebula-node-kvm" "${pkgdir}/etc/sudoers.d/opennebula-node-kvm" install -Dm644 "${srcdir}/etc/sysctl.d/bridge-nf-call.conf" "${pkgdir}/etc/sysctl.d/bridge-nf-call.conf" install -Dm744 "${srcdir}/usr/bin/onegate-proxy" "${pkgdir}/usr/bin/onegate-proxy" install -Dm744 "${srcdir}/usr/bin/qemu-kvm-one-gen" "${pkgdir}/usr/bin/qemu-kvm-one-gen" install -Dm744 -o oneadmin -g cloud "${srcdir}/usr/lib/one/onegate-proxy/onegate-proxy.rb" "${pkgdir}/usr/lib/one/onegate-proxy/onegate-proxy.rb"