Maintenance update to consolekit-0.4.5.

This commit is contained in:
ajacoutot 2011-05-14 12:13:13 +00:00
parent fb8aa835b1
commit b6107a3c47
3 changed files with 16 additions and 16 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.16 2011/04/28 13:08:33 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.17 2011/05/14 12:13:13 ajacoutot Exp $
COMMENT= framework for defining and tracking users
DISTNAME= ConsoleKit-0.4.4
DISTNAME= ConsoleKit-0.4.5
PKGNAME= ${DISTNAME:L}
CATEGORIES= sysutils
@ -32,7 +32,7 @@ MODULES= devel/gettext
LIB_DEPENDS= sysutils/polkit>=0.101 \
x11/dbus-glib
AUTOCONF_VERSION= 2.64
AUTOCONF_VERSION= 2.68
CONFIGURE_STYLE= autoconf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,5 +1,5 @@
MD5 (ConsoleKit-0.4.4.tar.bz2) = tX6xjq6MTTYx1fTwMCGKKQ==
RMD160 (ConsoleKit-0.4.4.tar.bz2) = 6aN9jHGpyNCWRr5dEF7Z7PRem1o=
SHA1 (ConsoleKit-0.4.4.tar.bz2) = Fj7g5jCLlN1HEsxk1aNOjJAH1dQ=
SHA256 (ConsoleKit-0.4.4.tar.bz2) = 8MAJaftv59YoBx8PQ6wNQRmCpeeY19wxdHyqdyyXFq4=
SIZE (ConsoleKit-0.4.4.tar.bz2) = 424699
MD5 (ConsoleKit-0.4.5.tar.bz2) = 8mV/k3YSBpItVYRxqTb7ww==
RMD160 (ConsoleKit-0.4.5.tar.bz2) = LroVjjIXeKTBe/dl0BBtIUuT/lM=
SHA1 (ConsoleKit-0.4.5.tar.bz2) = bwkMHODUWd1pBIVFMlVDI3Vb3so=
SHA256 (ConsoleKit-0.4.5.tar.bz2) = Q+B4DFMHjhJe/Ow/hH5ITcNTPkm0CM5qCrGyI2hrnDg=
SIZE (ConsoleKit-0.4.5.tar.bz2) = 425423

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.8 2011/04/28 13:08:33 ajacoutot Exp $
--- src/ck-sysdeps-unix.c.orig Wed Apr 29 21:07:29 2009
+++ src/ck-sysdeps-unix.c Sat Jul 3 05:57:40 2010
@@ -35,6 +35,10 @@
$OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.9 2011/05/14 12:13:13 ajacoutot Exp $
--- src/ck-sysdeps-unix.c.orig Tue May 3 01:51:07 2011
+++ src/ck-sysdeps-unix.c Sat May 14 14:11:10 2011
@@ -36,6 +36,10 @@
#include <linux/kd.h>
#endif
@ -12,7 +12,7 @@ $OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.8 2011/04/28 13:08:33 ajacoutot Exp $
#ifdef HAVE_SYS_VT_H
#include <sys/vt.h>
#endif
@@ -69,7 +73,11 @@ ck_get_socket_peer_credentials (int socket_fd,
@@ -70,7 +74,11 @@ ck_get_socket_peer_credentials (int socket_fd,
ret = FALSE;
#ifdef SO_PEERCRED
@ -25,7 +25,7 @@ $OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.8 2011/04/28 13:08:33 ajacoutot Exp $
socklen_t cr_len;
cr_len = sizeof (cr);
@@ -126,7 +134,7 @@ ck_get_socket_peer_credentials (int socket_fd,
@@ -127,7 +135,7 @@ ck_get_socket_peer_credentials (int socket_fd,
gboolean
ck_fd_is_a_console (int fd)
{
@ -34,7 +34,7 @@ $OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.8 2011/04/28 13:08:33 ajacoutot Exp $
struct vt_stat vts;
#elif defined(__FreeBSD__)
int vers;
@@ -134,7 +142,7 @@ ck_fd_is_a_console (int fd)
@@ -135,7 +143,7 @@ ck_fd_is_a_console (int fd)
int kb_ok;
errno = 0;
@ -43,7 +43,7 @@ $OpenBSD: patch-src_ck-sysdeps-unix_c,v 1.8 2011/04/28 13:08:33 ajacoutot Exp $
kb_ok = (ioctl (fd, VT_GETSTATE, &vts) == 0);
#elif defined(__FreeBSD__)
kb_ok = (ioctl (fd, CONS_GETVERS, &vers) == 0);
@@ -182,6 +190,13 @@ ck_get_a_console_fd (void)
@@ -199,6 +207,13 @@ ck_get_a_console_fd (void)
if (fd >= 0) {
goto done;
}