Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102470 - www-servers/cherokee-0.4.25 various improvements/fixes
Summary: www-servers/cherokee-0.4.25 various improvements/fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-14 04:35 UTC by Aaron Walker (RETIRED)
Modified: 2005-12-27 01:09 UTC (History)
1 user (show)

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


Attachments
cherokee-0.4.25-r1.ebuild (cherokee-0.4.25-r1.ebuild,2.71 KB, text/plain)
2005-08-14 04:36 UTC, Aaron Walker (RETIRED)
Details
cherokee-0.4.25-fix-static.diff (cherokee-0.4.25-fix-static.diff,728 bytes, patch)
2005-08-14 04:36 UTC, Aaron Walker (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Walker (RETIRED) gentoo-dev 2005-08-14 04:35:37 UTC
Attached is an updated ebuild for cherokee-0.4.25-r1 that includes the
following improvements/fixes:

 - Fixed dependencies.  Since gnutls and openssl are libs, they are
   technically both build deps and run-time deps.
 - current ebuild allows cherokee to install HTML docs unconditionally (should
   only occur when USE=doc) and in the wrong location (/usr/share/doc/cherokee
   instead of /usr/share/doc/${PF}/html).  The sed in src_unpack is necessary
   so that 'make install' does not traverse down into the "doc" subdirectory
   (and thus install the html docs unconditionally).  Added doc to IUSE.
 - current ebuild does not respect cherokee's --enable-pam option, so users
   are forced to use pam support.  Use pam.eclass for pam support and use
   dopamd to install the pam.d file cherokee includes in the tarball.  Added
   pam to IUSE.
 - Looks like the --enable-ssl=[gnutls|openssl] option has changed to
   --enable-tls=[gnutls|openssl].
 - Without the --with-wwwroot option, cherokee uses /var/lib/www which
   obviously isn't optimal either.  I've reverted the previous change, using
   --with-wwwroot=/var/www/localhost/htdocs, however, I've added some logic
   which moves index.html to cherokee-index.html if a pre-existing index.html
   exists (unless the pre-existing one is exactly the same - from a previous
   install, for example).
 - Moved 'if ! use ipv6' logic to the more correct $(use_enable ipv6) logic.
 - Add support for cherokee user/group.  Otherwise cherokee will run as root.
   Add a sed to src_unpack() for modifying the default cherokee.conf to use
   them.  Also added pkg_postinst() for the enewuser/enewgroup calls.
 - Fixed static support.  Removed --disable-shared option when USE=static as
   it is not a valid ./configure option (resulting in ./configure bailing
   out).  Unfortunately, even with that fixed, the build fails with USE=static
   when trying to link libcherokee-server.la:

    .libs/libcherokee_server_la-cgi.o: In function
    `cherokee_cgi_build_basic_env':
    /buildroot/portage/cherokee-0.4.25-r1/work/cherokee-0.4.25/cherokee/cgi.c:41:
    multiple definition of `cherokee_cgi_build_basic_env'
   
.libs/libcherokee_server_la-cgi.o:/buildroot/portage/cherokee-0.4.25-r1/work/cherokee-0.4.25/cherokee/cgi.c:41:
    first defined here

   This is caused by the fact that if static support is enabled, cgi.[ch] ends
   up in libcherokee_server_la_SOURCES twice (because the static_handler_cgi_src
   and static_handler_fastcgi_src variables both include cgi.[ch]).  Don't
   forget to report this upstream.  It might be easier just to point them to
   this bug.  I've attached a patch that fixes this.
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-08-14 04:36:06 UTC
Created attachment 65904 [details]
cherokee-0.4.25-r1.ebuild
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-08-14 04:36:28 UTC
Created attachment 65905 [details, diff]
cherokee-0.4.25-fix-static.diff
Comment 3 José Alberto Suárez López (RETIRED) gentoo-dev 2005-12-27 01:09:28 UTC
Arron i dont ignore nothing so i have different priorities and was busy lately.
Thanks for the fixes, the ebuild is now updated.
I talking with the cherokee dev about the static bug.