]> git.pld-linux.org Git - packages/fakebo.git/blob - fakebo.spec
- release 5 for Ac (4 is for Ra)
[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:        5
6 License:        GPL
7 Group:          Networking/Daemons
8 Source0:        ftp://ftp.linux.hr/pub/fakebo/%{name}-%{version}.tar.gz
9 # Source0-md5:  442b48ba44250104c30a6e7975230b7c
10 Source1:        %{name}.init
11 URL:            http://cvs.linux.hr/fakebo/
12 BuildRequires:  autoconf
13 PreReq:         rc-scripts
14 Requires(post,preun):   /sbin/chkconfig
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
19 logs every attempt to a logfile or stdout. It is able to send fake
20 pings and replies back to the client trying to access your system.
21
22 %description -l pl
23 FakeBO udaje odpowiedzi trojanów (Back Orifice, NetBus, itp.) i loguje
24 ka¿d± próbê do pliku z logiem lub na standardowe wyj¶cie. Jest on
25 zdolny do wysy³ania fa³szywych pingów i odpowiedzi z powrotem do
26 klienta próbuj±cego uzyskaæ dostêp do twojego systemu.
27
28 %prep
29 %setup -q
30
31 %build
32 %{__autoconf}
33 %configure
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 /sbin/chkconfig --add fakebo
50 if [ -f /var/lock/subsys/fakebo ]; then
51         /etc/rc.d/init.d/fakebo restart 1>&2
52 else
53         echo "Run \"/etc/rc.d/init.d/fakebo start\" to start fakebo daemon."
54 fi
55
56
57 %preun
58 if [ "$1" = "0" ]; then
59         if [ -f /var/lock/subsys/fakebo ]; then
60                 /etc/rc.d/init.d/fakebo stop 1>&2
61         fi
62         /sbin/chkconfig --del fakebo
63 fi
64
65 %files
66 %defattr(644,root,root,755)
67 %doc HACKING AUTHORS TODO NEWS ChangeLog README custom.replies
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*
This page took 0.066341 seconds and 3 git commands to generate.