summaryrefslogtreecommitdiff
path: root/mail/pine4/files/patch-al
blob: fef99259e733dc77b672aadb7d11db8df3409e4a (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
*** build.orig	Tue Nov  5 18:17:56 2002
--- build	Tue Nov 26 03:16:11 2002
***************
*** 350,411 ****
  	  echo "Including SSL functionality"
  	fi
  
-         if [ -s c-client ] ; then rm -f c-client ; fi
-         ln -s imap/c-client c-client
-         if [ -s mtest    ] ; then rm -f mtest    ; fi
-         ln -s imap/mtest mtest
-         if [ -s mailutil ] ; then rm -f mailutil ; fi
-         ln -s imap/mailutil mailutil
-         if [ -s imapd    ] ; then rm -f imapd    ; fi
-         ln -s imap/imapd imapd
-         if [ -s ipopd    ] ; then rm -f ipopd    ; fi
-         ln -s imap/ipopd ipopd
-         echo "Making c-client library, imapd, and ipopd"
- 	echo $S1 $S2 $S3 $S4 $K1 > imap/SPECIALS
-         cd "$PHOME/imap"
- # This "touch" tells the IMAP make not to give any warnings about IESG compliance.
- 	if [ "$NOSSL" = "1" -o "$SSL" != "none" ] ; then touch ssl$SSL ; fi
- 	if [ "$NOSSL" != "1" -a "$SSL" = "none" -a ! -f sslnone ]
- 	then
- 	   echo "+-----------------------------------------------------------+"
- 	   echo "| It appears that you do not have OpenSSL or equivalent     |"
- 	   echo "| installed on this system.                                 |"
- 	   echo "|                                                           |"
- 	   echo "| Building PINE without SSL support will possibly introduce |"
- 	   echo "| problems when communicating with IMAP, POP3, or SMTP      |"
- 	   echo "| servers that require TLS or SSL authentication.           |"
- 	   echo "| In addition, your password may be vulnerable to a         |"
- 	   echo "| snooping attack since it may be sent over the network     |"
- 	   echo "| unencrypted.                                              |"
- 	   echo "+-----------------------------------------------------------+"
- 	   echo ""
- 	   echo "Do you want to continue this build anyway? Type y or n please:"
- 	   read ans
- 	   case "$ans" in
- 	       y)   echo "Building without SSL ..."
- 		    touch sslnone
- 		    ;;
- 
- 	       *)   echo "Terminating build"
- 		    exit 1
- 		    ;;
- 	   esac
- 	fi
-         eval echo eval make "$makeargs" "SSLTYPE=$SSL" "SPECIALS=`cat SPECIALS`" "$K2" $ccltarg
-         eval make "$makeargs" "SSLTYPE=$SSL" "SPECIALS=`cat SPECIALS`" "$K2" $ccltarg
- 	if [ $? != "0" ]
- 	then
- 	    echo "+---------------------------------------------+"
- 	    echo "| Problems building c-client                  |"
- 	    echo "|                                             |"
- 	    echo "| Please check the output above for a         |"
- 	    echo "| possible explanation for this failure       |"
- 	    echo "+---------------------------------------------+"
- 	    echo ""
- 	    exit $?
- 	fi
-         echo ''
- 
          echo "Making Pico and Pilot"
          cd "$PHOME/pico"
          eval echo make "$makeargs" -f makefile.$picotarg
--- 350,355 ----
***************
*** 435,441 ****
          cd "$PHOME"
          echo ''
          echo "Links to executables are in bin directory:"
!         size bin/pine bin/mtest bin/imapd bin/pico bin/pilot bin/rpdump bin/rpload bin/mailutil bin/ipop2d bin/ipop3d
  	case $maketarg in
  	    mnt)    echo "Fixing stacksizes ..."
  		    fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot
--- 379,385 ----
          cd "$PHOME"
          echo ''
          echo "Links to executables are in bin directory:"
!         size bin/pine bin/pico bin/pilot
  	case $maketarg in
  	    mnt)    echo "Fixing stacksizes ..."
  		    fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot
***************
*** 469,478 ****
  	rm -f sslnopwd sslunix.nopwd sslsco.nopwd sslunix sslsco sslnone
          echo "Cleaning Pine"
          cd "$PHOME/pine"
!         make -f makefile.ult clean
          echo "Cleaning pico"
          cd "$PHOME/pico"
!         make $makeargs -f makefile.ult clean
          echo "Done"
          cd "$PHOME"
          ;;
--- 413,422 ----
  	rm -f sslnopwd sslunix.nopwd sslsco.nopwd sslunix sslsco sslnone
          echo "Cleaning Pine"
          cd "$PHOME/pine"
!         make -f makefile.bsf clean
          echo "Cleaning pico"
          cd "$PHOME/pico"
!         make $makeargs -f makefile.bsf clean
          echo "Done"
          cd "$PHOME"
          ;;