aboutsummaryrefslogtreecommitdiff
path: root/sysutils/nut/files/patch-aa
blob: 107977974a1c0f9d4db47c04c22da9b21c9783fd (plain) (blame)
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
diff -ur ../440/Makefile.in ./Makefile.in
--- ../440/Makefile.in	Mon Jun 12 06:48:07 2000
+++ ./Makefile.in	Tue Jul 18 11:51:25 2000
@@ -5,7 +5,7 @@
 BASEPATH = $(INSTALLROOT)@prefix@
 CONFPATH = $(INSTALLROOT)@sysconfdir@
 CGIPATH = $(INSTALLROOT)@CGIPATH@
-INSTALLDIRS=$(CONFPATH) $(CGIPATH) $(MODELPATH) $(BASEPATH)/bin $(BASEPATH)/misc
+INSTALLDIRS=$(CONFPATH) $(CGIPATH) $(MODELPATH) $(BASEPATH)/bin
 
 STATEPATH = $(INSTALLROOT)@STATEPATH@
 SUBDIRS = common models server clients
diff -ur ../440/clients/Makefile.in ./clients/Makefile.in
--- ../440/clients/Makefile.in	Fri Jul 14 05:55:41 2000
+++ ./clients/Makefile.in	Mon Jul 17 17:48:29 2000
@@ -57,7 +57,7 @@
 
 install: all
 	@for f in $(PROGS) ; do \
-		$(INSTALLCMD) -m $(INSTALLMODE) $$f $(BASEPATH)/bin; \
+		$(INSTALLCMD) -m $(INSTALLMODE) $$f $(BASEPATH)/sbin; \
 	done
 
 install-cgi: cgi
diff -ur ../440/conf/Makefile.in ./conf/Makefile.in
--- ../440/conf/Makefile.in	Mon May  8 04:17:20 2000
+++ ./conf/Makefile.in	Mon Jul 17 17:49:43 2000
@@ -13,17 +13,9 @@
 
 install:
 	@for f in $(SECFILES) ; do \
-		if [ -f $(CONFPATH)/$$f ]; then \
-			echo "Preserving existing config file: $$f"; \
-		else \
-			$(INSTALLCMD) -m 0600 $$f $(CONFPATH); \
-		fi; \
+		$(INSTALLCMD) -m 0600 $$f $(CONFPATH)/$$f.sample; \
 	done
 
 	@for f in $(PUBFILES) ; do \
-		if [ -f $(CONFPATH)/$$f ]; then \
-			echo "Preserving existing config file: $$f"; \
-		else \
-			$(INSTALLCMD) -m 0644 $$f $(CONFPATH); \
-		fi; \
+		$(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \
 	done
diff -ur ../440/models/Makefile.in ./models/Makefile.in
--- ../440/models/Makefile.in	Fri Jul 14 05:27:27 2000
+++ ./models/Makefile.in	Tue Jul 18 10:59:01 2000
@@ -20,9 +20,7 @@
 # in the future ala the Linux "make config" process...
 
 $(PROGS): upscommon.o ../include/shared.h ../common/common.o
-
-.c:
-	$(CC) $(CFLAGS) -o $* $*.c upscommon.o ../common/common.o
+	$(CC) $(CFLAGS) -o $* $*.c upscommon.o @SERLIBS@ ../common/common.o
 
 #
 # Housekeeping stuff
diff -ur ../440/server/Makefile.in ./server/Makefile.in
--- ../440/server/Makefile.in	Fri Jul 14 05:30:40 2000
+++ ./server/Makefile.in	Mon Jul 17 17:51:19 2000
@@ -24,5 +24,5 @@
 
 install: all
 	@for f in $(PROGS) ; do \
-		$(INSTALLCMD) $$f $(BASEPATH)/bin; \
+		$(INSTALLCMD) $$f $(BASEPATH)/sbin; \
 	done