Update install.sh and shorewall.spec for man pages

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4912 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2006-11-19 01:22:31 +00:00
parent 2cf7c403c7
commit 79fee58595
2 changed files with 43 additions and 0 deletions

View File

@ -676,6 +676,24 @@ if [ -z "$PREFIX" ]; then
ln -s ${DEST}/${INIT} /usr/share/shorewall/init
fi
#
# Install the Man Pages
#
rm -f *.gz
for file in *.5; do
gzip $f
install_file -D ${f}.gz ${PREFIX}/usr/share/man/man5/${f}.gz
fi
for file in *.8; do
gzip $f
install_file -D ${f}.gz ${PREFIX}/usr/share/man/man8/${f}.gz
fi
echo "Man Pages Installed"
#
# Install the firewall script
#

View File

@ -223,6 +223,31 @@ fi
%attr(0644,root,root) /usr/share/shorewall/configfiles/tcdevices
%attr(0644,root,root) /usr/share/shorewall/configfiles/Makefile
%attr(0x444,root,root) %{_mandir}/man5/shorewall_accounting.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_actions.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_blacklist.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall.conf.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_hosts.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_interfaces.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_maclist.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_masq.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_nat.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_params.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_policy.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_providers.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_proxyarp.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_route_rules.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_routestopped.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_rules.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_tcclasses.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_tcdevices.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_tcrules.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_tos.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_tunnels.5.gz
%attr(0x444,root,root) %{_mandir}/man5/shorewall_zones.5.gz
%attr(0x444,root,root) %{_mandir}/man8/shorewall.8.gz
%doc COPYING INSTALL changelog.txt releasenotes.txt tunnel ipsecvpn Samples
%changelog