diff options
author | nia <nia@pkgsrc.org> | 2019-10-16 12:13:23 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-10-16 12:13:23 +0000 |
commit | 1d338ef0097ff565d0758d6c377089d5e0421732 (patch) | |
tree | 5f1828175985a56afb92140009165cab38d3d566 /www/gitea | |
parent | f98987b3bb7ab17e02eb0bc174793b469158f0e2 (diff) | |
download | pkgsrc-1d338ef0097ff565d0758d6c377089d5e0421732.tar.gz |
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 (limited to 'www/gitea')
9 files changed, 7 insertions, 256 deletions
diff --git a/www/gitea/Makefile b/www/gitea/Makefile index 780f28d0a45..81e1ed90696 100644 --- a/www/gitea/Makefile +++ b/www/gitea/Makefile @@ -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 --git a/www/gitea/distinfo b/www/gitea/distinfo index 19fef786fa7..d97503a6ea6 100644 --- a/www/gitea/distinfo +++ b/www/gitea/distinfo @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go deleted file mode 100644 index 5ff9966bab7..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap.go +++ /dev/null @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go deleted file mode 100644 index f9ca26408c6..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__solaris.go +++ /dev/null @@ -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© != 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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go deleted file mode 100644 index 78521b7a3a4..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__sys.go +++ /dev/null @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go deleted file mode 100644 index c4edce81ef4..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__syscall.go +++ /dev/null @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go deleted file mode 100644 index 20b248e384a..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_mmap__unix.go +++ /dev/null @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go deleted file mode 100644 index af3c5350ead..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__netbsd.go +++ /dev/null @@ -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 --git a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go b/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go deleted file mode 100644 index 8b5451c9dd2..00000000000 --- a/www/gitea/patches/patch-vendor_github.com_edsrzf_mmap-go_msync__unix.go +++ /dev/null @@ -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 ( -- "syscall" -+ "golang.org/x/sys/unix" - ) - --const _SYS_MSYNC = syscall.SYS_MSYNC --const _MS_SYNC = syscall.MS_SYNC -+const _SYS_MSYNC = unix.SYS_MSYNC -+const _MS_SYNC = unix.MS_SYNC |