]> git.pld-linux.org Git - packages/fakebo.git/blob - fakebo.spec
- tabs in preamble
[packages/fakebo.git] / fakebo.spec
1 Summary:        Fakes trojan servers and logs incoming requests
2 Summary(pl.UTF-8):      Program udający trojany i logujący nadchodzące połączenia
3 Name:           fakebo
4 Version:        0.4.1
5 Release:        6
6 License:        GPL v2
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 BuildRequires:  rpmbuild(macros) >= 1.268
14 Requires(post,preun):   /sbin/chkconfig
15 Requires:       rc-scripts
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
20 logs every attempt to a logfile or stdout. It is able to send fake
21 pings and replies back to the client trying to access your system.
22
23 %description -l pl.UTF-8
24 FakeBO udaje odpowiedzi trojanów (Back Orifice, NetBus, itp.) i loguje
25 każdą próbę do pliku z logiem lub na standardowe wyjście. Jest on
26 zdolny do wysyłania fałszywych pingów i odpowiedzi z powrotem do
27 klienta próbującego uzyskać dostęp do twojego systemu.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__autoconf}
34 %configure
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
40
41 %{__make} -j1 install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %post
50 /sbin/chkconfig --add fakebo
51 %service fakebo restart "fakebo daemon"
52
53 %preun
54 if [ "$1" = "0" ]; then
55         %service fakebo stop
56         /sbin/chkconfig --del fakebo
57 fi
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog HACKING NEWS README TODO custom.replies
62 %attr(755,root,root) %{_bindir}/fakebo
63 %attr(754,root,root) /etc/rc.d/init.d/fakebo
64 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fakebo.conf
65 %{_mandir}/man1/fakebo.1*
This page took 0.045395 seconds and 3 git commands to generate.