diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile index 9c164c80a322..3b3687e88334 100644 --- a/sysutils/polkit/Makefile +++ b/sysutils/polkit/Makefile @@ -1,78 +1,79 @@ PORTNAME= polkit DISTVERSION= 124 +PORTREVISION= 1 CATEGORIES= sysutils gnome MAINTAINER= desktop@FreeBSD.org COMMENT= Framework for controlling access to system-wide components WWW= https://gitlab.freedesktop.org/polkit/polkit LICENSE= LGPL20+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexpat.so:textproc/expat2 \ libdbus-1.so:devel/dbus USERS= polkitd GROUPS= polkitd USES= compiler:c++17-lang cpe gettext gnome libtool localbase meson \ pathfix pkgconfig shebangfix tar:bz2 USE_GNOME= glib20 intltool introspection:build SHEBANG_FILES= ${WRKSRC}/src/polkitbackend/toarray.pl USE_LDCONFIG= yes CPE_VENDOR= polkit_project USE_GITLAB= yes GL_SITE= https://gitlab.freedesktop.org MESON_ARGS= -Dpam_include=system \ -Dpam_prefix='etc/pam.d' \ -Dpolkitd_user=${USERS} \ -Dexamples=false \ -Dsession_tracking=ConsoleKit \ -Dtests=false \ -Dintrospection=true \ -Dlocalstatedir=/var \ -Dgtk_doc=false OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT= DUKTAPE OPTIONS_SINGLE= JS OPTIONS_SINGLE_JS= DUKTAPE SPIDERMONKEY JS_DESC= JavaScript engines DUKTAPE_DESC= Duktape JavaScript backend SPIDERMONKEY_DESC= SpiderMonkey JavaScript backend DUKTAPE_LIB_DEPENDS= libduktape.so:lang/duktape-lib DUKTAPE_MESON_ON= -Djs_engine='duktape' SPIDERMONKEY_LIB_DEPENDS= libmozjs-102.so:lang/spidermonkey102 SPIDERMONKEY_MESON_ON= -Djs_engine='mozjs' MANPAGES_BUILD_DEPENDS= docbook-sgml>0:textproc/docbook-sgml \ docbook-xsl>0:textproc/docbook-xsl MANPAGES_USE= gnome=libxslt:build MANPAGES_MESON_TRUE= man OPTIONS_SUB= yes .include post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/|${PREFIX}/bin/|g' \ ${WRKSRC}/docs/man/pkexec.xml \ ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${PREFIX}|g' \ ${WRKSRC}/docs/man/polkit.xml post-install: @${MKDIR} ${STAGEDIR}/var/lib/polkit-1 \ ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d .for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d ${MKDIR} ${STAGEDIR}${PREFIX}/etc/polkit-1/localauthority/${i} ${MKDIR} ${STAGEDIR}/var/lib/polkit-1/localauthority/${i} .endfor .include diff --git a/sysutils/polkit/files/patch-data_meson.build b/sysutils/polkit/files/patch-data_meson.build deleted file mode 100644 index 670a51747913..000000000000 --- a/sysutils/polkit/files/patch-data_meson.build +++ /dev/null @@ -1,11 +0,0 @@ ---- data/meson.build.orig 2021-01-05 14:42:11 UTC -+++ data/meson.build -@@ -10,7 +10,7 @@ configure_file( - - configure_file( - input: 'org.freedesktop.PolicyKit1.conf.in', -- output: '@BASENAME@', -+ output: '@BASENAME@.sample', - configuration: {'polkitd_user': polkitd_user}, - install: true, - install_dir: dbus_policydir, diff --git a/sysutils/polkit/pkg-plist b/sysutils/polkit/pkg-plist index cb66b54351dd..372ebaf72379 100644 --- a/sysutils/polkit/pkg-plist +++ b/sysutils/polkit/pkg-plist @@ -1,98 +1,98 @@ bin/pkaction bin/pkcheck @(root,,4755) bin/pkexec bin/pkttyagent etc/pam.d/polkit-1 etc/polkit-1/rules.d/50-default.rules include/polkit-1/polkit/polkit.h include/polkit-1/polkit/polkitactiondescription.h include/polkit-1/polkit/polkitauthority.h include/polkit-1/polkit/polkitauthorityfeatures.h include/polkit-1/polkit/polkitauthorizationresult.h include/polkit-1/polkit/polkitcheckauthorizationflags.h include/polkit-1/polkit/polkitdetails.h include/polkit-1/polkit/polkitenumtypes.h include/polkit-1/polkit/polkiterror.h include/polkit-1/polkit/polkitidentity.h include/polkit-1/polkit/polkitimplicitauthorization.h include/polkit-1/polkit/polkitpermission.h include/polkit-1/polkit/polkitprivate.h include/polkit-1/polkit/polkitsubject.h include/polkit-1/polkit/polkitsystembusname.h include/polkit-1/polkit/polkittemporaryauthorization.h include/polkit-1/polkit/polkittypes.h include/polkit-1/polkit/polkitunixgroup.h include/polkit-1/polkit/polkitunixnetgroup.h include/polkit-1/polkit/polkitunixprocess.h include/polkit-1/polkit/polkitunixsession.h include/polkit-1/polkit/polkitunixuser.h include/polkit-1/polkitagent/polkitagent.h include/polkit-1/polkitagent/polkitagentenumtypes.h include/polkit-1/polkitagent/polkitagentlistener.h include/polkit-1/polkitagent/polkitagentsession.h include/polkit-1/polkitagent/polkitagenttextlistener.h include/polkit-1/polkitagent/polkitagenttypes.h lib/girepository-1.0/Polkit-1.0.typelib lib/girepository-1.0/PolkitAgent-1.0.typelib lib/libpolkit-agent-1.so lib/libpolkit-agent-1.so.0 lib/libpolkit-agent-1.so.0.0.0 lib/libpolkit-gobject-1.so lib/libpolkit-gobject-1.so.0 lib/libpolkit-gobject-1.so.0.0.0 @(root,,4755) lib/polkit-1/polkit-agent-helper-1 lib/polkit-1/polkitd libdata/pkgconfig/polkit-agent-1.pc libdata/pkgconfig/polkit-gobject-1.pc %%MANPAGES%%share/man/man1/pkaction.1.gz %%MANPAGES%%share/man/man1/pkcheck.1.gz %%MANPAGES%%share/man/man1/pkexec.1.gz %%MANPAGES%%share/man/man1/pkttyagent.1.gz %%MANPAGES%%share/man/man8/polkit.8.gz %%MANPAGES%%share/man/man8/polkitd.8.gz share/dbus-1/system-services/org.freedesktop.PolicyKit1.service -share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.sample +share/dbus-1/system.d/org.freedesktop.PolicyKit1.conf share/gettext/its/polkit.its share/gettext/its/polkit.loc share/gir-1.0/Polkit-1.0.gir share/gir-1.0/PolkitAgent-1.0.gir share/locale/cs/LC_MESSAGES/polkit-1.mo share/locale/da/LC_MESSAGES/polkit-1.mo share/locale/de/LC_MESSAGES/polkit-1.mo share/locale/hr/LC_MESSAGES/polkit-1.mo share/locale/hu/LC_MESSAGES/polkit-1.mo share/locale/id/LC_MESSAGES/polkit-1.mo share/locale/it/LC_MESSAGES/polkit-1.mo share/locale/ka/LC_MESSAGES/polkit-1.mo share/locale/nl/LC_MESSAGES/polkit-1.mo share/locale/nn/LC_MESSAGES/polkit-1.mo share/locale/pl/LC_MESSAGES/polkit-1.mo share/locale/pt/LC_MESSAGES/polkit-1.mo share/locale/pt_BR/LC_MESSAGES/polkit-1.mo share/locale/ro/LC_MESSAGES/polkit-1.mo share/locale/ru/LC_MESSAGES/polkit-1.mo share/locale/sk/LC_MESSAGES/polkit-1.mo share/locale/sv/LC_MESSAGES/polkit-1.mo share/locale/tr/LC_MESSAGES/polkit-1.mo share/locale/uk/LC_MESSAGES/polkit-1.mo share/locale/zh_CN/LC_MESSAGES/polkit-1.mo share/locale/zh_TW/LC_MESSAGES/polkit-1.mo share/polkit-1/actions/org.freedesktop.policykit.policy share/polkit-1/policyconfig-1.dtd @dir(polkitd,,700) etc/polkit-1/rules.d @dir(polkitd,,700) share/polkit-1/rules.d @dir etc/polkit-1/localauthority/90-mandatory.d @dir etc/polkit-1/localauthority/50-local.d @dir etc/polkit-1/localauthority/30-site.d @dir etc/polkit-1/localauthority/20-org.d @dir etc/polkit-1/localauthority/10-vendor.d @dir(,,700) etc/polkit-1/localauthority @dir etc/polkit-1 @dir /var/lib/polkit-1/localauthority/90-mandatory.d @dir /var/lib/polkit-1/localauthority/50-local.d @dir /var/lib/polkit-1/localauthority/30-site.d @dir /var/lib/polkit-1/localauthority/20-org.d @dir /var/lib/polkit-1/localauthority/10-vendor.d @dir /var/lib/polkit-1/localauthority @dir(,,700) /var/lib/polkit-1 @dir /var/lib