network/mod_ruid2: Updated for version 0.9.8 + enhancements

This commit is contained in:
Mario Preksavec 2015-02-05 00:36:45 +01:00 committed by Willy Sudiarto Raharjo
parent ca3169cfe4
commit d14d03504b
4 changed files with 20 additions and 17 deletions

View File

@ -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: You'll need to add the following line to your /etc/httpd/httpd.conf file:
Include /etc/httpd/extra/mod_ruid2.conf Include /etc/httpd/extra/mod_ruid2.conf
Also, make sure you edit and understand mod_ruid2 configuration completly Also, make sure you edit and understand mod_ruid2 configuration completly

View File

@ -2,7 +2,7 @@
# Slackware build script for mod_ruid2 # Slackware build script for mod_ruid2
# Copyright 2012, mario <mario@slackverse.org> # Copyright 2012, 2015 Mario Preksavec, Zagreb, HR
# All rights reserved. # All rights reserved.
# #
# Redistribution and use of this script, with or without modification, is # 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 # 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer. # 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 # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mod_ruid2 PRGNAM=mod_ruid2
VERSION=${VERSION:-0.9.7} VERSION=${VERSION:-0.9.8}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -64,10 +64,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-exec chmod 755 {} \; -o \ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Create dirs # Create dirs
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/httpd/modules $PKG/etc/httpd/extra 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 apxs -l cap -c mod_ruid2.c
# Copy into place, and strip # 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 # Install a sample mod_ruid2.conf file
sed -e "s#modules/#lib${LIBDIRSUFFIX}/httpd/modules/#" ruid2.conf \ 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 # Documentiation
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION 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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="mod_ruid2" PRGNAM="mod_ruid2"
VERSION="0.9.7" VERSION="0.9.8"
HOMEPAGE="http://sourceforge.net/projects/mod-ruid/" HOMEPAGE="http://sourceforge.net/projects/mod-ruid/"
DOWNLOAD="http://downloads.sourceforge.net/mod-ruid/mod_ruid2-0.9.7.tar.bz2" DOWNLOAD="http://downloads.sourceforge.net/mod-ruid/mod_ruid2-0.9.8.tar.bz2"
MD5SUM="4399b64c9bed45fc723271ed9eb506a8" MD5SUM="05a29e38ef22f4d5e8bf22b53f45ab41"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="mario" MAINTAINER="Mario Preksavec"
EMAIL="mario@slackverse.org" EMAIL="mario at slackware dot hr"

View File

@ -8,8 +8,8 @@
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
mod_ruid2: mod_ruid2 (an apache suexec module) mod_ruid2: mod_ruid2 (an apache suexec module)
mod_ruid2: mod_ruid2:
mod_ruid2: mod_ruid2 is a suexec module for apache 2.0, based on mod_ruid and mod_ruid2: mod_ruid2 is a suexec module for apache which takes advantage of
mod_ruid2: mod_suid2. mod_ruid2: POSIX.1e capabilities to increase performance.
mod_ruid2: mod_ruid2:
mod_ruid2: Homepage: http://sourceforge.net/projects/mod-ruid/ mod_ruid2: Homepage: http://sourceforge.net/projects/mod-ruid/
mod_ruid2: mod_ruid2: