Skip to content

Commit 5a7f56d

Browse files
author
Jordan Hubbard
committed
Add glusterfs port (possible prerequisite to supporting glusterfs in FreeNAS)
1 parent ee15ee5 commit 5a7f56d

File tree

5 files changed

+218
-0
lines changed

5 files changed

+218
-0
lines changed

sysutils/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@
331331
SUBDIR += gkrellmwho2
332332
SUBDIR += gkrelltop
333333
SUBDIR += gksu
334+
SUBDIR += glusterfs
334335
SUBDIR += gnome-control-center
335336
SUBDIR += gnome-device-manager
336337
SUBDIR += gnome-mount

sysutils/glusterfs/Makefile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# $FreeBSD$
2+
3+
PORTNAME= glusterfs
4+
DISTVERSIONPREFIX= freebsd_
5+
DISTVERSION= 20140623
6+
CATEGORIES= sysutils
7+
MASTER_SITES= https://download.gluster.org/pub/gluster/experimental/
8+
9+
MAINTAINER= root@localhost
10+
COMMENT= GlusterFS
11+
12+
WRKSRC= ${WRKDIR}/glusterfs
13+
14+
USES+= tar:bzip2
15+
USE_LDCONFIG= yes
16+
17+
# Links against libpython, installs gluster package
18+
USE_PYTHON= yes
19+
20+
# And libintl
21+
USES+= gettext:lib
22+
23+
# Links libxml2
24+
USE_GNOME= libxml2
25+
26+
# Need to fix up paths for pkgconfig files
27+
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
28+
29+
# Uses fuse
30+
USES+= fuse
31+
32+
# This is tricky enough that I gave up trying to USE_AUTOTOOLS natively;
33+
# this just makes sure they're all in place and uses the upstream
34+
# autogen.sh
35+
USES+= libtool
36+
BUILD_DEPENDS+= ${LIBTOOL}:${PORTSDIR}/devel/libtool
37+
USE_AUTOTOOLS= aclocal:env autoconf:env automake:env autoheader:env
38+
GNU_CONFIGURE= yes
39+
40+
pre-configure:
41+
( cd ${WRKSRC} ; ./autogen.sh )
42+
43+
.include <bsd.port.mk>

sysutils/glusterfs/distinfo

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
SHA256 (glusterfs-freebsd_20140623.tar.bz2) = 67bb9ec4c46e2afa0d24d87b7ba734a3a00b1810ea0cb733e2a8e4fa6f9a2e01
2+
SIZE (glusterfs-freebsd_20140623.tar.bz2) = 28341652

sysutils/glusterfs/pkg-descr

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
GlusterFS
2+
3+
WWW: http://www.gluster.org/

sysutils/glusterfs/pkg-plist

Lines changed: 169 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,169 @@
1+
%%ETCDIR%%/gluster-rsyslog-5.8.conf
2+
%%ETCDIR%%/gluster-rsyslog-7.2.conf
3+
%%ETCDIR%%/glusterd.vol
4+
%%ETCDIR%%/glusterfs-georep-logrotate
5+
%%ETCDIR%%/glusterfs-logrotate
6+
%%ETCDIR%%/group-virt.example
7+
%%ETCDIR%%/logger.conf.example
8+
include/glusterfs/api/glfs-handles.h
9+
include/glusterfs/api/glfs.h
10+
include/glusterfs/gfchangelog/changelog.h
11+
lib/glusterfs/auth/addr.so
12+
lib/glusterfs/auth/login.so
13+
lib/glusterfs/rpc-transport/socket.so
14+
lib/glusterfs/xlator/cluster/afr.so
15+
lib/glusterfs/xlator/cluster/dht.so
16+
lib/glusterfs/xlator/cluster/distribute.so
17+
lib/glusterfs/xlator/cluster/nufa.so
18+
lib/glusterfs/xlator/cluster/pump.so
19+
lib/glusterfs/xlator/cluster/replicate.so
20+
lib/glusterfs/xlator/cluster/stripe.so
21+
lib/glusterfs/xlator/cluster/switch.so
22+
lib/glusterfs/xlator/debug/error-gen.so
23+
lib/glusterfs/xlator/debug/io-stats.so
24+
lib/glusterfs/xlator/debug/trace.so
25+
lib/glusterfs/xlator/encryption/crypt.so
26+
lib/glusterfs/xlator/encryption/rot-13.so
27+
lib/glusterfs/xlator/features/access-control.so
28+
lib/glusterfs/xlator/features/barrier.so
29+
lib/glusterfs/xlator/features/cdc.so
30+
lib/glusterfs/xlator/features/changelog.so
31+
lib/glusterfs/xlator/features/gfid-access.so
32+
lib/glusterfs/xlator/features/glupy.so
33+
lib/glusterfs/xlator/features/glupy/debug-trace.py
34+
lib/glusterfs/xlator/features/glupy/debug-trace.pyc
35+
lib/glusterfs/xlator/features/glupy/debug-trace.pyo
36+
lib/glusterfs/xlator/features/glupy/helloworld.py
37+
lib/glusterfs/xlator/features/glupy/helloworld.pyc
38+
lib/glusterfs/xlator/features/glupy/helloworld.pyo
39+
lib/glusterfs/xlator/features/glupy/negative.py
40+
lib/glusterfs/xlator/features/glupy/negative.pyc
41+
lib/glusterfs/xlator/features/glupy/negative.pyo
42+
lib/glusterfs/xlator/features/index.so
43+
lib/glusterfs/xlator/features/locks.so
44+
lib/glusterfs/xlator/features/mac-compat.so
45+
lib/glusterfs/xlator/features/marker.so
46+
lib/glusterfs/xlator/features/posix-locks.so
47+
lib/glusterfs/xlator/features/prot_client.so
48+
lib/glusterfs/xlator/features/prot_dht.so
49+
lib/glusterfs/xlator/features/prot_server.so
50+
lib/glusterfs/xlator/features/quiesce.so
51+
lib/glusterfs/xlator/features/quota.so
52+
lib/glusterfs/xlator/features/quotad.so
53+
lib/glusterfs/xlator/features/read-only.so
54+
lib/glusterfs/xlator/features/snapview-client.so
55+
lib/glusterfs/xlator/features/snapview-server.so
56+
lib/glusterfs/xlator/features/worm.so
57+
lib/glusterfs/xlator/meta.so
58+
lib/glusterfs/xlator/mgmt/glusterd.so
59+
lib/glusterfs/xlator/mount/api.so
60+
lib/glusterfs/xlator/mount/fuse.so
61+
lib/glusterfs/xlator/nfs/server.so
62+
lib/glusterfs/xlator/performance/io-cache.so
63+
lib/glusterfs/xlator/performance/io-threads.so
64+
lib/glusterfs/xlator/performance/md-cache.so
65+
lib/glusterfs/xlator/performance/open-behind.so
66+
lib/glusterfs/xlator/performance/quick-read.so
67+
lib/glusterfs/xlator/performance/read-ahead.so
68+
lib/glusterfs/xlator/performance/readdir-ahead.so
69+
lib/glusterfs/xlator/performance/stat-prefetch.so
70+
lib/glusterfs/xlator/performance/write-behind.so
71+
lib/glusterfs/xlator/protocol/client.so
72+
lib/glusterfs/xlator/protocol/server.so
73+
lib/glusterfs/xlator/storage/posix.so
74+
lib/glusterfs/xlator/system/posix-acl.so
75+
lib/glusterfs/xlator/testing/features/template.so
76+
lib/glusterfs/xlator/testing/performance/symlink-cache.so
77+
lib/libgfapi.so
78+
lib/libgfapi.so.7
79+
lib/libgfapi.so.7.0.0
80+
lib/libgfchangelog.so
81+
lib/libgfchangelog.so.0
82+
lib/libgfchangelog.so.0.0.1
83+
lib/libgfrpc.so
84+
lib/libgfrpc.so.0
85+
lib/libgfrpc.so.0.0.1
86+
lib/libgfxdr.so
87+
lib/libgfxdr.so.0
88+
lib/libgfxdr.so.0.0.1
89+
lib/libglusterfs.so
90+
lib/libglusterfs.so.0
91+
lib/libglusterfs.so.0.0.1
92+
lib/ocf/resource.d/glusterfs/glusterd
93+
lib/ocf/resource.d/glusterfs/volume
94+
%%PYTHON_SITELIBDIR%%/gluster/__init__.py
95+
%%PYTHON_SITELIBDIR%%/gluster/__init__.pyc
96+
%%PYTHON_SITELIBDIR%%/gluster/__init__.pyo
97+
%%PYTHON_SITELIBDIR%%/gluster/gfapi.py
98+
%%PYTHON_SITELIBDIR%%/gluster/gfapi.pyc
99+
%%PYTHON_SITELIBDIR%%/gluster/gfapi.pyo
100+
%%PYTHON_SITELIBDIR%%/gluster/glupy.py
101+
%%PYTHON_SITELIBDIR%%/gluster/glupy.pyc
102+
%%PYTHON_SITELIBDIR%%/gluster/glupy.pyo
103+
libdata/pkgconfig/glusterfs-api.pc
104+
libdata/pkgconfig/libgfchangelog.pc
105+
man/man8/gluster.8.gz
106+
man/man8/glusterd.8.gz
107+
man/man8/glusterfs.8.gz
108+
man/man8/glusterfsd.8.gz
109+
man/man8/mount.glusterfs.8.gz
110+
sbin/gluster
111+
sbin/glusterd
112+
sbin/glusterfs
113+
sbin/glusterfsd
114+
%%PORTDOCS%%%%DOCSDIR%%/benchmarking/README
115+
%%PORTDOCS%%%%DOCSDIR%%/benchmarking/glfs-bm.c
116+
%%PORTDOCS%%%%DOCSDIR%%/benchmarking/launch-script.sh
117+
%%PORTDOCS%%%%DOCSDIR%%/benchmarking/local-script.sh
118+
%%PORTDOCS%%%%DOCSDIR%%/benchmarking/rdd.c
119+
%%PORTDOCS%%%%DOCSDIR%%/glusterfs-mode.el
120+
%%PORTDOCS%%%%DOCSDIR%%/glusterfs.vim
121+
%%DATADIR%%/scripts/generate-gfid-file.sh
122+
%%DATADIR%%/scripts/get-gfid.sh
123+
%%DATADIR%%/scripts/gsync-sync-gfid
124+
%%DATADIR%%/scripts/gsync-upgrade.sh
125+
%%DATADIR%%/scripts/post-upgrade-script-for-quota.sh
126+
%%DATADIR%%/scripts/pre-upgrade-script-for-quota.sh
127+
%%DATADIR%%/scripts/slave-upgrade.sh
128+
var/lib/glusterd/groups/virt
129+
@dirrmtry %%ETCDIR%%
130+
@dirrmtry include/glusterfs/api
131+
@dirrmtry include/glusterfs/gfchangelog
132+
@dirrmtry include/glusterfs
133+
@dirrmtry lib/glusterfs/auth
134+
@dirrmtry lib/glusterfs/rpc-transport
135+
@dirrmtry lib/glusterfs/xlator/cluster
136+
@dirrmtry lib/glusterfs/xlator/debug
137+
@dirrmtry lib/glusterfs/xlator/encryption
138+
@dirrmtry lib/glusterfs/xlator/features/glupy
139+
@dirrmtry lib/glusterfs/xlator/features
140+
@dirrmtry lib/glusterfs/xlator/mgmt
141+
@dirrmtry lib/glusterfs/xlator/mount
142+
@dirrmtry lib/glusterfs/xlator/nfs
143+
@dirrmtry lib/glusterfs/xlator/performance
144+
@dirrmtry lib/glusterfs/xlator/protocol
145+
@dirrmtry lib/glusterfs/xlator/storage
146+
@dirrmtry lib/glusterfs/xlator/system
147+
@dirrmtry lib/glusterfs/xlator/testing/features
148+
@dirrmtry lib/glusterfs/xlator/testing/performance
149+
@dirrmtry lib/glusterfs/xlator/testing
150+
@dirrmtry lib/glusterfs/xlator
151+
@dirrmtry lib/glusterfs
152+
@dirrmtry lib/ocf/resource.d/glusterfs
153+
@dirrmtry lib/ocf/resource.d
154+
@dirrmtry lib/ocf
155+
@dirrmtry %%PYTHON_SITELIBDIR%%/gluster
156+
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/benchmarking
157+
%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
158+
@dirrmtry %%DATADIR%%/scripts
159+
@dirrmtry %%DATADIR%%
160+
@dirrmtry var/lib/glusterd/groups
161+
@dirrmtry var/lib/glusterd
162+
@dirrmtry var/lib
163+
@dirrmtry var/log/glusterfs
164+
@dirrmtry var/log
165+
@dirrmtry var/run/gluster
166+
@dirrmtry var/run
167+
@dirrmtry var
168+
@cwd /
169+
sbin/mount.glusterfs

0 commit comments

Comments
 (0)