1 | Summary: A spam filter for Usenet news servers. |
---|
2 | Summary(ja): Usenet ニュースサーバ用 spam フィルタ |
---|
3 | Name: cleanfeed |
---|
4 | %define version 0.95.7b |
---|
5 | Version: %{version} |
---|
6 | Release: 23%{?_dist_release} |
---|
7 | License: distributable |
---|
8 | Group: System Environment/Daemons |
---|
9 | Source0: ftp://ftp.exit109.com/users/jeremy/cleanfeed-%{version}.tar.gz |
---|
10 | Patch0: cleanfeed-0.95.7b-redhat.patch |
---|
11 | Patch1: cleanfeed-0.95.7b-ro.patch |
---|
12 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildArchitectures: noarch |
---|
14 | |
---|
15 | |
---|
16 | %description |
---|
17 | Cleanfeed is an automatic spam filter for Usenet news servers and |
---|
18 | routers (INN, Cyclone, Typhoon, Breeze and NNTPRelay). Cleanfeed |
---|
19 | looks for duplicated messages, repeated patterns, and known spamming |
---|
20 | sites and domains. It can be configured to block binary posts to |
---|
21 | non-binary newsgroups, to cancel already-rejected articles, and to |
---|
22 | reject some spamming from local users. |
---|
23 | |
---|
24 | Install the cleanfeed package if you need a spam filter for a Usenet |
---|
25 | news server. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | cleanfeed は Usenet ニュースサーバ/ルータ (INN, Cyclone, Typhoon, Breeze, |
---|
29 | NNTPRelay) 用の自動 spam フィルタです.cleanfeed は重複したメッセージ/ |
---|
30 | 繰り返しパターン/知られている spam サイト/やドメインをチェックします. |
---|
31 | バイナリポストが許されていないニュースグループへのバイナリポストを |
---|
32 | ブロックする様に設定することも出来ますし,既に reject された記事の |
---|
33 | キャンセル,ローカルユーザの spam メッセージの reject も設定可能です. |
---|
34 | |
---|
35 | Usenet ニュースサーバ用の spam フィルタが必要なら |
---|
36 | cleanfeed をインストールして下さい. |
---|
37 | |
---|
38 | |
---|
39 | %prep |
---|
40 | %setup -q |
---|
41 | %patch0 -p1 -b .rh |
---|
42 | %patch1 -p1 |
---|
43 | |
---|
44 | %install |
---|
45 | rm -rf $RPM_BUILD_ROOT |
---|
46 | mkdir -p $RPM_BUILD_ROOT/etc/news |
---|
47 | mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man8 |
---|
48 | mkdir -p $RPM_BUILD_ROOT/usr/lib/news/bin/filter |
---|
49 | install -m 0644 cleanfeed.conf $RPM_BUILD_ROOT/etc/news/ |
---|
50 | install -m 0644 cleanfeed.8 $RPM_BUILD_ROOT/%{_mandir}/man8/ |
---|
51 | install -m 0750 cleanfeed \ |
---|
52 | $RPM_BUILD_ROOT/usr/lib/news/bin/filter/filter_innd.pl |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | |
---|
58 | %files |
---|
59 | %attr(-,news,news) %config /etc/news/cleanfeed.conf |
---|
60 | %attr(-,root,root) %{_mandir}/man8/cleanfeed.8* |
---|
61 | %attr(755,news,news) %dir /usr/lib/news/bin/filter |
---|
62 | %attr(-,news,news) /usr/lib/news/bin/filter/filter_innd.pl |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sat Jun 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.95.7b-23 |
---|
66 | - rebuild with Vine6 environment |
---|
67 | |
---|
68 | * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 0.95.7b-22vl5 |
---|
69 | - applied new versioning policy, spec in utf-8 |
---|
70 | |
---|
71 | * Mon Oct 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.95.7b-21vl1 |
---|
72 | - s/Copyright/License/ |
---|
73 | - based on 0.95.7b-21.1.1 from Fedora Core |
---|
74 | - added Patch1 |
---|
75 | |
---|
76 | * Wed Dec 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
77 | - 0.95.7b-10vl1 |
---|
78 | - based on 0.95.7b-10 from Rawhide |
---|
79 | - added Japanese summary and description |
---|
80 | - use better macros |
---|
81 | |
---|
82 | * Sun Aug 6 2000 Florian La Roche <Florian.LaRoche@redhat.com> |
---|
83 | - add dir /usr/bin/filter/ with perms like in inn |
---|
84 | |
---|
85 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
86 | - automatic rebuild |
---|
87 | |
---|
88 | * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> |
---|
89 | - automatic rebuild |
---|
90 | |
---|
91 | * Sun Jun 18 2000 Matt Wilson <msw@redhat.com> |
---|
92 | - use %%{_mandir} |
---|
93 | - buildable as non-root |
---|
94 | |
---|
95 | * Thu Mar 02 2000 Cristian Gafton <gafton@redhat.com> |
---|
96 | - fix location to match inn-2.2.2 in /usr/bin/filter |
---|
97 | |
---|
98 | * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com> |
---|
99 | - fix description |
---|
100 | - man pages are compressed |
---|
101 | |
---|
102 | * Tue Aug 10 1999 Cristian Gafton <gafton@redhat.com> |
---|
103 | - don't require perl-MD5 anymore (that was merged in the main perl package) |
---|
104 | |
---|
105 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
106 | - auto rebuild in the new build environment (release 3) |
---|
107 | |
---|
108 | * Thu Jan 21 1999 Bill Nottingham <notting@redhat.com> |
---|
109 | - build for 6.0 |
---|
110 | |
---|
111 | * Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com> |
---|
112 | - update to 0.95.7b |
---|
113 | |
---|
114 | * Fri May 01 1998 Cristian Gafton <gafton@redhat.com> |
---|
115 | - spec file cleanups |
---|
116 | - patch to get rod of /usr/local/bin/perl |
---|
117 | |
---|
118 | * Mon Apr 13 1998 Bryan C. Andregg <bandregg@redhat.com> |
---|
119 | - first package |
---|
120 | |
---|