userland-mangler revision 379
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# CDDL HEADER START
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# The contents of this file are subject to the terms of the
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# Common Development and Distribution License (the "License").
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# You may not use this file except in compliance with the License.
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# See the License for the specific language governing permissions
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# and limitations under the License.
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# CDDL HEADER END
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# userland-mangler - a file mangling utility
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# A simple program to mangle files to conform to Solaris WOS or Consoldation
88aa68f478c1634f5f10034fb6ea4158efa20ff4Mark Andrews# requirements.
This software was built from source available at http://opensolaris.org/. The original community source was downloaded from %s
# mangler.man.source_url = (pkg.source_url)
# mangler.man.upstream_url = (pkg.upstream_url)
source = None
# mangler.elf.strip = (true|false)
# mangler.script.file-magic =
# mangler.bypass = (true|false)
return manifest
print "Usage: %s [-m|--manifest (file)] [-d|--search-directory (dir)] [-D|--destination (dir)] " % (sys.argv[0].split('/')[-1])
search_paths = []
manifests = []
try:
try:
print manifest