[1.7] ITP: libassuan

View: New views
5 Messages — Rating Filter:   Alert me  

[1.7] ITP: libassuan

by Charles Wilson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This is the IPC library used by GnuPG 2, GPGME and a few other packages.
It used to be included with the latter packages but we decided to make
your life not too easy and separated it out to a stand alone library.

It is currently not intended to be used as a shared library.

This version does not provide libassuan-pth (a change which requires
some modifications in GnuPG2) because GNU Pth on cygwin does not support
clients which use fork.  An IPC library, by definition, involves clients
that fork.  Therefore, the binary package doesn't include the pth
variant of libassuan on cygwin (it is built, just not included in the
binary package). This will change once GNU Pth on cygwin is fixed
(expected sometime after cygwin-1.7.1 is released.)

cygwin libassuan has one other cygwin-specific deficiency, but it seems
that this does not impact GnuPG2's usage. cygwin (as of 1.7.0-62) does
not support "passing file descriptors over unix sockets (streams) so
that a process can share its file descriptors with another":
  http://cygwin.com/ml/cygwin/2009-10/msg00397.html
  http://cygwin.com/ml/cygwin/2007-01/msg00693.html
  http://cygwin.com/ml/cygwin/2004-01/msg00060.html
This means that some functions of libassuan do not work properly on
cygwin. It is not expected that this cygwin behavior will change, so
this deficit will in all likelihood persist. Fortunately, it does not
appear that GnuPG2 requires this facility.

libassuan is a prerequisite for GnuPG2.  There is only one internal
self-test, which fails because it specifically tests the "passing file
descriptors" problem described above.  However, the (modified) GnuPG2
distribution appears basically to work, and that exercises far more of
libassuan than the simple 'fdpassing.exe' test does.


libassuan is included in debian stable and testing:
http://packages.debian.org/search?keywords=libassuan
and Fedora 11
https://admin.fedoraproject.org/pkgdb/packages/name/libassuan?#Fedora11



http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1-src.tar.bz2
http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1.tar.bz2
http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/libassuan-devel-1.0.5-1.tar.bz2
http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/setup.hint
http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/setup.hint


====== libassuan-devel setup.hint =====
requires: libpth-devel
category: Devel Libs
external-source: libassuan
sdesc: "IPC library used by GnuPG2 (devel)"
ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
and a few other packages."

====== libassuan setup.hint =====
requires: libassuan-devel
category: Doc
sdesc: "IPC library used by GnuPG2"
ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
and a few other packages."

OK?

--
Chuck

Re: [1.7] ITP: libassuan

by Charles Wilson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles Wilson wrote:

> This is the IPC library used by GnuPG 2, GPGME and a few other packages.
> It used to be included with the latter packages but we decided to make
> your life not too easy and separated it out to a stand alone library.
>
> It is currently not intended to be used as a shared library.
>
> This version does not provide libassuan-pth (a change which requires
> some modifications in GnuPG2) because GNU Pth on cygwin does not support
> clients which use fork.  An IPC library, by definition, involves clients
> that fork.  Therefore, the binary package doesn't include the pth
> variant of libassuan on cygwin (it is built, just not included in the
> binary package). This will change once GNU Pth on cygwin is fixed
> (expected sometime after cygwin-1.7.1 is released.)
>
> cygwin libassuan has one other cygwin-specific deficiency, but it seems
> that this does not impact GnuPG2's usage. cygwin (as of 1.7.0-62) does
> not support "passing file descriptors over unix sockets (streams) so
> that a process can share its file descriptors with another":
>   http://cygwin.com/ml/cygwin/2009-10/msg00397.html
>   http://cygwin.com/ml/cygwin/2007-01/msg00693.html
>   http://cygwin.com/ml/cygwin/2004-01/msg00060.html
> This means that some functions of libassuan do not work properly on
> cygwin. It is not expected that this cygwin behavior will change, so
> this deficit will in all likelihood persist. Fortunately, it does not
> appear that GnuPG2 requires this facility.
>
> libassuan is a prerequisite for GnuPG2.  There is only one internal
> self-test, which fails because it specifically tests the "passing file
> descriptors" problem described above.  However, the (modified) GnuPG2
> distribution appears basically to work, and that exercises far more of
> libassuan than the simple 'fdpassing.exe' test does.
>
>
> libassuan is included in debian stable and testing:
> http://packages.debian.org/search?keywords=libassuan
> and Fedora 11
> https://admin.fedoraproject.org/pkgdb/packages/name/libassuan?#Fedora11
>
>
>
> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1-src.tar.bz2
> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1.tar.bz2
> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/libassuan-devel-1.0.5-1.tar.bz2
> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/setup.hint
> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/setup.hint
>
>
> ====== libassuan-devel setup.hint =====
> requires: libpth-devel
> category: Devel Libs
> external-source: libassuan
> sdesc: "IPC library used by GnuPG2 (devel)"
> ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
> and a few other packages."
>
> ====== libassuan setup.hint =====
> requires: libassuan-devel
> category: Doc
> sdesc: "IPC library used by GnuPG2"
> ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
> and a few other packages."
>
> OK?

Ping?

--
Chuck

Re: [1.7] ITP: libassuan

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov  6 15:35, Charles Wilson wrote:

> Charles Wilson wrote:
> > libassuan is included in debian stable and testing:
> > http://packages.debian.org/search?keywords=libassuan
> > and Fedora 11
> > https://admin.fedoraproject.org/pkgdb/packages/name/libassuan?#Fedora11
> >
> >
> >
> > http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1-src.tar.bz2
> > http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1.tar.bz2
> > http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/libassuan-devel-1.0.5-1.tar.bz2
> > http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/setup.hint
> > http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/setup.hint
> >
> >
> > ====== libassuan-devel setup.hint =====
> > requires: libpth-devel
> > category: Devel Libs
> > external-source: libassuan
> > sdesc: "IPC library used by GnuPG2 (devel)"
> > ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
> > and a few other packages."
> >
> > ====== libassuan setup.hint =====
> > requires: libassuan-devel
> > category: Doc
> > sdesc: "IPC library used by GnuPG2"
> > ldesc: "Libassuan is the IPC library used by GnuPG2, GPGME
> > and a few other packages."
> >
> > OK?
>
> Ping?

Packaging looks ok, but is it really necessary to have a libassuan package which only
provides the documentation which you then need if you install libassuan-devel?  I think
it would be simpler to haave only a libassuan-devel package.  Otherwise I'm wondering
if the requirements aren't upside down.  You require libassuan (the docs) if you install
libassuan-devel, but not vice versa...

Anyway, it's ok to upload as you prefer.


Corinna

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

Re: [1.7] ITP: libassuan

by Charles Wilson-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Corinna Vinschen wrote:
> On Nov  6 15:35, Charles Wilson wrote:
>> Charles Wilson wrote:
>>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1-src.tar.bz2
>>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1.tar.bz2
>>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/libassuan-devel-1.0.5-1.tar.bz2
>>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/setup.hint
>>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/setup.hint

> Packaging looks ok, but is it really necessary to have a libassuan package which only
> provides the documentation which you then need if you install libassuan-devel?  I think
> it would be simpler to haave only a libassuan-devel package.

Having
  foo-VER-src.tar.bz2
  foo-devel-VER.tar.bz2
without also having
  foo-VER.tar.bz2
always seems to cause problems for me, and shipping
  foo-devel-VER.tar.bz2
  foo-devel-VER-src.tar.bz2
just seems like cheating somehow.

> Otherwise I'm wondering
> if the requirements aren't upside down.  You require libassuan (the docs) if you install
> libassuan-devel, but not vice versa...

I've removed the interdependent requires: entirely.

> Anyway, it's ok to upload as you prefer.

Done, and updated cygwin-pkg-maint. Announcement tomorrow.

--
Chuck

Re: [1.7] ITP: libassuan

by Corinna Vinschen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov  9 23:21, Charles Wilson wrote:

> Corinna Vinschen wrote:
> > On Nov  6 15:35, Charles Wilson wrote:
> >> Charles Wilson wrote:
> >>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1-src.tar.bz2
> >>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-1.0.5-1.tar.bz2
> >>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/libassuan-devel-1.0.5-1.tar.bz2
> >>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/libassuan-devel/setup.hint
> >>> http://cygutils.fruitbat.org/ITP-gnupg2/release/libassuan/setup.hint
>
> > Packaging looks ok, but is it really necessary to have a libassuan package which only
> > provides the documentation which you then need if you install libassuan-devel?  I think
> > it would be simpler to haave only a libassuan-devel package.
>
> Having
>   foo-VER-src.tar.bz2
>   foo-devel-VER.tar.bz2
> without also having
>   foo-VER.tar.bz2
> always seems to cause problems for me, and shipping
>   foo-devel-VER.tar.bz2
>   foo-devel-VER-src.tar.bz2
> just seems like cheating somehow.

Well, it's not without precedent.  Fedora as well as OpenSuSE only
have a libassuan-devel package, without also providing a libassuan
package.


Corinna

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