components/sudo/sudo.p5m
author April Chin <april.chin@oracle.com>
Thu, 02 Jun 2011 09:52:40 -0700
changeset 279 c6af843791cd
child 447 7ca7b95abd2f
permissions -rw-r--r--
7044076 move sudo from sfw to userland 7048938 $(BITS) not being set for .installed targets
#
# 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.
#

<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>

set name=pkg.fmri value=pkg:/security/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="sudo - tool to allow certain tasks to be run as root by ordinary users"
set name=info.classification \
	value="org.opensolaris.category.2008:Applications/System Utilities"
set name=info.upstream_url value=$(COMPONENT_PROJECT_URL)
set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
set name=opensolaris.arc_url \
    value=http://arc.opensolaris.org/caselog/PSARC/2009/205

dir path=etc
dir path=etc/sudoers.d mode=0750 group=root
dir path=usr
dir path=usr/bin
dir path=usr/lib
dir path=usr/lib/$(MACH64)
dir path=usr/sbin
dir path=usr/share
dir path=usr/share/lib
dir path=usr/share/lib/ldif group=sys
dir path=usr/share/man
dir path=usr/share/man/man1m
dir path=usr/share/man/man4

file path=etc/sudoers original_name=SUNWsudo:etc/sudoers preserve=true \
	mode=0440 group=root
file path=usr/bin/sudo mode=4511
file path=usr/lib/sudo_noexec.so
file path=usr/lib/$(MACH64)/sudo_noexec.so
file path=usr/sbin/visudo mode=0511
file path=usr/share/lib/ldif/sudo-schema.OpenLDAP
file path=usr/share/lib/ldif/sudo-schema.iPlanet
file path=usr/share/lib/ldif/sudoers2ldif
file path=usr/share/man/man1m/sudo.1m
file path=usr/share/man/man1m/visudo.1m
file path=usr/share/man/man4/sudoers.4

hardlink path=usr/share/man/man1m/sudoedit.1m target=sudo.1m
hardlink path=usr/bin/sudoedit target=sudo

license sudo.license license="ISC-like, BSD"

legacy pkg=SUNWsudo \
    desc="sudo - Tool to allow certain tasks to be run as root by ordinary users. 1.7.4p4" \
    name="sudo - Tool to allow certain tasks to be run as root by ordinary users."

# pkgdepend should have picked up the dependency on perl;
# this explicit depend action can be removed if pkgdepend is fixed later
depend fmri=__TBD \
    pkg.debug.depend.file=usr/perl5/$(PERL_VERSION)/bin/perl \
    pkg.debug.reason=usr/share/lib/ldif/sudoers2ldif \
    type=require