From 36ca0cbf4bbbe8c700ec389323903ad08825a283 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Aug 11 2007 16:15:12 +0000 Subject: - Upgrade to 2.84 (#250869) - Added build requirement to perl(ExtUtils::MakeMaker) --- diff --git a/.cvsignore b/.cvsignore index 5cdcda5..2129e58 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -razor-agents-2.82.tar.bz2 +razor-agents-2.84.tar.bz2 diff --git a/perl-Razor-Agent.spec b/perl-Razor-Agent.spec index 95a6e1f..2998c2f 100644 --- a/perl-Razor-Agent.spec +++ b/perl-Razor-Agent.spec @@ -1,46 +1,33 @@ -%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) -%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) - -Name: perl-Razor-Agent -Version: 2.82 -Release: 1%{?dist} -Summary: Use a Razor catalogue server to filter spam messages - -Group: Applications/Internet -License: Artistic -URL: http://razor.sourceforge.net/ -Source0: http://dl.sf.net/razor/razor-agents-2.82.tar.bz2 -#Patch0: razor-agents-2.71-buildroot.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -# autodep misses this, razor-admin -register fails -Requires: perl(Net::DNS) - -BuildRequires: perl(Net::DNS), perl(Digest::SHA1) -BuildRequires: perl(Time::HiRes), perl(URI) +Summary: Use a Razor catalogue server to filter spam messages +Name: perl-Razor-Agent +Version: 2.84 +Release: 1%{?dist} +License: Artistic +Group: Applications/Internet +URL: http://razor.sourceforge.net/ +Source: http://dl.sourceforge.net/razor/razor-agents-%{version}.tar.bz2 +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) %description Vipul's Razor is a distributed, collaborative, spam detection and -filtering network. Razor establishes a distributed and constantly -updating catalogue of spam in propagation. This catalogue is used by -clients to filter out known spam. On receiving a spam, a Razor +filtering network. Razor establishes a distributed and constantly +updating catalogue of spam in propagation. This catalogue is used +by clients to filter out known spam. On receiving a spam, a Razor Reporting Agent (run by an end-user or a troll box) calculates and submits a 20-character unique identification of the spam (a SHA -Digest) to its closest Razor Catalogue Server. The Catalogue Server +Digest) to its closest Razor Catalogue Server. The Catalogue Server echos this signature to other trusted servers after storing it in its -database. Prior to manual processing or transport-level reception, +database. Prior to manual processing or transport-level reception, Razor Filtering Agents (end-users and MTAs) check their incoming mail against a Catalogue Server and filter out or deny transport in case of -a signature match. Catalogued spam, once identified and reported by a -Reporting Agent, can be blocked out by the rest of the Filtering +a signature match. Catalogued spam, once identified and reported by +a Reporting Agent, can be blocked out by the rest of the Filtering Agents on the network. - %prep %setup -q -n razor-agents-%{version} -# don't use -b for backup files, because these would be installed, too -#%patch0 -p1 - %build export CFLAGS="$RPM_OPT_FLAGS" @@ -50,6 +37,8 @@ cd Razor2-Preproc-deHTMLxs cd .. make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" +# Package is lacking Artistic license +perldoc -t perlartistic > COPYING %install rm -rf $RPM_BUILD_ROOT @@ -68,18 +57,15 @@ find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* - -%check || : +%check make test - %clean rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc BUGS Changes CREDITS FAQ README SERVICE_POLICY +%defattr(-,root,root) +%doc BUGS Changes COPYING CREDITS FAQ README SERVICE_POLICY %{_bindir}/* %{perl_vendorlib}/Razor2 %{perl_vendorlib}/auto/Razor2 @@ -87,8 +73,11 @@ rm -rf $RPM_BUILD_ROOT %{perl_vendorarch}/auto/Razor2 %{_mandir}/man*/* - %changelog +* Sat Aug 11 2007 Robert Scheck 2.84-1 +- Upgrade to 2.84 (#250869) +- Added build requirement to perl(ExtUtils::MakeMaker) + * Sat Sep 16 2006 Warren Togami - 2.82-1 - 2.82 diff --git a/sources b/sources index dbdc17d..42a1d1a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a79a798e52426261c6a2c4089b33872f razor-agents-2.82.tar.bz2 +8b9a11a6ce020383c32c45d1530d77c2 razor-agents-2.84.tar.bz2