From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54A091382FF for ; Tue, 12 Jul 2016 00:53:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F62821C038; Tue, 12 Jul 2016 00:53:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6A1E21C038 for ; Tue, 12 Jul 2016 00:53:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D1D0E340D56 for ; Tue, 12 Jul 2016 00:53:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9F11242F for ; Tue, 12 Jul 2016 00:53:47 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1468284820.b3e02158edf8174dcc898f0118d0fe75064e0758.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/ganeti/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/ganeti/ganeti-2.15.2-r5.ebuild app-emulation/ganeti/metadata.xml X-VCS-Directories: app-emulation/ganeti/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: b3e02158edf8174dcc898f0118d0fe75064e0758 X-VCS-Branch: master Date: Tue, 12 Jul 2016 00:53:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 59334bf1-5558-4fe1-972b-5b5583ab28db X-Archives-Hash: 9b128126555d42176da3601502dce1b1 commit: b3e02158edf8174dcc898f0118d0fe75064e0758 Author: Robin H. Johnson gentoo org> AuthorDate: Tue Jul 12 00:40:13 2016 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Tue Jul 12 00:53:40 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e02158 app-emulation/ganeti: support USE=restricted-commands, tweak haskell flags and socat. Package-Manager: portage-2.2.28 app-emulation/ganeti/ganeti-2.15.2-r5.ebuild | 10 +++++++--- app-emulation/ganeti/metadata.xml | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild b/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild index e1c3ee4..a144974 100644 --- a/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild +++ b/app-emulation/ganeti/ganeti-2.15.2-r5.ebuild @@ -41,7 +41,7 @@ HOMEPAGE="http://www.ganeti.org/" LICENSE="GPL-2" SLOT="0" -IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen" +IUSE="drbd haskell-daemons htools ipv6 kvm lxc monitoring multiple-users rbd syslog test xen restricted-commands" REQUIRED_USE="|| ( kvm xen lxc ) test? ( ipv6 ) @@ -159,7 +159,7 @@ DEPEND+=" >=dev-haskell/quickcheck-2.4.2:2= =net-misc/socat-1.7 dev-util/shelltestrunner )" @@ -251,6 +251,7 @@ src_configure () { --with-ssh-initscript=/etc/init.d/sshd \ --with-export-dir=/var/lib/ganeti-storage/export \ --with-os-search-path=/usr/share/${PN}/os \ + $(use_enable restricted-commands) \ $(use_enable test haskell-tests) \ $(usex multiple-users "--with-default-user=" "" "gnt-daemons" "") \ $(usex multiple-users "--with-user-prefix=" "" "${USER_PREFIX}" "") \ @@ -259,7 +260,10 @@ src_configure () { $(use_enable syslog) \ $(use_enable monitoring) \ $(usex kvm '--with-kvm-path=' '' "/usr/bin/qemu-system-${kvm_arch}" '') \ - $(usex haskell-daemons "--enable-confd=haskell" '' '' '') + $(usex haskell-daemons "--enable-confd=haskell" '' '' '') \ + --with-haskell-flags="-optl -Wl,-z,relro -optl -Wl,--as-needed" \ + --enable-socat-escape \ + --enable-socat-compress } src_install () { diff --git a/app-emulation/ganeti/metadata.xml b/app-emulation/ganeti/metadata.xml index 6fbe4e9..2693e91 100644 --- a/app-emulation/ganeti/metadata.xml +++ b/app-emulation/ganeti/metadata.xml @@ -31,6 +31,7 @@ Enable Linux Countainers support Enable support for running VMs as different users Enable the ganeti monitoring daemon + Enable restricted commands in the node daemon Enable rados block device support via sys-cluster/ceph Enable Xen support