From 7482efb41e5ba2e92746ffc014d43a6931932c3a Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 14 Jul 2009 10:06:40 +0000 Subject: [PATCH 01/50] Initial import --- .cvsignore | 1 + import.log | 1 + sendxmpp.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 55 insertions(+) create mode 100644 import.log create mode 100644 sendxmpp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3314c89 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sendxmpp-0.0.8.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..a68065a --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +sendxmpp-0_0_8-2_fc11:HEAD:sendxmpp-0.0.8-2.fc11.src.rpm:1247565980 diff --git a/sendxmpp.spec b/sendxmpp.spec new file mode 100644 index 0000000..ceb6a66 --- /dev/null +++ b/sendxmpp.spec @@ -0,0 +1,52 @@ +Name: sendxmpp +Version: 0.0.8 +Release: 2%{?dist} +Summary: A perl script to send xmpp messages + +Group: Applications/Communications +License: GPLv2 +URL: http://sendxmpp.platon.sk/ +Source0: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker), perl(Net::XMPP) + +%description +A perl script to send xmpp messages. + + +%prep +%setup -q + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +chmod -R u+w %{buildroot}/* + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* + + +%changelog +* Tue Jun 09 2009 Ruben Kerkhof 0.0.8-2 +- Review fixes (#504641) + +* Mon Jun 08 2009 Ruben Kerkhof 0.0.8-1 +- Initial import + diff --git a/sources b/sources index e69de29..6a1350e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8a041f4940274f4d1e72e76fcc95e689 sendxmpp-0.0.8.tar.gz From 261d498e1b8657f0e4181a19052729f3a447bdbe Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 27 Jul 2009 04:09:36 +0000 Subject: [PATCH 02/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index ceb6a66..66c8246 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A perl script to send xmpp messages Group: Applications/Communications @@ -44,6 +44,9 @@ rm -rf %{buildroot} %changelog +* Sun Jul 26 2009 Fedora Release Engineering - 0.0.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Tue Jun 09 2009 Ruben Kerkhof 0.0.8-2 - Review fixes (#504641) From 8ee4e9660dd7d1f456250267f50dcd64443f7b99 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 23:15:29 +0000 Subject: [PATCH 03/50] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 953fc30..4b6493b 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: sendxmpp -# $Id$ +# $Id: Makefile,v 1.1 2009/07/08 16:25:02 tibbs Exp $ NAME := sendxmpp SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 70d006fa2c0ee537c4c29cc32c7832fc0ae32a77 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 12:35:05 +0000 Subject: [PATCH 04/50] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- import.log | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 4b6493b..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: sendxmpp -# $Id: Makefile,v 1.1 2009/07/08 16:25:02 tibbs Exp $ -NAME := sendxmpp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/import.log b/import.log deleted file mode 100644 index a68065a..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -sendxmpp-0_0_8-2_fc11:HEAD:sendxmpp-0.0.8-2.fc11.src.rpm:1247565980 From 2352cd001d6b5f536651f836eb2889b97675fb20 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 9 Feb 2011 07:13:23 -0600 Subject: [PATCH 05/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 66c8246..2df65f7 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A perl script to send xmpp messages Group: Applications/Communications @@ -44,6 +44,9 @@ rm -rf %{buildroot} %changelog +* Wed Feb 09 2011 Fedora Release Engineering - 0.0.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Sun Jul 26 2009 Fedora Release Engineering - 0.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 4ecea73f8c46287356187f06829501f52c3cfcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 21 Oct 2011 14:00:03 +0200 Subject: [PATCH 06/50] Modernize spec file --- sendxmpp.spec | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 2df65f7..21e50b4 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,49 +1,41 @@ Name: sendxmpp Version: 0.0.8 -Release: 4%{?dist} -Summary: A perl script to send xmpp messages - +Release: 5%{?dist} +Summary: A Perl script to send XMPP messages Group: Applications/Communications License: GPLv2 URL: http://sendxmpp.platon.sk/ Source0: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker), perl(Net::XMPP) +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description -A perl script to send xmpp messages. - +This is a program to send XMPP (Jabber) messages from the command line, not +unlike mail(1). Messages can be sent both to individual recipients and +chat rooms. %prep %setup -q - %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} - %install -rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -chmod -R u+w %{buildroot}/* - - -%clean -rm -rf %{buildroot} - +%{_fixperms} $RPM_BUILD_ROOT/* %files -%defattr(-,root,root,-) -%doc README +%doc Changes README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* - %changelog +* Fri Oct 21 2011 Petr Pisar - 0.0.8-5 +- Modernize spec file + * Wed Feb 09 2011 Fedora Release Engineering - 0.0.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From a92ebf5095410badfec046593c5917988a594ef7 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 13 Jan 2012 21:45:28 -0600 Subject: [PATCH 07/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 21e50b4..9a7969d 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A Perl script to send XMPP messages Group: Applications/Communications License: GPLv2 @@ -33,6 +33,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_mandir}/man1/%{name}.1* %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 0.0.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Fri Oct 21 2011 Petr Pisar - 0.0.8-5 - Modernize spec file From 0c0c2ef66a460d534607293ea4170615db4a1e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 8 Jun 2012 15:13:37 +0200 Subject: [PATCH 08/50] Perl 5.16 rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 9a7969d..b603c4b 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A Perl script to send XMPP messages Group: Applications/Communications License: GPLv2 @@ -33,6 +33,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_mandir}/man1/%{name}.1* %changelog +* Fri Jun 08 2012 Petr Pisar - 0.0.8-7 +- Perl 5.16 rebuild + * Sat Jan 14 2012 Fedora Release Engineering - 0.0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From 1f33a61f82972027065c0231015a2affc485eda0 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 21 Jul 2012 14:22:31 -0500 Subject: [PATCH 09/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index b603c4b..156c740 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A Perl script to send XMPP messages Group: Applications/Communications License: GPLv2 @@ -33,6 +33,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_mandir}/man1/%{name}.1* %changelog +* Sat Jul 21 2012 Fedora Release Engineering - 0.0.8-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Fri Jun 08 2012 Petr Pisar - 0.0.8-7 - Perl 5.16 rebuild From cc682e182c8af5734d27da9239809a0c3d90adb2 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 17:46:46 -0600 Subject: [PATCH 10/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 156c740..9fc430a 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,6 +1,6 @@ Name: sendxmpp Version: 0.0.8 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A Perl script to send XMPP messages Group: Applications/Communications License: GPLv2 @@ -33,6 +33,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_mandir}/man1/%{name}.1* %changelog +* Thu Feb 14 2013 Fedora Release Engineering - 0.0.8-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Sat Jul 21 2012 Fedora Release Engineering - 0.0.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From 8c12159ac77f5fec7a2fcd77f99b1a32bb5435b6 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 22 Apr 2013 20:57:51 +0200 Subject: [PATCH 11/50] Upgrade to 1.23 (#870778, #951877) --- .gitignore | 2 +- sendxmpp.spec | 42 ++++++++++++++++++++++-------------------- sources | 2 +- 3 files changed, 24 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 3314c89..2d991f8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -sendxmpp-0.0.8.tar.gz +/sendxmpp-1.*.tar.gz diff --git a/sendxmpp.spec b/sendxmpp.spec index 9fc430a..5d23c63 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,31 +1,31 @@ -Name: sendxmpp -Version: 0.0.8 -Release: 9%{?dist} -Summary: A Perl script to send XMPP messages -Group: Applications/Communications -License: GPLv2 -URL: http://sendxmpp.platon.sk/ -Source0: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz -BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Summary: A Perl script to send XMPP messages +Name: sendxmpp +Version: 1.23 +Release: 1%{?dist} +License: GPLv2 +Group: Applications/Communications +URL: http://sendxmpp.platon.sk/ +Source: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz +BuildRequires: perl(ExtUtils::MakeMaker), perl(Net::XMPP), perl(Getopt::Long) +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description -This is a program to send XMPP (Jabber) messages from the command line, not -unlike mail(1). Messages can be sent both to individual recipients and -chat rooms. +Sendxmpp is a Perl script to send XMPP (Jabber) messages from the command +line, similar to what mail(1) does for mail. Messages can be sent both to +individual recipients and chat rooms. %prep -%setup -q +%setup -q -n lhost-sendxmpp-610082b %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -make pure_install PERL_INSTALL_ROOT=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +chmod -R u+w $RPM_BUILD_ROOT/* %files %doc Changes README @@ -33,6 +33,9 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' %{_mandir}/man1/%{name}.1* %changelog +* Sat Apr 20 2013 Robert Scheck 1.23-1 +- Upgrade to 1.12 (#870778, #951877) + * Thu Feb 14 2013 Fedora Release Engineering - 0.0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -59,4 +62,3 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';' * Mon Jun 08 2009 Ruben Kerkhof 0.0.8-1 - Initial import - diff --git a/sources b/sources index 6a1350e..27fd80b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8a041f4940274f4d1e72e76fcc95e689 sendxmpp-0.0.8.tar.gz +f98b89bc384aff0b304c36957bb6741f sendxmpp-1.23.tar.gz From cf92cbd8f01627f1f80643a20341b1bdcd459d21 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 22 Apr 2013 21:08:21 +0200 Subject: [PATCH 12/50] Add suggestions from RHBZ #954100 comment #2 and comment #4 --- sendxmpp.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 5d23c63..40c1d83 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -6,7 +6,7 @@ License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.platon.sk/ Source: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz -BuildRequires: perl(ExtUtils::MakeMaker), perl(Net::XMPP), perl(Getopt::Long) +BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -23,10 +23,14 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install +rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' chmod -R u+w $RPM_BUILD_ROOT/* +%clean +rm -rf $RPM_BUILD_ROOT + %files %doc Changes README %{_bindir}/%{name} @@ -34,7 +38,7 @@ chmod -R u+w $RPM_BUILD_ROOT/* %changelog * Sat Apr 20 2013 Robert Scheck 1.23-1 -- Upgrade to 1.12 (#870778, #951877) +- Upgrade to 1.23 (#870778, #951877) * Thu Feb 14 2013 Fedora Release Engineering - 0.0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From cde4e01500c82523b0b56242b2633da16bb2fcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 17 Jul 2013 12:39:23 +0200 Subject: [PATCH 13/50] Perl 5.18 rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 40c1d83..f9a14a7 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.23 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.platon.sk/ @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Wed Jul 17 2013 Petr Pisar - 1.23-2 +- Perl 5.18 rebuild + * Sat Apr 20 2013 Robert Scheck 1.23-1 - Upgrade to 1.23 (#870778, #951877) From c44ac6fa9a18df41363371972c08b1687ae258ed Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 09:08:32 -0500 Subject: [PATCH 14/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index f9a14a7..557db7a 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.23 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.platon.sk/ @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.23-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Wed Jul 17 2013 Petr Pisar - 1.23-2 - Perl 5.18 rebuild From 2819c34b1ccf42ea674ff1ac340115847b0e78a8 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 8 Jun 2014 01:08:28 -0500 Subject: [PATCH 15/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 557db7a..045bc52 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.23 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.platon.sk/ @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 1.23-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 1.23-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From ad5d6ed5c6c9e19de861ccbb4744addfb8092e5f Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 6 Oct 2014 00:25:44 +0200 Subject: [PATCH 16/50] Upgrade to 1.24 (#1144389) --- .gitignore | 1 + sendxmpp.spec | 13 ++++++++----- sources | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 2d991f8..b670088 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /sendxmpp-1.*.tar.gz +/v1.24.tar.gz diff --git a/sendxmpp.spec b/sendxmpp.spec index 045bc52..b77de28 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,11 +1,11 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp -Version: 1.23 -Release: 4%{?dist} +Version: 1.24 +Release: 1%{?dist} License: GPLv2 Group: Applications/Communications -URL: http://sendxmpp.platon.sk/ -Source: http://sendxmpp.platon.sk/%{name}-%{version}.tar.gz +URL: http://sendxmpp.hostname.sk/ +Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -16,7 +16,7 @@ line, similar to what mail(1) does for mail. Messages can be sent both to individual recipients and chat rooms. %prep -%setup -q -n lhost-sendxmpp-610082b +%setup -q %build perl Makefile.PL INSTALLDIRS=vendor @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Mon Oct 06 2014 Robert Scheck 1.24-1 +- Upgrade to 1.24 (#1144389) + * Sun Jun 08 2014 Fedora Release Engineering - 1.23-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 27fd80b..219221c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f98b89bc384aff0b304c36957bb6741f sendxmpp-1.23.tar.gz +7145fb0d05f4c774b0ecec78bc787117 v1.24.tar.gz From b8baebbdad60191d71c13cd0aea3678f5b3ff763 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 00:38:02 +0000 Subject: [PATCH 17/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index b77de28..b46ca37 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Mon Oct 06 2014 Robert Scheck 1.24-1 - Upgrade to 1.24 (#1144389) From b8ca22450850c3d55df6ed99760820c57a6811db Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 4 Feb 2016 23:51:19 +0000 Subject: [PATCH 18/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index b46ca37..d9b9caf 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -37,6 +37,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Thu Feb 04 2016 Fedora Release Engineering - 1.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From 0502c65b43efa54f0a3c73d03755af7022c81df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 Jun 2016 10:35:31 +0200 Subject: [PATCH 19/50] Mandatory Perl build-requires added --- sendxmpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/sendxmpp.spec b/sendxmpp.spec index d9b9caf..79cb3ec 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -6,6 +6,7 @@ License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz +BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) From f174ccaf01cba3ac325612f4ea7e43bba1122964 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 13:18:30 +0000 Subject: [PATCH 20/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 79cb3ec..d876764 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.24-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Thu Feb 04 2016 Fedora Release Engineering - 1.24-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 26b0d272c4f0260c357abdd54d8344a37644c5e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 18:26:30 +0000 Subject: [PATCH 21/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index d876764..9846d82 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 1.24-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Feb 11 2017 Fedora Release Engineering - 1.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 8764907571995ca13409f034be19973920978e4c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 16:30:10 +0000 Subject: [PATCH 22/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 9846d82..1a0350e 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -38,6 +38,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/%{name}.1* %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 1.24-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 1.24-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From d84adea37433adfb4f8cc3ee4a864e3a9ec76711 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 00:36:55 +0100 Subject: [PATCH 23/50] Remove BuildRoot definition None of currently supported distributions need that. It was needed last for EL5 which is EOL now Signed-off-by: Igor Gnatenko --- sendxmpp.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 1a0350e..7016c57 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -9,7 +9,6 @@ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Sendxmpp is a Perl script to send XMPP (Jabber) messages from the command From 3627bbbc69e49d72b72b016074b38562de5a3e7d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Wed, 14 Feb 2018 08:49:25 +0100 Subject: [PATCH 24/50] Remove %clean section None of currently supported distributions need that. Last one was EL5 which is EOL for a while. Signed-off-by: Igor Gnatenko --- sendxmpp.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 7016c57..9d8678b 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -28,9 +28,6 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' chmod -R u+w $RPM_BUILD_ROOT/* -%clean -rm -rf $RPM_BUILD_ROOT - %files %doc Changes README %{_bindir}/%{name} From 804395400c4bac12277a789d2389eae1fb915d2d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 05:58:09 +0000 Subject: [PATCH 25/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 9d8678b..9f297ed 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv2 Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ @@ -34,6 +34,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 1.24-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 1.24-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 13b79a753eb806a784e8169ea87ec933a0f68c1e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:25 +0100 Subject: [PATCH 26/50] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- sendxmpp.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 9f297ed..86377ab 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -3,7 +3,6 @@ Name: sendxmpp Version: 1.24 Release: 7%{?dist} License: GPLv2 -Group: Applications/Communications URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz BuildRequires: perl-generators From bcd09dced7f25feba9c6dc3c1e3aa2466730a765 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 2 Feb 2019 15:11:36 +0000 Subject: [PATCH 27/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 86377ab..008d930 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2 URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz @@ -33,6 +33,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Feb 02 2019 Fedora Release Engineering - 1.24-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 1.24-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From ff5c7befdec0547631070b52171ba17f5afe342c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 23:04:31 +0000 Subject: [PATCH 28/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 008d930..3c92786 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2 URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz @@ -33,6 +33,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.24-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sat Feb 02 2019 Fedora Release Engineering - 1.24-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 80f3e82f4ec6775ea78754dd859e68c46c5c5d5e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 23:13:32 +0000 Subject: [PATCH 29/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 3c92786..06e5a0a 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2 URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz @@ -33,6 +33,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.24-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Jul 26 2019 Fedora Release Engineering - 1.24-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 7c5ac1a049c9862bb6b8176469ccb62312a2ffce Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 10:32:23 +0000 Subject: [PATCH 30/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 06e5a0a..3d59590 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 10%{?dist} +Release: 11%{?dist} License: GPLv2 URL: http://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz @@ -33,6 +33,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.24-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jan 30 2020 Fedora Release Engineering - 1.24-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From e3f55c39faf606c4a90baa47039dafd1b669db7f Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sat, 8 Aug 2020 00:24:32 +0200 Subject: [PATCH 31/50] Added upstream patch to enable SRV record lookups by default and to fix support for virtual domain user names --- sendxmpp-1.24-git20161113.patch | 404 ++++++++++++++++++++++++++++++++ sendxmpp.spec | 29 ++- sources | 2 +- 3 files changed, 425 insertions(+), 10 deletions(-) create mode 100644 sendxmpp-1.24-git20161113.patch diff --git a/sendxmpp-1.24-git20161113.patch b/sendxmpp-1.24-git20161113.patch new file mode 100644 index 0000000..dd2fe47 --- /dev/null +++ b/sendxmpp-1.24-git20161113.patch @@ -0,0 +1,404 @@ +https://github.com/lhost/sendxmpp/compare/1.24...9186b8c + +--- sendxmpp-1.24/sendxmpp 2014-09-13 23:23:08.000000000 +0200 ++++ sendxmpp-1.24/sendxmpp.git20161113 2020-08-08 00:10:22.488368180 +0200 +@@ -28,7 +28,7 @@ + use open ':std'; + + # subroutines decls +-sub xmpp_login($$$$$$$$$$$$); ++sub xmpp_login($$$$$$$$$$$$$); + sub xmpp_send ($$$$); + sub xmpp_send_raw_xml($$); + sub xmpp_send_message($$$$$$); +@@ -82,6 +82,7 @@ + $$cmdline{'no-tls-verify'} || $$config{'no-tls-verify'}, + $$cmdline{'tls-ca-path'} || $$config{'tls-ca-path'} || '', + $$cmdline{'ssl'}, ++ $$cmdline{'http'} || $$config{'http'} || 0, + $$cmdline{'debug'}, + $$cmdline{'sso'} + ) or error_exit("cannot login: $!"); +@@ -102,7 +103,7 @@ + $txt .= $_ while (); + } + +- xmpp_send ($cnx,$cmdline,$config,$txt); ++ xmpp_send ($cnx, $cmdline, $config, $txt); + + } + else { +@@ -115,7 +116,7 @@ + # line by line... + while () { + chomp; +- xmpp_send ($cnx,$cmdline,$config,$_); ++ xmpp_send ($cnx, $cmdline, $config, $_); + } + } + +@@ -141,7 +142,7 @@ + error_exit ("$cfg_file must not be accessible by others") + if ($mode & 0077); + +- open (CFG,"<$cfg_file") ++ open (CFG, "<$cfg_file") + or error_exit("cannot open $cfg_file for reading: $!"); + + my %config; +@@ -155,7 +156,7 @@ + + #s/\#.*$//; # ignore comments in lines + +- if (/^([a-z]+):\s*(.*)$/) { ++ if (/^([a-z-]+):\s*(.*)$/) { + $config{$1} = $2; + } + # Hugo van der Kooij has account with '#' as username +@@ -193,7 +194,7 @@ + unless (scalar(%config)); + + if ($DEBUG || $VERBOSE) { +- while (my ($key,$val) = each %config) { ++ while (my ($key, $val) = each %config) { + debug_print ("config: '$key' => '$val'"); + } + } +@@ -211,7 +212,7 @@ + + my ($subject, $file, $resource, $jserver, $port, $username, $password, $sso, $component, + $message, $chatroom, $headline, $debug, $tls, $ssl, +- $no_tls_verify, $tls_ca_path, ++ $no_tls_verify, $tls_ca_path, $http, + $interactive, $help, $raw, $verbose + ); + $debug = 0; +@@ -232,6 +233,7 @@ + 'no-tls-verify|n' => \$no_tls_verify, + 'tls-ca-path|a=s' => \$tls_ca_path, + 'ssl|e' => \$ssl, ++ 'http' => \$http, + 'interactive|i' => \$interactive, + 'help|usage|h' => \$help, + 'debug|d:i' => sub { $debug = $_[1] ? $_[1] : $debug + 1 }, +@@ -301,6 +303,7 @@ + 'no-tls-verify' => ($no_tls_verify or 0), + 'tls-ca-path' => ($tls_ca_path or ''), + 'ssl' => ($ssl or 0), ++ 'http' => ($http or 0), + 'debug' => ($debug or 0), + 'verbose' => ($verbose or 0), + 'raw' => ($raw or 0), +@@ -309,7 +312,7 @@ + ); + + if ($DEBUG || $VERBOSE) { +- while (my ($key,$val) = each %dict) { ++ while (my ($key, $val) = each %dict) { + debug_print ("cmdline: '$key' => '$val'"); + } + } +@@ -319,12 +322,12 @@ + + # + # xmpp_login: login to the xmpp (jabber) server +-# input: hostname,port,username,password,resource,tls,ssl,debug ++# input: hostname, port, username, password, resource, tls, ssl, http, debug + # output: an XMPP connection object + # +-sub xmpp_login ($$$$$$$$$$$$) { # {{{ ++sub xmpp_login ($$$$$$$$$$$$$) { # {{{ + +- my ($host, $port, $user, $pw, $comp, $res, $tls, $no_tls_verify, $tls_ca_path, $ssl, $debug, $sso) = @_; ++ my ($host, $port, $user, $pw, $comp, $res, $tls, $no_tls_verify, $tls_ca_path, $ssl, $http, $debug, $sso) = @_; + my $cnx = new Net::XMPP::Client(debuglevel=>$debug); + error_exit "could not create XMPP client object: $!" + unless ($cnx); +@@ -343,27 +346,30 @@ + ssl_verify => $ssl_verify, + ssl_ca_path => $tls_ca_path, + ssl => $ssl, +- connectiontype => 'tcpip', +- componentname => $comp ++ connectiontype => $http ? 'http' : 'tcpip', ++ componentname => $comp, ++ srv => 1, # enable SRV lookups + }; + + if ($sso) { +- $user = join('@', scalar getpwuid($<), Net::Domain::hostdomain()); +- debug_print "using SSO user $user"; ++ $user = join('@', scalar getpwuid($<), Net::Domain::hostdomain()); ++ debug_print "using SSO user $user"; + } + + # use the xmpp domain as the host and enable SRV lookups +- if (!$host) { +- if ($user =~ /@(.*)/) { +- $arghash->{hostname} = $host = $1; +- $arghash->{srv} = 1; +- debug_print "enabling SRV lookups"; +- +- } else { +- error_exit "unable to determine a host to connect to (no cmdline, no config, no SRV possible)"; +- } ++ if (!$host) { ++ if ($user =~ /([\.\w_#-]+)@(.*)/) { ++ $arghash->{hostname} = $host = $2; ++ $arghash->{componentname} = $2; ++ $user = $1; ++ $arghash->{srv} = 1; ++ debug_print "enabling SRV lookups"; ++ ++ } else { ++ error_exit "unable to determine a host to connect to (no cmdline, no config, no SRV possible)"; ++ } + +- } ++ } + + delete $arghash->{port} unless $port; + if ($arghash->{port}) { +@@ -374,7 +380,7 @@ + error_exit ("Could not connect to server '$host': ".($cnx->GetErrorCode()||$@)) unless @res; + } + +- xmpp_check_result("Connect",\@res,$cnx); ++ xmpp_check_result("Connect", \@res, $cnx); + + if ($comp) { + my $sid = $cnx->{SESSION}->{id}; +@@ -385,7 +391,7 @@ + 'username' => $user, + 'password' => $pw, + 'resource' => $res); +- xmpp_check_result('AuthSend',\@res,$cnx); ++ xmpp_check_result('AuthSend', \@res, $cnx); + + return $cnx; + } # }}} +@@ -426,20 +432,20 @@ + + # + # xmpp_send_raw_xml: send a raw XML packet +-# input: connection,packet ++# input: connection, packet + # + sub xmpp_send_raw_xml ($$) { # {{{ + +- my ($cnx,$packet) = @_; ++ my ($cnx, $packet) = @_; + + # for some reason, Send does not return anything + $cnx->Send($packet); +- xmpp_check_result('Send',0,$cnx); ++ xmpp_check_result('Send', 0, $cnx); + } # }}} + + # + # xmpp_send_message: send a message to some xmpp user +-# input: connection,recipient,subject,msg ++# input: connection, recipient, subject, msg + # + sub xmpp_send_message ($$$$$$) { # {{{ + +@@ -452,16 +458,16 @@ + 'subject' => $subject, + 'body' => $msg); + +- xmpp_check_result('MessageSend',0,$cnx); ++ xmpp_check_result('MessageSend', 0, $cnx); + } # }}} + + # + # xmpp_send_chatroom_message: send a message to a chatroom +-# input: connection,resource,subject,recipient,message ++# input: connection, resource, subject, recipient, message + # + sub xmpp_send_chatroom_message ($$$$$) { # {{{ + +- my ($cnx,$resource,$subject,$rcpt,$msg) = @_; ++ my ($cnx, $resource, $subject, $rcpt, $msg) = @_; + + # set the presence + my $pres = new Net::XMPP::Presence; +@@ -476,10 +482,10 @@ + type => 'groupchat'); + + $res = $cnx->Send($groupmsg); +- xmpp_check_result ('Send',$res,$cnx); ++ xmpp_check_result ('Send', $res, $cnx); + + # leave the group +- $pres->SetPresence (Type=>'unavailable',To=>$rcpt); ++ $pres->SetPresence (Type=>'unavailable', To=>$rcpt); + } # }}} + + # +@@ -494,7 +500,7 @@ + + my $cnx = shift; + $cnx->Disconnect(); +- xmpp_check_result ('Disconnect',0); # well, nothing to check, really ++ xmpp_check_result ('Disconnect', 0); # well, nothing to check, really + } # }}} + + # +@@ -518,7 +524,7 @@ + } + else { + my $errmsg = $cnx->GetErrorCode() || '?'; +- error_exit ("Error '$txt': " . join (': ',@$res) . "[$errmsg]", $cnx); ++ error_exit ("Error '$txt': " . join (': ', @$res) . "[$errmsg]", $cnx); + } + } # }}} + +@@ -547,7 +553,7 @@ + # + sub error_exit { # {{{ + +- my ($err,$cnx) = @_; ++ my ($err, $cnx) = @_; + print STDERR "$err\n"; + xmpp_logout ($cnx) + if ($cnx); +@@ -594,15 +600,15 @@ + + =over + +-=item B<-f>,B<--file> I ++=item B<-f>, B<--file> I + + Use I configuration file instead of F<~/.sendxmpprc> + +-=item B<-u>,B<--username> I ++=item B<-u>, B<--username> I + + Use I instead of the one in the configuration file + +-=item B<-p>,B<--password> I ++=item B<-p>, B<--password> I + + Use I instead of the one in the configuration file + +@@ -610,35 +616,39 @@ + + Instead of specifying username or password, attempt to use system level SSO (e.g. kerberos) if supported. + +-=item B<-j>,B<--jserver> I ++=item B<-j>, B<--jserver> I + + Use jabber I instead of the one in the configuration file. + +-=item B<-o>,B<--component> I ++=item B<-o>, B<--component> I + + Use componentname in connect call. Seems needed for Google talk. + +-=item B<-r>,B<--resource> I ++=item B<-r>, B<--resource> I + + Use resource I for the sender [default: 'sendxmpp']; when sending to a chatroom, this determines the 'alias' + +-=item B<-t>,B<--tls> ++=item B<-t>, B<--tls> + + Connect securely, using TLS + +-=item B<-e>,B<--ssl> ++=item B<-e>, B<--ssl> + + Connect securely, using SSL + +-=item B<-n>,B<--no-tls-verify> ++=item B<-n>, B<--no-tls-verify> + + Deactivate the verification of SSL certificates. Better way is to use parameter B<--tls-ca-path> with the needed path to CA certificates. + +-=item B<-a>,B<--tls-ca-path> ++=item B<-a>, B<--tls-ca-path> + + Path to your custom CA certificates, so you can verificate SSL certificates during connecting. + +-=item B<-l>,B<--headline> ++=item B<--http> ++ ++Connect over HTTP, allowing the use of a proxy. ++ ++=item B<-l>, B<--headline> + + Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages) + +@@ -646,35 +656,35 @@ + + Set type of message. Supported types are: B. Default message type is B. Headline type message can be set also with B<--headline> option, see B<--headline> + +-=item B<-c>,B<--chatroom> ++=item B<-c>, B<--chatroom> + + Send the message to a chatroom + +-=item B<-s>,B<--subject> I ++=item B<-s>, B<--subject> I + + Set the subject for the message to I [default: '']; when sending to a chatroom, this will set the subject for the chatroom + +-=item B<-m>,B<--message> I ++=item B<-m>, B<--message> I + + Read the message from I (a file) instead of stdin + +-=item B<-i>,B<--interactive> ++=item B<-i>, B<--interactive> + + Work in interactive mode, reading lines from stdin and sending the one-at-time + +-=item B<-w>,B<--raw> ++=item B<-w>, B<--raw> + + Send raw XML message to jabber server + +-=item B<-v>,B<--verbose> ++=item B<-v>, B<--verbose> + + Give verbose output about what is happening + +-=item B<-h>,B<--help>,B<--usage> ++=item B<-h>, B<--help>, B<--usage> + + Show a 'Usage' message + +-=item B<-d>,B<--debug> ++=item B<-d>, B<--debug> + + Show debugging info while running. B: This will include passwords etc. so be careful with the output! Specify multiple times to increase debug level. + +@@ -685,19 +695,19 @@ + You may define a 'F<~/.sendxmpprc>' file with the necessary data for your + xmpp-account. Since version 1.24 the following format is supported: + +- username: I +- jserver: I +- port: I +- password: I +- component: I ++ username: ++ jserver: ++ port: ++ password: ++ component: + + + Example for Google Talk servers: + +- username: I +- jserver: I +- password: I +- component: I ++ username: ++ jserver: ++ password: ++ component: + + With version 1.23 and older only one-line format is supported: + diff --git a/sendxmpp.spec b/sendxmpp.spec index 3d59590..626e0c1 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,12 +1,17 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 11%{?dist} +Release: 12%{?dist} License: GPLv2 -URL: http://sendxmpp.hostname.sk/ -Source: https://github.com/lhost/%{name}/archive/v%{version}.tar.gz +URL: https://sendxmpp.hostname.sk/ +Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: sendxmpp-1.24-git20161113.patch BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +%if 0%{?rhel} && 0%{?rhel} <= 7 +BuildRequires: perl(ExtUtils::MakeMaker), findutils +%else +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +%endif BuildArch: noarch %description @@ -16,15 +21,17 @@ individual recipients and chat rooms. %prep %setup -q +%patch0 -p1 -b .git20161113 %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%make_build %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +%make_install +%if 0%{?rhel} && 0%{?rhel} <= 7 +find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; +%endif chmod -R u+w $RPM_BUILD_ROOT/* %files @@ -33,6 +40,10 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Fri Aug 07 2020 Robert Scheck 1.24-12 +- Added upstream patch to enable SRV record lookups by default + and to fix support for virtual domain user names + * Wed Jul 29 2020 Fedora Release Engineering - 1.24-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 219221c..b7921ce 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7145fb0d05f4c774b0ecec78bc787117 v1.24.tar.gz +SHA512 (sendxmpp-1.24.tar.gz) = 349aac46ad4e13836f797f953d1acb33014d66de2bebed4961bcd981b765b5f0014bd2291a7355f0f8e80db522e3e843088fe08c0a21d4dda360dc2834db4842 From d305b94b8bd3e5583d9b6bafd853f0c7ddc527bd Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sat, 8 Aug 2020 00:39:47 +0200 Subject: [PATCH 32/50] Build require perl(Net::XMPP) --- sendxmpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/sendxmpp.spec b/sendxmpp.spec index 626e0c1..435ee1e 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -12,6 +12,7 @@ BuildRequires: perl(ExtUtils::MakeMaker), findutils %else BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 %endif +BuildRequires: perl(Net::XMPP) BuildArch: noarch %description From 5a1d1c783c118a6508ab2d70730e68b1c9aeb584 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 11 Jan 2021 19:43:40 +0000 Subject: [PATCH 33/50] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- sendxmpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/sendxmpp.spec b/sendxmpp.spec index 435ee1e..258f07e 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -6,6 +6,7 @@ License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: sendxmpp-1.24-git20161113.patch +BuildRequires: make BuildRequires: perl-generators %if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: perl(ExtUtils::MakeMaker), findutils From a8653ca84664f0bce2bd96bd8d54222ce4de7975 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 20:12:36 +0000 Subject: [PATCH 34/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 258f07e..509af3d 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.24-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Aug 07 2020 Robert Scheck 1.24-12 - Added upstream patch to enable SRV record lookups by default and to fix support for virtual domain user names From 702ca930d321bb2bd72c9dbde2f790037180f382 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 17:21:47 +0000 Subject: [PATCH 35/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 509af3d..ffd8ee9 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: A Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 13%{?dist} +Release: 14%{?dist} License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.24-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 1.24-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From aaf13908e088f504666e70dd3c6939f89decc9dc Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Wed, 15 Sep 2021 00:07:56 +0200 Subject: [PATCH 36/50] Cosmetic spec file cleanup --- sendxmpp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index ffd8ee9..7a40d57 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,4 +1,4 @@ -Summary: A Perl script to send XMPP messages +Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 Release: 14%{?dist} @@ -6,13 +6,13 @@ License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: sendxmpp-1.24-git20161113.patch -BuildRequires: make BuildRequires: perl-generators %if 0%{?rhel} && 0%{?rhel} <= 7 BuildRequires: perl(ExtUtils::MakeMaker), findutils %else BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 %endif +BuildRequires: make BuildRequires: perl(Net::XMPP) BuildArch: noarch From 7a21fcda6102feba11e1c56765d5a4944c3230af Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 00:40:40 +0000 Subject: [PATCH 37/50] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 7a40d57..935712a 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 14%{?dist} +Release: 15%{?dist} License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 1.24-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.24-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 7977187d813a21011c2067d44499f515ef9ba6cf Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Mon, 31 Jan 2022 17:16:44 -0800 Subject: [PATCH 38/50] epel8-playground decommissioned : https://pagure.io/epel/issue/136 --- .cvsignore | 0 Makefile | 21 --------------------- dead.package | 1 + sources | 0 4 files changed, 1 insertion(+), 21 deletions(-) delete mode 100644 .cvsignore delete mode 100644 Makefile create mode 100644 dead.package delete mode 100644 sources diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/Makefile b/Makefile deleted file mode 100644 index 953fc30..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: sendxmpp -# $Id$ -NAME := sendxmpp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a72aec0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +epel8-playground decommissioned : https://pagure.io/epel/issue/136 diff --git a/sources b/sources deleted file mode 100644 index e69de29..0000000 From 9e96e65495bba829ece62f7bb681b88ce03a6802 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 08:22:16 +0000 Subject: [PATCH 39/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 935712a..976a257 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 15%{?dist} +Release: 16%{?dist} License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 1.24-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 1.24-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 4c95894d8e50a819e8bdbc4e6ec8dc761606afb1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 02:59:56 +0000 Subject: [PATCH 40/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 976a257..4430325 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 16%{?dist} +Release: 17%{?dist} License: GPLv2 URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 1.24-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 1.24-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From f3b9f63e2ac70da66d0cee0f309aa53f446e282b Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sun, 7 May 2023 15:30:02 +0200 Subject: [PATCH 41/50] Update license identifier to SPDX expression --- sendxmpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 4430325..461703b 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -2,7 +2,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 Release: 17%{?dist} -License: GPLv2 +License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Patch0: sendxmpp-1.24-git20161113.patch From 82ef46a923f1a7324b740d8ef3b19199ed7781e0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 01:24:41 +0000 Subject: [PATCH 42/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 461703b..9fd03ac 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 17%{?dist} +Release: 18%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.24-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 1.24-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 30d785bedfd07dae714e6b8f7b33c96249370b52 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 02:34:28 +0000 Subject: [PATCH 43/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 9fd03ac..c3c5d1a 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 18%{?dist} +Release: 19%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.24-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 1.24-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 05d52a754f821a78a611f468f56bbeb1f7d8ba2d Mon Sep 17 00:00:00 2001 From: Software Management Team Date: Thu, 30 May 2024 12:46:49 +0200 Subject: [PATCH 44/50] Eliminate use of obsolete %patchN syntax (#2283636) --- sendxmpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index c3c5d1a..281f44c 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -23,7 +23,7 @@ individual recipients and chat rooms. %prep %setup -q -%patch0 -p1 -b .git20161113 +%patch -P0 -p1 -b .git20161113 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 From 3d2eae37d6ad6342c9f68402a637efeee9e9d060 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 05:15:01 +0000 Subject: [PATCH 45/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 281f44c..8f43da5 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 19%{?dist} +Release: 20%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.24-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 1.24-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d31f43c08e7c669a2d7fc5aa1a7b776eea3ae98a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 10:24:41 +0000 Subject: [PATCH 46/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 8f43da5..6d2e3c9 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 20%{?dist} +Release: 21%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.24-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 1.24-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 4768dbb71b9946cc07bf03d517743675cd109a33 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 18:08:54 +0000 Subject: [PATCH 47/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 6d2e3c9..c5e1b89 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 21%{?dist} +Release: 22%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -42,6 +42,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.24-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 1.24-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4f9b92adb2e91b058ca43187adc98646ff239fa2 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sun, 10 Aug 2025 19:35:42 +0200 Subject: [PATCH 48/50] Upgrade to GIT 20250721 --- ...3.patch => sendxmpp-1.24-git20250721.patch | 175 +++++++++++++++--- sendxmpp.spec | 39 ++-- 2 files changed, 162 insertions(+), 52 deletions(-) rename sendxmpp-1.24-git20161113.patch => sendxmpp-1.24-git20250721.patch (68%) diff --git a/sendxmpp-1.24-git20161113.patch b/sendxmpp-1.24-git20250721.patch similarity index 68% rename from sendxmpp-1.24-git20161113.patch rename to sendxmpp-1.24-git20250721.patch index dd2fe47..7ad098e 100644 --- a/sendxmpp-1.24-git20161113.patch +++ b/sendxmpp-1.24-git20250721.patch @@ -1,8 +1,97 @@ -https://github.com/lhost/sendxmpp/compare/1.24...9186b8c +https://github.com/lhost/sendxmpp/compare/v1.24...fbc0ac5 ---- sendxmpp-1.24/sendxmpp 2014-09-13 23:23:08.000000000 +0200 -+++ sendxmpp-1.24/sendxmpp.git20161113 2020-08-08 00:10:22.488368180 +0200 -@@ -28,7 +28,7 @@ +--- sendxmpp-1.24/data/sendxmpp.doap 1970-01-01 01:00:00.000000000 +0100 ++++ sendxmpp-1.24/data/sendxmpp.doap.git20250721 2025-08-10 19:15:56.113898702 +0200 +@@ -0,0 +1,51 @@ ++ ++ ++ ++ sendxmpp ++ sendxmpp ++ ++ 2004-11-17 ++ ++ Perl script to send XMPP messages ++ Simple script written in Perl to send XMPP messages ++ ++ ++ ++ ++ ++ ++ ++ en ++ ++ Perl ++ Linux ++ macOS ++ FreeBSD ++ OpenBSD ++ NetBSD ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Lubomir Host ++ ++ 828a771064b09f14a2503dd3e8f8dc50e4aafb98 ++ ++ ++ ++ ++ ++ 1.24 ++ 2014-09-13 ++ ++ ++ ++ ++ ++ +--- sendxmpp-1.24/README 2014-09-13 23:23:08.000000000 +0200 ++++ sendxmpp-1.24/README.git20250721 2025-08-10 19:15:36.059739357 +0200 +@@ -3,7 +3,7 @@ + + sendxmpp is a perl-script to send XMPP (jabber) messages, similar to + what mail(1) does for mail. XMPP is an open, non-proprietary protocol +-for instant messaging. See www.jabber.org for more information. ++for instant messaging. See https://xmpp.org/ for more information. + + sendxmpp was written by me, Dirk-Jan C. Binnema, and is available under + the term of the GNU General Public License v2. The hard work is done by +@@ -11,14 +11,7 @@ + sendxmpp to work. Current maintainer is Lubomir Host + + Obviously, you also need a jabber account; they are freely available +-at jabber.org, but you can also install your own servers. +- +-sendxmpp is already in use for monitoring remote servers (servers can +-warn by sending xmpp-messages), and watching CVS commit messages +-(developers are all connected to a XMPP-chatroom to which messages are +-sent. +- +-I am interested in hearing about other uses. ++at https://list.jabber.at/, but you can also install your own servers. + + Homepage: http://sendxmpp.hostname.sk + +--- sendxmpp-1.24/sendxmpp 2014-09-13 23:23:08.000000000 +0200 ++++ sendxmpp-1.24/sendxmpp.git20250721 2025-08-10 19:14:32.096231157 +0200 +@@ -21,6 +21,7 @@ + use Net::XMPP; + use Net::Domain; + use Getopt::Long; ++use POSIX qw( strftime ); + + use strict; + +@@ -28,7 +29,7 @@ use open ':std'; # subroutines decls @@ -11,7 +100,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c sub xmpp_send ($$$$); sub xmpp_send_raw_xml($$); sub xmpp_send_message($$$$$$); -@@ -82,6 +82,7 @@ +@@ -82,6 +83,7 @@ $$cmdline{'no-tls-verify'} || $$config{'no-tls-verify'}, $$cmdline{'tls-ca-path'} || $$config{'tls-ca-path'} || '', $$cmdline{'ssl'}, @@ -19,7 +108,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c $$cmdline{'debug'}, $$cmdline{'sso'} ) or error_exit("cannot login: $!"); -@@ -102,7 +103,7 @@ +@@ -102,7 +104,7 @@ $txt .= $_ while (); } @@ -28,7 +117,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c } else { -@@ -115,7 +116,7 @@ +@@ -115,7 +117,7 @@ # line by line... while () { chomp; @@ -37,7 +126,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c } } -@@ -141,7 +142,7 @@ +@@ -141,7 +143,7 @@ error_exit ("$cfg_file must not be accessible by others") if ($mode & 0077); @@ -46,7 +135,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c or error_exit("cannot open $cfg_file for reading: $!"); my %config; -@@ -155,7 +156,7 @@ +@@ -155,7 +157,7 @@ #s/\#.*$//; # ignore comments in lines @@ -55,16 +144,17 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c $config{$1} = $2; } # Hugo van der Kooij has account with '#' as username -@@ -193,7 +194,7 @@ +@@ -193,7 +195,8 @@ unless (scalar(%config)); if ($DEBUG || $VERBOSE) { - while (my ($key,$val) = each %config) { + while (my ($key, $val) = each %config) { ++ $val ||= ""; debug_print ("config: '$key' => '$val'"); } } -@@ -211,7 +212,7 @@ +@@ -211,7 +214,7 @@ my ($subject, $file, $resource, $jserver, $port, $username, $password, $sso, $component, $message, $chatroom, $headline, $debug, $tls, $ssl, @@ -73,7 +163,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c $interactive, $help, $raw, $verbose ); $debug = 0; -@@ -232,6 +233,7 @@ +@@ -232,6 +235,7 @@ 'no-tls-verify|n' => \$no_tls_verify, 'tls-ca-path|a=s' => \$tls_ca_path, 'ssl|e' => \$ssl, @@ -81,7 +171,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c 'interactive|i' => \$interactive, 'help|usage|h' => \$help, 'debug|d:i' => sub { $debug = $_[1] ? $_[1] : $debug + 1 }, -@@ -301,6 +303,7 @@ +@@ -301,6 +305,7 @@ 'no-tls-verify' => ($no_tls_verify or 0), 'tls-ca-path' => ($tls_ca_path or ''), 'ssl' => ($ssl or 0), @@ -89,7 +179,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c 'debug' => ($debug or 0), 'verbose' => ($verbose or 0), 'raw' => ($raw or 0), -@@ -309,7 +312,7 @@ +@@ -309,7 +314,7 @@ ); if ($DEBUG || $VERBOSE) { @@ -98,7 +188,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c debug_print ("cmdline: '$key' => '$val'"); } } -@@ -319,12 +322,12 @@ +@@ -319,12 +324,12 @@ # # xmpp_login: login to the xmpp (jabber) server @@ -114,7 +204,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c my $cnx = new Net::XMPP::Client(debuglevel=>$debug); error_exit "could not create XMPP client object: $!" unless ($cnx); -@@ -343,27 +346,30 @@ +@@ -343,27 +348,30 @@ ssl_verify => $ssl_verify, ssl_ca_path => $tls_ca_path, ssl => $ssl, @@ -159,7 +249,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c delete $arghash->{port} unless $port; if ($arghash->{port}) { -@@ -374,7 +380,7 @@ +@@ -374,7 +382,7 @@ error_exit ("Could not connect to server '$host': ".($cnx->GetErrorCode()||$@)) unless @res; } @@ -168,7 +258,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c if ($comp) { my $sid = $cnx->{SESSION}->{id}; -@@ -385,7 +391,7 @@ +@@ -385,7 +393,7 @@ 'username' => $user, 'password' => $pw, 'resource' => $res); @@ -177,7 +267,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c return $cnx; } # }}} -@@ -426,20 +432,20 @@ +@@ -426,20 +434,20 @@ # # xmpp_send_raw_xml: send a raw XML packet @@ -202,12 +292,14 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c # sub xmpp_send_message ($$$$$$) { # {{{ -@@ -452,16 +458,16 @@ +@@ -452,22 +460,21 @@ 'subject' => $subject, 'body' => $msg); - xmpp_check_result('MessageSend',0,$cnx); + xmpp_check_result('MessageSend', 0, $cnx); ++ ++ debug_print("Recipient: '$rcpt'"); } # }}} # @@ -221,21 +313,31 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c + my ($cnx, $resource, $subject, $rcpt, $msg) = @_; # set the presence - my $pres = new Net::XMPP::Presence; -@@ -476,10 +482,10 @@ +- my $pres = new Net::XMPP::Presence; +- my $res = $pres->SetTo("$rcpt/$resource"); +- +- $cnx->Send($pres); ++ xmpp_send_raw_xml($cnx, ""); + + # create/send the message + my $groupmsg = new Net::XMPP::Message; +@@ -475,11 +482,12 @@ + body => $msg, type => 'groupchat'); - $res = $cnx->Send($groupmsg); +- $res = $cnx->Send($groupmsg); - xmpp_check_result ('Send',$res,$cnx); ++ my $res = $cnx->Send($groupmsg); + xmpp_check_result ('Send', $res, $cnx); # leave the group - $pres->SetPresence (Type=>'unavailable',To=>$rcpt); ++ my $pres = new Net::XMPP::Presence; + $pres->SetPresence (Type=>'unavailable', To=>$rcpt); } # }}} # -@@ -494,7 +500,7 @@ +@@ -494,7 +502,7 @@ my $cnx = shift; $cnx->Disconnect(); @@ -244,7 +346,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c } # }}} # -@@ -518,7 +524,7 @@ +@@ -518,7 +526,7 @@ } else { my $errmsg = $cnx->GetErrorCode() || '?'; @@ -253,7 +355,20 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c } } # }}} -@@ -547,7 +553,7 @@ +@@ -536,8 +544,10 @@ + # input: [array of strings] + # + sub debug_print { # {{{ +- print STDERR "sendxmpp: " . (join ' ', @_) . "\n" +- if (@_ && ($DEBUG ||$VERBOSE)); ++ if (@_ && ($DEBUG ||$VERBOSE)) { ++ my $date_str = strftime("%Y-%m-%d %H:%M:%S", localtime); ++ print STDERR "$date_str sendxmpp: " . (join ' ', @_) . "\n" ++ } + } # }}} + + # +@@ -547,7 +557,7 @@ # sub error_exit { # {{{ @@ -262,7 +377,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c print STDERR "$err\n"; xmpp_logout ($cnx) if ($cnx); -@@ -594,15 +600,15 @@ +@@ -594,15 +604,15 @@ =over @@ -281,7 +396,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c Use I instead of the one in the configuration file -@@ -610,35 +616,39 @@ +@@ -610,35 +620,39 @@ Instead of specifying username or password, attempt to use system level SSO (e.g. kerberos) if supported. @@ -329,7 +444,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c Backward compatibility option. You should use B<--message-type=headline> instead. Send a headline type message (not stored in offline messages) -@@ -646,35 +656,35 @@ +@@ -646,35 +660,35 @@ Set type of message. Supported types are: B. Default message type is B. Headline type message can be set also with B<--headline> option, see B<--headline> @@ -373,7 +488,7 @@ https://github.com/lhost/sendxmpp/compare/1.24...9186b8c Show debugging info while running. B: This will include passwords etc. so be careful with the output! Specify multiple times to increase debug level. -@@ -685,19 +695,19 @@ +@@ -685,19 +699,19 @@ You may define a 'F<~/.sendxmpprc>' file with the necessary data for your xmpp-account. Since version 1.24 the following format is supported: diff --git a/sendxmpp.spec b/sendxmpp.spec index c5e1b89..4ba0aba 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,20 +1,16 @@ -Summary: Perl script to send XMPP messages -Name: sendxmpp -Version: 1.24 -Release: 22%{?dist} -License: GPL-2.0-only -URL: https://sendxmpp.hostname.sk/ -Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz -Patch0: sendxmpp-1.24-git20161113.patch -BuildRequires: perl-generators -%if 0%{?rhel} && 0%{?rhel} <= 7 -BuildRequires: perl(ExtUtils::MakeMaker), findutils -%else -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -%endif -BuildRequires: make -BuildRequires: perl(Net::XMPP) -BuildArch: noarch +Summary: Perl script to send XMPP messages +Name: sendxmpp +Version: 1.24 +Release: 23%{?dist} +License: GPL-2.0-only +URL: https://sendxmpp.hostname.sk/ +Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: sendxmpp-1.24-git20250721.patch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(Net::XMPP) +BuildArch: noarch %description Sendxmpp is a Perl script to send XMPP (Jabber) messages from the command @@ -22,8 +18,7 @@ line, similar to what mail(1) does for mail. Messages can be sent both to individual recipients and chat rooms. %prep -%setup -q -%patch -P0 -p1 -b .git20161113 +%autosetup -p1 %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 @@ -31,9 +26,6 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %install %make_install -%if 0%{?rhel} && 0%{?rhel} <= 7 -find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -f {} \; -%endif chmod -R u+w $RPM_BUILD_ROOT/* %files @@ -42,6 +34,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sun Aug 10 2025 Robert Scheck 1.24-23 +- Upgrade to GIT 20250721 + * Fri Jul 25 2025 Fedora Release Engineering - 1.24-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 92e3a5fd84228406d68a306c17d561c7700e220b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 17:53:30 +0000 Subject: [PATCH 49/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 4ba0aba..93f5374 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 23%{?dist} +Release: 24%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -34,6 +34,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.24-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Sun Aug 10 2025 Robert Scheck 1.24-23 - Upgrade to GIT 20250721 From fe68116d1f5cb44fdf6c177738f5e59cfd9251c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 06:23:56 +0000 Subject: [PATCH 50/50] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- sendxmpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sendxmpp.spec b/sendxmpp.spec index 93f5374..542bd52 100644 --- a/sendxmpp.spec +++ b/sendxmpp.spec @@ -1,7 +1,7 @@ Summary: Perl script to send XMPP messages Name: sendxmpp Version: 1.24 -Release: 24%{?dist} +Release: 25%{?dist} License: GPL-2.0-only URL: https://sendxmpp.hostname.sk/ Source: https://github.com/lhost/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -34,6 +34,9 @@ chmod -R u+w $RPM_BUILD_ROOT/* %{_mandir}/man1/%{name}.1* %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.24-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 1.24-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild