--- a/components/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -163,7 +163,10 @@
done
publish:
+ifneq ($(BUILD_TYPE), evaluation)
+ # evaluation packages don't need to be incorporated
$(MAKE) incorporation
+endif
# pkglint all of the published manifests in one batch.
ifdef CANONICAL_REPO
@echo 'pkglinting all package manifests...'
--- a/components/apache2-modules/mod_security2/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/apache2-modules/mod_security2/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -68,3 +68,4 @@
REQUIRED_PACKAGES += library/pcre
REQUIRED_PACKAGES += runtime/lua
REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/libgsl/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/libgsl/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -36,6 +36,14 @@
TPNO= 21884
include $(WS_MAKE_RULES)/prep.mk
+
+# requires Studio sunperf library integrated into S11.3 and later
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_32_and_64=
+INSTALL_32_and_64=
+PUBLISH_STAMP=
+endif
+
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/logilab-common/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/logilab-common/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -41,6 +41,14 @@
PYTHON_VERSIONS= 2.7 2.6
include $(WS_MAKE_RULES)/prep.mk
+
+# pyorbit-27 is only available on S11.3 and later
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_NO_ARCH=
+INSTALL_NO_ARCH=
+PUBLISH_STAMP=
+endif
+
include $(WS_MAKE_RULES)/ips.mk
include $(WS_MAKE_RULES)/setup.py.mk
--- a/components/meld/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/meld/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -36,6 +36,14 @@
TPNO= 16990
include $(WS_MAKE_RULES)/prep.mk
+
+# pygtk2-27 is only available on S11.3 and later
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_32=
+INSTALL_32=
+PUBLISH_STAMP=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/evaluation/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -0,0 +1,41 @@
+#
+# 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, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+include $(WS_MAKE_RULES)/prep.mk
+
+COMPONENT_NAME= evaluation
+COMPONENT_VERSION= 1.0
+COMPONENT_BUGDB= gate-stuff/userland
+
+ifneq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+endif
+
+# Override default settings in prep.mk so we don't delete the entire directory.
+CLEAN_PATHS= $(BUILD_DIR)
+CLOBBER_PATHS= $(BUILD_DIR)
+
+include $(WS_MAKE_RULES)/ips.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/meta-packages/evaluation/evaluation.p5m Mon Jun 29 18:33:05 2015 -0700
@@ -0,0 +1,40 @@
+#
+# 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, Oracle and/or its affiliates. All rights reserved.
+#
+
+# Every package automatically gets a pkg(5) license action added to it during an
+# 'evaluation' build. We need to add must-accept and must-display attributes
+# to this package so that installing it always displays the information and
+# requires that it be accepted.
+<transform license license=evaluation -> add must-accept true>
+<transform license license=evaluation -> add must-display true>
+set name=pkg.fmri \
+ value=pkg:/release/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="evaluation information meta-package"
+set name=pkg.description value="This package contains evaluation information."
+set name=pkg.linted.userland.manifest001.0 value=true
+set name=com.oracle.info.description value="evaluation information meta-package"
+set name=info.classification value=org.opensolaris.category.2008:System/Core
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file evaluation path=etc/notices/evaluation
--- a/components/meta-packages/pre-release/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-#
-# 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, Oracle and/or its affiliates. All rights reserved.
-#
-
-include ../../../make-rules/shared-macros.mk
-include $(WS_MAKE_RULES)/prep.mk
-
-COMPONENT_NAME= pre-release
-COMPONENT_VERSION= 1.0
-COMPONENT_BUGDB= gate-stuff/userland
-
-ifneq ($(BUILD_TYPE), pre-release)
-PUBLISH_STAMP=
-endif
-
-# Override default settings in prep.mk so we don't delete the entire directory.
-CLEAN_PATHS= $(BUILD_DIR)
-CLOBBER_PATHS= $(BUILD_DIR)
-
-include $(WS_MAKE_RULES)/ips.mk
--- a/components/meta-packages/pre-release/pre-release.license Mon Jun 29 11:36:22 2015 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-TBD pre-release software license goes here.
--- a/components/meta-packages/pre-release/pre-release.p5m Mon Jun 29 11:36:22 2015 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#
-# 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, Oracle and/or its affiliates. All rights reserved.
-#
-
-set name=pkg.fmri \
- value=pkg:/release/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
-set name=pkg.summary value="pre-release license meta-package"
-set name=pkg.description value="This package contains the pre-release license."
-set name=pkg.linted.userland.manifest001.0 value=true
-set name=com.oracle.info.description value="pre-release license meta-package"
-set name=info.classification value=org.opensolaris.category.2008:System/Core
-set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
-file pre-release.license path=etc/notices/pre-release
-license pre-release.license license=pre-release must-accept=true \
- must-display=true
--- a/components/nmap/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/nmap/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -42,6 +42,14 @@
TPNO= 9217
include $(WS_MAKE_RULES)/prep.mk
+
+# pyobject-27and pygtk2-27 are only available on S11.3 and later
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_32=
+INSTALL_32=
+PUBLISH_STAMP=
+endif
+
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/open-fabrics/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/open-fabrics/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -36,6 +36,12 @@
TPNO_RDS_TOOLS= 5092
include ../../make-rules/shared-macros.mk
+
+# sensitive to kernel interface changes.
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+endif
+
include $(WS_MAKE_RULES)/ips.mk
include ofed.mk
@@ -47,8 +53,12 @@
COMPONENT_PROJECT_URL= http://www.openfabrics.org/
COMPONENT_BUGDB= library/ofuv_lib utility/ofuv_tools
+ifeq ($(BUILD_TYPE), evaluation)
+SUBDIRS =
+else
# for now, everything with a Makefile should be built
SUBDIRS = $(shell echo */Makefile | sed -e 's;/Makefile;;g')
+endif
# Do not apply the standard license transforms for this component. The
# license actions in the open-fabrics.p5m file are already tagged with the
--- a/components/postfix/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/postfix/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -38,6 +38,14 @@
TPNO= 7492
include ../../make-rules/prep.mk
+
+# needs sendmail packaging changes in S11.3 and later
+ifeq ($(BUILD_TYPE), evaluation)
+BUILD_64=
+INSTALL_64=
+PUBLISH_STAMP=
+endif
+
include ../../make-rules/justmake.mk
include ../../make-rules/ips.mk
--- a/components/python/mysql/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/python/mysql/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -69,3 +69,4 @@
REQUIRED_PACKAGES += database/mysql-55/library
REQUIRED_PACKAGES += system/library
+REQUIRED_PACKAGES += system/library/math
--- a/components/visual-panels/apache/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/apache/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -31,6 +31,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/core/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/core/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -30,6 +30,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/coreadm/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/coreadm/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/firewall/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/firewall/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/smf/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/smf/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/sysmon/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/sysmon/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/time/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/time/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/usermgr/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/usermgr/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- a/components/visual-panels/zconsole/Makefile Mon Jun 29 11:36:22 2015 -0700
+++ b/components/visual-panels/zconsole/Makefile Mon Jun 29 18:33:05 2015 -0700
@@ -32,6 +32,13 @@
COMPONENT_SRC = src
COMPONENT_BUGDB= utility/vpanels
+# not all VP functionality works with java-8
+ifeq ($(BUILD_TYPE), evaluation)
+PUBLISH_STAMP=
+BUILD_32=
+INSTALL_32=
+endif
+
include $(WS_MAKE_RULES)/justmake.mk
include $(WS_MAKE_RULES)/ips.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/licenses/evaluation Mon Jun 29 18:33:05 2015 -0700
@@ -0,0 +1,2 @@
+This software has been made available for evaluation purposes only.
+See http://www.oracle.com/technetwork/server-storage/solaris11/technologies/foss-evaluation-program-2586275.html for further information.
--- a/make-rules/ips.mk Mon Jun 29 11:36:22 2015 -0700
+++ b/make-rules/ips.mk Mon Jun 29 18:33:05 2015 -0700
@@ -82,11 +82,11 @@
PUBLISH_TRANSFORMS += $(WS_TOP)/transforms/incorporate
PUBLISH_TRANSFORMS += $(WS_TOP)/transforms/publish-cleanup
-# If we are building "pre-release" packages, add the pre-release license
+# If we are building "evaluation" packages, add the evaluation information
# action so that the package(s) display the terms and require acceptance
# to install.
-ifeq ($(BUILD_TYPE),pre-release)
-PUBLISH_TRANSFORMS += $(WS_TOP)/transforms/pre-release
+ifeq ($(BUILD_TYPE),evaluation)
+PUBLISH_TRANSFORMS += $(WS_TOP)/transforms/evaluation
endif
PKG_MACROS += MACH=$(MACH)
@@ -127,7 +127,7 @@
# We use += below so anyone wishing to put other directories at the beginning
# of the list can do so, by setting PKG_PROTO_DIRS before including this file.
# So don't change += to = here or components that use this will break.
-PKG_PROTO_DIRS += $(MANGLED_DIR) $(PROTO_DIR) $(@D) $(COMPONENT_DIR) $(COMPONENT_SRC)
+PKG_PROTO_DIRS += $(MANGLED_DIR) $(PROTO_DIR) $(@D) $(COMPONENT_DIR) $(COMPONENT_SRC) $(WS_LICENSES)
MANIFEST_BASE = $(BUILD_DIR)/manifest-$(MACH)
--- a/make-rules/shared-macros.mk Mon Jun 29 11:36:22 2015 -0700
+++ b/make-rules/shared-macros.mk Mon Jun 29 18:33:05 2015 -0700
@@ -53,6 +53,7 @@
WS_TOOLS = $(WS_TOP)/tools
WS_MAKE_RULES = $(WS_TOP)/make-rules
WS_COMPONENTS = $(WS_TOP)/components
+WS_LICENSES = $(WS_TOP)/licenses
WS_INCORPORATIONS = $(WS_TOP)/incorporations
WS_LINT_CACHE = $(WS_MACH)/pkglint-cache
@@ -77,12 +78,6 @@
SHELL= /bin/bash
-# If we are building "pre-release" software for the Solaris release repository
-# we want the PUBLISHER to be "solaris".
-ifeq ($(BUILD_TYPE),pre-release)
-PUBLISHER = solaris
-endif
-
# We want "nightly" as our publisher, to match other consolidations and
# facilitate migrations. G11N wants $(CONSOLIDATION)-localizable for
# the localizable publisher.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/transforms/evaluation Mon Jun 29 18:33:05 2015 -0700
@@ -0,0 +1,3 @@
+<transform set name=pkg.description -> edit value (.*) "(EVALUATION) \1">
+depend type=require fmri=release/evaluation
+license evaluation license=evaluation
--- a/transforms/pre-release Mon Jun 29 11:36:22 2015 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-depend type=require fmri=release/pre-release