1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Version 1.32 was only needed for 4.x. Goodbye 1.32, you have

served us well.

2007-05-10 databases/p5-DBD-Pg-13: Use databases/p5-DBD-Pg instead
This commit is contained in:
Erwin Lansing 2007-06-14 19:46:51 +00:00
parent 001e27aca7
commit f9909bdaed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193508
9 changed files with 1 additions and 185 deletions

1
MOVED
View File

@ -3071,3 +3071,4 @@ devel/py-clientcookie||2007-06-10|Module rolled into www/py-mechanize by author
lang/ghc5||2007-07-11|Outdated software, removed on upstream's request
lang/ghc5-doc||2007-07-11|Outdated software, removed on upstream's request
devel/hs-popenhs||2007-07-11|Remove software depending on outdated lang/ghc5
databases/p5-DBD-Pg-13||2007-06-14|Has expired: Use databases/p5-DBD-Pg instead

View File

@ -217,7 +217,6 @@
SUBDIR += p5-DBD-ODBC
SUBDIR += p5-DBD-Oracle
SUBDIR += p5-DBD-Pg
SUBDIR += p5-DBD-Pg-13
SUBDIR += p5-DBD-PgPP
SUBDIR += p5-DBD-PgSPI
SUBDIR += p5-DBD-RAM

View File

@ -1,38 +0,0 @@
# New ports collection makefile for: p5-DBD-Pg
# Date created: June 17th 1997
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= DBD-Pg
PORTVERSION= 1.32
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= DBD
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Provides access to PostgreSQL databases through the DBI
DEPRECATED= Use databases/p5-DBD-Pg instead
EXPIRATION_DATE= 2007-05-10
BROKEN= Does not build
CONFLICTS= p5-DBD-Pg-1.[4-9]*
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}-13
USE_PGSQL= yes
PERL_CONFIGURE= yes
MAN3= DBD::Pg.3
.include <bsd.port.pre.mk>
PG_CONFIG= ${LOCALBASE}/bin/pg_config
CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \
POSTGRES_LIB=`${PG_CONFIG} --libdir`
.include <bsd.port.post.mk>

View File

@ -1,3 +0,0 @@
MD5 (DBD-Pg-1.32.tar.gz) = 9d6a936e6f755af677ceef59272a50ac
SHA256 (DBD-Pg-1.32.tar.gz) = f78bc21327e03ffb671ae8a78d098a9a3b458cbb1ac66b91218217fa966343ef
SIZE (DBD-Pg-1.32.tar.gz) = 96233

View File

@ -1,37 +0,0 @@
--- Makefile.PL.orig Thu Feb 19 04:46:40 2004
+++ Makefile.PL Fri Oct 15 13:25:34 2004
@@ -33,7 +32,7 @@
require App::Info::Handler::Prompt;
my $p = App::Info::Handler::Prompt->new;
my $pg = App::Info::RDBMS::PostgreSQL->new(on_unknown => $p);
-my ($major_ver, $minor_ver, $patch) = map {$pg->$_} qw/major_version minor_version patch_version/;
+my ($major_ver, $minor_ver, $patch) = map {$pg->$_()} qw/major_version minor_version patch_version/;
if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) {
$POSTGRES_INCLUDE = $pg->inc_dir;
@@ -66,7 +65,7 @@
$dbi_arch_dir = dbd_dbi_arch_dir();
}
-my $comp_opts = $Config{q{ccflags}};
+my $comp_opts = '';
if ($major_ver == 7) {
if ($minor_ver >= 2) {
$comp_opts .= " -DHAVE_PQescapeString";
@@ -86,7 +85,7 @@
my %opts = (
NAME => 'DBD::Pg',
VERSION_FROM => 'Pg.pm',
- INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
+ INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir $comp_opts",
OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT)",
LIBS => ["-L$POSTGRES_LIB -lpq"],
AUTHOR => 'http://gborg.postgresql.org/project/dbdpg/projdisplay.php',
@@ -94,7 +93,6 @@
PREREQ_PM => { 'Test::Simple' => '0.17', # Need Test::More.
'Test::Harness' => '2.03', # Need TODO tests.
},
- CCFLAGS => $comp_opts,
PERL_MALLOC_OK => 1,
);

View File

@ -1,14 +0,0 @@
diff -ru dbdimp.c~ dbdimp.c
--- dbdimp.c~ Sun Jan 2 20:01:43 2005
+++ dbdimp.c Sun Jan 2 20:06:16 2005
@@ -986,7 +986,9 @@
int num_fields;
char *value;
char *p;
- int i, pg_type, value_len, chopblanks, len;
+ int i, pg_type, chopblanks;
+ size_t value_len;
+ STRLEN len;
AV *av;
D_imp_dbh_from_sth;

View File

@ -1,78 +0,0 @@
diff -ru quote.c~ quote.c
--- quote.c~ Sun Jan 2 20:01:43 2005
+++ quote.c Sun Jan 2 20:04:39 2005
@@ -9,7 +9,7 @@
{
const char *source = from;
char *target = to;
- unsigned int remaining = length;
+ unsigned size_t remaining = length;
while (remaining > 0)
{
@@ -146,9 +146,9 @@
unsigned char *
PQunescapeBytea2(const unsigned char *strtext, size_t *retbuflen)
{
- size_t strtextlen, buflen;
+ size_t strtextlen, buflen, i, j;
unsigned char *buffer, *tmpbuf;
- int i, j, byte;
+ int byte;
if (strtext == NULL) {
return NULL;
@@ -393,7 +393,7 @@
{
char *result;
char *dest;
- int max_len = 0, i;
+ size_t max_len = 0, i;
/* We are going to retun a quote_bytea() for backwards compat but
we warn first */
@@ -483,7 +483,7 @@
void
dequote_char(string, retlen)
char *string;
- int *retlen;
+ size_t *retlen;
{
/* TODO: chop_blanks if requested */
*retlen = strlen(string);
@@ -493,7 +493,7 @@
void
dequote_varchar (string, retlen)
char *string;
- int *retlen;
+ size_t *retlen;
{
*retlen = strlen(string);
}
@@ -503,7 +503,7 @@
void
dequote_bytea(string, retlen)
char *string;
- int *retlen;
+ size_t *retlen;
{
char *s, *p;
int c1,c2,c3;
@@ -542,7 +542,7 @@
void
dequote_sql_binary (string, retlen)
char *string;
- int *retlen;
+ size_t *retlen;
{
/* We are going to retun a dequote_bytea(), JIC */
warn("Use of SQL_BINARY invalid in dequote()");
@@ -556,7 +556,7 @@
void
dequote_bool (string, retlen)
char *string;
- int *retlen;
+ size_t *retlen;
{
switch(*string){
case 'f': *string = '0'; break;

View File

@ -1,6 +0,0 @@
DBD::Pg is an extension to Perl which allows access to
PostgreSQL databases. It is built on top of the standard
DBI extension and implements some of the methods that DBI
defines.
WWW: http://search.cpan.org/dist/DBD-Pg/

View File

@ -1,8 +0,0 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/DBD/Pg.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg/Pg.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg/Pg.so
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/DBD