Subject: Re: net/libsoup-devel does not build with the new gnutls
To: None <tech-pkg@netbsd.org, recht@netbsd.org>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: tech-pkg
Date: 02/19/2005 18:18:08
--gr/z0/N6AeWAPJVB
Content-Type: multipart/mixed; boundary="IrhDeMKUP4DT/M7F"
Content-Disposition: inline


--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Feb 19, 2005 at 05:30:18PM +0100, Antoine Reilles wrote:
> Hi all,
>=20
> With a fresh pkgsrc update, i can't get libsoup to build. It seems
> related to a change in gnutls.
> This is annoying, since gnome-base depends on it.
> Maybe the 2.2.2 version of libsoup will compile with the current gnutls

I tried to build version 2.2.2, but the same problem occurs.
I have found a solution in the gentoo lists
http://66.102.9.104/search?q=3Dcache:Xuho0hcbzz8J:www.gentoo-portage.com/eb=
uild%3Fe%3Dnet-libs%252Flibsoup%252Flibsoup-2.2.1.ebuild+GNUTLS_CERT_NOT_TR=
USTED&hl=3Den

adding the following patch to the net/libsoup-devel package, i can build
libsoup-devel agains the new gnutls, and build all the gnome stuff

It only require to add the patch-aa file in patches directory, and patch
the distinfo file.

regards,
antoine


--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="libsoup-devel.diff"
Content-Transfer-Encoding: quoted-printable

? patches
Index: distinfo
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/net/libsoup-devel/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	15 Oct 2004 21:22:17 -0000	1.4
+++ distinfo	19 Feb 2005 17:17:26 -0000
@@ -2,3 +2,4 @@
=20
 SHA1 (libsoup-2.2.1.tar.bz2) =3D e2dbe6b8259048192632068a37dd0843d2775ac2
 Size (libsoup-2.2.1.tar.bz2) =3D 403907 bytes
+SHA1 (patch-aa) =3D 3a3abd7a8db7ce8010565506e5e931ca59eb5481

--IrhDeMKUP4DT/M7F
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-aa
Content-Transfer-Encoding: quoted-printable

--- libsoup/soup-gnutls.c.orig	2005-02-19 18:09:55.000000000 +0100
+++ libsoup/soup-gnutls.c	2005-02-19 18:10:39.000000000 +0100
@@ -61,7 +61,7 @@
 	}
=20
 	if (status & GNUTLS_CERT_INVALID ||
-	    status & GNUTLS_CERT_NOT_TRUSTED ||
+	    status & GNUTLS_CERT_INVALID ||
 	    status & GNUTLS_CERT_REVOKED)
 	{
 		g_warning ("The certificate is not trusted.");

--IrhDeMKUP4DT/M7F--

--gr/z0/N6AeWAPJVB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iD8DBQFCF3TQ4VqmoGDE/mwRAitwAJ4vgCYvqzfTi3UASGyckNeqnVaDjgCeNDWh
Mw5kE5/XjyX47GB+diiW2b0=
=RD6g
-----END PGP SIGNATURE-----

--gr/z0/N6AeWAPJVB--