From 9e23314c6c80e8834fd1a71e60a3ce238844b0e3 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Mon, 30 Apr 2007 21:00:47 +0000 Subject: Added nntprss to the stable overlay. Still using this tool successfully. svn path=/stable/; revision=804 --- net-news/nntprss/files/nntprss | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 net-news/nntprss/files/nntprss (limited to 'net-news/nntprss/files/nntprss') diff --git a/net-news/nntprss/files/nntprss b/net-news/nntprss/files/nntprss new file mode 100755 index 0000000..3dda6d4 --- /dev/null +++ b/net-news/nntprss/files/nntprss @@ -0,0 +1,33 @@ +#!/bin/bash + +ETC="/etc/nntprss/" +XML="/usr/share/nntprss/" + +CLASSES="$ETC:$XML" + +LIBS=" +/usr/share/nntprss +/usr/share/log4j +/usr/share/commons-dbcp +/usr/share/commons-pool +/usr/share/commons-logging +/usr/share/commons-httpclient +/usr/share/commons-collections +/usr/share/jdbc-mysql +/usr/share/hsqldb +/usr/share/jdbm-1 +/opt/jetty +/opt/sun-j2ee-1.3.1 +" + +for lib in ${LIBS} + do + + for jar in ${lib}/lib/*.jar + do + CLASSES="${CLASSES}:${jar}" + done + +done + +java -cp "$CLASSES" org.methodize.nntprss.Main -- cgit v1.2.3-65-gdbad