72N/A#
72N/A# CDDL HEADER START
72N/A#
72N/A# The contents of this file are subject to the terms of the
72N/A# Common Development and Distribution License (the "License").
72N/A# You may not use this file except in compliance with the License.
72N/A#
72N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
72N/A# or http://www.opensolaris.org/os/licensing.
72N/A# See the License for the specific language governing permissions
72N/A# and limitations under the License.
72N/A#
72N/A# When distributing Covered Code, include this CDDL HEADER in each
72N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
72N/A# If applicable, add the following below this CDDL HEADER, with the
72N/A# fields enclosed by brackets "[]" replaced with your own identifying
72N/A# information: Portions Copyright [yyyy] [name of copyright owner]
72N/A#
72N/A# CDDL HEADER END
72N/A#
3996N/A# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
72N/A#
72N/Ainclude ../../make-rules/shared-macros.mk
72N/A
72N/ACOMPONENT_NAME= tar
2540N/ACOMPONENT_VERSION= 1.27.1
618N/ACOMPONENT_PROJECT_URL= http://www.gnu.org/software/tar/
72N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
72N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
844N/ACOMPONENT_ARCHIVE_HASH= \
2540N/A sha256:9b0fb3ce8512059337add0da5f8f0f7d7647f2201f5ece24581d620ea60337c6
72N/ACOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/gnu/tar/$(COMPONENT_ARCHIVE)
1273N/ACOMPONENT_BUGDB= utility/gtar
72N/A
3661N/ATPNO= 16886
3661N/A
3996N/Ainclude $(WS_MAKE_RULES)/prep.mk
3996N/Ainclude $(WS_MAKE_RULES)/configure.mk
3996N/Ainclude $(WS_MAKE_RULES)/ips.mk
72N/A
72N/A# workaround for CR 6998994
72N/Asparc_COPTFLAG = -xO2
72N/A
2540N/A# Enforce tar binary to standard path
2540N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/bin
2540N/A
574N/A# Use ssh (rather than rsh) for remote commands.
574N/ACONFIGURE_ENV += "RSH=/usr/bin/ssh"
574N/A
72N/ACONFIGURE_OPTIONS += --with-rmt=/usr/sbin/rmt
72N/ACONFIGURE_OPTIONS += --libexecdir=/usr/sbin
72N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
72N/A
75N/ACOMPONENT_BUILD_TARGETS = all
72N/A
2540N/AASLR_MODE = $(ASLR_ENABLE)
2540N/A
2540N/Abuild: $(BUILD_64)
72N/A
2540N/Ainstall: $(INSTALL_64)
72N/A
2540N/Atest: $(TEST_64)
83N/A
72N/A
3996N/AREQUIRED_PACKAGES += compress/bzip2
3996N/AREQUIRED_PACKAGES += compress/gzip
3996N/AREQUIRED_PACKAGES += network/ssh
4176N/AREQUIRED_PACKAGES += network/openssh
3996N/AREQUIRED_PACKAGES += system/core-os
3996N/AREQUIRED_PACKAGES += system/library