Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 May 2006 21:47:40 -0600 (MDT)
From:      "Aaron Dalton" <aaron@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/98193: Update Port: devel/p5-Alzabo 0.87->0.8801
Message-ID:  <200605310347.k4V3leGL044160@moondance.itsy-bitsy.net>
Resent-Message-ID: <200605310400.k4V40WWh008106@freefall.freebsd.org>

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

>Number:         98193
>Category:       ports
>Synopsis:       Update Port: devel/p5-Alzabo 0.87->0.8801
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 31 04:00:32 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Aaron Dalton
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD moondance.itsy-bitsy.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
- Updated from 0.87 to 0.8801
- Updated pkg-plist to respect NOPORTDOCS
- General Makefile cleanup
- Re-patch Build.PL for automated build

0.8801  Mar 13, 2006

BUG FIXES:

- Quoting of PostgreSQL column defaults in DDL SQL was completely
broken.


0.88  Mar 13, 2006

ENHANCEMENTS:

- Added a new option when creating a column, "default_is_raw", which
can be used to allow for a function like NOW() as a column default.

- Added an "--automated" option for Build.PL, to force it to just use
default prereqs. Also added other options to be used with this one,
see "perl Build.PL --help" for detalis.

- The Alzabo::Driver classes will now transparently reconnect to the
DBMS if you attempt to use them in a child process after a fork. This
prevents various problems that can occur if you attempt to share a DBI
handle between two processes. One notable problem is that the parent's
DBI handle is closed when the child exits.

- Added support for (VAR)BINARY type columns in MySQL. Request by
Martin Groenemeyer. RT Ticket #16338.

BUG FIXES:

- Alzabo::Table->foreign_keys_by_table() and foreign_keys_by_column()
could return the same object more than once when using multiple-column
foreign keys. Reported by Rainer Rohmfeld. RT Ticket #13885.

- Calling connect() on a driver object (via a schema object) with
different parameters did not reconnect if the existing handle was
still good. This was explicitly opposite what the docs said the code
was doing. RT Ticket #17942.

- Fix bug in reverse engineering function indexes in Postgres.  The
reverse engineering code always ended up thinking all of the columns
in the table were used in the index.

- Fix failing MySQL test in 03-runtime.t.  The problem was the test,
not the Alzabo core.  Reported by Alex McLintock.

- Fixed adding too many "=cut" directives in docs generated by
Alzabo::MethodMaker.

- Fixed SQL generation for the Postgres functions CURRENT_DATE,
CURRENT_TIME, and CURRENT_TIMESTAMP, which should not have parentheses
after them.

- Documented that DATE_TRUNC() is a support Pg function in
Alzabo::SQLMaker::PostgreSQL. RT Ticket #13843.

>How-To-Repeat:
	
>Fix:

	

--- submission.txt begins here ---
? submission.txt
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Alzabo/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	18 May 2005 11:51:45 -0000	1.6
+++ Makefile	31 May 2006 03:47:03 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Alzabo
-PORTVERSION=	0.87
+PORTVERSION=	0.8801
 CATEGORIES=	devel databases perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Alzabo
@@ -17,85 +17,80 @@
 
 BUILD_DEPENDS=	${SITE_PERL}/Exception/Class.pm:${PORTSDIR}/devel/p5-Exception-Class \
 		${SITE_PERL}/Class/Factory/Util.pm:${PORTSDIR}/devel/p5-Class-Factory-Util \
-		${SITE_PERL}/${PERL_ARCH}//Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
+		${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
 		${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \
 		${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_MODBUILD=	yes
 
-MAN3=		\
-		Alzabo.3 \
-		Alzabo::BackCompat.3 \
-		Alzabo::ChangeTracker.3 \
-		Alzabo::Column.3 \
-		Alzabo::ColumnDefinition.3 \
-		Alzabo::Config.3 \
-		Alzabo::Create.3 \
-		Alzabo::Create::Column.3 \
-		Alzabo::Create::ColumnDefinition.3 \
-		Alzabo::Create::ForeignKey.3 \
-		Alzabo::Create::Index.3 \
-		Alzabo::Create::Schema.3 \
-		Alzabo::Create::Table.3 \
-		Alzabo::Debug.3 \
-		Alzabo::Design.3 \
-		Alzabo::Driver.3 \
-		Alzabo::Driver::MySQL.3 \
-		Alzabo::Driver::PostgreSQL.3 \
-		Alzabo::Exceptions.3 \
-		Alzabo::FAQ.3 \
-		Alzabo::ForeignKey.3 \
-		Alzabo::Index.3 \
-		Alzabo::Intro.3 \
-		Alzabo::MethodMaker.3 \
-		Alzabo::MySQL.3 \
-		Alzabo::PostgreSQL.3 \
-		Alzabo::QuickRef.3 \
-		Alzabo::RDBMSRules.3 \
-		Alzabo::RDBMSRules::MySQL.3 \
-		Alzabo::RDBMSRules::PostgreSQL.3 \
-		Alzabo::Runtime.3 \
-		Alzabo::Runtime::Column.3 \
-		Alzabo::Runtime::ColumnDefinition.3 \
-		Alzabo::Runtime::Cursor.3 \
-		Alzabo::Runtime::ForeignKey.3 \
-		Alzabo::Runtime::Index.3 \
-		Alzabo::Runtime::InsertHandle.3 \
-		Alzabo::Runtime::JoinCursor.3 \
-		Alzabo::Runtime::Row.3 \
-		Alzabo::Runtime::RowCursor.3 \
-		Alzabo::Runtime::RowState::Deleted.3 \
-		Alzabo::Runtime::RowState::InCache.3 \
-		Alzabo::Runtime::RowState::Live.3 \
-		Alzabo::Runtime::RowState::Potential.3 \
-		Alzabo::Runtime::Schema.3 \
-		Alzabo::Runtime::Table.3 \
-		Alzabo::Runtime::UniqueRowCache.3 \
-		Alzabo::SQLMaker.3 \
-		Alzabo::SQLMaker::MySQL.3 \
-		Alzabo::SQLMaker::PostgreSQL.3 \
-		Alzabo::Schema.3 \
-		Alzabo::Table.3
+MAN3=	Alzabo.3 \
+	Alzabo::BackCompat.3 \
+	Alzabo::ChangeTracker.3 \
+	Alzabo::Column.3 \
+	Alzabo::ColumnDefinition.3 \
+	Alzabo::Config.3 \
+	Alzabo::Create.3 \
+	Alzabo::Create::Column.3 \
+	Alzabo::Create::ColumnDefinition.3 \
+	Alzabo::Create::ForeignKey.3 \
+	Alzabo::Create::Index.3 \
+	Alzabo::Create::Schema.3 \
+	Alzabo::Create::Table.3 \
+	Alzabo::Debug.3 \
+	Alzabo::Design.3 \
+	Alzabo::Driver.3 \
+	Alzabo::Driver::MySQL.3 \
+	Alzabo::Driver::PostgreSQL.3 \
+	Alzabo::Exceptions.3 \
+	Alzabo::FAQ.3 \
+	Alzabo::ForeignKey.3 \
+	Alzabo::Index.3 \
+	Alzabo::Intro.3 \
+	Alzabo::MethodMaker.3 \
+	Alzabo::MySQL.3 \
+	Alzabo::PostgreSQL.3 \
+	Alzabo::QuickRef.3 \
+	Alzabo::RDBMSRules.3 \
+	Alzabo::RDBMSRules::MySQL.3 \
+	Alzabo::RDBMSRules::PostgreSQL.3 \
+	Alzabo::Runtime.3 \
+	Alzabo::Runtime::Column.3 \
+	Alzabo::Runtime::ColumnDefinition.3 \
+	Alzabo::Runtime::Cursor.3 \
+	Alzabo::Runtime::ForeignKey.3 \
+	Alzabo::Runtime::Index.3 \
+	Alzabo::Runtime::InsertHandle.3 \
+	Alzabo::Runtime::JoinCursor.3 \
+	Alzabo::Runtime::Row.3 \
+	Alzabo::Runtime::RowCursor.3 \
+	Alzabo::Runtime::RowState::Deleted.3 \
+	Alzabo::Runtime::RowState::InCache.3 \
+	Alzabo::Runtime::RowState::Live.3 \
+	Alzabo::Runtime::RowState::Potential.3 \
+	Alzabo::Runtime::Schema.3 \
+	Alzabo::Runtime::Table.3 \
+	Alzabo::Runtime::UniqueRowCache.3 \
+	Alzabo::SQLMaker.3 \
+	Alzabo::SQLMaker::MySQL.3 \
+	Alzabo::SQLMaker::PostgreSQL.3 \
+	Alzabo::Schema.3 \
+	Alzabo::Table.3
 
 .if !defined(NOPORTDOCS)
 EXAMPLES=	eg/alzabo_grep eg/alzabo_to_ascii eg/convert.pl eg/reverse_cardinality.pl
 EXAMPLESMASON=	mason/widgets/edit_field_checkbox mason/widgets/edit_field_text_input mason/widgets/edit_field_textarea mason/widgets/fk_to_one_select mason/widgets/insert mason/widgets/insert_or_update mason/widgets/update
-PORTDOCS=	README Changes TODO
+DOCS=	README Changes TODO
 
 post-install:
 	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	@${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
 	@${MKDIR} ${EXAMPLESDIR}
 	@${INSTALL_DATA} ${EXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
 	@${MKDIR} ${EXAMPLESDIR}/mason
 	@${INSTALL_DATA} ${EXAMPLESMASON:S|^|${WRKSRC}/|} ${EXAMPLESDIR}/mason
 	@${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
-	@${FIND} -P ${EXAMPLESDIR} ! -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -P -d ${EXAMPLESDIR} -type d 2>/dev/null | \
-		${SED} -ne 's,^${PREFIX}/,@dirrm ,p' >> ${TMPPLIST}
 .endif
 
 .include <bsd.port.pre.mk>
@@ -106,7 +101,7 @@
 		${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
 		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
 .if ${PERL_LEVEL} < 500600
-IGNORE=		Needs perl 5.6+, install lang/perl5 or lang/perl5.8 and try again
+IGNORE=	requires perl 5.6+, install lang/perl5 or lang/perl5.8 and try again
 .endif
 .endif
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Alzabo/distinfo,v
retrieving revision 1.6
diff -u -r1.6 distinfo
--- distinfo	14 Nov 2005 14:15:52 -0000	1.6
+++ distinfo	31 May 2006 03:47:03 -0000
@@ -1,3 +1,2 @@
-MD5 (Alzabo-0.87.tar.gz) = cdbdca512aba503a999fc8151b39cdea
-SHA256 (Alzabo-0.87.tar.gz) = a09fc1061904de9b74f403ecdc722e1819d9e384cfbb7834e03551b83945dd30
-SIZE (Alzabo-0.87.tar.gz) = 205568
+MD5 (Alzabo-0.8801.tar.gz) = c7b64455b6ce5e5f9a015bc9b19f6577
+SIZE (Alzabo-0.8801.tar.gz) = 208154
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Alzabo/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- pkg-plist	18 May 2005 11:51:45 -0000	1.4
+++ pkg-plist	31 May 2006 03:47:03 -0000
@@ -1,4 +1,3 @@
-@comment $FreeBSD: ports/devel/p5-Alzabo/pkg-plist,v 1.4 2005/05/18 11:51:45 mat Exp $
 %%SITE_PERL%%/Alzabo.pm
 %%SITE_PERL%%/Alzabo/BackCompat.pm
 %%SITE_PERL%%/Alzabo/ChangeTracker.pm
@@ -51,6 +50,23 @@
 %%SITE_PERL%%/Alzabo/SQLMaker/PostgreSQL.pm
 %%SITE_PERL%%/Alzabo/Schema.pm
 %%SITE_PERL%%/Alzabo/Table.pm
+%%PORTDOCS%%%%DOCSDIR%%/Changes
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%EXAMPLESDIR%%/alzabo_grep
+%%PORTDOCS%%%%EXAMPLESDIR%%/alzabo_to_ascii
+%%PORTDOCS%%%%EXAMPLESDIR%%/convert.pl
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/edit_field_checkbox
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/edit_field_text_input
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/edit_field_textarea
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/fk_to_one_select
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/insert
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/insert_or_update
+%%PORTDOCS%%%%EXAMPLESDIR%%/mason/update
+%%PORTDOCS%%%%EXAMPLESDIR%%/reverse_cardinality.pl
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/mason
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%SITE_PERL%%/Alzabo/SQLMaker
 @dirrm %%SITE_PERL%%/Alzabo/Runtime/RowState
 @dirrm %%SITE_PERL%%/Alzabo/Runtime
Index: files/patch-Build.PL
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Alzabo/files/patch-Build.PL,v
retrieving revision 1.1
diff -u -r1.1 patch-Build.PL
--- files/patch-Build.PL	8 Aug 2004 09:05:35 -0000	1.1
+++ files/patch-Build.PL	31 May 2006 03:47:03 -0000
@@ -1,21 +1,10 @@
---- Build.PL~	Thu Jun 10 01:00:41 2004
-+++ Build.PL	Sun Aug  8 10:55:14 2004
-@@ -90,7 +90,7 @@
- EOF
+--- Build.PL.orig	Mon Mar 13 12:58:21 2006
++++ Build.PL	Tue May 30 21:27:00 2006
+@@ -18,6 +18,7 @@
+             'automated' => \$opts{automated},
+             'help'   => \$opts{help},
+           );
++$opts{automated} = 1;
  
-     my $root_dir = Alzabo::Config::root_dir() if %Alzabo::Config::CONFIG;
--    return Module::Build->prompt( '  Alzabo root?', $root_dir || find_possible_root() );
-+    return undef;
- }
- 
- sub find_possible_root
-@@ -182,8 +182,7 @@
- 
- 	print "\u$feature->{phrase} $mods.\n";
- 
--	my $wanted =
--            Module::Build->y_n( "  Do you want $feature->{phrase}?", $has ? 'yes' : 'no' );
-+	my $wanted;
- 
- 	if ($wanted)
- 	{
+ if ( $opts{help} )
+ {
--- submission.txt ends here ---


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



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