comparison syslog2iptables.spec.in @ 69:0e736950a117 stable-1-0-16

fix post uninstall script; allow config bucket count zero to disable a pattern
author Carl Byington <carl@five-ten-sg.com>
date Mon, 21 Dec 2015 07:56:18 -0800
parents 45e53c44c46c
children 79f310d1bc46
comparison
equal deleted inserted replaced
68:47db94733fe2 69:0e736950a117
1 %define localstatedir /var/lib 1 %define localstatedir /var/lib
2 2
3 Summary: Syslog to iptables dynamic firewall 3 Summary: Syslog to iptables dynamic firewall
4 Name: @PACKAGE@ 4 Name: @PACKAGE@
5 Version: @VERSION@ 5 Version: @VERSION@
6 Release: 2%{?dist} 6 Release: 3%{?dist}
7 License: GPLv3+ 7 License: GPLv3+
8 Group: System Environment/Daemons 8 Group: System Environment/Daemons
9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz 9 Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz
10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 10 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
11 URL: http://www.five-ten-sg.com/%{name}/ 11 URL: http://www.five-ten-sg.com/%{name}/
52 %preun 52 %preun
53 [ $1 = 0 ] && /sbin/service %{name} stop || : 53 [ $1 = 0 ] && /sbin/service %{name} stop || :
54 54
55 55
56 %postun 56 %postun
57 [ $1 = 0 ] && /sbin/chkconfig --del %{name} 57 [ $1 = 0 ] && /sbin/chkconfig --del %{name} || :
58 58
59 59
60 %files 60 %files
61 %defattr(-,root,root,-) 61 %defattr(-,root,root,-)
62 %{_sbindir}/* 62 %{_sbindir}/*
70 %attr(750,root,root) %{_sysconfdir}/%{name}.conf.make 70 %attr(750,root,root) %{_sysconfdir}/%{name}.conf.make
71 /etc/rc.d/init.d/%{name} 71 /etc/rc.d/init.d/%{name}
72 72
73 73
74 %changelog 74 %changelog
75 * Mon Dec 21 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-3
76 - fix post uninstall script
77 - allow config bucket count zero to disable a pattern
78
75 * Sat Dec 19 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-2 79 * Sat Dec 19 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-2
76 - fix default config regular expressions 80 - fix default config regular expressions
77 81
78 * Sat Dec 19 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-1 82 * Sat Dec 19 2015 Carl Byington <carl@five-ten-sg.com> - 1.16-1
79 - good authentication prevents ip blocking for awhile 83 - good authentication prevents ip blocking for awhile