aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e8c00a2411ce4..9b9c1e6444658 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 527b4f0e22323..a18d389adbac3 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"