pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/p5-DBIx-Class-EncodedColumn Importing databa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88bbda9309b6
branches:  trunk
changeset: 571464:88bbda9309b6
user:      sno <sno%pkgsrc.org@localhost>
date:      Fri Feb 12 19:34:39 2010 +0000

description:
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.

diffstat:

 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(+), 0 deletions(-)

diffs (79 lines):

diff -r 07881b40875e -r 88bbda9309b6 databases/p5-DBIx-Class-EncodedColumn/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Class-EncodedColumn/DESCR       Fri Feb 12 19:34:39 2010 +0000
@@ -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 -r 07881b40875e -r 88bbda9309b6 databases/p5-DBIx-Class-EncodedColumn/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Class-EncodedColumn/Makefile    Fri Feb 12 19:34:39 2010 +0000
@@ -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@localhost
+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 -r 07881b40875e -r 88bbda9309b6 databases/p5-DBIx-Class-EncodedColumn/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/p5-DBIx-Class-EncodedColumn/distinfo    Fri Feb 12 19:34:39 2010 +0000
@@ -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



Home | Main Index | Thread Index | Old Index