15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
22228656 remove redundant declarations and additions from makefiles
22252545 simplify build rules for components from common upstream
22378457 tclConfig.sh compiler settings are too specific
22727315 httping curses gui missing
22750630 procmail ignores userland cflags and may use private strstr function
22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff
22926847 cloog Makefile typo when setting ASLR_MODE
22935090 tk config script has wrong linker flags
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
# Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
#
# parfait fails to compile us (22221056)
export PARFAIT_BUILD=no
BUILD_BITS= 64
include ../../make-rules/shared-macros.mk
COMPONENT_NAME= openvswitch
COMPONENT_VERSION= 2.3.1
COMPONENT_ARCHIVE_HASH= \
sha256:d6d96e45fd9c070cc2696a4a09b4cc4b48dd7fc367c0455725d00f7daa343bf0
COMPONENT_PROJECT_URL= http://openvswitch.org/
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/releases/$(COMPONENT_ARCHIVE)
COMPONENT_BUGDB= service/openvswitch
TPNO= 21407
# Depends on S12-only changes in ON to build.
ifeq ($(BUILD_TYPE), evaluation)
BUILD_64=
INSTALL_64=
PUBLISH_STAMP=
endif
include $(WS_MAKE_RULES)/common.mk
PKG_PROTO_DIRS += $(BUILD_DIR_64)
COMPONENT_PRE_CONFIGURE_ACTION += \
($(LN) -fs $(COMPONENT_DIR)/files/include/solaris $(SOURCE_DIR)/include/solaris; \
$(LN) -fs $(COMPONENT_DIR)/files/lib/* $(SOURCE_DIR)/lib; \
cd $(SOURCE_DIR); $(SOURCE_DIR)/boot.sh)
COMPILER = gcc
USRLIBOVSDIR= $(USRLIBDIR)/ovs
CONFIGURE_PREFIX = $(USRLIBOVSDIR)
CONFIGURE_BINDIR.64 = $(USRSBINDIR)
CONFIGURE_SBINDIR.64 = $(USRLIBOVSDIR)
CONFIGURE_OPTIONS += --mandir=$(USRSHAREMANDIR)
CONFIGURE_OPTIONS += --localstatedir=$(VARDIR)/run/ovs
CONFIGURE_OPTIONS += --with-logdir=$(VARDIR)/log/ovs
CONFIGURE_OPTIONS += --with-rundir=$(VARDIR)/run/ovs/
CONFIGURE_OPTIONS += --with-dbdir=$(VARDIR)/lib/ovs/etc
CONFIGURE_OPTIONS += --datarootdir=$(USRLIBOVSDIR)/share
COMPONENT_PRE_BUILD_ACTION = \
($(LN) -fs $(COMPONENT_DIR)/files/include/solaris $(SOURCE_DIR)/include/solaris)
COMPONENT_TEST_TRANSFORMS += \
'-e "s|^tests/pki/test-req.pem.*||g" ' \
'-e "s|^tests/pki/test2-req.pem.*||g" ' \
'-e "s|^.*fingerprint.*||g" '
COMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
REQUIRED_PACKAGES += library/security/openssl
REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += shell/ksh93
REQUIRED_PACKAGES += system/core-os
REQUIRED_PACKAGES += system/library/math
REQUIRED_PACKAGES += system/management/rad
REQUIRED_PACKAGES += system/management/rad/client/rad-c
REQUIRED_PACKAGES += system/management/rad/client/rad-python
REQUIRED_PACKAGES += system/network