Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 19:58:43 GMT
From:      Hardy Schumacher <hardy.schumacher@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186424: [UPDATE] java/jakarta-commons-logging to v1.1.3
Message-ID:  <201402031958.s13JwhUH057435@oldred.freebsd.org>
Resent-Message-ID: <201402032000.s13K00xa053936@freefall.freebsd.org>

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

>Number:         186424
>Category:       ports
>Synopsis:       [UPDATE] java/jakarta-commons-logging to v1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 03 20:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.2
>Organization:
>Environment:
FreeBSD gamma.low.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0 r260887: Mon Jan 20 19:57:49 CET 2014     root@gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA  i386
>Description:
Update of port java/jakarta-commons-logging to v1.1.3 is available. It contains several bugfixes.
Furthermore I've added:
- license
- stage support
- conversion to options framework
>How-To-Repeat:
n/a
>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/java/jakarta-commons-logging/Makefile ./jakarta-commons-logging/Makefile
--- /usr/ports/java/jakarta-commons-logging/Makefile	2014-01-22 18:38:22.000000000 +0100
+++ ./jakarta-commons-logging/Makefile	2014-02-03 20:51:40.000000000 +0100
@@ -2,7 +2,7 @@
 # $FreeBSD: head/java/jakarta-commons-logging/Makefile 340722 2014-01-22 17:00:46Z mat $
 
 PORTNAME=	commons-logging
-PORTVERSION=	1.1.1
+PORTVERSION=	1.1.3
 CATEGORIES=	java devel
 MASTER_SITES=	${MASTER_SITE_APACHE_COMMONS_BINARIES}
 MASTER_SITE_SUBDIR=	${PORTNAME:S,commons-,,}
@@ -12,30 +12,36 @@
 MAINTAINER=	hq@FreeBSD.org
 COMMENT=	Generic logging wrapper library
 
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 PORTDOCS=	*
 .endif
 PLIST_FILES=	%%JAVAJARDIR%%/commons-logging.jar
 
 do-install:
-	@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${PORTNAME}.jar..."
-	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+	@${ECHO_MSG} -n ">> Installing JAR as ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar..."
+	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
 	@${ECHO_MSG} " [ DONE ]"
 
-.if !defined(NOPORTDOCS)
-	@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}/..."
-	@cd ${WRKSRC}/site \
-	  && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \; \
-	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
+.if ${PORT_OPTIONS:MDOCS}
+	@${ECHO_MSG} -n ">> Installing documentation in ${STAGEDIR}${DOCSDIR}/..."
+	@cd ${WRKSRC}/apidocs \
+	  && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/{} \; \
+	  && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
 	@${ECHO_MSG} " [ DONE ]"
 .endif
 
diff -ruN /usr/ports/java/jakarta-commons-logging/distinfo ./jakarta-commons-logging/distinfo
--- /usr/ports/java/jakarta-commons-logging/distinfo	2014-01-22 18:38:22.000000000 +0100
+++ ./jakarta-commons-logging/distinfo	2014-02-03 20:46:39.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (commons-logging-1.1.1-bin.tar.gz) = 88c721d66f570a87f710a2449f0e3bffea86489d9dd2fa70b805104c4f8d69e6
-SIZE (commons-logging-1.1.1-bin.tar.gz) = 817240
+SHA256 (commons-logging-1.1.3-bin.tar.gz) = 9e7093c93529792563b5c19ab5cccb73ef4ca7d82b886bdec6d0af182ba9908a
+SIZE (commons-logging-1.1.3-bin.tar.gz) = 737866


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



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