Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/gitea gitea: Update to 1.11.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3255a9b3bdc4
branches:  trunk
changeset: 433547:3255a9b3bdc4
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jun 03 18:30:28 2020 +0000

description:
gitea: Update to 1.11.6

Patch submitted by teutat3s.  Changes since 1.11.5:

## [1.11.6](https://github.com/go-gitea/gitea/releases/tag/v1.11.6) - 2020-05-30

* SECURITY
  * Fix missing authorization check on pull for public repos of private/limited
    org (#11656) (#11683)
  * Use session for retrieving org teams (#11438) (#11439)
* BUGFIXES
  * Return json on 500 error from API (#11574) (#11660)
  * Fix wrong milestone in webhook message (#11596) (#11612)
  * Prevent (caught) panic on login (#11590) (#11598)
  * Fix commit page js error (#11527)
  * Use media links for img in post-process (#10515) (#11504)
  * Ensure public repositories in private organizations are visible and fix
    admin organizations list (#11465) (#11475)
  * Set correct Content-Type value for Gogs/Gitea webhooks (#9504) (#10456)
    (#11461)
  * Allow all members of private orgs to see public repos (#11442) (#11459)
  * Whenever the ctx.Session is updated, release it to save it before sending
    the redirect (#11456) (#11457)
  * Forcibly clean and destroy the session on logout (#11447) (#11451)
  * Fix /api/v1/orgs/* endpoints by changing parameter to :org from :orgname
    (#11381)
  * Add tracked time fix to doctor (part of #11111) (#11138)
  * Fix webpack chunk loading with STATIC_URL_PREFIX (#11526) (#11544)
  * Remove unnecessary parentheses in wiki/revision.tmpl to allow 1.11 to build
    on go1.14  (#11481)

diffstat:

 www/gitea/Makefile |  21 ++++++++++++++-------
 www/gitea/distinfo |  10 +++++-----
 2 files changed, 19 insertions(+), 12 deletions(-)

diffs (65 lines):

diff -r b64a981bc2cc -r 3255a9b3bdc4 www/gitea/Makefile
--- a/www/gitea/Makefile        Wed Jun 03 17:08:05 2020 +0000
+++ b/www/gitea/Makefile        Wed Jun 03 18:30:28 2020 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.36 2020/06/02 08:24:57 adam Exp $
+# $NetBSD: Makefile,v 1.37 2020/06/03 18:30:28 jperkin Exp $
 
-DISTNAME=      gitea-1.11.5
-PKGREVISION=   2
+DISTNAME=      gitea-1.11.6
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-gitea/}
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
@@ -14,7 +13,11 @@
 GO_DIST_BASE=          ${DISTNAME}
 GO_SRCPATH=            code.gitea.io/gitea
 
-FRONTEND=              ${DISTNAME}-frontend.tar.gz
+#
+# The front-end files do not change every release, so only bump this when
+# necessary to avoid excessive uploads to LOCAL_PORTS.
+#
+FRONTEND=              gitea-1.11.5-frontend.tar.gz
 SITES.${FRONTEND}=     ${MASTER_SITE_LOCAL}
 DISTFILES:=            ${DEFAULT_DISTFILES} ${FRONTEND}
 
@@ -22,11 +25,15 @@
 
 #
 # When updating this package it is necessary to build the front-end artefacts
-# and upload them to LOCAL_PORTS.  Doing this at build time is untenable as npm
-# will download a significant number of modules.
+# and upload them to LOCAL_PORTS, but only if they differ from the existing
+# frontend tarball.
+#
+# This must not be enabled for normal builds as npm will download a significant
+# number of modules by itself, bypassing the usual pkgsrc distfiles rules.
 #
 # Install nodejs>=10 and npm, uncomment the additional BUILD_TARGET, run the
-# generate-artefacts target, then upload the distfile to LOCAL_PORTS.
+# generate-frontend target, and compare with the previous contents.  If needed,
+# upload the generated distfile to LOCAL_PORTS and bump FRONTEND.
 #
 #BUILD_TARGET+=        frontend
 #
diff -r b64a981bc2cc -r 3255a9b3bdc4 www/gitea/distinfo
--- a/www/gitea/distinfo        Wed Jun 03 17:08:05 2020 +0000
+++ b/www/gitea/distinfo        Wed Jun 03 18:30:28 2020 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.21 2020/05/21 13:36:12 jperkin Exp $
+$NetBSD: distinfo,v 1.22 2020/06/03 18:30:28 jperkin Exp $
 
 SHA1 (gitea-1.11.5-frontend.tar.gz) = 262d7161cbfa663624094e44307ec4f32d182698
 RMD160 (gitea-1.11.5-frontend.tar.gz) = 7b1790a486d86d0043f98dcfd9a8d75696b6bfc7
 SHA512 (gitea-1.11.5-frontend.tar.gz) = 2350c0d8a71b2b5157b5158be90b4ef70dcf7779dd551082340a7bc44d999a79f57f779a412ffcd9d83b67210b31e0bd1c9c530acbf3ef89aa3fb4ed34b16255
 Size (gitea-1.11.5-frontend.tar.gz) = 304761 bytes
-SHA1 (gitea-1.11.5.tar.gz) = bc8ca807775578f0ffdc73e8d8c68b28211878c4
-RMD160 (gitea-1.11.5.tar.gz) = 942aabda1f4efe5a9cc5778a2283558c2d97e39b
-SHA512 (gitea-1.11.5.tar.gz) = ba80ba77f6f761a03d062d5ceaacf0d2f9a7c5ad3c414f3d34ff31ee37ac00c4af562ecba0f14c6dca3ad2012e6cbfd8aea105dd87cfb06aedc80cf22a9ff12b
-Size (gitea-1.11.5.tar.gz) = 28249501 bytes
+SHA1 (gitea-1.11.6.tar.gz) = 83c2c5f9933766c02d6448a86a9e27ccaeb006a3
+RMD160 (gitea-1.11.6.tar.gz) = c1f28eb93ff35fd5dfda8a64e152b783b64bd11b
+SHA512 (gitea-1.11.6.tar.gz) = b99b9c4bfddee2f30055e244f4488c45396c34e026efee69487d63af3a35a80e7caf0f3e77f02c1e768f1a550a599b8e8c578d2428ae69ec5e299f9f320aef95
+Size (gitea-1.11.6.tar.gz) = 28251633 bytes
 SHA1 (patch-Makefile) = e24daca412c8213a5cc8f312bb258b24d20e6407



Home | Main Index | Thread Index | Old Index