~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to contrib/ports/sequent_ptx_4.4.6

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2007-02-17 13:17:42 UTC
  • Revision ID: james.westby@ubuntu.com-20070217131742-99x5c6cpg1pbkdhw
Tags: upstream-0.82+dfsg
ImportĀ upstreamĀ versionĀ 0.82+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Larry Mascarenhas <lmascare@cscinfo.com> found he had to make some changesx
 
3
to get Pine 4.21 to compile on Sequent ptx v4.4.6. We didn't have time to
 
4
integrate these into the distribution. He was kind enough to send us the
 
5
diffs of what he had to do to make it work.
 
6
 
 
7
 
 
8
 
 
9
diff -cr pine.dist/imap/src/osdep/unix/Makefile pine4.20/imap/src/osdep/unix/Makefile
 
10
*** pine.dist/imap/src/osdep/unix/Makefile      Thu Sep 30 01:54:13 1999
 
11
--- pine4.20/imap/src/osdep/unix/Makefile       Fri Nov 12 15:26:40 1999
 
12
***************
 
13
*** 418,424 ****
 
14
         MAILSPOOL=/usr/mail \
 
15
         RSHPATH=/usr/bin/resh \
 
16
         BASECFLAGS="-Wc,-O3 -Wc,-seq -Dprivate=PRIVATE -DNFSKLUDGE" \
 
17
!        BASELDFLAGS="-lseq -lsec -lsocket -linet -lnsl -lgen" \
 
18
         RANLIB=true
 
19
  
 
20
  pyr:  # Pyramid
 
21
--- 418,424 ----
 
22
         MAILSPOOL=/usr/mail \
 
23
         RSHPATH=/usr/bin/resh \
 
24
         BASECFLAGS="-Wc,-O3 -Wc,-seq -Dprivate=PRIVATE -DNFSKLUDGE" \
 
25
!        BASELDFLAGS="-lseq -lsec -lsocket -lnsl -lgen" \
 
26
         RANLIB=true
 
27
  
 
28
  pyr:  # Pyramid
 
29
diff -cr pine.dist/pico/makefile.ptx pine4.20/pico/makefile.ptx
 
30
*** pine.dist/pico/makefile.ptx Mon Jun 29 18:23:52 1998
 
31
--- pine4.20/pico/makefile.ptx  Fri Nov 12 15:37:28 1999
 
32
***************
 
33
*** 42,48 ****
 
34
  LIBARGS=      ru
 
35
  RANLIB=               true
 
36
  
 
37
! LIBS=         $(EXTRALIBES) -ltermlib -linet
 
38
  
 
39
  OFILES=               attach.o basic.o bind.o browse.o buffer.o \
 
40
                composer.o display.o file.o fileio.o line.o pico_os.o \
 
41
--- 42,48 ----
 
42
  LIBARGS=      ru
 
43
  RANLIB=               true
 
44
  
 
45
! LIBS=         $(EXTRALIBES) -ltermlib -lsocket -l nsl
 
46
  
 
47
  OFILES=               attach.o basic.o bind.o browse.o buffer.o \
 
48
                composer.o display.o file.o fileio.o line.o pico_os.o \
 
49
diff -cr pine.dist/pine/cmplhelp.sh pine4.20/pine/cmplhelp.sh
 
50
*** pine.dist/pine/cmplhelp.sh  Fri Feb 20 19:50:38 1998
 
51
--- pine4.20/pine/cmplhelp.sh   Fri Nov 12 15:16:17 1999
 
52
***************
 
53
*** 49,55 ****
 
54
        s/-sed-backslash-quote-/\\"/g
 
55
      ' |
 
56
  
 
57
! awk 'BEGIN         {in_text = 0;
 
58
                      count = 0;
 
59
                      printf("#include <stdio.h>\n#include \"headers.h\"\n\n\n");
 
60
                     }
 
61
--- 49,55 ----
 
62
        s/-sed-backslash-quote-/\\"/g
 
63
      ' |
 
64
  
 
65
! nawk 'BEGIN         {in_text = 0;
 
66
                      count = 0;
 
67
                      printf("#include <stdio.h>\n#include \"headers.h\"\n\n\n");
 
68
                     }
 
69
diff -cr pine.dist/pine/cmplhlp2.sh pine4.20/pine/cmplhlp2.sh
 
70
*** pine.dist/pine/cmplhlp2.sh  Wed Feb 18 20:46:52 1998
 
71
--- pine4.20/pine/cmplhlp2.sh   Fri Nov 12 15:16:28 1999
 
72
***************
 
73
*** 44,50 ****
 
74
  #
 
75
  
 
76
  
 
77
! awk  ' BEGIN  {  printf("\n\n\t\t/*\n");
 
78
                     printf("\t\t * AUTMATICALLY GENERATED FILE!\n");
 
79
                     printf("\t\t * DO NOT EDIT!!\n\t\t */\n\n\n");
 
80
                     printf("#define\tHelpType\tchar **\n");
 
81
--- 44,50 ----
 
82
  #
 
83
  
 
84
  
 
85
! nawk  ' BEGIN {  printf("\n\n\t\t/*\n");
 
86
                     printf("\t\t * AUTMATICALLY GENERATED FILE!\n");
 
87
                     printf("\t\t * DO NOT EDIT!!\n\t\t */\n\n\n");
 
88
                     printf("#define\tHelpType\tchar **\n");
 
89
diff -cr pine.dist/pine/mailtrfc.sh pine4.20/pine/mailtrfc.sh
 
90
*** pine.dist/pine/mailtrfc.sh  Fri Mar 15 02:14:43 1996
 
91
--- pine4.20/pine/mailtrfc.sh   Fri Nov 12 15:18:35 1999
 
92
***************
 
93
*** 47,53 ****
 
94
  
 
95
  
 
96
  
 
97
! org=`awk '/^domain/ {print $2}' < /etc/resolv.conf`
 
98
  domain=`echo $org | sed -e 's/^[^.]*\.//'`
 
99
  host=`hostname`".$org"
 
100
  
 
101
--- 47,53 ----
 
102
  
 
103
  
 
104
  
 
105
! org=`nawk '/^domain/ {print $2}' < /etc/resolv.conf`
 
106
  domain=`echo $org | sed -e 's/^[^.]*\.//'`
 
107
  host=`hostname`".$org"
 
108
  
 
109
***************
 
110
*** 56,62 ****
 
111
  echo "Hostname: $host"
 
112
  
 
113
  sed -n -e '/message-id/s/^.*</</p' |
 
114
! awk 'BEGIN {mailers[0] =  "Other";
 
115
              mailers[1] =  "Pine";
 
116
              mailers[2] =  "MailManager";
 
117
              mailers[3] =  "sendmail";
 
118
--- 56,62 ----
 
119
  echo "Hostname: $host"
 
120
  
 
121
  sed -n -e '/message-id/s/^.*</</p' |
 
122
! nawk 'BEGIN {mailers[0] =  "Other";
 
123
              mailers[1] =  "Pine";
 
124
              mailers[2] =  "MailManager";
 
125
              mailers[3] =  "sendmail";
 
126
***************
 
127
*** 115,121 ****
 
128
  
 
129
  
 
130
  echo $host $org $domain | \
 
131
!   awk '{printf("     %.17s %.11s %.11s  Off Campus        Total\n", $1, $2, $3)}'
 
132
  egrep -v 'TOTAL|----|^-->' /tmp/syslogx.$$ | sort +0.60rn 
 
133
  egrep  'TOTAL|----' /tmp/syslogx.$$
 
134
  grep  '^-->' /tmp/syslogx.$$ | sed -e 's/-->//' > other-traffic
 
135
--- 115,121 ----
 
136
  
 
137
  
 
138
  echo $host $org $domain | \
 
139
!   nawk '{printf("     %.17s %.11s %.11s  Off Campus        Total\n", $1, $2, $3)}'
 
140
  egrep -v 'TOTAL|----|^-->' /tmp/syslogx.$$ | sort +0.60rn 
 
141
  egrep  'TOTAL|----' /tmp/syslogx.$$
 
142
  grep  '^-->' /tmp/syslogx.$$ | sed -e 's/-->//' > other-traffic
 
143
diff -cr pine.dist/pine/send.c pine4.20/pine/send.c
 
144
*** pine.dist/pine/send.c       Wed Oct  6 16:18:27 1999
 
145
--- pine4.20/pine/send.c        Mon Nov 15 12:46:22 1999
 
146
***************
 
147
*** 50,56 ****
 
148
  #include "../c-client/smtp.h"
 
149
  #include "../c-client/nntp.h"
 
150
  
 
151
 
152
  #ifndef TCPSTREAM
 
153
  #define TCPSTREAM void
 
154
  #endif
 
155
--- 50,55 ----
 
156
***************
 
157
*** 3933,3940 ****
 
158
                if((ps_global->post->pid = fork()) == 0){
 
159
                    /*
 
160
                     * Put us in new process group...
 
161
-                    */
 
162
                    setpgrp(0, ps_global->post->pid);
 
163
  
 
164
                    /* BUG: should fix argv[0] to indicate what we're up to */
 
165
  
 
166
--- 3932,3940 ----
 
167
                if((ps_global->post->pid = fork()) == 0){
 
168
                    /*
 
169
                     * Put us in new process group...
 
170
                    setpgrp(0, ps_global->post->pid);
 
171
+                    */
 
172
+                   setpgrp();
 
173
  
 
174
                    /* BUG: should fix argv[0] to indicate what we're up to */
 
175
  
 
176
diff -cr pine.dist/pine/signals.c pine4.20/pine/signals.c
 
177
*** pine.dist/pine/signals.c    Tue Apr 20 20:25:18 1999
 
178
--- pine4.20/pine/signals.c     Mon Nov 15 12:46:59 1999
 
179
***************
 
180
*** 53,58 ****
 
181
--- 53,59 ----
 
182
   ====*/
 
183
  
 
184
  #include "headers.h"
 
185
+ #undef sigmask
 
186
  
 
187
  /*
 
188
   * call used by TERM and HUP handlers to quickly close streams