pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/gitea



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jun  3 18:30:28 UTC 2020

Modified Files:
        pkgsrc/www/gitea: Makefile distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 pkgsrc/www/gitea/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/gitea/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/gitea/Makefile
diff -u pkgsrc/www/gitea/Makefile:1.36 pkgsrc/www/gitea/Makefile:1.37
--- pkgsrc/www/gitea/Makefile:1.36      Tue Jun  2 08:24:57 2020
+++ pkgsrc/www/gitea/Makefile   Wed Jun  3 18:30:28 2020
@@ -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 @@ LICENSE=     mit
 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 @@ BUILD_TARGET=       backend
 
 #
 # 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
 #

Index: pkgsrc/www/gitea/distinfo
diff -u pkgsrc/www/gitea/distinfo:1.21 pkgsrc/www/gitea/distinfo:1.22
--- pkgsrc/www/gitea/distinfo:1.21      Thu May 21 13:36:12 2020
+++ pkgsrc/www/gitea/distinfo   Wed Jun  3 18:30:28 2020
@@ -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