Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 19:02:33 GMT
From:      Alan Snelson <Alan@Wave2.co.uk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/86613: New port: www/planet Planet is a flexible feed aggregator - and more!
Message-ID:  <200509261902.j8QJ2Xre002901@www.freebsd.org>
Resent-Message-ID: <200509261910.j8QJAD0x097485@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86613
>Category:       ports
>Synopsis:       New port: www/planet Planet is a flexible feed aggregator - and more!
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 19:10:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alan Snelson
>Release:        6.0 Beta
>Organization:
Wave2 Limited
>Environment:
FreeBSD bserver1.wave2.co.uk 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Wed May 18 19:23:58 BST 2005     root@bserver1.wave2.co.uk:/usr/obj/usr/src/sys/bserver1  i386
>Description:
New Port www/planet
>How-To-Repeat:
      
>Fix:
# 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:
#
#       /usr/ports/www/planet
#       /usr/ports/www/planet/pkg-plist
#       /usr/ports/www/planet/pkg-descr
#       /usr/ports/www/planet/distinfo
#       /usr/ports/www/planet/Makefile
#       /usr/ports/www/planet/pkg-message
#       /usr/ports/www/planet/files
#       /usr/ports/www/planet/files/patch-htmltmpl.py
#
echo c - /usr/ports/www/planet
mkdir -p /usr/ports/www/planet > /dev/null 2>&1
echo x - /usr/ports/www/planet/pkg-plist
sed 's/^X//' >/usr/ports/www/planet/pkg-plist << 'END-of-/usr/ports/www/planet/pkg-plist'
Xshare/planet/AUTHORS
Xshare/planet/ChangeLog
Xshare/planet/INSTALL
Xshare/planet/Makefile
Xshare/planet/README
Xshare/planet/THANKS
Xshare/planet/TODO
Xshare/planet/compat_logging/__init__.py
Xshare/planet/compat_logging/config.py
Xshare/planet/compat_logging/handlers.py
Xshare/planet/examples/config.ini
Xshare/planet/examples/foafroll.xml.tmpl
Xshare/planet/examples/index.html.tmpl
Xshare/planet/examples/opml.xml.tmpl
Xshare/planet/examples/rss10.xml.tmpl
Xshare/planet/examples/rss20.xml.tmpl
Xshare/planet/fancy-examples/config.ini
Xshare/planet/fancy-examples/index.html.tmpl
Xshare/planet/feedparser.py
Xshare/planet/htmltmpl.py
Xshare/planet/htmltmpl.py.orig
Xshare/planet/output/images/edd.png
Xshare/planet/output/images/evolution.png
Xshare/planet/output/images/jdub.png
Xshare/planet/output/images/keybuk.png
Xshare/planet/output/images/logo.png
Xshare/planet/output/images/planet.png
Xshare/planet/output/images/thom.png
Xshare/planet/output/planet.css
Xshare/planet/planet.py
Xshare/planet/planetlib.py
Xshare/planet/timeoutsocket.py
X@dirrm share/planet/compat_logging
X@dirrm share/planet/examples
X@dirrm share/planet/fancy-examples
X@dirrm share/planet/output/images
X@dirrm share/planet/output
X@dirrm share/planet
END-of-/usr/ports/www/planet/pkg-plist
echo x - /usr/ports/www/planet/pkg-descr
sed 's/^X//' >/usr/ports/www/planet/pkg-descr << 'END-of-/usr/ports/www/planet/pkg-descr'
XPlanet is a flexible feed aggregator, this means that it downloads feeds
Xand aggregates their content together into a single combined feed with
Xthe latest news first.
X
XIt uses Mark Pilgrim's Ultra-liberal feed parser so can read from RDF, RSS
Xand Atom feeds and Tomas Styblo's template library to output static files
Xin unlimited formats based on a series of templates.
X
XPlanet was written for the Planet Debian and Planet GNOME websites by
XScott James Remnant <scott@netsplit.com> and
XJeff Waugh <jdub@perkypants.org>.  It was originally based on 'spycyroll'.
X
XWWW: http://www.planetplanet.org
END-of-/usr/ports/www/planet/pkg-descr
echo x - /usr/ports/www/planet/distinfo
sed 's/^X//' >/usr/ports/www/planet/distinfo << 'END-of-/usr/ports/www/planet/distinfo'
XMD5 (planet-0.0p22.tar.gz) = e755e5fd0f98bdec7e88890612e01f24
XSIZE (planet-0.0p22.tar.gz) = 123705
END-of-/usr/ports/www/planet/distinfo
echo x - /usr/ports/www/planet/Makefile
sed 's/^X//' >/usr/ports/www/planet/Makefile << 'END-of-/usr/ports/www/planet/Makefile'
X# New ports collection makefile for:   planet
X# Date created:                                26 September 2005
X# Whom:                                        Alan Snelson <alan@wave2.co.uk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      planet
XPORTVERSION=   0.0p22
XCATEGORIES=    www
XMASTER_SITES=  http://www.wave2.co.uk/freebsd/planet/
X
XMAINTAINER=    alan@wave2.co.uk
XCOMMENT=       Planet is a flexible feed aggregator - and more!
X
XRUN_DEPENDS=   ${PYTHON_SITELIBDIR}/mx/Tidy/Tidy.py:${PORTSDIR}/devel/py-mx-experimental
X
XNO_BUILD=       yes
X
XUSE_PYTHON=     yes
X
Xdo-install:
X       ${MKDIR} ${PREFIX}/share/planet
X       ${CP} -R ${WRKSRC}/ ${PREFIX}/share/planet
X
Xpost-install:
X       @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-/usr/ports/www/planet/Makefile
echo x - /usr/ports/www/planet/pkg-message
sed 's/^X//' >/usr/ports/www/planet/pkg-message << 'END-of-/usr/ports/www/planet/pkg-message'
X
XPlanet has been installed into /usr/local/share/planet
X
XTo get started, make a copy of the examples directory and configure to taste.
X
X*** Try to keep your configuration and output files away from the installation folder /usr/local/share/planet, the INSTALL doc recommends ~/planet, but /usr/local/etc/planet is a good choice.*** 
X
END-of-/usr/ports/www/planet/pkg-message
echo c - /usr/ports/www/planet/files
mkdir -p /usr/ports/www/planet/files > /dev/null 2>&1
echo x - /usr/ports/www/planet/files/patch-htmltmpl.py
sed 's/^X//' >/usr/ports/www/planet/files/patch-htmltmpl.py << 'END-of-/usr/ports/www/planet/files/patch-htmltmpl.py'
X*** htmltmpl.py Mon Sep 26 19:14:38 2005
X--- htmltmpl.py Mon Sep 26 19:00:07 2005
X***************
X*** 267,277 ****
X          fd = file.fileno()
X          if LOCKTYPE == LOCKTYPE_FCNTL:
X              if lock == LOCK_SH:
X!                 fcntl.fcntl(fd, fcntl.LOCK_SH)
X              elif lock == LOCK_EX:
X!                 fcntl.fcntl(fd, fcntl.LOCK_EX)
X              elif lock == LOCK_UN:
X!                 fcntl.fcntl(fd, fcntl.LOCK_UN)
X              else:
X                  raise TemplateError, "BUG: bad lock in lock_file"
X          elif LOCKTYPE == LOCKTYPE_MSVCRT:
X--- 267,277 ----
X          fd = file.fileno()
X          if LOCKTYPE == LOCKTYPE_FCNTL:
X              if lock == LOCK_SH:
X!                 fcntl.flock(fd, fcntl.LOCK_SH)
X              elif lock == LOCK_EX:
X!                 fcntl.flock(fd, fcntl.LOCK_EX)
X              elif lock == LOCK_UN:
X!                 fcntl.flock(fd, fcntl.LOCK_UN)
X              else:
X                  raise TemplateError, "BUG: bad lock in lock_file"
X          elif LOCKTYPE == LOCKTYPE_MSVCRT:
END-of-/usr/ports/www/planet/files/patch-htmltmpl.py
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509261902.j8QJ2Xre002901>