2007-01-15 23:35:00 +00:00
|
|
|
#
|
2011-04-11 08:28:14 +00:00
|
|
|
# spec file for package razor-agents
|
2007-01-15 23:35:00 +00:00
|
|
|
#
|
2022-06-16 14:04:43 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2007-01-15 23:35:00 +00:00
|
|
|
#
|
2009-06-18 15:39:02 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-06-16 14:04:43 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:35:00 +00:00
|
|
|
#
|
|
|
|
|
2008-02-15 00:40:07 +00:00
|
|
|
|
2022-06-16 14:04:43 +00:00
|
|
|
%define src_name Razor2-Client-Agent
|
2008-02-15 00:40:07 +00:00
|
|
|
Name: razor-agents
|
2022-06-16 14:04:43 +00:00
|
|
|
Version: 2.86
|
|
|
|
Release: 0
|
2008-02-15 00:40:07 +00:00
|
|
|
Summary: SPAM catalogue inquiry and update tool
|
2013-08-20 05:40:56 +00:00
|
|
|
License: Artistic-2.0
|
2013-07-26 11:25:51 +00:00
|
|
|
Group: Productivity/Networking/Email/Utilities
|
2022-06-16 14:04:43 +00:00
|
|
|
URL: http://razor.sourceforge.net/
|
|
|
|
Source: https://github.com/toddr/%{src_name}/archive/refs/tags/v%{version}.tar.gz#/%{src_name}-%{version}.tar.gz
|
2013-08-20 05:40:56 +00:00
|
|
|
Source1: README.SUSE
|
2025-08-12 18:18:44 +02:00
|
|
|
Source100: README.md
|
2022-06-16 14:04:43 +00:00
|
|
|
Requires: perl-razor-agents
|
2010-12-03 14:57:08 +00:00
|
|
|
%{perl_requires}
|
2007-01-15 23:35:00 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
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 echos this
|
|
|
|
signature to other trusted servers after storing it in its 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 Agents
|
|
|
|
on the network.
|
|
|
|
|
|
|
|
Can be used as one of the spamassassin rules.
|
|
|
|
|
|
|
|
%package -n perl-razor-agents
|
2013-07-26 11:25:51 +00:00
|
|
|
Summary: The required perl modules for razor-agents
|
2013-01-07 13:50:16 +00:00
|
|
|
License: Artistic-1.0
|
2008-02-15 00:40:07 +00:00
|
|
|
Group: Development/Languages/Perl
|
2013-07-26 11:25:51 +00:00
|
|
|
Requires: perl-Digest-SHA1
|
|
|
|
Requires: perl-URI
|
2007-01-15 23:35:00 +00:00
|
|
|
|
|
|
|
%description -n perl-razor-agents
|
2011-08-29 07:52:51 +00:00
|
|
|
razor-agents are little programs to retrieve or update information
|
2007-01-15 23:35:00 +00:00
|
|
|
from the razor <http://razor.sourceforge.net/> network to exchange
|
|
|
|
signatures of SPAM. This package contains the required perl modules.
|
|
|
|
|
|
|
|
%prep
|
2022-06-16 14:04:43 +00:00
|
|
|
%setup -q -n %{src_name}-%{version}
|
|
|
|
cp %{SOURCE1} .
|
2007-01-15 23:35:00 +00:00
|
|
|
|
|
|
|
%build
|
2022-06-16 14:04:43 +00:00
|
|
|
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
2007-01-15 23:35:00 +00:00
|
|
|
make
|
2008-02-15 00:40:07 +00:00
|
|
|
|
|
|
|
%check
|
2007-01-15 23:35:00 +00:00
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
2022-06-16 14:04:43 +00:00
|
|
|
make DESTDIR=%{buildroot} INSTALLMAN5DIR=%{buildroot}/%{_mandir}/man5 install_vendor
|
2007-01-15 23:35:00 +00:00
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%files -n perl-razor-agents
|
2022-06-16 14:04:43 +00:00
|
|
|
%doc BUGS CREDITS Changes FAQ README.SUSE
|
|
|
|
%license LICENSE
|
|
|
|
%{_mandir}/man3/Razor*
|
|
|
|
%{_mandir}/man5/razor*
|
2007-01-15 23:35:00 +00:00
|
|
|
%{perl_vendorarch}/Razor2
|
|
|
|
%{perl_vendorarch}/auto/Razor2
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_mandir}/man1/razor*
|
2022-06-16 14:04:43 +00:00
|
|
|
%{_bindir}/razor*
|
2007-01-15 23:35:00 +00:00
|
|
|
|
2008-02-15 00:40:07 +00:00
|
|
|
%changelog
|