summaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-EncodedColumn
diff options
context:
space:
mode:
authorsno <sno>2010-02-12 19:34:39 +0000
committersno <sno>2010-02-12 19:34:39 +0000
commit4759fd11b28f07fa458e648b557d621e8857ce07 (patch)
treeed5790c543d403c46a5b6da1f6053a78d4c0dee8 /databases/p5-DBIx-Class-EncodedColumn
parent3dff169180fb1b2844c78dab6971af0419731314 (diff)
downloadpkgsrc-4759fd11b28f07fa458e648b557d621e8857ce07.tar.gz
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 (limited to 'databases/p5-DBIx-Class-EncodedColumn')
-rw-r--r--databases/p5-DBIx-Class-EncodedColumn/DESCR21
-rw-r--r--databases/p5-DBIx-Class-EncodedColumn/Makefile41
-rw-r--r--databases/p5-DBIx-Class-EncodedColumn/distinfo5
3 files changed, 67 insertions, 0 deletions
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