diff options
Diffstat (limited to 'network/mod_chroot')
-rw-r--r-- | network/mod_chroot/README | 2 | ||||
-rw-r--r-- | network/mod_chroot/mod_chroot.SlackBuild | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_chroot/README b/network/mod_chroot/README index 5495f1ba29..80654c156d 100644 --- a/network/mod_chroot/README +++ b/network/mod_chroot/README @@ -9,7 +9,7 @@ as suEXEC or suPHP, is being used, or system()-like functions are in use. This package pre-creates /var/chroot/httpd with just enough subdirs to enable the stock Slackware config to run. You'll need to add the following line to your /etc/httpd/httpd.conf file: - Include /etc/httpd/mod_chroot.conf + Include /etc/httpd/extra/mod_chroot.conf You'll also need to add the following lines to your /etc/fstab file: /var/run/httpd /var/chroot/httpd/var/run/httpd none bind diff --git a/network/mod_chroot/mod_chroot.SlackBuild b/network/mod_chroot/mod_chroot.SlackBuild index 86c7489691..5e821adcc2 100644 --- a/network/mod_chroot/mod_chroot.SlackBuild +++ b/network/mod_chroot/mod_chroot.SlackBuild @@ -9,7 +9,7 @@ PRGNAM=mod_chroot VERSION=${VERSION:-0.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -71,9 +71,9 @@ install --mode=755 --strip .libs/mod_chroot.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd mkdir -p $PKG/var/chroot/httpd/{srv,var/run/httpd,var/www} # Install a sample mod_chroot.conf file -mkdir -p $PKG/etc/httpd/ +mkdir -p $PKG/etc/httpd/extra sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_chroot.conf > \ - $PKG/etc/httpd/mod_chroot.conf.new + $PKG/etc/httpd/extra/mod_chroot.conf.new # Documentiation mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |