From 9f1b40e753cf899e58168a889a3df63c843fcb4a Mon Sep 17 00:00:00 2001 From: Olli Hauer Date: Sun, 13 Jul 2014 23:21:40 +0000 Subject: [PATCH] - new port mod_mpm_itk for apache24 apache2-mpm-itk (just mpm-itk for short) is an MPM (Multi-Processing Module) for the Apache web server. mpm-itk allows you to run each of your vhost under a separate uid and gid - in short, the scripts and configuration files for one vhost no longer have to be readable for all the other vhosts. WWW: http://mpm-itk.sesse.net/ PR: 188992 Submitted by: Lukasz Wasikowski --- www/Makefile | 1 + www/mod_mpm_itk/Makefile | 25 +++++++++++++++++++++++++ www/mod_mpm_itk/distinfo | 2 ++ www/mod_mpm_itk/pkg-descr | 6 ++++++ www/mod_mpm_itk/pkg-plist | 4 ++++ 5 files changed, 38 insertions(+) create mode 100644 www/mod_mpm_itk/Makefile create mode 100644 www/mod_mpm_itk/distinfo create mode 100644 www/mod_mpm_itk/pkg-descr create mode 100644 www/mod_mpm_itk/pkg-plist diff --git a/www/Makefile b/www/Makefile index 814533f1afd0..9fe6318f9083 100644 --- a/www/Makefile +++ b/www/Makefile @@ -503,6 +503,7 @@ SUBDIR += mod_memcache SUBDIR += mod_memcache_block SUBDIR += mod_mono + SUBDIR += mod_mpm_itk SUBDIR += mod_musicindex SUBDIR += mod_myvhost SUBDIR += mod_ntlm2 diff --git a/www/mod_mpm_itk/Makefile b/www/mod_mpm_itk/Makefile new file mode 100644 index 000000000000..c2f02772389f --- /dev/null +++ b/www/mod_mpm_itk/Makefile @@ -0,0 +1,25 @@ +# Created by: Lukasz Wasikowski +# $FreeBSD$ + +PORTNAME= mod_mpm_itk +PORTVERSION= 2.4.7 +CATEGORIES= www +MASTER_SITES= http://mpm-itk.sesse.net/ \ + http://lukasz.wasikowski.net/files/ +PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} +DISTNAME= mpm-itk-2.4.7-02 + +MAINTAINER= lukasz@wasikowski.net +COMMENT= This MPM allows you to run each vhost under a separate uid and gid + +LICENSE= APACHE20 + +USE_APACHE= 24 +GNU_CONFIGURE= yes + +AP_FAST_BUILD= yes +SRC_FILE= mpm_itk.c + +PLIST_SUB= SED=${SED} + +.include diff --git a/www/mod_mpm_itk/distinfo b/www/mod_mpm_itk/distinfo new file mode 100644 index 000000000000..609264100809 --- /dev/null +++ b/www/mod_mpm_itk/distinfo @@ -0,0 +1,2 @@ +SHA256 (mpm-itk-2.4.7-02.tar.gz) = f12656326a1d3b92fefe63446032f0939ed9c803d4d9a1f89bae318eb3432e75 +SIZE (mpm-itk-2.4.7-02.tar.gz) = 45450 diff --git a/www/mod_mpm_itk/pkg-descr b/www/mod_mpm_itk/pkg-descr new file mode 100644 index 000000000000..c3d0587842b2 --- /dev/null +++ b/www/mod_mpm_itk/pkg-descr @@ -0,0 +1,6 @@ +apache2-mpm-itk (just mpm-itk for short) is an MPM (Multi-Processing Module) +for the Apache web server. mpm-itk allows you to run each of your vhost +under a separate uid and gid - in short, the scripts and configuration files +for one vhost no longer have to be readable for all the other vhosts. + +WWW: http://mpm-itk.sesse.net/ diff --git a/www/mod_mpm_itk/pkg-plist b/www/mod_mpm_itk/pkg-plist new file mode 100644 index 000000000000..1c196668a09d --- /dev/null +++ b/www/mod_mpm_itk/pkg-plist @@ -0,0 +1,4 @@ +@unexec %%SED%% -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf +%%APACHEMODDIR%%/%%AP_MODULE%% +@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F +@unexec echo "Don't forget to remove all %%AP_NAME%%-related directives in your httpd.conf"