After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 656903 - Update gnutls dependency in glib-networking
Update gnutls dependency in glib-networking
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: network
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks: 656361
 
 
Reported: 2011-08-19 12:47 UTC by Stef Walter
Modified: 2011-10-06 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnutls: Update required version of gnutls to 2.11.0 (7.33 KB, patch)
2011-08-19 12:49 UTC, Stef Walter
committed Details | Review
3.2: Bump gnutls to 2.12.0 (3.94 KB, patch)
2011-08-26 14:02 UTC, Stef Walter
none Details | Review
Explicitly ask for building with libgcrypt. (3.96 KB, patch)
2011-09-01 06:22 UTC, Stef Walter
needs-work Details | Review

Description Stef Walter 2011-08-19 12:47:49 UTC
The API for requesting certificates changed in gnutls 2.11.0. I'd like to update the dependency in glib-networking to 2.11.0+

If necessary I could write compatibility wrappers so that both the old and new can be supported. But that could get ugly.

This is required for the PKCS#11 database stuff in bug #656361
Comment 1 Stef Walter 2011-08-19 12:49:11 UTC
Created attachment 194228 [details] [review]
gnutls: Update required version of gnutls to 2.11.0

* This is required for PKCS#11 database stuff.
 * Get rid of deprecated function use
 * Compatible with gnutls 3.0.x
Comment 2 Dan Winship 2011-08-26 00:10:19 UTC
Comment on attachment 194228 [details] [review]
gnutls: Update required version of gnutls to 2.11.0

jhbuild still has 2.10... you need to update that too (which may require talking to the release-team first? I forget how external deps work)

> * Compatible with gnutls 3.0.x

though see bug 657306
Comment 3 Stef Walter 2011-08-26 14:02:26 UTC
Created attachment 194837 [details] [review]
3.2: Bump gnutls to 2.12.0

This is needed by glib-networking, in order for the PKCS#11
database stuff to work. Recommend 2.12.8
Comment 4 Stef Walter 2011-09-01 06:22:43 UTC
Created attachment 195363 [details] [review]
Explicitly ask for building with libgcrypt.

3.2: Bump gnutls to 2.12.0

This is needed by glib-networking, in order for the PKCS#11
database stuff to work. Recommend 2.12.8
Comment 5 Dan Winship 2011-09-22 14:01:19 UTC
Comment on attachment 194228 [details] [review]
gnutls: Update required version of gnutls to 2.11.0

glib-networking is branched now, so feel free to commit this
Comment 6 Dan Winship 2011-09-22 14:03:00 UTC
Comment on attachment 195363 [details] [review]
Explicitly ask for building with libgcrypt.

this can be applied to the 3.4 moduleset, once that exists

>-      <patch file="gnutls-2.10.2-rpath.patch" strip="1"/>
>-      <patch file="gnutls-2.10.1-handshake-errors.patch" strip="1"/>

remove these files?
Comment 7 Dan Winship 2011-09-22 14:03:33 UTC
(In reply to comment #4)
> Created an attachment (id=195363) [details] [review]
> Explicitly ask for building with libgcrypt.

oh, the comment on the patch doesn't correspond to the patch itself...
Comment 8 Stef Walter 2011-09-23 07:42:22 UTC
(In reply to comment #5)
> glib-networking is branched now, so feel free to commit this

Thanks. Committed.

(In reply to comment #6)
> (From update of attachment 195363 [details] [review])
> this can be applied to the 3.4 moduleset, once that exists
> 
> >-      <patch file="gnutls-2.10.2-rpath.patch" strip="1"/>
> >-      <patch file="gnutls-2.10.1-handshake-errors.patch" strip="1"/>
> 
> remove these files?

I think they'll still be needed to build the 3.2 module set. Once we have a 3.4 module set, I'll rework this patch and commit.
Comment 9 Stef Walter 2011-10-06 11:46:30 UTC
Updated patch to change 3.4 moduleset, and then merged into jhbuild master.