Subject: CVS commit: pkgsrc/devel/glib2
From: Leonardo Taccari
Date: 2018-10-19 18:44:15
Message id: 20181019164415.D4CB8FBEE@cvs.NetBSD.org

Log Message:
glib2: Fix GCredentials support for NetBSD

The GCredentials support for NetBSD missed a
G_CREDENTIALS_SOCKET_GET_CREDENTIALS_SUPPORTED define and remove
commented out G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED.

Due that the client sent credentials but the server was not able
to receive them.

Regarding possible G_CREDENTIALS_UNIX_CREDENTIALS_MESSAGE_SUPPORTED
support probably logic for LOCAL_CREDS should be added but on NetBSD
before 8.0 sc_pid field is not present making that probably not
suitable to use as GCredentials mechanism (since 8.0 this will
probably work).

Bump PKGREVISION

Discussed with <prlw1>, thanks!

Files:
RevisionActionfile
1.244modifypkgsrc/devel/glib2/Makefile
1.237modifypkgsrc/devel/glib2/distinfo
1.3addpkgsrc/devel/glib2/patches/patch-gio_gcredentialsprivate.h
1.3addpkgsrc/devel/glib2/patches/patch-gio_gunixcredentialsmessage.c