1 Summary: Open proxy monitor and blocker, designed for use with ircds
2 Summary(pl): Monitorowanie i blokowanie otwartych proxy do u¿ywania z ircd
8 Group: Applications/Communications
9 Source0: http://static.blitzed.org/www.blitzed.org/bopm/files/%{name}-%{version}.tar.gz
10 # Source0-md5: ab1b7494c4242eef957b5fca61c92b18
13 Patch0: %{name}-DESTDIR.patch
14 URL: http://www.blitzed.org/bopm/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libtool
18 BuildRequires: rpmbuild(macros) >= 1.202
19 PreReq: rc-scripts >= 0.4.0.17
20 Requires(pre): /usr/bin/getgid
21 Requires(pre): /bin/id
22 Requires(pre): /usr/sbin/groupadd
23 Requires(pre): /usr/sbin/useradd
24 Requires(postun): /usr/sbin/userdel
25 Requires(postun): /usr/sbin/groupdel
26 Requires(post,preun): /sbin/chkconfig
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 The Blitzed Open Proxy Monitor is designed to connect to an IRC server
31 and become an IRC operator. It then watches connect notices in order
32 to scan all connecting clients for open (insecure) proxies. Such
33 insecure proxies are commonly used for spamming, floods and other
36 BOPM can detect WinGates, HTTP proxies, SOCKS 4/5 proxies and Cisco
37 routers with default passwords. BOPM also has support for checking
38 against a DNS-Based Blacklist (similar to MAPS RBL) and can be
39 configured to report new proxies back to the Blitzed Open Proxy
43 Blitzed Open Proxy Monitor jest zaprojektowany tak, ¿e ³±czy siê z
44 serwerem IRC i staje operatorem. Nastêpnie ogl±da informacje o
45 po³±czeniach w celu skanowania wszystkich klientów pod k±tem otwartych
46 (niebezpiecznych) proxy. Takie niebezpieczne proxy zwykle s± u¿ywane
47 do spamowania, floodowania i innych nadu¿yæ.
49 BOPM jest w stanie wykryæ WinGates, proxy HTTP, proxy SOCKS 4/5 oraz
50 routery Cisco z domy¶lnymi has³ami. BOPM obs³uguje tak¿e sprawdzanie
51 czarnych list opartych na DNS (takich jak MAPS RBL) i mo¿e byæ
52 skonfigurowany do zg³aszania nowych proxy z powrotem do projektu
53 Blitzed Open Proxy Monitoring.
59 find -name CVS | xargs -r rm -rf
60 rm -f contrib/bopm.spec
69 --localstatedir=/var/log/%{name} \
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/{run,log}/%{name}}
79 DESTDIR=$RPM_BUILD_ROOT
81 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
82 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
83 > $RPM_BUILD_ROOT/var/log/%{name}/bopm.log
84 > $RPM_BUILD_ROOT/var/log/%{name}/scan.log
87 rm -rf $RPM_BUILD_ROOT
90 %groupadd -g 151 %{name}
91 %useradd -u 151 -c "BOPM Daemon" -g %{name} %{name}
94 /sbin/chkconfig --add %{name}
95 if [ -f /var/lock/subsys/%{name} ]; then
96 /etc/rc.d/init.d/%{name} restart 1>&2
98 echo "Run \"/etc/rc.d/init.d/%{name} start\" to start BOPM daemon."
102 if [ "$1" = "0" ]; then
103 if [ -f /var/lock/subsys/%{name} ]; then
104 /etc/rc.d/init.d/%{name} stop 1>&2
106 /sbin/chkconfig --del %{name}
110 if [ "$1" = "0" ]; then
116 %defattr(644,root,root,755)
117 %doc ChangeLog INSTALL README bopm.conf.sample
118 %doc contrib/ network-bopm/
119 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
120 %attr(754,root,root) /etc/rc.d/init.d/%{name}
121 %attr(755,root,root) %{_sbindir}/%{name}
123 %attr(770,root,bopm) %dir /var/run/%{name}
124 %attr(770,root,bopm) %dir /var/log/%{name}
125 %attr(640,bopm,bopm) %ghost /var/log/%{name}/bopm.log
126 %attr(640,bopm,bopm) %ghost /var/log/%{name}/scan.log