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:
parent
a4d0fa353a
commit
bcf930bd81
41
print/cups-pk-helper/Makefile
Executable file
41
print/cups-pk-helper/Makefile
Executable 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>
|
5
print/cups-pk-helper/distinfo
Normal file
5
print/cups-pk-helper/distinfo
Normal 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
5
print/cups-pk-helper/pkg/DESCR
Executable 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.
|
23
print/cups-pk-helper/pkg/PLIST
Normal file
23
print/cups-pk-helper/pkg/PLIST
Normal 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
|
Loading…
Reference in New Issue
Block a user