Subject: CVS commit: [pkgsrc-2016Q4] pkgsrc/www/ikiwiki
From: Benny Siegert
Date: 2017-01-19 20:59:56
Message id: 20170119195956.3B738FBA6@cvs.NetBSD.org

Log Message:
Pullup ticket #5192 - requested by schmonz
www/ikiwiki: security fix

Revisions pulled up:
- www/ikiwiki/Makefile                                          1.145-1.148
- www/ikiwiki/distinfo                                          1.117-1.120

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Fri Dec 30 03:21:11 UTC 2016

   Modified Files:
   	pkgsrc/www/ikiwiki: Makefile distinfo

   Log Message:
   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

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Fri Dec 30 13:59:42 UTC 2016

   Modified Files:
   	pkgsrc/www/ikiwiki: Makefile distinfo

   Log Message:
   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.

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Wed Jan 11 02:15:54 UTC 2017

   Modified Files:
   	pkgsrc/www/ikiwiki: Makefile distinfo

   Log Message:
   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

---
   Module Name:	pkgsrc
   Committed By:	schmonz
   Date:		Thu Jan 12 00:44:15 UTC 2017

   Modified Files:
   	pkgsrc/www/ikiwiki: Makefile distinfo

   Log Message:
   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

Files:
RevisionActionfile
1.144.2.1modifypkgsrc/www/ikiwiki/Makefile
1.116.2.1modifypkgsrc/www/ikiwiki/distinfo