[Lunar-commits] <moonbase-other> php5-suhosin: readded to moonbase

v4hn v4hn at lunar-linux.org
Fri Aug 31 16:28:05 CEST 2012


Hey striker,

you're completely right, thanks for noticing.
I just c&ped the old module without any modifications.
No idea, who wrote that messy script originally.

Also I don't have time to look at the details at the moment.
Would you mind fixing this?


v4hn

On Fri, Aug 31, 2012 at 09:04:26AM -0500, Jon South wrote:
> This POST_REMOVE will nuke someone's httpd.conf if the initial cp fails for
> any reason (e.g. disk space), so you should be &&'ing those lines. A backup
> should also be created before modifying httpd.conf as well, or you'll anger
> the sysadmin gods. Furthermore, instead of piping grep to grep, why not use
> something like:
> 
> sed -ri
> 's:(LoadModule\s+php5_module|AddType\s+application/x-httpd-php).*|::g'
> /tmp/httpd.conf
> 
> That way you're not forking as much, and your match isn't as strict.
> 
> -Striker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/lunar-dev/attachments/20120831/e1be4dd9/attachment.bin>


More information about the Lunar-dev mailing list