83 Commits

Author SHA1 Message Date
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
ajacoutot
91403319aa Fix uninitialised variable. 2013-10-31 08:29:36 +00:00
ajacoutot
ce2f63f862 Fix a bogus check that may prevent getting the XDG_SESSION_COOKIE
value which in turn prevents session managers from accessing ConsoleKit
since the process could not be looked up.
2013-10-31 06:38:44 +00:00
ajacoutot
33fb648845 Use setttyent() for get max VT. 2013-10-15 13:31:14 +00:00
ajacoutot
820cc6efd2 Properly detect the active VT on macppc now that we have support for it. 2013-10-14 13:56:10 +00:00
ajacoutot
46fbd2093d Fix deprecated use of polkit_authority_get().
time_t fixe: GLib has a 'struct GTimeVal' with a long tv_sec...
2013-10-09 16:43:13 +00:00
jca
f69655f185 Fix after the kinfo_proc structure change.
ok ajacoutot@
2013-09-24 08:52:43 +00:00
ajacoutot
47ee4002c7 Update to consolekit-0.4.6. 2013-09-24 08:39:04 +00:00
ajacoutot
58e37b7e76 Fix sed(1) usage in pam-foreground-compat.ck. 2013-04-05 06:59:11 +00:00
ajacoutot
58f1a6f9f6 USE_LIBTOOL=Yes is the default now. 2013-03-21 08:45:11 +00:00
espie
eae66e4a7b PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:35:43 +00:00