ports/110442: [update]update jakarta-commons-dbutils to 1.1:a small set of classes designed to make working with JDBC easier

Nemo Liu nemoliu at gmail.com
Sat Mar 17 11:50:02 UTC 2007


>Number:         110442
>Category:       ports
>Synopsis:       [update]update jakarta-commons-dbutils to 1.1:a small set of classes designed to make working with JDBC easier
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 17 11:50:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nemo Liu
>Release:        6.2
>Organization:
>Environment:
FreeBSD monitor.internal.sina.com.cn 6.2-STORM-r3 FreeBSD 6.2-STORM-r3 #0: Tue Jan 30 18:26:24 CST 2007     delphij at monitor.internal.sina.com.cn:/usr/obj/usr/src/sys/SINAMAIL  i386
>Description:
1.1 is the lastest release of jakarta-commons-dbutils.
DbUtils is a small set of classes designed to make working with JDBC easier. JDBC resource cleanup code is mundane, error prone work so these classes abstract out all of the cleanup tasks from your code leaving you with what you really wanted to do with JDBC in the first place: query and update data.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/databases/jakarta-commons-dbutils/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	9 Jun 2006 21:18:38 -0000	1.2
+++ Makefile	17 Mar 2007 11:21:47 -0000
@@ -2,18 +2,18 @@
 # Date created:			14 Feb 2006
 # Whom:				Michael Winking <mwfp at foldl.net>
 #
-# $FreeBSD: ports/databases/jakarta-commons-dbutils/Makefile,v 1.2 2006/06/09 21:18:38 linimon Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	commons-dbutils
-PORTVERSION=	1.0
+PORTVERSION=	1.1
 CATEGORIES=	databases java
 MASTER_SITES=	${MASTER_SITE_APACHE_JAKARTA}
 MASTER_SITE_SUBDIR=	commons/dbutils/source
 PKGNAMEPREFIX=	jakarta-
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	nemoliu at gmail.com
 COMMENT=	JDBC helper library
 
 BUILD_DEPENDS=	${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit
@@ -24,7 +24,7 @@
 
 MAKE_ARGS=	-cp ${JAVAJARDIR}/junit.jar
 ALL_TARGET=	dist
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
 
 .if !defined(NOPORTDOCS)
@@ -33,8 +33,7 @@
 
 do-install:
 	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
-# strangely the jar archive from a 1.0 build contains 1.1 as version number
-	@${INSTALL_DATA} ${WRKSRC}/dist/commons-dbutils-1.1-dev.jar \
+	@${INSTALL_DATA} ${WRKSRC}/dist/commons-dbutils-1.1.jar \
 		${JAVAJARDIR}/${PORTNAME}.jar
 	@${ECHO_MSG} " [DONE]"
 .if !defined(NOPORTDOCS)
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/databases/jakarta-commons-dbutils/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	16 Feb 2006 15:45:51 -0000	1.1
+++ distinfo	17 Mar 2007 11:21:59 -0000
@@ -1,3 +1,3 @@
-MD5 (commons-dbutils-1.0-src.tar.gz) = 811b2d6e5c8c519c6196464ab89252a9
-SHA256 (commons-dbutils-1.0-src.tar.gz) = 6bf5376457ca201d9086cd42d16a026ba0d2254912517bbbfeea64e806dd41a2
-SIZE (commons-dbutils-1.0-src.tar.gz) = 28707
+MD5 (commons-dbutils-1.1-src.tar.gz) = c970930b515983e0882c0aaab73725e2
+SHA256 (commons-dbutils-1.1-src.tar.gz) = 645f79936bb90c5ed02fd4d1ddbc15b23e22a468ab0df22771f2b78fe8d49a59
+SIZE (commons-dbutils-1.1-src.tar.gz) = 60062
Index: files/patch-build.xml
===================================================================
RCS file: files/patch-build.xml
diff -N files/patch-build.xml
--- files/patch-build.xml	16 Feb 2006 15:45:51 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-# use installed junit, instead of unnecessarily downloading and and building a custom one (which didn't work anyway)
-*** build.xml.old	Sun Jan  1 09:43:41 2006
---- build.xml	Sun Jan  1 09:32:51 2006
-***************
-*** 139,152 ****
-      </javadoc>
-    </target>
-    <target name="get-deps" unless="noget" depends="init">
--     <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
--     </get>
--     <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar">
--     </get>
--     <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-1.5.jar">
--     </get>
--     <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven/ant/jars/ant-optional-1.5.jar">
--     </get>
-    </target>
-    <target name="install-maven">
-      <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
---- 139,144 ----

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



More information about the freebsd-ports-bugs mailing list