ports/188992: New port: www/mpm_itk mpm-itk for apache 2.4
Lukasz Wasikowski
lukasz at wasikowski.net
Fri Apr 25 12:50:00 UTC 2014
>Number: 188992
>Category: ports
>Synopsis: New port: www/mpm_itk mpm-itk for apache 2.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 25 12:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Lukasz Wasikowski
>Release: FreeBSD 9.2-RELEASE-p3
>Organization:
>Environment:
FreeBSD ashnazg.cadera.com.pl 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #1 r263118: Thu Mar 13 23:07:02 CET 2014 root at ashnazg.cadera.com.pl:/usr/obj/usr/src/sys/ASHNAZG amd64
>Description:
This port enables mpm-itk on apache 2.4.x, similar to www/apache22-itk-mpm. 2.4.x version is an apache module, and it works only with apache prefork.
>From author's webpage:
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/
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# mpm_itk
# mpm_itk/Makefile
# mpm_itk/pkg-descr
# mpm_itk/distinfo
# mpm_itk/pkg-plist
#
echo c - mpm_itk
mkdir -p mpm_itk > /dev/null 2>&1
echo x - mpm_itk/Makefile
sed 's/^X//' >mpm_itk/Makefile << 'ddabb5fab98c2df2799edd482e9e2d0a'
X# Created by: Lukasz Wasikowski <lukasz at wasikowski.net>
X# $FreeBSD$
X
XPORTNAME= mpm_itk
XPORTVERSION= 2.4.7
XCATEGORIES= www
XMASTER_SITES= http://mpm-itk.sesse.net/ \
X http://lukasz.wasikowski.net/files/
XPKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
XDISTNAME= mpm-itk-2.4.7-02
X
XMAINTAINER= lukasz at wasikowski.net
XCOMMENT= This MPM allows you to run each vhost under a separate uid and gid
X
XLICENSE= APACHE20
X
XUSE_APACHE= 24
XGNU_CONFIGURE= yes
X
XAP_FAST_BUILD= yes
X
XPLIST_SUB= SED=${SED}
X
X.include <bsd.port.mk>
ddabb5fab98c2df2799edd482e9e2d0a
echo x - mpm_itk/pkg-descr
sed 's/^X//' >mpm_itk/pkg-descr << '7caccbf3044a7f0f765577644a75bf92'
Xapache2-mpm-itk (just mpm-itk for short) is an MPM (Multi-Processing Module)
Xfor the Apache web server. mpm-itk allows you to run each of your vhost
Xunder a separate uid and gid - in short, the scripts and configuration files
Xfor one vhost no longer have to be readable for all the other vhosts.
X
XAuthor: Steinar H. Gunderson <sgunderson at bigfoot.com>
XWWW: http://mpm-itk.sesse.net/
7caccbf3044a7f0f765577644a75bf92
echo x - mpm_itk/distinfo
sed 's/^X//' >mpm_itk/distinfo << 'c45bdc6df670ad4b7bdb14b27c850381'
XSHA256 (mpm-itk-2.4.7-02.tar.gz) = f12656326a1d3b92fefe63446032f0939ed9c803d4d9a1f89bae318eb3432e75
XSIZE (mpm-itk-2.4.7-02.tar.gz) = 45450
c45bdc6df670ad4b7bdb14b27c850381
echo x - mpm_itk/pkg-plist
sed 's/^X//' >mpm_itk/pkg-plist << '0454435701e0a85d92b1080feeef7c2d'
X at unexec %%SED%% -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
X%%APACHEMODDIR%%/%%AP_MODULE%%
X at exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
X at unexec echo "Don't forget to remove all mod_h264_streaming-related directives in your httpd.conf"
0454435701e0a85d92b1080feeef7c2d
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list