userland-incorporator revision 500
500N/A# The contents of this file are subject to the terms of the 500N/A# Common Development and Distribution License (the "License"). 500N/A# You may not use this file except in compliance with the License. 500N/A# See the License for the specific language governing permissions 500N/A# and limitations under the License. 500N/A# When distributing Covered Code, include this CDDL HEADER in each 500N/A# If applicable, add the following below this CDDL HEADER, with the 500N/A# fields enclosed by brackets "[]" replaced with your own identifying 500N/A# information: Portions Copyright [yyyy] [name of copyright owner] 500N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 500N/A# incorporator - an utility to incorporate packages in a repo 500N/A if (/^(\S+)\s\((\S+)\)\s+([\d.]+)-([\d.]+)\s+...$/) { 500N/A #printf "returning %s\n", $_->{name} for (@packages); 500N/A printf "depend fmri=%s@%s-%s %s=true type=incorporate\n", 500N/A# print the incorporation 500N/A printf "depend fmri=pkg:/%s@%s-%s %s=true type=incorporate\n",