pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/40135



The following reply was made to PR pkg/40135; it has been noted by GNATS.

From: Sergey Svishchev <svs%ropnet.ru@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/40135
Date: Sun, 14 Nov 2010 14:47:34 +0300

 --MGu/vTNewDGZ7tmp
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Disposition: inline
 
 Proposed fix attached.
 
 -- 
 Sergey Svishchev
 
 --MGu/vTNewDGZ7tmp
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="40135.diff"
 
 --- /dev/null  1 Jan 1970 00:00:00 -0000
 +++ security/policykit/INSTALL 14 Nov 2010 11:41:43 -0000
 @@ -0,0 +1,20 @@
 +#!@SH@
 +#
 +# $NetBSD$
 +
 +POLICYKIT_USER=@POLICYKIT_USER@
 +POLICYKIT_GROUP=@POLICYKIT_GROUP@
 +VARBASE=@VARBASE@
 +
 +case "${STAGE}" in
 +POST-INSTALL)
 +      mkdir -p ${VARBASE}/lib/PolicyKit ${VARBASE}/lib/PolicyKit-public 
${VARBASE}/lib/misc
 +      touch ${VARBASE}/lib/misc/PolicyKit.reload
 +      chgrp ${POLICYKIT_GROUP} ${VARBASE}/lib/PolicyKit
 +      chown ${POLICYKIT_USER} ${VARBASE}/lib/PolicyKit-public
 +      chown ${POLICYKIT_USER}:${POLICYKIT_GROUP} 
${VARBASE}/lib/misc/PolicyKit.reload
 +      chmod 770 ${VARBASE}/lib/PolicyKit
 +      chmod 755 ${VARBASE}/lib/PolicyKit-public
 +      chmod 664 ${VARBASE}/lib/misc/PolicyKit.reload
 +      ;;
 +esac
 --- security/policykit/Makefile        8 Feb 2010 09:41:59 -0000       1.16
 +++ security/policykit/Makefile        14 Nov 2010 11:09:31 -0000
 @@ -4,7 +4,7 @@
  POLICYKIT_VER=                0.9
  DISTNAME=             PolicyKit-${POLICYKIT_VER}
  PKGNAME=              policykit-${POLICYKIT_VER}
 -PKGREVISION=          7
 +PKGREVISION=          8
  CATEGORIES=           security
  MASTER_SITES=         http://hal.freedesktop.org/releases/
  
 @@ -44,6 +44,10 @@
  PKG_GROUPS_VARS+=     POLICYKIT_GROUP
  PKG_USERS_VARS+=      POLICYKIT_USER
  
 +FILES_SUBST+=         POLICYKIT_GROUP=${POLICYKIT_GROUP}      \
 +                      POLICYKIT_USER=${POLICYKIT_USER}        \
 +                      VARBASE=${VARBASE}
 +
  CONFIGURE_ARGS+=      --sysconfdir=${PKG_SYSCONFBASE:Q}
  CONFIGURE_ARGS+=      --localstatedir=${VARBASE}
  CONFIGURE_ARGS+=      --with-polkit-user=${POLICYKIT_USER}
 
 --MGu/vTNewDGZ7tmp--
 


Home | Main Index | Thread Index | Old Index