-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA1
AUX 50glusterfs-mode-gentoo.el 169 RMD160 406c0dd2d79d054f059fcae29961fb6b7950e367 SHA1 5cb956b94b2704d244a4031093305de3243a7a86 SHA256 2467d044665d16dd95f78f7a7a104099ce00849cd0a2a86b110fe4c91b316a9d
AUX glusterd-3.2.0-workdir.patch 1651 RMD160 9986cb7035cf62c1c38e74668c36d29ecb4d1ed4 SHA1 df422a386cbff7c463ceb4ac003fb6a22b0c2a46 SHA256 019fd1418041b98bcb5d841d19ef90a7d63483b801843876d7c5fdf54189cc80
DIST glusterfs-3.1.2.tar.gz 2086469 RMD160 f9e744ef999f82b70f173930f1f1cee96fe61e84 SHA1 ccae6965595abf8af881b736a3fe4873fc6b28e4 SHA256 9a4e910431f572aa180a3ad1821f7524773ec1e8f06342c4040f26619f832838
DIST glusterfs-3.1.4.tar.gz 2173373 RMD160 dc7db013790dc2366f574e6e8a4fca6a67078cdc SHA1 1166063b4a3fa25927b16c88025cc1186c73f420 SHA256 a3d284e63b4d5fcbd1e8df99350b7254dd7e877476206a32f6b5877515f5fe04
DIST glusterfs-3.2.3.tar.gz 2376000 RMD160 89d6a5f9c1362e1fe4d88e69465311069552d319 SHA1 7a36e496d9ac3fbf11123bb42884445334d07f06 SHA256 19255e42968b5eb04bbd0669e19aeb0c87eb984e7cc04d593b2626c32ca53434
+DIST glusterfs-3.2.4.tar.gz 2386706 RMD160 15c2a6407d8c9bf799c8adcf8c3f8540b1c8ecfb SHA1 7102ce8ea497cad61844d60e5b374869fa51da02 SHA256 8a30fb1fa4aa3d745521b1667e40b9bc8404ced99e519992d8c18a3c883dafb5
EBUILD glusterfs-3.1.2.ebuild 3593 RMD160 e2c6261ee2c4118112f850d1b282c2e1863d1b8e SHA1 8918ee77e65bbab8b587753fb1421b2b94262918 SHA256 73c6236936f64983d3b115d878a207d42ab8836e2b110f23ce15b3c2f4e07424
EBUILD glusterfs-3.1.4-r1.ebuild 3689 RMD160 6b670b27fe0b82c7723219a5f86841b693a62c48 SHA1 d97db4606d2da820f7a59c3b9df03f4d402fed4a SHA256 6b52f755d94a08ff66828248ae3d53c8c65f75443ec7184e0453148a3901c803
EBUILD glusterfs-3.2.3.ebuild 3517 RMD160 095f9986aea02fd5425a43b0d336e60d6e4a9450 SHA1 9373e4e4fe0434ee1454147bb9a17ad3a66b6674 SHA256 63bf1880f62d5140133bb93f7176b0cd5a8c17e218bde0d9036f5adb987d9665
-MISC ChangeLog 5518 RMD160 8ebad800f965807acb3ae142d2d4a684c9f8c358 SHA1 d189003ec4c9fd891b809770fb530137848f57ad SHA256 f237a8aa3d49522ae5fe9894ce7c86f5b448e7ef73f1d1af7d1c36b56f5288b0
+EBUILD glusterfs-3.2.4.ebuild 3521 RMD160 ef40bfd46b2cbcabd1c36a615a987a9ebac290fa SHA1 70f0eaba497a4ce49f3a2f86ad6957319ff6f4b5 SHA256 85699673aff29ab5ee6fd452fcbcbc258c4f335654d3d6fa560acad8a3d1109b
+MISC ChangeLog 5709 RMD160 3b30464f616856e35540c0a9393a75ee1809fa8a SHA1 9e26cde6c059fe5da47572246ef410b6c0e9cb07 SHA256 767239608e7afe02a4d9b5c9ac15dae14920cb21e23dc87429eaf181d8c5788d
MISC metadata.xml 842 RMD160 2e8fccda5c50a0c64caf17ae528b59d4c41f5373 SHA1 9f10069f096be61a347ccdccc21f30a7411e4b5f SHA256 2a717e590d518af4d7eec71b92cacece17c0cb0c3283f37793e093b2def0ae04
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCAAGBQJOXlA/AAoJEOf+E+/4L5Lmhi8QAKRvoCkoxVHeAPJvlTTfY3sk
-j2Mmx8p23ZnKuwSTTM2mZKVL7JKaa+HhqQOmCOFH1GJ3dp1DKOO/qzGxld2DDnfZ
-nu9cXwmXFTt9wVtyd/wldKaBsx5jZvPcGtMur/DiQlcCFUukaj54KWmuK8NiyQKH
-kzZqfkBh2oYm7s5xAsf35bNjdkR8i3sCBksSt6MWvBG0La2c5aaE5N3zPqzFBilv
-d39jbPWS4+BeSSHA0CSCwixqM5SDfks7fVHiZb7JpNZKYQbNtrouN0tzhm2ozFVM
-VvoGI9Cmci9j12AOt7X4QPCEdy341HbbM06+eTZa8L1rtzuqPofIpIo6D5VT/uPn
-XAuUtaUdbLragj+DmkJR4Pakc5Uk3WOFARix3mFvsxkA6Perg9K3t5hnoW7Hn7cT
-1+YznWypmx0H5L/oaAW28HFpk7gRlA8geohvC5O7giqkYVaa2cPkKzbgDf8AD1zP
-zy7qa3pW2lKSR7kZooxMeGGtKq5U8AyRSENVIy0//8gvFxXZVslRZ7hEw6eLH/5J
-35axBqq+ddKkcWDFKpLdsEYDCmCDbnzXmVx6qcF538CCZckd3XU/Ptlz0zPCOr4O
-ywqKY4fvdtJGjo7mU3BxWWfmiilq7MA16tDOGAwjPH+7lAWvPNg7OmgWmNFFZUkW
-CeecrziLwEe94qaZiSAq
-=/R0I
+iJwEAQECAAYFAk6XJYUACgkQIiMqcbOVdxTnIAP9GGDnZIbdQR3prLG+tQuJ/G0C
+MnnvRfzyzpYxhthzI3rsdyEI4kHWDKfiRwF/G/tLqwmn7Wwf7n8lOEElCj2Lbk3X
+KxBVLLuKqsUXVMrSx1CcEePWn24mlz2mGAYolhPF97HdcvSj+lyG9Fn36POYcvjL
+L6OcO/ZgXc+f+votxxo=
+=H+y3
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/glusterfs/glusterfs-3.2.4.ebuild,v 1.1 2011/10/13 17:52:55 xarthisius Exp $
+
+EAPI=4
+
+inherit autotools elisp-common eutils multilib versionator
+
+DESCRIPTION="GlusterFS is a powerful network/cluster filesystem"
+HOMEPAGE="http://www.gluster.org/"
+SRC_URI="http://ftp.gluster.com/pub/gluster/${PN}/$(get_version_component_range '1-2')/${PV}/${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs extras +fuse infiniband static-libs vim-syntax"
+
+DEPEND="emacs? ( virtual/emacs )
+ fuse? ( >=sys-fs/fuse-2.7.0 )
+ infiniband? ( sys-infiniband/libibverbs )"
+RDEPEND="${DEPEND}"
+
+SITEFILE="50${PN}-mode-gentoo.el"
+
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-3.1.0-parallel-build.patch" \
+ "${FILESDIR}/${PN}-docdir.patch" \
+ "${FILESDIR}/glusterd-3.2.0-workdir.patch"
+ sed -i -e "s/ -ggdb3//g" -e "s/ -m64//g" argp-standalone/configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable fuse fuse-client) \
+ $(use_enable infiniband ibverbs) \
+ $(use_enable static-libs static) \
+ --enable-georeplication \
+ --disable-bdb \
+ --docdir=/usr/share/doc/${PF} \
+ --localstatedir=/var
+}
+
+src_compile() {
+ emake
+ if use emacs ; then
+ elisp-compile extras/glusterfs-mode.el || die
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ if use emacs ; then
+ elisp-install ${PN} extras/glusterfs-mode.el* || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}/glusterfs.vim"
+ insinto /usr/share/vim/vimfiles/syntax; doins extras/glusterfs.vim
+ fi
+
+ if use extras ; then
+ newbin extras/backend-xattr-sanitize.sh glusterfs-backend-xattr-sanitize
+ newbin extras/backend-cleanup.sh glusterfs-backend-cleanup
+ newbin extras/migrate-unify-to-distribute.sh glusterfs-migrate-unify-to-distribute
+ newbin extras/disk_usage_sync.sh glusterfs-disk-usage-sync
+ fi
+
+ dodoc AUTHORS ChangeLog NEWS README THANKS
+
+ newinitd "${FILESDIR}/${PN}.initd" glusterfsd
+ newinitd "${FILESDIR}/glusterd.initd" glusterd
+ newconfd "${FILESDIR}/${PN}.confd" glusterfsd
+
+ keepdir /var/log/${PN}
+ keepdir /var/lib/glusterd
+}
+
+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:"
+ elog " /etc/init.d/glusterd start"
+ elog
+ elog "For static configurations, the glusterfsd startup script can be multiplexed."
+ elog "The default startup script uses /etc/conf.d/glusterfsd to configure the"
+ elog "separate service. To create additional instances of the glusterfsd service"
+ elog "simply create a symlink to the glusterfsd startup script."
+ elog
+ elog "Example:"
+ elog " # ln -s glusterfsd /etc/init.d/glusterfsd2"
+ elog " # ${EDITOR} /etc/glusterfs/glusterfsd2.vol"
+ elog "You can now treat glusterfsd2 like any other service"
+ elog
+ ewarn "You need to use a ntp client to keep the clocks synchronized across all"
+ ewarn "of your servers. Setup a NTP synchronizing service before attempting to"
+ ewarn "run GlusterFS."
+
+ if [[ ${REPLACING_VERSIONS} < 3.1 ]]; then
+ elog
+ elog "You are upgrading from a previous version of ${PN}, please read:"
+ elog "http://www.gluster.com/community/documentation/index.php/Gluster_3.0_to_3.2_Upgrade_Guide"
+ fi
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}