From d85aa95e6a99aae9d6a0125a6b1037fc3e1c232f Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 13 Feb 2011 17:30:12 -0600 Subject: [PATCH] network/mod_limitipconn: Install config file in /etc/httpd/extra (instead of toplevel /etc/httpd directory) Signed-off-by: Robby Workman --- network/mod_limitipconn/README | 2 +- 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