Update to polkit-0.105.
This commit is contained in:
parent
8e9a3970c6
commit
6318e9eac4
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.33 2012/09/01 14:36:58 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.34 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
|
||||
COMMENT= framework for granting privileged operations to users
|
||||
|
||||
DISTNAME= polkit-0.104
|
||||
REVISION= 0
|
||||
DISTNAME= polkit-0.105
|
||||
|
||||
SHARED_LIBS += polkit-gobject-1 1.0 # .0.0
|
||||
SHARED_LIBS += polkit-backend-1 1.0 # .0.0
|
||||
@ -11,7 +10,7 @@ SHARED_LIBS += polkit-agent-1 1.0 # .0.0
|
||||
|
||||
CATEGORIES= sysutils security
|
||||
|
||||
HOMEPAGE= http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||
HOMEPAGE= http://www.freedesktop.org/wiki/Software/polkit
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
@ -21,13 +20,11 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
|
||||
WANTLIB += c expat ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
||||
WANTLIB += gthread-2.0 pcre pthread z
|
||||
WANTLIB += c expat gio-2.0 glib-2.0 gobject-2.0 pthread
|
||||
|
||||
MASTER_SITES= http://hal.freedesktop.org/releases/
|
||||
MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/
|
||||
|
||||
MODULES= textproc/intltool \
|
||||
devel/gettext
|
||||
MODULES= textproc/intltool
|
||||
|
||||
BUILD_DEPENDS= ${MODGNU_AUTOMAKE_DEPENDS} \
|
||||
${MODGNU_AUTOCONF_DEPENDS} \
|
||||
@ -49,6 +46,8 @@ LIB_DEPENDS= devel/glib2
|
||||
AUTOCONF_VERSION= 2.68
|
||||
AUTOMAKE_VERSION=1.10
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/test/mocklibc
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (polkit-0.104.tar.gz) = 44C0xvsee8z4VOku3AqM4Q==
|
||||
RMD160 (polkit-0.104.tar.gz) = JE6CU0ekY/9LnrCiMYqwTIIb3tk=
|
||||
SHA1 (polkit-0.104.tar.gz) = WZIIz1hLnhP4ydhjI4qCca9KumI=
|
||||
SHA256 (polkit-0.104.tar.gz) = awoT2DgeSnt+N8GKVFlRkbUHV+D80YbNmRjprQ8Yx/k=
|
||||
SIZE (polkit-0.104.tar.gz) = 1416583
|
||||
SHA256 (polkit-0.105.tar.gz) = j9x8yLpHUPzOGk252qdZwSr+vHkBI34cmTw48ImF4d8=
|
||||
SIZE (polkit-0.105.tar.gz) = 1431080
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-configure_ac,v 1.4 2012/02/16 22:28:23 ajacoutot Exp $
|
||||
$OpenBSD: patch-configure_ac,v 1.5 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
|
||||
Force disabling gtk-doc.
|
||||
Add bsd_auth(3) support.
|
||||
@ -14,15 +14,6 @@ Add bsd_auth(3) support.
|
||||
#### gcc warning flags
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
@@ -144,7 +142,7 @@ AC_SUBST(EXPAT_LIBS)
|
||||
AC_CHECK_FUNCS(clearenv)
|
||||
|
||||
if test "x$GCC" = "xyes"; then
|
||||
- LDFLAGS="-Wl,--as-needed $LDFLAGS"
|
||||
+ LDFLAGS="$LDFLAGS"
|
||||
fi
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
@@ -222,6 +220,11 @@ case $POLKIT_AUTHFW in
|
||||
AC_DEFINE(POLKIT_AUTHFW_SHADOW, 1, [If using the Shadow authentication framework])
|
||||
;;
|
||||
|
@ -1,10 +1,10 @@
|
||||
$OpenBSD: patch-docs_polkit_Makefile_am,v 1.1 2010/07/08 15:20:45 ajacoutot Exp $
|
||||
$OpenBSD: patch-docs_polkit_Makefile_am,v 1.2 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
|
||||
Force disabling gtk-doc.
|
||||
|
||||
--- docs/polkit/Makefile.am.orig Thu Jul 8 17:00:17 2010
|
||||
+++ docs/polkit/Makefile.am Thu Jul 8 17:00:26 2010
|
||||
@@ -80,11 +80,7 @@ HTML_IMAGES = \
|
||||
--- docs/polkit/Makefile.am.orig Tue Apr 24 18:05:34 2012
|
||||
+++ docs/polkit/Makefile.am Wed Sep 19 08:45:42 2012
|
||||
@@ -81,11 +81,7 @@ HTML_IMAGES = \
|
||||
# Extra options to supply to gtkdoc-fixref
|
||||
FIXXREF_OPTIONS=
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_polkitagent_polkitagenthelper-bsdauth_c,v 1.4 2011/04/28 13:09:07 ajacoutot Exp $
|
||||
$OpenBSD: patch-src_polkitagent_polkitagenthelper-bsdauth_c,v 1.5 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
--- src/polkitagent/polkitagenthelper-bsdauth.c.orig Sat Dec 4 09:39:18 2010
|
||||
+++ src/polkitagent/polkitagenthelper-bsdauth.c Sat Dec 4 09:40:52 2010
|
||||
@@ -0,0 +1,190 @@
|
||||
@ -143,22 +143,22 @@ $OpenBSD: patch-src_polkitagent_polkitagenthelper-bsdauth_c,v 1.4 2011/04/28 13:
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PAH_DEBUG
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: sending D-Bus message to PolicyKit daemon\n");
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: sending D-Bus message to polkit daemon\n");
|
||||
+#endif /* PAH_DEBUG */
|
||||
+
|
||||
+ /* now send a D-Bus message to the PolicyKit daemon that
|
||||
+ /* now send a D-Bus message to the polkit daemon that
|
||||
+ * includes a) the cookie; and b) the user we authenticated
|
||||
+ */
|
||||
+ if (!send_dbus_message (cookie, user_to_auth))
|
||||
+ {
|
||||
+#ifdef PAH_DEBUG
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: error sending D-Bus message to PolicyKit daemon\n");
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: error sending D-Bus message to polkit daemon\n");
|
||||
+#endif /* PAH_DEBUG */
|
||||
+ goto error;
|
||||
+ }
|
||||
+
|
||||
+#ifdef PAH_DEBUG
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: successfully sent D-Bus message to PolicyKit daemon\n");
|
||||
+ fprintf (stderr, "polkit-agent-helper-1: successfully sent D-Bus message to polkit daemon\n");
|
||||
+#endif /* PAH_DEBUG */
|
||||
+
|
||||
+ fprintf (stdout, "SUCCESS\n");
|
||||
|
@ -1,8 +1,5 @@
|
||||
PolicyKit is an application-level toolkit for defining and handling the
|
||||
polkit is an application-level toolkit for defining and handling the
|
||||
policy that allows unprivileged processes to speak to privileged
|
||||
processes. It is a framework for centralizing the decision making
|
||||
processes: it is a framework for centralizing the decision making
|
||||
process with respect to granting access to privileged operations for
|
||||
unprivileged applications. PolicyKit is specifically targeting
|
||||
applications in rich desktop environments on multi-user UNIX-like
|
||||
operating systems. It does not imply or rely on any exotic kernel
|
||||
features.
|
||||
unprivileged applications.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.9 2012/02/16 22:28:23 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.10 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/pk-example-frobnicate
|
||||
@bin bin/pkaction
|
||||
@ -8,6 +8,7 @@
|
||||
@bin bin/pkexec
|
||||
@mode
|
||||
@owner
|
||||
@bin bin/pkttyagent
|
||||
include/polkit-1/
|
||||
include/polkit-1/polkit/
|
||||
include/polkit-1/polkit/polkit.h
|
||||
@ -71,6 +72,7 @@ lib/polkit-1/extensions/
|
||||
@man man/man1/pkaction.1
|
||||
@man man/man1/pkcheck.1
|
||||
@man man/man1/pkexec.1
|
||||
@man man/man1/pkttyagent.1
|
||||
@man man/man8/pklocalauthority.8
|
||||
@man man/man8/polkit.8
|
||||
@man man/man8/polkitd.8
|
||||
|
@ -1,16 +1,16 @@
|
||||
$OpenBSD: README,v 1.3 2011/06/07 14:52:32 ajacoutot Exp $
|
||||
$OpenBSD: README,v 1.4 2012/09/19 12:39:34 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
In most situations, PolicyKit will require a session to be marked as
|
||||
In most situations, polkit will require a session to be marked as
|
||||
"active" before granting privileges. This is done using ConsoleKit, so
|
||||
you will most likely want to install the consolekit package along with
|
||||
polkit.
|
||||
|
||||
To grant privileges interactively in a GUI, PolicyKit will need the user
|
||||
to input his password. This is done using a helper daemon (launched when
|
||||
To grant privileges interactively in a GUI, polkit will need the user to
|
||||
input his password. This is done using a helper daemon (launched when
|
||||
starting your X session) which needs to be installed (if not already):
|
||||
for a GTK based Desktop -> polkit-gnome
|
||||
for a QT based Desktop -> polkit-qt4
|
||||
|
Loading…
x
Reference in New Issue
Block a user