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]
21 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
22 # Copyright (c) 2018, Michal Nowak
25 include ..
/..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_VERSION
= 2.7.6
29 COMPONENT_REVISION
= 1
30 COMPONENT_SUMMARY
= The GNU Patch utility
31 COMPONENT_PROJECT_URL
= https
://www.gnu.org
/software
/patch
/
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd
36 COMPONENT_ARCHIVE_URL
= http
://ftp.gnu.org
/gnu
/patch
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= text
/gnu-patch
38 COMPONENT_CLASSIFICATION
= Development
/GNU
39 COMPONENT_LICENSE
= GPLv2
40 COMPONENT_LICENSE_FILE
= patch.license
42 # Note: CVE-2019-20633 and CVE-2021-45261 are not fixed yet.
44 USE_DEFAULT_TEST_TRANSFORMS
= yes
46 include $(WS_MAKE_RULES
)/common.mk
48 COMPONENT_TEST_ENV_CMD
= $(ENV
) -i
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= system
/library