aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2018-03-27 10:51:54 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-05-30 13:36:07 +0000
commit4b9cc0a8dd2b9aeec9218b8e66b851d176fe25ef (patch)
treed0c70e709c5714b14ef59612cd59eb929f375ee9 /community
parenta6e03f4abbc28fb6e08e402d554bef477e3e17e9 (diff)
downloadaports-4b9cc0a8dd2b9aeec9218b8e66b851d176fe25ef.tar.bz2
aports-4b9cc0a8dd2b9aeec9218b8e66b851d176fe25ef.tar.xz
community/gogs: upgrade to 0.11.34
Remove the need for glide, and upgrade to 0.11.34
Diffstat (limited to 'community')
-rw-r--r--community/gogs/APKBUILD25
-rw-r--r--community/gogs/glide.lock.patch13
2 files changed, 6 insertions, 32 deletions
diff --git a/community/gogs/APKBUILD b/community/gogs/APKBUILD
index acf618f899..b307f10b31 100644
--- a/community/gogs/APKBUILD
+++ b/community/gogs/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: 7heo <7heo@mail.com>
pkgname=gogs
-pkgver=0.9.97
-pkgrel=1
+pkgver=0.11.34
+pkgrel=0
pkgdesc="A self-hosted Git service written in Go"
url="https://gogs.io/"
arch="all"
license="MIT"
depends="git"
-makedepends="glide go-tools perl libcap"
+makedepends="go-tools perl libcap"
install="$pkgname.pre-install"
pkgusers="gogs"
pkggroups="www-data"
@@ -16,8 +16,7 @@ options="!strip"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/gogits/$pkgname/archive/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
- $pkgname.ini
- glide.lock.patch"
+ $pkgname.ini"
builddir="$srcdir/github.com/gogits/$pkgname"
prepare() {
@@ -30,7 +29,6 @@ prepare() {
build() {
export GOPATH="$startdir"
cd "$builddir" || return 1
- glide install || return 1
go fix || return 1
# Note: sqlite causes problems without the pie buildmode
go build -buildmode=pie -v -tags "sqlite redis memcache cert" ||return 1
@@ -70,18 +68,7 @@ package() {
"$pkgdir"/etc/conf.d/$pkgname || return 1
}
-md5sums="ac4fad165dea9d6300843be3c424b024 gogs-0.9.97.tar.gz
-91cd8b6b27509beecb53594463315f43 gogs.initd
-6b3f501f9c37b5032cab8b49b5621fc4 gogs.confd
-82edfdabfdf0ac64dc545036ca499465 gogs.ini
-708d80eda8fee6c9db26228b436b53dd glide.lock.patch"
-sha256sums="9c619f7e092c869cebeedd6d8f9776e3383963c1ae21bea70a149f5b6b6f56a6 gogs-0.9.97.tar.gz
-23a9bfcf7d1fd7cb5b7bf13ab0b0f412c29c1ebdd62fc02c78dd885cbe5d703d gogs.initd
-a1c584dbc2d44694ffcf87ecafdf6a43ae81370175ca9cc6e6ff7623b8b05254 gogs.confd
-ead0082c56e8e8f9e9ba7f4c206c2a18bb732726137b71e05d83347638562530 gogs.ini
-70491608c949b65c03e059abb78805e9db3deb76ed6bca68045cea0a51cfb6fa glide.lock.patch"
-sha512sums="4ea51d7dc3f70a352765c9e736ebbf290b652253309f44ab08c6c95a96b033356db954d0da22cea754c346537af2c24f3239fcbb7c1babf9161f710d75b4e9e5 gogs-0.9.97.tar.gz
+sha512sums="0de420bf2d27ab86f5efd6cb5c4a43d1f8cb0f98abe3791177c14ef9e38437571ba4491c62cf7e9f6366469294197c57cd149a6c633cc08640c612b5ee506838 gogs-0.11.34.tar.gz
be5a9ef2cae1ee2e8106feb6a997ae06519af91fe57f746d20996e79c332c93bb43fc53f79ff4e8ce13222afc6f3dc7bc5cbb758ef201b03e49d809c87c8c4c7 gogs.initd
52ce41c05c263b790221a04d13d2eb9bba689e4bd72daf5b6af31416e80a485a46bae19e18581d7bde879307283847e6486686a2fe4140fe38ebb6f315e11a86 gogs.confd
-4c2b398cf93ebb8b743b9e7ec1b075706427081036effb53fa90729e70fbc3eb92f2f853278b887ca79dc35cd55a64e1bff4d18e1ad246beab2a723aa9cd71ba gogs.ini
-7582a127cce249771b9c96495b250fb86c51c8306da98dbb7de598269623a4f897135db648e3add4ad6521e3914667839577c27c63f4e13651ccce3fdeebfc95 glide.lock.patch"
+4c2b398cf93ebb8b743b9e7ec1b075706427081036effb53fa90729e70fbc3eb92f2f853278b887ca79dc35cd55a64e1bff4d18e1ad246beab2a723aa9cd71ba gogs.ini"
diff --git a/community/gogs/glide.lock.patch b/community/gogs/glide.lock.patch
deleted file mode 100644
index dabe87983e..0000000000
--- a/community/gogs/glide.lock.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/glide.lock b/glide.lock
-index 0d280df..41bf43a 100644
---- a/glide.lock
-+++ b/glide.lock
-@@ -146,7 +146,7 @@ imports:
- - name: gopkg.in/ldap.v2
- version: d0a5ced67b4dc310b9158d63a2c6f9c5ec13f105
- - name: gopkg.in/macaron.v1
-- version: 7564489a79f3f96b7ac8034652b35eeebb468eb4
-+ version: 4974334b10dbb6f5c0e17f4c10555ff050a16329
- - name: gopkg.in/redis.v2
- version: e6179049628164864e6e84e973cfb56335748dea
- devImports: []