freebsd-ports/sysutils/moosefs3-master/Makefile
Piotr Robert Konopelko (MooseFS) 917605615f sysutils/moosefs3-*: update to 3.0.116
Recent changes since MooseFS 3.0.115:

* MooseFS 3.0.116-1 (2021-08-10)

  - (check) making clock test less prone to single failure
  - (master) added protection against listing too big directory
  - (master) servers in 'rebalance' state are now allowed to be used in replication
  - (cs) changed handling 'load+hlstatus' packet
  - (mount) added symlink cache timeout
  - (master) added option to define inode reuse delay
  - (cgi+cli) fixed division by zero when scount is zero (no chunkservers - issue #412)
  - (master) added inode virtual length for append mode
  - (mount) moved rwlock from descriptor to inode (fixes append issues)
  - (cgi) changed method of charts selection in charts comparison
  - (cgi) added message to function that handles exceptions
  - (cgi) added using htmlentities function for various strings
  - (mount) removed old osxfuse patch (doesn't work with current osxfuse and is no longer needed)
  - (master) fixed default paths for exports.cfg and topology.cfg
  - (master) fixed restore mode (missing cache initialization - issue #432)
  - (mount) added parents of CWD's to 'sustained' inodes (workaround for FreeBSD problem - issue #362)
  - (all) fixed spelling
  - (master) fixed handling copy sgid for directories on follower and during restore from changelog
  - (master) fixed changelog order between unlock and close file or session
  - (cgi) fixed using '&' in javascript URLs (issue #439)
  - (cgiserv) fixed error/redirect responses (pull request by Eronana)
  - (master+cs) fixed overflows in cgi charts
  - (cs) fixed crc data in info packets (*_CHUNK_CHECKSUM,*_CHUNK_CHECKSUM_TAB)

PR:		257781
2021-08-18 22:58:38 +02:00

111 lines
2.7 KiB
Makefile

# Created by: Jakub Kruszona-Zawadzki <acid@moosefs.com> ; Based on port created by: Chifeng Qu <chifeng@gmail.com>
PORTNAME= moosefs3
DISTVERSION= 3.0.116
DISTVERSIONSUFFIX= 1
PORTREVISION= 0
CATEGORIES= sysutils
MASTER_SITES= http://ppa.moosefs.com/src/
PKGNAMESUFFIX?= -master
DISTNAME= moosefs-${DISTVERSION}-${DISTVERSIONSUFFIX}
MAINTAINER= freebsd@moosefs.pro
COMMENT?= Fault-tolerant distributed filesystem
LICENSE= GPLv2
USES= python:build
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/moosefs-${PORTVERSION}
PLIST= ${.CURDIR}/pkg-plist
DESCR= ${.CURDIR}/pkg-descr
MFS_COMPONENT?= master
MFS_USER= mfs
MFS_GROUP= mfs
MFS_WORKDIR= /var
USERS= ${MFS_USER}
GROUPS= ${MFS_GROUP}
CONFIGURE_ARGS+= --localstatedir=${MFS_WORKDIR} \
--with-default-user=${MFS_USER} \
--with-default-group=${MFS_GROUP}
CONFLICTS= moosefs2-${MFS_COMPONENT}-*
.if ${MFS_COMPONENT} == cgi
MFS_CGIDIR= ${PREFIX}/share/mfscgi
USES= python
CONFIGURE_ARGS+= --enable-mfscgi \
--with-mfscgi-dir=${MFS_CGIDIR}
.else
CONFIGURE_ARGS+= --disable-mfscgi
.endif
.if ${MFS_COMPONENT} == cgiserv
MFS_CGISERVDIR= ${PREFIX}/sbin
USES= python
USE_RC_SUBR= mfscgiserv
SUB_FILES+= pkg-message-cgiserv
PKGMESSAGE= ${WRKDIR}/pkg-message-cgiserv
PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}"
CONFIGURE_ARGS+= --enable-mfscgiserv \
--with-mfscgiserv-dir=${MFS_CGISERVDIR}
RUN_DEPENDS= moosefs3-cgi>0:sysutils/moosefs3-cgi
.else
CONFIGURE_ARGS+= --disable-mfscgiserv
.endif
.if ${MFS_COMPONENT} == chunkserver
USE_RC_SUBR= mfschunkserver
SUB_FILES+= pkg-message-chunkserver
PKGMESSAGE= ${WRKDIR}/pkg-message-chunkserver
PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}"
CONFIGURE_ARGS+= --enable-mfschunkserver
.else
CONFIGURE_ARGS+= --disable-mfschunkserver
.endif
.if ${MFS_COMPONENT} == cli
USES= python
CONFIGURE_ARGS+= --enable-mfscli
.else
CONFIGURE_ARGS+= --disable-mfscli
.endif
.if ${MFS_COMPONENT} == client
USES= compiler:c11 fuse:3 libtool pkgconfig
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --enable-mfsmount
.else
CONFIGURE_ARGS+= --disable-mfsmount
.endif
.if ${MFS_COMPONENT} == master
USE_RC_SUBR= mfsmaster
PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}"
SUB_FILES+= pkg-message-master
PKGMESSAGE= ${WRKDIR}/pkg-message-master
CONFIGURE_ARGS+= --enable-mfsmaster
.else
CONFIGURE_ARGS+= --disable-mfsmaster
.endif
.if ${MFS_COMPONENT} == metalogger
USE_RC_SUBR= mfsmetalogger
SUB_FILES+= pkg-message-metalogger
PKGMESSAGE= ${WRKDIR}/pkg-message-metalogger
PLIST_SUB+= MFS_WORKDIR="${MFS_WORKDIR}"
CONFIGURE_ARGS+= --enable-mfsmetalogger
.else
CONFIGURE_ARGS+= --disable-mfsmetalogger
.endif
.if ${MFS_COMPONENT} == netdump
CONFIGURE_ARGS+= --enable-mfsnetdump
.else
CONFIGURE_ARGS+= --disable-mfsnetdump
.endif
.include <bsd.port.mk>