Opened 17 years ago

Closed 15 years ago

#12697 closed defect (fixed)

Out of date "commons-httpclient" Portfile for building tomcat5

Reported by: rhdurham@… Owned by: jberry@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: tomcat Cc:
Port:

Description

Portfile "commons-httpclient" out of date. The relative path (dist/jakarta/commons/httpclient/source/) to pull "commons-httpclient-3.0.1-src.tar.gz " is incorrect. The path should be "dist/jakarta/httpcomponents/commons-httpclient-3.x/source/" The file also does not exist with that version number. The new one is: "commons-httpclient-3.1-src.tar.gz". So the version in the portfile should be changed to "3.1" from "3.0.1". After making the changes to the Portfile, "sudo port install tomcat5" built and installed without error. The changed portfile follows. Other changes include the md5 checksum.

# $Id: Portfile 24558 2007-04-28 04:00:37Z jberry@macports.org $

PortSystem 1.0

name                            commons-httpclient
version                         3.1

categories                      java
maintainers                     jberry@macports.org openmaintainer@macports.org
platforms                       darwin

description                     Jakarta Commons-HttpClient
long_description        Commons-HttpClient provides a framework for working with \
					the client-side  of the HTTP protocol.
homepage                        http://jakarta.apache.org/commons/httpclient/

distname                        ${name}-${version}-src
master_sites            apache:jakarta/httpcomponents/commons-httpclient-3.x/source/
checksums                       md5 2c9b0f83ed5890af02c0df1c1776f39b

depends_build           bin:ant:apache-ant
depends_lib                     bin:java:kaffe \
					port:junit \
					port:commons-logging \
					port:commons-codec

use_configure           no

worksrcdir                      ${name}-${version}

build.cmd                       ant
build.target            dist
build.args                      -Djunit.jar=${prefix}/share/java/junit.jar \
					-Dcommons-logging.jar=${prefix}/share/java/commons-logging.jar \
					-Dcommons-codec.jar=${prefix}/share/java/commons-codec.jar

post-extract    {
	file mkdir ${worksrcpath}/lib
}

destroot        {
	xinstall -m 755 -d ${destroot}${prefix}/share/java \
		${destroot}${prefix}/share/doc
	xinstall -m 644 \
		${worksrcpath}/dist/commons-httpclient.jar \
		${destroot}${prefix}/share/java/
	file copy ${worksrcpath}/dist/docs ${destroot}${prefix}/share/doc/${name}
}

livecheck.check regex
livecheck.url   http://jakarta.apache.org/site/downloads/downloads_${name}.cgi
livecheck.regex "${name}-(\\d+\\.\\d+(\\.\\d+)?)-src.tar.gz"

Change History (2)

comment:1 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:2 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

looks like this was fixed in r29309

Note: See TracTickets for help on using tickets.