Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 Dec 2005 13:14:02 +0100 (CET)
From:      Espen Tagestad <espen@tagestad.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89835: New ports: databases/p5-DBD-Mock and www/p5-CGI-Application-Plugin-DBH
Message-ID:  <20051202121402.65868216C@intra.modula.no>
Resent-Message-ID: <200512021220.jB2CK3FX014463@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89835
>Category:       ports
>Synopsis:       New ports: databases/p5-DBD-Mock and www/p5-CGI-Application-Plugin-DBH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 02 12:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Espen Tagestad
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD intra.modula.no 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Jun 11 16:38:05 CEST 2005 espent@intern.modula.no:/usr/obj/usr/src/sys/INTRA i386


>Description:
The DBD::Mock perl module is a simple mock DBD implementation used for testing.
It's entirely self-contained so that you can extract the single library file
(DBD/Mock.pm), put it in your own distribution and be able to run DBI-based
tests even though you don't have information about a database.

WWW: http://search.cpan.org/dist/DBD-Mock/


CGI::Application::Plugin::DBH adds easy access to a DBI database handle to your
CGI::Application modules. Lazy loading is used to prevent a database connection
from being made if the dbh method is not called during the request. In other
words, the database connection is not created until it is actually needed.

WWW: http://search.cpan.org/dist/CGI-Application-Plugin-DBH/

>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       p5-DBD-Mock/
#       p5-DBD-Mock/Makefile
#       p5-DBD-Mock/pkg-descr
#       p5-DBD-Mock/distinfo
#       p5-DBD-Mock/pkg-plist
#
echo c - p5-DBD-Mock/
mkdir -p p5-DBD-Mock/ > /dev/null 2>&1
echo x - p5-DBD-Mock/Makefile
sed 's/^X//' >p5-DBD-Mock/Makefile << 'END-of-p5-DBD-Mock/Makefile'
X# New ports collection makefile for:   DBD::Mock
X# Date created:                                02 Des 2005
X# Whom:                                        Espen Tagestad <espen@tagestad.no>
X#
X#
X
XPORTNAME=      DBD-Mock
XPORTVERSION=   0.28
XCATEGORIES=    databases perl5
XMASTER_SITES=  ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=    DBD
XPKGNAMEPREFIX= p5-
X
XMAINTAINER=            espen@tagestad.no
XCOMMENT=               Simple mock DBD implementation used for testing.
X
XRUN_DEPENDS=           ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
X
XWRKSRC=        ${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XPERL_CONFIGURE=                yes
X#PERL_MODBUILD=                yes
X
XMAN3=                  DBD::Mock.3
X
X.include <bsd.port.mk>
END-of-p5-DBD-Mock/Makefile
echo x - p5-DBD-Mock/pkg-descr
sed 's/^X//' >p5-DBD-Mock/pkg-descr << 'END-of-p5-DBD-Mock/pkg-descr'
XThe DBD::Mock perl module is a simple mock DBD implementation used for testing.
XIt's entirely self-contained so that you can extract the single library file
X(DBD/Mock.pm), put it in your own distribution and be able to run DBI-based
Xtests even though you don't have information about a database.
X
XWWW: http://search.cpan.org/dist/DBD-Mock/
X
X- Espen Tagestad
Xespen@tagestad.no
END-of-p5-DBD-Mock/pkg-descr
echo x - p5-DBD-Mock/distinfo
sed 's/^X//' >p5-DBD-Mock/distinfo << 'END-of-p5-DBD-Mock/distinfo'
XMD5 (DBD-Mock-0.28.tar.gz) = 4dc357a18020bfd8d9cf5ad7760a1775
XSHA256 (DBD-Mock-0.28.tar.gz) = 6662b8758b6402dc13770543f9a98906ad87e141003290336ed9c5fe1404c1b8
XSIZE (DBD-Mock-0.28.tar.gz) = 34944
END-of-p5-DBD-Mock/distinfo
echo x - p5-DBD-Mock/pkg-plist
sed 's/^X//' >p5-DBD-Mock/pkg-plist << 'END-of-p5-DBD-Mock/pkg-plist'
X%%SITE_PERL%%/DBD/Mock.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Mock/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Mock
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/DBD 2>/dev/null || true
END-of-p5-DBD-Mock/pkg-plist
exit



# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       p5-CGI-Application-Plugin-DBH
#       p5-CGI-Application-Plugin-DBH/pkg-plist
#       p5-CGI-Application-Plugin-DBH/pkg-descr
#       p5-CGI-Application-Plugin-DBH/Makefile
#       p5-CGI-Application-Plugin-DBH/distinfo
#
echo c - p5-CGI-Application-Plugin-DBH
mkdir -p p5-CGI-Application-Plugin-DBH > /dev/null 2>&1
echo x - p5-CGI-Application-Plugin-DBH/pkg-plist
sed 's/^X//' >p5-CGI-Application-Plugin-DBH/pkg-plist << 'END-of-p5-CGI-Application-Plugin-DBH/pkg-plist'
X%%SITE_PERL%%/CGI/Application/Plugin/DBH.pm
X@unexec rmdir %D/%%SITE_PERL%%/CGI/Application/Plugin 2>/dev/null || true
END-of-p5-CGI-Application-Plugin-DBH/pkg-plist
echo x - p5-CGI-Application-Plugin-DBH/pkg-descr
sed 's/^X//' >p5-CGI-Application-Plugin-DBH/pkg-descr << 'END-of-p5-CGI-Application-Plugin-DBH/pkg-descr'
XCGI::Application::Plugin::DBH adds easy access to a DBI database handle to your
XCGI::Application modules. Lazy loading is used to prevent a database connection
Xfrom being made if the dbh method is not called during the request. In other
Xwords, the database connection is not created until it is actually needed.
X
XWWW: http://search.cpan.org/dist/CGI-Application-Plugin-DBH/
X
X- Espen Tagestad
Xespen@tagestad.no
END-of-p5-CGI-Application-Plugin-DBH/pkg-descr
echo x - p5-CGI-Application-Plugin-DBH/Makefile
sed 's/^X//' >p5-CGI-Application-Plugin-DBH/Makefile << 'END-of-p5-CGI-Application-Plugin-DBH/Makefile'
X# New ports collection makefile for:   CGI::Application::Plugin::DBH
X# Date created:                                02 Des 2005
X# Whom:                                        Espen Tagestad <espen@tagestad.no>
X#
X#
X
XPORTNAME=      CGI-Application-Plugin-DBH
XPORTVERSION=   4.00
XCATEGORIES=    www perl5
XMASTER_SITES=  ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=    CGI
XPKGNAMEPREFIX= p5-
X
XMAINTAINER=            espen@tagestad.no
XCOMMENT=               Easy DBI access from CGI::Application
X
XRUN_DEPENDS=           ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \
X                       ${SITE_PERL}/CGI/Carp.pm:${PORTSDIR}/www/p5-CGI-modules \
X                       ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
X                       ${SITE_PERL}/DBD/Mock.pm:${PORTSDIR}/databases/p5-DBD-Mock \
X
XWRKSRC=        ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XPERL_MODBUILD=         yes
X
XMAN3=                  CGI::Application::Plugin::DBH.3
X
X.include <bsd.port.mk>
END-of-p5-CGI-Application-Plugin-DBH/Makefile
echo x - p5-CGI-Application-Plugin-DBH/distinfo
sed 's/^X//' >p5-CGI-Application-Plugin-DBH/distinfo << 'END-of-p5-CGI-Application-Plugin-DBH/distinfo'
XMD5 (CGI-Application-Plugin-DBH-4.00.tar.gz) = 9cfb1ad525f45553fd7221f524a5bf19
XSHA256 (CGI-Application-Plugin-DBH-4.00.tar.gz) = f73416d39d0297b936058dd69e52060e3c96dc6ec5a9667ab3f91e0b50903378
XSIZE (CGI-Application-Plugin-DBH-4.00.tar.gz) = 6702
END-of-p5-CGI-Application-Plugin-DBH/distinfo
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051202121402.65868216C>