Received: by mail.netbsd.org (Postfix, from userid 605) id 1D92584D57; Wed, 3 Jun 2020 18:30:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9A59984D3F for ; Wed, 3 Jun 2020 18:30:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 9gzACjiJBZcj for ; Wed, 3 Jun 2020 18:30:29 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id CBE4684D3E for ; Wed, 3 Jun 2020 18:30:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id BEFA4FB27; Wed, 3 Jun 2020 18:30:28 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1591209028129900" MIME-Version: 1.0 Date: Wed, 3 Jun 2020 18:30:28 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/www/gitea To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20200603183028.BEFA4FB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1591209028129900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1591209028129900 Content-Disposition: inline Content-Length: 3298 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1591209028129900--