Subject: [alpine-aports] [PATCH] community/gogs: upgrade to 0.11.79

From: Bradley Saulteaux <[email-masked]>
Date: Mon, 21 Jan 2019 16:30:00 -0700

http://sprunge.us/EzVkRd

---
 community/gogs/APKBUILD | 12 ++++++------
 community/gogs/gogs.ini |  1 +
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/community/gogs/APKBUILD b/community/gogs/APKBUILD
index 3b31966851..9e049c1ecf 100644
--- a/community/gogs/APKBUILD
+++ b/community/gogs/APKBUILD
@@ -1,8 +1,8 @@
 # Contributor: Carlo Landmeter <[email-masked]>
 # Maintainer: 7heo <[email-masked]>
 pkgname=gogs
-pkgver=0.11.34
-pkgrel=2
+pkgver=0.11.79
+pkgrel=1
 pkgdesc="A self-hosted Git service written in Go"
 url="https://gogs.io/"
 arch="all"
@@ -12,14 +12,14 @@ makedepends="go perl libcap"
 install="$pkgname.pre-install"
 pkgusers="gogs"
 pkggroups="www-data"
-source="${pkgname}-${pkgver}.tar.gz::https://github.com/gogits/$pkgname/archive/v$pkgver.tar.gz
+source="${pkgname}-${pkgver}.tar.gz::https://github.com/gogs/$pkgname/archive/v$pkgver.tar.gz
  $pkgname.initd
  $pkgname.confd
  $pkgname.ini"
-builddir="$srcdir/github.com/gogits/$pkgname"
+builddir="$srcdir/github.com/gogs/$pkgname"

 prepare() {
- mkdir -p "$srcdir"/github.com/gogits
+ mkdir -p "$srcdir"/github.com/gogs
  mv "$srcdir"/$pkgname-$pkgver "$builddir"/ || return 1

  default_prepare
@@ -67,7 +67,7 @@ package() {
  "$pkgdir"/etc/conf.d/$pkgname || return 1
 }

-sha512sums="0de420bf2d27ab86f5efd6cb5c4a43d1f8cb0f98abe3791177c14ef9e38437571ba4491c62cf7e9f6366469294197c57cd149a6c633cc08640c612b5ee506838
 gogs-0.11.34.tar.gz
+sha512sums="0534439c7b8ece9c2f88ace8d5247a735c5f6c0c6153d2d4db8a01a147c4443e0b77ab3516e9faa6c5895c0c40cbfdcacaf158822635d3e0c0f1983f859e4f94
 gogs-0.11.79.tar.gz
 be5a9ef2cae1ee2e8106feb6a997ae06519af91fe57f746d20996e79c332c93bb43fc53f79ff4e8ce13222afc6f3dc7bc5cbb758ef201b03e49d809c87c8c4c7
 gogs.initd
 52ce41c05c263b790221a04d13d2eb9bba689e4bd72daf5b6af31416e80a485a46bae19e18581d7bde879307283847e6486686a2fe4140fe38ebb6f315e11a86
 gogs.confd
 4c2b398cf93ebb8b743b9e7ec1b075706427081036effb53fa90729e70fbc3eb92f2f853278b887ca79dc35cd55a64e1bff4d18e1ad246beab2a723aa9cd71ba
 gogs.ini"
diff --git a/community/gogs/gogs.ini b/community/gogs/gogs.ini
index 6d344f2152..16be0843e4 100644
--- a/community/gogs/gogs.ini
+++ b/community/gogs/gogs.ini
@@ -6,6 +6,7 @@ ROOT = /var/lib/gogs/git
 SCRIPT_TYPE = sh

 [server]
+APP_DATA_PATH = /var/lib/gogs/data
 STATIC_ROOT_PATH = /usr/share/webapps/gogs

 [database]
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---