diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-02-13 17:30:12 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-02-28 09:42:03 -0600 |
commit | d85aa95e6a99aae9d6a0125a6b1037fc3e1c232f (patch) | |
tree | b4a00d0e136603e81b4608045e364e8740c30e6e /network | |
parent | 6b4254d4111a4219182f8624c14efab93d04319a (diff) | |
download | slackbuilds-d85aa95e6a99aae9d6a0125a6b1037fc3e1c232f.tar.gz |
network/mod_limitipconn: Install config file in /etc/httpd/extra
(instead of toplevel /etc/httpd directory)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/mod_limitipconn/README | 2 | ||||
-rw-r--r-- | network/mod_limitipconn/mod_limitipconn.SlackBuild | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/network/mod_limitipconn/README b/network/mod_limitipconn/README index 88a20d6f95..f1d418f5ed 100644 --- a/network/mod_limitipconn/README +++ b/network/mod_limitipconn/README @@ -3,7 +3,7 @@ to limit the number of simultaneous downloads permitted from a single IP address. You'll need to add the following line to your /etc/httpd/httpd.conf: - Include /etc/httpd/mod_limitipconn.conf + Include /etc/httpd/extra/mod_limitipconn.conf To test the 'test.pl' utility from mod_evasive is included in the doc dir. Which when run multiple simultainus sessions of should similate accessive diff --git a/network/mod_limitipconn/mod_limitipconn.SlackBuild b/network/mod_limitipconn/mod_limitipconn.SlackBuild index 9e8444096c..2ed40f3fd8 100644 --- a/network/mod_limitipconn/mod_limitipconn.SlackBuild +++ b/network/mod_limitipconn/mod_limitipconn.SlackBuild @@ -12,7 +12,7 @@ PRGNAM=mod_limitipconn VERSION=${VERSION:-0.23} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -61,9 +61,9 @@ CFLAGS="$SLACKFLAGS" apxs -ca mod_limitipconn.c # copy into place install -D -m755 -s .libs/mod_limitipconn.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules/mod_limitipconn.so -mkdir -p $PKG/etc/httpd +mkdir -p $PKG/etc/httpd/extra sed "s%@baselibdir@%lib${LIBDIRSUFFIX}%" $CWD/mod_limitipconn.conf > \ - $PKG/etc/httpd/mod_limitipconn.conf.new + $PKG/etc/httpd/extra/mod_limitipconn.conf.new mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ChangeLog INSTALL README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION |