From a50bb407aa27f7e34c42bf72d324149e57b8f29d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 21 Apr 2012 17:51:06 -0700 Subject: [PATCH] Patch from Roberto Signed-off-by: Tom Eastep --- Shorewall-core/shorewallrc.debian | 2 +- Shorewall/install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall-core/shorewallrc.debian b/Shorewall-core/shorewallrc.debian index 8bf6f6678..2a636bab5 100644 --- a/Shorewall-core/shorewallrc.debian +++ b/Shorewall-core/shorewallrc.debian @@ -9,7 +9,7 @@ LIBEXECDIR=${PREFIX}/share #Directory for executable scripts. PERLLIBDIR=${PREFIX}/share/shorewall #Directory to install Shorewall Perl module directory CONFDIR=/etc #Directory where subsystem configurations are installed SBINDIR=/sbin #Directory where system administration programs are installed -MANDIR=${PREFIX}/man #Directory where manpages are installed. +MANDIR=${PREFIX}/share/man #Directory where manpages are installed. INITDIR=/etc/init.d #Directory where SysV init scripts are installed. INITFILE=$PRODUCT #Name of the product's installed SysV init script INITSOURCE=init.debian.sh #Name of the distributed file to be installed as the SysV init script diff --git a/Shorewall/install.sh b/Shorewall/install.sh index dad48cc12..0fa6c1389 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -1072,13 +1072,13 @@ cd manpages [ -n "$INSTALLD" ] || mkdir -p ${DESTDIR}${MANDIR}/man5/ ${DESTDIR}${MANDIR}/man8/ for f in *.5; do - gzip -c $f > $f.gz + gzip -9c $f > $f.gz run_install $INSTALLD -m 0644 $f.gz ${DESTDIR}${MANDIR}/man5/$f.gz echo "Man page $f.gz installed to ${DESTDIR}${MANDIR}/man5/$f.gz" done for f in *.8; do - gzip -c $f > $f.gz + gzip -9c $f > $f.gz run_install $INSTALLD -m 0644 $f.gz ${DESTDIR}${MANDIR}/man8/$f.gz echo "Man page $f.gz installed to ${DESTDIR}${MANDIR}/man8/$f.gz" done