Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195742 - Apache ebuild patch for prefixed portage
Summary: Apache ebuild patch for prefixed portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High enhancement (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 195780
  Show dependency tree
 
Reported: 2007-10-13 20:11 UTC by Dirk Tilger
Modified: 2007-11-09 18:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch to the ebuild (apache-2.2.6.ebuild.patch,10.29 KB, patch)
2007-10-13 20:13 UTC, Dirk Tilger
Details | Diff
Linker command modification (apache-2.2.6-macos-bindnow.patch,323 bytes, patch)
2007-10-13 20:15 UTC, Dirk Tilger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.