From 223d5b0720b1ba766dc328b99f84f217d6ef62cd Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Wed, 23 Jan 2008 21:08:39 +0000 Subject: [PATCH] - make it use sudo by default instead of su - regen PLIST while here ok jasper@ --- sysutils/libgksu/Makefile | 3 ++- sysutils/libgksu/patches/patch-gksu_schemas_in | 12 ++++++++++++ sysutils/libgksu/pkg/PLIST | 3 +-- 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 sysutils/libgksu/patches/patch-gksu_schemas_in diff --git a/sysutils/libgksu/Makefile b/sysutils/libgksu/Makefile index ef2095f747c..94516066579 100644 --- a/sysutils/libgksu/Makefile +++ b/sysutils/libgksu/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2008/01/17 18:45:56 jasper Exp $ +# $OpenBSD: Makefile,v 1.2 2008/01/23 21:08:39 ajacoutot Exp $ COMMENT= library providing su and sudo functionality DISTNAME= libgksu-2.0.5 +PKGNAME= ${DISTNAME}p0 SHARED_LIBS= gksu2 0.0 # .0.1 CATEGORIES= sysutils diff --git a/sysutils/libgksu/patches/patch-gksu_schemas_in b/sysutils/libgksu/patches/patch-gksu_schemas_in new file mode 100644 index 00000000000..0fa8ee18f9f --- /dev/null +++ b/sysutils/libgksu/patches/patch-gksu_schemas_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-gksu_schemas_in,v 1.1 2008/01/23 21:08:39 ajacoutot Exp $ +--- gksu.schemas.in.orig Wed Jan 23 17:31:33 2008 ++++ gksu.schemas.in Wed Jan 23 17:31:50 2008 +@@ -38,7 +38,7 @@ + /apps/gksu/sudo-mode + gksu + bool +- false ++ true + + Sudo mode + diff --git a/sysutils/libgksu/pkg/PLIST b/sysutils/libgksu/pkg/PLIST index aa86b1f658c..3595df5f15a 100644 --- a/sysutils/libgksu/pkg/PLIST +++ b/sysutils/libgksu/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/17 18:45:56 jasper Exp $ +@comment $OpenBSD: PLIST,v 1.2 2008/01/23 21:08:39 ajacoutot Exp $ %%SHARED%% bin/gksu-properties include/libgksu/ @@ -10,7 +10,6 @@ lib/libgksu2.a lib/libgksu2.la lib/pkgconfig/ lib/pkgconfig/libgksu2.pc -share/applications/ share/applications/gksu-properties.desktop share/libgksu/ share/libgksu/gksu-properties.glade