From owner-cvs-all@FreeBSD.ORG Tue Oct 12 02:54:02 2010 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DEDB1065672; Tue, 12 Oct 2010 02:54:02 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E59AE8FC13; Tue, 12 Oct 2010 02:54:01 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o9C2s1iJ077430; Tue, 12 Oct 2010 02:54:01 GMT (envelope-from sunpoet@repoman.freebsd.org) Received: (from sunpoet@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o9C2s1cP077429; Tue, 12 Oct 2010 02:54:01 GMT (envelope-from sunpoet) Message-Id: <201010120254.o9C2s1cP077429@repoman.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Tue, 12 Oct 2010 02:54:01 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/devel Makefile ports/devel/py-pycerberus Makefile distinfo pkg-descr pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 02:54:02 -0000 sunpoet 2010-10-12 02:54:01 UTC FreeBSD ports repository Modified files: devel Makefile Added files: devel/py-pycerberus Makefile distinfo pkg-descr pkg-plist Log: - Add py-pycerberus 0.3.3 Pycerberus is a framework to check user data thoroughly so that you can protect your application from malicious (or just garbled) input data. * Remove stupid code which converts input values: After values are validated, you can work with real Python types instead of strings - e.g. 42 instead of '42', convert database IDs to model objects transparently. * Implement custom validation rules: Writing custom validators is straightforward, everything is well documented and pycerberus only uses very little Python magic. * Focus on your value-adding application code: Save time by implementing every input validation rule only once, but 100% right instead of implementing a dozen different half-baked solutions. * Ready for global business: i18n support (based on GNU gettext) is built in, adding custom translations is easy. * Tune it for your needs: You can implement custom behavior in your validators, e.g. fetch translations from a database instead of using gettext or define custom translations for built-in validators. * Use it wherever you like: pycerberus is used in a SMTP server, trac macros as well as web applications - there are no dependecies on a specific context like web development. WWW: http://www.schwarz.eu/opensource/projects/pycerberus PR: ports/151058 Submitted by: Douglas William Thrift Approved by: pgollucci (mentor, implicit) Revision Changes Path 1.4081 +1 -0 ports/devel/Makefile 1.1 +22 -0 ports/devel/py-pycerberus/Makefile (new) 1.1 +3 -0 ports/devel/py-pycerberus/distinfo (new) 1.1 +23 -0 ports/devel/py-pycerberus/pkg-descr (new) 1.1 +63 -0 ports/devel/py-pycerberus/pkg-plist (new)