summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-fs/glusterfs')
-rw-r--r--net-fs/glusterfs/Manifest17
-rw-r--r--net-fs/glusterfs/files/50glusterfs-mode-gentoo.el5
-rw-r--r--net-fs/glusterfs/files/70_mod_glusterfs.conf15
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.1-apache2.patch38
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.1-apxs.patch13
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.1-docdir.patch51
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.1-gentoo.patch22
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.1-parallel-make.patch11
-rw-r--r--net-fs/glusterfs/files/glusterfs-2.0.2-docdir.patch51
-rw-r--r--net-fs/glusterfs/files/glusterfs.confd1
-rw-r--r--net-fs/glusterfs/files/glusterfs.initd23
-rw-r--r--net-fs/glusterfs/files/glusterfs.vim8
-rw-r--r--net-fs/glusterfs/glusterfs-2.0.1.ebuild114
-rw-r--r--net-fs/glusterfs/glusterfs-2.0.2.ebuild113
-rw-r--r--net-fs/glusterfs/glusterfs-2.0.4.ebuild114
15 files changed, 0 insertions, 596 deletions
diff --git a/net-fs/glusterfs/Manifest b/net-fs/glusterfs/Manifest
deleted file mode 100644
index ff3286c..0000000
--- a/net-fs/glusterfs/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
-AUX 50glusterfs-mode-gentoo.el 169 RMD160 406c0dd2d79d054f059fcae29961fb6b7950e367 SHA1 5cb956b94b2704d244a4031093305de3243a7a86 SHA256 2467d044665d16dd95f78f7a7a104099ce00849cd0a2a86b110fe4c91b316a9d
-AUX 70_mod_glusterfs.conf 407 RMD160 259996c0dae535c44ceba64d8aaf7c8b9f2526e7 SHA1 7c5840c0bf6c866b785c412ff7b4cb2725c05f95 SHA256 db36df9e3564048f3b5ce6549a8af6d4be993f0c5f51cadd478b76b98a2bc4b9
-AUX glusterfs-2.0.1-apache2.patch 1678 RMD160 75caa591d416ae8b5a8c3a1affa43bf7c9c2173c SHA1 4c10d8448a5254b4ca919d9f46493e3917ce8440 SHA256 276ea9b1d85a0061aca8b827aaab401fbc279725ff1a184a88bd38a4b15f2e62
-AUX glusterfs-2.0.1-apxs.patch 1224 RMD160 81c9b74887be4d4356402774a5752e2ccf8ab525 SHA1 8f32b2d20e0a5a060d7d303a1e291bbb2b97d1f6 SHA256 804cf4104e57e477289796d425d3d386bd7014a944e28a3fb39089ade1ed8ae0
-AUX glusterfs-2.0.1-docdir.patch 1644 RMD160 6961d29068c6b556f195615b789188f28e80b181 SHA1 4ff29870fae0039f390945ccaee3bcd25c87ae70 SHA256 d2922af3e15faae8ae06102a757b158b510b27cc11ad9ffe643ca67e2046ba07
-AUX glusterfs-2.0.1-gentoo.patch 966 RMD160 a36adbfdf8fb0661c4e8b1d79a43a87a45488705 SHA1 67957ca86850e02e7132ed620217c8ea755d41e1 SHA256 9bed3cc8db8a7a4a7f27644628a08d1e8ee1ed6a406de106b89527d60a1de7d4
-AUX glusterfs-2.0.1-parallel-make.patch 472 RMD160 62033a196373a90e522d323bea2e1cb0ce27b5c9 SHA1 a18c9cfe9e72438baef0b24faa67f8eb94d9e08d SHA256 761fea76024bdc811c3af08af1cc3d9959e549990662705df0e9cf3588f52d49
-AUX glusterfs-2.0.2-docdir.patch 1644 RMD160 6961d29068c6b556f195615b789188f28e80b181 SHA1 4ff29870fae0039f390945ccaee3bcd25c87ae70 SHA256 d2922af3e15faae8ae06102a757b158b510b27cc11ad9ffe643ca67e2046ba07
-AUX glusterfs.confd 25 RMD160 0e7c4e56669f87eb7c8167b09f75c18bfd94ee0a SHA1 f8cb92aac45f359f0cbeb347b2aa6a2c8f7a5436 SHA256 c6526aa4722bf45d89369a6f428abb9728d9c63ba3c659c0b7754409c039d305
-AUX glusterfs.initd 534 RMD160 a17e261cc04ff74f42c2c6897d5728f19fadc0e5 SHA1 fedf598fb9a7e6de7727942f5bf78564c55f47d1 SHA256 20b00f293cd8d117a91fef9fc165c24b5753f52eaadc8566498d28101b1ba08e
-AUX glusterfs.vim 139 RMD160 17a4589550934fd8fd3523d0075af7686fc8f905 SHA1 8aa880c49a7bd1a0e185539acede53840b138746 SHA256 f214c1c8a01c9184b535fa7ae307200a8a1dc83fd42e92bdd57a7b1cae1dc099
-DIST glusterfs-2.0.1.tar.gz 1494911 RMD160 9939dfe6a045b3263d6073fc3f792f23d3e2b721 SHA1 5d37d59e151a7d90ad29468af874adbbb35d5bb0 SHA256 52b76ca8e736013e5689eb3d7409f20cb66a8effe72577b5a16487b788317c8b
-DIST glusterfs-2.0.2.tar.gz 1504960 RMD160 5af387ee6e31293faecf463f4b9a1cfd9ad20d04 SHA1 620b4f4b8bc8134fa6409405b5a499aee44e9e85 SHA256 091f1606239fd5aa961516bbbb5ce4b354f66c06d90810d4201e75abff83fd08
-DIST glusterfs-2.0.4.tar.gz 1550625 RMD160 1b85341f1f9652382d81c5dab74730a484986106 SHA1 6e7e5c952259a150361abfe3b8a75548901c3e8d SHA256 15a3102eb5d7693a707fa9f20065b80e2bf848bc42c88e6c6db1c18baef146c3
-EBUILD glusterfs-2.0.1.ebuild 3443 RMD160 d0c3f65eefe37c685ea72a917323d3dd1e0fd010 SHA1 900325d66d91c8fe4ad5f545ffdee76d2f3ade18 SHA256 1f1348f1017c3d6c14b22308721af626a473ef27423cffca83e29158d8a98252
-EBUILD glusterfs-2.0.2.ebuild 3423 RMD160 740c15dc8e826ebdffff0f137b4623279143170e SHA1 31f6b934b81158072ecf52fc37034477b519e227 SHA256 d39985d41058ebf5a05ec50937af93c70cfcd9ccf9b154bb4623b56c2e22cb3e
-EBUILD glusterfs-2.0.4.ebuild 3466 RMD160 40a1547dc8544219a9c7e9f78efa62d6f0080ea9 SHA1 9ac6fed2c60fdd14f3aac4ac987f1c68367fc742 SHA256 dbcbc812c3a77583617eb5546cfef7d83c93e2c9bc301b9d35c8eb6eddf08d1e
diff --git a/net-fs/glusterfs/files/50glusterfs-mode-gentoo.el b/net-fs/glusterfs/files/50glusterfs-mode-gentoo.el
deleted file mode 100644
index c14b0d8..0000000
--- a/net-fs/glusterfs/files/50glusterfs-mode-gentoo.el
+++ /dev/null
@@ -1,5 +0,0 @@
-
-;;; puppet-mode site-lisp configuration
-
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'glusterfs-mode "glusterfs-mode" "Major mode for editing glusterfs manifests")
diff --git a/net-fs/glusterfs/files/70_mod_glusterfs.conf b/net-fs/glusterfs/files/70_mod_glusterfs.conf
deleted file mode 100644
index 9e5eca4..0000000
--- a/net-fs/glusterfs/files/70_mod_glusterfs.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-<IfDefine GLUSTERFS>
- <IfModule !mod_glusterfs.c>
- LoadModule glusterfs_module modules/mod_glusterfs.so
- </IfModule>
-
- <Location "/glusterfs">
- GlusterfsLogfile "/var/log/glusterfs/glusterfs.log"
- GlusterfsLoglevel "warning"
- GlusterfsVolumeSpecfile "/etc/glusterfs/glusterfs.vol"
- GlusterfsCacheTimeout "600"
- GlusterfsXattrFileSize "65536"
- SetHandler "glusterfs-handler"
- </Location>
-
-</IfDefine>
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.1-apache2.patch b/net-fs/glusterfs/files/glusterfs-2.0.1-apache2.patch
deleted file mode 100644
index 52febe9..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.1-apache2.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff --git a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
-index a89e1c7..ee17ebb 100644
---- a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
-+++ b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
-@@ -2785,7 +2785,7 @@ mod_glfs_index_directory (request_rec *r,
- apr_size_t dirpathlen;
- glusterfs_dir_config_t *dir_config = NULL;
- int ret = -1;
-- struct dirent entry = {0, };
-+ struct dirent *entry = NULL;
- struct stat st = {0, };
-
- name = r->filename;
-@@ -2994,12 +2994,12 @@ mod_glfs_index_directory (request_rec *r,
- memcpy(fullpath, name, dirpathlen);
-
- do {
-- ret = glusterfs_readdir (fd, &entry, sizeof (entry));
-- if (ret <= 0) {
-+ entry = glusterfs_readdir (fd);
-+ if (entry == NULL) {
- break;
- }
-
-- fname = apr_pstrcat (r->pool, path, entry.d_name, NULL);
-+ fname = apr_pstrcat (r->pool, path, entry->d_name, NULL);
-
- ret = glusterfs_stat (fname, &st);
- if (ret != 0) {
-@@ -3007,7 +3007,7 @@ mod_glfs_index_directory (request_rec *r,
- }
-
- dirent.fname = fname;
-- dirent.name = apr_pstrdup (r->pool, entry.d_name);
-+ dirent.name = apr_pstrdup (r->pool, entry->d_name);
- fill_out_finfo (&dirent, &st,
- APR_FINFO_MIN | APR_FINFO_IDENT
- | APR_FINFO_NLINK | APR_FINFO_OWNER
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.1-apxs.patch b/net-fs/glusterfs/files/glusterfs-2.0.1-apxs.patch
deleted file mode 100644
index ef7b470..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.1-apxs.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/mod_glusterfs/apache/2.2/src/Makefile.am b/mod_glusterfs/apache/2.2/src/Makefile.am
-index 1e8f3a3..b2b73dd 100644
---- a/mod_glusterfs/apache/2.2/src/Makefile.am
-+++ b/mod_glusterfs/apache/2.2/src/Makefile.am
-@@ -7,7 +7,7 @@ all: mod_glusterfs.so
-
- mod_glusterfs.so: $(top_srcdir)/mod_glusterfs/apache/2.2/src/mod_glusterfs.c $(top_builddir)/libglusterfsclient/src/libglusterfsclient.la
- ln -sf $(top_srcdir)/mod_glusterfs/apache/2.2/src/mod_glusterfs.c $(top_builddir)/mod_glusterfs/apache/2.2/src/mod_glusterfs-build.c
-- $(APXS) -c -o mod_glusterfs.la -Wc,-g3 -Wc,-O0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -I$(top_srcdir)/libglusterfsclient/src -L$(top_builddir)/libglusterfsclient/src/.libs/ -lglusterfsclient mod_glusterfs-build.c
-+ $(APXS) -c -o mod_glusterfs.la -Wc,-g3 -Wc,-O0 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -I$(top_srcdir)/libglusterfsclient/src -L$(libdir) -L$(top_builddir)/libglusterfsclient/src/.libs/ -lglusterfsclient mod_glusterfs-build.c
- -ln -sf .libs/mod_glusterfs.so mod_glusterfs.so
-
- $(top_builddir)/libglusterfsclient/src/libglusterfsclient.la:
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.1-docdir.patch b/net-fs/glusterfs/files/glusterfs-2.0.1-docdir.patch
deleted file mode 100644
index 5e26f63..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.1-docdir.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 6a17bb8523c4c7810bf7797371df22cfb259f7a7 Mon Sep 17 00:00:00 2001
-From: MATSUU Takuto <matsuu@gentoo.org>
-Date: Sat, 16 May 2009 07:01:53 +0900
-Subject: [PATCH] Use the standard autoconf $docdir variable.
-
----
- doc/examples/Makefile.am | 1 -
- extras/Makefile.am | 3 +--
- extras/benchmarking/Makefile.am | 4 +---
- 3 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
-index b4c93f4..5296d83 100644
---- a/doc/examples/Makefile.am
-+++ b/doc/examples/Makefile.am
-@@ -1,7 +1,6 @@
- EXTRA = README unify.vol replicate.vol stripe.vol protocol-client.vol protocol-server.vol posix-locks.vol trash.vol write-behind.vol io-threads.vol io-cache.vol read-ahead.vol filter.vol trace.vol
- EXTRA_DIST = $(EXTRA)
-
--docdir = $(datadir)/doc/$(PACKAGE_NAME)
- Examplesdir = $(docdir)/examples
- Examples_DATA = $(EXTRA)
-
-diff --git a/extras/Makefile.am b/extras/Makefile.am
-index 9be3973..ea0b33d 100644
---- a/extras/Makefile.am
-+++ b/extras/Makefile.am
-@@ -1,6 +1,5 @@
-
--docdir = $(datadir)/doc/glusterfs/
--EditorModedir = $(docdir)/
-+EditorModedir = $(docdir)
- EditorMode_DATA = glusterfs-mode.el glusterfs.vim
-
- SUBDIRS = init.d benchmarking
-diff --git a/extras/benchmarking/Makefile.am b/extras/benchmarking/Makefile.am
-index 04cc061..bfcc592 100644
---- a/extras/benchmarking/Makefile.am
-+++ b/extras/benchmarking/Makefile.am
-@@ -1,7 +1,5 @@
-
--docdir = $(datadir)/doc/$(PACKAGE_NAME)/benchmarking
--
--benchmarkingdir = $(docdir)
-+benchmarkingdir = $(docdir)/benchmarking
-
- benchmarking_DATA = rdd.c glfs-bm.c README launch-script.sh local-script.sh
-
---
-1.6.3
-
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.1-gentoo.patch b/net-fs/glusterfs/files/glusterfs-2.0.1-gentoo.patch
deleted file mode 100644
index 338dd5c..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.1-gentoo.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/configure.ac b/configure.ac
-index aee4dd0..cc49f88 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -259,7 +259,7 @@ fi
-
- if test "x$BUILD_MOD_GLUSTERFS" = "xyes"; then
- HTTPD_BIN_DIR=`$APXS -q SBINDIR`
-- MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_BIN_DIR/httpd -V | head -1 | awk "{print $3}" | sed 's/[[^0-9.]]//g' | sed 's/\(.*\..*\)\..*/\1/'`
-+ MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_BIN_DIR/apache2 -V | head -n 1 | awk "{print $3}" | sed 's/[[^0-9.]]//g' | sed 's/\(.*\..*\)\..*/\1/'`
- fi
-
- if test "x$with_apxspath" != "x"; then
-@@ -278,7 +278,7 @@ fi
-
- if test "x$APACHE_MANUAL" = "xyes"; then
- HTTPD_BIN_DIR=`$APXS_MANUAL -q SBINDIR`
-- MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_MANUAL -V | head -1 | awk "{print $3}" | sed 's/[[^0-9.]]//g' | sed 's/\(.*\..*\)\..*/\1/'`
-+ MOD_GLUSTERFS_HTTPD_VERSION=`$HTTPD_MANUAL -V | head -n 1 | awk "{print $3}" | sed 's/[[^0-9.]]//g' | sed 's/\(.*\..*\)\..*/\1/'`
- APXS=$APXS_MANUAL
- fi
-
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.1-parallel-make.patch b/net-fs/glusterfs/files/glusterfs-2.0.1-parallel-make.patch
deleted file mode 100644
index fbe6333..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.1-parallel-make.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/glusterfsd/src/Makefile.am b/glusterfsd/src/Makefile.am
-index 0609179..548ed3a 100644
---- a/glusterfsd/src/Makefile.am
-+++ b/glusterfsd/src/Makefile.am
-@@ -20,5 +20,6 @@ uninstall-local:
- install-data-local:
- $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/run
- $(INSTALL) -d -m 755 $(DESTDIR)$(localstatedir)/log/glusterfs
-+ $(INSTALL) -d -m 755 $(DESTDIR)$(sbindir)
- rm -f $(DESTDIR)$(sbindir)/glusterfs
- ln -s glusterfsd $(DESTDIR)$(sbindir)/glusterfs
diff --git a/net-fs/glusterfs/files/glusterfs-2.0.2-docdir.patch b/net-fs/glusterfs/files/glusterfs-2.0.2-docdir.patch
deleted file mode 100644
index 5e26f63..0000000
--- a/net-fs/glusterfs/files/glusterfs-2.0.2-docdir.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 6a17bb8523c4c7810bf7797371df22cfb259f7a7 Mon Sep 17 00:00:00 2001
-From: MATSUU Takuto <matsuu@gentoo.org>
-Date: Sat, 16 May 2009 07:01:53 +0900
-Subject: [PATCH] Use the standard autoconf $docdir variable.
-
----
- doc/examples/Makefile.am | 1 -
- extras/Makefile.am | 3 +--
- extras/benchmarking/Makefile.am | 4 +---
- 3 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
-index b4c93f4..5296d83 100644
---- a/doc/examples/Makefile.am
-+++ b/doc/examples/Makefile.am
-@@ -1,7 +1,6 @@
- EXTRA = README unify.vol replicate.vol stripe.vol protocol-client.vol protocol-server.vol posix-locks.vol trash.vol write-behind.vol io-threads.vol io-cache.vol read-ahead.vol filter.vol trace.vol
- EXTRA_DIST = $(EXTRA)
-
--docdir = $(datadir)/doc/$(PACKAGE_NAME)
- Examplesdir = $(docdir)/examples
- Examples_DATA = $(EXTRA)
-
-diff --git a/extras/Makefile.am b/extras/Makefile.am
-index 9be3973..ea0b33d 100644
---- a/extras/Makefile.am
-+++ b/extras/Makefile.am
-@@ -1,6 +1,5 @@
-
--docdir = $(datadir)/doc/glusterfs/
--EditorModedir = $(docdir)/
-+EditorModedir = $(docdir)
- EditorMode_DATA = glusterfs-mode.el glusterfs.vim
-
- SUBDIRS = init.d benchmarking
-diff --git a/extras/benchmarking/Makefile.am b/extras/benchmarking/Makefile.am
-index 04cc061..bfcc592 100644
---- a/extras/benchmarking/Makefile.am
-+++ b/extras/benchmarking/Makefile.am
-@@ -1,7 +1,5 @@
-
--docdir = $(datadir)/doc/$(PACKAGE_NAME)/benchmarking
--
--benchmarkingdir = $(docdir)
-+benchmarkingdir = $(docdir)/benchmarking
-
- benchmarking_DATA = rdd.c glfs-bm.c README launch-script.sh local-script.sh
-
---
-1.6.3
-
diff --git a/net-fs/glusterfs/files/glusterfs.confd b/net-fs/glusterfs/files/glusterfs.confd
deleted file mode 100644
index 9843a23..0000000
--- a/net-fs/glusterfs/files/glusterfs.confd
+++ /dev/null
@@ -1 +0,0 @@
-GLUSTERFSD_MOUNTPOINT=""
diff --git a/net-fs/glusterfs/files/glusterfs.initd b/net-fs/glusterfs/files/glusterfs.initd
deleted file mode 100644
index d26e533..0000000
--- a/net-fs/glusterfs/files/glusterfs.initd
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- use net dns
-}
-
-start() {
- ebegin "Starting ${SVCNAME}"
- start-stop-daemon --start --exec /usr/sbin/glusterfsd -- \
- --volfile=/etc/glusterfs/${SVCNAME}.vol \
- --pid-file=/var/run/${SVCNAME}.pid \
- --log-file=/var/log/glusterfs/${SVCNAME}.log \
- ${GLUSTERFSD_MOUNTPOINT}
- eend $?
-}
-
-stop() {
- ebegin "Stopping ${SVCNAME}"
- start-stop-daemon --stop --pidfile /var/run/${SVCNAME}.pid
- eend $?
-}
diff --git a/net-fs/glusterfs/files/glusterfs.vim b/net-fs/glusterfs/files/glusterfs.vim
deleted file mode 100644
index bbb9cb1..0000000
--- a/net-fs/glusterfs/files/glusterfs.vim
+++ /dev/null
@@ -1,8 +0,0 @@
-if &compatible || v:version < 603
- finish
-endif
-
-
-" GlusterFS Volume files
-au BufNewFile,BufRead *.vol
- \ set filetype=glusterfs
diff --git a/net-fs/glusterfs/glusterfs-2.0.1.ebuild b/net-fs/glusterfs/glusterfs-2.0.1.ebuild
deleted file mode 100644
index 16b27ed..0000000
--- a/net-fs/glusterfs/glusterfs-2.0.1.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit autotools apache-module 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="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="berkdb emacs +fuse static vim-syntax"
-#IUSE="berkdb emacs +fuse infiniband static vim-syntax"
-
-DEPEND="berkdb? ( >=sys-libs/db-4.6.21 )
- emacs? ( virtual/emacs )
- fuse? ( >=sys-fs/fuse-2.7.0 )"
-# infiniband? ( sys-cluster/libibverbs )
-RDEPEND="${RDEPEND}"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-APXS2_S="${S}/mod_glusterfs/apache/2.2/src"
-APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${PN}.so"
-APACHE2_MOD_CONF="70_mod_${PN}"
-APACHE2_MOD_DEFINE="GLUSTERFS"
-want_apache2_2
-
-src_prepare() {
-
- epatch "${FILESDIR}/${P}-gentoo.patch"
- epatch "${FILESDIR}/${P}-parallel-make.patch"
- epatch "${FILESDIR}/${P}-apache2.patch"
- epatch "${FILESDIR}/${P}-apxs.patch"
- epatch "${FILESDIR}/${P}-docdir.patch"
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_configure() {
- econf \
- $(use_enable berkdb bdb) \
- $(use_enable fuse fuse-client) \
- $(use_enable apache2 mod_glusterfs) \
- $(use_enable static) \
- --docdir=/usr/share/doc/${PF} \
- --localstatedir=/var || die
-# $(use_enable infiniband ibverbs) \
-}
-
-src_compile() {
- emake || die "Emake failed"
- if use emacs ; then
- elisp-compile extras/glusterfs-mode.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- if use apache2 ; then
- apache-module_src_install
- rm -rf "${D}/usr/$(get_libdir)/glusterfs/${PV}/apache"
- fi
-
- if use emacs ; then
- elisp-install ${PN} extras/glusterfs-mode.el* || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}/glusterfs.vim" || die
- insinto /usr/share/vim/vimfiles/syntax; doins extras/glusterfs.vim || die
- fi
-
- dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
-
- newinitd "${FILESDIR}/${PN}.initd" glusterfsd || die "newinitd failed"
- newconfd "${FILESDIR}/${PN}.confd" glusterfsd || die "newconfd failed"
-
- keepdir /var/log/${PN} || die "keepdir failed"
-}
-
-pkg_postinst() {
- elog "The glusterfs startup script can be multiplexed."
- elog "The default startup script uses /etc/conf.d/glusterfs to configure the"
- elog "separate service. To create additional instances of the glusterfs service"
- elog "simply create a symlink to the glusterfs 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"
- echo
- elog "You can mount exported GlusterFS filesystems through /etc/fstab instead of"
- elog "through a startup script instance. For more information visit:"
- elog "http://www.gluster.org/docs/index.php/Mounting_a_GlusterFS_Volume"
- echo
- 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."
-
- use apache2 && apache-module_pkg_postinst
-
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/net-fs/glusterfs/glusterfs-2.0.2.ebuild b/net-fs/glusterfs/glusterfs-2.0.2.ebuild
deleted file mode 100644
index 556be73..0000000
--- a/net-fs/glusterfs/glusterfs-2.0.2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit autotools apache-module 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="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="berkdb emacs +fuse static vim-syntax"
-#IUSE="berkdb emacs +fuse infiniband static vim-syntax"
-
-DEPEND="berkdb? ( >=sys-libs/db-4.6.21 )
- emacs? ( virtual/emacs )
- fuse? ( >=sys-fs/fuse-2.7.0 )"
-# infiniband? ( sys-cluster/libibverbs )
-RDEPEND="${RDEPEND}"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-APXS2_S="${S}/mod_glusterfs/apache/2.2/src"
-APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${PN}.so"
-APACHE2_MOD_CONF="70_mod_${PN}"
-APACHE2_MOD_DEFINE="GLUSTERFS"
-want_apache2_2
-
-src_prepare() {
-
- epatch "${FILESDIR}/${PN}-2.0.1-gentoo.patch"
- epatch "${FILESDIR}/${PN}-2.0.1-parallel-make.patch"
- epatch "${FILESDIR}/${PN}-2.0.1-apxs.patch"
- epatch "${FILESDIR}/${P}-docdir.patch"
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_configure() {
- econf \
- $(use_enable berkdb bdb) \
- $(use_enable fuse fuse-client) \
- $(use_enable apache2 mod_glusterfs) \
- $(use_enable static) \
- --docdir=/usr/share/doc/${PF} \
- --localstatedir=/var || die
-# $(use_enable infiniband ibverbs) \
-}
-
-src_compile() {
- emake || die "Emake failed"
- if use emacs ; then
- elisp-compile extras/glusterfs-mode.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- if use apache2 ; then
- apache-module_src_install
- rm -rf "${D}/usr/$(get_libdir)/glusterfs/${PV}/apache"
- fi
-
- if use emacs ; then
- elisp-install ${PN} extras/glusterfs-mode.el* || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}/glusterfs.vim" || die
- insinto /usr/share/vim/vimfiles/syntax; doins extras/glusterfs.vim || die
- fi
-
- dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
-
- newinitd "${FILESDIR}/${PN}.initd" glusterfsd || die "newinitd failed"
- newconfd "${FILESDIR}/${PN}.confd" glusterfsd || die "newconfd failed"
-
- keepdir /var/log/${PN} || die "keepdir failed"
-}
-
-pkg_postinst() {
- elog "The glusterfs startup script can be multiplexed."
- elog "The default startup script uses /etc/conf.d/glusterfs to configure the"
- elog "separate service. To create additional instances of the glusterfs service"
- elog "simply create a symlink to the glusterfs 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"
- echo
- elog "You can mount exported GlusterFS filesystems through /etc/fstab instead of"
- elog "through a startup script instance. For more information visit:"
- elog "http://www.gluster.org/docs/index.php/Mounting_a_GlusterFS_Volume"
- echo
- 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."
-
- use apache2 && apache-module_pkg_postinst
-
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}
diff --git a/net-fs/glusterfs/glusterfs-2.0.4.ebuild b/net-fs/glusterfs/glusterfs-2.0.4.ebuild
deleted file mode 100644
index b41e81c..0000000
--- a/net-fs/glusterfs/glusterfs-2.0.4.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit autotools apache-module 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="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="berkdb emacs epoll +fuse static vim-syntax"
-#IUSE="berkdb emacs epoll +fuse infiniband static vim-syntax"
-
-DEPEND="berkdb? ( >=sys-libs/db-4.6.21 )
- emacs? ( virtual/emacs )
- fuse? ( >=sys-fs/fuse-2.7.0 )"
-# infiniband? ( sys-cluster/libibverbs )
-RDEPEND="${RDEPEND}"
-
-SITEFILE="50${PN}-mode-gentoo.el"
-
-APXS2_S="${S}/mod_glusterfs/apache/2.2/src"
-APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${PN}.so"
-APACHE2_MOD_CONF="70_mod_${PN}"
-APACHE2_MOD_DEFINE="GLUSTERFS"
-want_apache2_2
-
-src_prepare() {
-
- epatch "${FILESDIR}/${PN}-2.0.1-gentoo.patch"
- epatch "${FILESDIR}/${PN}-2.0.1-parallel-make.patch"
- epatch "${FILESDIR}/${PN}-2.0.1-apxs.patch"
- epatch "${FILESDIR}/${PN}-2.0.2-docdir.patch"
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_configure() {
- econf \
- $(use_enable berkdb bdb) \
- $(use_enable epoll) \
- $(use_enable fuse fuse-client) \
- $(use_enable apache2 mod_glusterfs) \
- $(use_enable static) \
- --docdir=/usr/share/doc/${PF} \
- --localstatedir=/var || die
-# $(use_enable infiniband ibverbs) \
-}
-
-src_compile() {
- emake || die "Emake failed"
- if use emacs ; then
- elisp-compile extras/glusterfs-mode.el || die "elisp-compile failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
-
- if use apache2 ; then
- apache-module_src_install
- rm -rf "${D}/usr/$(get_libdir)/glusterfs/${PV}/apache"
- fi
-
- if use emacs ; then
- elisp-install ${PN} extras/glusterfs-mode.el* || die "elisp-install failed"
- elisp-site-file-install "${FILESDIR}/${SITEFILE}"
- fi
-
- if use vim-syntax ; then
- insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}/glusterfs.vim" || die
- insinto /usr/share/vim/vimfiles/syntax; doins extras/glusterfs.vim || die
- fi
-
- dodoc AUTHORS ChangeLog NEWS README THANKS || die "dodoc failed"
-
- newinitd "${FILESDIR}/${PN}.initd" glusterfsd || die "newinitd failed"
- newconfd "${FILESDIR}/${PN}.confd" glusterfsd || die "newconfd failed"
-
- keepdir /var/log/${PN} || die "keepdir failed"
-}
-
-pkg_postinst() {
- elog "The glusterfs startup script can be multiplexed."
- elog "The default startup script uses /etc/conf.d/glusterfs to configure the"
- elog "separate service. To create additional instances of the glusterfs service"
- elog "simply create a symlink to the glusterfs 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"
- echo
- elog "You can mount exported GlusterFS filesystems through /etc/fstab instead of"
- elog "through a startup script instance. For more information visit:"
- elog "http://www.gluster.org/docs/index.php/Mounting_a_GlusterFS_Volume"
- echo
- 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."
-
- use apache2 && apache-module_pkg_postinst
-
- use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
- use emacs && elisp-site-regen
-}