Date: Sat, 8 Mar 2014 08:10:48 +0000 (UTC) From: Koop Mast <kwm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347452 - head/sysutils/polkit Message-ID: <201403080810.s288AmIH020074@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kwm Date: Sat Mar 8 08:10:47 2014 New Revision: 347452 URL: http://svnweb.freebsd.org/changeset/ports/347452 QAT: https://qat.redports.org/buildarchive/r347452/ Log: Stagify Use new lib_depend syntax. Add USES=libtool USE_GNOME= gnomehack -> USES=pathfix USE_GMAKE -> USES=gmake Use USE_GNOME introspection component Use full path for commands in the pkg-install file Modified: head/sysutils/polkit/Makefile head/sysutils/polkit/pkg-install head/sysutils/polkit/pkg-plist Modified: head/sysutils/polkit/Makefile ============================================================================== --- head/sysutils/polkit/Makefile Sat Mar 8 07:42:51 2014 (r347451) +++ head/sysutils/polkit/Makefile Sat Mar 8 08:10:47 2014 (r347452) @@ -1,27 +1,22 @@ # Created by: Koop Mast<kwm@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/sysutils/polkit/Makefile,v 1.23 2012/12/18 13:01:54 kwm Exp $ +# $MCom: ports/trunk/sysutils/polkit/Makefile 19013 2014-03-08 07:50:57Z kwm $ PORTNAME= polkit PORTVERSION= 0.105 PORTREVISION= 2 CATEGORIES= sysutils gnome -MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/ \ - http://miwibox.org/distfiles/ +MASTER_SITES= http://www.freedesktop.org/software/polkit/releases/ MAINTAINER= gnome@FreeBSD.org COMMENT= Framework for controlling access to system-wide components -BUILD_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection -LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 -RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/GLib-2.0.gir:${PORTSDIR}/devel/gobject-introspection \ - dbus-launch:${PORTSDIR}/devel/dbus - -USE_GNOME= gnomehack glib20 intlhack gnomehier -USE_GMAKE= yes -MAKE_JOBS_UNSAFE= yes +LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 +RUN_DEPENDS= dbus-launch:${PORTSDIR}/devel/dbus + +USE_GNOME= glib20 intlhack gnomehier introspection +USES= gettext gmake libtool pathfix pkgconfig GNU_CONFIGURE= yes -USES= pkgconfig gettext USE_LDCONFIG= yes CONFIGURE_ARGS= --disable-gtk-doc \ --with-authfw=pam \ @@ -36,18 +31,17 @@ LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= MANPAGES -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MMANPAGES} BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/4.1:${PORTSDIR}/textproc/docbook-sgml \ - xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl -MAN1= pkaction.1 pkcheck.1 pkexec.1 pkttyagent.1 -MAN8= pklocalauthority.8 polkit.8 polkitd.8 +USE_GNOME+= libxslt:build +PLIST_SUB+= MANPAGES="" .else CONFIGURE_ARGS+=--disable-man-pages +PLIST_SUB+= MANPAGES="@comment " .endif post-patch: @@ -56,15 +50,11 @@ post-patch: ${WRKSRC}/src/examples/org.freedesktop.policykit.examples.pkexec.policy.in post-install: - ${MKDIR} ${PREFIX}/etc/dbus-1/system.d/ - if [ ! -f ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ]; then \ - ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \ - ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf ; \ - fi + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/ + @${MKDIR} ${STAGEDIR}${PREFIX}/share/polkit-1/rules.d/ ${INSTALL_DATA} ${WRKSRC}/data/org.freedesktop.PolicyKit1.conf \ - ${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist -.if !defined(PACKAGE_BUILDING) - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif + ${STAGEDIR}${PREFIX}/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf.dist + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so* + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/polkit-1/extensions/lib*.so .include <bsd.port.mk> Modified: head/sysutils/polkit/pkg-install ============================================================================== --- head/sysutils/polkit/pkg-install Sat Mar 8 07:42:51 2014 (r347451) +++ head/sysutils/polkit/pkg-install Sat Mar 8 08:10:47 2014 (r347452) @@ -2,14 +2,15 @@ case $2 in POST-INSTALL) - mkdir -p /var/lib/polkit-1/localauthority - mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority + /bin/mkdir -p /var/lib/polkit-1/localauthority + /bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority + /bin/mkdir -p ${PKG_PREFIX}/share/polkit-1/rules.d for i in 10-vendor.d 20-org.d 30-site.d 50-local.d 90-mandatory.d; do - mkdir -p /var/lib/polkit-1/localauthority/${i} - mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i} + /bin/mkdir -p /var/lib/polkit-1/localauthority/${i} + /bin/mkdir -p ${PKG_PREFIX}/etc/polkit-1/localauthority/${i} done - chmod 0700 /var/lib/polkit-1 - chmod 0700 ${PKG_PREFIX}/etc/polkit-1 + /bin/chmod 0700 /var/lib/polkit-1 + /bin/chmod 0700 ${PKG_PREFIX}/etc/polkit-1 exit 0 ;; esac Modified: head/sysutils/polkit/pkg-plist ============================================================================== --- head/sysutils/polkit/pkg-plist Sat Mar 8 07:42:51 2014 (r347451) +++ head/sysutils/polkit/pkg-plist Sat Mar 8 08:10:47 2014 (r347452) @@ -49,14 +49,17 @@ lib/libpolkit-agent-1.a lib/libpolkit-agent-1.la lib/libpolkit-agent-1.so lib/libpolkit-agent-1.so.0 +lib/libpolkit-agent-1.so.0.0.0 lib/libpolkit-backend-1.a lib/libpolkit-backend-1.la lib/libpolkit-backend-1.so lib/libpolkit-backend-1.so.0 +lib/libpolkit-backend-1.so.0.0.0 lib/libpolkit-gobject-1.a lib/libpolkit-gobject-1.la lib/libpolkit-gobject-1.so lib/libpolkit-gobject-1.so.0 +lib/libpolkit-gobject-1.so.0.0.0 lib/polkit-1/extensions/libnullbackend.a lib/polkit-1/extensions/libnullbackend.la lib/polkit-1/extensions/libnullbackend.so @@ -65,12 +68,20 @@ libdata/pkgconfig/polkit-backend-1.pc libdata/pkgconfig/polkit-gobject-1.pc libexec/polkit-agent-helper-1 libexec/polkitd +%%MANPAGES%%man/man1/pkaction.1.gz +%%MANPAGES%%man/man1/pkcheck.1.gz +%%MANPAGES%%man/man1/pkexec.1.gz +%%MANPAGES%%man/man1/pkttyagent.1.gz +%%MANPAGES%%man/man8/pklocalauthority.8.gz +%%MANPAGES%%man/man8/polkit.8.gz +%%MANPAGES%%man/man8/polkitd.8.gz share/dbus-1/system-services/org.freedesktop.PolicyKit1.service share/gir-1.0/Polkit-1.0.gir share/gir-1.0/PolkitAgent-1.0.gir share/locale/da/LC_MESSAGES/polkit-1.mo share/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy share/polkit-1/actions/org.freedesktop.policykit.policy +@dirrmtry share/polkit-1/rules.d @dirrmtry share/polkit-1/actions @dirrmtry share/polkit-1 @dirrm lib/polkit-1/extensions @@ -97,3 +108,4 @@ share/polkit-1/actions/org.freedesktop.p @dirrmtry var/lib/polkit-1/localauthority @dirrmtry var/lib/polkit-1 @dirrmtry var/lib +@cwd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403080810.s288AmIH020074>