From 3d48c7b077f21a54f24ef02734ec14e1609e3fac Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Thu, 11 Jan 2024 12:58:18 +0700 Subject: network/goimapnotify: Updated for version 2.3.10. Signed-off-by: Willy Sudiarto Raharjo --- network/goimapnotify/go.mod | 16 +++++++++++ network/goimapnotify/go.sum | 40 ++++++++++++++++++++++++++++ network/goimapnotify/goimapnotify.SlackBuild | 16 +++++------ network/goimapnotify/goimapnotify.info | 34 +++++++++++------------ network/goimapnotify/modules.txt | 27 +++++++++---------- 5 files changed, 92 insertions(+), 41 deletions(-) create mode 100644 network/goimapnotify/go.mod create mode 100644 network/goimapnotify/go.sum (limited to 'network/goimapnotify') diff --git a/network/goimapnotify/go.mod b/network/goimapnotify/go.mod new file mode 100644 index 000000000000..83fa589bc792 --- /dev/null +++ b/network/goimapnotify/go.mod @@ -0,0 +1,16 @@ +module gitlab.com/shackra/goimapnotify + +go 1.21 + +require ( + github.com/emersion/go-imap v1.2.1 + github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445 + github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 + github.com/sirupsen/logrus v1.9.3 +) + +require ( + golang.org/x/sys v0.16.0 // indirect + golang.org/x/text v0.14.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect +) diff --git a/network/goimapnotify/go.sum b/network/goimapnotify/go.sum new file mode 100644 index 000000000000..976757f52338 --- /dev/null +++ b/network/goimapnotify/go.sum @@ -0,0 +1,40 @@ +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/emersion/go-imap v1.0.6/go.mod h1:yKASt+C3ZiDAiCSssxg9caIckWF/JG7ZQTO7GAmvicU= +github.com/emersion/go-imap v1.2.1 h1:+s9ZjMEjOB8NzZMVTM3cCenz2JrQIGGo5j1df19WjTA= +github.com/emersion/go-imap v1.2.1/go.mod h1:Qlx1FSx2FTxjnjWpIlVNEuX+ylerZQNFE5NsmKFSejY= +github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445 h1:dAGbaaU4LLupO7dnYZaELOoI3RoVDNi5DCGejLe8a7c= +github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445/go.mod h1:N/6S3dRTVt8xT867m+476C16+v/Fq4WZYvh2Chg0nmg= +github.com/emersion/go-message v0.11.1/go.mod h1:C4jnca5HOTo4bGN9YdqNQM9sITuT3Y0K6bSUw9RklvY= +github.com/emersion/go-message v0.15.0 h1:urgKGqt2JAc9NFJcgncQcohHdiYb803YTH9OQwHBHIY= +github.com/emersion/go-message v0.15.0/go.mod h1:wQUEfE+38+7EW8p8aZ96ptg6bAb1iwdgej19uXASlE4= +github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b/go.mod h1:G/dpzLu16WtQpBfQ/z3LYiYJn3ZhKSGWn83fyoyQe/k= +github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21/go.mod h1:iL2twTeMvZnrg54ZoPDNfJaJaqy0xIQFuBdrLsmspwQ= +github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 h1:hH4PQfOndHDlpzYfLAAfl63E8Le6F2+EL/cdhlkyRJY= +github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43/go.mod h1:iL2twTeMvZnrg54ZoPDNfJaJaqy0xIQFuBdrLsmspwQ= +github.com/emersion/go-textwrapper v0.0.0-20160606182133-d0e65e56babe/go.mod h1:aqO8z8wPrjkscevZJFVE1wXJrLpC5LtJG7fqLOsPb2U= +github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594 h1:IbFBtwoTQyw0fIM5xv1HF+Y+3ZijDR839WMulgxCcUY= +github.com/emersion/go-textwrapper v0.0.0-20200911093747-65d896831594/go.mod h1:aqO8z8wPrjkscevZJFVE1wXJrLpC5LtJG7fqLOsPb2U= +github.com/martinlindhe/base36 v1.0.0/go.mod h1:+AtEs8xrBpCeYgSLoY/aJ6Wf37jtBuR0s35750M27+8= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b h1:h8qDotaEPuJATrMmW04NCwg7v22aHH28wwpauUhK9Oo= +gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/network/goimapnotify/goimapnotify.SlackBuild b/network/goimapnotify/goimapnotify.SlackBuild index 3dc76eb4a576..8b53509296fe 100644 --- a/network/goimapnotify/goimapnotify.SlackBuild +++ b/network/goimapnotify/goimapnotify.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for goimapnotify -# Copyright 2022 Alexander Verbovetsky Moscow Russia +# Copyright 2022-2024 Alexander Verbovetsky Moscow Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=goimapnotify -VERSION=${VERSION:-2.3.7} +VERSION=${VERSION:-2.3.10} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,15 +70,17 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION +cat $CWD/go.mod > go.mod +cat $CWD/go.sum > go.sum mkdir -p vendor cat $CWD/modules.txt > vendor/modules.txt for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2) do - NAME=$(basename $DIR) - NAME=${NAME%.*} + NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename) DIR=vendor/$DIR + find -L $CWD -maxdepth 1 -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" \ + -exec tar xvf '{}' \; mkdir -p $(dirname $DIR) - find -L $CWD -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" -exec tar xvf {} \; mv ${NAME}-* $DIR done @@ -89,13 +91,11 @@ 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 {} \; -[ -z "$GOROOT" ] && source /etc/profile.d/go.sh - CGO_CFLAGS="$SLKCFLAGS" \ CGO_CXXFLAGS="$SLKCFLAGS" \ go build -install -sDm 755 goimapnotify $PKG/usr/bin/goimapnotify +install -sDm 755 goimapnotify -t $PKG/usr/bin mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGELOG.rst README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/network/goimapnotify/goimapnotify.info b/network/goimapnotify/goimapnotify.info index 63c0537dd9bc..345d81af55d5 100644 --- a/network/goimapnotify/goimapnotify.info +++ b/network/goimapnotify/goimapnotify.info @@ -1,23 +1,21 @@ PRGNAM="goimapnotify" -VERSION="2.3.7" +VERSION="2.3.10" HOMEPAGE="https://gitlab.com/shackra/goimapnotify" -DOWNLOAD="https://gitlab.com/shackra/goimapnotify/-/archive/2.3.7/goimapnotify-2.3.7.tar.gz \ - https://github.com/emersion/go-imap/archive/b7db4a2/go-imap-b7db4a2bc5cc04fb568fb036a438da43ee9a9f78.tar.gz \ - https://github.com/emersion/go-imap-idle/archive/2af9377/go-imap-idle-2af93776db6b042cc1116b0d0af00d7f58eea696.tar.gz \ - https://github.com/emersion/go-sasl/archive/7bfe0ed/go-sasl-7bfe0ed36a210245143572d8f52f41485cbf57e1.tar.gz \ - https://github.com/sirupsen/logrus/archive/v1.8.1/logrus-1.8.1.tar.gz \ - https://github.com/stretchr/testify/archive/v1.7.0/testify-1.7.0.tar.gz \ - https://github.com/golang/sys/archive/39ccf1d/sys-39ccf1dd6fa64b525e017b629b9a83409d294c7e.tar.gz \ - https://github.com/golang/text/archive/v0.3.2/text-0.3.2.tar.gz \ - https://github.com/go-yaml/yaml/archive/496545a/yaml-496545a6307b2a7d7a710fd516e5e16e8ab62dbc.tar.gz" -MD5SUM="a036ab0a34b0b3215ee304c79c24eb96 \ - 61a83dd25e83c4bd81369353200b83d6 \ - a17401f5e2c4ef0678b70bbc42e97b2e \ - 4f12c474fd396d64b3b37f5977a4da2b \ - 8fdbcd94e87390b3cbaeacd054196c05 \ - 5d04ceccdea0a91310fee95b63d8e1f6 \ - d26dd3d3fa7247d88a89d7268bb876c5 \ - 5c3d2e3c8af2436fea967042a9623ba1 \ +DOWNLOAD="https://gitlab.com/shackra/goimapnotify/-/archive/2.3.10/goimapnotify-2.3.10.tar.gz \ + https://github.com/emersion/go-imap/archive/v1.2.1/go-imap-v1.2.1.tar.gz \ + https://github.com/emersion/go-imap-idle/archive/db25684/go-imap-idle-db2568431445.tar.gz \ + https://github.com/emersion/go-sasl/archive/e73c9f7/go-sasl-e73c9f7bad43.tar.gz \ + https://github.com/sirupsen/logrus/archive/v1.9.3/logrus-v1.9.3.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://github.com/go-yaml/yaml/archive/496545a/yaml-496545a6307b.tar.gz" +MD5SUM="2e009dd1a4396220577b79eb8363cff7 \ + 337ec4e15b3b9435bec02d0b4c634797 \ + 0c60834c277747653bf1d883ac7660b2 \ + efc2190ae65129b3e2531a9258181e98 \ + 29e75bd7c106e1853d2a9de8bd17dbb0 \ + 49a67b079ddb6482675ef7c2fdbeea5c \ + 9f64144d4b1647ce4597abf657028a8d \ 11c0a4ee0531d35936af883fa7d0089a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/network/goimapnotify/modules.txt b/network/goimapnotify/modules.txt index 9c3d13f082e8..b8b9e67b8a26 100644 --- a/network/goimapnotify/modules.txt +++ b/network/goimapnotify/modules.txt @@ -1,5 +1,5 @@ -# github.com/emersion/go-imap v1.0.0-beta.4.0.20190414203716-b7db4a2bc5cc -## explicit +# github.com/emersion/go-imap v1.2.1 +## explicit; go 1.13 github.com/emersion/go-imap github.com/emersion/go-imap/backend github.com/emersion/go-imap/client @@ -7,24 +7,21 @@ github.com/emersion/go-imap/commands github.com/emersion/go-imap/responses github.com/emersion/go-imap/server github.com/emersion/go-imap/utf7 -# github.com/emersion/go-imap-idle v0.0.0-20180114101550-2af93776db6b -## explicit +# github.com/emersion/go-imap-idle v0.0.0-20210907174914-db2568431445 +## explicit; go 1.13 github.com/emersion/go-imap-idle -# github.com/emersion/go-sasl v0.0.0-20200509203442-7bfe0ed36a21 -## explicit +# github.com/emersion/go-sasl v0.0.0-20231106173351-e73c9f7bad43 +## explicit; go 1.12 github.com/emersion/go-sasl -# github.com/sirupsen/logrus v1.8.1 -## explicit +# github.com/sirupsen/logrus v1.9.3 +## explicit; go 1.13 github.com/sirupsen/logrus -# github.com/stretchr/testify v1.7.0 -## explicit -# golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 -## explicit -golang.org/x/sys/internal/unsafeheader +# golang.org/x/sys v0.16.0 +## explicit; go 1.18 golang.org/x/sys/unix golang.org/x/sys/windows -# golang.org/x/text v0.3.2 -## explicit +# golang.org/x/text v0.14.0 +## explicit; go 1.18 golang.org/x/text/encoding golang.org/x/text/encoding/internal/identifier golang.org/x/text/transform -- cgit v1.2.3