components/sudo/sudo.p5m
changeset 279 c6af843791cd
child 447 7ca7b95abd2f
equal deleted inserted replaced
278:77b380ba9d84 279:c6af843791cd
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
       
    25 
       
    26 set name=pkg.fmri value=pkg:/security/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    27 set name=pkg.summary value="sudo - tool to allow certain tasks to be run as root by ordinary users"
       
    28 set name=info.classification \
       
    29 	value="org.opensolaris.category.2008:Applications/System Utilities"
       
    30 set name=info.upstream_url value=$(COMPONENT_PROJECT_URL)
       
    31 set name=info.source_url value=$(COMPONENT_ARCHIVE_URL)
       
    32 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    33 set name=opensolaris.arc_url \
       
    34     value=http://arc.opensolaris.org/caselog/PSARC/2009/205
       
    35 
       
    36 dir path=etc
       
    37 dir path=etc/sudoers.d mode=0750 group=root
       
    38 dir path=usr
       
    39 dir path=usr/bin
       
    40 dir path=usr/lib
       
    41 dir path=usr/lib/$(MACH64)
       
    42 dir path=usr/sbin
       
    43 dir path=usr/share
       
    44 dir path=usr/share/lib
       
    45 dir path=usr/share/lib/ldif group=sys
       
    46 dir path=usr/share/man
       
    47 dir path=usr/share/man/man1m
       
    48 dir path=usr/share/man/man4
       
    49 
       
    50 file path=etc/sudoers original_name=SUNWsudo:etc/sudoers preserve=true \
       
    51 	mode=0440 group=root
       
    52 file path=usr/bin/sudo mode=4511
       
    53 file path=usr/lib/sudo_noexec.so
       
    54 file path=usr/lib/$(MACH64)/sudo_noexec.so
       
    55 file path=usr/sbin/visudo mode=0511
       
    56 file path=usr/share/lib/ldif/sudo-schema.OpenLDAP
       
    57 file path=usr/share/lib/ldif/sudo-schema.iPlanet
       
    58 file path=usr/share/lib/ldif/sudoers2ldif
       
    59 file path=usr/share/man/man1m/sudo.1m
       
    60 file path=usr/share/man/man1m/visudo.1m
       
    61 file path=usr/share/man/man4/sudoers.4
       
    62 
       
    63 hardlink path=usr/share/man/man1m/sudoedit.1m target=sudo.1m
       
    64 hardlink path=usr/bin/sudoedit target=sudo
       
    65 
       
    66 license sudo.license license="ISC-like, BSD"
       
    67 
       
    68 legacy pkg=SUNWsudo \
       
    69     desc="sudo - Tool to allow certain tasks to be run as root by ordinary users. 1.7.4p4" \
       
    70     name="sudo - Tool to allow certain tasks to be run as root by ordinary users."
       
    71 
       
    72 # pkgdepend should have picked up the dependency on perl;
       
    73 # this explicit depend action can be removed if pkgdepend is fixed later
       
    74 depend fmri=__TBD \
       
    75     pkg.debug.depend.file=usr/perl5/$(PERL_VERSION)/bin/perl \
       
    76     pkg.debug.reason=usr/share/lib/ldif/sudoers2ldif \
       
    77     type=require
       
    78