From nobody@FreeBSD.org  Sat Aug  6 13:56:08 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 007CB16A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2005 13:56:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BBA0043D45
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  6 Aug 2005 13:56:07 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j76Du6UE008170
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 6 Aug 2005 13:56:06 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j76Du6iV008169;
	Sat, 6 Aug 2005 13:56:06 GMT
	(envelope-from nobody)
Message-Id: <200508061356.j76Du6iV008169@www.freebsd.org>
Date: Sat, 6 Aug 2005 13:56:06 GMT
From: Gerrit Beine <tux@pinguru.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: java/javasvn
X-Send-Pr-Version: www-2.3

>Number:         84613
>Category:       ports
>Synopsis:       New port: java/javasvn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    hq
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 06 14:00:33 GMT 2005
>Closed-Date:    Wed Aug 31 17:16:01 GMT 2005
>Last-Modified:  Wed Aug 31 17:16:01 GMT 2005
>Originator:     Gerrit Beine
>Release:        FreeBSD 5.4-RELEASE-p1
>Organization:
pitcom GmbH
>Environment:
FreeBSD asus 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #0: Sun May 15 16:37:58 CEST 2005     root@asus:/usr/src/sys/i386/compile/ASUS  i386

>Description:
JavaSVN is a pure Java Subversion client library.
You would like to use JavaSVN when you need to access or modify
Subversion repository from your Java application,
be it a standalone program, plugin or web application.
Being a pure Java program, JavaSVN doesn't need any additional configuration
or native binaries to work on any OS that runs Java.

JavaSVN Features:

* No external binaries or libraries are needed.
* JavaSVN supports http, https, svn and svn+ssh connection protocols.
* Low level API allows effective direct Subversion repository access.
* Compatible with applications that already use native javahl bindings.

WWW: http://tmate.org/svn/
>How-To-Repeat:
      
>Fix:
# 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:
#
#	javasvn
#	javasvn/Makefile
#	javasvn/distinfo
#	javasvn/pkg-descr
#	javasvn/files
#	javasvn/files/javasvn.in
#
echo c - javasvn
mkdir -p javasvn > /dev/null 2>&1
echo x - javasvn/Makefile
sed 's/^X//' >javasvn/Makefile << 'END-of-javasvn/Makefile'
X# New ports collection makefile for:	JavaSVN
X# Date created:				6 Aug 2005
X# Whom:					tux@pinguru.net
X#
X# $FreeBSD$
X#
X
XPORTNAME=	javasvn
XPORTVERSION=	0.9.1
XCATEGORIES=	java devel
XMASTER_SITES=	http://tmate.org/svn/
XDISTNAME=	org.tmatesoft.svn_${PORTVERSION}.standalone
X
XMAINTAINER=	tux@pinguru.net
XCOMMENT=	The only pure Java Subversion client library in the world
X
XNO_BUILD=	yes
XUSE_ZIP=	yes
XUSE_REINPLACE=	yes
XUSE_JAVA=	yes
XJAVA_VERSION=	1.3+
XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XDATA_FILES=	COPYING JAVAHL-LICENSE JSCH-LICENSE SEQUENCE-LICENSE \
X		changelog.txt logging.properties.disabled javasvnsrc.zip \
X		javasvn-cli.jar javasvn-javahl.jar javasvn.jar jsch.jar
X
XPLIST_FILES=	bin/javasvn
X
XSUB_FILES=	javasvn
XSUB_LIST=	JAVA_HOME="${JAVA_HOME}" JAVASVN_HOME="${DATADIR}"
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=	*
X.endif
X
Xdo-install:
X	@${MKDIR} ${DATADIR}
X.for file in ${DATA_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
X.endfor
X	@${INSTALL_SCRIPT} ${WRKDIR}/javasvn ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@cd ${WRKSRC}/doc/javadoc && \
X		${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
X	@cd ${WRKSRC}/doc/javadoc && \
X		${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
X.endif
X
Xpost-install:
X	@${FIND} ${DATADIR} -not -type d | \
X		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
X	@${FIND} ${DATADIR} -type d | ${SORT} -r | \
X		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
X
X.include <bsd.port.mk>
END-of-javasvn/Makefile
echo x - javasvn/distinfo
sed 's/^X//' >javasvn/distinfo << 'END-of-javasvn/distinfo'
XMD5 (org.tmatesoft.svn_0.9.1.standalone.zip) = fbb1c8cda988bfbcfdbf0002e0a2de12
XSIZE (org.tmatesoft.svn_0.9.1.standalone.zip) = 1709183
END-of-javasvn/distinfo
echo x - javasvn/pkg-descr
sed 's/^X//' >javasvn/pkg-descr << 'END-of-javasvn/pkg-descr'
XJavaSVN is a pure Java Subversion client library.
XYou would like to use JavaSVN when you need to access or modify
XSubversion repository from your Java application,
Xbe it a standalone program, plugin or web application.
XBeing a pure Java program, JavaSVN doesn't need any additional configuration
Xor native binaries to work on any OS that runs Java.
X
XJavaSVN Features:
X
X* No external binaries or libraries are needed.
X* JavaSVN supports http, https, svn and svn+ssh connection protocols.
X* Low level API allows effective direct Subversion repository access.
X* Compatible with applications that already use native javahl bindings.
X
XWWW: http://tmate.org/svn/
END-of-javasvn/pkg-descr
echo c - javasvn/files
mkdir -p javasvn/files > /dev/null 2>&1
echo x - javasvn/files/javasvn.in
sed 's/^X//' >javasvn/files/javasvn.in << 'END-of-javasvn/files/javasvn.in'
X#!/bin/sh
X
XJAVA_HOME=${JAVA_HOME:-"%%JAVA_HOME%%"}
XJAVASVN_HOME=${JAVASVN_HOME:-"%%JAVASVN_HOME%%"}
X
XJAVASVN_CP=$JAVASVN_HOME/javasvn.jar:$JAVASVN_HOME/javasvn-cli.jar:$JAVASVN_HOME/jsch.jar
X
Xif [ ! -d $JAVASVN_LOGDIR ]; then
X	mkdir $JAVASVN_LOGDIR
Xfi
X
XJAVASVN_VM_OPTIONS=-Djava.util.logging.config.file=$JAVASVN_HOME/logging.properties
XJAVASVN_MAINCLASS=org.tmatesoft.svn.cli.SVN
X
X$JAVA_HOME/bin/java $JAVASVN_VM_OPTIONS -cp $JAVASVN_CP $JAVASVN_MAINCLASS "$@"
END-of-javasvn/files/javasvn.in
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->hq 
Responsible-Changed-By: hq 
Responsible-Changed-When: Tue Aug 9 14:18:44 GMT 2005 
Responsible-Changed-Why:  
I'll handle this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84613 

From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To: bug-followup@FreeBSD.org, tux@pinguru.net
Cc:  
Subject: Re: ports/84613: New port: java/javasvn
Date: Tue, 9 Aug 2005 17:58:27 +0200

 Hi Gerrit,
 
 Here is a new verison with some improvements. Could you please review
 it? The changes are the following:
 
 - Only use PLIST_FILES to specify packing list rather than FIND >>
   ${TMPPLIST}
 - Switch the main category to 'devel', just as the original subversion
   port ('java' category is reserved for Java core applications and
   libs).
 - Rename the launcher script (add a .sh suffix as it's a shell script)
 - Allow the launcher to use javavmwrapper, thus not encoding any
   JAVA_HOME value.
 - Allow the user to specify his own JVM parameters, through JAVASVN_OPTS
 - Justify a bit the text in pkg-descr
 - Remove prefixing '@' in front of Makefile command lines: either the
   port displays status messages regarding what it is performing, or else
   the commands should be displayed
 
 There is still some problem with the launcher script: when launching
 javasvn with no JAVASVN_LOGDIR defined, the client echoes some warning.
 I don't know if this is intended but the launcher from your original
 submitted version had the same problem...
 
 Herve
 
 
 # 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:
 #
 #	javasvn
 #	javasvn/Makefile
 #	javasvn/distinfo
 #	javasvn/pkg-descr
 #	javasvn/files
 #	javasvn/files/javasvn.sh.in
 #
 echo c - javasvn
 mkdir -p javasvn > /dev/null 2>&1
 echo x - javasvn/Makefile
 sed 's/^X//' >javasvn/Makefile << 'END-of-javasvn/Makefile'
 X# New ports collection makefile for:	JavaSVN
 X# Date created:				6 Aug 2005
 X# Whom:					tux@pinguru.net
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	javasvn
 XPORTVERSION=	0.9.1
 XCATEGORIES=	devel java
 XMASTER_SITES=	http://tmate.org/svn/
 XDISTNAME=	org.tmatesoft.svn_${PORTVERSION}.standalone
 X
 XMAINTAINER=	tux@pinguru.net
 XCOMMENT=	The only pure Java Subversion client library in the world
 X
 XRUN_DEPENDS=	java:${PORTSDIR}/java/javavmwrapper
 X
 XNO_BUILD=	yes
 XUSE_ZIP=	yes
 XUSE_REINPLACE=	yes
 XUSE_JAVA=	yes
 XJAVA_VERSION=	1.3+
 XDATADIR=	${JAVASHAREDIR}/${PORTNAME}
 XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 X
 XDATA_FILES=	COPYING JAVAHL-LICENSE JSCH-LICENSE SEQUENCE-LICENSE \
 X		changelog.txt logging.properties.disabled javasvnsrc.zip \
 X		javasvn-cli.jar javasvn-javahl.jar javasvn.jar jsch.jar
 X
 XPLIST_FILES=	bin/javasvn ${DATA_FILES:S,^,%%DATADIR%%/,}
 XPLIST_DIRS=	%%DATADIR%%
 X
 XSUB_FILES=	javasvn.sh
 X
 X.if !defined(NOPORTDOCS)
 XPORTDOCS=	*
 X.endif
 X
 Xdo-install:
 X	${MKDIR} ${DATADIR}
 X.for file in ${DATA_FILES}
 X	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
 X.endfor
 X	${INSTALL_SCRIPT} ${WRKDIR}/javasvn.sh ${PREFIX}/bin/javasvn
 X.if !defined(NOPORTDOCS)
 X	cd ${WRKSRC}/doc/javadoc && \
 X		${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
 X	cd ${WRKSRC}/doc/javadoc && \
 X		${FIND} . -not -type d -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
 X.endif
 X
 X.include <bsd.port.mk>
 END-of-javasvn/Makefile
 echo x - javasvn/distinfo
 sed 's/^X//' >javasvn/distinfo << 'END-of-javasvn/distinfo'
 XMD5 (org.tmatesoft.svn_0.9.1.standalone.zip) = fbb1c8cda988bfbcfdbf0002e0a2de12
 XSIZE (org.tmatesoft.svn_0.9.1.standalone.zip) = 1709183
 END-of-javasvn/distinfo
 echo x - javasvn/pkg-descr
 sed 's/^X//' >javasvn/pkg-descr << 'END-of-javasvn/pkg-descr'
 XJavaSVN is a pure Java Subversion client library.
 X
 XYou would like to use JavaSVN when you need to access or modify Subversion
 Xrepository from your Java application, be it a standalone program, plugin or
 Xweb application.  Being a pure Java program, JavaSVN doesn't need any
 Xadditional configuration or native binaries to work on any OS that runs Java.
 X
 XJavaSVN Features:
 X
 X* No external binaries or libraries are needed.
 X* JavaSVN supports http, https, svn and svn+ssh connection protocols.
 X* Low level API allows effective direct Subversion repository access.
 X* Compatible with applications that already use native javahl bindings.
 X
 XWWW: http://tmate.org/svn/
 END-of-javasvn/pkg-descr
 echo c - javasvn/files
 mkdir -p javasvn/files > /dev/null 2>&1
 echo x - javasvn/files/javasvn.sh.in
 sed 's/^X//' >javasvn/files/javasvn.sh.in << 'END-of-javasvn/files/javasvn.sh.in'
 X#!/bin/sh
 X#
 X# $FreeBSD$
 X
 XJAVASVN_HOME="${JAVASVN_HOME:-"%%DATADIR%%"}"
 XJAVASVN_CP="${JAVASVN_HOME}/javasvn.jar:${JAVASVN_HOME}/javasvn-cli.jar:${JAVASVN_HOME}/jsch.jar"
 X
 Xif [ ! -d "${JAVASVN_LOGDIR}" ]; then
 X	mkdir "${JAVASVN_LOGDIR}"
 Xfi
 X
 XJAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" \
 X	${JAVASVN_OPTS} \
 X	-Djava.util.logging.config.file="${JAVASVN_HOME}/logging.properties" \
 X	-cp "${JAVASVN_CP}" \
 X	org.tmatesoft.svn.cli.SVN "$@"
 END-of-javasvn/files/javasvn.sh.in
 exit
 
State-Changed-From-To: open->feedback 
State-Changed-By: hq 
State-Changed-When: Tue Aug 9 16:10:48 GMT 2005 
State-Changed-Why:  
Original submitter asked for feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84613 

From: Gerrit Beine <tux@pinguru.net>
To: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/84613: New port: java/javasvn
Date: Tue, 09 Aug 2005 19:03:14 +0200

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Herve Quiroz wrote:
 > Hi Gerrit,
 > 
 Heyho Herve,
 
 > Here is a new verison with some improvements. Could you please review
 > it? The changes are the following:
 >
 > ...
 > 
 > There is still some problem with the launcher script: when launching
 > javasvn with no JAVASVN_LOGDIR defined, the client echoes some warning.
 > I don't know if this is intended but the launcher from your original
 > submitted version had the same problem...
 > 
 thank you for your improvements! :)
 
 Maybe, there should be an default JAVASVN_LOGDIR like this:
 
 JAVASVN_LOGDIR="${JAVASVN_LOGDIR:-"${HOME}/.javasvn"}"
 
 The logging.properties use this directory as the default one,
 I think.
 
 So long...
 
 Gerrit
 - --
 Willst Du wissen, wie man beim Kssen was erreicht?
 Ksse ganz leicht!
 
 Sag ihr einfach die Wahrheit,
 dass nmlich viele Mnner Frauen vorziehen,
 die etwas dmmer sind als sie selbst.
 
 mail tux@pinguru.net
 icq  123851585
 web  http://arme-und-beine.de
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFC+OHS1jolmaUcnKARAqf5AJ9vJ0Gq5UcgmGGWq2rm+Ny4vEgqvACfa+4W
 TGsT7KFykPaB7QgorMIEoc0=
 =c3W9
 -----END PGP SIGNATURE-----
State-Changed-From-To: feedback->open 
State-Changed-By: hq 
State-Changed-When: Wed Aug 17 13:32:02 GMT 2005 
State-Changed-Why:  
Feedback received. 

I'll take your advice into account and will update the port accordingly. We 
just need to wait the ports freeze to end before I add the port to the tree. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=84613 
State-Changed-From-To: open->closed 
State-Changed-By: hq 
State-Changed-When: Wed Aug 31 17:15:40 GMT 2005 
State-Changed-Why:  
New port added. 

Thanks for your contribution! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84613 
>Unformatted:
