0a7217a
Summary: A way to more safely re-load firewall rules remotely
0a7217a
Name: fwrestart
adaf06a
Version: 1.05
adaf06a
Release: 1%{?dist}
adaf06a
License: GPLv2
0a7217a
Group: Applications/System
0a7217a
URL: http://www.tummy.com/Community/software/
adaf06a
Source: ftp://ftp.tummy.com/pub/tummy/fwrestart/fwrestart-1.05.tar.gz
0a7217a
BuildRequires: python
0a7217a
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0a7217a
BuildArch: noarch
0a7217a
0a7217a
%description
0a7217a
This program can automatically detect when changes to the firewall block
0a7217a
the administrative shell session, and to take corrective action
0a7217a
0a7217a
fwrestart uses terminal auto-response codes to safely re-start firewall
0a7217a
rules over a remote shell session.  It sends a request to your terminal
0a7217a
(xterm, for example), which responds back automatically.  When that
0a7217a
response is received, ensuring that fwrestart can communicate with the
0a7217a
terminal, fwrestart then issues a command to restart the firewall.
0a7217a
It then tries another request to the terminal, and if that is not
0a7217a
received within 5 seconds, a command is run to clear the firewall and
0a7217a
an appropriate error is generated.
0a7217a
0a7217a
%prep
0a7217a
%setup
0a7217a
%build
0a7217a
0a7217a
%install
0a7217a
rm -rf "$RPM_BUILD_ROOT"
0a7217a
mkdir -p "$RPM_BUILD_ROOT"/usr/sbin
0a7217a
mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man8
0a7217a
#  copy over files
0a7217a
cp fwrestart "$RPM_BUILD_ROOT"/usr/sbin
0a7217a
cp fwrestart.man "$RPM_BUILD_ROOT"/usr/share/man/man8/fwrestart.8
0a7217a
0a7217a
%clean
0a7217a
rm -rf "$RPM_BUILD_ROOT"
0a7217a
0a7217a
%files
0a7217a
%doc README LICENSE
0a7217a
%{_mandir}/man8/fwrestart.8.gz
0a7217a
%defattr(755,root,root)
0a7217a
%{_sbindir}/fwrestart
0a7217a
0a7217a
%changelog
adaf06a
* Tue Sep  4 2007 Kevin Fenzi <kevin@tummy.com> - 1.05-1
adaf06a
- Update to 1.0.5
adaf06a
- Clarify License
adaf06a
912463a
* Sun Aug 27 2006 Kevin Fenzi <kevin@tummy.com> - 1.04-2
912463a
- Rebuild for fc6 
912463a
cfa00b5
* Mon May  8 2006 Kevin Fenzi <kevin@tummy.com> - 1.04-1
cfa00b5
- Update to 1.04
cfa00b5
a44ba7f
* Mon Nov 14 2005 Kevin Fenzi <kevin@tummy.com> - 1.03-1.fc5
a44ba7f
- Update to 1.03
a44ba7f
d01101a
* Tue Sep 27 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-4.fc5
d01101a
- add dist to release
d01101a
0a7217a
* Thu Sep 22 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-3
0a7217a
- A few more tweaks to clean up issues and re-submit to extras
0a7217a
0a7217a
* Thu May 26 2005 Kevin Fenzi <kevin@tummy.com> - 1.01-2
0a7217a
- Changed a number of items to match Fedora extras guidelines