]> git.pld-linux.org Git - packages/fakebo.git/blob - fakebo.spec
- use macros in %{pre,post}{,un}
[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:        1
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 URL:            http://cvs.linux.hr/fakebo/
13 Requires:       /sbin/chkconfig
14
15 %description
16 FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
17 logs every attempt to a logfile or stdout. It is able to send fake
18 pings and replies back to the client trying to access your system.
19
20 %description -l pl
21 FakeBO udaje odpowiedzi trojanów (Back Orifice, NetBus, itp.) i loguje
22 ka¿d± próbê do pliku z logiem lub na standardowe wyj¶cie. Jest on
23 zdolny do wysy³ania fa³szywych pingów i odpowiedzi z powrotem do
24 klienta próbuj±cego uzyskaæ dostêp do twojego systemu.
25
26 %prep
27 %setup -q
28 %build
29 %configure
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
35
36 %{__make} install DESTDIR=$RPM_BUILD_ROOT
37
38 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
39
40 gzip -9nf INSTALL HACKING AUTHORS TODO NEWS ChangeLog README \
41         custom.replies
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post
47 DESC="fakebo daemon"; %chkconfig_add
48
49 %preun
50 %chkconfig_del
51
52 %files
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/fakebo
55 %attr(754,root,root) /etc/rc.d/init.d/fakebo
56 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fakebo.conf
57 %{_mandir}/man1/fakebo.1*
58 %doc {INSTALL,HACKING,AUTHORS,TODO,NEWS,ChangeLog,README,custom.replies}.gz
This page took 0.024759 seconds and 3 git commands to generate.