mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Fix policykit leftovers by using @sample
This commit is contained in:
parent
181ce1716b
commit
63666c0517
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392524
@ -4,7 +4,7 @@
|
||||
|
||||
PORTNAME= policykit
|
||||
PORTVERSION= 0.9
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= sysutils gnome
|
||||
MASTER_SITES= http://hal.freedesktop.org/releases/
|
||||
DISTNAME= PolicyKit-${PORTVERSION}
|
||||
@ -50,12 +50,8 @@ PLIST_SUB+= MANPAGES="@comment "
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/etc/PolicyKit
|
||||
if [ ! -f ${PREFIX}/etc/PolicyKit/PolicyKit.conf ]; then \
|
||||
${INSTALL_DATA} ${WRKSRC}/data/PolicyKit.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/PolicyKit/PolicyKit.conf ; \
|
||||
fi
|
||||
${INSTALL_DATA} ${WRKSRC}/data/PolicyKit.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/PolicyKit/PolicyKit.conf.dist
|
||||
${STAGEDIR}${PREFIX}/etc/PolicyKit/PolicyKit.conf.sample
|
||||
# this file is used for reloading rules, handle it in the plist.
|
||||
@${RM} ${STAGEDIR}/var/lib/misc/PolicyKit.reload
|
||||
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so.*
|
||||
|
@ -2,9 +2,7 @@ bin/polkit-action
|
||||
bin/polkit-auth
|
||||
bin/polkit-config-file-validate
|
||||
bin/polkit-policy-file-validate
|
||||
@unexec if cmp -s %D/etc/PolicyKit/PolicyKit.conf %D/etc/PolicyKit/PolicyKit.conf.dist; then rm -f %D/etc/PolicyKit/PolicyKit.conf ; fi
|
||||
etc/PolicyKit/PolicyKit.conf.dist
|
||||
@exec [ -f %B/PolicyKit.conf ] || cp %B/%f %B/PolicyKit.conf
|
||||
@sample etc/PolicyKit/PolicyKit.conf.sample
|
||||
etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf
|
||||
etc/pam.d/polkit
|
||||
etc/profile.d/polkit-bash-completion.sh
|
||||
|
Loading…
Reference in New Issue
Block a user