public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: sys-cluster/glusterfs/
@ 2015-09-07  8:22 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2015-09-07  8:22 UTC (permalink / raw
  To: gentoo-commits

commit:     b2283a1ef41d140f4d5c88caf4f442961f0dd9ec
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  7 08:20:34 2015 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon Sep  7 08:20:34 2015 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=b2283a1e

sys-cluster/glusterfs: add test deps and restrict them

 sys-cluster/glusterfs/glusterfs-3.7.3.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild b/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild
index e653810..31c48ad 100644
--- a/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild
+++ b/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild
@@ -21,6 +21,9 @@ IUSE="bd-xlator crypt-xlator debug emacs +fuse +georeplication glupy infiniband
 REQUIRED_USE="georeplication? ( ${PYTHON_REQUIRED_USE} )
 	glupy? ( ${PYTHON_REQUIRED_USE} )"
 
+# the tests must be run as root
+RESTRICT="test"
+
 # sys-apps/util-linux is required for libuuid
 RDEPEND="bd-xlator? ( sys-fs/lvm2 )
 	emacs? ( virtual/emacs )
@@ -41,7 +44,14 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	sys-devel/bison
 	sys-devel/flex
-	test? ( >=dev-util/cmocka-1.0.1 )"
+	test? ( >=dev-util/cmocka-1.0.1
+		app-benchmarks/dbench
+		dev-vcs/git
+		net-fs/nfs-utils
+		virtual/perl-Test-Harness
+		dev-libs/yajl
+		sys-fs/xfsprogs
+		sys-apps/attr )"
 
 SITEFILE="50${PN}-mode-gentoo.el"
 
@@ -157,6 +167,10 @@ src_install() {
 	use georeplication && python_fix_shebang "${ED}"
 }
 
+src_test() {
+	./run-tests.sh || die
+}
+
 pkg_postinst() {
 	elog "Starting with ${PN}-3.1.0, you can use the glusterd daemon to configure your"
 	elog "volumes dynamically. To do so, simply use the gluster CLI after running:"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] dev/dev-zero:master commit in: sys-cluster/glusterfs/
@ 2015-09-08 11:27 Tiziano Müller
  0 siblings, 0 replies; 2+ messages in thread
From: Tiziano Müller @ 2015-09-08 11:27 UTC (permalink / raw
  To: gentoo-commits

commit:     f899d148974b6e1454fdbd6948cfe312d3a5ba29
Author:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  8 11:27:21 2015 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Tue Sep  8 11:27:21 2015 +0000
URL:        https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=f899d148

sys-cluster/glusterfs: bump to 3.7.4 and add tmpfiles.d file

 sys-cluster/glusterfs/Manifest                                      | 2 +-
 .../glusterfs/{glusterfs-3.7.3.ebuild => glusterfs-3.7.4.ebuild}    | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/glusterfs/Manifest b/sys-cluster/glusterfs/Manifest
index 5d405a7..0a5ee5e 100644
--- a/sys-cluster/glusterfs/Manifest
+++ b/sys-cluster/glusterfs/Manifest
@@ -1 +1 @@
-DIST glusterfs-3.7.3.tar.gz 7446956 SHA256 1beaec44d2ac47ebc674278851b3e332feaeaf631edc26cd5efe81a8f3edbf75 SHA512 ed29647ebd4ae757649d63cfd86b08eae028bc5faeb47b5f8da78a5bb904c9dc3ffe9bc2be5d779f2427c8c97b18d1db0797c896615cb392c3ea584568814d9d WHIRLPOOL 849ac22cfb0ac52a58a717d4ade4df7cc222860a85535cda5875d6481f2a89bc60afc1523d697003f52d859f7ca0c9d459daee76dec1494059343603373c89f4
+DIST glusterfs-3.7.4.tar.gz 7552110 SHA256 f98f448117d1de7666ae425eddd8d7d87b02c57f6627234ce96ba60566f47173 SHA512 f9a281f3a37835f9f54679740ddb19b307babe576a8f14c9ef24d256f483789c227d7e7c5b0ed4ef5c13a257bcf00d0c17b6108fa60c5e45d0175df6e236b3a5 WHIRLPOOL 7b0320936de078234228cb691f3e381da3cc89c638d6246aba63695aa36cb114afca6e53d12d23de441b8da0b3a594ac1702b450d5d14720254af73e689c4ab8

diff --git a/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild b/sys-cluster/glusterfs/glusterfs-3.7.4.ebuild
similarity index 95%
rename from sys-cluster/glusterfs/glusterfs-3.7.3.ebuild
rename to sys-cluster/glusterfs/glusterfs-3.7.4.ebuild
index 31c48ad..63405a2 100644
--- a/sys-cluster/glusterfs/glusterfs-3.7.3.ebuild
+++ b/sys-cluster/glusterfs/glusterfs-3.7.4.ebuild
@@ -7,7 +7,7 @@ EAPI=5
 PYTHON_COMPAT=( python2_7 )
 AUTOTOOLS_AUTORECONF=1
 
-inherit autotools-utils elisp-common eutils multilib python-single-r1 versionator
+inherit autotools-utils elisp-common eutils multilib python-single-r1 systemd versionator
 
 DESCRIPTION="GlusterFS is a powerful network/cluster filesystem"
 HOMEPAGE="http://www.gluster.org/"
@@ -165,6 +165,10 @@ src_install() {
 	use static-libs || find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete
 
 	use georeplication && python_fix_shebang "${ED}"
+
+	# upstream already has a patch ready, to be removed once available, http://review.gluster.org/#/c/9458/
+	echo "d /run/gluster 0755 root root -" > "${T}/gluster.tmpfiles" || die
+	systemd_newtmpfilesd "${T}/gluster.tmpfiles" gluster.conf
 }
 
 src_test() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-08 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 11:27 [gentoo-commits] dev/dev-zero:master commit in: sys-cluster/glusterfs/ Tiziano Müller
  -- strict thread matches above, loose matches on Subject: below --
2015-09-07  8:22 Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox