diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-09-13 23:53:04 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-09-13 23:53:04 +0400 |
commit | e45104d1c2e38e411a56a8083339eabc60bb3f44 (patch) | |
tree | bd7b9fed7bd4ef0b723f8bd5ef21f2e2778cd3d8 /trans | |
download | cibs-e45104d1c2e38e411a56a8083339eabc60bb3f44.tar.gz |
Initial commit: can build c-ares
Diffstat (limited to 'trans')
-rw-r--r-- | trans/actuators | 49 | ||||
-rw-r--r-- | trans/archive-libraries-drop | 2 | ||||
-rw-r--r-- | trans/autopyc | 29 | ||||
-rw-r--r-- | trans/defaults | 114 | ||||
-rw-r--r-- | trans/devel | 50 | ||||
-rw-r--r-- | trans/docs | 49 | ||||
-rw-r--r-- | trans/libtool-drop | 2 | ||||
-rw-r--r-- | trans/locale | 31 |
8 files changed, 326 insertions, 0 deletions
diff --git a/trans/actuators b/trans/actuators new file mode 100644 index 0000000..e033943 --- /dev/null +++ b/trans/actuators @@ -0,0 +1,49 @@ +# +# 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 2010 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +# SFW service manifests +<transform file path=(var|lib)/svc/manifest/.*\.xml$ -> \ + default restart_fmri svc:/system/manifest-import:default> + +# RBAC file fragments +<transform file path=etc/security/[^/]+_attr.d/.+ -> \ + default restart_fmri svc:/system/rbac:default> +<transform file path=etc/user_attr.d/.+ -> \ + default restart_fmri svc:/system/rbac:default> + +# Fonts and font configuration +<transform file path=etc/fonts/conf\.(avail|d)/.+ -> \ + default restart_fmri svc:/application/font/fc-cache:default> +<transform file path=usr/share/font/.+ -> \ + default restart_fmri svc:/application/font/fc-cache:default> + +# OpenGL selection scripts +<transform file path=lib/opengl/ogl_select/.+ -> \ + default restart_fmri svc:/application/opengl/ogl-select:default> + +# GNOME/XDG desktop files +<transform file path=usr/share/applications/.*\.desktop$ -> \ + default restart_fmri svc:/application/desktop-cache/desktop-mime-cache:default> diff --git a/trans/archive-libraries-drop b/trans/archive-libraries-drop new file mode 100644 index 0000000..010d1e6 --- /dev/null +++ b/trans/archive-libraries-drop @@ -0,0 +1,2 @@ +# stuff we drop from the proto area - not shipped +<transform file path=.+/lib/.+\.a -> drop> diff --git a/trans/autopyc b/trans/autopyc new file mode 100644 index 0000000..6c9cea7 --- /dev/null +++ b/trans/autopyc @@ -0,0 +1,29 @@ +# +# 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) 2011, Oracle and/or its affiliates. All rights reserved. +# + +# Don't bother specifying each .pyc file. Allow individual actions to +# override this by setting pkg.tmp.autopyc to false. +<transform file path=.*\.py$ -> default pkg.tmp.autopyc true> +<transform file pkg.tmp.autopyc=true -> emit file path=%(path)c> +<transform file pkg.tmp.autopyc=.* -> delete pkg.tmp.autopyc .*> +<transform hardlink path=.*\.py$ -> emit hardlink path=%(path)c target=%(target)c> diff --git a/trans/defaults b/trans/defaults new file mode 100644 index 0000000..acf7b24 --- /dev/null +++ b/trans/defaults @@ -0,0 +1,114 @@ +# +# 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, 2011, Oracle and/or its affiliates. All rights reserved. +# + +<transform dir path=etc$ -> default group sys> +<transform dir path=etc/inet$ -> default group sys> +<transform dir path=var$ -> default group sys> + +# +# LP print service +# +<transform dir path=etc/lp/fd$ -> default owner root> +<transform dir path=etc/lp/fd$ -> default mode 0755> +<transform dir path=etc/lp(/.+){0,1}$ -> default owner lp> +<transform dir path=etc/lp(/.+){0,1}$ -> default group lp> +<transform dir path=etc/lp(/.+){0,1}$ -> default mode 0775> + +<transform dir path=etc/skel$ -> default group sys> +<transform dir path=usr$ -> default group sys> +<transform dir path=usr/lib/pkgconfig$ -> default group other> +<transform dir path=usr/lib/.*/pkgconfig$ -> default group other> +<transform dir path=usr/share$ -> default group sys> +<transform dir path=usr/share/aclocal$ -> default group other> +<transform dir path=usr/share/doc$ -> default group other> +<transform dir path=usr/share/lib$ -> default group sys> +<transform dir path=usr/share/lib/java$ -> default group sys> +<transform dir path=usr/share/lib/java/javadoc$ -> default group other> + +# +# Most directories and files under /etc/security are group sys +# +<transform dir path=etc/security$ -> default group sys> +<transform dir path=etc/security/exec_attr.d$ -> default group sys> +<transform file path=etc/security/exec_attr.d/.* -> default group sys> +<transform dir path=etc/security/prof_attr.d$ -> default group sys> +<transform file path=etc/security/prof_attr.d/.* -> default group sys> +<transform dir path=etc/security/auth_attr.d$ -> default group sys> +<transform file path=etc/security/auth_attr.d/.* -> default group sys> + +# +# SMF directories and files +# +<transform dir path=lib/svc/manifest -> default group sys> +<transform file path=lib/svc/manifest -> default group sys> +<transform file path=lib/svc/method/.* -> default mode 0555> + +# +# Many directories and files under /usr/share are group other +# +<transform dir path=usr/share/locale(/.+){0,2}$ -> default group other> +<transform file path=usr/share/locale(/.+){3}$ -> default group other> +<transform dir path=usr/share/applications$ -> default group other> +<transform file path=usr/share/applications/.* -> default group other> +<transform dir path=usr/share/pixmaps$ -> default group other> +<transform file path=usr/share/pixmaps/.* -> default group other> + +<transform dir path=usr/gnu/share$ -> default group sys> + +<transform dir path=var/db$ -> default group sys> +<transform dir path=var/lib$ -> default group other> +<transform dir path=var/log$ -> default group sys> + +# usr/share/icons, and all its subdirectories at any level are group other +<transform dir path=usr/share/icons(/.*){0,1}$ -> 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) + +# +# 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"> + diff --git a/trans/devel b/trans/devel new file mode 100644 index 0000000..6dd351b --- /dev/null +++ b/trans/devel @@ -0,0 +1,50 @@ +# +# 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 2010 Sun Microsystems, Inc. All rights reserved. +# Use is subject to license terms. +# + +# header files +<transform dir file link hardlink path=usr.*/include(/.+){0,1} -> \ + default facet.devel true> + +# archive libraries (on rare occasion, we should be delivering these) +<transform file path=.*lib/.+\.a$ -> default facet.devel true> + +# .so links, we need to determine if this is a problem, I suspect that it is. +#<transform link path=.*lib/.*\.so$ -> default facet.devel true> + +# lint libraries +<transform file link hardlink path=.*/lib/llib-.* -> default facet.devel true> + +# pkg-config data +<transform dir file link hardlink path=.*/pkgconfig(/.+\.pc){0,1}$ -> \ + default facet.devel true> + +# autoconf macros +<transform dir file link hardlink path=.*/aclocal(/.*\.m4){0,1}$ -> \ + default facet.devel true> + +# Developer documentation +<transform dir file link hardlink path=.*/man/man3.* -> \ + default facet.devel true> diff --git a/trans/docs b/trans/docs new file mode 100644 index 0000000..a283ec1 --- /dev/null +++ b/trans/docs @@ -0,0 +1,49 @@ +# +# 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, 2011, Oracle and/or its affiliates. All rights reserved. +# + +# man pages +<transform dir file link hardlink path=usr.*/man(/.+){0,1}$ -> \ + default facet.doc.man true> + +# texinfo docs +<transform dir file link hardlink path=usr/.*/info(/.+){0,1}$ -> \ + default facet.doc.info true> +<transform file path=usr/.*/info/.+$ -> \ + add restart_fmri svc:/application/texinfo-update:default> +<transform file path=usr/.*/info/dir$ -> exit 1 "Error: packaged texinfo directory file (%<action.path>)" > + +# html docs +<transform dir file link hardlink path=usr/.*/doc/.*(html?|css).* -> \ + default facet.doc.html true> +<transform dir file link hardlink path=usr/lib/help/.*\.html$ -> \ + default facet.doc.html true> + +# pdf docs +<transform dir file link hardlink path=usr/.*/doc/.*\.pdf$ -> \ + default facet.doc.html true> + +# general documetation +<transform dir file link hardlink path=usr/.*/doc(/.+){0,1}$ -> \ + default facet.doc true> diff --git a/trans/libtool-drop b/trans/libtool-drop new file mode 100644 index 0000000..9a6aecf --- /dev/null +++ b/trans/libtool-drop @@ -0,0 +1,2 @@ +# stuff we drop from the proto area - not shipped +<transform file path=.+/lib/.+\.la -> drop> diff --git a/trans/locale b/trans/locale new file mode 100644 index 0000000..ef59d77 --- /dev/null +++ b/trans/locale @@ -0,0 +1,31 @@ +# +# 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, 2011, Oracle and/or its affiliates. All rights reserved. +# + +# general locale +<transform dir link hardlink path=.*/locale$ -> default facet.locale true> + +<transform dir file link hardlink \ + path=.*/locale/([^/]+)(\..+){0,1}(/.+){0,1}$ -> \ + default facet.locale.%<\1> true> |