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