network/mod_ruid2: Updated for version 0.9.8 + enhancements
This commit is contained in:
parent
ca3169cfe4
commit
d14d03504b
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue