Update to 0.12 Changelog: == ChangeLog v0.12 == 49 files changed, 1073 insertions(+), 2145 deletions(-) Changes: * Uses internally Git 2.7.0. * Show remote refs in branch switcher combobox. * Add sample post-receive hook in /contrib. * Add HTML escaping to filters. * Add "enable-follow-links" option to have the log UI behave the same way as "git log --follow", as well as updating the diffand commit UIs. * Errors are now cached under the dynamic-ttl setting. * Simplified filters and converters. * Add "enable-html-serving" to turn on serving of HTML mimetypes from the /plain handler, to prevent against stored XSS. * /blob no longer takes a mimetype query string parameter. Bug fixes: * Always honor repo.hide and repo.ignore. * Ensure /about/ always has a trailing slash to keep other links consistent internally. * Unit test stability improvements. * Numerous internal cleanups. * Always send HTTP headers even on error messages. * Cleaner mimetype parsing. * Multiple resource leaks plugged. * Do not allow header injection. * Fix integer/buffer overflow. * Fix several crashes. * Return 404 when no repositories are found. == ChangeLog v0.11.2 == 22 files changed, 444 insertions(+), 92 deletions(-) Additions: * New sample filter: filters/gentoo-ldap-authentication.lua This filter shows how you might use lualdap for real authentication. Changes: * Uses internally Git 2.3.2 * No longer display blank links for submodules when there's no way of resolving the submodule location. Bug fixes: * Numerous code quality fixes from sparse * Take into account leading slashes when comptuing links * Set up environment variables before making clone urls == ChangeLog v0.11.1 == 10 files changed, 127 insertions(+), 113 deletions(-) Changes: * Uses internally Git 2.3.1 * Optimized commit and tag parsing * The sample simple-authentication.lua has been hardened Bug fixes: * When clicking on an owner in the index, use the right query string for searching * When filtering in the index, make the sorting links point to the same filtered page of results * Also, the same as above, but with pagination links * F_SETLK is now used to avoid creating stale lock files == ChangeLog v0.11.0 == 31 files changed, 328 insertions(+), 211 deletions(-) Features: * "stat-only" diff type, for kernel.org, where diff's can become huge * Show rel='vcs-git' on clone URL attributes * Add rel-vcs microformat links to HTML <head> section * Add "owner-filter" option, for filtering the owner column in the index * Snapshots now have HTTP ETags, for better caching * repo.hide and repo.ignore can now be specified for changing repository visibility Changes: * Rebased on Git 2.3.0 * Match more Markdown extensions * Tooltips now show absolute time for relative date markers * Use git's built-in ident line splitting algorithm instead * The patch output now matches git's format Bug fixes: * More constification * Documentation fixes * Libravatar now uses HTTPS correctly * Be sure README exists before displaying * Remove trailing slash when .git is removed from linksdiff -r1.4 -r1.5 pkgsrc/www/cgit/Makefile
(ryoon)
@@ -1,26 +1,26 @@ | @@ -1,26 +1,26 @@ | |||
1 | # $NetBSD: Makefile,v 1.4 2015/03/14 13:47:44 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.5 2016/01/31 08:47:45 ryoon Exp $ | |
2 | 2 | |||
3 | DISTNAME= cgit-0.10.2 | 3 | DISTNAME= cgit-0.12 | |
4 | CATEGORIES= www | 4 | CATEGORIES= www | |
5 | MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/ | 5 | MASTER_SITES= http://git.zx2c4.com/cgit/snapshot/ | |
6 | EXTRACT_SUFX= .tar.xz | 6 | EXTRACT_SUFX= .tar.xz | |
7 | # cgit builds its own libgit using a known-good version | 7 | # cgit builds its own libgit using a known-good version | |
8 | # check release notes or README when updating the package | 8 | # check release notes or README when updating the package | |
9 | GIT_VER= 2.0.1 | 9 | GIT_VER= 2.7.0 | |
10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} git-${GIT_VER}${EXTRACT_SUFX} | 10 | DISTFILES= ${DISTNAME}${EXTRACT_SUFX} git-${GIT_VER}${EXTRACT_SUFX} | |
11 | SITES.git-${GIT_VER}${EXTRACT_SUFX}= http://hjemli.net/git/git/snapshot/ | 11 | SITES.git-${GIT_VER}${EXTRACT_SUFX}= http://hjemli.net/git/git/snapshot/ | |
12 | 12 | |||
13 | HOMEPAGE= http://hjemli.net/git/cgit | 13 | HOMEPAGE= http://git.zx2c4.com/cgit/ | |
14 | COMMENT= Fast web interface for git | 14 | COMMENT= Fast web interface for git | |
15 | MAINTAINER= pkgsrc-users@NetBSD.org | 15 | MAINTAINER= pkgsrc-users@NetBSD.org | |
16 | LICENSE= gnu-gpl-v2 | 16 | LICENSE= gnu-gpl-v2 | |
17 | 17 | |||
18 | MAKE_JOBS_SAFE= no | 18 | MAKE_JOBS_SAFE= no | |
19 | 19 | |||
20 | USE_TOOLS+= gmake | 20 | USE_TOOLS+= gmake | |
21 | MAKE_FLAGS+= GIT_VER=${GIT_VER} | 21 | MAKE_FLAGS+= GIT_VER=${GIT_VER} | |
22 | BUILD_MAKE_FLAGS+= CGIT_CONFIG=${PKG_SYSCONFDIR}/cgitrc | 22 | BUILD_MAKE_FLAGS+= CGIT_CONFIG=${PKG_SYSCONFDIR}/cgitrc | |
23 | 23 | |||
24 | CGIT_CONFIG= ${PKG_SYSCONFDIR}/cgitrc | 24 | CGIT_CONFIG= ${PKG_SYSCONFDIR}/cgitrc | |
25 | CGIT_CGIBIN= ${PREFIX}/libexec/cgi-bin | 25 | CGIT_CGIBIN= ${PREFIX}/libexec/cgi-bin | |
26 | CGIT_FILTERS= ${PREFIX}/libexec/cgit/filters | 26 | CGIT_FILTERS= ${PREFIX}/libexec/cgit/filters |
@@ -1,12 +1,12 @@ | @@ -1,12 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2015/11/04 02:46:51 agc Exp $ | 1 | $NetBSD: distinfo,v 1.3 2016/01/31 08:47:45 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (cgit-0.10.2.tar.xz) = 1b4487f0cee1ed9eeb78c079a551e54debf0adfc | 3 | SHA1 (cgit-0.12.tar.xz) = 0bef0bf444cf7bbd854fc270754c1ea829162acb | |
4 | RMD160 (cgit-0.10.2.tar.xz) = 7a82ece61ccd99aa8dfa5f515ca5b349fdba008e | 4 | RMD160 (cgit-0.12.tar.xz) = 3670c97dcd4b049266a7fa5f77e6766bab2bb8b3 | |
5 | SHA512 (cgit-0.10.2.tar.xz) = 5f4a0b65a9a802f5a464224ad4773ce6c926d0e61bb53baa4270f923570d92674b2b1b0669a74eb0e25d2b5e7fc7f637b37037c2371ebd7a3437ce28d78d650f | 5 | SHA512 (cgit-0.12.tar.xz) = 59c9189b5713184b07a7db65c30e26987bd14d76ccb998be52fb2d1cca0ae0d1637391c4d14ab58d29c0b58b586c1294ae865e140eda2a031ca1f175d83abc34 | |
6 | Size (cgit-0.10.2.tar.xz) = 92216 bytes | 6 | Size (cgit-0.12.tar.xz) = 85152 bytes | |
7 | SHA1 (git-2.0.1.tar.xz) = 83a12e09356df917987637457e4207b31487c3f4 | 7 | SHA1 (git-2.7.0.tar.xz) = c9b9adf97236eee084608d1d8a1754ae851897fa | |
8 | RMD160 (git-2.0.1.tar.xz) = b490ae257da41fbc954a3251ed6e57260d351ea0 | 8 | RMD160 (git-2.7.0.tar.xz) = 010b3434836135e9a11ea91b20654dc9dbb1323f | |
9 | SHA512 (git-2.0.1.tar.xz) = e5ea6f25c3552509d621f67c928353bc7e36b1f790edc3a7692bf8c7cceb7db2815fe69ad5aa001af778d280bbbdbebfea2ff8058ccc18f61e71b702bb1d925a | 9 | SHA512 (git-2.7.0.tar.xz) = e2d51e3d547229bb1e5c3a92c71476695f23420d9c639f9cb1d953fd00579aad92f9bbaf8f3d45f966c9476da73bf4c11dabf18c06f542de6e4d26e12c43dcf3 | |
10 | Size (git-2.0.1.tar.xz) = 3435256 bytes | 10 | Size (git-2.7.0.tar.xz) = 3861524 bytes | |
11 | SHA1 (patch-cgitrc) = a363a2b22f237c507cab7d164e91389d02734372 | 11 | SHA1 (patch-cgitrc) = a363a2b22f237c507cab7d164e91389d02734372 | |
12 | SHA1 (patch-git-Makefile) = 1479063537dd98d6da8af396680d179e24960ed8 | 12 | SHA1 (patch-git-Makefile) = 1479063537dd98d6da8af396680d179e24960ed8 |