Bug 12522 - New port: cos
Summary: New port: cos
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-07-05 18:50 UTC by jose
Modified: 1999-12-31 20:23 UTC (History)
0 users

See Also:


Attachments
file.shar (4.68 KB, text/plain)
1999-07-05 18:50 UTC, jose
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description jose 1999-07-05 18:50:00 UTC
	A port for the com.oreilly.servlet java class library
Comment 1 sprice 1999-08-14 13:13:55 UTC
Updated port from originator.

---------- Forwarded message ----------
Date: Sat, 14 Aug 1999 13:03:56 +0100 (BST)
From: Jose Marques <jose@nobody.org>
To: gnats-admin@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject: Re: ports/12522: New port: cos

On Mon, 5 Jul 1999 gnats-admin@FreeBSD.org wrote:

> >Category:       ports
> >Responsible:    freebsd-ports
> >Synopsis:       New port: cos
> >Arrival-Date:   Mon Jul  5 10:50:00 PDT 1999

I have corrected some problems with this port since I submitted the
original PR.  Below is a shar archive with the corrected port.

# 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:
#
#	cos-1.0/
#	cos-1.0/pkg
#	cos-1.0/pkg/COMMENT
#	cos-1.0/pkg/DESCR
#	cos-1.0/pkg/PLIST
#	cos-1.0/files
#	cos-1.0/files/md5
#	cos-1.0/Makefile
#
echo c - cos-1.0/
mkdir -p cos-1.0/ > /dev/null 2>&1
echo c - cos-1.0/pkg
mkdir -p cos-1.0/pkg > /dev/null 2>&1
echo x - cos-1.0/pkg/COMMENT
sed 's/^X//' >cos-1.0/pkg/COMMENT << 'END-of-cos-1.0/pkg/COMMENT'
XThe O'Reilly package of utility classes for servlet developers
END-of-cos-1.0/pkg/COMMENT
echo x - cos-1.0/pkg/DESCR
sed 's/^X//' >cos-1.0/pkg/DESCR << 'END-of-cos-1.0/pkg/DESCR'
XThe com.oreilly.servlet package contains a set of useful utility classes
Xfor servlet developers. Included are classes to help servlets parse
Xparameters, handle multipart requests (file uploads), generate multipart
Xresponses (server push), negotiate locales for internationalization,
Xreturn files, manage socket connections, and act as RMI servers, among
Xother things. There's even a class to help applets communicate with
Xservlets. The package was developed by Jason Hunter for his book "Java
XServlet Programming" published by O'Reilly.  See:
X
XURL: http://www.servlets.com/resources/com.oreilly.servlet/index.html
X
XFor more details.
END-of-cos-1.0/pkg/DESCR
echo x - cos-1.0/pkg/PLIST
sed 's/^X//' >cos-1.0/pkg/PLIST << 'END-of-cos-1.0/pkg/PLIST'
Xshare/java/classes/cos.jar
Xshare/java/cos/readme.html
Xshare/java/cos/license.html
Xshare/java/cos/doc/images/blue-ball-small.gif
Xshare/java/cos/doc/images/blue-ball.gif
Xshare/java/cos/doc/images/class-index.gif
Xshare/java/cos/doc/images/constructor-index.gif
Xshare/java/cos/doc/images/constructors.gif
Xshare/java/cos/doc/images/cyan-ball-small.gif
Xshare/java/cos/doc/images/cyan-ball.gif
Xshare/java/cos/doc/images/error-index.gif
Xshare/java/cos/doc/images/exception-index.gif
Xshare/java/cos/doc/images/green-ball-small.gif
Xshare/java/cos/doc/images/green-ball.gif
Xshare/java/cos/doc/images/interface-index.gif
Xshare/java/cos/doc/images/magenta-ball-small.gif
Xshare/java/cos/doc/images/magenta-ball.gif
Xshare/java/cos/doc/images/method-index.gif
Xshare/java/cos/doc/images/methods.gif
Xshare/java/cos/doc/images/package-index.gif
Xshare/java/cos/doc/images/red-ball-small.gif
Xshare/java/cos/doc/images/red-ball.gif
Xshare/java/cos/doc/images/variable-index.gif
Xshare/java/cos/doc/images/variables.gif
Xshare/java/cos/doc/images/yellow-ball-small.gif
Xshare/java/cos/doc/images/yellow-ball.gif
Xshare/java/cos/doc/packages.html
Xshare/java/cos/doc/Package-com.oreilly.servlet.html
Xshare/java/cos/doc/com.oreilly.servlet.DaemonHttpServlet.html
Xshare/java/cos/doc/com.oreilly.servlet.HttpMessage.html
Xshare/java/cos/doc/com.oreilly.servlet.LocaleNegotiator.html
Xshare/java/cos/doc/com.oreilly.servlet.LocaleToCharsetMap.html
Xshare/java/cos/doc/com.oreilly.servlet.MultipartRequest.html
Xshare/java/cos/doc/com.oreilly.servlet.MultipartResponse.html
Xshare/java/cos/doc/com.oreilly.servlet.ParameterParser.html
Xshare/java/cos/doc/AllNames.html
Xshare/java/cos/doc/tree.html
Xshare/java/cos/doc/com.oreilly.servlet.RemoteDaemonHttpServlet.html
Xshare/java/cos/doc/com.oreilly.servlet.RemoteHttpServlet.html
Xshare/java/cos/doc/com.oreilly.servlet.ServletUtils.html
Xshare/java/cos/doc/com.oreilly.servlet.ParameterNotFoundException.html
X@dirrm share/java/cos/doc/images
X@dirrm share/java/cos/doc
X@dirrm share/java/cos
X@unexec rmdir %D/share/java/classes || true
X@unexec rmdir %D/share/java || true
END-of-cos-1.0/pkg/PLIST
echo c - cos-1.0/files
mkdir -p cos-1.0/files > /dev/null 2>&1
echo x - cos-1.0/files/md5
sed 's/^X//' >cos-1.0/files/md5 << 'END-of-cos-1.0/files/md5'
XMD5 (cos.zip) = 31266dcea2ed2e1ed73b24b52fdb7e55
END-of-cos-1.0/files/md5
echo x - cos-1.0/Makefile
sed 's/^X//' >cos-1.0/Makefile << 'END-of-cos-1.0/Makefile'
X# New ports collection makefile for:	O'Reilly servlet package
X# Version required:	1.0
X# Date created:		1999/07/05
X# Whom:			Jose Marques
X#
X# $Id$
X#
X
XDISTNAME=	cos
XPKGNAME=	cos-1.0
XCATEGORIES=	java
XMASTER_SITES=	http://www.servlets.com/resources/com.oreilly.servlet/
X
XMAINTAINER=	noway@nohow.demon.co.uk
X
XRUN_DEPENDS=	${PREFIX}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk \
X		${PREFIX}/bin/servletrunner:${PORTSDIR}/java/jsdk
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}
XJDK_VERSION=	1.1.8
XNO_BUILD=	yes
XRESTRICTED=	"Special conditions apply for commercial use, see licence"
X
Xdo-install:
X	@${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/cos
X	@${INSTALL_DATA} ${WRKSRC}/lib/cos.jar ${PREFIX}/share/java/classes
X	@cd ${WRKSRC}; \
X	  ${CP} readme.html ${PREFIX}/share/java/cos; \
X	  ${CP} license.html ${PREFIX}/share/java/cos; \
X	  ${CP} -R doc ${PREFIX}/share/java/cos
X
X.include <bsd.port.mk>
END-of-cos-1.0/Makefile
exit

-- 
Jose Marques
Comment 2 Steve Price freebsd_committer freebsd_triage 1999-12-29 07:55:36 UTC
State Changed
From-To: open->feedback

This depends on the broken jsdk port.  Putting this one on hold until 
it is fixed. 
Comment 3 Steve Price freebsd_committer freebsd_triage 1999-12-31 20:20:32 UTC
State Changed
From-To: feedback->closed

New port committed, thanks!