1 |
ultrabug 11/04/29 15:53:54 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: glusterfs-3.1.4-r1.ebuild |
5 |
Removed: glusterfs-3.1.4.ebuild |
6 |
Log: |
7 |
Respect user CFLAGS, fix compilation error on x86 platforms. |
8 |
|
9 |
(Portage version: 2.1.9.46/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.26 sys-cluster/glusterfs/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?rev=1.26&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?rev=1.26&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/ChangeLog?r1=1.25&r2=1.26 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v |
21 |
retrieving revision 1.25 |
22 |
retrieving revision 1.26 |
23 |
diff -u -r1.25 -r1.26 |
24 |
--- ChangeLog 27 Apr 2011 12:06:59 -0000 1.25 |
25 |
+++ ChangeLog 29 Apr 2011 15:53:54 -0000 1.26 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for sys-cluster/glusterfs |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v 1.25 2011/04/27 12:06:59 alexxy Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/ChangeLog,v 1.26 2011/04/29 15:53:54 ultrabug Exp $ |
31 |
+ |
32 |
+*glusterfs-3.1.4-r1 (29 Apr 2011) |
33 |
+ |
34 |
+ 29 Apr 2011; Ultrabug <ultrabug@g.o> -glusterfs-3.1.4.ebuild, |
35 |
+ +glusterfs-3.1.4-r1.ebuild: |
36 |
+ Respect user CFLAGS, fix compilation error on x86 platforms. Thanks to |
37 |
+ Ibrahim Ndaw for reporting. |
38 |
|
39 |
*glusterfs-3.1.4 (27 Apr 2011) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 sys-cluster/glusterfs/glusterfs-3.1.4-r1.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.1.4-r1.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.1.4-r1.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: glusterfs-3.1.4-r1.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2011 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.1.4-r1.ebuild,v 1.1 2011/04/29 15:53:54 ultrabug Exp $ |
54 |
|
55 |
EAPI="3" |
56 |
|
57 |
inherit autotools elisp-common eutils multilib versionator |
58 |
|
59 |
DESCRIPTION="GlusterFS is a powerful network/cluster filesystem" |
60 |
HOMEPAGE="http://www.gluster.org/" |
61 |
SRC_URI="http://ftp.gluster.com/pub/gluster/${PN}/$(get_version_component_range '1-2')/${PV}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="AGPL-3" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="emacs extras +fuse infiniband static-libs vim-syntax" |
67 |
|
68 |
DEPEND="emacs? ( virtual/emacs ) |
69 |
fuse? ( >=sys-fs/fuse-2.7.0 ) |
70 |
infiniband? ( sys-infiniband/libibverbs )" |
71 |
RDEPEND="${DEPEND}" |
72 |
|
73 |
SITEFILE="50${PN}-mode-gentoo.el" |
74 |
|
75 |
src_prepare() { |
76 |
epatch "${FILESDIR}/${PN}-3.1.0-parallel-build.patch" \ |
77 |
"${FILESDIR}/${PN}-docdir.patch" \ |
78 |
"${FILESDIR}/glusterd-workdir.patch" |
79 |
sed -i -e "s/ -ggdb3//g" -e "s/ -m64//g" argp-standalone/configure.ac || die |
80 |
eautoreconf |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
econf \ |
85 |
$(use_enable fuse fuse-client) \ |
86 |
$(use_enable infiniband ibverbs) \ |
87 |
$(use_enable static-libs static) \ |
88 |
--disable-bdb \ |
89 |
--docdir=/usr/share/doc/${PF} \ |
90 |
--localstatedir=/var |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
emake || die |
95 |
if use emacs ; then |
96 |
elisp-compile extras/glusterfs-mode.el || die |
97 |
fi |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
emake DESTDIR="${D}" install || die |
102 |
|
103 |
if use emacs ; then |
104 |
elisp-install ${PN} extras/glusterfs-mode.el* || die |
105 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
106 |
fi |
107 |
|
108 |
if use vim-syntax ; then |
109 |
insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}/glusterfs.vim" || die |
110 |
insinto /usr/share/vim/vimfiles/syntax; doins extras/glusterfs.vim || die |
111 |
fi |
112 |
|
113 |
if use extras ; then |
114 |
newbin extras/backend-xattr-sanitize.sh glusterfs-backend-xattr-sanitize || die |
115 |
newbin extras/backend-cleanup.sh glusterfs-backend-cleanup || die |
116 |
newbin extras/migrate-unify-to-distribute.sh glusterfs-migrate-unify-to-distribute || die |
117 |
newbin extras/disk_usage_sync.sh glusterfs-disk-usage-sync || die |
118 |
fi |
119 |
|
120 |
dodoc AUTHORS ChangeLog NEWS README THANKS || die |
121 |
|
122 |
newinitd "${FILESDIR}/${PN}.initd" glusterfsd || die |
123 |
newinitd "${FILESDIR}/glusterd.initd" glusterd || die |
124 |
newconfd "${FILESDIR}/${PN}.confd" glusterfsd || die |
125 |
|
126 |
keepdir /var/log/${PN} || die |
127 |
keepdir /var/lib/glusterd || die |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
elog "Starting with ${PN}-3.1.0, you can use the glusterd daemon to configure your" |
132 |
elog "volumes dynamically. To do so, simply use the gluster CLI after running:" |
133 |
elog " /etc/init.d/glusterd start" |
134 |
elog |
135 |
elog "For static configurations, the glusterfsd startup script can be multiplexed." |
136 |
elog "The default startup script uses /etc/conf.d/glusterfsd to configure the" |
137 |
elog "separate service. To create additional instances of the glusterfsd service" |
138 |
elog "simply create a symlink to the glusterfsd startup script." |
139 |
elog |
140 |
elog "Example:" |
141 |
elog " # ln -s glusterfsd /etc/init.d/glusterfsd2" |
142 |
elog " # ${EDITOR} /etc/glusterfs/glusterfsd2.vol" |
143 |
elog "You can now treat glusterfsd2 like any other service" |
144 |
elog |
145 |
elog "For more information on how to mount exported GlusterFS filesystems visit:" |
146 |
elog "http://www.gluster.org/docs/index.php/Mounting_a_GlusterFS_Volume" |
147 |
elog |
148 |
elog "If you are upgrading from glusterfs 3.0.x please read:" |
149 |
elog "http://www.gluster.com/community/documentation/index.php/Gluster_3.0_to_3.1_Upgrade_Guide" |
150 |
elog |
151 |
ewarn "You need to use a ntp client to keep the clocks synchronized across all" |
152 |
ewarn "of your servers. Setup a NTP synchronizing service before attempting to" |
153 |
ewarn "run GlusterFS." |
154 |
|
155 |
use emacs && elisp-site-regen |
156 |
} |
157 |
|
158 |
pkg_postrm() { |
159 |
use emacs && elisp-site-regen |
160 |
} |