summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-news/nntprss/files/nntprss-sanitize.patch')
-rw-r--r--net-news/nntprss/files/nntprss-sanitize.patch141
1 files changed, 141 insertions, 0 deletions
diff --git a/net-news/nntprss/files/nntprss-sanitize.patch b/net-news/nntprss/files/nntprss-sanitize.patch
new file mode 100644
index 0000000..f5775dc
--- /dev/null
+++ b/net-news/nntprss/files/nntprss-sanitize.patch
@@ -0,0 +1,141 @@
+Index: build.xml
+===================================================================
+RCS file: /cvsroot/nntprss/nntprss/build.xml,v
+retrieving revision 1.7
+diff -r1.7 build.xml
+16d15
+< <property name="nntprss-start.jar" value="${basedir}/nntprss-start.jar"/>
+24c23,53
+< <fileset dir="${ext}\lib">
+---
+> <fileset dir="/opt/jetty/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/opt/jetty/extra/lib/">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/hsqldb/lib/">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/log4j/lib/">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/crimson-1/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/commons-httpclient/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/xmlrpc/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/opt/sun-j2ee-1.3.1/lib/">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/commons-dbcp/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/commons-pool/lib">
+> <include name="*.jar"/>
+> </fileset>
+> <fileset dir="/usr/share/jdbm-1/lib/">
+43d71
+< <delete file="${nntprss-start.jar}" quiet="true"/>
+62,69d89
+< <target name="nntprss-start.jar" depends="classes">
+< <jar jarfile="${nntprss-start.jar}" basedir="${bin}"
+< manifest="${etc}/MANIFEST.MF" >
+< <include name="org/methodize/nntprss/Startup.class" />
+< </jar>
+< </target>
+<
+< <!-- ==================================================================== -->
+73,74d92
+< <exclude name="org/methodize/nntprss/Startup.class" />
+< <include name="xml/**" />
+79c97
+< <target name="jars" depends="nntprss-start.jar,nntprss.jar"
+---
+> <target name="jars" depends="nntprss.jar"
+91,108d108
+< <zip destfile="${basedir}/../nntprss-${version}.zip">
+< <zipfileset dir="ext/lib" includes="*" prefix="nntprss/ext/lib" />
+< <zipfileset dir="src/xml" includes="*" prefix="nntprss/xml" />
+< <zipfileset dir="." prefix="nntprss">
+< <include name="CHANGELOG"/>
+< <include name="LICENSE.TXT"/>
+< <include name="log4j.properties"/>
+< <include name="nntprss.exe"/>
+< <include name="nntprss.jar"/>
+< <include name="nntprss-config.xml"/>
+< <include name="nntprss-start.jar"/>
+< <include name="README.TXT"/>
+< <include name="users.properties.sample"/>
+< <include name="WINDOWS-SERVICE.TXT"/>
+< <include name="nntprss.ico"/>
+< <include name="systray4j.dll"/>
+< </zipfileset>
+< </zip>
+111d110
+< <tarfileset dir="ext/lib" includes="*" prefix="nntprss/ext/lib" />
+119d117
+< <include name="nntprss-start.jar"/>
+122d119
+< <include name="WINDOWS-SERVICE.TXT"/>
+124d120
+< <include name="systray4j.dll"/>
+134,146d129
+< <zip destfile="${basedir}/../nntprss-src-${version}.zip">
+< <zipfileset dir="src" includes="**/*.java" prefix="nntprss/src"/>
+< <zipfileset dir="etc" includes="MANIFEST.MF" prefix="nntprss/etc" />
+< <zipfileset dir="src/xml" includes="*" prefix="nntprss/src/xml" />
+< <zipfileset dir="." prefix="nntprss">
+< <include name="build.xml"/>
+< <include name="build.properties"/>
+< <include name="CHANGELOG"/>
+< <include name="LICENSE.TXT"/>
+< <include name="README.TXT"/>
+< </zipfileset>
+< </zip>
+<
+Index: etc/MANIFEST.MF
+===================================================================
+RCS file: /cvsroot/nntprss/nntprss/etc/MANIFEST.MF,v
+retrieving revision 1.1.1.1
+diff -r1.1.1.1 MANIFEST.MF
+2c2
+< Main-Class: org.methodize.nntprss.Startup
+---
+> Main-Class: org.methodize.nntprss.Main
+5c5
+< Name: org.methodize.nntprss.Startup.class
+---
+> Name: org.methodize.nntprss.Main.class
+Index: src/org/methodize/nntprss/Main.java
+===================================================================
+RCS file: /cvsroot/nntprss/nntprss/src/org/methodize/nntprss/Main.java,v
+retrieving revision 1.11
+diff -r1.11 Main.java
+62d61
+< private WindowsSysTray windowsSysTray = null;
+75,78d73
+< if (windowsSysTray != null) {
+< windowsSysTray.shutdown();
+< }
+<
+120,126d114
+< if (System
+< .getProperty("os.name")
+< .toLowerCase()
+< .startsWith("windows")) {
+< windowsSysTray = new WindowsSysTray();
+< }
+<
+154,160d141
+< if (windowsSysTray != null) {
+< windowsSysTray.setAdminURL(
+< "http://127.0.0.1:" + adminServer.getPort() + "/");
+< windowsSysTray.setChannelManager(channelManager);
+< windowsSysTray.showStarted();
+< }
+<