diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-02-13 17:24:24 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-28 09:42:02 -0600 |
commit | 8fd9de9fe5005c1a176c5a3fe7c70e0defcf86b2 (patch) | |
tree | 02abba3aa2686c78813684713e7fd3273be6380b /network | |
parent | b59d7ba6b60c8bac16f18c33c04144c40b5fcede (diff) | |
download | slackbuilds-8fd9de9fe5005c1a176c5a3fe7c70e0defcf86b2.tar.gz |
network/mod_chroot: Install config file to /etc/httpd/extra/
(instead of toplevel /etc/httpd/)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-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 |