diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2005-09-28 04:44:17 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2005-09-28 04:44:17 +0800 |
commit | c6a00fd62fba83c1528346195843dbd4ea8dd017 (patch) | |
tree | ae76a3fa9effdbecb8cf34cab106b743cae80b8d /www/planet/files | |
parent | 0261a638d2a48bfa25520449d0182c7e64ebb8f1 (diff) | |
download | freebsd-ports-gnome-c6a00fd62fba83c1528346195843dbd4ea8dd017.tar.gz freebsd-ports-gnome-c6a00fd62fba83c1528346195843dbd4ea8dd017.tar.zst freebsd-ports-gnome-c6a00fd62fba83c1528346195843dbd4ea8dd017.zip |
Add planet - a flexible feed aggregator.
PR: 86613
Submitted by: Alan Snelson <Alan@Wave2.co.uk>
Diffstat (limited to 'www/planet/files')
-rw-r--r-- | www/planet/files/patch-htmltmpl.py | 27 | ||||
-rw-r--r-- | www/planet/files/pkg-message.in | 7 |
2 files changed, 34 insertions, 0 deletions
diff --git a/www/planet/files/patch-htmltmpl.py b/www/planet/files/patch-htmltmpl.py new file mode 100644 index 000000000000..748b6a59e4e4 --- /dev/null +++ b/www/planet/files/patch-htmltmpl.py @@ -0,0 +1,27 @@ +*** htmltmpl.py Mon Sep 26 19:14:38 2005 +--- htmltmpl.py Mon Sep 26 19:00:07 2005 +*************** +*** 267,277 **** + fd = file.fileno() + if LOCKTYPE == LOCKTYPE_FCNTL: + if lock == LOCK_SH: +! fcntl.fcntl(fd, fcntl.LOCK_SH) + elif lock == LOCK_EX: +! fcntl.fcntl(fd, fcntl.LOCK_EX) + elif lock == LOCK_UN: +! fcntl.fcntl(fd, fcntl.LOCK_UN) + else: + raise TemplateError, "BUG: bad lock in lock_file" + elif LOCKTYPE == LOCKTYPE_MSVCRT: +--- 267,277 ---- + fd = file.fileno() + if LOCKTYPE == LOCKTYPE_FCNTL: + if lock == LOCK_SH: +! fcntl.flock(fd, fcntl.LOCK_SH) + elif lock == LOCK_EX: +! fcntl.flock(fd, fcntl.LOCK_EX) + elif lock == LOCK_UN: +! fcntl.flock(fd, fcntl.LOCK_UN) + else: + raise TemplateError, "BUG: bad lock in lock_file" + elif LOCKTYPE == LOCKTYPE_MSVCRT: diff --git a/www/planet/files/pkg-message.in b/www/planet/files/pkg-message.in new file mode 100644 index 000000000000..0fdf54e8dabf --- /dev/null +++ b/www/planet/files/pkg-message.in @@ -0,0 +1,7 @@ + +Planet has been installed into %%DATADIR%% + +To get started, make a copy of the examples directory and configure to taste. + +*** Try to keep your configuration and output files away from the installation folder %%DATADIR%%, the INSTALL doc recommends ~/planet, but %%PREFIX%%/etc/planet is a good choice.*** + |