aboutsummaryrefslogtreecommitdiff
path: root/mail/pgpsendmail/files/patch-aa
blob: d6cef002aab6606036feffa62ff467e2e50e3b2e (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
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
*** Makefile.old	Sat Oct 15 23:06:26 1994
--- Makefile	Sat Jan 21 03:04:40 1995
***************
*** 13,28 ****
  #
  #SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
  
  DEFINES =
  
! CC = cc
! CFLAGS = $(DEFINES) -I. "-DVERSION=\"`cat version`\""
  
  LDFLAGS =
  
  TARGETS =	blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
  
! all:	$(TARGETS) clean
  
  BLINDNESS_ASSIST_OBJ =	blindness_assist.o
  
--- 13,29 ----
  #
  #SENDMAIL = '-DSENDMAIL="/usr/lib/sendmail"'
  
+ PREFIX = /usr/local
+ 
  DEFINES =
  
! CFLAGS += $(DEFINES) -I. "-DVERSION=\"`cat version`\""
  
  LDFLAGS =
  
  TARGETS =	blindness_assist pgpsendmail pgpdaemon sendpgppass pgppipe
  
! all:    $(TARGETS)
  
  BLINDNESS_ASSIST_OBJ =	blindness_assist.o
  
***************
*** 39,55 ****
  pgpsendmail.o:	pgpsendmail.c
  	$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
  
  pgpsendmail:	$(PGPSENDMAIL_OBJ)
  	$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
  	@-./blindness_assist
- 	-./install pgpsendmail
  
  
  PGPDAEMON_OBJ =	pgpdaemon.o spawn.o strings.o memory.o misc.o
  
  pgpdaemon:	$(PGPDAEMON_OBJ)
  	$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
- 	-./install pgpdaemon
  
  
  SENDPGPPASS_OBJ =	sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
--- 40,55 ----
  pgpsendmail.o:	pgpsendmail.c
  	$(CC) $(CFLAGS) $(SENDMAIL) -c pgpsendmail.c
  
+ 
  pgpsendmail:	$(PGPSENDMAIL_OBJ)
  	$(CC) -s -o pgpsendmail $(PGPSENDMAIL_OBJ) $(LDFLAGS)
  	@-./blindness_assist
  
  
  PGPDAEMON_OBJ =	pgpdaemon.o spawn.o strings.o memory.o misc.o
  
  pgpdaemon:	$(PGPDAEMON_OBJ)
  	$(CC) -s -o pgpdaemon $(PGPDAEMON_OBJ) $(LDFLAGS)
  
  
  SENDPGPPASS_OBJ =	sendpgppass.o conn_to_pgpd.o strings.o spawn.o \
***************
*** 57,72 ****
  
  sendpgppass:	$(SENDPGPPASS_OBJ)
  	$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
- 	-./install sendpgppass
  
  
  PGPPIPE_OBJ =	pgppipe.o conn_to_pgpd.o memory.o misc.o
  
  pgppipe:	$(PGPPIPE_OBJ)
  	$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
- 	-./install pgppipe
  
  
  clean:
  	rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
  	-chmod u+rw,go-w * 2> /dev/null
--- 57,80 ----
  
  sendpgppass:	$(SENDPGPPASS_OBJ)
  	$(CC) -s -o sendpgppass $(SENDPGPPASS_OBJ) $(LDFLAGS)
  
  
  PGPPIPE_OBJ =	pgppipe.o conn_to_pgpd.o memory.o misc.o
  
  pgppipe:	$(PGPPIPE_OBJ)
  	$(CC) -s -o pgppipe $(PGPPIPE_OBJ) $(LDFLAGS)
  
  
+ all_install:
+ 	/usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpsendmail $(PREFIX)/lib
+ 	/usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpsendmail.8 $(PREFIX)/man/man8
+ 	/usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgpdaemon $(PREFIX)/bin
+ 	/usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgpdaemon.8 $(PREFIX)/man/man8
+ 	/usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) pgppipe $(PREFIX)/bin
+ 	/usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/pgppipe.1 $(PREFIX)/man/man1
+ 	/usr/bin/install $(COPY) -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) sendpgppass $(PREFIX)/bin
+ 	/usr/bin/install -c -o $(BINOWN) -g $(BINGRP) -m 644 doc/sendpgppass.1 $(PREFIX)/man/man1
+ 
  clean:
  	rm -f *.BAK *.log *.sed .#* *~ *.bak */*.bak */tmp* .*defaults */*~
  	-chmod u+rw,go-w * 2> /dev/null
***************
*** 88,90 ****
--- 96,99 ----
  memory.o:	pgpsendmail.h	karma.h
  pgppipe.o:	pgpsendmail.h	karma.h	version
  misc.o:		pgpsendmail.h	karma.h
+ blindness_assist.o: pgpsendmail.h