From 79fee585955ab21401888ed509bbfc951abdc2a5 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 19 Nov 2006 01:22:31 +0000 Subject: [PATCH] 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 --- Shorewall/install.sh | 18 ++++++++++++++++++ Shorewall/shorewall.spec | 25 +++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/Shorewall/install.sh b/Shorewall/install.sh index 4a94883e7..035cf76e7 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -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 # diff --git a/Shorewall/shorewall.spec b/Shorewall/shorewall.spec index 473ade250..2d85ea221 100644 --- a/Shorewall/shorewall.spec +++ b/Shorewall/shorewall.spec @@ -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