freebsd-ports/net/glusterfs/Makefile
Florian Smeets 32e7d4c3b3 Update to 8.0, this is a collaborative effort between Daniel Morante and
myself.

- update to 8.0
- make it possible to mount gluster volumes on boot [1]
- reset maintainer [1], I would have set it to ports@ but Daniel volunteered
  to maintain the port
- add pkg-message to point out that procfs is required for some operations
  like "gluster volume status" which is also required for self healing. [2]

This version works although I still see the same memory leak as with the
3.X series.

PR:		236112 [1], 223671 [2]
Submitted by:	Daniel Morante <daniel@morante.net>, flo
Obtained from:	https://github.com/tuaris/freebsd-glusterfs7
Differential Revision:	D25037
2020-07-29 20:33:59 +00:00

70 lines
2.1 KiB
Makefile

# $FreeBSD$
PORTNAME= glusterfs
PORTVERSION= 8.0
CATEGORIES= net
MASTER_SITES= http://bits.gluster.org/pub/gluster/glusterfs/src/
MAINTAINER= daniel@morante.net
COMMENT= GlusterFS distributed file system
LICENSE= GPLv2 LGPL3
LICENSE_COMB= dual
LIB_DEPENDS= libargp.so:devel/argp-standalone \
libcurl.so:ftp/curl \
liburcu-bp.so:sysutils/liburcu \
libuuid.so:misc/e2fsprogs-libuuid
RUN_DEPENDS= bash:shells/bash
BROKEN_SSL= libressl
USES= autoreconf bison gettext gnome libtool pkgconfig python \
readline shebangfix sqlite ssl
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 \
extras/post-upgrade-script-for-quota.sh \
extras/pre-upgrade-script-for-quota.sh \
extras/snap_scheduler/gcron.py \
extras/snap_scheduler/snap_scheduler.py \
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
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USE_RC_SUBR= glusterd
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-epoll \
--disable-georeplication \
--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
CPPFLAGS+= -I"${LOCALBASE}/include"
LDFLAGS+= -L"${LOCALBASE}/lib" -largp
INSTALL_TARGET= install-strip
PLIST_SUB= GLUSTERLIBDIR="lib/${PORTNAME}"
KMODDIR?= /boot/modules
OPTIONS_DEFINE= DOCS
.include <bsd.port.mk>