Update to 3.20110321. From the changelog: * comment: Don't show comments of subpages on parent pages. (Fixes bug introduced in version 3.20100505.) * darcs: Fix multiple issues preventing rcs_diff from working. * aggregate: Read cookies from ~/.ikiwiki/cookies by default. Also, the cookiejar configuration setting can be used by other plugins to provide a custom `cookie_jar` object for LWP::UserAgent. (Thanks, schmonz) * Avoid escaping / characters in filenames when building the cgiurl, as this confuses eg, cvsweb.diff -r1.74 -r1.75 pkgsrc/www/ikiwiki/Makefile
(schmonz)
@@ -1,17 +1,17 @@ | @@ -1,17 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.74 2011/02/26 03:04:38 schmonz Exp $ | 1 | # $NetBSD: Makefile,v 1.75 2011/03/23 22:25:05 schmonz Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= ikiwiki_3.20110225 | 4 | DISTNAME= ikiwiki_3.20110321 | |
5 | PKGNAME= ${DISTNAME:S/_/-/} | 5 | PKGNAME= ${DISTNAME:S/_/-/} | |
6 | CATEGORIES= www textproc | 6 | CATEGORIES= www textproc | |
7 | MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/} | 7 | MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/i/ikiwiki/} | |
8 | 8 | |||
9 | MAINTAINER= schmonz@NetBSD.org | 9 | MAINTAINER= schmonz@NetBSD.org | |
10 | HOMEPAGE= http://ikiwiki.info/ | 10 | HOMEPAGE= http://ikiwiki.info/ | |
11 | COMMENT= Wiki compiler | 11 | COMMENT= Wiki compiler | |
12 | LICENSE= gnu-gpl-v2 | 12 | LICENSE= gnu-gpl-v2 | |
13 | 13 | |||
14 | PKG_DESTDIR_SUPPORT= user-destdir | 14 | PKG_DESTDIR_SUPPORT= user-destdir | |
15 | 15 | |||
16 | DEPENDS+= p5-Text-Markdown-[0-9]*:../../textproc/p5-Text-Markdown | 16 | DEPENDS+= p5-Text-Markdown-[0-9]*:../../textproc/p5-Text-Markdown | |
17 | DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI | 17 | DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI | |
@@ -37,32 +37,32 @@ PERL5_PACKLIST= auto/IkiWiki/.packlist | @@ -37,32 +37,32 @@ PERL5_PACKLIST= auto/IkiWiki/.packlist | |||
37 | USE_LANGUAGES= # none | 37 | USE_LANGUAGES= # none | |
38 | USE_TOOLS+= gmake msgfmt perl:run xgettext | 38 | USE_TOOLS+= gmake msgfmt perl:run xgettext | |
39 | 39 | |||
40 | REPLACE_PERL+= ikiwiki-calendar.in ikiwiki-mass-rebuild | 40 | REPLACE_PERL+= ikiwiki-calendar.in ikiwiki-mass-rebuild | |
41 | REPLACE_PERL+= ikiwiki-transition.in ikiwiki-update-wikilist | 41 | REPLACE_PERL+= ikiwiki-transition.in ikiwiki-update-wikilist | |
42 | REPLACE_PERL+= ikiwiki-w3m.cgi ikiwiki.in gitremotes mdwn2man pm_filter | 42 | REPLACE_PERL+= ikiwiki-w3m.cgi ikiwiki.in gitremotes mdwn2man pm_filter | |
43 | REPLACE_PERL+= *.pm IkiWiki/*.pm IkiWiki/*/*.pm* *.setup */*.setup */*/*.setup | 43 | REPLACE_PERL+= *.pm IkiWiki/*.pm IkiWiki/*/*.pm* *.setup */*.setup */*/*.setup | |
44 | REPLACE_PERL+= po/po2wiki t/*.t | 44 | REPLACE_PERL+= po/po2wiki t/*.t | |
45 | REPLACE_PERL+= plugins/externaldemo # XXX not installed | 45 | REPLACE_PERL+= plugins/externaldemo # XXX not installed | |
46 | 46 | |||
47 | REPLACE_PYTHON+=plugins/proxy.py plugins/pythondemo plugins/rst | 47 | REPLACE_PYTHON+=plugins/proxy.py plugins/pythondemo plugins/rst | |
48 | 48 | |||
49 | SUBST_CLASSES+= sysconfdir | 49 | SUBST_CLASSES+= sysconfdir | |
50 | SUBST_STAGE.sysconfdir= post-patch | 50 | SUBST_STAGE.sysconfdir= pre-configure | |
51 | SUBST_FILES.sysconfdir= ikiwiki-mass-rebuild ikiwiki-update-wikilist | 51 | SUBST_FILES.sysconfdir= ikiwiki-mass-rebuild ikiwiki-update-wikilist | |
52 | SUBST_SED.sysconfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' | 52 | SUBST_SED.sysconfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' | |
53 | 53 | |||
54 | SUBST_CLASSES+= perlpath | 54 | SUBST_CLASSES+= perlpath | |
55 | SUBST_STAGE.perlpath= post-patch | 55 | SUBST_STAGE.perlpath= pre-configure | |
56 | SUBST_FILES.perlpath= IkiWiki/Setup/Standard.pm | 56 | SUBST_FILES.perlpath= IkiWiki/Setup/Standard.pm | |
57 | SUBST_SED.perlpath+= -e 's,@PERL5@,${PERL5},g' | 57 | SUBST_SED.perlpath+= -e 's,@PERL5@,${PERL5},g' | |
58 | 58 | |||
59 | MAKE_FLAGS+= W3M_CGI_BIN=${PREFIX:Q}/libexec/w3m/cgi-bin | 59 | MAKE_FLAGS+= W3M_CGI_BIN=${PREFIX:Q}/libexec/w3m/cgi-bin | |
60 | MAKE_FLAGS+= CONFIGDIR=${EGDIR:Q} | 60 | MAKE_FLAGS+= CONFIGDIR=${EGDIR:Q} | |
61 | MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q} | 61 | MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q} | |
62 | 62 | |||
63 | PKG_SYSCONFSUBDIR= ${PKGBASE} | 63 | PKG_SYSCONFSUBDIR= ${PKGBASE} | |
64 | EGDIR= ${PREFIX}/share/examples/${PKGBASE} | 64 | EGDIR= ${PREFIX}/share/examples/${PKGBASE} | |
65 | CONF_FILES+= ${EGDIR}/auto.setup ${PKG_SYSCONFDIR}/auto.setup | 65 | CONF_FILES+= ${EGDIR}/auto.setup ${PKG_SYSCONFDIR}/auto.setup | |
66 | CONF_FILES+= ${EGDIR}/auto-blog.setup ${PKG_SYSCONFDIR}/auto-blog.setup | 66 | CONF_FILES+= ${EGDIR}/auto-blog.setup ${PKG_SYSCONFDIR}/auto-blog.setup | |
67 | CONF_FILES+= ${EGDIR}/wikilist ${PKG_SYSCONFDIR}/wikilist | 67 | CONF_FILES+= ${EGDIR}/wikilist ${PKG_SYSCONFDIR}/wikilist | |
68 | 68 |
@@ -1,9 +1,10 @@ | @@ -1,9 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.59 2011/02/26 03:04:38 schmonz Exp $ | 1 | $NetBSD: distinfo,v 1.60 2011/03/23 22:25:05 schmonz Exp $ | |
2 | 2 | |||
3 | SHA1 (ikiwiki_3.20110225.tar.gz) = 863d61e87897f0cc1f4a1658b7d42d8df65b4234 | 3 | SHA1 (ikiwiki_3.20110321.tar.gz) = b7b2d7b4c390f760f9d6c659b1048b8c176dc2fd | |
4 | RMD160 (ikiwiki_3.20110225.tar.gz) = d7f8719e5cba5c455c1c72bd4f2e9ccf79e8cb1c | 4 | RMD160 (ikiwiki_3.20110321.tar.gz) = 568050510e31fe1908042179d42259b7fb4d5609 | |
5 | Size (ikiwiki_3.20110225.tar.gz) = 2327000 bytes | 5 | Size (ikiwiki_3.20110321.tar.gz) = 2340126 bytes | |
6 | SHA1 (patch-aa) = 3f6c613520fdb979d68e0b4eda7698e62d4d8961 | 6 | SHA1 (patch-aa) = 0ddf4825daec821bf93978c665af99645c5538c0 | |
7 | SHA1 (patch-ab) = 9700097a9dbe8a2203169367c497ac8b89251903 | 7 | SHA1 (patch-ab) = 9700097a9dbe8a2203169367c497ac8b89251903 | |
8 | SHA1 (patch-ac) = 621983c0405f747566a9bed2a01261d58741a5bd | |||
8 | SHA1 (patch-ad) = 5720c313ea335a182417b2339ee2e8ef204fc11d | 9 | SHA1 (patch-ad) = 5720c313ea335a182417b2339ee2e8ef204fc11d | |
9 | SHA1 (patch-ae) = b23e2c81e0dba9bc88fd2bdc88de5e60eb74e16f | 10 | SHA1 (patch-ae) = b23e2c81e0dba9bc88fd2bdc88de5e60eb74e16f |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: options.mk,v 1.11 2010/10/24 15:45:34 schmonz Exp $ | 1 | # $NetBSD: options.mk,v 1.12 2011/03/23 22:25:05 schmonz Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.ikiwiki | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.ikiwiki | |
4 | PKG_SUPPORTED_OPTIONS= cvs ikiwiki-amazon-s3 ikiwiki-search | 4 | PKG_SUPPORTED_OPTIONS= cvs ikiwiki-amazon-s3 ikiwiki-search | |
5 | PKG_SUPPORTED_OPTIONS+= imagemagick python svn w3m | 5 | PKG_SUPPORTED_OPTIONS+= imagemagick python svn w3m | |
6 | 6 | |||
7 | .include "../../mk/bsd.options.mk" | 7 | .include "../../mk/bsd.options.mk" | |
8 | 8 | |||
9 | .if !empty(PKG_OPTIONS:Mcvs) | 9 | .if !empty(PKG_OPTIONS:Mcvs) | |
10 | . if !exists(/usr/bin/cvs) | 10 | . if !exists(/usr/bin/cvs) | |
11 | DEPENDS+= cvs-[0-9]*:../../devel/scmcvs | 11 | DEPENDS+= cvs-[0-9]*:../../devel/scmcvs | |
12 | . endif | 12 | . endif | |
13 | DEPENDS+= cvsps-[0-9]*:../../devel/cvsps | 13 | DEPENDS+= cvsps-[0-9]*:../../devel/cvsps | |
14 | DEPENDS+= cvsweb-[0-9]*:../../www/cvsweb | 14 | DEPENDS+= cvsweb-[0-9]*:../../www/cvsweb | |
@@ -48,17 +48,17 @@ DEPENDS+= subversion-base-[0-9]*:../../d | @@ -48,17 +48,17 @@ DEPENDS+= subversion-base-[0-9]*:../../d | |||
48 | 48 | |||
49 | PLIST_VARS+= w3m | 49 | PLIST_VARS+= w3m | |
50 | .if !empty(PKG_OPTIONS:Mw3m) | 50 | .if !empty(PKG_OPTIONS:Mw3m) | |
51 | DEPENDS+= w3m-[0-9]*:../../www/w3m | 51 | DEPENDS+= w3m-[0-9]*:../../www/w3m | |
52 | PLIST.w3m= yes | 52 | PLIST.w3m= yes | |
53 | INSTALLATION_DIRS+= share/doc/${PKGBASE}/w3mmode | 53 | INSTALLATION_DIRS+= share/doc/${PKGBASE}/w3mmode | |
54 | post-install: | 54 | post-install: | |
55 | ${INSTALL_DATA} ${WRKSRC}/html/w3mmode.html \ | 55 | ${INSTALL_DATA} ${WRKSRC}/html/w3mmode.html \ | |
56 | ${PREFIX}/share/doc/${PKGBASE} | 56 | ${PREFIX}/share/doc/${PKGBASE} | |
57 | ${INSTALL_DATA} ${WRKSRC}/doc/w3mmode/ikiwiki.setup \ | 57 | ${INSTALL_DATA} ${WRKSRC}/doc/w3mmode/ikiwiki.setup \ | |
58 | ${PREFIX}/share/doc/${PKGBASE}/w3mmode/ikiwiki.setup | 58 | ${PREFIX}/share/doc/${PKGBASE}/w3mmode/ikiwiki.setup | |
59 | .else | 59 | .else | |
60 | SUBST_CLASSES+= w3m | 60 | SUBST_CLASSES+= w3m | |
61 | SUBST_STAGE.w3m= post-patch | 61 | SUBST_STAGE.w3m= pre-configure | |
62 | SUBST_FILES.w3m= Makefile.PL | 62 | SUBST_FILES.w3m= Makefile.PL | |
63 | SUBST_SED.w3m+= -e 's,^\(.*install .*W3M_CGI_BIN\),\#\1,' | 63 | SUBST_SED.w3m+= -e 's,^\(.*install .*W3M_CGI_BIN\),\#\1,' | |
64 | .endif | 64 | .endif |
@@ -1,32 +1,32 @@ | @@ -1,32 +1,32 @@ | |||
1 | $NetBSD: patch-aa,v 1.20 2011/01/02 05:13:02 schmonz Exp $ | 1 | $NetBSD: patch-aa,v 1.21 2011/03/23 22:25:06 schmonz Exp $ | |
2 | 2 | |||
3 | --- Makefile.PL.orig 2010-12-11 18:33:22.000000000 +0000 | 3 | --- Makefile.PL.orig 2011-03-19 18:02:24.000000000 +0000 | |
4 | +++ Makefile.PL | 4 | +++ Makefile.PL | |
5 | @@ -19,6 +19,8 @@ SED?=sed | 5 | @@ -19,6 +19,8 @@ SED?=sed | |
6 | 6 | |||
7 | # Additional configurable path variables. | 7 | # Additional configurable path variables. | |
8 | W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin | 8 | W3M_CGI_BIN?=$(PREFIX)/lib/w3m/cgi-bin | |
9 | +CONFIGDIR?=/etc/ikiwiki | 9 | +CONFIGDIR?=/etc/ikiwiki | |
10 | +MANDIR?=$(PREFIX)/share/man | 10 | +MANDIR?=$(PREFIX)/share/man | |
11 | 11 | |||
12 | tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi) | 12 | tflag=$(shell if [ -n "$$NOTAINT" ] && [ "$$NOTAINT" != 1 ]; then printf -- "-T"; fi) | |
13 | extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi) | 13 | extramodules=$(shell if [ "$$PROFILE" = 1 ]; then printf -- "-d:NYTProf"; fi) | |
14 | @@ -50,7 +52,7 @@ extra_build: $(outprogs) ikiwiki.setup d | 14 | @@ -50,7 +52,7 @@ extra_build: $(outprogs) ikiwiki.setup d | |
15 | ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man | 15 | ./mdwn2man ikiwiki-update-wikilist 1 doc/ikiwiki-update-wikilist.mdwn > ikiwiki-update-wikilist.man | |
16 | ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man | 16 | ./mdwn2man ikiwiki-calendar 1 doc/ikiwiki-calendar.mdwn > ikiwiki-calendar.man | |
17 | $(MAKE) -C po | 17 | $(MAKE) -C po | |
18 | - $(SED) -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec | 18 | - $(SED) -i.bkp "s/Version:.*/Version: $(VER)/" ikiwiki.spec | |
19 | + #$(SED) -i.bkp "s/Version:.*/Version: $$(perl -e '$$_=<>;print m/\((.*?)\)/'<debian/changelog)/" ikiwiki.spec | 19 | + #$(SED) -i.bkp "s/Version:.*/Version: $(VER)/" ikiwiki.spec | |
20 | rm -f ikiwiki.spec.bkp | 20 | rm -f ikiwiki.spec.bkp | |
21 | 21 | |||
22 | docwiki: | 22 | docwiki: | |
23 | @@ -70,7 +72,7 @@ underlay_install: | 23 | @@ -70,7 +72,7 @@ underlay_install: | |
24 | for dir in `cd underlays && $(FIND) . -follow -type d ! -regex '.*\.svn.*'`; do \ | 24 | for dir in `cd underlays && $(FIND) . -follow -type d ! -regex '.*\.svn.*'`; do \ | |
25 | install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ | 25 | install -d $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ | |
26 | for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f`; do \ | 26 | for file in `$(FIND) underlays/$$dir -follow -maxdepth 1 -type f`; do \ | |
27 | - cp -aL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \ | 27 | - cp -aL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \ | |
28 | + cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \ | 28 | + cp -pRL $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir 2>/dev/null || \ | |
29 | install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ | 29 | install -m 644 $$file $(DESTDIR)$(PREFIX)/share/ikiwiki/$$dir; \ | |
30 | done; \ | 30 | done; \ | |
31 | done | 31 | done | |
32 | @@ -79,7 +81,7 @@ underlay_install: | 32 | @@ -79,7 +81,7 @@ underlay_install: |
$NetBSD: patch-ac,v 1.9 2011/03/23 22:25:06 schmonz Exp $
--- IkiWiki/Plugin/aggregate.pm.orig 2011-03-21 18:44:36.000000000 +0000
+++ IkiWiki/Plugin/aggregate.pm
@@ -70,8 +70,8 @@ sub checkconfig () {
if (! defined $config{aggregateinternal}) {
$config{aggregateinternal}=1;
}
- if (! defined $config{cookies}) {
- $config{cookies}={ file => "$ENV{HOME}/.ikiwiki/cookies" };
+ if (! defined $config{cookiejar}) {
+ $config{cookiejar}={ file => "$ENV{HOME}/.ikiwiki/cookies" };
}
# This is done here rather than in a refresh hook because it