diff --git a/filesystems/moosefs2-cgi/Makefile b/filesystems/moosefs2-cgi/Makefile index d33138f4f30c..4aed8d65bd3f 100644 --- a/filesystems/moosefs2-cgi/Makefile +++ b/filesystems/moosefs2-cgi/Makefile @@ -1,9 +1,10 @@ +PORTREVISION= 2 PKGNAMESUFFIX= -cgi COMMENT= MooseFS CGI interface MFS_COMPONENT= cgi MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-cgiserv/Makefile b/filesystems/moosefs2-cgiserv/Makefile index afe97c58fc27..84293196a626 100644 --- a/filesystems/moosefs2-cgiserv/Makefile +++ b/filesystems/moosefs2-cgiserv/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -cgiserv COMMENT= MooseFS CGI web server MFS_COMPONENT= cgiserv MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-chunkserver/Makefile b/filesystems/moosefs2-chunkserver/Makefile index a194e2c20296..fbe20f5156f2 100644 --- a/filesystems/moosefs2-chunkserver/Makefile +++ b/filesystems/moosefs2-chunkserver/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -chunkserver COMMENT= MooseFS data storage and synchronization component MFS_COMPONENT= chunkserver MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-cli/Makefile b/filesystems/moosefs2-cli/Makefile index 1a6757a94e1c..5198e758b385 100644 --- a/filesystems/moosefs2-cli/Makefile +++ b/filesystems/moosefs2-cli/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -cli COMMENT= MooseFS command line interface MFS_COMPONENT= cli MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-client/Makefile b/filesystems/moosefs2-client/Makefile index 9cf2d724e61e..289713de1f82 100644 --- a/filesystems/moosefs2-client/Makefile +++ b/filesystems/moosefs2-client/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -client COMMENT= MooseFS client tools MFS_COMPONENT= client MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-master/Makefile b/filesystems/moosefs2-master/Makefile index f71b0645904f..5a032d722157 100644 --- a/filesystems/moosefs2-master/Makefile +++ b/filesystems/moosefs2-master/Makefile @@ -1,107 +1,109 @@ PORTNAME= moosefs2 PORTVERSION= 2.0.91 -PORTREVISION= 1 +PORTREVISION?= 2 CATEGORIES= filesystems sysutils MASTER_SITES= http://ppa.moosefs.com/src/ PKGNAMESUFFIX?= -master DISTNAME= moosefs-${PORTVERSION}-1 MAINTAINER= freebsd@moosefs.com COMMENT?= Fault-tolerant distributed filesystem WWW= https://moosefs.com/ LICENSE= GPLv2 +DEPRECATED= 2.x reached EoL 2017-12-31, use filesystems/moosefs-* 4.x instead +EXPIRATION_DATE= 2026-03-31 + USES= python:build GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share 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} \ .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= moosefs2-cgi>0:filesystems/moosefs2-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 pkgconfig 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 diff --git a/filesystems/moosefs2-metalogger/Makefile b/filesystems/moosefs2-metalogger/Makefile index 6922aac6de8f..0292170dd597 100644 --- a/filesystems/moosefs2-metalogger/Makefile +++ b/filesystems/moosefs2-metalogger/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -metalogger COMMENT= MooseFS metadata backup server MFS_COMPONENT= metalogger MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile" diff --git a/filesystems/moosefs2-netdump/Makefile b/filesystems/moosefs2-netdump/Makefile index 819857812fb0..75b0460a6833 100644 --- a/filesystems/moosefs2-netdump/Makefile +++ b/filesystems/moosefs2-netdump/Makefile @@ -1,10 +1,10 @@ -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMESUFFIX= -netdump COMMENT= MooseFS network packet dump utility MFS_COMPONENT= netdump MASTERDIR= ${.CURDIR}/../moosefs2-master .include "${MASTERDIR}/Makefile"