head 1.7; access; symbols pkgsrc-2016Q1:1.6.0.4 pkgsrc-2016Q1-base:1.6 pkgsrc-2015Q4:1.6.0.2 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.5.0.10 pkgsrc-2015Q3-base:1.5 pkgsrc-2015Q2:1.5.0.8 pkgsrc-2015Q2-base:1.5 pkgsrc-2015Q1:1.5.0.6 pkgsrc-2015Q1-base:1.5 pkgsrc-2014Q4:1.5.0.4 pkgsrc-2014Q4-base:1.5 pkgsrc-2014Q3:1.5.0.2 pkgsrc-2014Q3-base:1.5 pkgsrc-2014Q2:1.4.0.2 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.3.0.44 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.42 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.40 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.38 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.36 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.34 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.32 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.30 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.28 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.26 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.24 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.22 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.20 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.18 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.16 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.14 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.12 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.8 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.6 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.4 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.2 pkgsrc-2008Q4-base:1.3 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.7 date 2016.06.18.10.23.17; author youri; state dead; branches; next 1.6; commitid Q2pAwvWgWv35YVaz; 1.6 date 2015.09.24.23.50.44; author ryoon; state Exp; branches; next 1.5; commitid TyTAfoJDu52b3zCy; 1.5 date 2014.08.17.15.59.07; author wiz; state Exp; branches; next 1.4; commitid wI8AuamsPZBGoJMx; 1.4 date 2014.05.05.21.19.40; author ryoon; state Exp; branches; next 1.3; commitid ZrGDBs7aZSMXvozx; 1.3 date 2008.12.23.21.46.14; author jmcneill; state Exp; branches; next 1.2; 1.2 date 2008.11.25.13.40.05; author hasso; state Exp; branches; next 1.1; 1.1 date 2008.11.22.03.32.22; author jmcneill; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.11.22.03.32.22; author jmcneill; state Exp; branches; next ; desc @@ 1.7 log @consolekit: Update to 1.0.2 using ConsoleKit2, the continuation of consolekit. @ text @$NetBSD: patch-aa,v 1.6 2015/09/24 23:50:44 ryoon Exp $ Add backends for NetBSD, Dragonfly, and OpenBSD. --- configure.ac.orig 2013-07-19 04:24:09.000000000 +0000 +++ configure.ac @@@@ -158,6 +158,21 @@@@ case "$host" in *-*-gnu*) CK_BACKEND="gnu" ;; + *-*-netbsd*) + CK_BACKEND="netbsd" + ;; + *-*-dragonfly*) + CK_BACKEND="freebsd" + KVM_LIBS="-lkvm" + ;; + *-*-openbsd*) + CK_BACKEND="openbsd" + AC_CHECK_LIB(kvm, kvm_openfiles, have_kvm=yes, + AC_MSG_ERROR([Unable to find libkvm which is needed on OpenBSD])) + if test "x$have_kvm" = "xyes"; then + KVM_LIBS="-lkvm" + fi + ;; *) AC_MSG_ERROR([No sysdeps back-end implemented for host $host]) ;; @@@@ -167,7 +182,9 @@@@ AC_SUBST(KVM_LIBS) AM_CONDITIONAL(CK_COMPILE_LINUX, test x$CK_BACKEND = xlinux, [Compiling for Linux]) AM_CONDITIONAL(CK_COMPILE_FREEBSD, test x$CK_BACKEND = xfreebsd, [Compiling for FreeBSD]) +AM_CONDITIONAL(CK_COMPILE_NETBSD, test x$CK_BACKEND = xnetbsd, [Compiling for NetBSD]) AM_CONDITIONAL(CK_COMPILE_SOLARIS, test x$CK_BACKEND = xsolaris, [Compiling for Solaris]) +AM_CONDITIONAL(CK_COMPILE_OPENBSD, test x$CK_BACKEND = xopenbsd, [Compiling for OpenBSD]) AM_CONDITIONAL(CK_COMPILE_GNU, test x$CK_BACKEND = xgnu, [Compiling for GNU]) AC_SUBST(CK_BACKEND) @ 1.6 log @Update to 0.4.6 Changelog: ============== Version 0.4.6 ============== NOTE: ConsoleKit is no longer actively maintained and this will most likely be the final release. You are advised to switch to logind: http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html * Don't truncate --frequent output to 8 chars in ck-history (Ray Strode) * Import udev-acl tool from udev (Michael Biebl) * Add support for GNU/Hurd (Pino Toscano) * Build system fixes (Samuli Suominen) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2014/08/17 15:59:07 wiz Exp $ @ 1.5 log @Update to 0.4.5. Add comments to patches. ============== Version 0.4.4 ============== * systemd fixes (Lennart Poettering) ============== Version 0.4.3 ============== * Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering) * systemd fixes (Lennart Poettering) ============== Version 0.4.2 ============== * Ensure we only care for seat files ending in .seat (William Jon McCann) * Various Solaris improvements (Halton Huo) * Make build silent (Ray Strode) * Don't take bus name until ready (Ray Strode) * systemd hookup (Lennart Poettering) * add --since option to ck-history (William Jon McCann) * Reduce number of threads on Linux (Kan-Ru Chen) * Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann) ============== Version 0.4.1 ============== * Fix a crasher (William Jon McCann) * fix a small memory leak (Matthias Clasen) * update email address (William Jon McCann) ============== Version 0.4.0 ============== * Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering) * get rid of session.d's session_active_changed callout (Lennart Poettering) * close file descriptors before exit func (Halton Huo) * log the kernel release and boot arguments at start time (William Jon McCann) * show display in host field if the host isn't set (William Jon McCann) * print the uptime for the reboot items in the report (William Jon McCann) * fix logic for finding session remove events (William Jon McCann) * fix a few small leaks (William Jon McCann) * Add seat.d/ callout directory and guarantee we dump the database before call * database: write the console database to disk before signalling via dbus (Len * Enforce that the env array has the right size (Lennart Poettering) * when printing size_t use %z format string (Lennart Poettering) * make CK database world readable (Lennart Poettering) * get rid of ck_seat_set_active_session() prototype since no such function exi * Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna * post release version bump (Ray Strode) ============== Version 0.3.1 ============== * port to PolicyKit 1.0 (Matthias Clasen) * D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann) * better diagnostic information for unimplemented backends (Daniel Macks) * file monitoring fixes (James Westby) * get VT from X display if no controlling tty is available (Ray Strode) * add "nox11" option to PAM module (Martin Pitt) * parse log entries with no body correctly (William Jon McCann) * fix zero-sized struct/unions (William Jon McCann) * solaris build fixes (Halton Huo) * parse gecos field for real name (William Jon McCann) * leak fixes (James Westby, Steve Langasek) * compile warning fixes (Matthias Clasen) * fix doc xml validation errors (William Jon McCann) * fix doc generation when srcdir != builddir (Ray Strode) * add example upstart events for logging (William Jon McCann, Ray Strode) * fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2014/05/05 21:19:40 ryoon Exp $ d5 1 a5 1 --- configure.ac.orig 2011-02-17 00:37:16.000000000 +0000 d7 3 a9 3 @@@@ -190,6 +201,21 @@@@ case "$host" in *-*-solaris*) CK_BACKEND="solaris" d29 1 a29 1 @@@@ -199,7 +225,9 @@@@ AC_SUBST(KVM_LIBS) d36 1 a38 1 dnl --------------------------------------------------------------------------- @ 1.4 log @Support OpenBSD * Borrow code from OpenBSD Ports @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2008/12/23 21:46:14 jmcneill Exp $ d3 3 a5 1 --- configure.ac.orig 2008-07-31 00:35:53.000000000 +0000 d7 1 a7 24 @@@@ -68,10 +68,21 @@@@ AC_SUBST(HAVE_POLKIT) PKG_CHECK_MODULES(LIBDBUS, dbus-1 >= $DBUS_REQUIRED_VERSION ) +PKG_CHECK_MODULES(X11, x11 >= $X11_REQUIRED_VERSION, [HAVE_X11=yes], [HAVE_X11=no]) +if test x$HAVE_X11 = xno; then + AC_PATH_XTRA + if test "x$no_x" = xyes; then + AC_MSG_ERROR(X11 and Xrandr development libraries not found); + else + XLIB_LIBS="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS" + XLIB_CFLAGS=$X_CFLAGS + fi +fi PKG_CHECK_MODULES(TOOLS, - x11 >= $X11_REQUIRED_VERSION glib-2.0 >= $GLIB_REQUIRED_VERSION ) +TOOLS_CFLAGS="$TOOLS_CFLAGS $X11_CFLAGS $XLIB_CFLAGS" +TOOLS_LIBS="$TOOLS_LIBS $X11_LIBS $XLIB_LIBS" PKG_CHECK_MODULES(HISTORY, glib-2.0 >= $GLIB_REQUIRED_VERSION @@@@ -190,13 +201,30 @@@@ case "$host" in d26 4 a29 3 esac AC_SUBST(KVM_LIBS) a38 7 @@@@ -441,4 +469,4 @@@@ if test x${have_polkit} = xno -a x${msg_ echo " a huge SECURITY HOLE. I repeat: YOU NEED TO EDIT THE FILE" echo " ConsoleKit.conf to match your distro/site to avoid NASTY SECURITY HOLES." echo "" -fi \ No newline at end of file +fi @ 1.3 log @Fix build on NetBSD 4.0 with XFree86. @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.ac.orig 2008-07-30 20:35:53.000000000 -0400 +++ configure.ac 2008-12-23 16:40:06.000000000 -0500 @@@@ -68,10 +68,21 @@@@ d28 1 a28 1 @@@@ -190,12 +201,20 @@@@ d39 8 d55 1 d58 2 a59 1 @@@@ -441,4 +460,4 @@@@ @ 1.2 log @Make it build/work in DragonFly. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2008/11/22 03:32:22 jmcneill Exp $ d3 26 a28 3 --- configure.ac.orig 2008-07-31 03:35:53 +0300 +++ configure.ac 2008-11-25 14:57:21 +0200 @@@@ -190,12 +190,20 @@@@ case "$host" in d49 1 a49 1 @@@@ -441,4 +449,4 @@@@ if test x${have_polkit} = xno -a x${msg_ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 4 --- configure.ac.orig 2008-07-30 20:35:53.000000000 -0400 +++ configure.ac @@@@ -189,6 +189,9 @@@@ case "$host" in ;; d8 1 a8 1 + ;; d11 5 a15 1 ;; d18 1 a18 1 @@@@ -196,6 +199,7 @@@@ AC_SUBST(KVM_LIBS) d26 1 a26 1 @@@@ -441,4 +445,4 @@@@ if test x${have_polkit} = xno -a x${msg_ @ 1.1.1.1 log @Import consolekit version 0.3.0. ConsoleKit is a framework for keeping track of the various users, sessions, and seats present on a system. It provides a mechanism for software to react to changes of any of these items or of any of the metadata associated with them. @ text @@