Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 195742

Summary: Apache ebuild patch for prefixed portage
Product: Gentoo/Alt Reporter: Dirk Tilger <dirk>
Component: Prefix SupportAssignee: Gentoo non-Linux Team <alt>
Status: RESOLVED FIXED    
Severity: enhancement CC: dirk
Priority: High    
Version: unspecified   
Hardware: x86   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 195780    
Attachments: The patch to the ebuild
Linker command modification

Description Dirk Tilger 2007-10-13 20:11:54 UTC
I had used the attached patch to Apache for get it running in the prefixed portage. From the look of it, the apache webserver can be started by calling the executable ($EPREFIX/usr/sbin/apache2) directly. Runscript however seems not to work, so `$EPREFIX/etc/init.d/apache2 start` does not work.

use flags: mpm-prefork ssl -debug -doc -ldap -mpm-event -mpm-itk -mpm-peruser -mpm-worker -no-suexec -selinux -static-modules -threads

objective: `emerge mapserver`

test system: x86-macos
Comment 1 Dirk Tilger 2007-10-13 20:13:46 UTC
Created attachment 133360 [details, diff]
The patch to the ebuild

For the ebuild to work, a patch file is required in the FILES_DIR which will be attached separately.
Comment 2 Dirk Tilger 2007-10-13 20:15:59 UTC
Created attachment 133362 [details, diff]
Linker command modification

The patch corrects another Gentoo patch to apache-2.2.6 by converting the GNU Linker flag `-z now` into the Darwin linker flag `-bind_at_load`.
Comment 3 Fabian Groffen gentoo-dev 2007-11-09 17:34:34 UTC
gentoo-apache-2.2.6-r3/patches/03_all_gentoo-apache-tools.patch injects the bindnow flags.
Comment 4 Fabian Groffen gentoo-dev 2007-11-09 17:42:10 UTC
same remarks for this ebuild as for apache-tools
Comment 5 Fabian Groffen gentoo-dev 2007-11-09 18:46:28 UTC
Thanks, in the tree now.