sys-cluster/glusterfs: Update 9999 with new silent rules patch
authorJames Le Cuirot <chewi@gentoo.org>
Thu, 8 Mar 2018 23:02:34 +0000 (23:02 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Thu, 8 Mar 2018 23:06:12 +0000 (23:06 +0000)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

sys-cluster/glusterfs/files/glusterfs-4.1.0-silent_rules.patch [new file with mode: 0644]
sys-cluster/glusterfs/glusterfs-9999.ebuild

diff --git a/sys-cluster/glusterfs/files/glusterfs-4.1.0-silent_rules.patch b/sys-cluster/glusterfs/files/glusterfs-4.1.0-silent_rules.patch
new file mode 100644 (file)
index 0000000..236898a
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Naur a/configure.ac b/configure.ac
+--- a/configure.ac     2018-03-08 22:50:23.221758897 +0000
++++ b/configure.ac     2018-03-08 22:53:12.776129757 +0000
+@@ -19,11 +19,6 @@
+ #but libglusterfs fails to build with contrib (Then are not set up that way?)
+ #AM_INIT_AUTOMAKE([subdir-objects])
+ 
+-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES(yes)])
+-
+-if make --help 2>&1 | grep -q no-print-directory; then
+-   AM_MAKEFLAGS="$AM_MAKEFLAGS --no-print-directory";
+-fi
+ 
+ AC_CONFIG_HEADERS([config.h site.h])
+ 
index 4615e8fa7565857c19204f5c4218df94c96845d7..2733e7788033df0c2c2d3771007973594b7c9b3b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -65,7 +65,7 @@ SITEFILE="50${PN}-mode-gentoo.el"
 
 PATCHES=(
        "${FILESDIR}/${PN}-3.12.2-poisoned-sysmacros.patch"
-       "${FILESDIR}/${PN}-3.12.2-silent_rules.patch"
+       "${FILESDIR}/${PN}-4.1.0-silent_rules.patch"
 )
 
 DOCS=( AUTHORS ChangeLog NEWS README.md THANKS )
@@ -178,7 +178,7 @@ src_install() {
        newconfd "${FILESDIR}/${PN}.confd" glusterfsd
 
        keepdir /var/log/${PN}
-       keepdir /var/lib/glusterd
+       keepdir /var/lib/glusterd/{events,glusterfind/.keys}
 
        # QA
        rm -r "${ED}/var/run/" || die