1 # This file and its contents are supplied under the terms of the
2 # Common Development and Distribution License ("CDDL)". You may
3 # only use this file in accordance with the terms of the CDDL.
5 # A full copy of the text of the CDDL should have accompanied this
6 # source. A copy of the CDDL is also available via the Internet at
7 # http://www.illumos.org/license/CDDL.
11 # Copyright 2022 Carsten Grzemba
14 BUILD_STYLE
= justmake
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= samqfs
19 COMPONENT_VERSION
= 5.64.6
21 COMPONENT_REVISION
= 0
22 COMPONENT_FMRI
= system
/$(COMPONENT_NAME
)
23 COMPONENT_CLASSIFICATION
= System
/File System
24 COMPONENT_PROJECT_URL
= https
://github.com
/cgrzemba
/$(COMPONENT_NAME
)
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)$(BRANCH_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/$(COMPONENT_VERSION
)$(BRANCH_VERSION
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:9d544d5be16f00e7073451860481f80ea5c7d4c397e22f884bb954a4e6a75187
30 COMPONENT_LICENSE
= CDDL
31 COMPONENT_LICENSE_FILE
= opt
/SUNWsamfs
/doc
/OPENSOLARIS.LICENSE
32 COMPONENT_SUMMARY
= Storage and Archive Manager File System
34 TEST_TARGET
= $(NO_TESTS
)
36 include $(WS_MAKE_RULES
)/common.mk
38 COMPONENT_BUILD_ARGS
= AMD64
=yes DEBUG
=no MYSQL_VERSION
=$(MYSQL_IMPLEM
)/$(MYSQL_VERSION
) SAMQFS_VERSION
=$(COMPONENT_VERSION
)$(BRANCH_VERSION
) NO_BUILD_ACSLS
=-D_NoACSLS_
40 COMPONENT_INSTALL_ARGS
= install AMD64
=yes DEBUG
=no DESTDIR
=$(PROTO_DIR
) SAMQFS_VERSION
=$(COMPONENT_VERSION
)$(BRANCH_VERSION
)
42 PKG_HARDLINKS
+= opt
/SUNWsamfs
/bin
/archive
43 PKG_HARDLINKS
+= opt
/SUNWsamfs
/bin
/request
44 PKG_HARDLINKS
+= opt
/SUNWsamfs
/bin
/sdu
45 PKG_HARDLINKS
+= opt
/SUNWsamfs
/bin
/sfind
46 PKG_HARDLINKS
+= opt
/SUNWsamfs
/bin
/sls
47 PKG_HARDLINKS
+= opt
/SUNWsamfs
/lib
/libsam.so
48 PKG_HARDLINKS
+= opt
/SUNWsamfs
/lib
/libsamcat.so
49 PKG_HARDLINKS
+= opt
/SUNWsamfs
/lib
/libsamrft.so
50 PKG_HARDLINKS
+= opt
/SUNWsamfs
/lib
/libsamut.so
51 PKG_HARDLINKS
+= opt
/SUNWsamfs
/sbin
/samquota
52 PKG_HARDLINKS
+= opt
/SUNWsamfs
/sbin
/samu
53 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/archive
.1
54 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/release
.1
55 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/request
.1
56 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/sdu
.1
57 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/segment
.1
58 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/setfa
.1
59 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/sfind
.1
60 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/sls
.1
61 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/squota
.1
62 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/ssum
.1
63 PKG_HARDLINKS
+= opt
/SUNWsamfs
/man
/man1
/stage
.1
66 REQUIRED_PACKAGES
+= library
/python
/jinja2
68 # Auto-generated dependencies
69 REQUIRED_PACKAGES
+= $(MYSQL_LIBRARY_PKG
)
70 REQUIRED_PACKAGES
+= SUNWcs
71 REQUIRED_PACKAGES
+= database
/berkeleydb-5
72 REQUIRED_PACKAGES
+= library
/zlib
73 REQUIRED_PACKAGES
+= runtime
/perl
74 REQUIRED_PACKAGES
+= shell/ksh93
75 REQUIRED_PACKAGES
+= system
/library