Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224165 - Ebuild for net-libs/libmicrohttpd
Summary: Ebuild for net-libs/libmicrohttpd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 2 votes (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
: 332313 (view as bug list)
Depends on:
Blocks: 305229
  Show dependency tree
 
Reported: 2008-05-29 23:08 UTC by rpansky
Modified: 2010-08-15 16:21 UTC (History)
9 users (show)

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


Attachments
ebuild for libmicrohttpd-0.3.0 (libmicrohttpd-0.3.0.ebuild,760 bytes, text/plain)
2008-05-29 23:09 UTC, rpansky
Details
libmicrohttpd-0.3.0.ebuild (libmicrohttpd-0.3.0.ebuild,864 bytes, text/plain)
2008-05-30 09:43 UTC, Marek Miller
Details
Ebuild for version 0.4.4. (libmicrohttpd-0.4.4.ebuild,855 bytes, text/plain)
2010-01-18 10:39 UTC, Nuno
Details
Update ebuild with ssl and message use flag. (libmicrohttpd-0.4.4.ebuild,975 bytes, text/plain)
2010-01-18 14:05 UTC, Nuno
Details
updated ebuild with url pointing to correct source path (libmicrohttpd-0.4.4-r1.ebuild,992 bytes, text/plain)
2010-02-14 19:05 UTC, hal
Details
Bump to 0.4.6 (libmicrohttpd-0.4.6.ebuild,808 bytes, text/plain)
2010-06-18 22:26 UTC, Adam Coyne
Details
bump to 0.9.0, add use flag / improve dependencies (libmicrohttpd-0.9.0.ebuild,1.09 KB, text/plain)
2010-08-12 04:42 UTC, Craig Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rpansky 2008-05-29 23:08:23 UTC
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.
Comment 1 rpansky 2008-05-29 23:09:37 UTC
Created attachment 154765 [details]
ebuild for libmicrohttpd-0.3.0
Comment 2 Marek Miller 2008-05-30 09:43:12 UTC
Created attachment 154815 [details]
libmicrohttpd-0.3.0.ebuild

Tested on x86 with all flags set.
I added examples USE flag.
Comment 3 Bent Bisballe Nyeng 2009-11-02 13:13:00 UTC
(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?
Comment 4 Nuno 2010-01-18 10:39:32 UTC
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.
Comment 5 Bent Bisballe Nyeng 2010-01-18 11:03:15 UTC
(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.
Comment 6 Nuno 2010-01-18 14:05:35 UTC
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.
Comment 7 hal 2010-02-14 14:11:28 UTC
> 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
Comment 8 hal 2010-02-14 19:05:33 UTC
Created attachment 219681 [details]
updated ebuild with url pointing to correct source path
Comment 9 hal 2010-02-15 13:48:33 UTC
ok, here we go. the first bug reports arrive regarding build errors on xbmc, see:

http://bugs.gentoo.org/show_bug.cgi?id=305229
Comment 10 hal 2010-02-15 13:55:12 UTC
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.
Comment 11 Jan Vansteenkiste 2010-02-15 14:16:53 UTC
FYI: version 0.4.5 from the zugaina overlay merged fine for me.
Comment 12 hal 2010-02-15 14:21:41 UTC
(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?
Comment 13 Wesley Workman 2010-02-23 14:21:45 UTC
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.
Comment 14 Waldo 2010-06-11 18:18:50 UTC
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!
Comment 15 hal 2010-06-11 18:49:22 UTC
(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.
Comment 16 Adam Coyne 2010-06-18 22:26:43 UTC
Created attachment 235885 [details]
Bump to 0.4.6
Comment 17 Adam Coyne 2010-06-18 22:27:39 UTC
(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.
Comment 18 Craig Andrews gentoo-dev 2010-08-12 03:54:33 UTC
*** Bug 332313 has been marked as a duplicate of this bug. ***
Comment 19 Craig Andrews gentoo-dev 2010-08-12 04:42:36 UTC
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.
Comment 20 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-08-14 14:24:58 UTC
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.

Comment 21 Bent Bisballe Nyeng 2010-08-15 16:21:20 UTC
(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.