network/go-sendxmpp: Updated for version 0.8.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2024-01-20 09:09:52 +07:00 committed by Willy Sudiarto Raharjo
parent d802f32703
commit 6e6d6d39c9
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 22 additions and 15 deletions

View File

@ -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

View File

@ -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"

View File

@ -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