rpms/perl-Text-CSV_XS/F-12 .cvsignore, 1.8, 1.9 perl-Text-CSV_XS.spec, 1.18, 1.19 sources, 1.8, 1.9
by Štěpán Kasal
Author: kasal
Update of /cvs/extras/rpms/perl-Text-CSV_XS/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9228
Modified Files:
.cvsignore perl-Text-CSV_XS.spec sources
Log Message:
sync with rawhide
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/F-12/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- .cvsignore 29 Oct 2009 19:09:20 -0000 1.8
+++ .cvsignore 2 Nov 2009 10:12:37 -0000 1.9
@@ -1 +1 @@
-Text-CSV_XS-0.68.tar.gz
+Text-CSV_XS-0.69.tgz
Index: perl-Text-CSV_XS.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/F-12/perl-Text-CSV_XS.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- perl-Text-CSV_XS.spec 29 Oct 2009 19:09:20 -0000 1.18
+++ perl-Text-CSV_XS.spec 2 Nov 2009 10:12:37 -0000 1.19
@@ -1,12 +1,12 @@
Name: perl-Text-CSV_XS
-Version: 0.68
+Version: 0.69
Release: 1%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/
-Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Test::Pod)
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Nov 2 2009 Stepan Kasal <skasal(a)redhat.com> - 0.69
+- new upstream release
+
* Wed Oct 7 2009 Marcela Mašláňová <mmaslano(a)redhat.com> - 0.68-1
- update to new upstream release
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/F-12/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources 29 Oct 2009 19:09:20 -0000 1.8
+++ sources 2 Nov 2009 10:12:37 -0000 1.9
@@ -1 +1 @@
-be6b24649b7830791fa5d069d8b3881c Text-CSV_XS-0.68.tar.gz
+8788c57a50704265e35171746473b404 Text-CSV_XS-0.69.tgz
14 years, 5 months
rpms/perl-MIME-Lite/F-12 .cvsignore, 1.3, 1.4 perl-MIME-Lite.spec, 1.11, 1.12 sources, 1.3, 1.4
by Štěpán Kasal
Author: kasal
Update of /cvs/extras/rpms/perl-MIME-Lite/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4664
Modified Files:
.cvsignore perl-MIME-Lite.spec sources
Log Message:
sync with rawhide
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/F-12/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 29 Oct 2009 19:23:28 -0000 1.3
+++ .cvsignore 2 Nov 2009 10:01:01 -0000 1.4
@@ -1 +1 @@
-MIME-Lite-3.026.tar.gz
+MIME-Lite-3.027.tar.gz
Index: perl-MIME-Lite.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/F-12/perl-MIME-Lite.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- perl-MIME-Lite.spec 29 Oct 2009 19:23:28 -0000 1.11
+++ perl-MIME-Lite.spec 2 Nov 2009 10:01:01 -0000 1.12
@@ -1,6 +1,6 @@
Name: perl-MIME-Lite
-Version: 3.026
-Release: 2%{?dist}
+Version: 3.027
+Release: 1%{?dist}
Summary: MIME::Lite - low-calorie MIME generator
Group: Development/Libraries
@@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Nov 2 2009 Stepan Kasal <skasal(a)redhat.com> - 3.027-1
+- new upstream version
+
* Wed Oct 7 2009 Stepan Kasal <skasal(a)redhat.com> - 3.26-2
- no need to search for *.bs files in noarch rpm
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/F-12/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources 29 Oct 2009 19:23:28 -0000 1.3
+++ sources 2 Nov 2009 10:01:01 -0000 1.4
@@ -1 +1 @@
-9917ed1d8bf9d9e9e65ddd89c55489a7 MIME-Lite-3.026.tar.gz
+e857febd66c45f2a5919b031fbe70aa7 MIME-Lite-3.027.tar.gz
14 years, 5 months
rpms/perl-Text-CSV_XS/devel .cvsignore, 1.8, 1.9 perl-Text-CSV_XS.spec, 1.18, 1.19 sources, 1.8, 1.9
by Štěpán Kasal
Author: kasal
Update of /cvs/extras/rpms/perl-Text-CSV_XS/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4309
Modified Files:
.cvsignore perl-Text-CSV_XS.spec sources
Log Message:
- new upstream version
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- .cvsignore 7 Oct 2009 10:47:16 -0000 1.8
+++ .cvsignore 2 Nov 2009 09:59:45 -0000 1.9
@@ -1 +1 @@
-Text-CSV_XS-0.68.tar.gz
+Text-CSV_XS-0.69.tgz
Index: perl-Text-CSV_XS.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/devel/perl-Text-CSV_XS.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- perl-Text-CSV_XS.spec 7 Oct 2009 10:47:17 -0000 1.18
+++ perl-Text-CSV_XS.spec 2 Nov 2009 09:59:46 -0000 1.19
@@ -1,12 +1,12 @@
Name: perl-Text-CSV_XS
-Version: 0.68
+Version: 0.69
Release: 1%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/
-Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tar.gz
+Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(Test::Pod)
@@ -55,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Nov 2 2009 Stepan Kasal <skasal(a)redhat.com> - 0.69
+- new upstream release
+
* Wed Oct 7 2009 Marcela Mašláňová <mmaslano(a)redhat.com> - 0.68-1
- update to new upstream release
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Text-CSV_XS/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources 7 Oct 2009 10:47:17 -0000 1.8
+++ sources 2 Nov 2009 09:59:46 -0000 1.9
@@ -1 +1 @@
-be6b24649b7830791fa5d069d8b3881c Text-CSV_XS-0.68.tar.gz
+8788c57a50704265e35171746473b404 Text-CSV_XS-0.69.tgz
14 years, 5 months
rpms/perl-MIME-Lite/devel .cvsignore, 1.3, 1.4 perl-MIME-Lite.spec, 1.12, 1.13 sources, 1.3, 1.4
by Štěpán Kasal
Author: kasal
Update of /cvs/extras/rpms/perl-MIME-Lite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3209
Modified Files:
.cvsignore perl-MIME-Lite.spec sources
Log Message:
- new upstream version
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- .cvsignore 7 Oct 2009 13:52:33 -0000 1.3
+++ .cvsignore 2 Nov 2009 09:55:39 -0000 1.4
@@ -1 +1 @@
-MIME-Lite-3.026.tar.gz
+MIME-Lite-3.027.tar.gz
Index: perl-MIME-Lite.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/devel/perl-MIME-Lite.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- perl-MIME-Lite.spec 7 Oct 2009 14:26:01 -0000 1.12
+++ perl-MIME-Lite.spec 2 Nov 2009 09:55:39 -0000 1.13
@@ -1,6 +1,6 @@
Name: perl-MIME-Lite
-Version: 3.026
-Release: 2%{?dist}
+Version: 3.027
+Release: 1%{?dist}
Summary: MIME::Lite - low-calorie MIME generator
Group: Development/Libraries
@@ -56,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Nov 2 2009 Stepan Kasal <skasal(a)redhat.com> - 3.027-1
+- new upstream version
+
* Wed Oct 7 2009 Stepan Kasal <skasal(a)redhat.com> - 3.26-2
- no need to search for *.bs files in noarch rpm
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MIME-Lite/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- sources 7 Oct 2009 13:52:33 -0000 1.3
+++ sources 2 Nov 2009 09:55:39 -0000 1.4
@@ -1 +1 @@
-9917ed1d8bf9d9e9e65ddd89c55489a7 MIME-Lite-3.026.tar.gz
+e857febd66c45f2a5919b031fbe70aa7 MIME-Lite-3.027.tar.gz
14 years, 5 months
rpms/perl-Math-Pari/devel .cvsignore, 1.8, 1.9 perl-Math-Pari.spec, 1.18, 1.19 sources, 1.8, 1.9
by Paul Howarth
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Math-Pari/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26189
Modified Files:
.cvsignore perl-Math-Pari.spec sources
Log Message:
Update to 2.010804
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/.cvsignore,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- .cvsignore 29 Oct 2009 13:23:54 -0000 1.8
+++ .cvsignore 2 Nov 2009 09:26:42 -0000 1.9
@@ -1,2 +1,2 @@
-Math-Pari-2.010802.tar.gz
+Math-Pari-2.010804.tar.gz
pari-2.3.4.tar.gz
Index: perl-Math-Pari.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/perl-Math-Pari.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -p -r1.18 -r1.19
--- perl-Math-Pari.spec 29 Oct 2009 13:23:54 -0000 1.18
+++ perl-Math-Pari.spec 2 Nov 2009 09:26:44 -0000 1.19
@@ -12,7 +12,7 @@
Summary: Perl interface to PARI
Name: perl-Math-Pari
-Version: 2.010802
+Version: 2.010804
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
@@ -94,6 +94,9 @@ cd -
%exclude %{_mandir}/man3/Math::libPARI.dumb.3pm*
%changelog
+* Mon Nov 2 2009 Paul Howarth <paul(a)city-fan.org> - 2.010804-1
+- Update to 2.010804
+
* Thu Oct 29 2009 Paul Howarth <paul(a)city-fan.org> - 2.010802-1
- Update to 2.010802
- Use system pari library (version 2.3.4) rather than a local build
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-Pari/devel/sources,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- sources 29 Oct 2009 13:23:54 -0000 1.8
+++ sources 2 Nov 2009 09:26:44 -0000 1.9
@@ -1,2 +1,2 @@
-f843b0b19da0a0a044851d980881dbc9 Math-Pari-2.010802.tar.gz
+d128fa9b278df8a6b2666cb7c889b496 Math-Pari-2.010804.tar.gz
35c896266e4257793387ba22d5d76078 pari-2.3.4.tar.gz
14 years, 5 months
rpms/perl-Razor-Agent/F-12 razor-agents-2.85-use-sha-not-sha1.patch, NONE, 1.1 perl-Razor-Agent.spec, 1.21, 1.22
by Warren Togami 砥上勇
Author: wtogami
Update of /cvs/pkgs/rpms/perl-Razor-Agent/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6617
Modified Files:
perl-Razor-Agent.spec
Added Files:
razor-agents-2.85-use-sha-not-sha1.patch
Log Message:
Use Digest::SHA instead of Digest::SHA1
razor-agents-2.85-use-sha-not-sha1.patch:
Client/Engine.pm | 1 -
Signature/Ephemeral.pm | 14 +++++++-------
Signature/Whiplash.pm | 14 ++++++--------
String.pm | 17 +++++++----------
4 files changed, 20 insertions(+), 26 deletions(-)
--- NEW FILE razor-agents-2.85-use-sha-not-sha1.patch ---
diff -urN razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm razor-agents-2.85/lib/Razor2/Client/Engine.pm
--- razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm 2005-06-13 19:42:25.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/Client/Engine.pm 2009-11-01 13:45:08.125369192 -0500
@@ -1,7 +1,6 @@
package Razor2::Client::Engine;
use strict;
-use Digest::SHA1 qw(sha1_hex);
use Data::Dumper;
use Razor2::Signature::Ephemeral;
use Razor2::Engine::VR8;
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm
--- razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm 2003-03-03 18:09:50.000000000 -0500
+++ razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm 2009-11-01 13:45:08.125369192 -0500
@@ -2,9 +2,13 @@
package Razor2::Signature::Ephemeral;
use strict;
-use Digest::SHA1;
use Data::Dumper;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
+
sub new {
my ($class, %args) = @_;
@@ -86,16 +90,12 @@
}
my $digest;
- my $ctx = Digest::SHA1->new;
if ($seclength > 128) {
- $ctx->add($section1);
- $ctx->add($section2);
- $digest = $ctx->hexdigest;
+ $digest = sha1_hex($section1, $section2);
} else {
debug("Sections too small... reverting back to orginal content.");
- $ctx->add($content);
- $digest = $ctx->hexdigest;
+ $digest = sha1_hex($content);
}
debug("Computed e-hash is $digest");
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm
--- razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm 2007-05-08 18:22:36.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm 2009-11-01 13:45:08.124368017 -0500
@@ -7,7 +7,10 @@
package Razor2::Signature::Whiplash;
-use Digest::SHA1;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
sub new {
@@ -683,13 +686,8 @@
# the value of length to the nearest multiple of ``length_error''.
# Take the first 20 hex chars from SHA1 and call it the signature.
- my $sha1 = Digest::SHA1->new();
-
- $sha1->add($host);
- $sig = substr $sha1->hexdigest, 0, 12;
-
- $sha1->add($corrected_length);
- $sig .= substr $sha1->hexdigest, 0, 4;
+ $sig = substr sha1_hex($host), 0, 12;
+ $sig .= substr sha1_hex($corrected_length), 0, 4;
push @sigs, $sig;
$sig_meta{$sig} = [$host, $corrected_length];
diff -urN razor-agents-2.85.orig/lib/Razor2/String.pm razor-agents-2.85/lib/Razor2/String.pm
--- razor-agents-2.85.orig/lib/Razor2/String.pm 2005-06-13 17:09:59.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/String.pm 2009-11-01 13:45:08.123368518 -0500
@@ -1,11 +1,15 @@
# $Id: String.pm,v 1.48 2005/06/13 21:09:59 vipul Exp $
package Razor2::String;
-use Digest::SHA1 qw(sha1_hex);
use URI::Escape;
use Razor2::Preproc::enBase64;
use Data::Dumper;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
+
#use MIME::Parser;
require Exporter;
@@ -69,15 +73,8 @@
return unless $text && $iv1 && $iv2;
die "no ref's allowed" if ref($text);
- my $ctx = Digest::SHA1->new;
- $ctx->add($iv2);
- $ctx->add($text);
- my $digest = $ctx->hexdigest;
-
- $ctx = Digest::SHA1->new;
- $ctx->add($iv1);
- $ctx->add($digest);
- $digest = $ctx->hexdigest;
+ my $digest = sha1_hex($iv2, $text);
+ $digest = sha1_hex($iv1, $digest);
return (hextobase64($digest), $digest);
}
Index: perl-Razor-Agent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Razor-Agent/F-12/perl-Razor-Agent.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- perl-Razor-Agent.spec 26 Jul 2009 16:20:15 -0000 1.21
+++ perl-Razor-Agent.spec 2 Nov 2009 03:39:34 -0000 1.22
@@ -1,11 +1,12 @@
Summary: Use a Razor catalogue server to filter spam messages
Name: perl-Razor-Agent
Version: 2.85
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Artistic 2.0
Group: Applications/Internet
URL: http://razor.sourceforge.net/
Source: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
+Patch0: razor-agents-2.85-use-sha-not-sha1.patch
Requires: perl(Net::DNS), perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Net::DNS), perl(Digest::SHA1), perl(Time::HiRes), perl(URI), perl(ExtUtils::MakeMaker)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -28,6 +29,7 @@ Agents on the network.
%prep
%setup -q -n razor-agents-%{version}
+%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man*/*
%changelog
+* Sun Nov 01 2009 Warren Togami <wtogami(a)redhat.com> - 2.85-4
+- Use Digest::SHA instead of Digest::SHA1
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.85-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
14 years, 5 months
rpms/perl-Razor-Agent/devel razor-agents-2.85-use-sha-not-sha1.patch, NONE, 1.1 perl-Razor-Agent.spec, 1.21, 1.22
by Warren Togami 砥上勇
Author: wtogami
Update of /cvs/pkgs/rpms/perl-Razor-Agent/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6068
Modified Files:
perl-Razor-Agent.spec
Added Files:
razor-agents-2.85-use-sha-not-sha1.patch
Log Message:
Use Digest::SHA instead of Digest::SHA1
razor-agents-2.85-use-sha-not-sha1.patch:
Client/Engine.pm | 1 -
Signature/Ephemeral.pm | 14 +++++++-------
Signature/Whiplash.pm | 14 ++++++--------
String.pm | 17 +++++++----------
4 files changed, 20 insertions(+), 26 deletions(-)
--- NEW FILE razor-agents-2.85-use-sha-not-sha1.patch ---
diff -urN razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm razor-agents-2.85/lib/Razor2/Client/Engine.pm
--- razor-agents-2.85.orig/lib/Razor2/Client/Engine.pm 2005-06-13 19:42:25.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/Client/Engine.pm 2009-11-01 13:45:08.125369192 -0500
@@ -1,7 +1,6 @@
package Razor2::Client::Engine;
use strict;
-use Digest::SHA1 qw(sha1_hex);
use Data::Dumper;
use Razor2::Signature::Ephemeral;
use Razor2::Engine::VR8;
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm
--- razor-agents-2.85.orig/lib/Razor2/Signature/Ephemeral.pm 2003-03-03 18:09:50.000000000 -0500
+++ razor-agents-2.85/lib/Razor2/Signature/Ephemeral.pm 2009-11-01 13:45:08.125369192 -0500
@@ -2,9 +2,13 @@
package Razor2::Signature::Ephemeral;
use strict;
-use Digest::SHA1;
use Data::Dumper;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
+
sub new {
my ($class, %args) = @_;
@@ -86,16 +90,12 @@
}
my $digest;
- my $ctx = Digest::SHA1->new;
if ($seclength > 128) {
- $ctx->add($section1);
- $ctx->add($section2);
- $digest = $ctx->hexdigest;
+ $digest = sha1_hex($section1, $section2);
} else {
debug("Sections too small... reverting back to orginal content.");
- $ctx->add($content);
- $digest = $ctx->hexdigest;
+ $digest = sha1_hex($content);
}
debug("Computed e-hash is $digest");
diff -urN razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm
--- razor-agents-2.85.orig/lib/Razor2/Signature/Whiplash.pm 2007-05-08 18:22:36.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/Signature/Whiplash.pm 2009-11-01 13:45:08.124368017 -0500
@@ -7,7 +7,10 @@
package Razor2::Signature::Whiplash;
-use Digest::SHA1;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
sub new {
@@ -683,13 +686,8 @@
# the value of length to the nearest multiple of ``length_error''.
# Take the first 20 hex chars from SHA1 and call it the signature.
- my $sha1 = Digest::SHA1->new();
-
- $sha1->add($host);
- $sig = substr $sha1->hexdigest, 0, 12;
-
- $sha1->add($corrected_length);
- $sig .= substr $sha1->hexdigest, 0, 4;
+ $sig = substr sha1_hex($host), 0, 12;
+ $sig .= substr sha1_hex($corrected_length), 0, 4;
push @sigs, $sig;
$sig_meta{$sig} = [$host, $corrected_length];
diff -urN razor-agents-2.85.orig/lib/Razor2/String.pm razor-agents-2.85/lib/Razor2/String.pm
--- razor-agents-2.85.orig/lib/Razor2/String.pm 2005-06-13 17:09:59.000000000 -0400
+++ razor-agents-2.85/lib/Razor2/String.pm 2009-11-01 13:45:08.123368518 -0500
@@ -1,11 +1,15 @@
# $Id: String.pm,v 1.48 2005/06/13 21:09:59 vipul Exp $
package Razor2::String;
-use Digest::SHA1 qw(sha1_hex);
use URI::Escape;
use Razor2::Preproc::enBase64;
use Data::Dumper;
+BEGIN {
+ eval { require Digest::SHA; import Digest::SHA qw(sha1_hex); 1 }
+ or do { require Digest::SHA1; import Digest::SHA1 qw(sha1_hex) }
+}
+
#use MIME::Parser;
require Exporter;
@@ -69,15 +73,8 @@
return unless $text && $iv1 && $iv2;
die "no ref's allowed" if ref($text);
- my $ctx = Digest::SHA1->new;
- $ctx->add($iv2);
- $ctx->add($text);
- my $digest = $ctx->hexdigest;
-
- $ctx = Digest::SHA1->new;
- $ctx->add($iv1);
- $ctx->add($digest);
- $digest = $ctx->hexdigest;
+ my $digest = sha1_hex($iv2, $text);
+ $digest = sha1_hex($iv1, $digest);
return (hextobase64($digest), $digest);
}
Index: perl-Razor-Agent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Razor-Agent/devel/perl-Razor-Agent.spec,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -p -r1.21 -r1.22
--- perl-Razor-Agent.spec 26 Jul 2009 16:20:15 -0000 1.21
+++ perl-Razor-Agent.spec 2 Nov 2009 03:37:20 -0000 1.22
@@ -1,11 +1,12 @@
Summary: Use a Razor catalogue server to filter spam messages
Name: perl-Razor-Agent
Version: 2.85
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Artistic 2.0
Group: Applications/Internet
URL: http://razor.sourceforge.net/
Source: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2
+Patch0: razor-agents-2.85-use-sha-not-sha1.patch
Requires: perl(Net::DNS), perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Net::DNS), perl(Digest::SHA1), perl(Time::HiRes), perl(URI), perl(ExtUtils::MakeMaker)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -28,6 +29,7 @@ Agents on the network.
%prep
%setup -q -n razor-agents-%{version}
+%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -74,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man*/*
%changelog
+* Sun Nov 01 2009 Warren Togami <wtogami(a)redhat.com> - 2.85-4
+- Use Digest::SHA instead of Digest::SHA1
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 2.85-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
14 years, 5 months
rpms/perl-V/devel import.log, NONE, 1.1 perl-V.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Johan Vromans
Author: sciurius
Update of /cvs/pkgs/rpms/perl-V/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11806/devel
Modified Files:
.cvsignore sources
Added Files:
import.log perl-V.spec
Log Message:
Initial import from upstream sources.
--- NEW FILE import.log ---
perl-V-0_13-1_fc10:HEAD:perl-V-0.13-1.fc10.src.rpm:1257069885
--- NEW FILE perl-V.spec ---
Name: perl-V
Version: 0.13
Release: 1%{?dist}
Summary: Print version of the specified Perl modules
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/V
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABELTJE/V-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
%description
A light-weight module for getting versions of Perl modules without
loading them.
%prep
%setup -q -n V-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test TEST_VERBOSE=1
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Oct 22 2009 Johan Vromans <jvromans(a)squirrel.nl> 0.13-1
- Initial Fedora RPM version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Oct 2009 23:43:37 -0000 1.1
+++ .cvsignore 1 Nov 2009 10:05:17 -0000 1.2
@@ -0,0 +1 @@
+V-0.13.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Oct 2009 23:43:37 -0000 1.1
+++ sources 1 Nov 2009 10:05:17 -0000 1.2
@@ -0,0 +1 @@
+fb4e5b1ae277880c1798677a9db8659e V-0.13.tar.gz
14 years, 5 months
rpms/perl-V/F-12 import.log, NONE, 1.1 perl-V.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Johan Vromans
Author: sciurius
Update of /cvs/pkgs/rpms/perl-V/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11426/F-12
Modified Files:
.cvsignore sources
Added Files:
import.log perl-V.spec
Log Message:
Initial import from upstream sources.
--- NEW FILE import.log ---
perl-V-0_13-1_fc10:F-12:perl-V-0.13-1.fc10.src.rpm:1257069815
--- NEW FILE perl-V.spec ---
Name: perl-V
Version: 0.13
Release: 1%{?dist}
Summary: Print version of the specified Perl modules
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/V
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABELTJE/V-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
%description
A light-weight module for getting versions of Perl modules without
loading them.
%prep
%setup -q -n V-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test TEST_VERBOSE=1
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Oct 22 2009 Johan Vromans <jvromans(a)squirrel.nl> 0.13-1
- Initial Fedora RPM version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Oct 2009 23:43:37 -0000 1.1
+++ .cvsignore 1 Nov 2009 10:04:09 -0000 1.2
@@ -0,0 +1 @@
+V-0.13.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Oct 2009 23:43:37 -0000 1.1
+++ sources 1 Nov 2009 10:04:10 -0000 1.2
@@ -0,0 +1 @@
+fb4e5b1ae277880c1798677a9db8659e V-0.13.tar.gz
14 years, 5 months
rpms/perl-V/F-11 import.log, NONE, 1.1 perl-V.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Johan Vromans
Author: sciurius
Update of /cvs/pkgs/rpms/perl-V/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3867/F-11
Modified Files:
.cvsignore sources
Added Files:
import.log perl-V.spec
Log Message:
Initial import from upstream sources.
--- NEW FILE import.log ---
perl-V-0_13-1_fc10:F-11:perl-V-0.13-1.fc10.src.rpm:1257067821
--- NEW FILE perl-V.spec ---
Name: perl-V
Version: 0.13
Release: 1%{?dist}
Summary: Print version of the specified Perl modules
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/V
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABELTJE/V-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
%description
A light-weight module for getting versions of Perl modules without
loading them.
%prep
%setup -q -n V-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test TEST_VERBOSE=1
%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Oct 22 2009 Johan Vromans <jvromans(a)squirrel.nl> 0.13-1
- Initial Fedora RPM version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 31 Oct 2009 23:43:37 -0000 1.1
+++ .cvsignore 1 Nov 2009 09:31:06 -0000 1.2
@@ -0,0 +1 @@
+V-0.13.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-V/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 31 Oct 2009 23:43:37 -0000 1.1
+++ sources 1 Nov 2009 09:31:06 -0000 1.2
@@ -0,0 +1 @@
+fb4e5b1ae277880c1798677a9db8659e V-0.13.tar.gz
14 years, 5 months