forked from pool/go-sendxmpp
* Add flag --verbose to show debug information. * Add flag --recipients to specify recipients by file. * Add flag --retry-connect to try after a waiting time if the connection fails. * Add flag --retry-connect-max to specify the amount of retry attempts. * Add flag --legacy-pgp for using XEP-0027 PGP encryption with Ox keys. * Add support for punycode domains. Changed: * Update gopenpgp library to v3. * Improve error detection for MUC joins. * Don't try to connect to other SRV record targets if error contains 'auth-failure'. * Remove support for old SSDP version (via go-xmpp v0.2.15). * Http-upload: Stop checking other disco items after finding upload component. * Increase default TLS version to 1.3. bsc#1241814 (CVE-2025-22872): This update includes golang.org/x/net/html 0.43.0 -----------------------------------------------------------------
51 lines
1.5 KiB
RPMSpec
51 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package go-sendxmpp
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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.15.0
|
|
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
|