4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Michal Nowak
25 # Copyright (c) 2021, Nona Hansel
28 USE_DEFAULT_TEST_TRANSFORMS
= yes
29 include ..
/..
/..
/make-rules
/shared-macros.mk
31 COMPONENT_NAME
= findutils
32 COMPONENT_VERSION
= 4.10.0
33 COMPONENT_SUMMARY
= GNU findutils
34 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/findutils
/
35 COMPONENT_FMRI
= file
/gnu-findutils
36 COMPONENT_CLASSIFICATION
=Applications
/System Utilities
37 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
38 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
39 COMPONENT_ARCHIVE_HASH
= sha256
:1387e0b67ff247d2abde998f90dfbf70c1491391a59ddfecb8ae698789f0a4f5
40 COMPONENT_ARCHIVE_URL
= https
://ftp.gnu.org
/pub
/gnu
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
41 COMPONENT_LICENSE
= GPLv3
42 COMPONENT_LICENSE_FILE
= COPYING
44 include $(WS_MAKE_RULES
)/common.mk
46 CONFIGURE_PREFIX
= $(GNUDIR
)
48 # Disable the leaf optimisation feature, because the st_nlinks directory
49 # field is incorrect on ZFS file systems.
50 CONFIGURE_OPTIONS
+= --disable-leaf-optimisation
52 # Run all the tests even if there is a failure
53 COMPONENT_TEST_ARGS
+= -k
54 COMPONENT_TEST_ENV
+= PATH
="$(PATH.gnu)"
57 TEST_REQUIRED_PACKAGES
+= developer
/versioning
/cvs
58 TEST_REQUIRED_PACKAGES
+= developer
/versioning
/git
59 TEST_REQUIRED_PACKAGES
+= locale
/zh_cn-extra
61 # Auto-generated dependencies
62 REQUIRED_PACKAGES
+= system
/library
63 REQUIRED_PACKAGES
+= system
/library
/math