0a7217a
Summary: A way to more safely re-load firewall rules remotely
0a7217a
Name: fwrestart
36780a5
Version: 1.08
c87d2d4
Release: 8%{?dist}
6514c99
License: GPLv2
0a7217a
Group: Applications/System
0a7217a
URL: http://www.tummy.com/Community/software/
36780a5
Source: ftp://ftp.tummy.com/pub/tummy/fwrestart/fwrestart-%{version}.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
c87d2d4
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-8
c87d2d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c87d2d4
fde3d46
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-7
fde3d46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fde3d46
29f771b
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-6
29f771b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
29f771b
fe0d48e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-5
fe0d48e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe0d48e
ecbf98f
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-4
ecbf98f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ecbf98f
e09f80c
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-3
e09f80c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e09f80c
169c730
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2
169c730
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
169c730
36780a5
* Sun Feb 19 2012 Kevin Fenzi <kevin@scrye.com> - 1.08-1
36780a5
- Update to upstream 1.08
36780a5
6552399
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-5
6552399
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6552399
7a6c924
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-4
7a6c924
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7a6c924
fdaf12b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
fdaf12b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fdaf12b
b4881c4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-2
b4881c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b4881c4
6514c99
* Tue Sep  4 2007 Kevin Fenzi <kevin@tummy.com> - 1.05-1
6514c99
- Update to 1.0.5
6514c99
- Clarify License
6514c99
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