26N/A# The contents of this file are subject to the terms of the
26N/A# Common Development and Distribution License (the "License").
26N/A# You may not use this file except in compliance with the License.
26N/A# See the License for the specific language governing permissions
26N/A# and limitations under the License.
26N/A# When distributing Covered Code, include this CDDL HEADER in each
26N/A# If applicable, add the following below this CDDL HEADER, with the
26N/A# fields enclosed by brackets "[]" replaced with your own identifying
26N/A# information: Portions Copyright [yyyy] [name of copyright owner]
99N/A# Copyright (c) 2010, 2011, Oracle
and/or its affiliates. All rights reserved.
26N/A# These transforms drop the information that we don't really care about when
26N/A# comparing manifests for change.
26N/A# drop actions that don't apply to the architecture we are on
26N/A# drop the license actions from the manifests, we aren't going to compare them
26N/A<transform license -> drop>
26N/A# remove the version information from the dependency actions
26N/A<transform depend -> edit fmri "@[^ \t\n\r\f\v]*" "">
26N/A edit value "@[^ \t\n\r\f\v]*" \
26N/A "@$!(IPS_COMPONENT_VERSION),$!(BUILD_VERSION)">
26N/A# convert temporary macro names to their real name
26N/A<transform set -> edit value "\$!\((.*)\)" "$(\1)">
26N/A<transform set -> edit value "\$!\((.*)\)" "$(\1)">
26N/A# standardize the file hashes
26N/A# drop extra attribute data that we don't want to compare
26N/A<transform dir file link hardlink -> delete timestamp .*>
99N/A<transform dir file link hardlink -> delete chash .*>
99N/A<transform dir file link hardlink -> delete elfarch .*>
99N/A<transform dir file link hardlink -> delete elfbits .*>
99N/A<transform dir file link hardlink -> delete elfhash .*>
26N/A<transform dir file link hardlink -> delete owner .*>
26N/A<transform dir file link hardlink -> delete group .*>
26N/A<transform dir file link hardlink -> delete mode .*>
44N/A<transform dir file link hardlink -> delete preserve .*>
44N/A<transform dir file link hardlink -> delete original_name .*>