libmicrohttpd is a small library implementing an HTTP 1.1 web server. http://gnunet.org/libmicrohttpd It is needed as a dependency by net-p2p/gnunet. See bug 207302.
Created attachment 154765 [details] ebuild for libmicrohttpd-0.3.0
Created attachment 154815 [details] libmicrohttpd-0.3.0.ebuild Tested on x86 with all flags set. I added examples USE flag.
(In reply to comment #2) > Created an attachment (id=154815) [details] > libmicrohttpd-0.3.0.ebuild > > Tested on x86 with all flags set. > I added examples USE flag. > I just tried the same ebuild for version 0.4.4 and it seem to work just fine. Any particular reason why this ebuild has not yet entered portage?
Created attachment 216792 [details] Ebuild for version 0.4.4. This should work out of the box, I just updated the version and the license.
(In reply to comment #4) > Created an attachment (id=216792) [details] > Ebuild for version 0.4.4. > > This should work out of the box, I just updated the version and the license. > The ebuild is missing the ssl feature and the message feature. These can be included with the --enable-messages and --enable-https parameters. The --enable-messages parameter is particularly important if you want to be able to get feedback from the library in any way. Note: The --enable-https parameter introduces some more deps.
Created attachment 216804 [details] Update ebuild with ssl and message use flag. Updated ebuild for 0.4.4 now with ssl and message use flag. Minimally tested since I don't have that much experience making ebuild files.
> I just tried the same ebuild for version 0.4.4 and it seem to work just fine. > Any particular reason why this ebuild has not yet entered portage? > good question. i'd also like to know if there is a chance to see this ebuild rather sooner than later in the official portage tree. atm team xbmc is about to replace libgoahead with libmicrohttpd for its built in webserver. the latest revision of xbmc already fails to build because of the missing libmicrohttpd. :( see the following url for details: http://forum.xbmc.org/showthread.php?t=68263
Created attachment 219681 [details] updated ebuild with url pointing to correct source path
ok, here we go. the first bug reports arrive regarding build errors on xbmc, see: http://bugs.gentoo.org/show_bug.cgi?id=305229
there is also an ebuild for version 0.4.5 on the zugaina overlay, see: http://gentoo-overlays.zugaina.org/zugaina/portage/net-libs/libmicrohttpd/libmicrohttpd-0.4.5.ebuild didn't test it yet.
FYI: version 0.4.5 from the zugaina overlay merged fine for me.
(In reply to comment #11) > FYI: version 0.4.5 from the zugaina overlay merged fine for me. > yeah, just put it in my local overlay and it worked just fine. :) do you know what it takes to get the lib into the official tree?
xbmc-9999 now requires this library installed, I think that should be a good enough of a reason for this to be added to the official tree.
0.4.5 worked for me as well. Needed to do this for ./configure to be happy in xbmc. Please add to official tree as xbmc-9999 is broken for months now. Thanks!
(In reply to comment #14) > 0.4.5 worked for me as well. Needed to do this for ./configure to be happy in > xbmc. Please add to official tree as xbmc-9999 is broken for months now. > Thanks! > and the next upcoming stable release will be broken, too.
Created attachment 235885 [details] Bump to 0.4.6
(In reply to comment #15) > (In reply to comment #14) > > 0.4.5 worked for me as well. Needed to do this for ./configure to be happy in > > xbmc. Please add to official tree as xbmc-9999 is broken for months now. > > Thanks! > > > > and the next upcoming stable release will be broken, too. > XBMC 10.5 (due out soon) needs libmicrohttpd to compile webserver support. adding '--disable-webserver' to the xbmc ebuild is not a solution (some of us actually use it). That being said, libmicrohttpd-0.4.6 is out... I'm no far from an expert, but I've uploaded an ebuild that worked for me.
*** Bug 332313 has been marked as a duplicate of this bug. ***
Created attachment 242521 [details] bump to 0.9.0, add use flag / improve dependencies Version 0.9.0 has been released. Bump to that release, add "https" use flag, add conditional dependencies on gnutls and libgcrypt, update to EAPI 2.
Thank you for the ebuild, I committed a slightly modified version to the repositoy. Regarding the xbmc issue, please discuss this in a separate bug. Marking as FIXED.
(In reply to comment #20) > Thank you for the ebuild, I committed a slightly modified version to the > repositoy. > > Regarding the xbmc issue, please discuss this in a separate bug. > > Marking as FIXED. > The ebuild is (again) missing the message feature, which I also pointed out in the #3 comment. It can be included with the --enable-messages configure parameter. The --enable-messages parameter is particularly important if you want to be able to get feedback from the library in any way.