0a7217
Summary: A way to more safely re-load firewall rules remotely
0a7217
Name: fwrestart
36780a
Version: 1.08
fe0d48
Release: 5%{?dist}
6514c9
License: GPLv2
0a7217
Group: Applications/System
0a7217
URL: http://www.tummy.com/Community/software/
36780a
Source: ftp://ftp.tummy.com/pub/tummy/fwrestart/fwrestart-%{version}.tar.gz
0a7217
BuildRequires: python
0a7217
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0a7217
BuildArch: noarch
0a7217
0a7217
%description
0a7217
This program can automatically detect when changes to the firewall block
0a7217
the administrative shell session, and to take corrective action
0a7217
0a7217
fwrestart uses terminal auto-response codes to safely re-start firewall
0a7217
rules over a remote shell session.  It sends a request to your terminal
0a7217
(xterm, for example), which responds back automatically.  When that
0a7217
response is received, ensuring that fwrestart can communicate with the
0a7217
terminal, fwrestart then issues a command to restart the firewall.
0a7217
It then tries another request to the terminal, and if that is not
0a7217
received within 5 seconds, a command is run to clear the firewall and
0a7217
an appropriate error is generated.
0a7217
0a7217
%prep
0a7217
%setup
0a7217
%build
0a7217
0a7217
%install
0a7217
rm -rf "$RPM_BUILD_ROOT"
0a7217
mkdir -p "$RPM_BUILD_ROOT"/usr/sbin
0a7217
mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man8
0a7217
#  copy over files
0a7217
cp fwrestart "$RPM_BUILD_ROOT"/usr/sbin
0a7217
cp fwrestart.man "$RPM_BUILD_ROOT"/usr/share/man/man8/fwrestart.8
0a7217
0a7217
%clean
0a7217
rm -rf "$RPM_BUILD_ROOT"
0a7217
0a7217
%files
0a7217
%doc README LICENSE
0a7217
%{_mandir}/man8/fwrestart.8.gz
0a7217
%defattr(755,root,root)
0a7217
%{_sbindir}/fwrestart
0a7217
0a7217
%changelog
fe0d48
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-5
fe0d48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe0d48
ecbf98
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-4
ecbf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ecbf98
e09f80
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
e09f80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e09f80
169c73
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
169c73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
169c73
36780a
* Sun Feb 19 2012 Kevin Fenzi <kevin@scrye.com> - 1.08-1
36780a
- Update to upstream 1.08
36780a
655239
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-5
655239
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
655239
7a6c92
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
7a6c92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a6c92
fdaf12
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
fdaf12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fdaf12
b4881c
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
b4881c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b4881c
6514c9
* Tue Sep  4 2007 Kevin Fenzi <kevin@tummy.com> - 1.05-1
6514c9
- Update to 1.0.5
6514c9
- Clarify License
6514c9
912463
* Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.04-2
912463
- Rebuild for fc6 
912463
cfa00b
* Mon May  8 2006 Kevin Fenzi <kevin@tummy.com> - 1.04-1
cfa00b
- Update to 1.04
cfa00b
a44ba7
* Mon Nov 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.03-1.fc5
a44ba7
- Update to 1.03
a44ba7
d01101
* Tue Sep 27 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-4.fc5
d01101
- add dist to release
d01101
0a7217
* Thu Sep 22 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-3
0a7217
- A few more tweaks to clean up issues and re-submit to extras
0a7217
0a7217
* Thu May 26 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-2
0a7217
- Changed a number of items to match Fedora extras guidelines