summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAudrius Kažukauskas <audrius@neutrino.lt>2018-03-31 17:12:51 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-01 08:33:45 +0700
commit4f9ef4783e56e2c49a476a30eced4f0c286b1dc9 (patch)
tree62f66994dd0b2c568a89c046d1a6c0eb7f4db101 /system
parentf7d6d0d7a19d06dd4ce6191153f2e733f67eb49e (diff)
downloadslackbuilds-4f9ef4783e56e2c49a476a30eced4f0c286b1dc9.tar.gz
system/docker-proxy: Updated for version 20180314_1b91bc9.
Signed-off-by: Audrius Kažukauskas <audrius@neutrino.lt>
Diffstat (limited to 'system')
-rw-r--r--system/docker-proxy/docker-proxy.SlackBuild10
-rw-r--r--system/docker-proxy/docker-proxy.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/system/docker-proxy/docker-proxy.SlackBuild b/system/docker-proxy/docker-proxy.SlackBuild
index e8c00a2411..9b9c1e6444 100644
--- a/system/docker-proxy/docker-proxy.SlackBuild
+++ b/system/docker-proxy/docker-proxy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for docker-proxy
-# Copyright 2017 Audrius Kažukauskas <audrius@neutrino.lt>
+# Copyright 2017-2018 Audrius Kažukauskas <audrius@neutrino.lt>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=docker-proxy
-VERSION=${VERSION:-20170120_7b2b1fe}
-GITHASH=${GITHASH:-7b2b1feb1de4817d522cc372af149ff48d25028e}
+VERSION=${VERSION:-20180314_1b91bc9}
+GITHASH=${GITHASH:-1b91bc94094ecfdae41daa465cc0c8df37dfb3dd}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,6 +57,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mkdir build
+mv vendor build/src
+
+GOPATH=$TMP/$SRCNAM-$GITHASH/build \
go build -o $PKG/usr/bin/docker-proxy ./cmd/proxy
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/docker-proxy/docker-proxy.info b/system/docker-proxy/docker-proxy.info
index 527b4f0e22..a18d389adb 100644
--- a/system/docker-proxy/docker-proxy.info
+++ b/system/docker-proxy/docker-proxy.info
@@ -1,10 +1,10 @@
PRGNAM="docker-proxy"
-VERSION="20170120_7b2b1fe"
+VERSION="20180314_1b91bc9"
HOMEPAGE="https://github.com/docker/libnetwork"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/docker/libnetwork/archive/7b2b1fe/libnetwork-7b2b1feb1de4817d522cc372af149ff48d25028e.tar.gz"
-MD5SUM_x86_64="a9beb9207b291373dc4e376f04056e8a"
+DOWNLOAD_x86_64="https://github.com/docker/libnetwork/archive/1b91bc9/libnetwork-1b91bc94094ecfdae41daa465cc0c8df37dfb3dd.tar.gz"
+MD5SUM_x86_64="c6e746565303cb760b4f7b9b14c94431"
REQUIRES="google-go-lang"
MAINTAINER="Audrius Kažukauskas"
EMAIL="audrius@neutrino.lt"