summaryrefslogtreecommitdiff
path: root/mail/ja-mh/patches/patch-bm
blob: e90db20f319d2d2ade8083b535b040f36ce71639 (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
$NetBSD: patch-bm,v 1.2 2010/09/27 12:01:49 taca Exp $

* Nuke removing existing files.

--- conf/makefiles/support/general.orig	1998-04-23 21:02:00.000000000 +0000
+++ conf/makefiles/support/general
@@ -74,7 +74,6 @@ inst-aliases:	$(ETCDIR)/MailAliases
 
 $(ETCDIR)/MailAliases:	MailAliases
 		-@if [ ! -f $@ ]; then \
-		    $(REMOVE) $@ zMailAliases; \
 		    $(CP) MailAliases $@; \
 		else \
 		    echo "Will not overwrite existing $@"; \
@@ -87,7 +86,6 @@ $(ETCDIR)/MailAliases:	MailAliases
 inst-components:	$(ETCDIR)/components
 
 $(ETCDIR)/components:	components
-		-$(REMOVE) $@ zcomponents
 		$(CP) components $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -97,7 +95,6 @@ $(ETCDIR)/components:	components
 inst-digestcomps:	$(ETCDIR)/digestcomps
 
 $(ETCDIR)/digestcomps:	digestcomps
-		-$(REMOVE) $@ zdigestcomps
 		$(CP) digestcomps $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -107,7 +104,6 @@ $(ETCDIR)/digestcomps:	digestcomps
 inst-distcomps:	$(ETCDIR)/distcomps
 
 $(ETCDIR)/distcomps:	distcomps
-		-$(REMOVE) $@ zdistcomps
 		$(CP) distcomps $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -117,7 +113,6 @@ $(ETCDIR)/distcomps:	distcomps
 inst-forwcomps:	$(ETCDIR)/forwcomps
 
 $(ETCDIR)/forwcomps:	forwcomps
-		-$(REMOVE) $@ zforwcomps
 		$(CP) forwcomps $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -127,7 +122,6 @@ $(ETCDIR)/forwcomps:	forwcomps
 inst-rcvdistcomps:	$(ETCDIR)/rcvdistcomps
 
 $(ETCDIR)/rcvdistcomps:	rcvdistcomps
-		-$(REMOVE) $@ zrcvdistcomps
 		$(CP) rcvdistcomps $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -137,7 +131,6 @@ $(ETCDIR)/rcvdistcomps:	rcvdistcomps
 inst-replcomps:	$(ETCDIR)/replcomps
 
 $(ETCDIR)/replcomps:	replcomps
-		-$(REMOVE) $@ zreplcomps
 		$(CP) replcomps $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -147,7 +140,6 @@ $(ETCDIR)/replcomps:	replcomps
 inst-digest:	$(ETCDIR)/mhl.digest
 
 $(ETCDIR)/mhl.digest:	mhl.digest
-		-$(REMOVE) $@ zmhl.digest
 		$(CP) mhl.digest $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -162,7 +154,6 @@ MHL_FORMAT= mhl.format.hdecode
 @END: MIME_HEADERS
 
 $(ETCDIR)/mhl.format:	$(MHL_FORMAT)
-		-$(REMOVE) $@ zmhl.format
 		$(CP) $(MHL_FORMAT) $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -172,7 +163,6 @@ $(ETCDIR)/mhl.format:	$(MHL_FORMAT)
 inst-forward:	$(ETCDIR)/mhl.forward
 
 $(ETCDIR)/mhl.forward:	mhl.forward
-		-$(REMOVE) $@ zmhl.forward
 		$(CP) mhl.forward $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -182,7 +172,6 @@ $(ETCDIR)/mhl.forward:	mhl.forward
 inst-body:	$(ETCDIR)/mhl.body
 
 $(ETCDIR)/mhl.body:	mhl.body
-		-$(REMOVE) $@ zmhl.body
 		$(CP) mhl.body $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -197,8 +186,7 @@ MHL_HEADERS= mhl.headers.hdecode
 @END: MIME_HEADERS
 
 $(ETCDIR)/mhl.headers:	$(MHL_HEADERS)
-		-$(REMOVE) $@ zmhl.headers
-		cp $(MHL_HEADERS) $@
+		$(CP) $(MHL_HEADERS) $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
 		-@echo ""
@@ -207,7 +195,6 @@ $(ETCDIR)/mhl.headers:	$(MHL_HEADERS)
 inst-default:	$(ETCDIR)/scan.default
 
 $(ETCDIR)/scan.default:	scan.default
-		-$(REMOVE) $@ zscan.default
 		$(CP) scan.default $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -216,7 +203,6 @@ $(ETCDIR)/scan.default:	scan.default
 inst-mailx:	$(ETCDIR)/scan.mailx
 
 $(ETCDIR)/scan.mailx:	scan.mailx
-		-$(REMOVE) $@ zscan.mailx
 		$(CP) scan.mailx $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -226,7 +212,6 @@ $(ETCDIR)/scan.mailx:	scan.mailx
 inst-size:	$(ETCDIR)/scan.size
 
 $(ETCDIR)/scan.size:	scan.size
-		-$(REMOVE) $@ zscan.size
 		$(CP) scan.size $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -236,7 +221,6 @@ $(ETCDIR)/scan.size:	scan.size
 inst-time:	$(ETCDIR)/scan.time
 
 $(ETCDIR)/scan.time:	scan.time
-		-$(REMOVE) $@ zscan.time
 		$(CP) scan.time $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -246,7 +230,6 @@ $(ETCDIR)/scan.time:	scan.time
 inst-timely:	$(ETCDIR)/scan.timely
 
 $(ETCDIR)/scan.timely:	scan.timely
-		-$(REMOVE) $@ zscan.timely
 		$(CP) scan.timely $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
@@ -256,8 +239,7 @@ $(ETCDIR)/scan.timely:	scan.timely
 inst-packmbox:	$(ETCDIR)/packmbox
 
 $(ETCDIR)/packmbox:	packmbox.sh
-		-$(REMOVE) $@ zpackmbox.sh
-		cp packmbox.sh $@
+		$(CP) packmbox.sh $@
 		-@chmod $(PGMPROT) $@
 		-@ls -l $@
 		-@echo ""
@@ -267,7 +249,6 @@ inst-bboards:	$(ETCDIR)/BBoardAliases
 
 $(ETCDIR)/BBoardAliases:	BBoardAliases
 		-@if [ ! -f $@ ]; then \
-		    $(REMOVE) $@ zBBoardAliases; \
 		    $(CP) BBoardAliases $@; \
 		else \
 		    echo "Will not overwrite existing $@"; \
@@ -281,8 +262,7 @@ $(ETCDIR)/BBoardAliases:	BBoardAliases
 inst-viamail:	$(ETCDIR)/viamail
 
 $(ETCDIR)/viamail:	viamail.sh
-		-$(REMOVE) $@ zviamail.sh
-		cp viamail.sh $@
+		$(CP) viamail.sh $@
 		-@chmod $(PGMPROT) $@
 		-@ls -l $@
 		-@echo ""
@@ -291,7 +271,6 @@ $(ETCDIR)/viamail:	viamail.sh
 inst-mhndefs:	$(ETCDIR)/mhn_defaults
 
 $(ETCDIR)/mhn_defaults:	true
-		-$(REMOVE) $@ zmhn_defaults
 		-@echo "Will merge mhn_defaults into existing $@"
 		-@./bootmhn.sh $(ETCDIR)
 		-@chmod $(FILPROT) $@
@@ -302,22 +281,19 @@ $(ETCDIR)/mhn_defaults:	true
 inst-pgpmime:	$(ETCDIR)/pgped.tcl $(BINDIR)/pgped $(BINDIR)/pgpshow
 
 $(ETCDIR)/pgped.tcl:	pgped.tcl
-		-$(REMOVE) $@ zpgped.tcl
-		cp pgped.tcl $@
+		$(CP) pgped.tcl $@
 		-@chmod $(FILPROT) $@
 		-@ls -l $@
 		-@echo ""
 
 $(BINDIR)/pgped:	pgped.sh
-		-$(REMOVE) $@ zpgped.sh
 		sed -e 's%@LIB%$(ETCDIR)%' < pgped.sh > $@
 		-@chmod $(PGMPROT) $@
 		-@ls -l $@
 		-@echo ""
 
 $(BINDIR)/pgpshow:	pgpshow.sh
-		-$(REMOVE) $@ zpgpshow.sh
-		cp pgpshow.sh $@
+		$(CP) pgpshow.sh $@
 		-@chmod $(PGMPROT) $@
 		-@ls -l $@
 		-@echo ""