Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108627 Details for
Bug 164558
ebuild for net-www/apache-2.0.58-r2 lack very important configuration options
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
apache-2.0.58.patch
apache-2.0.58.patch (text/plain), 1.72 KB, created by
MT
on 2007-01-30 15:49:48 UTC
(
hide
)
Description:
apache-2.0.58.patch
Filename:
MIME Type:
Creator:
MT
Created:
2007-01-30 15:49:48 UTC
Size:
1.72 KB
patch
obsolete
>--- apache-2.0.58-r2.ebuild 2007-01-24 13:49:08.621948127 +0100 >+++ apache-2.0.58-r2.ebuild 2007-01-27 15:32:40.789159981 +0100 >@@ -112,6 +112,10 @@ > local modtype > if useq static-modules; then > modtype="static" >+ >+ # This will save RAM that's allocated only for supporting dynamically >+ # loaded modules (we are using static modules, so we do not need to allocate extra RAM). >+ CFLAGS="${CFLAGS} -DDYNAMIC_MODULE_LIMIT=0" > else > modtype="shared" > fi >@@ -163,6 +167,29 @@ > --with-program-name=apache2 \ > --with-devrandom=/dev/urandom \ > --host=${CHOST} ${MY_BUILTINS}" >+ >+ # Atomic Operations >+ # Some modules, such as mod_cache, use APR's atomic API. This API provides >+ # atomic operations that can be used for lightweight thread synchronization. >+ # By default, APR implements these operations using the most efficient >+ # mechanism available on each target OS/CPU platform. Many modern CPUs, for >+ # example i486 and greater archs, have an instruction that does an atomic >+ # compare-and-swap (CAS) operation in hardware. However Apache defaults to a slower, >+ # mutex-based implementation of the atomic API in order to ensure >+ # compatibility with older CPU models that lack such instructions. >+ # Here we try to detect if you are building Apache from one of these platforms, >+ # and select a faster atomic implementation by overriding Apache defaults with the: >+ # --enable-nonportable-atomics option. >+ # NOTE: nonportable-atomics increasing Apache performances and scalability. >+ case ${CHOST} in >+ i386*) >+ ;; >+ *) ebegin "Setting faster APR Atomic Operations" >+ myconf="${myconf} \ >+ --enable-nonportable-atomics=yes" >+ eend $? >+ ;; >+ esac > > # debugging support > if useq debug ; then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 164558
: 108627 |
122239