aboutsummaryrefslogtreecommitdiff
path: root/network/mod_ruid2
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-02-05 00:36:45 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-02-07 15:21:09 +0700
commitd14d03504bde6e48708e2135893007ac81c4a124 (patch)
tree0844c5eaff213e18d41b10a4f44e4b541339977a /network/mod_ruid2
parentca3169cfe46fa504034ca9b2cd4a5292cc6b4687 (diff)
network/mod_ruid2: Updated for version 0.9.8 + enhancements
Diffstat (limited to 'network/mod_ruid2')
-rw-r--r--network/mod_ruid2/README4
-rw-r--r--network/mod_ruid2/mod_ruid2.SlackBuild19
-rw-r--r--network/mod_ruid2/mod_ruid2.info10
-rw-r--r--network/mod_ruid2/slack-desc4
4 files changed, 20 insertions, 17 deletions
diff --git a/network/mod_ruid2/README b/network/mod_ruid2/README
index 60d7886f4ad6..ba1533a35e47 100644
--- a/network/mod_ruid2/README
+++ b/network/mod_ruid2/README
@@ -1,6 +1,8 @@
-mod_ruid2 is a suexec module for apache 2.0, based on mod_ruid and mod_suid2
+mod_ruid2 is a suexec module for apache which takes advantage of POSIX.1e
+capabilities to increase performance.
You'll need to add the following line to your /etc/httpd/httpd.conf file:
+
Include /etc/httpd/extra/mod_ruid2.conf
Also, make sure you edit and understand mod_ruid2 configuration completly
diff --git a/network/mod_ruid2/mod_ruid2.SlackBuild b/network/mod_ruid2/mod_ruid2.SlackBuild
index 6fdc7ef2ad5d..af9df3ff7bc6 100644
--- a/network/mod_ruid2/mod_ruid2.SlackBuild
+++ b/network/mod_ruid2/mod_ruid2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mod_ruid2
-# Copyright 2012, mario <mario@slackverse.org>
+# Copyright 2012, 2015 Mario Preksavec, Zagreb, HR
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -11,7 +11,7 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mod_ruid2
-VERSION=${VERSION:-0.9.7}
+VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Create dirs
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules $PKG/etc/httpd/extra
@@ -78,7 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \
apxs -l cap -c mod_ruid2.c
# Copy into place, and strip
-install --mode=755 --strip .libs/mod_ruid2.so $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
+install --mode=755 --strip .libs/mod_ruid2.so \
+ $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules
# Install a sample mod_ruid2.conf file
sed -e "s#modules/#lib${LIBDIRSUFFIX}/httpd/modules/#" ruid2.conf \
@@ -86,7 +87,7 @@ sed -e "s#modules/#lib${LIBDIRSUFFIX}/httpd/modules/#" ruid2.conf \
# Documentiation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a [A-Z][A-Z]* $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/network/mod_ruid2/mod_ruid2.info b/network/mod_ruid2/mod_ruid2.info
index 0d4793272cb9..9f0cd6202944 100644
--- a/network/mod_ruid2/mod_ruid2.info
+++ b/network/mod_ruid2/mod_ruid2.info
@@ -1,10 +1,10 @@
PRGNAM="mod_ruid2"
-VERSION="0.9.7"
+VERSION="0.9.8"
HOMEPAGE="http://sourceforge.net/projects/mod-ruid/"
-DOWNLOAD="http://downloads.sourceforge.net/mod-ruid/mod_ruid2-0.9.7.tar.bz2"
-MD5SUM="4399b64c9bed45fc723271ed9eb506a8"
+DOWNLOAD="http://downloads.sourceforge.net/mod-ruid/mod_ruid2-0.9.8.tar.bz2"
+MD5SUM="05a29e38ef22f4d5e8bf22b53f45ab41"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="mario"
-EMAIL="mario@slackverse.org"
+MAINTAINER="Mario Preksavec"
+EMAIL="mario at slackware dot hr"
diff --git a/network/mod_ruid2/slack-desc b/network/mod_ruid2/slack-desc
index 8841d7808830..1be60146c010 100644
--- a/network/mod_ruid2/slack-desc
+++ b/network/mod_ruid2/slack-desc
@@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------|
mod_ruid2: mod_ruid2 (an apache suexec module)
mod_ruid2:
-mod_ruid2: mod_ruid2 is a suexec module for apache 2.0, based on mod_ruid and
-mod_ruid2: mod_suid2.
+mod_ruid2: mod_ruid2 is a suexec module for apache which takes advantage of
+mod_ruid2: POSIX.1e capabilities to increase performance.
mod_ruid2:
mod_ruid2: Homepage: http://sourceforge.net/projects/mod-ruid/
mod_ruid2: