blob: 78c090ee7fb094dcc2e1bad85496655fde0a5c9e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# $FreeBSD$
PORTNAME= glusterfs
PORTVERSION= 3.7.6
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
MAINTAINER= craig001@lerwick.hopto.org
COMMENT= GlusterFS distributed file system
LICENSE= GPLv2 LGPL3
LICENSE_COMB= dual
LIB_DEPENDS= libargp.so:devel/argp-standalone liburcu-bp.so:sysutils/liburcu
USE_GCC= any
USES= bison gettext libtool pkgconfig python:build readline \
shebangfix sqlite
SHEBANG_FILES= extras/peer_add_secret_pub.in \
tools/glusterfind/S57glusterfind-delete-post.py \
extras/ganesha/scripts/ganesha-ha.sh
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_RC_SUBR= glusterd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
--with-mountutildir=${PREFIX}/sbin \
--localstatedir=/var \
--disable-epoll \
--enable-glupy \
--disable-georeplication \
ac_cv_lib_aio_io_setup=no ac_cv_func_fallocate=no \
ac_cv_func_setfsuid=no ac_cv_func_fdatasync=no \
ac_cv_func_llistxattr=no ac_cv_func_malloc_stats=no
CPPFLAGS+= -I"${LOCALBASE}/include"
LDFLAGS+= -L"${LOCALBASE}/lib" -largp
INSTALL_TARGET= install-strip
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}/3.7.6"
KMODDIR?= /boot/modules
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1000000
WITH_OPENSSL_PORT= yes
RUN_DEPENDS+= ${KMODDIR}/fuse.ko:sysutils/fusefs-kmod
.endif
.include <bsd.port.mk>
|