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