transforms/defaults
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 4520 56630cd6ade3
child 7474 e9867f43ea55
permissions -rw-r--r--
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) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
#

#
# LP print service
#


#
# Changes to zoneinfo files on live systems need to trigger a refresh of
# the timezone reloader.  See tzreload(1m).
#
<transform file link hardlink path=usr/share/lib/zoneinfo/.+ -> add refresh_fmri "svc:/system/timezone:default">

#
# SMF files
#
<transform file path=lib/svc/method/.* -> default mode 0555>

#
# Many files under /usr/share are group other
#
<transform file path=usr/share/locale(/.+){3}$ -> default group other>
<transform file path=usr/share/applications/.* -> default group other>
<transform file path=usr/share/pixmaps/.* -> default group other>

#
# programs & shared objects should generally have mode 0555
#
<transform file path=.*lib/.*\.so.* -> default mode 0555>
<transform file path=.*bin/.* -> default mode 0555>
<transform file path=.*lib/inet/.* -> default mode 0555>

#
# For what's left, go with root:bin 0444 for files, 0755 for directories
#
<transform dir file -> default owner root>
<transform dir file -> default group bin>
<transform file -> default mode 0444>
<transform dir -> default mode 0755>

set name=variant.arch value=$(MACH)

# Consolidation source repository and changeset information
set name=com.oracle.info.consolidation.repository-changeset \
    value="$(CONSOLIDATION_CHANGESET)"
set name=com.oracle.info.consolidation.repository-url \
    value="$(CONSOLIDATION_REPOSITORY_URL)"


#
# Defaults for legacy metadata for SVR4 package information
#
<transform legacy -> default vendor "Oracle Corporation">
<transform legacy -> default hotline \
	"Please contact your local service provider">
<transform legacy -> default arch $(MACH)>
<transform legacy -> default category "system">
# This is set to the final version number delivered as SVR4 format
<transform legacy -> default version "11.11.0,REV=2010.05.25.01.00">

#
# Set the default Python for mediated links
#
<transform link mediator=python mediator-version=2.7 -> default mediator-priority vendor>

#
# Add a facet.version-lock.{package} to each 'optional' consolidation
# incorporation dependency so that we can install without having to
# mangle the system in some way.
#
<transform depend type=optional fmri=(pkg:/)?consolidation/.+-incorporation@ -> \
    default tmp.fmri %{pkg.fmri} >
<transform depend tmp.fmri=pkg:/(.+)@.*$ -> \
    default facet.version-lock.%<1> true >
<transform depend tmp.fmri=.*-> delete tmp.fmri .* >