From 4759fd11b28f07fa458e648b557d621e8857ce07 Mon Sep 17 00:00:00 2001 From: sno Date: Fri, 12 Feb 2010 19:34:39 +0000 Subject: Importing databases/p5-DBIx-Class-EncodedColumn version 0.00006 as an indirect dependency of scheduled update for editors/p5-Padre-Plugin-Catalyst. This DBIx::Class component can be used to automatically encode a column's contents whenever the value of that column is set. --- databases/p5-DBIx-Class-EncodedColumn/DESCR | 21 +++++++++++++ databases/p5-DBIx-Class-EncodedColumn/Makefile | 41 ++++++++++++++++++++++++++ databases/p5-DBIx-Class-EncodedColumn/distinfo | 5 ++++ 3 files changed, 67 insertions(+) create mode 100644 databases/p5-DBIx-Class-EncodedColumn/DESCR create mode 100644 databases/p5-DBIx-Class-EncodedColumn/Makefile create mode 100644 databases/p5-DBIx-Class-EncodedColumn/distinfo (limited to 'databases/p5-DBIx-Class-EncodedColumn') diff --git a/databases/p5-DBIx-Class-EncodedColumn/DESCR b/databases/p5-DBIx-Class-EncodedColumn/DESCR new file mode 100644 index 00000000000..2f928fb7d87 --- /dev/null +++ b/databases/p5-DBIx-Class-EncodedColumn/DESCR @@ -0,0 +1,21 @@ +This DBIx::Class component can be used to automatically encode a column's +contents whenever the value of that column is set. + +This module is similar to the existing DBIx::Class::DigestColumns, but +there is some key differences: + +DigestColumns performs the encode operation on insert and update, and +EncodedColumn performs the operation when the value is set, or on new. +DigestColumns supports only algorithms of the Digest family. EncodedColumn +employs a set of thin wrappers around different cipher modules to provide +support for any cipher you wish to use and wrappers are very simple to +write (typically less than 30 lines). +EncodedColumn supports having more than one encoded column per table +and each column can use a different cipher. +Encode adds only one item to the namespace of the object utilizing it +(_column_encoders). + +There is, unfortunately, some features that EncodedColumn doesn't support. +DigestColumns supports changing certain options at runtime, as well as the +option to not automatically encode values on set. The author of this module +found these options to be non-essential and omitted them by design. diff --git a/databases/p5-DBIx-Class-EncodedColumn/Makefile b/databases/p5-DBIx-Class-EncodedColumn/Makefile new file mode 100644 index 00000000000..3b7106f6b44 --- /dev/null +++ b/databases/p5-DBIx-Class-EncodedColumn/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/02/12 19:34:39 sno Exp $ + +DISTNAME= DBIx-Class-EncodedColumn-0.00006 +PKGNAME= p5-${DISTNAME} +#PKGREVISION= 1 +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=DBIx/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/DBIx-Class-EncodedColumn/ +COMMENT= DBIx::Class component to automatically encode columns +LICENSE= ${PERL5_LICENSE} + +DEPENDS+= p5-DBIx-Class>=0.06002:../../databases/p5-DBIx-Class +DEPENDS+= p5-Sub-Name>=0.04:../../devel/p5-Sub-Name + +# Feature: Digest::MD5 support +DEPENDS+= {perl>=5.7.3,p5-Digest-[0-9]*}:../../security/p5-Digest +DEPENDS+= {perl>=5.7.3,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5 + +# Feature: Digest::SHA support +DEPENDS+= {perl>=5.10.0,p5-Digest-SHA-[0-9]*}:../../security/p5-Digest-SHA + +# Feature: Blowfish support +DEPENDS+= p5-Crypt-Eksblowfish-[0-9]*:../../security/p5-Crypt-Eksblowfish + +#Feature: Crypt::OpenPGP (gpg) Support +DEPENDS+= p5-Crypt-OpenPGP-[0-9]*:../../security/p5-Crypt-OpenPGP +DEPENDS+= p5-Crypt-CAST5_PP-[0-9]*:../../security/p5-Crypt-CAST5_PP + +BUILD_DEPENDS+= p5-DBD-SQLite-[0-9]*:../../databases/p5-DBD-SQLite +BUILD_DEPENDS+= p5-SQL-Translator>=0.11002:../../databases/p5-SQL-Translator + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/DBIx/Class/EncodedColumn/.packlist +PERL5_MODULE_TYPE= Module::Install + +PKG_DESTDIR_SUPPORT= user-destdir + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-DBIx-Class-EncodedColumn/distinfo b/databases/p5-DBIx-Class-EncodedColumn/distinfo new file mode 100644 index 00000000000..6c747911b35 --- /dev/null +++ b/databases/p5-DBIx-Class-EncodedColumn/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/02/12 19:34:39 sno Exp $ + +SHA1 (DBIx-Class-EncodedColumn-0.00006.tar.gz) = 6e31423afc36a1056697a449d5cd64366f0949d4 +RMD160 (DBIx-Class-EncodedColumn-0.00006.tar.gz) = 264555b95240cafa5fed0f52480d4a947998a9b9 +Size (DBIx-Class-EncodedColumn-0.00006.tar.gz) = 26371 bytes -- cgit v1.2.3