Merge some changes from my old PolicyKit port:
- tweak DESCR and COMMENT - SHARED_LIBS should being at 0.0 - better HOMEPAGE - add gettext and intltool MODULES - explicitely set some CONFIGURE_ARGS - remove bogus dbus-uuidgen which is already ran by the dbus pkg
This commit is contained in:
parent
b39afbcb71
commit
a8e3a49cb3
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/06/07 02:53:06 robert Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2009/06/07 08:11:39 ajacoutot Exp $
|
||||
|
||||
COMMENT= Framework for controlling access to system-wide components
|
||||
COMMENT= authorization framework
|
||||
|
||||
DISTNAME= PolicyKit-0.9
|
||||
PKGNAME= ${DISTNAME:L}
|
||||
CATEGORIES= sysutils
|
||||
PKGNAME= ${DISTNAME:L}p0
|
||||
CATEGORIES= sysutils security
|
||||
|
||||
SHARED_LIBS+= polkit-dbus 2.0 \
|
||||
polkit-grant 2.0 \
|
||||
polkit 2.0
|
||||
SHARED_LIBS+= polkit-dbus 0.0 \
|
||||
polkit-grant 0.0 \
|
||||
polkit 0.0
|
||||
|
||||
HOMEPAGE= http://cgit.freedesktop.org/PolicyKit/
|
||||
HOMEPAGE= http://www.freedesktop.org/wiki/Software/PolicyKit
|
||||
|
||||
# GPLv2+
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
@ -22,15 +22,27 @@ WANTLIB= c
|
||||
|
||||
MASTER_SITES= http://hal.freedesktop.org/releases/
|
||||
|
||||
MODULES= textproc/intltool \
|
||||
devel/gettext
|
||||
|
||||
BUILD_DEPENDS= ::textproc/gtk-doc
|
||||
|
||||
AUTOCONF_VERSION= 2.62
|
||||
CONFIGURE_STYLE= autoconf
|
||||
CONFIGURE_ARGS= --with-authfw=bsdauth \
|
||||
--with-os-type=openbsd
|
||||
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include"
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
||||
--enable-man-pages \
|
||||
--enable-gtk-doc \
|
||||
--with-authfw=bsdauth \
|
||||
--with-os-type=openbsd \
|
||||
--enable-man-pages \
|
||||
--disable-selinux
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/policykit
|
||||
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/policykit
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,8 @@
|
||||
PolicyKit is a framework for defining policy for system-wide components and
|
||||
for desktop pieces to configure it. It is used by HAL.
|
||||
PolicyKit 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
|
||||
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. It is used by HAL.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/06/07 02:53:06 robert Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2009/06/07 08:11:39 ajacoutot Exp $
|
||||
%%SHARED%%
|
||||
@bin bin/polkit-action
|
||||
@bin bin/polkit-auth
|
||||
@ -35,7 +35,6 @@ lib/libpolkit-grant.a
|
||||
lib/libpolkit-grant.la
|
||||
lib/libpolkit.a
|
||||
lib/libpolkit.la
|
||||
lib/locale/
|
||||
lib/pkgconfig/
|
||||
lib/pkgconfig/polkit-dbus.pc
|
||||
lib/pkgconfig/polkit-grant.pc
|
||||
@ -43,19 +42,14 @@ lib/pkgconfig/polkit.pc
|
||||
@mode 2755
|
||||
libexec/polkit-explicit-grant-helper
|
||||
libexec/polkit-grant-helper
|
||||
@mode
|
||||
@mode 4750
|
||||
libexec/polkit-grant-helper-bsdauth
|
||||
@mode
|
||||
@mode 2755
|
||||
libexec/polkit-read-auth-helper
|
||||
@mode
|
||||
@mode 4755
|
||||
libexec/polkit-resolve-exe-helper
|
||||
@mode
|
||||
@mode 2755
|
||||
libexec/polkit-revoke-helper
|
||||
@mode
|
||||
@mode 4755
|
||||
libexec/polkit-set-default-helper
|
||||
@mode
|
||||
@ -153,4 +147,3 @@ var/lib/misc/
|
||||
var/lib/misc/PolicyKit.reload
|
||||
var/run/
|
||||
var/run/PolicyKit/
|
||||
@exec ${PREFIX}/bin/dbus-uuidgen --ensure
|
||||
|
Loading…
Reference in New Issue
Block a user