components/php-5_2/php-suhosin.p5m
author Craig Mohrman <craig.mohrman@oracle.com>
Fri, 05 Aug 2011 22:11:53 -0700
changeset 461 edabdd6aff23
child 464 08f94c414553
permissions -rw-r--r--
7072982 move php from sfw to userland consolidation

#
# 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.
#

set name=pkg.fmri value=pkg:/web/php-52/extension/[email protected],$(BUILD_VERSION)
set name=pkg.description value="PHP-Suhosin extension to secure PHP"
set name=pkg.summary value="Suhosin extension module for PHP"
set name=info.classification value="org.opensolaris.category.2008:Development/PHP"
set name=info.source_url value=http://download.suhosin.org/suhosin-0.9.29.tgz
set name=info.upstream_url value=http://www.hardened-php.net/suhosin/index.html
set name=opensolaris.arc_url \
    value=http://arc.opensolaris.org/caselog/LSARC/2008/538
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)

license php-suhosin.license license='PHP, Apache v2.0'

dir path=etc
dir path=etc/php
dir path=etc/php/5.2
dir path=etc/php/5.2/conf.d
dir path=etc/php/5.2/zts-conf.d
dir path=usr
dir path=usr/php
dir path=usr/php/5.2
dir path=usr/php/5.2/modules
dir path=usr/php/5.2/zts-modules
file path=etc/php/5.2/conf.d/suhosin.ini mode=0644 \
    original_name=SUNWphp52-suhosin:etc/php/5.2/conf.d/suhosin.ini \
    preserve=renamenew
file path=etc/php/5.2/zts-conf.d/suhosin.ini mode=0644 \
    original_name=SUNWphp52-suhosin:etc/php/5.2/zts-conf.d/suhosin.ini \
    preserve=renamenew
file path=usr/php/5.2/modules/suhosin.so
file path=usr/php/5.2/zts-modules/suhosin.so

legacy pkg=SUNWphp52r-suhosin \
    desc="PHP-Suhosin(0.9.29) extension to secure PHP(5.2) (Root)" \
    name="Suhosin extension module for PHP (Root)"
legacy pkg=SUNWphp52u-suhosin \
    desc="PHP-Suhosin(0.9.29) extension to secure PHP(5.2)" \
    name="Suhosin extension module for PHP"

depend fmri=web/[email protected] type=require