pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/consolekit Update to 1.2.1:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dc5043981f63
branches:  trunk
changeset: 380520:dc5043981f63
user:      youri <youri%pkgsrc.org@localhost>
date:      Wed May 16 11:30:36 2018 +0000

description:
Update to 1.2.1:

Brings fixes for many platforms.

Full changelog:

1.2.1:

Stable release of ConsoleKit2

Changes since 1.1.2
New Features:

Add wscons headers for OpenBSD
Bug Fixes:

Allow changing to VTs we don't have a session for
Correct introspection prefixes
Change configure.ac to enable the udev backend with devattr
Use KDSKBMODE if defined
Use #ifdef HEADER_H instead of #ifdef OS
FreeBSD session activation
Place sessions with a VT on the static Seat1
clean up clang warnings
correct uninitialized variable warning
Explicitly check for needed symbols
Correct build errors in OpenBSD
fix compiling on FreeBSD
Misc Changes:

update gitignore
more autotools cleanup work
update readme with new deps

1.2.0:
Stable release of ConsoleKit2

Changes since 1.1.2
New Features:

Add wscons headers for OpenBSD
Bug Fixes:

Allow changing to VTs we don't have a session for
Correct introspection prefixes
Change configure.ac to enable the udev backend with devattr
Use KDSKBMODE if defined
Use #ifdef HEADER_H instead of #ifdef OS
FreeBSD session activation
Place sessions with a VT on the static Seat1
clean up clang warnings
correct uninitialized variable warning
Explicitly check for needed symbols
Correct build errors in OpenBSD
fix compiling on FreeBSD
Misc Changes:

update gitignore
more autotools cleanup work
update readme with new deps

1.1.2:

[Please note that this is a development release.]

New Features:

add a session-state property and method
Add session-class dbus property and get method
introduce libconsolekit
Add dbus method GetVTNr to Session
add dbus LockSession/UnlockSession
add dbus ActivateSession/ActivateSessionOnSeat
Bug Fixes:

add session class + state to ck-list-sessions
Allow session-class property to be set via OpenSessionWithParameters
wrong lib linked in libconsolekit.pc.in
remove the rest of the gcc warnings
remove warnings about signed/unsigned comparisons
remove warning about redeclaration
remove warnings about redundant function declarations
fix --enable-libudev configure flag
coverity: 180820 remove dead code
Misc Changes:

add CONSOLEKIT_DEBUGGING support back in
update ck-list-sessions man page
update tests for new methods added
simplify configure.ac
document session types allowed


1.1.1:

[Please note that this is a development release.]

Changes:

Don't try to run "chmod +x" on 90-consolekit, it is not a executable.
Use INSTALL_SCRIPT instead of INSTALL_PROGRAM for 90-consolekit.
Remove the root restriction for XDG_RUNTIME_DIR.
cgroups: Attempt to use 'cpuaccount' if 'all' cgroup fails on pid move
ck-remove-directory: return exit code 0 on success
ck-remove-directory: remove unused dest parameter on become_user
ck-remove-directory: remove dest dir as real user
Add support for selinux
Freebsd 10.3: Fix session activation
Fix a reversed condition for invalid device on NetBSD
cgroups: Use UID of logged in user instead UID of session leader process
Fix memory leaks and a memory corruption issue.
OpenBSD: adapt to recent kvm(3) restrictions
Fix pam-ck-connector on musl
Fix for OpenBSD and FreeBSD VT device naming scheme.
Add a few more display manager users to filter out.
Update udev rules.
Handle XDG_RUNTIME_DIR not being created/set.
Add support for server managed FDs.
Prevent a use-after-free when emitting signal changes.
Fix coverity and gcc warnings.
Add a LockedHint property.

diffstat:

 sysutils/consolekit/Makefile                              |  13 ++++---
 sysutils/consolekit/PLIST                                 |  24 +++++++++++++-
 sysutils/consolekit/distinfo                              |  14 +++-----
 sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c |  20 ++++++++++--
 4 files changed, 50 insertions(+), 21 deletions(-)

diffs (141 lines):

diff -r fc14066ff08e -r dc5043981f63 sysutils/consolekit/Makefile
--- a/sysutils/consolekit/Makefile      Wed May 16 11:09:57 2018 +0000
+++ b/sysutils/consolekit/Makefile      Wed May 16 11:30:36 2018 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.37 2018/03/17 01:11:12 ryoon Exp $
+# $NetBSD: Makefile,v 1.38 2018/05/16 11:30:36 youri Exp $
 
-CONSOLEKIT_VER=        1.0.2
+CONSOLEKIT_VER=        1.2.1
 DISTNAME=      ConsoleKit2-${CONSOLEKIT_VER}
 PKGNAME=       consolekit-${CONSOLEKIT_VER}
-PKGREVISION=   1
 CATEGORIES=    sysutils
-GITHUB_RELEASE= ${CONSOLEKIT_VER}
+GITHUB_RELEASE=        ${CONSOLEKIT_VER}
 GITHUB_PROJECT=        ConsoleKit2
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ConsoleKit2/}
 EXTRACT_SUFX=  .tar.bz2
@@ -45,10 +44,12 @@
 USE_TOOLS+=    gmake intltool msgfmt perl pkg-config automake
 USE_LIBTOOL=   YES
 
+CONFIGURE_ARGS+=       --enable-debug=full
 CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASE}                        \
                --localstatedir=${VARBASE}                      \
-               --enable-pam-module                             \
-               --with-pam-module-dir=${PREFIX}/lib/security    \
+               --disable-pam-module
+               #--enable-pam-module                            \
+               #--with-pam-module-dir=${PREFIX}/lib/security   \
 
 CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown
 
diff -r fc14066ff08e -r dc5043981f63 sysutils/consolekit/PLIST
--- a/sysutils/consolekit/PLIST Wed May 16 11:09:57 2018 +0000
+++ b/sysutils/consolekit/PLIST Wed May 16 11:30:36 2018 +0000
@@ -1,24 +1,26 @@
-@comment $NetBSD: PLIST,v 1.7 2016/06/18 10:23:16 youri Exp $
+@comment $NetBSD: PLIST,v 1.8 2018/05/16 11:30:36 youri Exp $
 bin/ck-history
 bin/ck-launch-session
 bin/ck-list-sessions
 include/ConsoleKit/ck-connector/ck-connector.h
+include/ConsoleKit/libconsolekit.h
 lib/ConsoleKit/scripts/ck-system-hibernate
 lib/ConsoleKit/scripts/ck-system-hybridsleep
 lib/ConsoleKit/scripts/ck-system-restart
 lib/ConsoleKit/scripts/ck-system-stop
 lib/ConsoleKit/scripts/ck-system-suspend
 lib/libck-connector.la
+lib/libconsolekit.la
 lib/pkgconfig/ck-connector.pc
-lib/security/pam_ck_connector.la
+lib/pkgconfig/libconsolekit.pc
 libexec/ck-collect-session-info
 libexec/ck-get-x11-display-device
 libexec/ck-get-x11-server-pid
+libexec/ck-remove-directory
 man/man1/ck-history.1
 man/man1/ck-launch-session.1
 man/man1/ck-list-sessions.1
 man/man1/console-kit-daemon.1m
-man/man8/pam_ck_connector.8
 sbin/ck-log-system-restart
 sbin/ck-log-system-start
 sbin/ck-log-system-stop
@@ -31,6 +33,22 @@
 share/examples/consolekit/X11/xinit/xinitrc.d/90-consolekit
 share/examples/consolekit/dbus-1/system.d/ConsoleKit.conf
 share/examples/consolekit/logrotate.d/consolekit
+share/gtk-doc/html/libconsolekit-1.0/annotation-glossary.html
+share/gtk-doc/html/libconsolekit-1.0/api-index-1.0.html
+share/gtk-doc/html/libconsolekit-1.0/api-index-deprecated.html
+share/gtk-doc/html/libconsolekit-1.0/api-index-full.html
+share/gtk-doc/html/libconsolekit-1.0/ch01.html
+share/gtk-doc/html/libconsolekit-1.0/home.png
+share/gtk-doc/html/libconsolekit-1.0/index.html
+share/gtk-doc/html/libconsolekit-1.0/left-insensitive.png
+share/gtk-doc/html/libconsolekit-1.0/left.png
+share/gtk-doc/html/libconsolekit-1.0/libconsolekit-1.0.devhelp2
+share/gtk-doc/html/libconsolekit-1.0/libconsolekit-libconsolekit.html
+share/gtk-doc/html/libconsolekit-1.0/right-insensitive.png
+share/gtk-doc/html/libconsolekit-1.0/right.png
+share/gtk-doc/html/libconsolekit-1.0/style.css
+share/gtk-doc/html/libconsolekit-1.0/up-insensitive.png
+share/gtk-doc/html/libconsolekit-1.0/up.png
 share/locale/bg/LC_MESSAGES/ConsoleKit2.mo
 share/locale/es/LC_MESSAGES/ConsoleKit2.mo
 share/locale/es_419/LC_MESSAGES/ConsoleKit2.mo
diff -r fc14066ff08e -r dc5043981f63 sysutils/consolekit/distinfo
--- a/sysutils/consolekit/distinfo      Wed May 16 11:09:57 2018 +0000
+++ b/sysutils/consolekit/distinfo      Wed May 16 11:30:36 2018 +0000
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.15 2017/06/22 22:09:17 kamil Exp $
+$NetBSD: distinfo,v 1.16 2018/05/16 11:30:36 youri Exp $
 
-SHA1 (ConsoleKit2-1.0.2.tar.bz2) = 57b5fc3eae0391105e4933e79e6aeda943e6da81
-RMD160 (ConsoleKit2-1.0.2.tar.bz2) = 7b151e8d25dedb6961d2d83b934d79d9411147ff
-SHA512 (ConsoleKit2-1.0.2.tar.bz2) = a6d1c876aafe3cb102d916c6b6086283eff77d2f35fbda460196cb71daf16d21a6713096bfc9e1b6ccef9719b2fcb25b6124024f3245f9410d0e503087c479f7
-Size (ConsoleKit2-1.0.2.tar.bz2) = 622723 bytes
-SHA1 (patch-data_Makefile.am) = 5de63a98459914c7fda185d71fefd553b82107d3
-SHA1 (patch-data_Makefile.in) = a1861d2b80cc45ec6e4d625b635d1fb3c8b90122
-SHA1 (patch-src_ck-sysdeps-netbsd.c) = 889fdc11b096d290028572b673533f97a14c7984
+SHA1 (ConsoleKit2-1.2.1.tar.bz2) = 28869807eed0cc4a7a1d98030be1f2c7e5700d0e
+RMD160 (ConsoleKit2-1.2.1.tar.bz2) = 641171ca6e8290924fae4ab2d1ead6b13de88ad5
+SHA512 (ConsoleKit2-1.2.1.tar.bz2) = 31befe89f7fa604138bfb0722fc6cf12f0934bac004f98fc331004eb5a7f466ed7bd0dc9adc9869da739974208f9a3bc125068ff8a60d4b2badb58ef70a3eb10
+Size (ConsoleKit2-1.2.1.tar.bz2) = 1182946 bytes
+SHA1 (patch-src_ck-sysdeps-netbsd.c) = 4b8cabcd47bef0b8edaf6dd292686aa3297794bc
diff -r fc14066ff08e -r dc5043981f63 sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c
--- a/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c Wed May 16 11:09:57 2018 +0000
+++ b/sysutils/consolekit/patches/patch-src_ck-sysdeps-netbsd.c Wed May 16 11:30:36 2018 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-src_ck-sysdeps-netbsd.c,v 1.1 2017/06/22 22:09:17 kamil Exp $
+$NetBSD: patch-src_ck-sysdeps-netbsd.c,v 1.2 2018/05/16 11:30:36 youri Exp $
 
-Don't include <sys/user.h> on NetBSD.
+Fix NetBSD build.
 
---- src/ck-sysdeps-netbsd.c.orig       2016-03-19 15:14:24.000000000 +0000
+--- src/ck-sysdeps-netbsd.c.orig       2017-06-02 01:31:44.000000000 +0000
 +++ src/ck-sysdeps-netbsd.c
 @@ -36,7 +36,6 @@
  #include <sys/types.h>
@@ -11,4 +11,16 @@
 -#include <sys/user.h>
  #include <sys/ioctl.h>
  
- #include <dev/wscons/wsdisplay_usl_io.h>
+ #ifdef HAVE_SYS_MOUNT_H
+@@ -494,7 +493,11 @@ ck_make_tmpfs (guint uid, guint gid, con
+ 
+         opts = g_strdup_printf ("mode=0700,uid=%d", uid);
+ 
++#ifdef __NetBSD__
++      result = mount("tmpfs", dest, 0, opts, strlen(opts));
++#else
+         result = mount("tmpfs", dest, 0, opts);
++#endif
+ 
+         g_free (opts);
+ 



Home | Main Index | Thread Index | Old Index