From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 14 15:50:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE1FF6EF for ; Fri, 14 Mar 2014 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BEA77B0C for ; Fri, 14 Mar 2014 15:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2EFo0te042456 for ; Fri, 14 Mar 2014 15:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2EFo0YC042455; Fri, 14 Mar 2014 15:50:00 GMT (envelope-from gnats) Resent-Date: Fri, 14 Mar 2014 15:50:00 GMT Resent-Message-Id: <201403141550.s2EFo0YC042455@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yuri Perezhilin Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0B4A542 for ; Fri, 14 Mar 2014 15:40:08 +0000 (UTC) Received: from mail.dnlab.ru (mail.dnlab.ru [195.91.140.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 30EBCA2F for ; Fri, 14 Mar 2014 15:40:07 +0000 (UTC) Message-Id: Date: Fri, 14 Mar 2014 19:22:35 +0400 From: Yuri Perezhilin To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187579: Relive port: databases/p5-DBD-InterBase perl5 Interbase/Firebird DBI access module X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Yuri Perezhilin List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Mar 2014 15:50:01 -0000 >Number: 187579 >Category: ports >Synopsis: Relive port: databases/p5-DBD-InterBase perl5 Interbase/Firebird DBI access module >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 15:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Yuri Perezhilin >Release: FreeBSD 10.0-RELEASE amd64 >Organization: dnlab.ru >Environment: System: FreeBSD 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: DBD::InterBase is a Perl module which works with the DBI module to provide access to InterBase databases. WWW: http://search.cpan.org/dist/DBD-InterBase/ >How-To-Repeat: >Fix: --- p5-DBD-InterBase.shar begins here --- # 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-InterBase # p5-DBD-InterBase/Makefile # p5-DBD-InterBase/distinfo # p5-DBD-InterBase/pkg-descr # p5-DBD-InterBase/pkg-plist # p5-DBD-InterBase/files # p5-DBD-InterBase/files/patch-Makefile.PL # p5-DBD-InterBase/files/patch-dbdimp.c # echo c - p5-DBD-InterBase mkdir -p p5-DBD-InterBase > /dev/null 2>&1 echo x - p5-DBD-InterBase/Makefile sed 's/^X//' >p5-DBD-InterBase/Makefile << '576518d811578218fef8be587715b779' X# New ports collection makefile for: DBD::InterBase X# Date created: 15 Oct 2001 X# Whom: Sergey Skvortsov X# Date created: 14 March 2014 X# Whom: Yuri Perezhilin X# X# $FreeBSD: $ X# X XPORTNAME= DBD-InterBase XPORTVERSION= 0.48 XCATEGORIES= databases perl5 XMASTER_SITES= CPAN XMASTER_SITE_SUBDIR= DBD XPKGNAMEPREFIX= p5- X XMAINTAINER= yuri@rivera.ru XCOMMENT= DBI driver for InterBase/Firebird/Yaffil RDBMS server X XBUILD_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI XRUN_DEPENDS:= ${BUILD_DEPENDS} X XUSE_FIREBIRD= yes X XUSES= perl5 XUSE_PERL5= configure X Xpost-patch: X @${PERL} -pi -e 's,%%IB_BASE%%,${LOCALBASE},g' \ X ${WRKSRC}/Makefile.PL X XMAN3= DBD::InterBase.3 X X.include X.if ${PERL_LEVEL} < 501400 XBROKEN= This port for perl version >= 5.14 X.endif X.include 576518d811578218fef8be587715b779 echo x - p5-DBD-InterBase/distinfo sed 's/^X//' >p5-DBD-InterBase/distinfo << 'c140f136c1145e2f79dab91e1613df37' XSHA256 (DBD-InterBase-0.48.tar.gz) = 40b1dba601f10c5d66b26bb235424d398882740b3586a30405123735bc4bec44 XSIZE (DBD-InterBase-0.48.tar.gz) = 88658 c140f136c1145e2f79dab91e1613df37 echo x - p5-DBD-InterBase/pkg-descr sed 's/^X//' >p5-DBD-InterBase/pkg-descr << '897f4db4cb24a9ad384ef802cbeac412' XDBD::InterBase is a Perl module which works with the DBI module to Xprovide access to InterBase/Firebird/Yaffil databases. X XWWW: http://search.cpan.org/dist/DBD-InterBase/ 897f4db4cb24a9ad384ef802cbeac412 echo x - p5-DBD-InterBase/pkg-plist sed 's/^X//' >p5-DBD-InterBase/pkg-plist << '732ffc66060159b3065faec76dfc172d' X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/InterBase/.packlist X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/InterBase.pm X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/InterBase/GetInfo.pm X%%SITE_PERL%%/%%PERL_ARCH%%/DBD/InterBase/TypeInfo.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/InterBase/InterBase.bs X%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/InterBase/InterBase.so X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/DBD/InterBase X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/DBD X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/InterBase X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD 732ffc66060159b3065faec76dfc172d echo c - p5-DBD-InterBase/files mkdir -p p5-DBD-InterBase/files > /dev/null 2>&1 echo x - p5-DBD-InterBase/files/patch-Makefile.PL sed 's/^X//' >p5-DBD-InterBase/files/patch-Makefile.PL << '6f9d8846a6b7a5865679d767be975462' X--- Makefile.PL.orig Sat Nov 22 06:12:11 2003 X+++ Makefile.PL Mon Dec 8 20:01:27 2003 X@@ -28,7 +28,7 @@ X use DBI::DBD; # DBD creation tools X X my $ib_dir_prefix; X- X+=rem X # init stuff X my $IB_Bin_path = ''; X my $isql_name; X@@ -82,7 +82,12 @@ X @ib_bin_dirs = (qw(/usr/interbase/bin /opt/interbase/bin /opt/firebird/bin /usr/bin /usr/local/bin)); X @ib_inc_dirs = (qw(/usr/interbase/include /opt/interbase/include /opt/firebird/include /usr/include)); X } X- X+=cut X+my $IB_BASE='%%IB_BASE%%'; X+my $IB_Bin_path = $IB_BASE.'/bin'; X+my $isql_name = 'isql'; X+my $ib_lib_dir = $IB_BASE.'/lib'; X+my $ib_inc = $IB_BASE.'/include'; X sub locate_dbi_arch_dir { X my $dbidir = dbd_dbi_dir(); X my @try = map { "$_/auto/DBI" } @INC; X@@ -91,7 +96,7 @@ X Carp::carp( "Multiple copies of Driver.xst found in: @xst") if @xst > 1; X return $xst[0]; X } X- X+=rem X ################################################################################ X # sub test_files - checks if at least one of the files in the list exists X # Paramters: X@@ -296,13 +301,13 @@ X X # prompt for InterBase bin directory X $IB_Bin_path = dir_choice("InterBase/Firebird bin directory", [@ib_bin_dirs], [qw(gfix gfix.exe)]); X- X+=cut X unless(-x $IB_Bin_path) X { X carp "I cannot find your InterBase/Firebird installation.\nDBD::InterBase cannot build or run without InterBase.\n"; X exit 1; X } X- X+=rem X # get InterBase version X my $IBVERSION; X my $GFIX_PATH = $IB_Bin_path . "/" . test_files($IB_Bin_path, [qw(gfix gfix.exe)]); X@@ -312,7 +317,7 @@ X X # prompt for IB include dir X my $ib_inc = dir_choice("InterBase/Firebird include directory", [@ib_inc_dirs], [qw(gds.h ibase.h)]); X- X+=cut X X # we use a hash for the MakeMaker parameters X my %MakeParams = ( X@@ -323,14 +328,14 @@ X 'CCFLAGS' => '', X 'INC' => qq(-I"$ib_inc" -I"${\locate_dbi_arch_dir()}"), X 'OBJECT' => "InterBase.o dbdimp.o", X- 'LIBS' => [''], X+ 'LIBS' => "-L$ib_lib_dir -lgds", X 'OPTIMIZE' => $Config::Config{'optimize'}, X 'XSPROTOARG' => '-noprototypes', X 'dist' => {COMPRESS=>'gzip -9f', SUFFIX=>'gz'}, X 'clean' => {FILES => "*.xsi *.old t/*.old *~ t/*~ trace.txt t/trace.txt lib/DBD/InterBase/*~ lib/DBD/InterBase/*.old lib/Bundle/DBD/*~ lib/Bundle/DBD/*.old"}, X 'realclean' => {FILES => "t/test.conf"}, X ); X- X+=rem X # the OS specific build environment setup X my $os = $Config::Config{'osname'}; X if ($os eq 'MSWin32') X@@ -530,7 +535,7 @@ X X # create the test config file X make_test_conf(); X- X+=cut X # and last but not least write the makefile X WriteMakefile(%MakeParams); X 6f9d8846a6b7a5865679d767be975462 echo x - p5-DBD-InterBase/files/patch-dbdimp.c sed 's/^X//' >p5-DBD-InterBase/files/patch-dbdimp.c << '754bd142b4501fea0d8d076b4de9cbf8' X--- dbdimp.c.orig 2008-01-08 09:02:45.000000000 +0300 X+++ dbdimp.c 2014-01-27 13:58:49.202445490 +0400 X@@ -113,7 +113,7 @@ X X if (DBIc_TRACE_LEVEL(imp_xxh) >= 2) X PerlIO_printf(DBIc_LOGPIO(imp_xxh), "%s error %d recorded: %s\n", X- what, rc, SvPV(errstr,na)); X+ what, rc, SvPV(errstr,PL_na)); X } X X #define CALC_AVAILABLE(buff) sizeof(buff) - strlen(buff) - 1 X@@ -693,7 +693,7 @@ X return Nullsv; X else X { X- if ((result == &sv_yes) || (result == &sv_no)) X+ if ((result == &PL_sv_yes) || (result == &PL_sv_no)) X return result; X else X return sv_2mortal(result); X@@ -1991,8 +1991,8 @@ X DBIh_EVENT2(drh, ERROR_event, DBIc_ERR(imp_drh), DBIc_ERRSTR(imp_drh)); X return FALSE; X } X- if (perl_destruct_level) X- perl_destruct_level = 0; X+ if (PL_perl_destruct_level) X+ PL_perl_destruct_level = 0; X return FALSE; X } X 754bd142b4501fea0d8d076b4de9cbf8 exit --- p5-DBD-InterBase.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: