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

Bug 359147

Summary: New ebuild: www-apache/mod_xsendfile-0.9
Product: Gentoo/Alt Reporter: nietonfir
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mod_xsendfile-0.9.ebuild
apache-module.eclass diff

Description nietonfir 2011-03-16 11:42:04 UTC
Created attachment 266101 [details]
mod_xsendfile-0.9.ebuild

Emerges and runs just fine on ~x64-macos.
The ebuild is mostly untouched except for the pkg_postinst function. I don't know if that's the right place to modify the conf file, so please correct me if I'm wrong.

The apache-module.eclass needed some love as well, but only a minor change as you will see in the subsequent diff.
Comment 1 nietonfir 2011-03-16 11:43:05 UTC
Created attachment 266103 [details, diff]
apache-module.eclass diff
Comment 2 Fabian Groffen gentoo-dev 2011-03-16 11:47:43 UTC
there is actually a get_modname function in multilib.eclass that you probably can use to do an unconditional sed
Comment 3 Hanno Böck gentoo-dev 2014-03-28 13:57:51 UTC
This has been added years ago, so closing.