Add support for explicit routing rules -- Install and .spec files

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3764 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-04-02 15:22:14 +00:00
parent f39537bc90
commit 66c2939d64
2 changed files with 13 additions and 1 deletions

View File

@ -442,6 +442,14 @@ if [ ! -f ${PREFIX}/etc/shorewall/providers ]; then
echo "Providers file installed as ${PREFIX}/etc/shorewall/providers"
fi
#
# Install the Route Rules file
#
if [ ! -f ${PREFIX}/etc/shorewall/rtrules ]; then
run_install $OWNERSHIP -m 0600 rtrules ${PREFIX}/etc/shorewall/rtrules
echo "Routing rules file installed as ${PREFIX}/etc/shorewall/rtrules"
fi
#
# Install the tcclasses file
#

View File

@ -1,6 +1,6 @@
%define name shorewall
%define version 3.2.0
%define release 0Beta3
%define release 0Beta4
%define prefix /usr
Summary: Shoreline Firewall is an iptables-based firewall for Linux systems.
@ -97,6 +97,7 @@ fi
%attr(0600,root,root) %config(noreplace) /etc/shorewall/continue
%attr(0600,root,root) %config(noreplace) /etc/shorewall/started
%attr(0600,root,root) %config(noreplace) /etc/shorewall/providers
%attr(0600,root,root) %config(noreplace) /etc/shorewall/rtrules
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcclasses
%attr(0600,root,root) %config(noreplace) /etc/shorewall/tcdevices
%attr(0600,root,root) /etc/shorewall/Makefile
@ -179,6 +180,9 @@ fi
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
%changelog
* Sun Apr 02 2006 Tom Eastep tom@shorewall.net
- Added rtrules file
- Updated to 3.2.0-0Beta4
* Mon Mar 27 2006 Tom Eastep tom@shorewall.net
- Updated to 3.2.0-0Beta3
* Sat Mar 25 2006 Tom Eastep tom@shorewall.net