38856343f90103280eb83b5e697f9f618b407d83vboxsync#
38856343f90103280eb83b5e697f9f618b407d83vboxsync# CDDL HEADER START
5b281ba489ca18f0380d7efc7a5108b606cce449vboxsync#
38856343f90103280eb83b5e697f9f618b407d83vboxsync# The contents of this file are subject to the terms of the
38856343f90103280eb83b5e697f9f618b407d83vboxsync# Common Development and Distribution License (the "License").
38856343f90103280eb83b5e697f9f618b407d83vboxsync# You may not use this file except in compliance with the License.
38856343f90103280eb83b5e697f9f618b407d83vboxsync#
38856343f90103280eb83b5e697f9f618b407d83vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
38856343f90103280eb83b5e697f9f618b407d83vboxsync# or http://www.opensolaris.org/os/licensing.
38856343f90103280eb83b5e697f9f618b407d83vboxsync# See the License for the specific language governing permissions
38856343f90103280eb83b5e697f9f618b407d83vboxsync# and limitations under the License.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync#
38856343f90103280eb83b5e697f9f618b407d83vboxsync# When distributing Covered Code, include this CDDL HEADER in each
38856343f90103280eb83b5e697f9f618b407d83vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38856343f90103280eb83b5e697f9f618b407d83vboxsync# If applicable, add the following below this CDDL HEADER, with the
38856343f90103280eb83b5e697f9f618b407d83vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# CDDL HEADER END
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync#
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncBUILD_BITS= 64
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncinclude ../../make-rules/shared-macros.mk
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsync
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncCOMPONENT_NAME= cvs
a16eb14ad7a4b5ef91ddc22d3e8e92d930f736fcvboxsyncCOMPONENT_VERSION= 1.12.13
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_PROJECT_URL= http://www.nongnu.org/cvs/
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_ARCHIVE_HASH= \
38856343f90103280eb83b5e697f9f618b407d83vboxsync sha256:78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_ARCHIVE_URL= http://ftp.gnu.org/non-gnu/cvs/source/feature/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsyncTPNO= 6323
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsyncSYSTEM_TEST_TARGET= $(SYSTEM_TEST_64)
38856343f90103280eb83b5e697f9f618b407d83vboxsyncinclude $(WS_MAKE_RULES)/common.mk
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCFLAGS += -D__ATTRIBUTE_DISABLED
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCONFIGURE_OPTIONS += --with-external-zlib
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsync# Enable adiheap and adistack security extensions
38856343f90103280eb83b5e697f9f618b407d83vboxsyncADIHEAP_MODE = $(ADIHEAP_ENABLE)
38856343f90103280eb83b5e697f9f618b407d83vboxsyncADISTACK_MODE = $(ADISTACK_ENABLE)
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsync# need gnu grep
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_TEST_ENV += PATH=$(GNUBIN):$(PATH)
38856343f90103280eb83b5e697f9f618b407d83vboxsync# "check" is not working yet. It's asking for a password.
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_TEST_TARGETS = localcheck
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsync# mimic localcheck from src/Makefile
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_SYSTEM_TEST_DIR = $(SOURCE_DIR)/src
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_SYSTEM_TEST_ENV += PATH=$(GNUBIN):$(PATH)
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_SYSTEM_TEST_CMD = ./sanity.sh
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_SYSTEM_TEST_ARGS = $(USRBINDIR)/cvs
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_SYSTEM_TEST_TARGETS =
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsync# extract just the final results
38856343f90103280eb83b5e697f9f618b407d83vboxsync# delete make lines
38856343f90103280eb83b5e697f9f618b407d83vboxsync# delete cp lines
38856343f90103280eb83b5e697f9f618b407d83vboxsyncCOMPONENT_TEST_TRANSFORMS += \
38856343f90103280eb83b5e697f9f618b407d83vboxsync '-e "/^This/,/^make/!d" ' \
38856343f90103280eb83b5e697f9f618b407d83vboxsync '-e "/^[mM]ake/d" ' \
38856343f90103280eb83b5e697f9f618b407d83vboxsync '-e "/^cp.*/d" '
38856343f90103280eb83b5e697f9f618b407d83vboxsync
38856343f90103280eb83b5e697f9f618b407d83vboxsyncREQUIRED_PACKAGES += library/zlib
38856343f90103280eb83b5e697f9f618b407d83vboxsync