diff options
author | Gleb Popov <arrowd@FreeBSD.org> | 2023-07-04 06:46:17 +0000 |
---|---|---|
committer | Gleb Popov <arrowd@FreeBSD.org> | 2023-07-04 06:47:08 +0000 |
commit | 4c8bd4b56c1031f363db5b81a2b6b7a43957e41e (patch) | |
tree | 123fa684dbe83327cb54fdbb2f89bcb43960e6c3 | |
parent | 46e520696cc8213cd05bd2f84586b47efeba4c95 (diff) | |
download | ports-4c8bd4b56c1031f363db5b81a2b6b7a43957e41e.tar.gz ports-4c8bd4b56c1031f363db5b81a2b6b7a43957e41e.zip |
sysutils/consolekit2: Allow calls to the CanSuspendThenHibernate() method.
Sponsored by: Serenity Cybersecurity, LLC
-rw-r--r-- | sysutils/consolekit2/Makefile | 1 | ||||
-rw-r--r-- | sysutils/consolekit2/files/patch-data_ConsoleKit.conf | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/consolekit2/Makefile b/sysutils/consolekit2/Makefile index 57275c6f7e3b..9e1e64cd6561 100644 --- a/sysutils/consolekit2/Makefile +++ b/sysutils/consolekit2/Makefile @@ -1,5 +1,6 @@ PORTNAME= consolekit PORTVERSION= 1.2.5 +PORTREVISION= 1 CATEGORIES= sysutils gnome PKGNAMESUFFIX= 2 diff --git a/sysutils/consolekit2/files/patch-data_ConsoleKit.conf b/sysutils/consolekit2/files/patch-data_ConsoleKit.conf new file mode 100644 index 000000000000..f72e0af72deb --- /dev/null +++ b/sysutils/consolekit2/files/patch-data_ConsoleKit.conf @@ -0,0 +1,12 @@ +--- data/ConsoleKit.conf.orig 2023-04-03 10:50:25 UTC ++++ data/ConsoleKit.conf +@@ -56,6 +56,9 @@ + send_member="CanSuspend"/> + <allow send_destination="org.freedesktop.ConsoleKit" + send_interface="org.freedesktop.ConsoleKit.Manager" ++ send_member="CanSuspendThenHibernate"/> ++ <allow send_destination="org.freedesktop.ConsoleKit" ++ send_interface="org.freedesktop.ConsoleKit.Manager" + send_member="Hibernate"/> + <allow send_destination="org.freedesktop.ConsoleKit" + send_interface="org.freedesktop.ConsoleKit.Manager" |