pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/gdm gdmsetup's theme installer hardcodes root:root...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/58d084a730df
branches:  trunk
changeset: 550670:58d084a730df
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Wed Nov 26 00:52:40 2008 +0000

description:
gdmsetup's theme installer hardcodes root:root when setting theme
directory permissions, patch at post-patch time to use ROOT_USER and
ROOT_GROUP. Bump PKGREVISION.

diffstat:

 x11/gdm/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 38639776ab0f -r 58d084a730df x11/gdm/Makefile
--- a/x11/gdm/Makefile  Wed Nov 26 00:32:55 2008 +0000
+++ b/x11/gdm/Makefile  Wed Nov 26 00:52:40 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.148 2008/11/23 22:06:49 jmcneill Exp $
+# $NetBSD: Makefile,v 1.149 2008/11/26 00:52:40 jmcneill Exp $
 #
 
 DISTNAME=      gdm-2.20.7
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    x11 gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/gdm/2.20/}
 EXTRACT_SUFX=  .tar.bz2
@@ -82,6 +82,12 @@
 SUBST_SED.desktop+=    -e 's|^\#HaltCommand=.*$$|HaltCommand=/sbin/shutdown -p now|g'
 .endif
 
+SUBST_CLASSES+=                gdmsetup
+SUBST_MESSAGE.gdmsetup=        Patching gdmsetup theme installer to use ${ROOT_USER}:${ROOT_GROUP}
+SUBST_STAGE.gdmsetup=  post-patch
+SUBST_FILES.gdmsetup=  gui/gdmsetup.c
+SUBST_SED.gdmsetup=    -e 's/root:root/${ROOT_USER}:${ROOT_GROUP}/g'
+
 .if ${OPSYS} == "SunOS"
 CFLAGS+=       -DSunOS
 GDMOWN=                daemon



Home | Main Index | Thread Index | Old Index