pkgsrc-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.9.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/869234f8e14e
branches:  trunk
changeset: 342231:869234f8e14e
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Oct 16 12:13:23 2019 +0000

description:
gitea: Update to 1.9.4

* BUGFIXES
  * Highlight issue references (#8101) (#8404)
  * Fix bug when migrating a private repository #7917 (#8403)
  * Change general form binding to gogs form (#8334) (#8402)
  * Fix editor commit to new branch if PR disabled (#8375) (#8401)
  * Fix milestone num_issues (#8221) (#8400)
  * Allow users with explicit read access to give approvals (#8398)
  * Fix commit status in PR #8316 and PR #8321 (#8339)
  * Fix API for edit and delete release attachment (#8290)
  * Fix assets on release webhook (#8283)
  * Fix release API URL generation (#8239)
  * Allow registration when button is hidden (#8238)
  * MS Teams webhook misses commit messages (backport v1.9) (#8225)
  * Fix data race (#8206)
  * Fix pull merge 500 error caused by git-fetch breaking behaviors (#8194)
  * Fix the SSH config specification in the authorized_keys template (#8193)
  * Fix reading git notes from nested trees (#8189)
  * Fix team user api (#8172) (#8188)
  * Add reviewers as participants (#8124)
* BUILD
  * Use vendored go-swagger (#8087) (#8165)
  * Fix version-validation for GO 1.13 (go-macaron/cors) (#8389)
* MISC
  * Make show private icon when repo avatar set (#8144) (#8175)

diffstat:

 www/gitea/Makefile                                                        |   5 +-
 www/gitea/distinfo                                                        |  10 +-
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go          |  42 -----
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go |  73 ----------
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go     |  42 -----
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go |  46 ------
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go    |  13 -
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go |  10 -
 www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go   |  22 ---
 9 files changed, 7 insertions(+), 256 deletions(-)

diffs (truncated from 308 to 300 lines):

diff -r f527b127492d -r 869234f8e14e www/gitea/Makefile
--- a/www/gitea/Makefile        Wed Oct 16 12:02:57 2019 +0000
+++ b/www/gitea/Makefile        Wed Oct 16 12:13:23 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2019/09/26 20:10:56 bsiegert Exp $
+# $NetBSD: Makefile,v 1.13 2019/10/16 12:13:23 nia Exp $
 
-DISTNAME=      gitea-1.9.3
+DISTNAME=      gitea-1.9.4
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-gitea/}
-PKGREVISION=   1
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
diff -r f527b127492d -r 869234f8e14e www/gitea/distinfo
--- a/www/gitea/distinfo        Wed Oct 16 12:02:57 2019 +0000
+++ b/www/gitea/distinfo        Wed Oct 16 12:13:23 2019 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2019/09/10 08:46:37 nia Exp $
+$NetBSD: distinfo,v 1.9 2019/10/16 12:13:23 nia Exp $
 
-SHA1 (gitea-1.9.3.tar.gz) = 02b1755651de65cb0f0ac7ad15c049fe5eb17814
-RMD160 (gitea-1.9.3.tar.gz) = 582872c50eba970da58fafee74fe4990dc311ef6
-SHA512 (gitea-1.9.3.tar.gz) = 331a719cfec73f64650525c17d035c3df1ff23703196a8b0d4495693eecac7cced1f103012b694e8b37b9ee4ebf16f252f303a7525c06512c3124bed66043e27
-Size (gitea-1.9.3.tar.gz) = 24064564 bytes
+SHA1 (gitea-1.9.4.tar.gz) = a5f28d3e2572828233f4d52cecf1a230393f68fc
+RMD160 (gitea-1.9.4.tar.gz) = 936b8a60bc4b7935afcd61af3428440e35607c3a
+SHA512 (gitea-1.9.4.tar.gz) = a885567ffcc21ef821348be0b698b5f101bfc46b746603679441bee4c6abe34ea062bd0a2d5fb5c029ce26caa3b70a51c6d9088fdccebb44be74f1e523faf711
+Size (gitea-1.9.4.tar.gz) = 25355645 bytes
 SHA1 (patch-vendor_github.com_edsrzf_mmap-go_mmap.go) = fb6036fca52ad3ecf779080849a015fee640aba5
 SHA1 (patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go) = f4341dfab2b452f926353350ce861aa75e3e47f9
 SHA1 (patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go) = 4e6121157bbd4072feaca297c081efa49379a57c
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go  Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_mmap.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/mmap.go.orig      2018-08-10 17:16:53.000000000 +0000
-+++ vendor/github.com/edsrzf/mmap-go/mmap.go
-@@ -80,37 +80,3 @@ func MapRegion(f *os.File, length int, p
- func (m *MMap) header() *reflect.SliceHeader {
-       return (*reflect.SliceHeader)(unsafe.Pointer(m))
- }
--
--// Lock keeps the mapped region in physical memory, ensuring that it will not be
--// swapped out.
--func (m MMap) Lock() error {
--      dh := m.header()
--      return lock(dh.Data, uintptr(dh.Len))
--}
--
--// Unlock reverses the effect of Lock, allowing the mapped region to potentially
--// be swapped out.
--// If m is already unlocked, aan error will result.
--func (m MMap) Unlock() error {
--      dh := m.header()
--      return unlock(dh.Data, uintptr(dh.Len))
--}
--
--// Flush synchronizes the mapping's contents to the file's contents on disk.
--func (m MMap) Flush() error {
--      dh := m.header()
--      return flush(dh.Data, uintptr(dh.Len))
--}
--
--// Unmap deletes the memory mapped region, flushes any remaining changes, and sets
--// m to nil.
--// Trying to read or write any remaining references to m after Unmap is called will
--// result in undefined behavior.
--// Unmap should only be called on the slice value that was originally returned from
--// a call to Map. Calling Unmap on a derived slice may cause errors.
--func (m *MMap) Unmap() error {
--      dh := m.header()
--      err := unmap(dh.Data, uintptr(dh.Len))
--      *m = nil
--      return err
--}
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,73 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/mmap_solaris.go.orig      2018-08-27 13:51:58.191704067 +0000
-+++ vendor/github.com/edsrzf/mmap-go/mmap_solaris.go
-@@ -0,0 +1,68 @@
-+// Copyright 2011 Evan Shaw. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build solaris
-+
-+package mmap
-+
-+
-+import (
-+      "golang.org/x/sys/unix"
-+)
-+
-+func mmap(len int, inprot, inflags, fd uintptr, off int64) ([]byte, error) {
-+      flags := unix.MAP_SHARED
-+      prot := unix.PROT_READ
-+      switch {
-+      case inprot&COPY != 0:
-+              prot |= unix.PROT_WRITE
-+              flags = unix.MAP_PRIVATE
-+      case inprot&RDWR != 0:
-+              prot |= unix.PROT_WRITE
-+      }
-+      if inprot&EXEC != 0 {
-+              prot |= unix.PROT_EXEC
-+      }
-+      if inflags&ANON != 0 {
-+              flags |= unix.MAP_ANON
-+      }
-+
-+      b, err := unix.Mmap(int(fd), off, len, prot, flags)
-+      if err != nil {
-+              return nil, err
-+      }
-+      return b, nil
-+}
-+
-+func flush(b []byte) error {
-+      err := unix.Msync(b, unix.MS_SYNC)
-+      if err != nil {
-+              return err
-+      }
-+      return nil
-+}
-+
-+func lock(b []byte) error {
-+      err := unix.Mlock(b)
-+      if err != nil {
-+              return err
-+      }
-+      return nil
-+}
-+
-+func unlock(b []byte) error {
-+      err := unix.Munlock(b)
-+      if err != nil {
-+              return err
-+      }
-+      return nil
-+}
-+
-+func unmap(b []byte) error {
-+      err := unix.Munmap(b)
-+      if err != nil {
-+              return err
-+      }
-+      return nil
-+}
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go     Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,42 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/mmap_sys.go.orig  2018-08-27 13:51:58.192140987 +0000
-+++ vendor/github.com/edsrzf/mmap-go/mmap_sys.go
-@@ -0,0 +1,37 @@
-+// Copyright 2011 Evan Shaw. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build solaris
-+
-+package mmap
-+
-+// Lock keeps the mapped region in physical memory, ensuring that it will not be
-+// swapped out.
-+func (m MMap) Lock() error {
-+      return lock([]byte(m))
-+}
-+
-+// Unlock reverses the effect of Lock, allowing the mapped region to potentially
-+// be swapped out.
-+// If m is already unlocked, aan error will result.
-+func (m MMap) Unlock() error {
-+      return unlock([]byte(m))
-+}
-+
-+// Flush synchronizes the mapping's contents to the file's contents on disk.
-+func (m MMap) Flush() error {
-+      return flush([]byte(m))
-+}
-+
-+// Unmap deletes the memory mapped region, flushes any remaining changes, and sets
-+// m to nil.
-+// Trying to read or write any remaining references to m after Unmap is called will
-+// result in undefined behavior.
-+// Unmap should only be called on the slice value that was originally returned from
-+// a call to Map. Calling Unmap on a derived slice may cause errors.
-+func (m *MMap) Unmap() error {
-+      err := unmap([]byte(*m))
-+      *m = nil
-+      return err
-+}
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/mmap_syscall.go.orig      2018-08-27 13:51:58.192608409 +0000
-+++ vendor/github.com/edsrzf/mmap-go/mmap_syscall.go
-@@ -0,0 +1,41 @@
-+// Copyright 2011 Evan Shaw. All rights reserved.
-+// Use of this source code is governed by a BSD-style
-+// license that can be found in the LICENSE file.
-+
-+// +build !solaris
-+
-+package mmap
-+
-+// Lock keeps the mapped region in physical memory, ensuring that it will not be
-+// swapped out.
-+func (m MMap) Lock() error {
-+      dh := m.header()
-+      return lock(dh.Data, uintptr(dh.Len))
-+}
-+
-+// Unlock reverses the effect of Lock, allowing the mapped region to potentially
-+// be swapped out.
-+// If m is already unlocked, aan error will result.
-+func (m MMap) Unlock() error {
-+      dh := m.header()
-+      return unlock(dh.Data, uintptr(dh.Len))
-+}
-+
-+// Flush synchronizes the mapping's contents to the file's contents on disk.
-+func (m MMap) Flush() error {
-+      dh := m.header()
-+      return flush(dh.Data, uintptr(dh.Len))
-+}
-+
-+// Unmap deletes the memory mapped region, flushes any remaining changes, and sets
-+// m to nil.
-+// Trying to read or write any remaining references to m after Unmap is called will
-+// result in undefined behavior.
-+// Unmap should only be called on the slice value that was originally returned from
-+// a call to Map. Calling Unmap on a derived slice may cause errors.
-+func (m *MMap) Unmap() error {
-+      dh := m.header()
-+      err := unmap(dh.Data, uintptr(dh.Len))
-+      *m = nil
-+      return err
-+}
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go    Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/mmap_unix.go.orig 2018-08-10 17:16:53.000000000 +0000
-+++ vendor/github.com/edsrzf/mmap-go/mmap_unix.go
-@@ -2,7 +2,7 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- 
--// +build darwin dragonfly freebsd linux openbsd solaris netbsd
-+// +build darwin dragonfly freebsd linux openbsd !solaris netbsd
- 
- package mmap
- 
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/msync_netbsd.go.orig      2019-02-12 11:18:50.418527745 +0000
-+++ vendor/github.com/edsrzf/mmap-go/msync_netbsd.go
-@@ -4,5 +4,3 @@
- 
- package mmap
- 
--const _SYS_MSYNC = 277
--const _MS_SYNC = 0x04
diff -r f527b127492d -r 869234f8e14e www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go
--- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go   Wed Oct 16 12:02:57 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-$NetBSD: patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go,v 1.1 2019/03/24 21:34:23 nia Exp $
-
---- vendor/github.com/edsrzf/mmap-go/msync_unix.go.orig        2019-01-31 16:11:25.000000000 +0000
-+++ vendor/github.com/edsrzf/mmap-go/msync_unix.go
-@@ -2,13 +2,13 @@
- // Use of this source code is governed by a BSD-style
- // license that can be found in the LICENSE file.
- 
--// +build darwin dragonfly freebsd linux openbsd solaris
-+// +build darwin dragonfly freebsd linux openbsd !solaris
- 
- package mmap
- 
- import (



Home | Main Index | Thread Index | Old Index