robert
d95d159c4d
update to 1.2.4
2021-07-04 10:41:32 +00:00
ajacoutot
6d42adbf93
Update to consolekit2-1.2.3.
...
Fix a crash with glib debugging enable by not unreferencing
an instance object which was not referenced before while
removing the lock on it.
From robert@
2021-06-03 10:58:18 +00:00
ajacoutot
3c319a2616
Update to consolekit2-1.2.2.
2020-12-20 09:20:22 +00:00
ajacoutot
27726d3e61
Merged upstream.
2020-12-04 16:01:00 +00:00
robert
1465cf1eac
only disconnect the signal handler after the lock is removed
...
ck_inhibit_remove_lock() will end up emitting a changed signal
so disconnecting the signal handler before that is not a good
idea
ok aja@
2020-12-04 15:00:39 +00:00
ajacoutot
cf2fd5e216
All merged upstream.
2020-11-29 11:33:30 +00:00
robert
e32554347b
unbreak the inhibitor list by using a lock based on the named pipe's filename
...
which is random and unique for each inhibitor so that if one process takes
multiple locks the proper one will be removed from the inhibitor list when
the lock is removed by the process
ok ajacoutot@
2020-11-29 10:48:26 +00:00
ajacoutot
a65d4e3983
Make sure the lock type isn't NULL; this should not happen but it does in
...
some situations and crashes console-kit-daemon(8).
This is a temporary solution until we hopefully find the root cause.
Debug by robert@
2020-11-28 15:06:40 +00:00
ajacoutot
026144195c
Open /dev/ttyCcfg as the control device.
...
This will allow to get along with getty and X.
Fixes a long standing bug where the session would lose its active state.
debugged and fixed by robert@
2020-11-22 10:07:49 +00:00
ajacoutot
268106f34b
Simplify stat2proc.
...
Fix max_consoles.
Remove useless header.
2020-11-21 09:44:30 +00:00
ajacoutot
501ea285d0
Add DEBUG_PACKAGES.
2020-06-18 22:39:16 +00:00
sthen
77f7cc9c61
replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes
2019-07-12 20:49:33 +00:00
sthen
6ff3e55398
bump REVISION in a bunch of ports known or likely to use struct kinfo_proc,
...
there may be some missing as my unpacked ports source is a little out of date
but this should catch the main things people might run into
the struct was reordered a second time in sysctl.h r1.192 to improve
compatibility but amd64 snapshot packages made it out before that happened
so the bumps are still needed
2019-06-25 20:25:20 +00:00
naddy
ebf751b927
Update gettext to 0.20.1.
...
Follow the upstream recommendations for packagers and switch to
multi-packages:
devel/gettext -> devel/gettext,-runtime
devel/gettext-tools -> devel/gettext,-tools
(new) devel/gettext,-textstyle
2019-05-20 22:15:00 +00:00
ajacoutot
efae8d04d7
Drop useless chunk.
2019-05-09 14:09:36 +00:00
ajacoutot
bbe1972e6f
Tweak comment.
2019-03-29 10:43:52 +00:00
ajacoutot
d2002fd901
00-openbsd-consolekit.rules -> 10-openbsd-consolekit.rules to make it
...
easier to override.
2019-02-25 17:52:31 +00:00
ajacoutot
317e0db229
AUTH_ADMIN_KEEP -> AUTH_ADMIN
2019-02-18 11:48:31 +00:00
ajacoutot
8262830cf4
Set FWRITE on the descriptor so we can use VT_ACTIVATE and friends ioctls.
2019-02-10 17:40:28 +00:00
ajacoutot
f88bd48951
Simplify ck_system_can_suspend, we are privileged so no need to check apmdev
...
mode.
Add a set of rules to match OpenBSD default behavior:
- operator can halt/reboot
- wheel can suspend/hibernate
2019-01-19 01:50:49 +00:00
ajacoutot
cdca019469
Implement ck_system_can_suspend and ck_system_can_hibernate.
...
While here, add optimistic arm64 support.
2019-01-18 02:27:35 +00:00
espie
f4b7f81318
convert to PKGSTEM
2018-09-04 12:46:09 +00:00
ajacoutot
af1c9ce459
Update to consolekit2-1.2.1.
2017-12-13 15:36:22 +00:00
ajacoutot
81683a9e9e
Fix a memory leak in ck-manager (upstream).
2017-10-24 01:35:23 +00:00
ajacoutot
e4dfad076b
Needs devel/gettext-tools for autopoint.
2017-07-23 21:12:27 +00:00
ajacoutot
cf0cb9089d
Update to consolekit2-1.2.0.
2017-07-21 08:55:05 +00:00
ajacoutot
ceb793216b
Pushed upstream.
2017-02-06 08:15:02 +00:00
ajacoutot
1f89826237
Fix for OpenBSD VT device naming scheme.
...
Tweak the display manager users list.
2017-01-25 03:19:26 +00:00
ajacoutot
1c827ad3d6
Merged upstream.
2016-10-03 19:04:41 +00:00
ajacoutot
c3dbad1319
Unbreak ck_unix_pid_get_env_hash after recent kvm /dev/mem access restrictions.
...
from semarie
2016-09-28 19:26:12 +00:00
ajacoutot
3929367046
Update to consolekit2-1.0.2.
2016-03-19 17:51:34 +00:00
naddy
ce859edcb4
garbage collect CONFIGURE_SHARED
2016-03-11 20:28:21 +00:00
ajacoutot
5ca33fd3e8
When assigning session to active VT prefer graphical sessions (upstream).
...
Fix undefined behavior (upstream).
2016-01-21 06:43:37 +00:00
ajacoutot
e7de97bb54
Update to consolekit2-1.0.1.
2016-01-15 14:20:02 +00:00
jasper
d6e85d6790
DISTNAME is set by bsd.port.mk for these ports now
2015-12-29 19:49:39 +00:00
jasper
db644a787e
use GH_PROJECT to construct DISTNAME
2015-12-29 12:54:10 +00:00
ajacoutot
b5e74484e7
Fix DBus @sample files after recent dbus port update.
...
The dbus package does not install /etc/dbus-1/system.d/ anymore, so it
needs to be properly @sample'd.
2015-08-27 06:48:30 +00:00
ajacoutot
08eb522311
Missing @conflict marker.
2015-08-17 08:40:13 +00:00
ajacoutot
ed97fa54f4
Missing build dependency on devel/libtool.
...
breakage reported by Pavel Korovin
2015-08-17 07:10:34 +00:00
ajacoutot
60c225c941
Move to the ConsoleKit2 project and update to the newly released stable version:
...
consolekit2-1.0.0.
Committing early in the cycle to have time to catch any regression.
2015-08-15 11:12:54 +00:00
ajacoutot
11a7989584
These need to RUN_DEPENDS on x11/dbus,-suid now.
2015-04-04 09:30:30 +00:00
ajacoutot
aa988913b0
Bump after the recent changes in packaging dbus and dconf.
2015-04-04 09:20:59 +00:00
ajacoutot
b7fea8a2d9
Unbreak ck-launch-session by properly initializing len in get_kinfo_proc().
...
from jmatthew@
No need to call sysctl(3) twice since we know exactly how many
structures it wants back: just one.
from guenther@
While here, drop a bogus chunk.
ok sthen@
2015-02-25 10:35:06 +00:00
ajacoutot
e93fb78799
Sync a few cleanups from the ConsoleKit2 project.
2014-11-27 09:38:22 +00:00
ajacoutot
49c74687c3
Need to see a shrink...
2014-10-10 12:46:23 +00:00
ajacoutot
502fd3fd40
NOTE: spam in /var/log/authlog is "expected".
2013-12-31 16:14:53 +00:00
ajacoutot
ae46b92a60
Drop /var/run/console management patches, calls to session.d's
...
session_active_changed are not supported since a while.
That fixes a race condition where connecting to ConsoleKit could fail
which would lead to several issues (unable to unlock screen, reboot...).
2013-12-30 08:52:08 +00:00
ajacoutot
025c6a8b6c
Tweaks.
2013-12-29 18:47:37 +00:00
ajacoutot
8e21e490c6
Add the @extra marker for /var/log/ConsoleKit/history
2013-12-27 10:12:58 +00:00
ajacoutot
235608b8a3
Add missing function to match other OSes -- in case something else out
...
there uses it.
Re-add the sanity check -- it seems it did not help occasional ckit failures.
2013-11-30 08:21:41 +00:00