diff options
author | grant <grant@pkgsrc.org> | 2002-11-21 10:41:43 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2002-11-21 10:41:43 +0000 |
commit | 0369551d27093e7d172156fdf9bf462b88ed2cf9 (patch) | |
tree | 5d04421924323bd2344f0d5c609698e3582f02f1 /x11/gdm/patches | |
parent | 55592db162903254c16307308ea47f8c14520355 (diff) | |
download | pkgsrc-0369551d27093e7d172156fdf9bf462b88ed2cf9.tar.gz |
- use POSIX form of chown `user:group' rather than `user.group'
- make use of ${CHOWN} and ${CHMOD}
fixes pkg/18177 from Julien T. Letessier.
Diffstat (limited to 'x11/gdm/patches')
-rw-r--r-- | x11/gdm/patches/patch-bc | 76 |
1 files changed, 70 insertions, 6 deletions
diff --git a/x11/gdm/patches/patch-bc b/x11/gdm/patches/patch-bc index d0b20bb5f17..ddfe7e5dfff 100644 --- a/x11/gdm/patches/patch-bc +++ b/x11/gdm/patches/patch-bc @@ -1,13 +1,77 @@ -$NetBSD: patch-bc,v 1.3 2002/10/26 19:51:08 bouyer Exp $ +$NetBSD: patch-bc,v 1.4 2002/11/21 10:41:44 grant Exp $ ---- config/Makefile.in.orig Tue Mar 20 03:07:31 2001 -+++ config/Makefile.in Tue Mar 20 03:08:13 2001 -@@ -315,7 +315,7 @@ +--- config/Makefile.in.orig Tue Mar 13 11:24:39 2001 ++++ config/Makefile.in +@@ -257,7 +257,7 @@ mostlyclean distclean maintainer-clean + install-data-hook: gdm.conf gnomerc Gnome Failsafe + if test '!' -d $(confdir); then \ + $(mkinstalldirs) $(confdir); \ +- chmod 755 $(confdir); \ ++ ${CHMOD} 755 $(confdir); \ + fi + if test '!' -f $(confdir)/gdm.conf; then \ + $(INSTALL_DATA) gdm.conf $(confdir)/gdm.conf; \ +@@ -269,7 +269,7 @@ install-data-hook: gdm.conf gnomerc Gnom + + if test '!' -d $(sessdir); then \ + $(mkinstalldirs) $(sessdir); \ +- chmod 755 $(sessdir); \ ++ ${CHMOD} 755 $(sessdir); \ + fi + if test '!' -f $(sessdir)/Xsession; then \ + $(INSTALL_SCRIPT) $(srcdir)/Xsession $(sessdir)/Xsession; \ +@@ -283,7 +283,7 @@ install-data-hook: gdm.conf gnomerc Gnom + + if test '!' -d $(initdir); then \ + $(mkinstalldirs) $(initdir); \ +- chmod 755 $(initdir); \ ++ ${CHMOD} 755 $(initdir); \ + fi + if test '!' -f $(initdir)/Default; then \ + $(INSTALL_SCRIPT) $(srcdir)/Default $(initdir)/Default; \ +@@ -291,7 +291,7 @@ install-data-hook: gdm.conf gnomerc Gnom + + if test '!' -d $(predir); then \ + $(mkinstalldirs) $(predir); \ +- chmod 755 $(predir); \ ++ ${CHMOD} 755 $(predir); \ + fi + if test '!' -f $(predir)/Default; then \ + $(INSTALL_SCRIPT) $(srcdir)/PreSession $(predir)/Default; \ +@@ -299,7 +299,7 @@ install-data-hook: gdm.conf gnomerc Gnom + + if test '!' -d $(postdir); then \ + $(mkinstalldirs) $(postdir); \ +- chmod 755 $(postdir); \ ++ ${CHMOD} 755 $(postdir); \ + fi + if test '!' -f $(postdir)/Default; then \ + $(INSTALL_SCRIPT) $(srcdir)/PostSession $(postdir)/Default; \ +@@ -307,7 +307,7 @@ install-data-hook: gdm.conf gnomerc Gnom + + if test '!' -d $(gnomercdir); then \ + $(mkinstalldirs) $(gnomercdir); \ +- chmod 755 $(gnomercdir); \ ++ ${CHMOD} 755 $(gnomercdir); \ + fi + if test '!' -f $(gnomercdir)/gnomerc; then \ + $(INSTALL_SCRIPT) gnomerc $(gnomercdir)/gnomerc; \ +@@ -315,15 +315,15 @@ install-data-hook: gdm.conf gnomerc Gnom if test '!' -d $(authdir); then \ $(mkinstalldirs) $(authdir); \ - chown gdm.gdm $(authdir); \ -+ chown ${GDMOWN}:${GDMGRP} $(authdir); \ - chmod 750 $(authdir); \ +- chmod 750 $(authdir); \ ++ ${CHOWN} gdm:gdm $(authdir); \ ++ ${CHMOD} 750 $(authdir); \ fi + system=`uname`; \ + if test -f /usr/include/security/pam_appl.h; then \ + if test '!' -d $(sysconfdir)/pam.d; then \ + $(mkinstalldirs) $(sysconfdir)/pam.d; \ +- chmod 755 $(sysconfdir)/pam.d; \ ++ ${CHMOD} 755 $(sysconfdir)/pam.d; \ + fi; \ + if test $$system = Linux && test '!' -f $(sysconfdir)/pam.d/gdm; then \ + $(INSTALL_DATA) gdm $(sysconfdir)/pam.d/gdm; \ |