2016-02-24 19:44:45 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= glusterfs
|
2020-07-29 20:33:59 +00:00
|
|
|
PORTVERSION= 8.0
|
2016-02-24 19:44:45 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
|
|
|
|
|
2020-07-29 20:33:59 +00:00
|
|
|
MAINTAINER= daniel@morante.net
|
2016-02-24 19:44:45 +00:00
|
|
|
COMMENT= GlusterFS distributed file system
|
|
|
|
|
|
|
|
LICENSE= GPLv2 LGPL3
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2020-07-29 20:33:59 +00:00
|
|
|
LIB_DEPENDS= libargp.so:devel/argp-standalone \
|
|
|
|
libcurl.so:ftp/curl \
|
|
|
|
liburcu-bp.so:sysutils/liburcu \
|
|
|
|
libuuid.so:misc/e2fsprogs-libuuid
|
2020-03-08 17:01:46 +00:00
|
|
|
|
2020-07-29 20:33:59 +00:00
|
|
|
RUN_DEPENDS= bash:shells/bash
|
2017-01-21 03:08:30 +00:00
|
|
|
|
2017-06-08 10:36:43 +00:00
|
|
|
BROKEN_SSL= libressl
|
|
|
|
|
2020-08-19 14:26:05 +00:00
|
|
|
USES= autoreconf bison compiler:c11 gettext gnome libtool pkgconfig \
|
|
|
|
python readline shebangfix sqlite ssl
|
2020-07-29 20:33:59 +00:00
|
|
|
|
|
|
|
SHEBANG_FILES= events/src/glustereventsd.py events/src/peer_eventsapi.py \
|
|
|
|
events/tools/eventsdash.py extras/ganesha/ocf/ganesha_grace \
|
|
|
|
extras/ganesha/ocf/ganesha_mon extras/ganesha/ocf/ganesha_nfsd \
|
|
|
|
extras/ganesha/scripts/create-export-ganesha.sh \
|
|
|
|
extras/ganesha/scripts/dbus-send.sh \
|
|
|
|
extras/ganesha/scripts/ganesha-ha.sh \
|
|
|
|
extras/ganesha/scripts/generate-epoch.py \
|
|
|
|
extras/peer_add_secret_pub.in \
|
2017-07-30 22:45:50 +00:00
|
|
|
extras/post-upgrade-script-for-quota.sh \
|
2020-07-29 20:33:59 +00:00
|
|
|
extras/pre-upgrade-script-for-quota.sh \
|
2017-07-30 22:45:50 +00:00
|
|
|
extras/snap_scheduler/gcron.py \
|
|
|
|
extras/snap_scheduler/snap_scheduler.py \
|
2020-07-29 20:33:59 +00:00
|
|
|
extras/stop-all-gluster-processes.sh \
|
|
|
|
extras/thin-arbiter/setup-thin-arbiter.sh \
|
|
|
|
tools/gfind_missing_files/gfid_to_path.py \
|
|
|
|
tools/glusterfind/glusterfind.in \
|
|
|
|
tools/glusterfind/S57glusterfind-delete-post.py \
|
|
|
|
tools/glusterfind/src/brickfind.py \
|
|
|
|
tools/glusterfind/src/changelog.py \
|
|
|
|
tools/glusterfind/src/nodeagent.py
|
2016-02-24 19:44:45 +00:00
|
|
|
|
|
|
|
USE_GNOME= glib20 libxml2
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_RC_SUBR= glusterd
|
|
|
|
GNU_CONFIGURE= yes
|
2020-07-29 20:33:59 +00:00
|
|
|
CONFIGURE_ARGS= --disable-epoll \
|
2016-02-24 19:44:45 +00:00
|
|
|
--disable-georeplication \
|
2020-07-29 20:33:59 +00:00
|
|
|
--localstatedir=/var \
|
|
|
|
--with-mountutildir=${PREFIX}/sbin \
|
|
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
|
|
|
|
ac_cv_func_fallocate=no \
|
|
|
|
ac_cv_func_fdatasync=no \
|
|
|
|
ac_cv_func_llistxattr=no \
|
|
|
|
ac_cv_func_malloc_stats=no \
|
|
|
|
ac_cv_func_setfsuid=no \
|
|
|
|
ac_cv_lib_aio_io_setup=no
|
2016-02-24 19:44:45 +00:00
|
|
|
CPPFLAGS+= -I"${LOCALBASE}/include"
|
|
|
|
LDFLAGS+= -L"${LOCALBASE}/lib" -largp
|
|
|
|
INSTALL_TARGET= install-strip
|
2020-07-29 20:33:59 +00:00
|
|
|
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}"
|
2016-02-24 19:44:45 +00:00
|
|
|
KMODDIR?= /boot/modules
|
|
|
|
|
2018-09-10 13:14:50 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2016-02-24 19:44:45 +00:00
|
|
|
.include <bsd.port.mk>
|