summaryrefslogtreecommitdiff
blob: c4d78b788dfe87aaf668eb24d859377a3e4c5cb4 (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
--- diald.h.mdk	Wed Oct  3 16:46:54 2001
+++ diald.h	Wed Oct  3 16:47:13 2001
@@ -11,6 +11,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
+#  include <time.h>
 #if HAVE_UNISTD_H
 #  include <unistd.h>
 #endif
--- Makefile.in.mdk	Sat Jun 16 13:16:04 2001
+++ Makefile.in	Wed Oct  3 18:36:43 2001
@@ -21,9 +21,13 @@
 mandir          = @mandir@
 
 
+ROOTUID			= root
+ROOTGRP			= root
+BINGRP			= bin
+
 CC              = @CC@
 CFLAGS          = @CFLAGS@ @DEFS@ -I$(srcdir) \
-			-DDIALD_CONFIG_FILE=\"@sysconfdir@/diald.conf\" \
+			-DDIALD_CONFIG_FILE=\"@sysconfdir@/diald/diald.conf\" \
 			-DDIALD_DEFS_FILE=\"@libdir@/diald/diald.defs\" \
 			-DRUN_PREFIX=\"@localstatedir@/run\"
 INSTALL         = @INSTALL@
@@ -51,21 +55,21 @@
 	$(INSTALL) -d $(DESTDIR)$(bindir)
 	$(INSTALL) -m 0755 bin/dctrl $(DESTDIR)$(bindir)/dctrl
 	$(INSTALL) -d $(DESTDIR)$(sbindir)
-	$(INSTALL) -s -o root -g bin diald $(DESTDIR)$(sbindir)/diald
+	$(INSTALL) -s -o $(ROOTUID) -g $(BINGRP) diald $(DESTDIR)$(sbindir)/diald
 	$(INSTALL) -d $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5 \
 		$(DESTDIR)$(mandir)/man8
-	$(INSTALL) -o root -g bin -m 0644 doc/diald.man $(DESTDIR)$(mandir)/man8/diald.8
-	$(INSTALL) -o root -g bin -m 0644 doc/dctrl.man $(DESTDIR)$(mandir)/man1/dctrl.1
-	$(INSTALL) -o root -g bin -m 0644 doc/diald-examples.man $(DESTDIR)$(mandir)/man5/diald-examples.5
-	$(INSTALL) -o root -g bin -m 0644 doc/diald-control.man $(DESTDIR)$(mandir)/man5/diald-control.5
-	$(INSTALL) -o root -g bin -m 0644 doc/diald-monitor.man $(DESTDIR)$(mandir)/man5/diald-monitor.5
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 doc/diald.man $(DESTDIR)$(mandir)/man8/diald.8
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 doc/dctrl.man $(DESTDIR)$(mandir)/man1/dctrl.1
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 doc/diald-examples.man $(DESTDIR)$(mandir)/man5/diald-examples.5
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 doc/diald-control.man $(DESTDIR)$(mandir)/man5/diald-control.5
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 doc/diald-monitor.man $(DESTDIR)$(mandir)/man5/diald-monitor.5
 	-mkdir -p $(DESTDIR)$(libdir)
-	$(INSTALL) -o root -g bin lib/*.gif $(DESTDIR)$(libdir)
-	$(INSTALL) -o root -g bin -m 0644 config/diald.defs $(DESTDIR)$(libdir)/diald.defs
-	$(INSTALL) -o root -g bin -m 0644 config/standard.filter $(DESTDIR)$(libdir)/standard.filter
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) lib/*.gif $(DESTDIR)$(libdir)
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 config/diald.defs $(DESTDIR)$(libdir)/diald.defs
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) -m 0644 config/standard.filter $(DESTDIR)$(libdir)/standard.filter
 	$(INSTALL) -d -m 0755 $(DESTDIR)/etc/pam.d
-	$(INSTALL) -o root -g root -m 0644 config/diald.pam $(DESTDIR)/$(sysconfdir)/pam.d/diald
-	$(INSTALL) -o root -g bin bin/connect $(DESTDIR)$(libdir)/connect
+	$(INSTALL) -o $(ROOTUID) -g $(ROOTGRP) -m 0644 config/diald.pam $(DESTDIR)/$(sysconfdir)/pam.d/diald
+	$(INSTALL) -o $(ROOTUID) -g $(BINGRP) bin/connect $(DESTDIR)$(libdir)/connect
 
 clean:
 	rm -f *.o diald