Up to [cvs.NetBSD.org] / pkgsrc / www / cgit
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
cgit: fix path to config file in binary From Sunil Nimmagadda in PR 60854. Bump PKGREVISION.
cgit: provide INSTALL binary name to Makefile Should fix SmartOS build
cgit: install man page While here, simplify package. Bump PKGREVISION. Fixes PR 60252.
cgit: update to 1.3. As the first release in 6 years, there's a lot in here: bug fixes of every which variety, git modernizations (v2.53), css updates, and even javascript for the first time, for the new dynamic aging feature.
cgit: Add memrchr as a required feature, potentially from libnbcompat
*: bump for openssl 3
Udate to cgit-1.2.3 == ChangeLog v1.2.3 == 14 files changed, 183 insertions(+), 26 deletions(-) This patch updates us to git 2.25.1, augments our tests, adds support for lzip and zstd, and fixes a crash in when following logs. == ChangeLog v1.2.2 == 38 files changed, 264 insertions(+), 153 deletions(-) In terms of features, this release adds support for per-repository overrides of the enable-blame command, since git-blame can be expensive on huge repos. == ChangeLog v1.2.1 == 6 files changed, 465 insertions(+), 39 deletions(-) Notable Changes: * The authentication filters have been revamped, and a new one using file-based access lists has been added. * A bug fix for the cached rc file for the snapshot-prefix. * A fix for a critical directory traversal vulnerability, when `enable-http-clone=1` is not turned off, discovered by Jann Horn. This is pretty nasty and all users must update immediately. == ChangeLog v1.2 == 41 files changed, 1000 insertions(+), 497 deletions(-) Notable Changes: * Update to git 2.18. * Proper age sorting of repositories. * Print symlink content properly. * Numerous fixes to our cache system, addressing issues experienced on high- volume sites like kernel.org. * A new view for git-blame, showing the latest commit for each line of a given file. * Annotated tags are now printed in a slightly darker color. * The prefix for snapshots can now be controlled from the configuration file via repo.snapshot-prefix=, rather than only using the repo's basename. This is useful for serving, say, linux-4.17.7.tar.gz from a repository called linux-stable.git. * The snapshot tarball compression types now control which archives are allowed to be served, instead of merely controlling what was shown as a link on the webpage. This allows sitemasters to keep their cache size under control and also prohibit the use of expensive compression routines. * Signatures can now be added for snapshot tarballs through the use of git notes. Details are found in the cgitrc(5) man page: https://git.zx2c4.com/cgit/tree/cgitrc.5.txt?id=22583c4992852fff08559c35fde7bf6f673d1644#n770 * The extra-head-content= option was added for appending additional meta-tags to the <head> section, such as those required for the `go get` utility. * Numerous important bug fixes, crash fixes, memory leak fixes, and compiler fixes.
*: Recursive revision bump for openssl 1.1.1.
Follow some http -> https redirects.
Pullup ticket #5346 - requested by sevan
www/cgit: build fix
Revisions pulled up:
- www/cgit/Makefile 1.8
- www/cgit/distinfo 1.5
- www/cgit/patches/patch-git-Makefile 1.2
---
Module Name: pkgsrc
Committed By: jperkin
Date: Fri Apr 21 15:05:52 UTC 2017
Modified Files:
pkgsrc/www/cgit: Makefile distinfo
pkgsrc/www/cgit/patches: patch-git-Makefile
Log Message:
Don't overwrite CFLAGS/LDFLAGS. Needs libiconv.
Don't overwrite CFLAGS/LDFLAGS. Needs libiconv.
Update to cgit-1.1. Changes include: * Single-child trees are now elided into single links. Instead of having to click through depths of links, now a single link will to to the maximum point of depth. * Continuing our commitment to supporting kernel.org, we've adopted some of their style changes in our CSS, now allowing for colored even/odd table rows with a nice hover effect. * Snapshot name prettification is now consistent, so that the 'v' prefix stripping only occurs when it won't create any collisions. This is a slight change of behavior, but I imagine cases of folks relying on the old broken behavior are few and far between. * We now use Git 2.10.2 internally, which has brought with it numerous cleanups and a gradual shift away from 20 byte uchar arrays and toward the newer "object_id" structure.
Bump PKGREVISION for security/openssl ABI bump.
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 links
wants to link with pthreads
needs zlib
bulk build wants openssl
Import cgit-0.10.2 as www/cgit, packaged by mstapelberg, rsmarples, ryoon in wip and updated and prepared for import by dillo. cgit is a cgi application implemented in C. It is non-forking, uses an internal cache to speed things up. Also, it features virtual URLs (unlike gitweb).