forked from pool/go-sendxmpp
- Update to 0.11.1:
* Fix Ox encryption in interactive mode (do not add the same recipient key to the keyring over and over again). * Exit with error code if Ox encryption for one recipient fails. * Improved handling of perl sendxmpp config files. OBS-URL: https://build.opensuse.org/package/show/network:messaging:xmpp/go-sendxmpp?expand=0&rev=35
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
20
_service
Normal file
20
_service
Normal file
@@ -0,0 +1,20 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">https://salsa.debian.org/mdosch/go-sendxmpp.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="revision">v0.11.1</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">go-sendxmpp</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="disabled">
|
||||
</service>
|
||||
</services>
|
3
go-sendxmpp-0.11.0.tar.gz
Normal file
3
go-sendxmpp-0.11.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c56a8c82c15b0cf90f629bdc1992e2700d227777bbc3759bbe12783e5d31d8f
|
||||
size 37083
|
3
go-sendxmpp-0.11.1.tar.gz
Normal file
3
go-sendxmpp-0.11.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a588b0dab86fd75ae1908441d2c30032cd21efe17a1e60d26004ebba7740ee68
|
||||
size 37317
|
196
go-sendxmpp.changes
Normal file
196
go-sendxmpp.changes
Normal file
@@ -0,0 +1,196 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 12 02:44:15 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.11.1:
|
||||
* Fix Ox encryption in interactive mode (do not add the same
|
||||
recipient key to the keyring over and over again).
|
||||
* Exit with error code if Ox encryption for one recipient fails.
|
||||
* Improved handling of perl sendxmpp config files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 31 04:53:19 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.11.0:
|
||||
Changed:
|
||||
* Move private Ox key into JID folder in ~/.local/share/go-sendxmpp.
|
||||
* Use fmt.Errorf() instead of errors.New() to create new error messages.
|
||||
Added:
|
||||
* Add new parameter --subject.
|
||||
* Added flag --fast-off to disable XEP-0484: Fast Authentication
|
||||
Streamlining Tokens (requires go-xmpp >= 0.2.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 08:14:11 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.10.0:
|
||||
* Fixed a race condition in receiving stanzas (requires go-xmpp >= v0.1.5).
|
||||
* Add support for SASL2 and BIND2 (via go-xmpp >= v0.2.0).
|
||||
* Add support for FAST authentication (via go-xmpp >= v0.2.0).
|
||||
* Add a warning when run by the user root.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 14:06:47 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.9.0:
|
||||
Changed:
|
||||
* Properly close stream if Ctrl+C is pressed in interactive mode.
|
||||
* Properly close stream if Ctrl+C is pressed in listening mode.
|
||||
* Print OS, architecture and go version for flag --version.
|
||||
* Improve closing of connection (via go-xmpp v0.1.4).
|
||||
* Don't send stanzas that exceed the size limit provided by
|
||||
XEP-0478 (requires go-xmpp >= v0.1.4).
|
||||
* Fixed hanging forever in stream close if the server doesn't
|
||||
reply with a closing stream element (via go-xmpp >= v0.1.4).
|
||||
Added:
|
||||
* New command line flag ssdp-off to disable XEP-0474: SASL SCRAM
|
||||
Downgrade Protection (requires go-xmpp >= v0.1.4).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 10 07:17:16 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.8.4:
|
||||
* Properly handle lost connection.
|
||||
* Better compatibility with perl sendxmpp config files.
|
||||
* Improve file name for private Ox keys.
|
||||
* Improve fallback behavior if no SRV records are provided.
|
||||
* Remove 100ms sleep before closing the connection. This should
|
||||
be no more needed since go-xmpp commit
|
||||
9684a8ff690f0d75e284f8845696c5057926d276.
|
||||
* Return an error if there is no answer to an IQ within 60s.
|
||||
* Check for errors after sending the auth message during
|
||||
SCRAM authentication (via go-xmpp v0.1.2).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 07:38:34 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.8.3:
|
||||
* Use a human readable file name for private Ox keys.
|
||||
* Fix specifying a message via command line flag -m.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 21 07:36:03 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.8.2:
|
||||
* Fix an issue in look up of SRV records (via xmppsrv v0.2.6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 17 03:56:07 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.8.1:
|
||||
* Add support for tls-server-end-point channel binding
|
||||
* Add experimental support for SOCKS5 proxies using the HTTP_PROXY
|
||||
environment variable
|
||||
* http-upload: Improved error handling.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 14:09:06 UTC 2024 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.8.0:
|
||||
Added:
|
||||
* Add no parameter --scram-mech-pinning.
|
||||
Changed:
|
||||
* Refuse to upload a file if upload slot doesn't provide https.
|
||||
* Use XEP-0474 instead of SCRAM mechanism pinning to prevent
|
||||
downgrade attacks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 06:55:48 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.7.0:
|
||||
* Reply to XEP-0092 software version requests.
|
||||
* Add support for PLUS variants of SCRAM authentification mechanisms
|
||||
(requires go-xmpp commit 4c385a334c606e8bc387f0a3d4d84975802b3984).
|
||||
* Add pinning of last used authentification mechanism if a SCRAM
|
||||
mechanism was used.
|
||||
* Print every stanza in a new line (requires go-xmpp commit
|
||||
31c7eb6919b67b18e901dc45a8e5681040ea7f31).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 30 06:42:12 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.6.2:
|
||||
* Properly close connection to server if ^C is pressed in
|
||||
interactive mode.
|
||||
* Replace invalid characters by UTF8 replacement char.
|
||||
* Add warning that there is no Ox support for messages of type
|
||||
headline.
|
||||
* Suppress warnings about reading from closed connection if
|
||||
go-sendxmpp closes the connection before exiting.
|
||||
* Remove unnecessary newlines after stanzas.
|
||||
* Fix segfault when authentication fails due to invalid username
|
||||
or password.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 06:04:38 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.6.1:
|
||||
* Properly close connection to server.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 2 17:55:45 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.6.0:
|
||||
Added:
|
||||
* Add support for sending Out of Band Data (OOB).
|
||||
* Add SCRAM-SHA-1, SCRAM-SHA-256 and SCRAM-SHA512 support (via go-xmpp commit bef3e54).
|
||||
* Add support for messages of type headline.
|
||||
Changed:
|
||||
* Print --help output to stdout instead of stderr.
|
||||
* Print sent stanzas when --debug is used (via go-xmpp commit 9129a110df1b).
|
||||
* Allow JIDs without localpart.
|
||||
* Use single quotes for attributes in stanzas created by github.com/beevik/etree (vial etree v1.1.4).
|
||||
* Fix SRV lookup when the domain has a CNAME (via xmppsrv v0.2.5).
|
||||
* Fall back to directTLS on port 5223 (instead of StartTLS on port 5222)
|
||||
if no SRV records are provided and -t is set.
|
||||
* Remove trailing newlines in interactive mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 20:12:18 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.5.6:
|
||||
Added:
|
||||
* Add short option -h for http-upload.
|
||||
Changed:
|
||||
* Fix Ox key generation.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 18 12:00:03 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.5.5:
|
||||
* Improve interactive mode.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 07:20:09 UTC 2022 - mvetter@suse.com
|
||||
|
||||
- Update to version 0.5.4:
|
||||
* Fix http-upload.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 14:26:25 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.5.3:
|
||||
* Don't check for empty message when --listen is used.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 29 14:25:49 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 0.5.2:
|
||||
Added:
|
||||
* Reply to disco#info queries.
|
||||
* Send service-unavailable errors for all other IQs of type get and set.
|
||||
* New config option and command line flag alias to uncouple MUC
|
||||
nickname/alias from resource.
|
||||
Changed:
|
||||
* Ox: Improve error messages for failed key requests.
|
||||
* Ox: Do not encrypt empty messages.
|
||||
* Check for empty messages.
|
||||
* Always look up CNAME before doing SRV lookups (via xmppsrv v0.2.3).
|
||||
* Detect CNAME loops (max. 5 CNAMEs) (via xmppsrv >= v0.2.4).
|
||||
* Deprecate resource config option and command line flag.
|
||||
* Improve error handling in XML parsing.
|
||||
* Don't connect to the XMPP server if the message is empty.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 4 13:52:01 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Initial package of go-sendxmpp 0.5.1 for openSUSE
|
50
go-sendxmpp.spec
Normal file
50
go-sendxmpp.spec
Normal file
@@ -0,0 +1,50 @@
|
||||
#
|
||||
# spec file for package go-sendxmpp
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: go-sendxmpp
|
||||
Version: 0.11.1
|
||||
Release: 0
|
||||
Summary: A little tool to send messages to an XMPP contact or MUC
|
||||
License: BSD-2-Clause
|
||||
Group: Productivity/Networking/Instant Messenger
|
||||
URL: https://salsa.debian.org/mdosch/go-sendxmpp
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: golang-packaging
|
||||
|
||||
%description
|
||||
A little tool to send messages to an XMPP contact or MUC.
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
|
||||
%build
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie
|
||||
|
||||
%install
|
||||
install -D -m0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install -D -m0644 man/%{name}.1 %{buildroot}%{_mandir}/man1
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
|
||||
%changelog
|
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f3094236116da31080fa71834a34fc60e4231f1301cf6fb8f9b947cdb58af82c
|
||||
size 2200479
|
Reference in New Issue
Block a user