pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ikiwiki Update to 2.66. From the changelog:
details: https://anonhg.NetBSD.org/pkgsrc/rev/47f4889cb6fd
branches: trunk
changeset: 547995:47f4889cb6fd
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Mon Oct 06 15:34:00 2008 +0000
description:
Update to 2.66. From the changelog:
* recentchanges: Fix redirects to non-page files.
* aggregate: Avoid uninitialized value warnings for pages with no recorded
ctime.
* attachment: Add admin() pagespec to test if the uploading user is a wiki
admin.
* git: Fix handling of utf-8 filenames in recentchanges.
* tag: Make edit link for new tags ensure that the tags are created
inside tagbase, when it's set.
* template: Make edit link for new templates ensure the page is located
under toplevel templates directory.
* htmlscrubber: Add a config setting that can be used to disable the
scrubber acting on a set of pages.
* Expand usage message and add --help. Closes: #[500344]
* Beautify urls used in various places. (smcv)
* Export pagetitle, titlepage, linkpage.
* htmltidy: Avoid returning undef if tidy fails. Also avoid returning the
untidied content if tidy crashes. In either case, it seems best to tidy
the content to nothing.
* htmltidy: Avoid spewing tidy errors to stderr.
* Reorganize index file, add a format version field. Upgrades to the new
index format should be transparent.
* Add %wikistate, which is like %pagestate except not specific to a given
page, and is preserved across rebuilds.
* editpage: Be more aggressive (and less buggy) about cleaning up
temporary files rendered during page preview.
* Add an indexpages option, which causes foo/index.mdwn to be the source
for page foo when foo.mdwn doesn't exist. Also, when it's enabled,
creating a new page will save it to foo/index.mdwn by default.
Closes: #[474611]
(Sponsored by The TOVA Company.)
* httpauth: Document that ikiwiki.cgi has to be in a directory subject to
authentication. Closes: #[500524]
* inline: Fix handling of rootpage that doesn't exist.
* attachment: Support adding attachments to pages even as they are being
created.
* remove, rename: Allow acting on attachments as a page is being created.
* Updated French translation. Closes: #[500929]
* progress: Display an error if the progress cannot be parsed, and allow
the percent parameter to only optionally end with "%".
* Fix reversion in use of ikiwiki -verbose -setup with a setup file that
enables syslog. Setup output is once again output to stdout in this
case.
* edittemplate: Default new page file type to the same type as the template.
(willu)
* edittemplate: Add "silent" parameter. (Willu)
* edittemplate: Link to template, to allow creating it. (Willu)
* editpage: Add a missing check that the page name contains only legal
characters, in addition to the existing check for pruned filenames.
* Print a debug message if a page has multiple source files.
* Add keepextension parameter to htmlize hook. (Willu)
* rename, remove: Don't rely on a form parameter to tell whether the page
should be treated as an attachment.
* rename: Add support for moving SubPages of a page when renaming it.
(Sponsored by The TOVA Company.)
* rename: Hide type field from rename form when renaming attachments.
diffstat:
www/ikiwiki/Makefile | 4 +-
www/ikiwiki/distinfo | 10 +++-----
www/ikiwiki/patches/patch-ab | 13 -----------
www/ikiwiki/patches/patch-ac | 51 --------------------------------------------
4 files changed, 6 insertions(+), 72 deletions(-)
diffs (101 lines):
diff -r dc462787822b -r 47f4889cb6fd www/ikiwiki/Makefile
--- a/www/ikiwiki/Makefile Mon Oct 06 15:20:26 2008 +0000
+++ b/www/ikiwiki/Makefile Mon Oct 06 15:34:00 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2008/09/22 15:09:05 schmonz Exp $
+# $NetBSD: Makefile,v 1.21 2008/10/06 15:34:00 schmonz Exp $
#
-DISTNAME= ikiwiki_2.64
+DISTNAME= ikiwiki_2.66
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= www textproc
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/}
diff -r dc462787822b -r 47f4889cb6fd www/ikiwiki/distinfo
--- a/www/ikiwiki/distinfo Mon Oct 06 15:20:26 2008 +0000
+++ b/www/ikiwiki/distinfo Mon Oct 06 15:34:00 2008 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.11 2008/09/22 15:09:05 schmonz Exp $
+$NetBSD: distinfo,v 1.12 2008/10/06 15:34:00 schmonz Exp $
-SHA1 (ikiwiki_2.64.tar.gz) = aed64906830cbccc42f67596f88c602a18c59e6b
-RMD160 (ikiwiki_2.64.tar.gz) = 14e152ccca739a948cda9c3400c362c5cbe98340
-Size (ikiwiki_2.64.tar.gz) = 975180 bytes
+SHA1 (ikiwiki_2.66.tar.gz) = 80516c230712c2ad004368f7a7b3568a65f6c7fb
+RMD160 (ikiwiki_2.66.tar.gz) = e8217d7ede61819fda491eb7accaede168215c89
+Size (ikiwiki_2.66.tar.gz) = 1008320 bytes
SHA1 (patch-aa) = 3bc1bca3c6ef5e986f60e40ce2b61afe0142d7da
-SHA1 (patch-ab) = e664ddb7eb01a9fe05b223860763758fd5812ab7
-SHA1 (patch-ac) = a8e9c285d896a682763dd5f8b8769bdc92f6db1a
diff -r dc462787822b -r 47f4889cb6fd www/ikiwiki/patches/patch-ab
--- a/www/ikiwiki/patches/patch-ab Mon Oct 06 15:20:26 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/09/22 15:09:05 schmonz Exp $
-
---- IkiWiki/Plugin/editdiff.pm.orig 2008-09-08 12:30:11.000000000 -0400
-+++ IkiWiki/Plugin/editdiff.pm
-@@ -56,7 +56,7 @@ sub formbuilder_setup { #{{{
- my %params=@_;
- my $form=$params{form};
-
-- return if defined ! $form->field("do") || $form->field("do") ne "edit";
-+ return if ! defined $form->field("do") || $form->field("do") ne "edit";
-
- my $page=$form->field("page");
- $page = IkiWiki::possibly_foolish_untaint($page);
diff -r dc462787822b -r 47f4889cb6fd www/ikiwiki/patches/patch-ac
--- a/www/ikiwiki/patches/patch-ac Mon Oct 06 15:20:26 2008 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/09/22 15:09:05 schmonz Exp $
-
---- IkiWiki/Plugin/aggregate.pm.orig 2008-09-08 12:30:11.000000000 -0400
-+++ IkiWiki/Plugin/aggregate.pm
-@@ -421,7 +421,7 @@ sub expire () { #{{{
- my $count=0;
- my %seen;
- foreach my $item (sort { $IkiWiki::pagectime{$b->{page}} <=> $IkiWiki::pagectime{$a->{page}} }
-- grep { exists $_->{page} && $_->{feed} eq $feed->{name} && $IkiWiki::pagectime{$_->{page}} }
-+ grep { exists $_->{page} && $_->{feed} eq $feed->{name} }
- values %guids) {
- if ($feed->{expireage}) {
- my $days_old = (time - $IkiWiki::pagectime{$item->{page}}) / 60 / 60 / 24;
-@@ -520,12 +520,18 @@ sub aggregate (@) { #{{{
- }
-
- foreach my $entry ($f->entries) {
-+ my $content=$content=$entry->content->body;
-+ # atom feeds may have no content, only a summary
-+ if (! defined $content && ref $entry->summary) {
-+ $content=$entry->summary->body;
-+ }
-+
- add_page(
- feed => $feed,
- copyright => $f->copyright,
- title => defined $entry->title ? decode_entities($entry->title) : "untitled",
- link => $entry->link,
-- content => defined $entry->content->body ? $entry->content->body : "",
-+ content => defined $content ? $content : "",
- guid => defined $entry->id ? $entry->id : time."_".$feed->{name},
- ctime => $entry->issued ? ($entry->issued->epoch || time) : time,
- );
-@@ -612,10 +618,13 @@ sub add_page (@) { #{{{
- writefile(htmlfn($guid->{page}), $config{srcdir},
- $template->output);
-
-- # Set the mtime, this lets the build process get the right creation
-- # time on record for the new page.
-- utime $mtime, $mtime, pagefile($guid->{page})
-- if defined $mtime && $mtime <= time;
-+ if (defined $mtime && $mtime <= time) {
-+ # Set the mtime, this lets the build process get the right
-+ # creation time on record for the new page.
-+ utime $mtime, $mtime, pagefile($guid->{page});
-+ # Store it in pagectime for expiry code to use also.
-+ $IkiWiki::pagectime{$guid->{page}}=$mtime;
-+ }
- } #}}}
-
- sub htmlescape ($) { #{{{
Home |
Main Index |
Thread Index |
Old Index