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 79A251382C5 for ; Tue, 30 Jun 2020 13:31:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 62D97E09DA; Tue, 30 Jun 2020 13:31:18 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C1CDE09DA for ; Tue, 30 Jun 2020 13:31:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D80E934EF3C for ; Tue, 30 Jun 2020 13:31:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D36622C6 for ; Tue, 30 Jun 2020 13:31:14 +0000 (UTC) From: "Thomas Deutschmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Deutschmann" Message-ID: <1593523858.a9c6dc1ae3be00280577ba3a8f402c6305294a8a.whissi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/glusterfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/glusterfs/glusterfs-9999.ebuild sys-cluster/glusterfs/metadata.xml X-VCS-Directories: sys-cluster/glusterfs/ X-VCS-Committer: whissi X-VCS-Committer-Name: Thomas Deutschmann X-VCS-Revision: a9c6dc1ae3be00280577ba3a8f402c6305294a8a X-VCS-Branch: master Date: Tue, 30 Jun 2020 13:31:14 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b39329ad-d441-4a74-9b6a-803a831a5cab X-Archives-Hash: dd490f2c7e816ed05ded9b2d9bd0e2e4 commit: a9c6dc1ae3be00280577ba3a8f402c6305294a8a Author: Tomáš Mózes gmail com> AuthorDate: Tue Jun 30 08:40:34 2020 +0000 Commit: Thomas Deutschmann gentoo org> CommitDate: Tue Jun 30 13:30:58 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9c6dc1a sys-cluster/glusterfs: sync live ebuild Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Tomáš Mózes gmail.com> Closes: https://github.com/gentoo/gentoo/pull/16502 Signed-off-by: Thomas Deutschmann gentoo.org> sys-cluster/glusterfs/glusterfs-9999.ebuild | 64 +++++++++++------------------ sys-cluster/glusterfs/metadata.xml | 6 --- 2 files changed, 24 insertions(+), 46 deletions(-) diff --git a/sys-cluster/glusterfs/glusterfs-9999.ebuild b/sys-cluster/glusterfs/glusterfs-9999.ebuild index 544b9e693be..718ab4740bc 100644 --- a/sys-cluster/glusterfs/glusterfs-9999.ebuild +++ b/sys-cluster/glusterfs/glusterfs-9999.ebuild @@ -3,15 +3,15 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 ) +PYTHON_COMPAT=( python3_{6..9} ) -inherit autotools elisp-common python-single-r1 systemd user +inherit autotools elisp-common python-single-r1 systemd if [[ ${PV#9999} != ${PV} ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/gluster/glusterfs.git" else - SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(ver_cut '1-2')/${PV}/${P}.tar.gz" + SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(ver_cut 1)/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" fi @@ -20,40 +20,39 @@ HOMEPAGE="https://www.gluster.org/" LICENSE="|| ( GPL-2 LGPL-3+ )" SLOT="0" -IUSE="bd-xlator crypt-xlator debug emacs +fuse +georeplication glupy infiniband ipv6 libressl +libtirpc qemu-block rsyslog static-libs +syslog systemtap test +tiering vim-syntax +xml" +IUSE="debug emacs +fuse +georeplication infiniband ipv6 libressl +libtirpc rsyslog static-libs +syslog test vim-syntax +xml" REQUIRED_USE="georeplication? ( ${PYTHON_REQUIRED_USE} ) - glupy? ( ${PYTHON_REQUIRED_USE} ) ipv6? ( libtirpc )" # the tests must be run as root RESTRICT="test" # sys-apps/util-linux is required for libuuid -RDEPEND="bd-xlator? ( sys-fs/lvm2 ) - !elibc_glibc? ( sys-libs/argp-standalone ) +RDEPEND=" + acct-group/gluster + acct-user/gluster + dev-libs/libaio + dev-libs/userspace-rcu:= + net-libs/rpcsvc-proto + sys-apps/util-linux + sys-libs/readline:= emacs? ( >=app-editors/emacs-23.1:* ) fuse? ( >=sys-fs/fuse-2.7.0:0 ) georeplication? ( ${PYTHON_DEPS} ) infiniband? ( sys-fabric/libibverbs:* sys-fabric/librdmacm:* ) + xml? ( dev-libs/libxml2 ) + !elibc_glibc? ( sys-libs/argp-standalone ) libtirpc? ( net-libs/libtirpc:= ) !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) ) - qemu-block? ( dev-libs/glib:2 ) - systemtap? ( dev-util/systemtap ) - tiering? ( dev-db/sqlite:3 ) - xml? ( dev-libs/libxml2 ) - sys-libs/readline:= - dev-libs/libaio !libressl? ( dev-libs/openssl:=[-bindist] ) libressl? ( dev-libs/libressl:= ) - dev-libs/userspace-rcu:= - net-libs/rpcsvc-proto - sys-apps/util-linux" -DEPEND="${RDEPEND} - virtual/acl - virtual/pkgconfig +" +DEPEND=" + ${RDEPEND} sys-devel/bison sys-devel/flex + virtual/acl test? ( >=dev-util/cmocka-1.0.1 app-benchmarks/dbench dev-vcs/git @@ -61,15 +60,14 @@ DEPEND="${RDEPEND} virtual/perl-Test-Harness dev-libs/yajl sys-fs/xfsprogs - sys-apps/attr )" + sys-apps/attr ) +" +BDEPEND=" + virtual/pkgconfig +" SITEFILE="50${PN}-mode-gentoo.el" -PATCHES=( - "${FILESDIR}/${PN}-3.12.2-poisoned-sysmacros.patch" - "${FILESDIR}/${PN}-4.1.0-silent_rules.patch" -) - DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) # Maintainer notes: @@ -78,13 +76,8 @@ DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) # glibc or if argp-standalone is installed. pkg_setup() { - python_setup "python2*" + python_setup "python3*" python-single-r1_pkg_setup - - # Needed for statedumps - # https://github.com/gluster/glusterfs/commit/0e50c4b3ea734456c14e2d7a578463999bd332c3 - enewgroup gluster - enewuser gluster -1 -1 "${EPREFIX}"/var/run/gluster gluster } src_prepare() { @@ -104,18 +97,12 @@ src_configure() { econf \ --disable-fusermount \ $(use_enable debug) \ - $(use_enable bd-xlator) \ - $(use_enable crypt-xlator) \ $(use_enable fuse fuse-client) \ $(use_enable georeplication) \ - $(use_enable glupy) \ $(use_enable infiniband ibverbs) \ - $(use_enable qemu-block) \ $(use_enable static-libs static) \ $(use_enable syslog) \ - $(use_enable systemtap) \ $(use_enable test cmocka) \ - $(use_enable tiering) \ $(use_enable xml xml-output) \ $(use libtirpc || echo --without-libtirpc) \ $(use ipv6 && echo --with-ipv6-default) \ @@ -184,9 +171,6 @@ src_install() { if ! use static-libs; then find "${D}" -type f -name '*.la' -delete || die fi - - # fix all shebang for python2 #560750 - python_fix_shebang "${ED}" } src_test() { diff --git a/sys-cluster/glusterfs/metadata.xml b/sys-cluster/glusterfs/metadata.xml index ce2361e3e3e..a521dcb91e6 100644 --- a/sys-cluster/glusterfs/metadata.xml +++ b/sys-cluster/glusterfs/metadata.xml @@ -9,18 +9,12 @@ GlusterFS is a cluster file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is based on a stackable user space design without compromising performance. - Enable the blockdevice translator (requires sys-fs/lvm2) - Enable the encryption translator Add FUSE mount helper - Enable support for translators written in Python Enable support for georeplication (requires dev-lang/python) Add support for Infiniband ibverbs transport. Libraries can be found in science overlay Use IPv6 by default, requires libtirpc Build against net-libs/libtirpc for RPC support Install configuration snippet for app-admin/rsyslog - Transparently create files as QCow2/QED images in the backend, including the possibility to snapshot. - Enable support for dev-util/systemtap - Enable support for data classification/tiering (requires dev-db/sqlite SLOT 3)