Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4082 - Ebuild + init script and conf.d file for Apache 2.0.39
Summary: Ebuild + init script and conf.d file for Apache 2.0.39
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-23 20:47 UTC by dynamotwain
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

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


Attachments
The compressed form of the ebuild + associated files (apache2.tar.bz2,3.30 KB, application/octet-stream)
2002-06-23 20:49 UTC, dynamotwain
Details
UPDATED: The compressed form of the ebuild + associated files (apache2.tbz2,3.34 KB, application/octet-stream)
2002-06-23 21:19 UTC, dynamotwain
Details
UPDATED: apache2-2.0.39-r1.tbz2 - tar.bz2 file of apache2-2.0.39-r1 ebuild (apache2-2.0.39-r1.tbz2,3.35 KB, application/octet-stream)
2002-06-24 14:33 UTC, dynamotwain
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dynamotwain 2002-06-23 20:47:44 UTC
In the enclosed tar.bz2 file, I have enclosed an ebuild for the newest version 
of Apache, complete with the file apache-builtin-mods for choosing what 
modules to compile as what. The file works if you extract to 
/usr/portage/net-www, then you can install with emerge net-www/apache2
Comment 1 dynamotwain 2002-06-23 20:49:27 UTC
Created attachment 1725 [details]
The compressed form of the ebuild + associated files
Comment 2 dynamotwain 2002-06-23 21:19:35 UTC
Created attachment 1726 [details]
UPDATED: The compressed form of the ebuild + associated files

Before the ebuild didn't create the conf.d files or init.d files
This makes attachment 1725 [details] obsolete
Comment 3 Donny Davies (RETIRED) gentoo-dev 2002-06-24 13:00:07 UTC
carpaski;

if you have some time/priority for this, please go ahead and handle it.
unfortunately i dont have much time to mess with apache2 at the moment.

i will of course be lurking in the background, watching, ;-)

if it could follow the layout/direction of the apache-1 port, that'd be nice.

i havent looked at this yet, but where is it storing the modules?
It shouldnt be /usr/lib/apache, becasue thats where apache-1 will store its.
what about /etc ?  I hope it's using /etc/apache2 or similar?  Basically,
if I did have time, I'd be making sure this packaage can be installed
alongside and work alongside an apache-1 install.  Debian is doing similar
things I believe.

Gotta run, thats just a few things I can think of for now.  Oh, and anything
DEPENDing on net-www/apache in the portage tree, will probably have to be
tweaked.  Specifically, anything doing like >=net-www/apache-1.3 will have
to be looked at, to make sure it really doesnt need =net-www/apache-1* instead.
stuff like the net-www/mod_* packages comes to mind.

Donny
Comment 4 dynamotwain 2002-06-24 14:33:42 UTC
Created attachment 1753 [details]
UPDATED: apache2-2.0.39-r1.tbz2 - tar.bz2 file of apache2-2.0.39-r1 ebuild

Updated to exist side by side with apache 1
Package name: net-www/apache2
Sys Config Dir: /etc/apache2
Info Dir: /usr/share/info
Man Dir: /usr/share/man
Everything else is in /usr/local/apache2:
Bin dir: /usr/local/apache2/bin
Modules dir: /usr/local/apache2/modules
et cetera
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2002-07-17 07:05:36 UTC
Ok... I started going through this but got side tracked... 
Sorry about the delay.

You can't use a variable before you define it... RDEPEND

Don't submit it with skel comments.

Paths should NOT touch /usr/local
Makes sure they aren't expanded on top of prefix.
Check the 1.3.26 ebuild for path examples

Check the apache 1.3.26 ebuild for user and group discovery info.
EVERYTHING USEFUL should be built in, unless you can provide a way to
set it up beforehand or it can be done with USE flags.

I'm not sure about the suexec thing, unless it comes disabled in the config.

Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2002-09-24 23:03:51 UTC
Some version I modified is in portage.