aboutsummaryrefslogtreecommitdiff
path: root/network/go-sendxmpp
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2024-02-10 08:28:13 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-10 16:17:21 +0700
commit5328d3d892cce717576103cbb5a4654c8945ddd1 (patch)
treefcade32f0a195dc27ea43f8758f5a7c8d220e38e /network/go-sendxmpp
parentf73238144a61fcf6eb0bd9a5d328c3d7af243c3a (diff)
network/go-sendxmpp: Bump go version.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/go-sendxmpp')
-rw-r--r--network/go-sendxmpp/go-sendxmpp.SlackBuild7
-rw-r--r--network/go-sendxmpp/modules.txt2
2 files changed, 2 insertions, 7 deletions
diff --git a/network/go-sendxmpp/go-sendxmpp.SlackBuild b/network/go-sendxmpp/go-sendxmpp.SlackBuild
index 3042fdc72188..643756813ddb 100644
--- a/network/go-sendxmpp/go-sendxmpp.SlackBuild
+++ b/network/go-sendxmpp/go-sendxmpp.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=go-sendxmpp
VERSION=${VERSION:-0.8.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,8 +70,6 @@ rm -rf $PRGNAM-v$VERSION
tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
cd $PRGNAM-v$VERSION
-sed -i 's/go 1.21.5/go 1.21.2/' go.mod
-
mkdir -p vendor
cat $CWD/modules.txt > vendor/modules.txt
for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
@@ -80,9 +78,6 @@ do
DIR=vendor/$DIR
find -L $CWD -maxdepth 1 -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" \
-exec tar xvf '{}' \;
- if [ $NAME = go-xmpp ]; then
- sed -i 's/go 1.21.5/go 1.21.2/' go-xmpp*/go.mod
- fi
mkdir -p $(dirname $DIR)
mv ${NAME}-* $DIR
done
diff --git a/network/go-sendxmpp/modules.txt b/network/go-sendxmpp/modules.txt
index fadb489f3568..a34638433b45 100644
--- a/network/go-sendxmpp/modules.txt
+++ b/network/go-sendxmpp/modules.txt
@@ -58,7 +58,7 @@ github.com/pborman/getopt/v2
## explicit
github.com/pkg/errors
# github.com/xmppo/go-xmpp v0.0.2-0.20240118190409-62928b348398
-## explicit; go 1.21.2
+## explicit; go 1.21.5
github.com/xmppo/go-xmpp
# golang.org/x/crypto v0.18.0
## explicit; go 1.18