2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2023 erwinlem
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= moosefs
19 COMPONENT_VERSION
= 3.0.116
20 COMPONENT_SUMMARY
= Open Source
, Petabyte
, Fault-Tolerant
, Highly Performing
, Scalable Network Distributed File System
(Software-Defined Storage
)
21 COMPONENT_PROJECT_URL
= https
://moosefs.com
/
22 COMPONENT_FMRI
= network
/${COMPONENT_NAME}
23 COMPONENT_CLASSIFICATION
=System
/File System
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_URL
= https
://codeload.github.com
/moosefs
/moosefs
/tar.gz
/refs
/tags/v
$(COMPONENT_VERSION
)
27 COMPONENT_ARCHIVE_HASH
= sha256
:3b70dd4551db282e6e9b9c8ecdb5f2ec5ed98b644dc06e2006cd0deaa84f6c9c
28 COMPONENT_LICENSE
= GPLv3
29 COMPONENT_LICENSE_FILE
= COPYING
31 TEST_TARGET
=$(NO_TESTS
) # if no testsuite enabled
32 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_PRE_CONFIGURE_ACTION
+= (echo
"0" > $(@D
)/buildno.txt
) ;
37 # we need to generate the makefiles because we patches Makefile.am
38 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
40 automake
-a
-f
-c
&& \
43 # pkgdepend does not like only the major version, replace with a specific python versien
44 COMPONENT_POST_INSTALL_ACTION
+= $(GSED
) -i
-e
's?env python3?python$(PYTHON_VERSION)?' $(PROTOUSRBINDIR
)/mfscli
;
45 COMPONENT_POST_INSTALL_ACTION
+= $(GSED
) -i
-e
's?env python3?python$(PYTHON_VERSION)?' $(PROTOUSRSBINDIR
)/mfscgiserv
;
46 COMPONENT_POST_INSTALL_ACTION
+= $(GSED
) -i
-e
's?env python3?python$(PYTHON_VERSION)?' $(PROTOUSRSHAREDIR
)/mfscgi
/mfs.cgi
;
48 CONFIGURE_OPTIONS
+= --localstatedir
=/var
49 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
53 # Auto-generated dependencies
54 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
55 REQUIRED_PACKAGES
+= SUNWcs
56 REQUIRED_PACKAGES
+= library
/libfuse
57 REQUIRED_PACKAGES
+= library
/zlib
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/libpcap
60 REQUIRED_PACKAGES
+= system
/library
/math