2020-12-04 05:55:41 +01:00
|
|
|
# $NetBSD: Makefile,v 1.30 2020/12/04 04:56:13 riastradh Exp $
|
2016-05-20 20:39:33 +02:00
|
|
|
|
polkit: update to 0.118.
--------------
polkit 0.118
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.118.
Highlights:
move to mozjs78
tarball CI fix
Build requirements
glib, gobject, gio >= 2.32
mozjs-78
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.117:
Xi Ruoyao:
tarball fixup for distcheck
Valentin David:
updated dependency to mozjs78
Many thanks to all contributors!
Jan Rybar et al.,
September 8, 2020
--------------
polkit 0.117
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.117.
Highlights:
Gitlab CI activation - all merge requests are tested before merged
New Norwegian translation, several other language updates
Build requirements
glib, gobject, gio >= 2.32
mozjs-68
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.116:
Bastien Nocera:
Activated Gitlab CI
Xi Ruoyao:
Updated dependency to mozjs68
Kalev Lember, Jan Rybar
Memory management fixes
Anders Jonsson, Karl Ove Hufthammer, Andika Triwidada, Yuri Chornoivan:
Language updates
Many thanks to all contributors!
Jan Rybar et al.,
July 24, 2020
2020-11-20 18:59:18 +01:00
|
|
|
DISTNAME= polkit-0.118
|
2020-12-04 05:55:41 +01:00
|
|
|
PKGREVISION= 1
|
2016-05-20 20:39:33 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://www.freedesktop.org/wiki/Software/polkit
|
2016-05-20 20:39:33 +02:00
|
|
|
COMMENT= Authorization Manager
|
|
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
|
2018-06-04 03:23:41 +02:00
|
|
|
NOT_PAX_MPROTECT_SAFE= lib/polkit-1/polkitd
|
|
|
|
|
2016-05-20 20:39:33 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2020-05-13 06:36:41 +02:00
|
|
|
GNU_CONFIGURE_STRICT= no # has sub-configures
|
2020-04-19 00:08:29 +02:00
|
|
|
USE_LANGUAGES= c c++14
|
2016-05-20 20:39:33 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_TOOLS+= pkg-config intltool gmake msgfmt perl
|
|
|
|
|
2020-05-04 04:11:00 +02:00
|
|
|
# C++14
|
|
|
|
GCC_REQD+= 5
|
2020-03-26 17:07:57 +01:00
|
|
|
|
2016-05-20 20:39:33 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= data/polkit-gobject-1.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= data/polkit-agent-1.pc.in
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
CONFIGURE_ARGS+= --with-polkitd-user=${POLKITD_USER}
|
2016-06-17 22:31:24 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-libsystemd-login
|
2018-04-29 07:14:36 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-libelogind
|
2016-05-20 20:39:33 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
POLKITD_USER?= polkitd
|
|
|
|
POLKITD_GROUP?= polkitd
|
|
|
|
PKG_GROUPS+= ${POLKITD_GROUP}
|
|
|
|
PKG_USERS+= ${POLKITD_USER}:${POLKITD_GROUP}
|
|
|
|
PKG_GECOS.${POLKITD_USER}= Polkit Daemon User
|
|
|
|
PKG_HOME.${POLKITD_USER}= ${VARBASE}
|
|
|
|
PKG_GROUPS_VARS+= POLKITD_GROUP
|
|
|
|
PKG_USERS_VARS+= POLKITD_USER
|
|
|
|
|
2018-04-29 07:14:36 +02:00
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
|
2016-05-20 20:39:33 +02:00
|
|
|
REPLACE_PERL+= src/polkitbackend/toarray.pl
|
|
|
|
|
|
|
|
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/polkit
|
|
|
|
INSTALL_MAKE_FLAGS+= pamdir=${PREFIX}/share/examples/pam.d
|
|
|
|
|
|
|
|
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/polkit-1/rules.d \
|
|
|
|
${POLKITD_USER} ${POLKITD_GROUP} 700
|
|
|
|
OWN_DIRS_PERMS+= ${PREFIX}/share/polkit-1/rules.d \
|
|
|
|
${POLKITD_USER} ${POLKITD_GROUP} 700
|
2018-11-29 17:21:07 +01:00
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/dbus-1/system.d
|
2016-05-20 20:39:33 +02:00
|
|
|
SPECIAL_PERMS+= lib/polkit-1/polkit-agent-helper-1 ${SETUID_ROOT_PERMS}
|
|
|
|
SPECIAL_PERMS+= bin/pkexec ${SETUID_ROOT_PERMS}
|
|
|
|
|
2020-01-26 18:30:40 +01:00
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/polkit/dbus-1/system.d/org.freedesktop.PolicyKit1.conf \
|
2016-05-20 20:39:33 +02:00
|
|
|
${PKG_SYSCONFDIR}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/polkit/polkit-1/rules.d/50-default.rules \
|
|
|
|
${PKG_SYSCONFDIR}/polkit-1/rules.d/50-default.rules
|
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
|
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
SUBST_FILES.paths+= docs/man/pkexec.xml
|
|
|
|
SUBST_FILES.paths+= src/examples/org.freedesktop.policykit.examples.pkexec.policy.in
|
|
|
|
SUBST_SED.paths+= -e 's,/usr/bin/,${PREFIX}/bin/,g'
|
|
|
|
|
2018-06-04 03:21:08 +02:00
|
|
|
|
polkit: update to 0.118.
--------------
polkit 0.118
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.118.
Highlights:
move to mozjs78
tarball CI fix
Build requirements
glib, gobject, gio >= 2.32
mozjs-78
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.117:
Xi Ruoyao:
tarball fixup for distcheck
Valentin David:
updated dependency to mozjs78
Many thanks to all contributors!
Jan Rybar et al.,
September 8, 2020
--------------
polkit 0.117
--------------
WARNING WARNING WARNING: This is a prerelease on the road to polkit
1.0. Public API might change and certain parts of the code still needs
some security review. Use at your own risk.
This is polkit 0.117.
Highlights:
Gitlab CI activation - all merge requests are tested before merged
New Norwegian translation, several other language updates
Build requirements
glib, gobject, gio >= 2.32
mozjs-68
gobject-introspection >= 0.6.2 (optional)
pam (optional)
ConsoleKit OR systemd
Changes since polkit 0.116:
Bastien Nocera:
Activated Gitlab CI
Xi Ruoyao:
Updated dependency to mozjs68
Kalev Lember, Jan Rybar
Memory management fixes
Anders Jonsson, Karl Ove Hufthammer, Andika Triwidada, Yuri Chornoivan:
Language updates
Many thanks to all contributors!
Jan Rybar et al.,
July 24, 2020
2020-11-20 18:59:18 +01:00
|
|
|
.include "../../lang/mozjs78/buildlink3.mk"
|
2016-05-20 20:39:33 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|