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

Bug 55049

Summary: net-www/lighttpd-1.2.2 (new version, ebuild and scripts)
Product: Gentoo Linux Reporter: Boris <1723542c42148b2fe4af9f7ad1e382b30d4b7fd7>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: VERIFIED TEST-REQUEST    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://jan.kneschke.de/projects/lighttpd
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: files/lighttpd-1.2.2-gentoo-php.diff
files/lighttpd-1.2.2-gentoo.diff
files/lighttpd-1.2.2.initd
files/spawn-fcgi.conf
lighttpd-1.2.2.ebuild
lighttpd-1.2.3.ebuild.patch

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/conf.de 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:
1.
2.
3.
Comment 1 Boris 2004-06-24 09:11:54 UTC
Created attachment 34060 [details]
files/lighttpd-1.2.2-gentoo-php.diff
Comment 2 Boris 2004-06-24 09:13:01 UTC
Created attachment 34061 [details]
files/lighttpd-1.2.2-gentoo.diff
Comment 3 Boris 2004-06-24 09:13:52 UTC
Created attachment 34062 [details]
files/lighttpd-1.2.2.initd
Comment 4 Boris 2004-06-24 09:14:39 UTC
Created attachment 34063 [details]
files/spawn-fcgi.conf
Comment 5 Boris 2004-06-24 09:15:38 UTC
Created attachment 34064 [details]
lighttpd-1.2.2.ebuild
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,
Stu
Comment 8 Boris 2004-07-10 15:06:12 UTC
Created attachment 35133 [details, diff]
lighttpd-1.2.3.ebuild.patch

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)