Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55049 - net-www/lighttpd-1.2.2 (new version, ebuild and scripts)
Summary: net-www/lighttpd-1.2.2 (new version, ebuild and scripts)
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Web Application Packages Maintainers
Keywords: EBUILD
Depends on:
Reported: 2004-06-24 09:10 UTC by Boris
Modified: 2004-09-02 07:41 UTC (History)
0 users

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

files/lighttpd-1.2.2-gentoo-php.diff (lighttpd-1.2.2-gentoo-php.diff,2.73 KB, text/plain)
2004-06-24 09:11 UTC, Boris
files/lighttpd-1.2.2-gentoo.diff (lighttpd-1.2.2-gentoo.diff,2.45 KB, text/plain)
2004-06-24 09:13 UTC, Boris
files/lighttpd-1.2.2.initd (lighttpd-1.2.2.initd,1.51 KB, text/plain)
2004-06-24 09:13 UTC, Boris
files/spawn-fcgi.conf (spawn-fcgi.conf,978 bytes, text/plain)
2004-06-24 09:14 UTC, Boris
lighttpd-1.2.2.ebuild (lighttpd-1.2.2.ebuild,2.29 KB, text/plain)
2004-06-24 09:15 UTC, Boris
lighttpd-1.2.3.ebuild.patch (lighttpd-1.2.3.ebuild.patch,1.05 KB, patch)
2004-07-10 15:06 UTC, Boris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris 2004-06-24 09:11:11 UTC
I changed the ebuild, conf-files, diffs and scripts so that php can be used very easy.

The ebuild uses two different diffs, one that enables php in the lighttpd.conf and one that doen't. Sadly I did not have an idea to solve this in one diff.

The ebuild now uses enewuser from eutils.eclass for adding the lighttp-user.

I moved the lighttpd.conf from /etc/ to /etc becaused it seems that /etc/conf.d is for the init-scripts. I made an einfo at the end of emerge to get the updating users notice. I also patched the manpage so that the path to the conf-file is now correct.

I hope I listed all the changes here.
The ebuild and scripts were on two x86-boxes with and without the spawn-fcgi. Both work for me.

Reproducible: Always
Steps to Reproduce:
Comment 1 Boris 2004-06-24 09:11:54 UTC
Created attachment 34060 [details]
Comment 2 Boris 2004-06-24 09:13:01 UTC
Created attachment 34061 [details]
Comment 3 Boris 2004-06-24 09:13:52 UTC
Created attachment 34062 [details]
Comment 4 Boris 2004-06-24 09:14:39 UTC
Created attachment 34063 [details]
Comment 5 Boris 2004-06-24 09:15:38 UTC
Created attachment 34064 [details]
Comment 6 Boris 2004-06-24 09:21:22 UTC
Just noticed:
The last line in the two diff-files ("Only in doc/: lighttpd.conf.orig") can/should be deleted.
Comment 7 Stuart Herbert (RETIRED) gentoo-dev 2004-06-26 17:23:08 UTC
Okay, this is now in Portage.  I split spawn-fcgi out into a separate package; it makes life a lot easier.

Let me know how you get on with it.

Best regards,
Comment 8 Boris 2004-07-10 15:06:12 UTC
Created attachment 35133 [details, diff]

Sorry it took so long. I had much to learn for the university and simply forgot
to test and now got remembered by the new-version-announcement. ;-)

* I added ldap to IUSE (because it is used by you)
* And I changed a dodir into newdir because the dodir made the problems by
removing an empty log-dir when updating.
* At last I removed the PV from the install of the init-script so that it is
not needed to create a new file in FILESDIR for every version-bump.

Renaming the resulting file to lighttpd-1.2.3.ebuild is enough for the bump to
the new version.

Everything else works fine on my box.
Perhaps an einfo message would be nice for the php-users, that they have to
start a second init-script to geht php working.
Comment 9 Boris 2004-09-02 07:41:14 UTC
Closing Bug (see Bug #59018)