ports/167965: if to make port (www/apache22) with an option: WITH_ALL_STATIC_MODULES=yes, suexec won't belong to this port.
Vladimir
ln at ruweb.net
Wed May 16 13:50:02 UTC 2012
>Number: 167965
>Category: ports
>Synopsis: if to make port (www/apache22) with an option: WITH_ALL_STATIC_MODULES=yes, suexec won't belong to this port.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 16 13:50:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Vladimir
>Release:
>Organization:
>Environment:
>Description:
if to make port (www/apache22) with an option: WITH_ALL_STATIC_MODULES=yes, suexec won't belong to this port.
>How-To-Repeat:
problem example:
==============================================================
# cat /etc/make.conf
.if ${.CURDIR:M*/www/apache22}
WITH_ALL_STATIC_MODULES=yes
SUEXEC_DOCROOT=/ home/
SUEXEC_LOGFILE=/ var/log/httpd/suexec_log
WITH_SUEXEC=yes
SUEXEC_UIDMIN=100
SUEXEC_GIDMIN=100
SUEXEC_CALLER="apache"
.endif
# ls -al /usr/local/sbin/suexec
ls: /usr/local/sbin/suexec: No such file or directory
#cd /usr/ports/www/apache22
# make clean && make install clean
# ls -al /usr/local/sbin/suexec
-rwsr-xr-x 1 root wheel 25404 May 13 08:36 /usr/local/sbin/suexec
# pkg_which /usr/local/sbin/suexec
[Updating the pkgdb <format:b db_btree> in /var/db/pkg ... - 244 packages found (-1 +1) (...). done]
?
# grep 'sbin/suexec' /var/db/pkg/apache-2.2.22_5/+CONTENTS
@comment sbin/suexec
#pkg_delete -f apache-2.2.22_5
# ls -al /usr/local/sbin/suexec
-rwsr-xr-x 1 root wheel 25404 May 13 08:36 /usr/local/sbin/suexec
==============================================================
example without the option: WITH_ALL_STATIC_MODULES=yes
(there is not problem)
==============================================================
# cat /etc/make.conf
.if ${.CURDIR:M*/www/apache22}
SUEXEC_DOCROOT=/ home/
SUEXEC_LOGFILE=/ var/log/httpd/suexec_log
WITH_SUEXEC=yes
SUEXEC_UIDMIN=100
SUEXEC_GIDMIN=100
SUEXEC_CALLER="apache"
.endif
# ls -al /usr/local/sbin/suexec
ls: /usr/local/sbin/suexec: No such file or directory
#cd /usr/ports/www/apache22
# make clean && make install clean
# ls -al /usr/local/sbin/suexec
-rwsr-xr-x 1 root wheel 25404 May 13 08:42 /usr/local/sbin/suexec
# pkg_which /usr/local/sbin/suexec
[Updating the pkgdb <format:b db_btree> in /var/db/pkg ... - 244 packages found (-1 +1) (...). done]
apache-2.2.22_5
# grep 'sbin/suexec' /var/db/pkg/apache-2.2.22_5/+CONTENTS
sbin/suexec
==============================================================
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list