diff options
author | 2006-01-14 12:56:25 +0000 | |
---|---|---|
committer | 2006-01-14 12:56:25 +0000 | |
commit | 047fe4ea730f64f370dbc40d1ae872936784b8f6 (patch) | |
tree | 07edaeaed03084ba047ca6f966f319675f6619fa /net-news | |
parent | More restructuring (diff) | |
download | overlay-047fe4ea730f64f370dbc40d1ae872936784b8f6.tar.gz overlay-047fe4ea730f64f370dbc40d1ae872936784b8f6.tar.bz2 overlay-047fe4ea730f64f370dbc40d1ae872936784b8f6.zip |
More restructuring
svn path=/; revision=630
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/nntprss/Manifest | 8 | ||||
-rw-r--r-- | net-news/nntprss/files/digest-nntprss-0.5.1_beta | 1 | ||||
-rw-r--r-- | net-news/nntprss/files/digest-nntprss-0.5.2_beta | 1 | ||||
-rw-r--r-- | net-news/nntprss/files/log4j.properties | 22 | ||||
-rwxr-xr-x | net-news/nntprss/files/nntprss | 33 | ||||
-rw-r--r-- | net-news/nntprss/files/nntprss-config.xml | 40 | ||||
-rwxr-xr-x | net-news/nntprss/files/nntprss-init | 15 | ||||
-rw-r--r-- | net-news/nntprss/files/nntprss-sanitize.patch | 141 | ||||
-rw-r--r-- | net-news/nntprss/nntprss-0.5.2_beta.ebuild | 109 |
9 files changed, 0 insertions, 370 deletions
diff --git a/net-news/nntprss/Manifest b/net-news/nntprss/Manifest deleted file mode 100644 index 5ee3923..0000000 --- a/net-news/nntprss/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -MD5 a095f4c5ac2a8ef005860a504024ddc1 nntprss-0.5.2_beta.ebuild 2544 -MD5 0182cbbacefedba39c66dc277a762ed3 files/nntprss-init 363 -MD5 af5b28e4c85592adbb1d94bb554fb175 files/nntprss 507 -MD5 d25e2bd80d0c064185cbf3bbbc60b932 files/digest-nntprss-0.5.1_beta 74 -MD5 c302376bca1c667dcfd730d13f884237 files/log4j.properties 846 -MD5 f2894b747dada8411d9946cf0ef902f7 files/nntprss-sanitize.patch 4982 -MD5 3afcf486cce66f80043ce3ac10e0f6b0 files/nntprss-config.xml 1484 -MD5 4cd5de6720ce60cc0dce8afb417e575a files/digest-nntprss-0.5.2_beta 74 diff --git a/net-news/nntprss/files/digest-nntprss-0.5.1_beta b/net-news/nntprss/files/digest-nntprss-0.5.1_beta deleted file mode 100644 index d42196d..0000000 --- a/net-news/nntprss/files/digest-nntprss-0.5.1_beta +++ /dev/null @@ -1 +0,0 @@ -MD5 2b899fb12ca5daa76252b61ccdb06699 nntprss-src-0.5-beta-1.tar.gz 120469 diff --git a/net-news/nntprss/files/digest-nntprss-0.5.2_beta b/net-news/nntprss/files/digest-nntprss-0.5.2_beta deleted file mode 100644 index a654e78..0000000 --- a/net-news/nntprss/files/digest-nntprss-0.5.2_beta +++ /dev/null @@ -1 +0,0 @@ -MD5 1eacbad2f73df643f37aeca807f12f24 nntprss-src-0.5-beta-2.tar.gz 119381 diff --git a/net-news/nntprss/files/log4j.properties b/net-news/nntprss/files/log4j.properties deleted file mode 100644 index b9401d8..0000000 --- a/net-news/nntprss/files/log4j.properties +++ /dev/null @@ -1,22 +0,0 @@ -# Set root logger level to DEBUG and its only appender to CONSOLE.
-log4j.rootLogger=DEBUG, CONSOLE, FILE
-
-# Only log INFO and higher for wire class
-log4j.logger.httpclient.wire=INFO
-
-log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
-log4j.appender.FILE=org.apache.log4j.RollingFileAppender
-
-# Both CONSOLE and FILE use PatternLayout.
-log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
-log4j.appender.CONSOLE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c{1} - %m%n
-
-log4j.appender.FILE.layout=org.apache.log4j.PatternLayout
-log4j.appender.FILE.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %-5p %c{1} - %m%n
-log4j.appender.FILE.File=/var/log/nntprss.log
-log4j.appender.FILE.Append=false
-log4j.appender.FILE.MaxFileSize=500KB
-log4j.appender.FILE.MaxBackupIndex=1
-log4j.appender.FILE.Threshold=INFO
-
-
diff --git a/net-news/nntprss/files/nntprss b/net-news/nntprss/files/nntprss deleted file mode 100755 index 3dda6d4..0000000 --- a/net-news/nntprss/files/nntprss +++ /dev/null @@ -1,33 +0,0 @@ -#!/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 diff --git a/net-news/nntprss/files/nntprss-config.xml b/net-news/nntprss/files/nntprss-config.xml deleted file mode 100644 index c013149..0000000 --- a/net-news/nntprss/files/nntprss-config.xml +++ /dev/null @@ -1,40 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?>
-
-<!-- nntp//rss bootstrap configuration -->
-<!-- http://www.methodize.org/nntprss -->
-
-<nntprss>
-
-<!-- MySQL -->
- <db connect='jdbc:mysql://127.0.0.1/nntprssdb?user=nntprss&password=w0rldn3ws&autoReconnect=true' driverClass='com.mysql.jdbc.Driver' daoClass='org.methodize.nntprss.feed.db.MySQLChannelDAO'/>
-
-<!-- Listener port for NNTP server -->
- <nntp port='9119'/>
-
-<!-- Listener port for web admin interface -->
- <admin port='7810'/>
-
-<!-- Poller configuration - number of threads -->
- <poller threads='5'/>
-
-<!-- Subscription listeners -->
-<!--
- <subscribe name='AmphetaDesk' port='8888' path='/index.html' param='add_url' />
- <subscribe name='Radio Userland' port='5335' path='/system/pages/subscriptions' param='url' />
- <subscribe name='Awasu' port='2604' path='/subscribe' param='url' />
- <subscribe name='BottomFeeder' port='8666' path='/btf' param='rss' />
- <subscribe name='Headline Viewer' port='8900' path='/add_provider' param='url' />
- <subscribe name='Wildgrape NewsDesk' port='8888' path='NewsDesk.html' param='add_url' />
--->
-
-<!-- Initial channel list -->
-<!-- These are the channels defined during a fresh installation of nntp//rss -->
-
- <channels>
-
- <channel name='org.slashdot' url='http://slashdot.org/index.rss' historical='true'/>
- <channel name='org.methodize' url='http://rss.methodize.org/nntprss.xml' historical='true'/>
-
- </channels>
-
-</nntprss>
diff --git a/net-news/nntprss/files/nntprss-init b/net-news/nntprss/files/nntprss-init deleted file mode 100755 index 2d1d90b..0000000 --- a/net-news/nntprss/files/nntprss-init +++ /dev/null @@ -1,15 +0,0 @@ -#!/sbin/runscript -# Copyright 2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 - -start() { - ebegin "Starting nntp//rss" - start-stop-daemon --start --background --quiet --exec /usr/sbin/nntprss - eend $? -} - -stop() { - ebegin "Stopping nntp//rss" - start-stop-daemon --stop --quiet --exec /usr/sbin/nntprss - eend $? -} diff --git a/net-news/nntprss/files/nntprss-sanitize.patch b/net-news/nntprss/files/nntprss-sanitize.patch deleted file mode 100644 index f5775dc..0000000 --- a/net-news/nntprss/files/nntprss-sanitize.patch +++ /dev/null @@ -1,141 +0,0 @@ -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(); -< } -< diff --git a/net-news/nntprss/nntprss-0.5.2_beta.ebuild b/net-news/nntprss/nntprss-0.5.2_beta.ebuild deleted file mode 100644 index 7ff1f70..0000000 --- a/net-news/nntprss/nntprss-0.5.2_beta.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils java-pkg - -MY_P="${PN}-src-${PVR:0:3}-${PVR/*_/}-${PVR:4:1}" - -DESCRIPTION="nntp//rss is a Java-based bridge between RSS feeds and NNTP clients, enabling you to read your favorite RSS syndicated content within your existing NNTP newsreader" -HOMEPAGE="http://www.methodize.org/nntprss/" -SRC_URI="http://www.gunnarwrobel.de/downloads/${MY_P}.tar.gz" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86" -IUSE="" - -RDEPEND=">=virtual/jre-1.4" - -DEPEND=" -www-servers/jetty -dev-db/hsqldb ->=dev-java/jdbm-1.0 -dev-java/log4j -dev-java/crimson -dev-java/xmlrpc -dev-java/ant-core -dev-java/commons-httpclient -dev-java/commons-dbcp -<=dev-java/jdbc-mysql-3.0.17 -dev-java/sun-j2ee ->=virtual/jdk-1.4 -" - -S="${WORKDIR}/${PN}" - -src_unpack() { - - unpack ${A} - cd ${S} - - rm LICENSE.TXT - cd src/org/methodize/nntprss/ - ## Windows Systray? Be gone... - rm Startup.java WindowsSysTray.java - ## No derby in Gentoo yet. Have to stick to MySQL. - rm feed/db/DerbyChannelDAO.java - cd ../../../../ - - ## Fixes for removed systray and gentoo - ## java package structure - epatch ${FILESDIR}/nntprss-sanitize.patch - -} - -src_compile() { - local antflags="all" - ant ${antflags} || die "Compilation failed!" -} - -src_install() { - - dodoc README.TXT CHANGELOG - rm README.TXT CHANGELOG - - java-pkg_dojar ${S}/nntprss.jar - - XMLDIR=${shareroot}/xml - ETCDIR=/etc/${PN} - INIDIR=/etc/init.d - - dodir ${XMLDIR} - insinto ${XMLDIR} - doins ${S}/src/xml/publish-config.xml - - cd ${FILESDIR} - - dodir ${ETCDIR} - insinto ${ETCDIR} - doins nntprss-config.xml - doins log4j.properties - - insinto ${INIDIR} - newins nntprss-init nntprss - - dobin nntprss - -} - -pkg_postinst() { - einfo "You need to create a mysql database for your" - einfo "nntprss installation and correct the settings" - einfo "in ${ETCDIR}/nntprss-config.xml" - einfo "" - einfo "> mysql -u root -p -e \"CREATE DATABASE nntprss;" - einfo " GRANT ALL PRIVILEGES ON nntprss.* TO 'nntprss'@'localhost' " - einfo " IDENTIFIED BY 'w0rldn3ws';" - einfo " FLUSH PRIVILEGES;\"" - einfo "" - einfo "Then you can start nntprss using the init" - einfo "script. The application can be controlled" - einfo "by a web frontend that is configured to " - einfo "listen on port 7810." - einfo "" - einfo "The default port for the news server has been" - einfo "set to 9119. You can change it to 119 (the" - einfo "default news port) in case you have no other" - einfo "news server running." -} - |