pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/cgit Udate to cgit-1.2.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/879065d138b8
branches:  trunk
changeset: 414676:879065d138b8
user:      roy <roy%pkgsrc.org@localhost>
date:      Tue Mar 31 13:59:32 2020 +0000

description:
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.

diffstat:

 www/cgit/Makefile                   |   7 ++---
 www/cgit/distinfo                   |  20 +++++++++---------
 www/cgit/patches/patch-git-Makefile |  41 ++++++++++++++++--------------------
 3 files changed, 31 insertions(+), 37 deletions(-)

diffs (99 lines):

diff -r 5e0998751041 -r 879065d138b8 www/cgit/Makefile
--- a/www/cgit/Makefile Tue Mar 31 12:59:27 2020 +0000
+++ b/www/cgit/Makefile Tue Mar 31 13:59:32 2020 +0000
@@ -1,13 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2020/01/18 21:51:05 jperkin Exp $
+# $NetBSD: Makefile,v 1.11 2020/03/31 13:59:32 roy Exp $
 
-DISTNAME=      cgit-1.1
-PKGREVISION=   1
+DISTNAME=      cgit-1.2.3
 CATEGORIES=    www
 MASTER_SITES=  https://git.zx2c4.com/cgit/snapshot/
 EXTRACT_SUFX=  .tar.xz
 # cgit builds its own libgit using a known-good version
 # check release notes or README when updating the package
-GIT_VER=       2.10.2
+GIT_VER=       2.25.1
 DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} git-${GIT_VER}${EXTRACT_SUFX}
 SITES.git-${GIT_VER}${EXTRACT_SUFX}=   http://hjemli.net/git/git/snapshot/
 
diff -r 5e0998751041 -r 879065d138b8 www/cgit/distinfo
--- a/www/cgit/distinfo Tue Mar 31 12:59:27 2020 +0000
+++ b/www/cgit/distinfo Tue Mar 31 13:59:32 2020 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.5 2017/04/21 15:05:52 jperkin Exp $
+$NetBSD: distinfo,v 1.6 2020/03/31 13:59:32 roy Exp $
 
-SHA1 (cgit-1.1.tar.xz) = 3ffb325a6c6a3f5c3e4f1d5fd0a10f6c91f61e6b
-RMD160 (cgit-1.1.tar.xz) = 9ad96a56d17ae060b73e8d576d0c065aa590fcfb
-SHA512 (cgit-1.1.tar.xz) = 8f2ec418716d7a6f0880a713b622f2ee41217dc2d5462903841d59d978a021a8bc2be667ca65c25baee2b9dcd4a76bddd0c813bda0486109cc694e7610827051
-Size (cgit-1.1.tar.xz) = 86268 bytes
-SHA1 (git-2.10.2.tar.xz) = 2023975ae0061bd569b8529025428e3eca53be2e
-RMD160 (git-2.10.2.tar.xz) = d4330857a79a20c5c9fad98b9bb592fb9cbec1b0
-SHA512 (git-2.10.2.tar.xz) = 0ab09de481dbb31c3304382afaa5d3fc9f861115c9954c65b11a8a1c34b939118c7ed3ff60ac329145888596388e3e4d2b2fb677fe109d33a57206d531b5ee6a
-Size (git-2.10.2.tar.xz) = 4106108 bytes
+SHA1 (cgit-1.2.3.tar.xz) = 8aba6b897efa3e5a246a30d761261dd2e2bbacc0
+RMD160 (cgit-1.2.3.tar.xz) = 4884b999302eb89afa67c73f07e8853f9402e681
+SHA512 (cgit-1.2.3.tar.xz) = 58f9bb644b07be49dc51f3ef30a3d0e53699cede3c06b1d6920f3874fe846c83dd2589632aa84357b70ea2d60272448409aa1b892f405d14dd6745f5559b4504
+Size (cgit-1.2.3.tar.xz) = 90632 bytes
+SHA1 (git-2.25.1.tar.xz) = bd69370c94de27b4b72257d1bc9bc6e45f04e70d
+RMD160 (git-2.25.1.tar.xz) = a8ab476982440c2cc94c7d21f619320d74f117d2
+SHA512 (git-2.25.1.tar.xz) = 15241143acfd8542d85d2709ac3c80dbd6e8d5234438f70c4f33cc71a2bdec3e32938df7f6351e2746d570b021d3bd0b70474ea4beec0c51d1fc45f9c287b344
+Size (git-2.25.1.tar.xz) = 5875548 bytes
 SHA1 (patch-cgitrc) = a363a2b22f237c507cab7d164e91389d02734372
-SHA1 (patch-git-Makefile) = 83ba1b173713ab9d0e664aaa36e4bc858b2f1037
+SHA1 (patch-git-Makefile) = bcac9c1a08d542a37557ff4bcc6dab7c19ea13c3
diff -r 5e0998751041 -r 879065d138b8 www/cgit/patches/patch-git-Makefile
--- a/www/cgit/patches/patch-git-Makefile       Tue Mar 31 12:59:27 2020 +0000
+++ b/www/cgit/patches/patch-git-Makefile       Tue Mar 31 13:59:32 2020 +0000
@@ -1,31 +1,26 @@
-$NetBSD: patch-git-Makefile,v 1.2 2017/04/21 15:05:52 jperkin Exp $
+$NetBSD: patch-git-Makefile,v 1.3 2020/03/31 13:59:33 roy Exp $
 
 Don't put HOME into binaries.
 
---- git/Makefile.orig  2016-10-28 19:34:16.000000000 +0000
-+++ git/Makefile
-@@ -391,7 +391,6 @@ GIT-VERSION-FILE: FORCE
- 
- # CFLAGS and LDFLAGS are for the users to override from the command line.
- 
--CFLAGS = -g -O2 -Wall
- DEVELOPER_CFLAGS = -Werror \
-       -Wdeclaration-after-statement \
-       -Wno-format-zero-length \
-@@ -401,7 +400,6 @@ DEVELOPER_CFLAGS = -Werror \
-       -Wstrict-prototypes \
-       -Wunused \
-       -Wvla
--LDFLAGS =
- ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
- ALL_LDFLAGS = $(LDFLAGS)
- STRIP ?= strip
-@@ -423,7 +421,7 @@ ARFLAGS = rcs
- #   htmldir
+--- git/Makefile.orig  2020-02-17 04:47:35.000000000 +0000
++++ git/Makefile       2020-03-31 13:41:57.076648624 +0000
+@@ -522,7 +522,7 @@
+ #   perllibdir
  # This can help installing the suite in a relocatable way.
  
 -prefix = $(HOME)
 +prefix = $(PREFIX)
- bindir_relative = bin
- bindir = $(prefix)/$(bindir_relative)
+ bindir = $(prefix)/bin
  mandir = $(prefix)/share/man
+ infodir = $(prefix)/share/info
+@@ -1174,8 +1174,8 @@
+ # Set CFLAGS, LDFLAGS and other *FLAGS variables. These might be
+ # tweaked by config.* below as well as the command-line, both of
+ # which'll override these defaults.
+-CFLAGS = -g -O2 -Wall
+-LDFLAGS =
++# CFLAGS = -g -O2 -Wall
++# LDFLAGS =
+ CC_LD_DYNPATH = -Wl,-rpath,
+ BASIC_CFLAGS = -I.
+ BASIC_LDFLAGS =



Home | Main Index | Thread Index | Old Index