1 |
ultrabug 13/12/31 09:04:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: glusterfs-3.4.1.ebuild |
5 |
Log: |
6 |
version bump fix #489434 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B658FA13) |
9 |
|
10 |
Revision Changes Path |
11 |
1.51 sys-cluster/glusterfs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?rev=1.51&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?rev=1.51&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?r1=1.50&r2=1.51 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v |
20 |
retrieving revision 1.50 |
21 |
retrieving revision 1.51 |
22 |
diff -u -r1.50 -r1.51 |
23 |
--- ChangeLog 16 Oct 2013 12:20:01 -0000 1.50 |
24 |
+++ ChangeLog 31 Dec 2013 09:04:47 -0000 1.51 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-cluster/glusterfs |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v 1.50 2013/10/16 12:20:01 xarthisius Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v 1.51 2013/12/31 09:04:47 ultrabug Exp $ |
30 |
+ |
31 |
+*glusterfs-3.4.1 (31 Dec 2013) |
32 |
+ |
33 |
+ 31 Dec 2013; Ultrabug <ultrabug@g.o> +glusterfs-3.4.1.ebuild: |
34 |
+ version bump fix #489434 thx to László Szalma |
35 |
|
36 |
16 Oct 2013; Kacper Kowalik <xarthisius@g.o> -glusterfs-3.4.0.ebuild, |
37 |
glusterfs-3.4.0-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-cluster/glusterfs/glusterfs-3.4.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.4.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.4.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: glusterfs-3.4.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.4.1.ebuild,v 1.1 2013/12/31 09:04:47 ultrabug Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
55 |
AUTOTOOLS_AUTORECONF=1 |
56 |
|
57 |
inherit autotools-utils elisp-common eutils multilib python-single-r1 versionator |
58 |
|
59 |
DESCRIPTION="GlusterFS is a powerful network/cluster filesystem" |
60 |
HOMEPAGE="http://www.gluster.org/" |
61 |
SRC_URI="http://download.gluster.org/pub/gluster/${PN}/$(get_version_component_range '1-2')/${PV}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="|| ( GPL-2 LGPL-3+ )" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="bd-xlator debug emacs extras +fuse +georeplication infiniband static-libs systemtap vim-syntax" |
67 |
|
68 |
REQUIRED_USE="georeplication? ( ${PYTHON_REQUIRED_USE} )" |
69 |
|
70 |
RDEPEND="bd-xlator? ( sys-fs/lvm2 ) |
71 |
emacs? ( virtual/emacs ) |
72 |
fuse? ( >=sys-fs/fuse-2.7.0 ) |
73 |
georeplication? ( ${PYTHON_DEPS} ) |
74 |
infiniband? ( sys-infiniband/libibverbs sys-infiniband/librdmacm ) |
75 |
systemtap? ( dev-util/systemtap ) |
76 |
sys-libs/readline |
77 |
dev-libs/libaio |
78 |
dev-libs/libxml2 |
79 |
dev-libs/openssl |
80 |
|| ( sys-libs/glibc sys-libs/argp-standalone )" |
81 |
DEPEND="${RDEPEND} |
82 |
virtual/pkgconfig |
83 |
sys-devel/bison |
84 |
sys-devel/flex" |
85 |
|
86 |
SITEFILE="50${PN}-mode-gentoo.el" |
87 |
|
88 |
PATCHES=( |
89 |
"${FILESDIR}/${PN}-3.4.0-silent_rules.patch" |
90 |
"${FILESDIR}/${PN}-3.4.0-build-shared-only.patch" |
91 |
"${FILESDIR}/${PN}-3.4.0-nfs-exit-when-all-volumes-are-disabled.patch" |
92 |
) |
93 |
|
94 |
DOCS=( AUTHORS ChangeLog NEWS README THANKS ) |
95 |
|
96 |
# Maintainer notes: |
97 |
# * The build system will always configure & build argp-standalone but it'll never use it |
98 |
# if the argp.h header is found in the system. Which should be the case with |
99 |
# glibc or if argp-standalone is installed. |
100 |
|
101 |
pkg_setup() { |
102 |
use georeplication && python-single-r1_pkg_setup |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
local myeconfargs=( |
107 |
--disable-dependency-tracking |
108 |
--disable-silent-rules |
109 |
--disable-fusermount |
110 |
$(use_enable debug) |
111 |
$(use_enable bd-xlator ) |
112 |
$(use_enable fuse fuse-client) |
113 |
$(use_enable georeplication fuse-client) |
114 |
$(use_enable infiniband ibverbs) |
115 |
$(use_enable static-libs static) |
116 |
$(use_enable systemtap) |
117 |
--docdir=/usr/share/doc/${PF} |
118 |
--localstatedir=/var |
119 |
) |
120 |
autotools-utils_src_configure |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
autotools-utils_src_compile |
125 |
|
126 |
use emacs && elisp-compile extras/glusterfs-mode.el |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
autotools-utils_src_install |
131 |
|
132 |
rm "${D}/etc/glusterfs/glusterfs-logrotate" || die "removing false logrotate failed" |
133 |
insinto /etc/logrotate.d |
134 |
newins extras/glusterfs-logrotate glusterfs |
135 |
|
136 |
if use emacs ; then |
137 |
elisp-install ${PN} extras/glusterfs-mode.el* |
138 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
139 |
fi |
140 |
|
141 |
if use vim-syntax ; then |
142 |
insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}"/${PN}.vim |
143 |
insinto /usr/share/vim/vimfiles/syntax; doins extras/${PN}.vim |
144 |
fi |
145 |
|
146 |
if use extras ; then |
147 |
sed -i -e "s|quota-remove-xattr.sh|${PN}-quota-remove-xattr|" extras/quota-metadata-cleanup.sh || die "sed failed" |
148 |
for e in backend-xattr-sanitize backend-cleanup migrate-unify-to-distribute quota-metadata-cleanup quota-remove-xattr ; do |
149 |
newbin extras/${e}.sh ${PN}-${e} |
150 |
done |
151 |
newbin extras/disk_usage_sync.sh ${PN}-disk-usage-sync |
152 |
fi |
153 |
|
154 |
newinitd "${FILESDIR}/${PN}-r1.initd" glusterfsd |
155 |
newinitd "${FILESDIR}/glusterd-r1.initd" glusterd |
156 |
newconfd "${FILESDIR}/${PN}.confd" glusterfsd |
157 |
|
158 |
keepdir /var/log/${PN} |
159 |
keepdir /var/lib/glusterd |
160 |
|
161 |
use georeplication && python_fix_shebang "${ED}" |
162 |
} |
163 |
|
164 |
pkg_postinst() { |
165 |
elog "Starting with ${PN}-3.1.0, you can use the glusterd daemon to configure your" |
166 |
elog "volumes dynamically. To do so, simply use the gluster CLI after running:" |
167 |
elog " /etc/init.d/glusterd start" |
168 |
elog |
169 |
elog "For static configurations, the glusterfsd startup script can be multiplexed." |
170 |
elog "The default startup script uses /etc/conf.d/glusterfsd to configure the" |
171 |
elog "separate service. To create additional instances of the glusterfsd service" |
172 |
elog "simply create a symlink to the glusterfsd startup script." |
173 |
elog |
174 |
elog "Example:" |
175 |
elog " # ln -s glusterfsd /etc/init.d/glusterfsd2" |
176 |
elog " # ${EDITOR} /etc/glusterfs/glusterfsd2.vol" |
177 |
elog "You can now treat glusterfsd2 like any other service" |
178 |
elog |
179 |
ewarn "You need to use a ntp client to keep the clocks synchronized across all" |
180 |
ewarn "of your servers. Setup a NTP synchronizing service before attempting to" |
181 |
ewarn "run GlusterFS." |
182 |
|
183 |
elog |
184 |
elog "If you are upgrading from a previous version of ${PN}, please read:" |
185 |
elog " https://vbellur.wordpress.com/2013/07/15/upgrading-to-glusterfs-3-4/" |
186 |
|
187 |
use emacs && elisp-site-regen |
188 |
} |
189 |
|
190 |
pkg_postrm() { |
191 |
use emacs && elisp-site-regen |
192 |
} |