1 Summary: Fakes trojan servers and logs incoming requests
7 Group(pl): X11/Narzêdzia
8 Source0: ftp://ftp.linux.hr/pub/fakebo/%{name}-%{version}.tar.gz
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11 URL: http://cvs.linux.hr/fakebo/
12 Requires: /sbin/chkconfig
15 FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
16 logs every attempt to a logfile or stdout. It is able to send fake
17 pings and replies back to the client trying to access your system.
26 rm -rf $RPM_BUILD_ROOT
27 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
29 %{__make} install DESTDIR=$RPM_BUILD_ROOT
31 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
33 gzip -9nf INSTALL HACKING AUTHORS TODO NEWS ChangeLog README \
37 rm -rf $RPM_BUILD_ROOT
40 /sbin/chkconfig --add fakebo
41 if [ -f /var/lock/subsys/fakebo ]; then
42 /etc/rc.d/init.d/fakebo restart 1>&2
44 echo "Run \"/etc/rc.d/init.d/fakebo start\" to start fakebo daemon."
49 if [ "$1" = "0" ]; then
50 if [ -f /var/lock/subsys/fakebo ]; then
51 /etc/rc.d/init.d/fakebo stop 1>&2
53 /sbin/chkconfig --del fakebo
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_bindir}/fakebo
59 %attr(754,root,root) /etc/rc.d/init.d/fakebo
60 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fakebo.conf
61 %{_mandir}/man1/fakebo.1*
62 %doc {INSTALL,HACKING,AUTHORS,TODO,NEWS,ChangeLog,README,custom.replies}.gz