]> git.pld-linux.org Git - packages/fakebo.git/blob - fakebo.spec
- Release 2
[packages/fakebo.git] / fakebo.spec
1 Summary:        Fakes trojan servers and logs incoming requests
2 Summary(pl):    Program udaj±cy trojany i loguj±cy nadchodz±ce po³±czenia
3 Name:           fakebo
4 Version:        0.4.1
5 Release:        2
6 License:        GPL
7 Group:          X11/Utilities
8 Group(pl):      X11/Narzêdzia
9 Source0:        ftp://ftp.linux.hr/pub/fakebo/%{name}-%{version}.tar.gz
10 Source1:        fakebo.init
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 BuildRequires:  autoconf
13 URL:            http://cvs.linux.hr/fakebo/
14 Requires:       /sbin/chkconfig
15
16 %description
17 FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
18 logs every attempt to a logfile or stdout. It is able to send fake
19 pings and replies back to the client trying to access your system.
20
21 %description -l pl
22 FakeBO udaje odpowiedzi trojanów (Back Orifice, NetBus, itp.) i loguje
23 ka¿d± próbê do pliku z logiem lub na standardowe wyj¶cie. Jest on
24 zdolny do wysy³ania fa³szywych pingów i odpowiedzi z powrotem do
25 klienta próbuj±cego uzyskaæ dostêp do twojego systemu.
26
27 %prep
28 %setup -q
29
30 %build
31 autoconf
32 %configure
33 %{__make}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
38
39 %{__make} install DESTDIR=$RPM_BUILD_ROOT
40
41 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
42
43 gzip -9nf INSTALL HACKING AUTHORS TODO NEWS ChangeLog README \
44         custom.replies
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %post
50 /sbin/chkconfig --add fakebo
51 if [ -f /var/lock/subsys/fakebo ]; then
52         /etc/rc.d/init.d/fakebo restart 1>&2
53 else
54         echo "Run \"/etc/rc.d/init.d/fakebo start\" to start fakebo daemon."
55 fi
56
57
58 %postun
59 if [ "$1" = "0" ]; then
60         if [ -f /var/lock/subsys/fakebo ]; then
61                 /etc/rc.d/init.d/fakebo stop 1>&2
62         fi
63         /sbin/chkconfig --del fakebo
64 fi
65
66 %files
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/fakebo
69 %attr(754,root,root) /etc/rc.d/init.d/fakebo
70 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fakebo.conf
71 %{_mandir}/man1/fakebo.1*
72 %doc *.gz
This page took 0.096504 seconds and 4 git commands to generate.