aboutsummaryrefslogtreecommitdiff
path: root/network/go-sendxmpp
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2024-01-20 09:09:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-20 09:13:00 +0700
commit6e6d6d39c9b276fff32297b43ba9ef8748013699 (patch)
treeb4e3bc739ad137dc00cad09b42e8e5f9315ffe5a /network/go-sendxmpp
parentd802f32703ca0485c04db8f59817b1057589da65 (diff)
network/go-sendxmpp: Updated for version 0.8.2.
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/go-sendxmpp.info18
-rw-r--r--network/go-sendxmpp/modules.txt12
3 files changed, 22 insertions, 15 deletions
diff --git a/network/go-sendxmpp/go-sendxmpp.SlackBuild b/network/go-sendxmpp/go-sendxmpp.SlackBuild
index bdad7a0484620..3042fdc721880 100644
--- a/network/go-sendxmpp/go-sendxmpp.SlackBuild
+++ b/network/go-sendxmpp/go-sendxmpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=go-sendxmpp
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,6 +70,8 @@ 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)
@@ -78,6 +80,9 @@ 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/go-sendxmpp.info b/network/go-sendxmpp/go-sendxmpp.info
index f014f7994645b..eea281766a258 100644
--- a/network/go-sendxmpp/go-sendxmpp.info
+++ b/network/go-sendxmpp/go-sendxmpp.info
@@ -1,36 +1,36 @@
PRGNAM="go-sendxmpp"
-VERSION="0.8.0"
+VERSION="0.8.2"
HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp"
-DOWNLOAD="https://salsa.debian.org/mdosch/go-sendxmpp/-/archive/v0.8.0/go-sendxmpp-v0.8.0.tar.gz \
- https://github.com/ProtonMail/go-crypto/archive/afb1ddc/go-crypto-afb1ddc0824c.tar.gz \
+DOWNLOAD="https://salsa.debian.org/mdosch/go-sendxmpp/-/archive/v0.8.2/go-sendxmpp-v0.8.2.tar.gz \
+ https://github.com/ProtonMail/go-crypto/archive/v1.0.0/go-crypto-v1.0.0.tar.gz \
https://github.com/ProtonMail/go-mime/archive/7d82a38/go-mime-7d82a3887f2f.tar.gz \
https://github.com/ProtonMail/gopenpgp/archive/v2.7.4/gopenpgp-v2.7.4.tar.gz \
https://github.com/beevik/etree/archive/v1.3.0/etree-v1.3.0.tar.gz \
https://github.com/cloudflare/circl/archive/v1.3.7/circl-v1.3.7.tar.gz \
https://github.com/gabriel-vasile/mimetype/archive/v1.4.3/mimetype-v1.4.3.tar.gz \
- https://github.com/mattn/go-xmpp/archive/39f5b80/go-xmpp-39f5b80375b6.tar.gz \
https://github.com/pborman/getopt/archive/v2.1.0/getopt-v2.1.0.tar.gz \
https://github.com/pkg/errors/archive/v0.9.1/errors-v0.9.1.tar.gz \
+ https://github.com/xmppo/go-xmpp/archive/62928b3/go-xmpp-62928b348398.tar.gz \
https://github.com/golang/crypto/archive/v0.18.0/crypto-v0.18.0.tar.gz \
https://github.com/golang/net/archive/v0.20.0/net-v0.20.0.tar.gz \
https://github.com/golang/sys/archive/v0.16.0/sys-v0.16.0.tar.gz \
https://github.com/golang/text/archive/v0.14.0/text-v0.14.0.tar.gz \
- https://salsa.debian.org/mdosch/xmppsrv/-/archive/v0.2.5/xmppsrv-v0.2.5.tar.gz"
-MD5SUM="8fe57d7fb33219fdd8107c51a3b5e250 \
- 398a3ac0a3c5b2f62c7949a69ee74005 \
+ https://salsa.debian.org/mdosch/xmppsrv/-/archive/v0.2.6/xmppsrv-v0.2.6.tar.gz"
+MD5SUM="aa930277ac90ef95bc283aa7044b76d4 \
+ 207b3050d2cdc7c5bcc8242728fb7c68 \
a6ae51724981dd98d1564dba0df3979a \
55b25ef3d66d22b92d9aad9945682ee0 \
bcc3bfd5bf559f4d4286d43302d1fda0 \
c74011ad16e17b92a496716febc60d33 \
de49151a4ae6474bb08145b0e9c67288 \
- 0399e1b3a1435913865fce48a0fa3bbc \
c52d24206b9fe29454e909a6ecbefe99 \
0951216925c98fda75a484a528b06af6 \
+ fb162598c61721ebf3c2b760f92aa1b7 \
bf69432c8b8f33d73d854c4fdddd9ff9 \
63cdf3357895bf52bff0aaaf5b35090a \
49a67b079ddb6482675ef7c2fdbeea5c \
9f64144d4b1647ce4597abf657028a8d \
- 540f7ebc4d08b41610b8df18d5571aa3"
+ e8e409d942149234a415c1299ebedb52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"
diff --git a/network/go-sendxmpp/modules.txt b/network/go-sendxmpp/modules.txt
index 948309d8726f1..fadb489f3568f 100644
--- a/network/go-sendxmpp/modules.txt
+++ b/network/go-sendxmpp/modules.txt
@@ -1,4 +1,4 @@
-# github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c
+# github.com/ProtonMail/go-crypto v1.0.0
## explicit; go 1.13
github.com/ProtonMail/go-crypto/bitcurves
github.com/ProtonMail/go-crypto/brainpool
@@ -51,15 +51,15 @@ github.com/gabriel-vasile/mimetype
github.com/gabriel-vasile/mimetype/internal/charset
github.com/gabriel-vasile/mimetype/internal/json
github.com/gabriel-vasile/mimetype/internal/magic
-# github.com/mattn/go-xmpp v0.0.2-0.20240109092456-39f5b80375b6
-## explicit; go 1.20
-github.com/mattn/go-xmpp
# github.com/pborman/getopt/v2 v2.1.0
## explicit; go 1.13
github.com/pborman/getopt/v2
# github.com/pkg/errors v0.9.1
## explicit
github.com/pkg/errors
+# github.com/xmppo/go-xmpp v0.0.2-0.20240118190409-62928b348398
+## explicit; go 1.21.2
+github.com/xmppo/go-xmpp
# golang.org/x/crypto v0.18.0
## explicit; go 1.18
golang.org/x/crypto/argon2
@@ -72,6 +72,8 @@ golang.org/x/crypto/sha3
## explicit; go 1.18
golang.org/x/net/html
golang.org/x/net/html/atom
+golang.org/x/net/internal/socks
+golang.org/x/net/proxy
# golang.org/x/sys v0.16.0
## explicit; go 1.18
golang.org/x/sys/cpu
@@ -94,6 +96,6 @@ golang.org/x/text/internal/utf8internal
golang.org/x/text/language
golang.org/x/text/runes
golang.org/x/text/transform
-# salsa.debian.org/mdosch/xmppsrv v0.2.5
+# salsa.debian.org/mdosch/xmppsrv v0.2.6
## explicit; go 1.16
salsa.debian.org/mdosch/xmppsrv