Compare commits
1 commit
rawhide
...
epel8-play
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7977187d81 |
5 changed files with 1 additions and 672 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +0,0 @@
|
|||
/sendxmpp-1.*.tar.gz
|
||||
/v1.24.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
|
|
@ -1,519 +0,0 @@
|
|||
https://github.com/lhost/sendxmpp/compare/v1.24...fbc0ac5
|
||||
|
||||
--- 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 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
||||
+ <Project xmlns="http://usefulinc.com/ns/doap#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:xmpp="https://linkmauve.fr/ns/xmpp-doap#" xmlns:schema="https://schema.org/">
|
||||
+ <name>sendxmpp</name>
|
||||
+ <short-name>sendxmpp</short-name>
|
||||
+
|
||||
+ <created>2004-11-17</created>
|
||||
+
|
||||
+ <shortdesc xml:lang="en">Perl script to send XMPP messages</shortdesc>
|
||||
+ <description xml:lang="en">Simple script written in Perl to send XMPP messages</description>
|
||||
+
|
||||
+ <homepage rdf:resource="http://sendxmpp.hostname.sk/"/>
|
||||
+ <bug-database rdf:resource="https://github.com/lhost/sendxmpp/issues"/>
|
||||
+ <category rdf:resource="https://linkmauve.fr/ns/xmpp-doap#category-client"/>
|
||||
+ <category rdf:resource="https://example.com/doap#category-console"/>
|
||||
+ <license rdf:resource="http://usefulinc.com/doap/licenses/gplv2"/>
|
||||
+
|
||||
+ <language>en</language>
|
||||
+
|
||||
+ <programming-language>Perl</programming-language>
|
||||
+ <os>Linux</os>
|
||||
+ <os>macOS</os>
|
||||
+ <os>FreeBSD</os>
|
||||
+ <os>OpenBSD</os>
|
||||
+ <os>NetBSD</os>
|
||||
+
|
||||
+ <repository>
|
||||
+ <GitRepository>
|
||||
+ <location rdf:resource="https://github.com/lhost/sendxmpp.git"/>
|
||||
+ <browse rdf:resource="https://github.com/lhost/sendxmpp"/>
|
||||
+ </GitRepository>
|
||||
+ </repository>
|
||||
+
|
||||
+ <maintainer>
|
||||
+ <foaf:Person>
|
||||
+ <foaf:name>Lubomir Host</foaf:name>
|
||||
+ <foaf:homepage rdf:resource="https://blog.hostname.sk/"/>
|
||||
+ <foaf:mbox_sha1sum>828a771064b09f14a2503dd3e8f8dc50e4aafb98</foaf:mbox_sha1sum>
|
||||
+ </foaf:Person>
|
||||
+ </maintainer>
|
||||
+
|
||||
+ <release>
|
||||
+ <Version>
|
||||
+ <revision>1.24</revision>
|
||||
+ <created>2014-09-13</created>
|
||||
+ <file-release rdf:resource="https://github.com/lhost/sendxmpp/archive/refs/tags/v1.24.tar.gz"/>
|
||||
+ </Version>
|
||||
+ </release>
|
||||
+
|
||||
+ </Project>
|
||||
+</rdf:RDF>
|
||||
--- 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 <lubomir.host@gmail.com>
|
||||
|
||||
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
|
||||
-sub xmpp_login($$$$$$$$$$$$);
|
||||
+sub xmpp_login($$$$$$$$$$$$$);
|
||||
sub xmpp_send ($$$$);
|
||||
sub xmpp_send_raw_xml($$);
|
||||
sub xmpp_send_message($$$$$$);
|
||||
@@ -82,6 +83,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 +104,7 @@
|
||||
$txt .= $_ while (<STDIN>);
|
||||
}
|
||||
|
||||
- xmpp_send ($cnx,$cmdline,$config,$txt);
|
||||
+ xmpp_send ($cnx, $cmdline, $config, $txt);
|
||||
|
||||
}
|
||||
else {
|
||||
@@ -115,7 +117,7 @@
|
||||
# line by line...
|
||||
while (<STDIN>) {
|
||||
chomp;
|
||||
- xmpp_send ($cnx,$cmdline,$config,$_);
|
||||
+ xmpp_send ($cnx, $cmdline, $config, $_);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -141,7 +143,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 +157,7 @@
|
||||
|
||||
#s/\#.*$//; # ignore comments in lines
|
||||
|
||||
- if (/^([a-z]+):\s*(.*)$/) {
|
||||
+ if (/^([a-z-]+):\s*(.*)$/) {
|
||||
$config{$1} = $2;
|
||||
}
|
||||
# Hugo van der Kooij <hvdkooij AT vanderkooij.org> has account with '#' as username
|
||||
@@ -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 +214,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 +235,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 +305,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 +314,7 @@
|
||||
);
|
||||
|
||||
if ($DEBUG || $VERBOSE) {
|
||||
- while (my ($key,$val) = each %dict) {
|
||||
+ while (my ($key, $val) = each %dict) {
|
||||
debug_print ("cmdline: '$key' => '$val'");
|
||||
}
|
||||
}
|
||||
@@ -319,12 +324,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 +348,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 +382,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 +393,7 @@
|
||||
'username' => $user,
|
||||
'password' => $pw,
|
||||
'resource' => $res);
|
||||
- xmpp_check_result('AuthSend',\@res,$cnx);
|
||||
+ xmpp_check_result('AuthSend', \@res, $cnx);
|
||||
|
||||
return $cnx;
|
||||
} # }}}
|
||||
@@ -426,20 +434,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,22 +460,21 @@
|
||||
'subject' => $subject,
|
||||
'body' => $msg);
|
||||
|
||||
- xmpp_check_result('MessageSend',0,$cnx);
|
||||
+ xmpp_check_result('MessageSend', 0, $cnx);
|
||||
+
|
||||
+ debug_print("Recipient: '$rcpt'");
|
||||
} # }}}
|
||||
|
||||
#
|
||||
# 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;
|
||||
- my $res = $pres->SetTo("$rcpt/$resource");
|
||||
-
|
||||
- $cnx->Send($pres);
|
||||
+ xmpp_send_raw_xml($cnx, "<presence to='$rcpt/$resource'><x xmlns='http://jabber.org/protocol/muc'/></presence>");
|
||||
|
||||
# create/send the message
|
||||
my $groupmsg = new Net::XMPP::Message;
|
||||
@@ -475,11 +482,12 @@
|
||||
body => $msg,
|
||||
type => 'groupchat');
|
||||
|
||||
- $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 +502,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 +526,7 @@
|
||||
}
|
||||
else {
|
||||
my $errmsg = $cnx->GetErrorCode() || '?';
|
||||
- error_exit ("Error '$txt': " . join (': ',@$res) . "[$errmsg]", $cnx);
|
||||
+ error_exit ("Error '$txt': " . join (': ', @$res) . "[$errmsg]", $cnx);
|
||||
}
|
||||
} # }}}
|
||||
|
||||
@@ -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 { # {{{
|
||||
|
||||
- my ($err,$cnx) = @_;
|
||||
+ my ($err, $cnx) = @_;
|
||||
print STDERR "$err\n";
|
||||
xmpp_logout ($cnx)
|
||||
if ($cnx);
|
||||
@@ -594,15 +604,15 @@
|
||||
|
||||
=over
|
||||
|
||||
-=item B<-f>,B<--file> I<file>
|
||||
+=item B<-f>, B<--file> I<file>
|
||||
|
||||
Use I<file> configuration file instead of F<~/.sendxmpprc>
|
||||
|
||||
-=item B<-u>,B<--username> I<user>
|
||||
+=item B<-u>, B<--username> I<user>
|
||||
|
||||
Use I<user> instead of the one in the configuration file
|
||||
|
||||
-=item B<-p>,B<--password> I<password>
|
||||
+=item B<-p>, B<--password> I<password>
|
||||
|
||||
Use I<password> instead of the one in the configuration file
|
||||
|
||||
@@ -610,35 +620,39 @@
|
||||
|
||||
Instead of specifying username or password, attempt to use system level SSO (e.g. kerberos) if supported.
|
||||
|
||||
-=item B<-j>,B<--jserver> I<server>
|
||||
+=item B<-j>, B<--jserver> I<server>
|
||||
|
||||
Use jabber I<server> instead of the one in the configuration file.
|
||||
|
||||
-=item B<-o>,B<--component> I<componentname>
|
||||
+=item B<-o>, B<--component> I<componentname>
|
||||
|
||||
Use componentname in connect call. Seems needed for Google talk.
|
||||
|
||||
-=item B<-r>,B<--resource> I<res>
|
||||
+=item B<-r>, B<--resource> I<res>
|
||||
|
||||
Use resource I<res> 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 +660,35 @@
|
||||
|
||||
Set type of message. Supported types are: B<message chat headline>. Default message type is B<message>. 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<subject>
|
||||
+=item B<-s>, B<--subject> I<subject>
|
||||
|
||||
Set the subject for the message to I<subject> [default: '']; when sending to a chatroom, this will set the subject for the chatroom
|
||||
|
||||
-=item B<-m>,B<--message> I<message>
|
||||
+=item B<-m>, B<--message> I<message>
|
||||
|
||||
Read the message from I<message> (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<WARNING>: This will include passwords etc. so be careful with the output! Specify multiple times to increase debug level.
|
||||
|
||||
@@ -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:
|
||||
|
||||
- username: I<your_username>
|
||||
- jserver: I<jabber_server>
|
||||
- port: I<jabber_port>
|
||||
- password: I<your_jabber_password>
|
||||
- component: I<optional_component_name>
|
||||
+ username: <your_username>
|
||||
+ jserver: <jabber_server>
|
||||
+ port: <jabber_port>
|
||||
+ password: <your_jabber_password>
|
||||
+ component: <optional_component_name>
|
||||
|
||||
|
||||
Example for Google Talk servers:
|
||||
|
||||
- username: I<lubomir.host>
|
||||
- jserver: I<talk.google.com>
|
||||
- password: I<my-secure-password>
|
||||
- component: I<gmail.com>
|
||||
+ username: <lubomir.host>
|
||||
+ jserver: <talk.google.com>
|
||||
+ password: <my-secure-password>
|
||||
+ component: <gmail.com>
|
||||
|
||||
With version 1.23 and older only one-line format is supported:
|
||||
|
||||
150
sendxmpp.spec
150
sendxmpp.spec
|
|
@ -1,150 +0,0 @@
|
|||
Summary: Perl script to send XMPP messages
|
||||
Name: sendxmpp
|
||||
Version: 1.24
|
||||
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
|
||||
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
|
||||
line, similar to what mail(1) does for mail. Messages can be sent both to
|
||||
individual recipients and chat rooms.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Sun Aug 10 2025 Robert Scheck <robert@fedoraproject.org> 1.24-23
|
||||
- Upgrade to GIT 20250721
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Aug 07 2020 Robert Scheck <robert@fedoraproject.org> 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 <releng@fedoraproject.org> - 1.24-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.24-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Oct 06 2014 Robert Scheck <robert@fedoraproject.org> 1.24-1
|
||||
- Upgrade to 1.24 (#1144389)
|
||||
|
||||
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.23-2
|
||||
- Perl 5.18 rebuild
|
||||
|
||||
* Sat Apr 20 2013 Robert Scheck <robert@fedoraproject.org> 1.23-1
|
||||
- Upgrade to 1.23 (#870778, #951877)
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 0.0.8-7
|
||||
- Perl 5.16 rebuild
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Oct 21 2011 Petr Pisar <ppisar@redhat.com> - 0.0.8-5
|
||||
- Modernize spec file
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Jun 09 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.0.8-2
|
||||
- Review fixes (#504641)
|
||||
|
||||
* Mon Jun 08 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> 0.0.8-1
|
||||
- Initial import
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (sendxmpp-1.24.tar.gz) = 349aac46ad4e13836f797f953d1acb33014d66de2bebed4961bcd981b765b5f0014bd2291a7355f0f8e80db522e3e843088fe08c0a21d4dda360dc2834db4842
|
||||
Loading…
Add table
Add a link
Reference in a new issue