"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "blocksshd-1.3/blocksshd.spec" of archive blocksshd-1.3.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 Summary:	Blocks brute force SSH attacks using iptables
    2 Name:		blocksshd
    3 Version:	1.3
    4 Release:	1
    5 License:	GPLv2
    6 Group:		Applications/Internet
    7 URL:		http://sourceforge.net/projects/blocksshd/
    8 BuildArch:	noarch
    9 Source:		http://downloads.sourgeforge.net/blocksshd/blocksshd-%{version}.tar.bz2
   10 Requires:	perl >= 5, chkconfig
   11 AutoReq:	no
   12 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
   13 
   14 %description
   15 BlockSSHD is defense against SSHd brute force attacks.
   16 The Perl script is based on BruteForceBlocker v1.2.3.
   17 It dynamically adds IPTables rules in response to SSHd
   18 brute force attacks..
   19 
   20 %prep
   21 
   22 %setup -q
   23 
   24 %build
   25 %{__make}
   26 
   27 %install
   28 %{__rm} -rf "%{buildroot}"
   29 
   30 %{__make} install DESTDIR="%{buildroot}" \
   31 	BINDIR="%{_bindir}" \
   32 	SYSCONFDIR="%{_sysconfdir}" \
   33 	MANDIR="%{_mandir}" \
   34 	INITRDDIR="%{_initrddir}" \
   35 	MANCOMPRESS= \
   36 	INSTALL="%{__install} -p"
   37 
   38 %{__make} init DESTDIR="%{buildroot}" \
   39 	INITRDDIR="%{_initrddir}"
   40 
   41 %clean
   42 %{__rm} -rf "%{buildroot}"
   43 
   44 %files
   45 %defattr(-,root,root,-)
   46 %doc CHANGELOG README CREDITS INSTALL
   47 %{_bindir}/blocksshd
   48 %{_sysconfdir}/blocksshd.conf
   49 %{_mandir}/man1/blocksshd.1*
   50 %{_initrddir}/blocksshd
   51 %config(noreplace) %{_sysconfdir}/blocksshd.conf
   52 
   53 %post
   54 /sbin/chkconfig --add blocksshd
   55 
   56 %preun
   57 /sbin/chkconfig --del blocksshd
   58 
   59 %changelog
   60 * Fri Jun 27 2008 James Turnbull <james@lovedthanlost.net> 1.3-1
   61 - Removed IPv6 support
   62 
   63 * Wed Aug 09 2007 James Turnbull <james@lovedthanlost.net> 1.2-1
   64 - Added new init script
   65 - Changed default blocking list location to /etc
   66 - Documentation fixes
   67 
   68 * Tue May 22 2007 James Turnbull <james@lovedthanlost.net> 1.1-2
   69 - Fixed preun field
   70 - Incremented spec file to 1.1-2
   71 
   72 * Thu Apr 12 2007 James Turnbull <james@lovedthanlost.net> 1.1-1
   73 - Added -p to spec file
   74 - Changed download source from dl to download
   75 - Changed description
   76 - Added preun option
   77 - Incremented blocksshd.spec to 1.1-1
   78 
   79 * Tue Sep 26 2006 James Turnbull <james@lovedthanlost.net> 0.9
   80 - Added sysconfdir installation
   81 
   82 * Sun Jul 30 2006 James Turnbull <james@lovedthanlost.net> 0.7
   83 - Added init file support
   84 
   85 * Tue Jul 25 2006 James Turnbull <james@lovedthanlost.net> 0.7
   86 - Spec file for Fedora Extras
   87