]> git.pld-linux.org Git - packages/fakebo.git/commitdiff
- added
authorwaszi <waszi@pld-linux.org>
Fri, 7 Jul 2000 19:33:38 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fakebo.spec -> 1.1

fakebo.spec [new file with mode: 0644]

diff --git a/fakebo.spec b/fakebo.spec
new file mode 100644 (file)
index 0000000..545dbfd
--- /dev/null
@@ -0,0 +1,63 @@
+Summary:       Fakes trojan servers and logs incoming requests
+Name:          fakebo
+Version:       0.4.1
+Release:       1
+License:       GPL
+Group:         X11/Utilities
+Group(pl):     X11/Narzêdzia
+Source0:       ftp://ftp.linux.hr/pub/fakebo/%{name}-%{version}.tar.gz
+Source1:       fakebo.init
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+URL:           http://cvs.linux.hr/fakebo/
+Requires:      /sbin/chkconfig
+
+%description
+FakeBO fakes trojan server responses (Back Orifice, NetBus, etc.) and
+logs every attempt to a logfile or stdout. It is able to send fake
+pings and replies back to the client trying to access your system.
+
+%prep
+%setup -q
+%build
+LDFLAGS="-s"; export LDFLAGS
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fakebo
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/*/* INSTALL HACKING \
+       AUTHORS TODO NEWS ChangeLog README custom.replies
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add fakebo
+if [ -f /var/lock/subsys/fakebo ]; then
+       /etc/rc.d/init.d/fakebo restart 1>&2
+else
+       echo "Run \"/etc/rc.d/init.d/fakebo start\" to start fakebo daemon."
+fi
+
+
+%postun
+if [ "$1" = 0 ]; then
+       if [ -f /var/lock/subsys/fakebo ]; then
+               /etc/rc.d/init.d/fakebo stop 1>&2
+       fi
+       /sbin/chkconfig --del fakebo
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fakebo
+%attr(754,root,root) /etc/rc.d/init.d/fakebo
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fakebo.conf
+%{_mandir}/man1/fakebo.1*
+%doc {INSTALL,HACKING,AUTHORS,TODO,NEWS,ChangeLog,README,custom.replies}.gz
This page took 0.07405 seconds and 4 git commands to generate.