[Midnightbsd-cvs] mports: mports/security: add pecl-filter

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Oct 12 12:52:03 EDT 2007


Log Message:
-----------
add pecl-filter

Modified Files:
--------------
    mports/security:
        Makefile (r1.61 -> r1.62)

Added Files:
-----------
    mports/security/pecl-filter:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/security/Makefile,v
retrieving revision 1.61
retrieving revision 1.62
diff -Lsecurity/Makefile -Lsecurity/Makefile -u -r1.61 -r1.62
--- security/Makefile
+++ security/Makefile
@@ -52,6 +52,7 @@
     SUBDIR += p5-IO-Socket-SSL
     SUBDIR += p5-Net-SSLeay
     SUBDIR += pam_ldap
+    SUBDIR += pecl-filter
     SUBDIR += pecl-hash
     SUBDIR += php5-mcrypt
     SUBDIR += php5-mhash
--- /dev/null
+++ security/pecl-filter/pkg-descr
@@ -0,0 +1,7 @@
+We all know that you should always check input variables, but PHP does not
+offer really good functionality for doing this in a safe way.
+The Input Filter extension is meant to address this issue by implementing
+a set of filters and mechanisms that users can use to safely access their
+input data.
+
+WWW: http://pecl.php.net/package/filter
--- /dev/null
+++ security/pecl-filter/Makefile
@@ -0,0 +1,32 @@
+# Ports collection makefile for:  pecl-filter
+# Date created:			  12 Oct 2007
+# Whom:				  Lucas Holt <luke at midnightbsd.org>
+#
+# $MidnightBSD: mports/security/pecl-filter/Makefile,v 1.1 2007/10/12 16:52:01 laffer1 Exp $
+#
+
+PORTNAME=	filter
+DISTVERSION=	0.11.0
+CATEGORIES=	security
+MASTER_SITES=	http://pecl.php.net/get/
+PKGNAMEPREFIX=	pecl-
+EXTRACT_SUFX=	.tgz
+DIST_SUBDIR=	PECL
+
+MAINTAINER=	luke at midnightbsd.org
+COMMENT=	PHP extension for safely dealing with input parameters
+LICENSE=	php
+
+LIB_DEPENDS+=	pcre:${PORTSDIR}/devel/pcre
+
+USE_PHP=	pcre
+USE_PHPEXT=	yes
+USE_PHP_BUILD=	yes
+PHP_MODNAME=	filter
+
+DEFAULT_PHP_VER=	5
+IGNORE_WITH_VER=	4
+
+CONFIGURE_ARGS+=	--with-pcre-dir=${LOCALBASE}
+
+.include <bsd.port.mk>
--- /dev/null
+++ security/pecl-filter/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/filter-0.11.0.tgz) = 0255df6106eb36f1bc35e102ce505d9e
+SHA256 (PECL/filter-0.11.0.tgz) = 89396de76d47691466f3e342ee2e5948a19354623bdacd266cdcbd4ce48f225a
+SIZE (PECL/filter-0.11.0.tgz) = 25946


More information about the Midnightbsd-cvs mailing list