New port databases/p5-DBIx-Class-EncodedColumn:

This DBIx::Class component can be used to automatically encode a
column's contents whenever the value of that column is set.
This commit is contained in:
Lars Balker Rasmussen 2009-03-29 16:43:29 +00:00
parent 64fb3679bd
commit 15a65a7f67
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=231265
5 changed files with 74 additions and 0 deletions

View file

@ -295,6 +295,7 @@
SUBDIR += p5-DBIx-Class-DigestColumns
SUBDIR += p5-DBIx-Class-DynamicSubclass
SUBDIR += p5-DBIx-Class-EncodeColumns
SUBDIR += p5-DBIx-Class-EncodedColumn
SUBDIR += p5-DBIx-Class-FrozenColumns
SUBDIR += p5-DBIx-Class-InflateColumn-IP
SUBDIR += p5-DBIx-Class-IntrospectableM2M

View file

@ -0,0 +1,53 @@
# New ports collection makefile for: databases/p5-DBIx-Class-EncodedColumn
# Date created: 29 Mar 2009
# Whom: Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= DBIx-Class-EncodedColumn
PORTVERSION= 0.00002
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lbr@FreeBSD.org
COMMENT= Automatically encode columns
RUN_DEPENDS= p5-DBIx-Class>=0.06002:${PORTSDIR}/databases/p5-DBIx-Class \
p5-Sub-Name>=0.04:${PORTSDIR}/devel/p5-Sub-Name
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DBIx::Class::EncodedColumn.3 \
DBIx::Class::EncodedColumn::Crypt::Eksblowfish::Bcrypt.3 \
DBIx::Class::EncodedColumn::Crypt::OpenPGP.3 \
DBIx::Class::EncodedColumn::Digest.3
post-extract:
@${PERL} -i -ne 'print unless m,^build_requires, || m,^feature, .. m,;,' ${WRKSRC}/Makefile.PL
OPTIONS= MD5 "Digest::MD5 Support" On \
SHA "Digest::SHA Support" On \
BLOWFISH "Blowfish Support?" On \
OPENPGP "Crypt::OpenPGP (gpg) Support" On
.include <bsd.port.pre.mk>
.if defined(WITH_MD5)
RUN_DEPENDS+= p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5
.endif
.if defined(WITH_SHA)
RUN_DEPENDS+= p5-Digest>=0:${PORTSDIR}/security/p5-Digest \
p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
.endif
.if defined(WITH_BLOWFISH)
RUN_DEPENDS+= p5-Crypt-Eksblowfish>=0:${PORTSDIR}/security/p5-Crypt-Eksblowfish
.endif
.if defined(WITH_OPENPGP)
RUN_DEPENDS+= p5-Crypt-OpenPGP>=0:${PORTSDIR}/security/p5-Crypt-OpenPGP \
p5-Crypt-CAST5_PP>=0:${PORTSDIR}/security/p5-Crypt-CAST5_PP
.endif
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
MD5 (DBIx-Class-EncodedColumn-0.00002.tar.gz) = 959a622303580654f5fff1ef8399438e
SHA256 (DBIx-Class-EncodedColumn-0.00002.tar.gz) = 664c18a499642e8ec3931c474931a250b32a2d88a348b1a91440122819fab694
SIZE (DBIx-Class-EncodedColumn-0.00002.tar.gz) = 23942

View file

@ -0,0 +1,4 @@
This DBIx::Class component can be used to automatically encode a
column's contents whenever the value of that column is set.
WWW: http://search.cpan.org/dist/DBIx-Class-EncodedColumn/

View file

@ -0,0 +1,13 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/EncodedColumn/.packlist
%%SITE_PERL%%/DBIx/Class/EncodedColumn.pm
%%SITE_PERL%%/DBIx/Class/EncodedColumn/Crypt/Eksblowfish/Bcrypt.pm
%%SITE_PERL%%/DBIx/Class/EncodedColumn/Crypt/OpenPGP.pm
%%SITE_PERL%%/DBIx/Class/EncodedColumn/Digest.pm
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class/EncodedColumn
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx/Class
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBIx
@dirrmtry %%SITE_PERL%%/DBIx/Class/EncodedColumn/Crypt/Eksblowfish
@dirrmtry %%SITE_PERL%%/DBIx/Class/EncodedColumn/Crypt
@dirrmtry %%SITE_PERL%%/DBIx/Class/EncodedColumn
@dirrmtry %%SITE_PERL%%/DBIx/Class
@dirrmtry %%SITE_PERL%%/DBIx