public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITP] libmicrohttpd 0.9.52
@ 2016-12-13  9:25 Peter Ross
  2017-01-30  9:53 ` Peter Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Ross @ 2016-12-13  9:25 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 2758 bytes --]

Small C library for embedding HTTP server into applications.
This is not to be confused with the existing 'micro-httpd' cygwin package.

Homepage: https://www.gnu.org/software/libmicrohttpd/

License: LGPL version 2.1

Yep, is packaged by other distro:
https://packages.debian.org/search?keywords=microhttpd&searchon=names
https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
https://software.opensuse.org/package/libmicrohttpd
https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/

Packages:
http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz

Cygport file:

NAME="libmicrohttpd"
VERSION=0.9.52
RELEASE=1
CATEGORY="Libs"
SUMMARY="library embedding HTTP server functionality"
DESCRIPTION="GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. GNU GNU Libmicrohttpd is free software and part of the GNU project. Key features that distinguish GNU Libmicrohttpd from other projects are:
- C library: fast and small
- API is simple, expressive and fully reentrant
- Implementation is HTTP 1.1 compliant
- HTTP server can listen on multiple ports
- Four different threading models (select, poll, pthread, thread pool)
- Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, Android, OS X, W32, Symbian and z/OS
- Support for IPv6
- Support for SHOUTcast
- Support for incremental processing of POST data (optional)
- Support for basic and digest authentication (optional)
- Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional)
- Binary is only about 32k (without TLS/SSL support and other optional features)"
HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
SRC_URI="https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-${VERSION}.tar.gz"
DEPEND="gettext-devel"

# enable test suite
DEPEND="${DEPEND} libcurl-devel"

# enable SSL
DEPEND="${DEPEND} libgcrypt-devel libgnutls-devel"

# Note, if cygport fails with this error:
#    /usr/bin/sed: can't read /usr/lib/libtasn1.la: No such file or directory 
# it means libgnutls has installed an obsolete .la file.
# to solve this problem, delete /usr/lib/libgnutls.la
# discussion here: https://cygwin.com/ml/cygwin/2016-12/msg00106.html

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2016-12-13  9:25 [ITP] libmicrohttpd 0.9.52 Peter Ross
@ 2017-01-30  9:53 ` Peter Ross
  2017-01-31  8:56   ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Ross @ 2017-01-30  9:53 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 3011 bytes --]

Ping!

On Tue, Dec 13, 2016 at 08:25:32PM +1100, Peter Ross wrote:
> Small C library for embedding HTTP server into applications.
> This is not to be confused with the existing 'micro-httpd' cygwin package.
> 
> Homepage: https://www.gnu.org/software/libmicrohttpd/
> 
> License: LGPL version 2.1
> 
> Yep, is packaged by other distro:
> https://packages.debian.org/search?keywords=microhttpd&searchon=names
> https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
> https://software.opensuse.org/package/libmicrohttpd
> https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/
> 
> Packages:
> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz
> 
> Cygport file:
> 
> NAME="libmicrohttpd"
> VERSION=0.9.52
> RELEASE=1
> CATEGORY="Libs"
> SUMMARY="library embedding HTTP server functionality"
> DESCRIPTION="GNU libmicrohttpd is a small C library that is supposed to make it easy to run an HTTP server as part of another application. GNU GNU Libmicrohttpd is free software and part of the GNU project. Key features that distinguish GNU Libmicrohttpd from other projects are:
> - C library: fast and small
> - API is simple, expressive and fully reentrant
> - Implementation is HTTP 1.1 compliant
> - HTTP server can listen on multiple ports
> - Four different threading models (select, poll, pthread, thread pool)
> - Supported platforms include GNU/Linux, FreeBSD, OpenBSD, NetBSD, Android, OS X, W32, Symbian and z/OS
> - Support for IPv6
> - Support for SHOUTcast
> - Support for incremental processing of POST data (optional)
> - Support for basic and digest authentication (optional)
> - Support for SSL3 and TLS (requires libgcrypt and libgnutls, optional)
> - Binary is only about 32k (without TLS/SSL support and other optional features)"
> HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
> SRC_URI="https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-${VERSION}.tar.gz"
> DEPEND="gettext-devel"
> 
> # enable test suite
> DEPEND="${DEPEND} libcurl-devel"
> 
> # enable SSL
> DEPEND="${DEPEND} libgcrypt-devel libgnutls-devel"
> 
> # Note, if cygport fails with this error:
> #    /usr/bin/sed: can't read /usr/lib/libtasn1.la: No such file or directory 
> # it means libgnutls has installed an obsolete .la file.
> # to solve this problem, delete /usr/lib/libgnutls.la
> # discussion here: https://cygwin.com/ml/cygwin/2016-12/msg00106.html
> 
> -- Peter
> (A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2017-01-30  9:53 ` Peter Ross
@ 2017-01-31  8:56   ` Corinna Vinschen
  2017-01-31 20:03     ` Yaakov Selkowitz
  0 siblings, 1 reply; 7+ messages in thread
From: Corinna Vinschen @ 2017-01-31  8:56 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]

On Jan 30 20:53, Peter Ross wrote:
> Ping!
> 
> On Tue, Dec 13, 2016 at 08:25:32PM +1100, Peter Ross wrote:
> > Small C library for embedding HTTP server into applications.
> > This is not to be confused with the existing 'micro-httpd' cygwin package.
> > 
> > Homepage: https://www.gnu.org/software/libmicrohttpd/
> > 
> > License: LGPL version 2.1
> > 
> > Yep, is packaged by other distro:
> > https://packages.debian.org/search?keywords=microhttpd&searchon=names
> > https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
> > https://software.opensuse.org/package/libmicrohttpd
> > https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/
> > 
> > Packages:
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
> > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz
> > 
> > Cygport file:
> > [...]

Packaging looks good to me.

Please provide a ssh key per https://cygwin.com/package-upload.html


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2017-01-31  8:56   ` Corinna Vinschen
@ 2017-01-31 20:03     ` Yaakov Selkowitz
  2017-02-01  9:07       ` Peter Ross
  2017-02-01  9:18       ` Corinna Vinschen
  0 siblings, 2 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2017-01-31 20:03 UTC (permalink / raw)
  To: cygwin-apps

On 2017-01-31 02:56, Corinna Vinschen wrote:
> On Jan 30 20:53, Peter Ross wrote:
>> On Tue, Dec 13, 2016 at 08:25:32PM +1100, Peter Ross wrote:
>>> Small C library for embedding HTTP server into applications.
>>> This is not to be confused with the existing 'micro-httpd' cygwin package.
>>>
>>> Homepage: https://www.gnu.org/software/libmicrohttpd/
>>>
>>> License: LGPL version 2.1
>>>
>>> Yep, is packaged by other distro:
>>> https://packages.debian.org/search?keywords=microhttpd&searchon=names
>>> https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
>>> https://software.opensuse.org/package/libmicrohttpd
>>> https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/
>>>
>>> Packages:
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
>>> http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz
>>>
>>> Cygport file:
>>> [...]
>
> Packaging looks good to me.

If this is a library, then there needs to be separate runtime and -devel 
packages.

-- 
Yaakov

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2017-01-31 20:03     ` Yaakov Selkowitz
@ 2017-02-01  9:07       ` Peter Ross
  2017-02-01 14:43         ` Yaakov Selkowitz
  2017-02-01  9:18       ` Corinna Vinschen
  1 sibling, 1 reply; 7+ messages in thread
From: Peter Ross @ 2017-02-01  9:07 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1925 bytes --]

On Tue, Jan 31, 2017 at 02:03:35PM -0600, Yaakov Selkowitz wrote:
> On 2017-01-31 02:56, Corinna Vinschen wrote:
> > On Jan 30 20:53, Peter Ross wrote:
> > > On Tue, Dec 13, 2016 at 08:25:32PM +1100, Peter Ross wrote:
> > > > Small C library for embedding HTTP server into applications.
> > > > This is not to be confused with the existing 'micro-httpd' cygwin package.
> > > > 
> > > > Homepage: https://www.gnu.org/software/libmicrohttpd/
> > > > 
> > > > License: LGPL version 2.1
> > > > 
> > > > Yep, is packaged by other distro:
> > > > https://packages.debian.org/search?keywords=microhttpd&searchon=names
> > > > https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
> > > > https://software.opensuse.org/package/libmicrohttpd
> > > > https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/
> > > > 
> > > > Packages:
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz
> > > > 
> > > > Cygport file:
> > > > [...]
> > 
> > Packaging looks good to me.
> 
> If this is a library, then there needs to be separate runtime and -devel
> packages.

Thanks, acknowledged.

Further question: this library is currently has soversion 12 and provides cygmicrohttpd-12.dll.
Should the package name also include the so version number, e.g. libmicrohttpd12(-devel)?
If not, what happens when so version changes in future.

Cheers,
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 163 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2017-01-31 20:03     ` Yaakov Selkowitz
  2017-02-01  9:07       ` Peter Ross
@ 2017-02-01  9:18       ` Corinna Vinschen
  1 sibling, 0 replies; 7+ messages in thread
From: Corinna Vinschen @ 2017-02-01  9:18 UTC (permalink / raw)
  To: cygwin-apps

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

On Jan 31 14:03, Yaakov Selkowitz wrote:
> On 2017-01-31 02:56, Corinna Vinschen wrote:
> > On Jan 30 20:53, Peter Ross wrote:
> > > On Tue, Dec 13, 2016 at 08:25:32PM +1100, Peter Ross wrote:
> > > > Small C library for embedding HTTP server into applications.
> > > > This is not to be confused with the existing 'micro-httpd' cygwin package.
> > > > 
> > > > Homepage: https://www.gnu.org/software/libmicrohttpd/
> > > > 
> > > > License: LGPL version 2.1
> > > > 
> > > > Yep, is packaged by other distro:
> > > > https://packages.debian.org/search?keywords=microhttpd&searchon=names
> > > > https://packages.ubuntu.com/search?keywords=microhttpd&searchon=names
> > > > https://software.opensuse.org/package/libmicrohttpd
> > > > https://admin.fedoraproject.org/pkgdb/package/rpms/libmicrohttpd/
> > > > 
> > > > Packages:
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.hint
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86/libmicrohttpd-0.9.52-1-src.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.hint
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1.tar.xz
> > > > http://pross.sdf.org/sandpit/libmicrohttpd/x86_64/libmicrohttpd-0.9.52-1-src.tar.xz
> > > > 
> > > > Cygport file:
> > > > [...]
> > 
> > Packaging looks good to me.
> 
> If this is a library, then there needs to be separate runtime and -devel
> packages.

Duh, right.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ITP] libmicrohttpd 0.9.52
  2017-02-01  9:07       ` Peter Ross
@ 2017-02-01 14:43         ` Yaakov Selkowitz
  0 siblings, 0 replies; 7+ messages in thread
From: Yaakov Selkowitz @ 2017-02-01 14:43 UTC (permalink / raw)
  To: cygwin-apps

On 2017-02-01 03:07, Peter Ross wrote:
> On Tue, Jan 31, 2017 at 02:03:35PM -0600, Yaakov Selkowitz wrote:
>> If this is a library, then there needs to be separate runtime and -devel
>> packages.
>
> Further question: this library is currently has soversion 12 and provides cygmicrohttpd-12.dll.
> Should the package name also include the so version number, e.g. libmicrohttpd12(-devel)?
> If not, what happens when so version changes in future.

There should be (at least) two packages, libmicrohttpd12 and 
libmicrohttpd-devel.  Because this is a library, the info and man3 docs 
can go in -devel.

-- 
Yaakov

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-01 14:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-13  9:25 [ITP] libmicrohttpd 0.9.52 Peter Ross
2017-01-30  9:53 ` Peter Ross
2017-01-31  8:56   ` Corinna Vinschen
2017-01-31 20:03     ` Yaakov Selkowitz
2017-02-01  9:07       ` Peter Ross
2017-02-01 14:43         ` Yaakov Selkowitz
2017-02-01  9:18       ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).