From 0a7217ae44f6eab527e274724f8cce5097d502b9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Sep 26 2005 17:37:20 +0000 Subject: auto-import fwrestart-1.01-3 on branch devel from fwrestart-1.01-3.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..93f6f11 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +fwrestart-1.01.tar.gz diff --git a/fwrestart.spec b/fwrestart.spec new file mode 100644 index 0000000..4c32cc6 --- /dev/null +++ b/fwrestart.spec @@ -0,0 +1,52 @@ +Summary: A way to more safely re-load firewall rules remotely +Name: fwrestart +Version: 1.01 +Release: 3 +License: GPL +Group: Applications/System +URL: http://www.tummy.com/Community/software/ +Source: ftp://ftp.tummy.com/pub/tummy/fwrestart/fwrestart-1.01.tar.gz +BuildRequires: python +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +%description +This program can automatically detect when changes to the firewall block +the administrative shell session, and to take corrective action + +fwrestart uses terminal auto-response codes to safely re-start firewall +rules over a remote shell session. It sends a request to your terminal +(xterm, for example), which responds back automatically. When that +response is received, ensuring that fwrestart can communicate with the +terminal, fwrestart then issues a command to restart the firewall. +It then tries another request to the terminal, and if that is not +received within 5 seconds, a command is run to clear the firewall and +an appropriate error is generated. + +%prep +%setup +%build + +%install +rm -rf "$RPM_BUILD_ROOT" +mkdir -p "$RPM_BUILD_ROOT"/usr/sbin +mkdir -p "$RPM_BUILD_ROOT"/usr/share/man/man8 +# copy over files +cp fwrestart "$RPM_BUILD_ROOT"/usr/sbin +cp fwrestart.man "$RPM_BUILD_ROOT"/usr/share/man/man8/fwrestart.8 + +%clean +rm -rf "$RPM_BUILD_ROOT" + +%files +%doc README LICENSE +%{_mandir}/man8/fwrestart.8.gz +%defattr(755,root,root) +%{_sbindir}/fwrestart + +%changelog +* Thu Sep 22 2005 Kevin Fenzi - 1.01-3 +- A few more tweaks to clean up issues and re-submit to extras + +* Thu May 26 2005 Kevin Fenzi - 1.01-2 +- Changed a number of items to match Fedora extras guidelines diff --git a/sources b/sources index e69de29..43f5caf 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c0997c048c1c01a43b169ecc1e0dc479 fwrestart-1.01.tar.gz