summaryrefslogtreecommitdiff
path: root/x11/gdm1/patches/patch-bc
blob: 6ea1e7f9a9b37eb5660c4b293e5ad81831fcb039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
$NetBSD: patch-bc,v 1.1.1.1 2004/01/20 13:33:14 xtraeme Exp $

--- 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); \
-		chmod 750 $(authdir); \
+		${CHOWN} ${GDMOWN}:${GDMGRP} $(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; \