Import cups-pk-helper-0.1.2.

cups-pk-helper is a PolicyKit helper to configure cups with fine-grained
privileges.
For example, it's possible to let users enable/disable printers without
requiring a password, while still requiring a password for editing
printer settings.

ok jasper@
This commit is contained in:
ajacoutot 2011-05-22 14:18:48 +00:00
parent a4d0fa353a
commit bcf930bd81
4 changed files with 74 additions and 0 deletions

41
print/cups-pk-helper/Makefile Executable file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2011/05/22 14:18:48 ajacoutot Exp $
COMMENT= fine-grained privileges PolicyKit helper for CUPS
DISTNAME= cups-pk-helper-0.1.2
EXTRACT_SUFX= .tar.bz2
CATEGORIES= print sysutils
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c cups dbus-1 dbus-glib-1 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gthread-2.0 pcre polkit-gobject-1 pthread
WANTLIB += z
MASTER_SITES= http://www.freedesktop.org/software/cups-pk-helper/releases/
MODULES= devel/gettext \
textproc/intltool
LIB_DEPENDS= sysutils/polkit \
x11/dbus-glib \
print/cups
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-silent-rules
FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples/cups-pk-helper
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (cups-pk-helper-0.1.2.tar.bz2) = lXVrx/r3HzjLetTXRYeG/w==
RMD160 (cups-pk-helper-0.1.2.tar.bz2) = 7d3BxtCAT9RZvf/PlyAYX/Vz3WY=
SHA1 (cups-pk-helper-0.1.2.tar.bz2) = 2d1GEo2jZ6DZ9CB2VrydsEt4bMo=
SHA256 (cups-pk-helper-0.1.2.tar.bz2) = zMXzXFIyuDwWkpQxs1J3XdTGPLknWexFpSXttvy4Bd8=
SIZE (cups-pk-helper-0.1.2.tar.bz2) = 273847

5
print/cups-pk-helper/pkg/DESCR Executable file
View File

@ -0,0 +1,5 @@
cups-pk-helper is a PolicyKit helper to configure cups with fine-grained
privileges.
For example, it's possible to let users enable/disable printers without
requiring a password, while still requiring a password for editing
printer settings.

View File

@ -0,0 +1,23 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/05/22 14:18:48 ajacoutot Exp $
@bin libexec/cups-pk-helper-mechanism
share/dbus-1/
share/dbus-1/system-services/
share/dbus-1/system-services/org.opensuse.CupsPkHelper.Mechanism.service
share/examples/cups-pk-helper/
share/examples/cups-pk-helper/dbus-1/
@sample ${SYSCONFDIR}/dbus-1/
share/examples/cups-pk-helper/dbus-1/system.d/
@sample ${SYSCONFDIR}/dbus-1/system.d/
share/examples/cups-pk-helper/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
@sample ${SYSCONFDIR}/dbus-1/system.d/org.opensuse.CupsPkHelper.Mechanism.conf
share/locale/cs/LC_MESSAGES/cups-pk-helper.mo
share/locale/de/LC_MESSAGES/cups-pk-helper.mo
share/locale/fr/LC_MESSAGES/cups-pk-helper.mo
share/locale/hu/LC_MESSAGES/cups-pk-helper.mo
share/locale/it/LC_MESSAGES/cups-pk-helper.mo
share/locale/pl/LC_MESSAGES/cups-pk-helper.mo
share/locale/tr/LC_MESSAGES/cups-pk-helper.mo
share/locale/uk/LC_MESSAGES/cups-pk-helper.mo
share/polkit-1/
share/polkit-1/actions/
share/polkit-1/actions/org.opensuse.cupspkhelper.mechanism.policy