Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 15:48:16 +0300 (MSK)
From:      Alexander Zhuravlev <zaa@zaa.pp.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        zaa@ulstu.ru
Subject:   ports/92198: [NEW PORT] security/pecl-filter PHP extension for safely dealing with input parameters
Message-ID:  <20060123124816.167FFB83A@wave.zaa.local>
Resent-Message-ID: <200601231320.k0NDK6jb098399@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92198
>Category:       ports
>Synopsis:       [NEW PORT] security/pecl-filter PHP extension for safely dealing with input parameters
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 23 13:20:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Zhuravlev
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD wave.zaa.local 6.0-STABLE FreeBSD 6.0-STABLE #14: Wed Jan 18 23:53:14 MSK 2006 root@wave.zaa.local:/usr/obj/usr/src/sys/WAVE i386


	
>Description:
	
	The patch provided below contains PHP PECL extension for safely dealing with input parameters (pecl-filter)

>How-To-Repeat:
	
>Fix:

	

--- pecl-filter.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pecl-filter/
#	pecl-filter/pkg-descr
#	pecl-filter/distinfo
#	pecl-filter/Makefile
#
echo c - pecl-filter/
mkdir -p pecl-filter/ > /dev/null 2>&1
echo x - pecl-filter/pkg-descr
sed 's/^X//' >pecl-filter/pkg-descr << 'END-of-pecl-filter/pkg-descr'
XWe all know that you should always check input variables, but PHP does not
Xoffer really good functionality for doing this in a safe way.
XThe Input Filter extension is meant to address this issue by implementing
Xa set of filters and mechanisms that users can use to safely access their
Xinput data.
X
XWWW: http://pecl.php.net/package/filter
END-of-pecl-filter/pkg-descr
echo x - pecl-filter/distinfo
sed 's/^X//' >pecl-filter/distinfo << 'END-of-pecl-filter/distinfo'
XMD5 (PECL/filter-0.9.4.tgz) = bd1e15d31d89776f80e192f0828a46a8
XSHA256 (PECL/filter-0.9.4.tgz) = 8fa653b5aec6560ca93be29c70fd4956c88ff4e6c542895e9fdca9b838641793
XSIZE (PECL/filter-0.9.4.tgz) = 13586
END-of-pecl-filter/distinfo
echo x - pecl-filter/Makefile
sed 's/^X//' >pecl-filter/Makefile << 'END-of-pecl-filter/Makefile'
X# Ports collection makefile for:  pecl-filter
X# Date created:			  2006-01-23
X# Whom:				  Alexander Zhuravlev <zaa@zaa.pp.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	filter
XDISTVERSION=	0.9.4
XCATEGORIES=	security
XMASTER_SITES=	http://pecl.php.net/get/
XPKGNAMEPREFIX=	pecl-
XEXTRACT_SUFX=	.tgz
XDIST_SUBDIR=	PECL
X
XMAINTAINER=	zaa@zaa.pp.ru
XCOMMENT=	PHP extension for safely dealing with input parameters
X
XLIB_DEPENDS+=	pcre:${PORTSDIR}/devel/pcre
X
XUSE_PHP=	yes
XUSE_PHPIZE=	yes
XUSE_PHPEXT=	yes
XPHP_MODNAME=	filter
X
XCONFIGURE_ARGS+=	--with-pcre-dir=${LOCALBASE}
X
X.include <bsd.port.mk>
END-of-pecl-filter/Makefile
exit
--- pecl-filter.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060123124816.167FFB83A>