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/
Responsible Changed From-To: freebsd-ports-bugs->hq I'll handle this.
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 Original submitter asked for feedback
-----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 Küssen was erreicht? Küsse ganz leicht! Sag ihr einfach die Wahrheit, dass nämlich viele Männer Frauen vorziehen, die etwas dümmer 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 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.
State Changed From-To: open->closed New port added. Thanks for your contribution!