diff --git a/print/cups-pk-helper/Makefile b/print/cups-pk-helper/Makefile new file mode 100755 index 00000000000..88fcb36521a --- /dev/null +++ b/print/cups-pk-helper/Makefile @@ -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 + +# 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 diff --git a/print/cups-pk-helper/distinfo b/print/cups-pk-helper/distinfo new file mode 100644 index 00000000000..8bfe4248396 --- /dev/null +++ b/print/cups-pk-helper/distinfo @@ -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 diff --git a/print/cups-pk-helper/pkg/DESCR b/print/cups-pk-helper/pkg/DESCR new file mode 100755 index 00000000000..c5f2dcd2586 --- /dev/null +++ b/print/cups-pk-helper/pkg/DESCR @@ -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. diff --git a/print/cups-pk-helper/pkg/PLIST b/print/cups-pk-helper/pkg/PLIST new file mode 100644 index 00000000000..fb210d973c4 --- /dev/null +++ b/print/cups-pk-helper/pkg/PLIST @@ -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