1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Repocopy from p5-DBD-SQLite to p5-DBD-SQLite2.

o Update to 0.33.
o Remove unnecessary perl script.
o Remove a patch which was already merged.

Repo copied by:	marcus (pcvs)
This commit is contained in:
Norikatsu Shigemura 2004-10-12 15:59:16 +00:00
parent a87ec1baf4
commit 03586b9043
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119056
6 changed files with 21 additions and 40 deletions

View File

@ -150,6 +150,7 @@
SUBDIR += p5-DBD-PgSPI
SUBDIR += p5-DBD-RAM
SUBDIR += p5-DBD-SQLite
SUBDIR += p5-DBD-SQLite2
SUBDIR += p5-DBD-Sybase
SUBDIR += p5-DBD-XBase
SUBDIR += p5-DBD-mysql

View File

@ -5,9 +5,9 @@
# $FreeBSD$
#
PORTNAME= DBD-SQLite
PORTVERSION= 0.31
PORTREVISION= 1
PORTNAME= DBD-SQLite2
PORTVERSION= 0.33
PORTREVISION= 0
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
@ -18,7 +18,7 @@ COMMENT= Provides access to SQLite2 databases through the DBI
PERL_CONFIGURE= yes
MAN3= DBD::SQLite.3
MAN3= DBD::SQLite2.3
.include <bsd.port.pre.mk>
@ -30,4 +30,7 @@ BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
.endif
post-extract:
${RM} -f ${WRKSRC}/getsqlite.pl
.include <bsd.port.post.mk>

View File

@ -1,2 +1,2 @@
MD5 (DBD-SQLite-0.31.tar.gz) = 4aa99c39104b7cd39129aec548e7d3e4
SIZE (DBD-SQLite-0.31.tar.gz) = 357902
MD5 (DBD-SQLite2-0.33.tar.gz) = babd83fd5eb9ba7560ad4bab4c76c0eb
SIZE (DBD-SQLite2-0.33.tar.gz) = 363277

View File

@ -1,22 +0,0 @@
--- dbdimp.c.orig Sun Feb 15 02:36:38 2004
+++ dbdimp.c Fri Jun 11 22:32:17 2004
@@ -1,4 +1,4 @@
-/* $Id: dbdimp.c,v 1.44 2004/02/14 17:36:38 matt Exp $ */
+/* $Id: dbdimp.c,v 1.45 2004/03/16 19:08:22 matt Exp $ */
#include "SQLiteXS.h"
@@ -294,8 +294,11 @@
char *
sqlite_decode(imp_dbh_t *imp_dbh, char *input, size_t *len)
{
- char *ret = malloc(*len);
- char *swit = ret;
+ char *ret;
+ char *swit;
+
+ New(1, ret, *len, char);
+ swit = ret;
while (*input) {
switch (*input) {

View File

@ -1,12 +1,12 @@
DBD::SQLite
===========
DBD::SQLite2
============
SQLite is a small fast embedded SQL database engine.
DBD::SQLite embeds that database engine into a DBD driver, so if
DBD::SQLite2 embeds that database engine into a DBD driver, so if
you want a relational database for your project, but don't want
to install a large RDBMS system like MySQL or PostgreSQL, then
DBD::SQLite may be just what you need.
DBD::SQLite2 may be just what you need.
It supports quite a lot of features, such as transactions (atomic
commit and rollback), indexes, DBA-free operation, a large subset

View File

@ -1,8 +1,7 @@
%%SITE_PERL%%/%%PERL_ARCH%%/DBD/SQLite.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DBD/getsqlite.pl
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/SQLite.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/DBD 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/DBD/SQLite2.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite2/SQLite2.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite2/SQLite2.so
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite2/.packlist
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/SQLite2 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/DBD 2>/dev/null || true