NetBSD Problem Report #32857

From pancake@phreaker.net  Thu Feb 16 22:28:47 2006
Return-Path: <pancake@phreaker.net>
Received: from porticoluna.org (acpl.adam.es [212.36.65.53])
	by narn.netbsd.org (Postfix) with ESMTP id 7AB2163B879
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 16 Feb 2006 22:28:46 +0000 (UTC)
Message-Id: <20060216222538.92CA3E572@porticoluna.org>
Date: Thu, 16 Feb 2006 23:25:38 +0100 (CET)
From: pancake@phreaker.net
Reply-To: pancake@phreaker.net
To: gnats-bugs@netbsd.org
Subject: Update rss2html to 0.8
X-Send-Pr-Version: 3.95

>Number:         32857
>Category:       pkg
>Synopsis:       rss2html is outdated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 16 22:30:00 +0000 2006
>Closed-Date:    Sun Feb 19 20:50:50 +0000 2006
>Last-Modified:  Sun Feb 19 20:50:50 +0000 2006
>Originator:     root
>Release:        Linux 2.6.15-bluewall
>Organization:

>Environment:


System: Linux bare 2.6.15bare #3 PREEMPT Sat Feb 11 21:21:26 CET 2006 i686 GNU/Linux
Architecture: i686
Machine: i686
>Description:

>How-To-Repeat:

>Fix:


Index: DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/converters/rss2html/DESCR,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DESCR
--- DESCR	16 Feb 2004 02:00:34 -0000	1.1.1.1
+++ DESCR	16 Feb 2006 22:25:50 -0000
@@ -1,4 +1,14 @@
-Rss2Html is a simple converter to see Rss/Rdf/Xml news databases into
-html on console mode, or embedded on a web page.
+rss2html is a simple converter from RSS/RDF/XML feeds (used for podcast,
+blogs, news pages, etc) into HTML or other formats useful to read news
+from commandline or automatized in cron.

-i.e:  $ rss2html http://slashdot.org/index.rss | lynx -stdin
+The HTML generation can be done by using user defined templates.
+
+You can also create planets joining some RSS and ordering them by date
+(automatically done with '-P' flag).
+
+Some examples:
+ $ rss2html -d http://someones.blog.org/feed.rss | lynx -stdin
+ $ rss2html http://podcasting/feed.xml | wget -c -F -i -
+ $ rss2html -P myplanet@http://my.url/ -r 150 -d -n 2 \
+            foo@http://foo/feed.xml bar@http://bar/feed.xml > planet.html
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/converters/rss2html/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	5 Feb 2006 23:08:29 -0000	1.10
+++ Makefile	16 Feb 2006 22:25:50 -0000
@@ -1,17 +1,17 @@
 # $NetBSD: Makefile,v 1.10 2006/02/05 23:08:29 joerg Exp $
 #

-DISTNAME=		rss2html-0.7.2
-PKGREVISION=		1
+DISTNAME=		rss2html-0.8
 CATEGORIES=		converters
-MASTER_SITES=		ftp://ftp.nopcode.org/prj/rss2html/
+MASTER_SITES=		http://cvs.nopcode.org/ftp/rss2html/ \
+				ftp://ftp.nopcode.org/prj/rss2html/

 MAINTAINER=		pancake@phreaker.net
-HOMEPAGE=		http://www.nopcode.org/?t=rss2html
+HOMEPAGE=		http://www.nopcode.org/blog/rss2html.html
 COMMENT=		RSS to HTML converter

 PKG_INSTALLATION_TYPES=	overwrite pkgviews
-
+GNU_CONFIGURE=	YES
 USE_TOOLS+=		gmake

 INSTALLATION_DIRS+=	bin
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/converters/rss2html/PLIST,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 PLIST
--- PLIST	16 Feb 2004 02:00:34 -0000	1.1.1.1
+++ PLIST	16 Feb 2006 22:25:50 -0000
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/16 02:00:34 minskim Exp $
+@comment $NetBSD$
 bin/rss2html
+man/man1/rss2html.1
 share/doc/rss2html/README
 share/doc/rss2html/rss2html.links
+share/doc/rss2html/rss2html.template
+share/doc/rss2html/usage.example
 @dirrm share/doc/rss2html
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/converters/rss2html/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo	29 Jul 2005 04:40:47 -0000	1.8
+++ distinfo	16 Feb 2006 22:25:50 -0000
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.8 2005/07/29 04:40:47 grant Exp $

-SHA1 (rss2html-0.7.2.tar.gz) = 5acce10e8a1bcc290f05572b50a8085128e796d5
-RMD160 (rss2html-0.7.2.tar.gz) = fe5a2343fcc613c65731580061eda621a70486b1
-Size (rss2html-0.7.2.tar.gz) = 6242 bytes
-SHA1 (patch-aa) = 54b4460fe9019064870d363ebc4e57eb06589eb3
+SHA1 (rss2html-0.8.tar.gz) = 4d463d8c1d832a069dfa2b0425dc22ef00e7e352
+RMD160 (rss2html-0.8.tar.gz) = 13014935c077a0c81479559888bac7eebcd8ba5c
+Size (rss2html-0.8.tar.gz) = 25584 bytes

>Release-Note:

>Audit-Trail:
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: PR/32857 CVS commit: pkgsrc/converters/rss2html
Date: Sun, 19 Feb 2006 20:49:11 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	recht
 Date:		Sun Feb 19 20:49:11 UTC 2006

 Modified Files:
 	pkgsrc/converters/rss2html: DESCR Makefile PLIST distinfo
 Removed Files:
 	pkgsrc/converters/rss2html/patches: patch-aa

 Log Message:
 update to rsshtml-0.8
 patch provided by pancake at phreaker dot net (maintainer)
 in PR 32857

 0.7.8 * 2006/02/14
 	- add -n -N and -r (limit number of posts and words per post)
 	- support foreach url name format: name@url
 	- add link_node number id foreach link (html + xml2doc)
 	- add support for RDF like dates.
 	- reclean the plain text output format
 	- use \r\n instead of just \n. (support for silly http servers).
 	- fix HTML output when no pubDate defined.
 	- fix support for RDF files.
 	- cleanup the txt output format.
 	- add substitution pattern and htmlize_string.
 	- use <author> foreach item.
 	- fix rss generation for planets. Change -P flag.
 	- minor fix rss2 generation.
 	- add author stuff for the templates
 	- fixes for the cdata strings
 	- add nopcode template
 	- add crontab planet script
 	- Add -P flag in cmdline
 	- Add support for planets (order posts by date).
 	- default html template reads rss2html.css
 	- add manpage.
 	- Initial support of templates
 	- initial enclosure url support (useful for podcast)
 	- add 'url' output format, for make pipes happy.
 	- fix parser.c again
 	- initial import of subst framework.
 	- add xml2doc output format
 	- initial use of the storage infrastructure.
 	- fix <![CDATA parser.
 	- finally remove the deprecated parser.
 	- fix pubDate output in MXML format.
 	- initial port to acr.
 	- add GPLv2 license and related stuff properly.
 	- initial import of cmptime.c
 	- rework on storage framework.
 	- fix html entities inside MXML output format.
 	- add doblog output information tip in README
 	- fix temporally file creation bug.
 	- handle description and content:encoded fields.
 	- add -n -N and -r (limit number of posts and words per post)
 	- support foreach url name format: name@url
 	- support for MXML format
 	- add some snippets for planet support in the future.
 	- implement the new XML parser.
 	- initial preparation for mxml format and date ordening. (not working yet)
 	- rename -d to -D and -x flag to -d
 	- add -L flag (local link translation)
 	- fix default prefix to /usr/local (stoned stuff)
 	- fix install stuff to use INSTALL_* stuff
 	- support for enclosure tag for podcasts
 	- podcast RSSs also working
 	- integrate Darek's patch that fix description field parsing (-x)
 	- order help flags


 To generate a diff of this commit:
 cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/converters/rss2html/DESCR \
     pkgsrc/converters/rss2html/PLIST
 cvs rdiff -r1.10 -r1.11 pkgsrc/converters/rss2html/Makefile
 cvs rdiff -r1.8 -r1.9 pkgsrc/converters/rss2html/distinfo
 cvs rdiff -r1.3 -r0 pkgsrc/converters/rss2html/patches/patch-aa

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: recht@netbsd.org
State-Changed-When: Sun, 19 Feb 2006 20:50:50 +0000
State-Changed-Why:
Patch commited. Thanks for the PR!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.