Commit graph

160 commits

Author SHA1 Message Date
schmonz
7471060223 Update to 3.20180105. From the changelog:
- emailauth: Fix cookie problem when user is on https and the cgiurl
  uses http, by making the emailed login link use https.
- passwordauth: Use https for emailed password reset link when user
  is on https.
- Remove openid provider icons from login selector, since openid
  providers are increasingly not working. Verisign retired theirs, and
  aol and yahoo/flickr are not commonly used for openid. Any users who
  still clicked those icons to login will need to instead enter their
  openid url.
- Updated German basewiki and directives translation from
  Sebastian Kuhnert.
2018-01-08 14:04:18 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
schmonz
4234f0fcdc Update to 3.20171001. From the changelog:
[ Joey Hess ]
* htmlscrubber: Add support for the video tag's loop and muted
  attributes. Those were not in the original html5 spec, but have been
  added in the whatwg html living standard and have wide browser support.
* emailauth, passwordauth: Avoid leaving cgisess_* files in the
  system temp directory.

[ Simon McVittie ]
* core: Don't decode the result of strftime if it is already tagged as
  UTF-8, as it might be since Perl >= 5.21.1. (Closes: #869240)
* img: Strip metadata from resized images when the deterministic config
  option is set. Thanks, intrigeri
* receive: Avoid asprintf() in IkiWiki::Receive, to avoid implicit
  declaration, potential misbehaviour on 64-bit platforms, and lack
  of portability to non-GNU platforms
* t: Add a regression test for untrusted git push
* receive: Fix untrusted git push with git (>= 2.11) by passing through
  the necessary environment variables to make the quarantine area work
* debian: Declare compliance with Debian Policy 4.1.1

[ Amitai Schleier ]
* l10n: Fix the build with po4a 0.52, by ensuring that msgstr ends
  with a newline if and only if msgid does
2017-10-02 03:27:29 +00:00
schmonz
82dbb9d930 Add upstream patch to fix build with po4a 0.52. 2017-09-20 02:57:31 +00:00
schmonz
43f9640017 Update to 3.20170622. From the changelog:
* t/git-cgi.t: Wait 1 second before doing a revert that should work.
  This hopefully fixes a race condition in which the test failed
  around 6% of the time. (Closes: 862494)
* Guard against set-but-empty REMOTE_USER CGI variable on
  misconfigured nginx servers, and in general treat sessions with
  a set-but-empty name as if they were not signed in.
* When the CGI fails, print the error to stderr, not "Died"
* mdwn: Don't mangle <style> into <elyts> under some circumstances
* mdwn: Enable footnotes by default when using the default Discount
  implementation. A new mdwn_footnotes option can be used to disable
  footnotes in MultiMarkdown and Discount.
* mdwn: Don't enable alphabetically labelled ordered lists by
  default when using the default Discount implementation. A new
  mdwn_alpha_list option can be used to restore the old
  interpretation.
* osm: Convert savestate hook into a changes hook. savestate is not
  the right place to write wiki content, and in particular this
  breaks websetup if osm's dependencies are not installed, even
  if the osm plugin is not actually enabled. (Closes: #719913)
* toc: if the heading is of the form <h1 id="...">, use that for
  the link in the table of contents (but continue to generate
  <a name="index42"></a> in case someone was relying on it)
* color: Do not leak markup into contexts that take only the plain
  text, such as toc
* meta: Document [[!meta name="foo" content="bar"]]
2017-06-24 13:10:44 +00:00
schmonz
d99062f1d5 Update to 3.20170111. From the changelog:
* passwordauth: prevent authentication bypass via multiple name
  parameters (CVE-2017-0356, OVE-20170111-0001)
* passwordauth: avoid userinfo forgery via repeated email parameter
  (also in the scope of CVE-2017-0356)
* CGI, attachment, passwordauth: harden against repeated parameters
  (not believed to have been a vulnerability)
* remove: make it clearer that repeated page parameter is OK here
* t/passwordauth.t: new automated test for passwordauth
2017-01-12 00:44:15 +00:00
schmonz
4f31330de2 Update to 3.20170110. From the changelog:
[ Amitai Schleier ]
* wrappers: Correctly escape quotes in git_wrapper_background_command

[ Simon McVittie ]
* git: use an explicit function parameter for the directory to work
  in. Previously, we used global state that was not restored correctly
  on catching exceptions, causing an unintended log message
  "cannot chdir to .../ikiwiki-temp-working: No such file or directory"
  with versions >= 3.20161229 when an attempt to revert a change fails
  or is disallowed
* git: don't run "git rev-list ... -- -- ..." which would select the
  wrong commits if a file named literally "--" is present in the
  repository
* check_canchange: log "bad file name whatever", not literal string
  "bad file name %s"
* t/git-cgi.t: fix a race condition that made the test fail
  intermittently
* t/git-cgi.t: be more careful to provide a syntactically valid
  author/committer name and email, hopefully fixing this test on
  ci.debian.net
* templates, comments, passwordauth: use rel=nofollow microformat
  for dynamic URLs
* templates: use rel=nofollow microformat for comment authors
* news: use Debian security tracker instead of MITRE for security
  references. Thanks, anarcat
* Set package format to 3.0 (native)
* d/copyright: re-order to put more specific stanzas later, to get the
  intended interpretation
* d/source/lintian-overrides: override obsolete-url-in-packaging for
  OpenID Selector, which does not seem to have any more current URL
  (and in any case our version is a fork)
* docwiki.setup: exclude TourBusStop from offline documentation.
  It does not make much sense there.
* d/ikiwiki.lintian-overrides: override script-not-executable warnings
* d/ikiwiki.lintian-overrides: silence false positive spelling warning
  for Moin Moin
* d/ikiwiki.doc-base: register the documentation with doc-base
* d/control: set libmagickcore-6.q16-3-extra as preferred
  build-dependency, with virtual package libmagickcore-extra as an
  alternative, to help autopkgtest to do the right thing
2017-01-11 02:15:54 +00:00
schmonz
04c2f6e616 Update to 3.20161229.1. From the changelog:
* git: Attribute reverts to the user doing the revert, not the wiki
  itself.
* git: Do not disable the commit hook while preparing a revert.
2016-12-30 13:59:42 +00:00
schmonz
886cb19c9a Update to 3.20161229. From the changelog:
* Security: force CGI::FormBuilder->field to scalar context where
  necessary, avoiding unintended function argument injection
  analogous to CVE-2014-1572. In ikiwiki this could be used to
  forge commit metadata, but thankfully nothing more serious.
  (CVE-2016-9646)
* Security: try revert operations in a temporary working tree before
  approving them. Previously, automatic rename detection could result in
  a revert writing outside the wiki srcdir or altering a file that the
  reverting user should not be able to alter, an authorization bypass.
  (CVE-2016-10026 represents the original vulnerability.)
  The incomplete fix released in 3.20161219 was not effective for git
  versions prior to 2.8.0rc0.
  (CVE-2016-9645 represents that incomplete solution.)
* Add CVE references for CVE-2016-10026
* Add automated test for using the CGI with git, including
  CVE-2016-10026
  - Build-depend on libipc-run-perl for better build-time test coverage
* Add missing ikiwiki.setup for the manual test for CVE-2016-10026
* git: don't issue a warning if the rcsinfo CGI parameter is undefined
* git: do not fail to commit changes with a recent git version
  and an anonymous committer
2016-12-30 03:21:11 +00:00
schmonz
2047906cb5 Update to 3.20161219. From the changelog:
[ Joey Hess ]
* inline: Prevent creating a file named ".mdwn" when the
  postform is submitted with an empty title.

[ Simon McVittie ]
* Security: tell `git revert` not to follow renames. If it does, then
  renaming a file can result in a revert writing outside the wiki srcdir
  or altering a file that the reverting user should not be able to alter,
  an authorization bypass. Thanks, intrigeri
* cgitemplate: remove some dead code. Thanks, blipvert
* Restrict CSS matches against header class to not break
  Pandoc tables with header rows. Thanks, karsk
* Make pagestats output more deterministic. Thanks, intrigeri
2016-12-21 00:52:59 +00:00
schmonz
91e9ca3718 Update to 3.20160905. From the changelog:
* [ Joey Hess ]
  * Fix installation when prefix includes a string metacharacter.
    Thanks, Sam Hathaway.
* [ Simon McVittie ]
  * Use git log --no-renames to generate recentchanges, fixing the git
    test-case with git 2.9 (Closes: #835612)
2016-09-14 18:04:09 +00:00
schmonz
925993592b Update to 3.20160728. From the changelog:
* Explicitly remove current working directory from Perl's library
  search path, mitigating CVE-2016-1238 (see #588017)
* wrappers: allocate new environment dynamically, so we won't overrun
  the array if third-party plugins add multiple environment variables.
* Standards-Version: 3.9.8 (no changes required)
2016-07-28 20:23:52 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
schmonz
e0ac233644 Update to 3.20160509. From the changelog:
[ Amitai Schlair ]
  * img: ignore the case of the extension when detecting image format,
    fixing the regression that *.JPG etc. would not be displayed
    since 3.20160506

  [ Simon McVittie ]
  * img: parse img_allowed_formats case-insensitively, as was done in
    3.20141016.3
  * inline: restore backwards compat for show=-1 syntax, which
    worked before 3.20160121
  * Remove a spurious changelog entry from 3.20160506 (the relevant
    change was already in 3.20150614)
  * Add CVE-2016-4561 reference to 3.20160506 changelog
  * Set high urgency to get the CVE-2016-4561 fix and CVE-2016-3714
    mitigation into testing

 -- Simon McVittie <smcv@debian.org>  Mon, 09 May 2016 21:57:09 +0100
2016-05-10 06:12:17 +00:00
schmonz
914448ff1e Update to 3.20160506. From the changelog:
[ Simon McVittie ]
  * img: stop ImageMagick trying to be clever if filenames contain a colon,
    avoiding mis-processing
  * HTML-escape error messages, in one case avoiding potential cross-site
    scripting (OVE-20160505-0012)
  * Mitigate ImageMagick vulnerabilities such as CVE-2016-3714:
    - img: force common Web formats to be interpreted according to extension,
      so that "allowed_attachments: '*.jpg'" does what one might expect
    - img: restrict to JPEG, PNG and GIF images by default, again mitigating
      CVE-2016-3714 and similar vulnerabilities
    - img: check that the magic number matches what we would expect from
      the extension before giving common formats to ImageMagick
  * d/control: use https for Homepage
  * d/control: add Vcs-Browser

  [ Joey Hess ]
  * img: Add back support for SVG images, bypassing ImageMagick and
    simply passing the SVG through to the browser, which is supported by all
    commonly used browsers these days.
    SVG scaling by img directives has subtly changed; where before
    size=wxh would preserve aspect ratio, this cannot be done when passing
    them through and so specifying both a width and height can change
    the SVG's aspect ratio.
  * loginselector: When only openid and emailauth are enabled, but
    passwordauth is not, avoid showing a "Other" box which opens an
    empty form.

  [ Amitai Schlair ]
  * mdwn: Process .md like .mdwn, but disallow web creation.

  [ Florian Wagner ]
  * git: Correctly handle filenames starting with a dash in add/rm/mv.

 -- Simon McVittie <smcv@debian.org>  Fri, 06 May 2016 07:54:26 +0100
2016-05-07 05:58:53 +00:00
schmonz
8f5d6b0d1a Apply upstream patch to make the CVS tests pass again. While here,
uncomment a maintainer make target to find where REPLACE_PERL might be
needed, and remove one that's no longer needed. (No change to the
installed package, so no PKGREVISION bump.)
2016-03-06 19:30:06 +00:00
schmonz
2703d59174 Update to 3.20160121. From the changelog:
[ Amitai Schlair ]
* meta: Fix [[!meta name=foo]] by closing the open quote.
* Avoid unescaped "{" in regular expressions
* meta test: Add tests for many behaviors of the directive.
* img test: Bail gracefully when ImageMagick is not present.

[ Joey Hess ]
* emailauth: Added emailauth_sender config.
* Modified page.tmpl to to set html lang= and dir= when
  values have been specified for them, which the po plugin does.
* Specifically license the javascript underlay under the permissive
  basewiki license.

[ Simon McVittie ]
* git: if no committer identity is known, set it to
  "IkiWiki <ikiwiki.info>" in .git/config. This resolves commit errors
  in versions of git that require a non-trivial committer identity.
* inline, trail: rename show, feedshow parameters to limit, feedlimit
  (with backwards compatibility)
* pagestats: add "show" option to show meta fields. Thanks, Louis
* inline: force RSS <comments> to be a fully absolute URL as required
  by the W3C validator. Please use Atom feeds if relative URLs are
  desirable on your site.
* inline: add <atom:link rel="self"> to RSS feeds as recommended by
  the W3C validator
* inline: do not produce links containing /./ or /../
* syslog: accept and encode UTF-8 messages
* syslog: don't fail to log if the wiki name contains %s
* Change dependencies from transitional package perlmagick
  to libimage-magick-perl (Closes: #789221)
* debian/copyright: update for the rename of openid-selector to
  login-selector
* d/control: remove leading article from Description
  (lintian: description-synopsis-starts-with-article)
* d/control: Standards-Version: 3.9.6, no changes required
* Wrap and sort control files (wrap-and-sort -abst)
* Silence "used only once: possible typo" warnings for variables
  that are part of modules' APIs
* Run autopkgtest tests using autodep8 and the pkg-perl team's
  infrastructure
* Add enough build-dependencies to run all tests, except for
  non-git VCSs
* tests: consistently use done_testing instead of no_plan
* t/img.t: do not spuriously skip
* img test: skip testing PDFs if unsupported
* img test: use the right filenames when testing that deletion occurs

-- Simon McVittie <smcv@debian.org>  Thu, 21 Jan 2016 09:53:07 +0000
2016-01-21 18:36:38 +00:00
agc
b9b754e081 Add SHA512 digests for distfiles for www category
Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 02:46:46 +00:00
schmonz
c09b2c5210 Apply upstream patch to fix [[!meta name=foo]] by closing the open quote.
Bump PKGREVISION.
2015-08-30 03:07:03 +00:00
schmonz
2a0e5ef55c Update to 3.20150614. From the changelog:
* inline: change default sort order from age to "age title" for
  determinism, partially fixing deterministic build for git-annex,
  ikiwiki-hosting etc. (Closes: #785757)
* img: avoid ImageMagick misinterpreting filenames containing a colon
* img test: set old timestamp on source file that will change, so that
  the test will pass even if it takes less than 1 second
2015-06-15 01:49:50 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
schmonz
09697f6867 Update to 3.20150610. From the changelog:
[ Joey Hess ]
* New emailauth plugin lets users log in, without any registration,
  by simply clicking on a link in an email.
* Re-remove google from openid selector; their openid provider is
  gone for good.
* Make the openid selector display "Password" instead of "Other"
  when appropriate, so users are more likely to click on it when
  they don't have an openid.
* Converted openid-selector into a more generic loginselector helper
  plugin.
* passwordauth: Don't allow registering accounts that look like openids.
* Make cgiurl output deterministic, not hash order. Closes: #785738
  Thanks, Daniel Kahn Gillmor

[ Simon McVittie ]
* Do not enable emailauth by default, to avoid surprises on httpauth-only
  sites. Enable it by default in openid instead, since it is essentially
  a replacement for OpenIDs.
* Make the attachment plugin work with CGI.pm 4.x (Closes: #786586;
  workaround for #786587 in libcgi-pm-perl)
* Add a public-domain email icon from tango-icon-theme
* Populate pagectime from either mtime or inode change time,
  whichever is older, again for more reproducible builds
* debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC
* debian/copyright: consolidate permissive licenses
* debian/copyright: turn comments on provenance into Comment
* brokenlinks: sort the pages that link to the missing page, for
  better reproducibility
* Add [[!meta date]] to news items and tips, since the git checkout
  and build process can leave the checkout date in the tarball
  release, leading to unstable sorting
* Sort backlinks deterministically, by falling back to sorting by href
  if the link text is identical
* Add a $config{deterministic} option and use it for the docwiki
* haiku: if deterministic build is requested, return a hard-coded haiku
* polygen: if deterministic build is requested, use a well-known random seed
2015-06-11 14:15:33 +00:00
schmonz
072000c1cf Remove a couple files from PLIST no longer installed with the l10n option. 2015-04-04 16:08:26 +00:00
schmonz
2b9cf837be Update to 3.20150329. From the changelog:
[ Joey Hess ]
  * Fix NULL ptr deref on ENOMEM in wrapper. (Thanks, igli)

  [ Simon McVittie ]
  * Really don't double-decode CGI submissions, even on Perl versions that
    bundle an old enough Encode.pm for that not to be a problem: the
    system might have a newer Encode.pm installed separately, like Fedora 20.
    (Closes: #776181; thanks, Anders Kaseorg)
  * If neither timezone nor TZ is set, set both to :/etc/localtime if
    we're on a GNU system and that file exists, or GMT otherwise
  * t/inline.t: accept translations of "Add a new post titled:"
    (Closes: #779365)
  * Consistently document command-line options as e.g. --refresh, not -refresh

  [ Amitai Schlair ]
  * In VCS-committed anonymous comments, link to url.

  [ Joey Hess ]
  * Fix XSS in openid selector. Thanks, Raghav Bisht. (Closes: #781483)

 -- Simon McVittie <smcv@debian.org>  Sun, 29 Mar 2015 21:48:24 +0100

Updating this leaf package during the freeze for the bugfixes.
2015-03-30 11:32:49 +00:00
schmonz
35329d9849 Update to 3.20150107. From the changelog:
[ Joey Hess ]
* Added ikiwiki-comment program.
* Add missing build-depends on libcgi-formbuilder-perl, needed for
  t/relativity.t
* openid: Stop suppressing the email field on the Preferences page.
* po: If msgmerge falls over on a problem po file, print a warning
  message, but don't let this problem crash ikiwiki entirely.
* Set Debian package maintainer to Simon McVittie as I'm retiring from
  Debian.

[ Simon McVittie ]
* calendar: add calendar_autocreate option, with which "ikiwiki --refresh"
  can mostly supersede the ikiwiki-calendar command.
  Thanks, Louis Paternault
* search: add more classes as a hook for CSS. Thanks, sajolida
* core: generate HTML5 by default, but keep avoiding new elements
  like <section> that require specific browser support unless html5 is
  set to 1.
* Tell mobile browsers to draw our pages in a device-sized viewport,
  not an 800-1000px viewport designed to emulate a desktop/laptop browser.
* Add new responsive_layout option which can be set to 0 if your custom
  CSS only works in a large viewport.
* style.css, actiontabs, blueview, goldtype, monochrome: adjust layout
  below 600px ("responsive layout") so that horizontal scrolling is not
  needed on smartphone browsers or other small viewports.
* core: new libdirs option alongside libdir. Thanks, Louis Paternault

[ Amitai Schlair ]
* core: log a debug message before waiting for the lock.
  Thanks, Mark Jason Dominus
* build: in po/Makefile, use the same $(MAKE) as the rest of the build.
  Thanks, ttw
* blogspam: use the 2.0 JSON API (the 1.0 XML-RPC API has been EOL'd).
  Closes: #774441

pkgsrc changes:

Add a not-yet-upstreamed patch to link to the commenter's URL for
anonymous-style comments committed directly via the VCS (i.e.,
imported from another CMS).
2015-01-07 16:09:23 +00:00
schmonz
81c6a76887 Add 'l10n' option to enable po4a-managed translations of site
content. Bump PKGREVISION.
2014-12-04 17:28:43 +00:00
joerg
33b8df6f51 Not MAKE_JOBS_SAFE. 2014-11-06 12:25:57 +00:00
schmonz
278ba66e48 Noticed on NetBSD:
- Upstream's perl-shebang replacement missed one due to a space
  (fixed upstream). check-interpreter hadn't told me on OS X because
  "/usr/bin/perl" does exist there.

- gmake seems to choose a build order where the perl-shebang
  replacement doesn't happen early enough, breaking the build.
  Force the needed ordering.
2014-10-17 13:14:01 +00:00
schmonz
f4f5216c51 Update to 3.20141016. From the changelog:
[ Joey Hess ]
* Fix crash that can occur when only_committed_changes is set and a
  file is deleted from the underlay.

[ Simon McVittie ]
* core: avoid dangerous use of CGI->param in list context, which led
  to a security flaw in Bugzilla; as far as we can tell, ikiwiki
  is not vulnerable to a similar attack, but it's best to be safe
* core: new reverse_proxy option prevents ikiwiki from trying to detect
  how to make self-referential URLs by using the CGI environment variables,
  for instance when it's deployed behind a HTTP reverse proxy
  (Closes: #745759)
* core: the default User-Agent is now "ikiwiki/$version" to work around
  ModSecurity rules assuming that only malware uses libwww-perl
* core: use protocol-relative URLs (e.g. //www.example.com/wiki) so that
  https stays on https and http stays on http, particularly if the
  html5 option is enabled
* core: avoid mixed content when a https cgiurl links to http static pages
  on the same server (the static pages are assumed to be accessible via
  https too)
* core: force the correct top URL in w3mmode
* google plugin: Use search form
* docwiki: replace Paypal and Flattr buttons with text links
* comments: don't record the IP address in the wiki if the user is
  logged in via passwordauth or httpauth
* templates: add ARIA roles to some page elements, if html5 is enabled.
  Thanks, Patrick

pkgsrc changes:
* For the python option, add missing py-expat dependency.
2014-10-17 11:50:42 +00:00
schmonz
8d9192488b Try harder to convey in a few words what's so special about ikiwiki. 2014-10-03 18:37:11 +00:00
schmonz
84203dbf9a Apply 053de54 from upstream git to fix paths in installed binaries
with the default PKG_SYSCONFBASE. Bump PKGREVISION.
2014-09-19 05:24:15 +00:00
schmonz
89fb5a05fa Update to 3.20140916. From the changelog:
* Don't double-decode CGI submissions with Encode.pm >= 2.53,
  fixing "Error: Cannot decode string with wide characters".
  Thanks, Antoine Beaupré
* Avoid making trails depend on everything in the wiki by giving them
  a better way to sort the pages
* Don't let users post comments that won't be displayed
* Fix encoding of Unicode strings in Python plugins.
  Thanks, chrysn
* Improve performance and correctness of the [[!if]] directive
* Let [[!inline rootpage=foo postform=no]] disable the posting form
* Switch default [[!man]] shortcut to manpages.debian.org. Closes: #700322
* Add UUID and TIME variables to edittemplate. Closes: #752827
  Thanks, Jonathon Anderson
* Display pages in linkmaps as their pagetitle (no underscore escapes).
  Thanks, chrysn
* Fix aspect ratio when scaling small images, and add support for
  converting SVG and PDF graphics to PNG.
  Thanks, chrysn
  - suggest ghostscript (required for PDF-to-PNG thumbnailing)
    and libmagickcore-extra (required for SVG-to-PNG thumbnailing)
  - build-depend on ghostscript so the test for scalable images can be run
* In the CGI wrapper, incorporate $config{ENV} into the environment
  before executing Perl code, so that PERL5LIB can point to a
  non-system-wide installation of IkiWiki.
  Thanks, Lafayette Chamber Singers Webmaster
* filecheck: accept MIME types not containing ';'
* autoindex: index files in underlays if the resulting pages aren't
  going to be committed. Closes: #611068
* Add [[!templatebody]] directive so template pages don't have to be
  simultaneously a valid template and valid HTML
* Add myself to Uploaders and release to Debian

 -- Simon McVittie <smcv@debian.org>  Fri, 12 Sep 2014 21:23:58 +0100

pkgsrc changes:

* Add 'cgi' option, enabled by default
* Add 'git' option, disabled by default

Updating during the freeze because it's a leaf with many fixes,
including our local patches.
2014-09-16 17:53:01 +00:00
schmonz
39052461fa Avoid decoding Unicode twice in CGI forms with Perl 5.20's bundled
Encode.pm. Bump PKGREVISION.
2014-09-13 00:08:21 +00:00
schmonz
d81fb88091 Squelch commit warning with wiki.n.o's unusual (scheme-less) $config{url}.
Bump PKGREVISION.
2014-08-23 13:02:37 +00:00
schmonz
edfa32f298 Update to 3.20140815. From the changelog:
* Add google back to openid selector. Apparently this has gotten a stay
  of execution until April 2015. (It may continue to work until 2017.)
* highlight: Add compatibility with highlight 3.18, while still supporting
  3.9+. Closes: #757679
  Thanks, David Bremner
* highlight: Add support for multiple language definition directories
  Closes: #757680
  Thanks, David Bremner

pkgsrc changes:

* Add ikiwiki-highlight option that pulls in textproc/p5-highlight,
  for syntax highlighting code blocks (or entire source files).
2014-08-18 01:37:35 +00:00
schmonz
3873124285 Update to 3.20140613. From the changelog:
* only_committed_changes could fail in a git repository merged
  with git merge -s ours.
* Remove google from openid selector, per http://xkcd.com/1361/
2014-06-13 21:51:41 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
3faf991a33 Bump applications PKGREVISIONs for python users that might be using
python3, since the default changed from python33 to python34.

I probably bumped too many. I hope I got them all.
2014-05-17 16:10:41 +00:00
schmonz
b8d86e9f2c Update to 3.20140227. From the changelog:
* Added useragent config setting. Closes: #737121
  Thanks, Tuomas Jormola
* po: Add html_lang_code and html_lang_dir template variables
  for the language code and direction of text.
  Thanks, Mesar Hameed
* Allow up to 8 levels of nested directives, rather than previous 3
  in directive infinite loop guard.
* git diffurl: Do not escape / in paths to changed files, in order to
  interoperate with cgit (gitweb works either way)
  Thanks, intrigeri.
* git: Explicity push master branch, as will be needed by git 2.0's
  change to push.default=matching by default.
  Thanks, smcv
* Deal with nasty issue with gettext clobbering $@ while printing
  error message containing it.
  Thanks, smcv
* Cleanup of the openid login widget, including replacing of hotlinked
  images from openid providers with embedded, freely licensed artwork.
  Thanks, smcv
* Improve templates testing.
  Thanks, smcv
* python proxy: Avoid utf-8 related crash.
  Thanks, Antoine Beaupré
* Special thanks to Simon McVittie for being the patchmeister for this
  release.
2014-02-27 23:47:12 +00:00
schmonz
7cb6a9fc91 Update to 3.20140125. From the changelog:
* inline: Allow overriding the title of the feed. Closes: #735123
  Thanks, Christophe Rhodes
* osm: Escape name parameter. Closes: #731797
2014-01-26 05:17:08 +00:00
schmonz
dc6689878e Update to 3.20140102. From the changelog:
* aggregate: Improve display of post author.
* poll: Fix behavior of poll buttons when inlined.
* Fixed unncessary tight loop hash copy in saveindex where a pointer
  can be used instead. Can speed up refreshes by nearly 50% in some
  circumstances.
* Optimized loadindex by caching the page name in the index.
* Added only_committed_changes config setting, which speeds up wiki
  refresh by querying git to find the files that were changed, rather
  than looking at the work tree. Not enabled by default as it can
  break some setups where not all files get committed to git.
* comments: Write pending moderation comments to the transient underlay
  to avoid conflict with only_committed_changes.
* search: Added google_search option, which makes it search google
  rather than using the internal xapain database.
  (googlesearch plugin is too hard to turn on when xapain databases
  corrupt themselves, which happens all too frequently).
* osm: Remove invalid use of charset on embedded javascript tags.
  Closes: #731197
* style.css: Add compatibility definitions for more block-level
  html5 elements. Closes: #731199
* aggregrate: Fix several bugs in handling of empty and colliding
  titles when generating filenames.
2014-01-03 02:28:11 +00:00
schmonz
85c81adb17 Specify return type to quell clang warnings. Bump PKGREVISION. 2013-09-15 16:26:11 +00:00
schmonz
c9830fa34b Update to 3.20130904.1. From the changelog:
* calendar: Display the popup mouseover when there is only 1 page for a
  given day, for better UI consistency.
* meta: Can now be used to add an enclosure to a page, which is a fancier
  way to do podcasting than just inlining the media files directly;
  this way you can write a post about the podcast episode with show notes,
  author information, etc.
  (schmonz)
* aggregate: Show author in addition to feedname, if different.
  (schmonz)
* Consistently configure LWP::UserAgent to allow use of http_proxy
  and no_proxy environment variables, as well as ~/.ikiwiki/cookies
  (schmonz)
* Fix test suite to work with perl 5.18. Closes: #719969
* Fix cookiejar default setting.
2013-09-04 21:05:41 +00:00
schmonz
8042fc2948 Use GNU find on SunOS at install time, so that "find -maxdepth" and
"find -regex" can work.
2013-08-15 14:32:40 +00:00
schmonz
c2f96b2acb Update to 3.20130711. From the changelog:
* Deal with git behavior change in 1.7.2 and newer that broke support
  for commits with an empty commit message.
* Pass --no-edit when used with git 1.7.8 and newer.
2013-07-11 11:55:47 +00:00
schmonz
a7a13eaa9c Update to 3.20130710. From the changelog:
* blogspam: Fix encoding issue in RPC::XML call.
  Thanks, Changaco
* comments: The formats allowed to be used in comments can be configured
  using comments_allowformats.
  Thanks, Michal Sojka
* calendar: When there are multiple pages for a given day, they're
  displayed in a popup on mouseover.
  Thanks, Louis
* osm: Remove trailing slash from KML maps icon.
* page.tmpl: omit searchform, trails, sidebar and most metadata in CGI
  (smcv)
* openid: Automatically upgrade openid_realm to https when
  accessed via https.
* The ip() pagespec can now contain glob characters to match eg, a subnet
  full of spammers.
* Fix crash that could occur when a needsbuild hook returned a file
  that does not exist.
* Fix python proxy to not crash when fed unicode data in getstate
  and setstate.
  Thanks, chrysn
* Fix committing attachments when using svn.
2013-07-11 06:09:45 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
schmonz
5d9698b735 Update to 3.20130518. From the changelog:
* Fix test suite to not fail when XML::Twig is not installed. Closes:
  #707436
* theme: Now <TMPL_IF THEME_$NAME> can be used in all templates
  when a theme is enabled.
* notifyemail: Fix bug that caused duplicate emails to be sent when
  site was rebuilt.
* bzr: bzr rm no longer has a --force option, remove
2013-05-19 06:45:11 +00:00
riastradh
5dddf990fc Partially back out change to PYTHON_FOR_BUILD_ONLY.
This broke packages that needed a target Python at build-time.
Instead, change it from defined/undefined to yes/no/tool.  Most cases
of defined used `yes' anyway; fix the few stragglers do that instead.
New case `tool' is for TOOL_DEPENDS rather than buildlink3.
2013-05-10 20:07:33 +00:00
schmonz
fa39769bef Update to 3.20130504. From the changelog:
* Allow dots in directive parameter names. (tango)
* Add missing plugin section, and deal with missing sections with a warning.
* Detect plugins with a broken getsetup and warn.
* map: Correct reversion introduced in version 3.20110225 that could
  generate invalid html. (smcv)
* Makefile.PL: overwrite theme style.css instead of appending
  (Thanks, Mikko Rapeli)
* meta: Fix anchors used to link to the page's license and copyright.
  Closes: #706437
2013-05-05 20:53:32 +00:00