summaryrefslogtreecommitdiff
path: root/editors/pico/patches/patch-ac
blob: 4ed104a0e6f7b5652d0500ad857b661da21776c1 (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
$NetBSD: patch-ac,v 1.9 2004/05/13 18:27:48 adam Exp $

--- build.orig	2004-05-07 19:32:32.000000000 +0000
+++ build
@@ -380,63 +380,6 @@ case $maketarg in
 	  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
-	rc=$?
-	if [ $rc != "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 $rc
-	fi
-        echo ''
-
         echo "Making Pico and Pilot"
         cd "$PHOME/pico"
         eval echo make "$makeargs" -f makefile.$picotarg
@@ -445,50 +388,8 @@ case $maketarg in
 	if [ $rc != "0" ] ; then exit $rc ; fi
         echo ''
 
-        echo "Making Pine and rpload/rpdump".
-	if [ "$ALTDOCPATHS" = "1" ]
-	then
-	    cd "$PHOME"
-	    rm .pine.sedargs
-	    echo -n " -e s/\/usr\/local\/lib\/pine.conf/\/etc\/pine.conf/" > .pine.sedargs
-	    echo -n " -e s/\/usr\/local\/lib\/pine.info/\/etc\/pine.info/" >> .pine.sedargs
-	    echo -n " -e s/\/usr\/lib\/sendmail/\/usr\/sbin\/sendmail/" >> .pine.sedargs
-	    echo -n " -e s/\/usr\/spool\/news/\/var\/spool\/news/" >> .pine.sedargs
-	    echo -n " -e s/\/usr\/spool\/mail/\/var\/spool\/mail/" >> .pine.sedargs
-	    echo -n " -e s/\/bin\/passwd/\/usr\/bin\/passwd/" >> .pine.sedargs
-	    PINEEXTRAC="'LOCALPINECFLAGS=-DSYSTEM_PINERC=\\\"/etc/pine.conf\\\" -DSYSTEM_PINERC_FIXED=\\\"/etc/pine.conf.fixed\\\" -DSYSTEM_PINE_INFO_PATH=\\\"/etc/pine.info\\\"'"
-	fi
-        cd "$PHOME/pine"
-        eval echo make "$makeargs" "$L1" "$L2" "$PINEEXTRAC" -f makefile.$pinetarg
-        eval make "$makeargs" "$L1" "$L2" "$PINEEXTRAC" -f makefile.$pinetarg
-	rc=$?
-	if [ $rc != "0" ] ; then exit $rc ; fi
-        cd "$PHOME"
-        if [ ! -d bin ] ;  then    mkdir bin;        fi
-        cd "$PHOME/bin"
-        rm -f pine mtest imapd mailutil pico pilot rpload rpdump ipop2d ipop3d
-        if [ -s ../pine/pine ] ;      then ln ../pine/pine  pine      ; fi
-        if [ -s ../mtest/mtest ] ;    then ln ../mtest/mtest mtest    ; fi
-        if [ -s ../mailutil/mailutil ] ; then ln ../mailutil/mailutil mailutil ; fi
-        if [ -s ../imapd/imapd ] ;    then ln ../imapd/imapd imapd    ; fi
-        if [ -s ../ipopd/ipop2d ] ;   then ln ../ipopd/ipop2d ipop2d  ; fi
-        if [ -s ../ipopd/ipop3d ] ;   then ln ../ipopd/ipop3d ipop3d  ; fi
-        if [ -s ../pico/pico ] ;      then ln ../pico/pico pico       ; fi
-        if [ -s ../pico/pilot ] ;     then ln ../pico/pilot pilot     ; fi
-        if [ -s ../pine/rpload ] ;    then ln ../pine/rpload rpload   ; fi
-        if [ -s ../pine/rpdump ] ;    then ln ../pine/rpdump rpdump   ; fi
-	if [ "$ALTDOCPATHS" = "1" ]
-	then
-	    echo "making local docs"
-	    echo "sed `cat ../.pine.sedargs` < ../doc/pine.1 > pine.1"
-	    sed `cat ../.pine.sedargs` < ../doc/pine.1 > pine.1
-	    echo "sed `cat ../.pine.sedargs` < ../doc/tech-notes.txt > tech-notes.txt"
-	    sed `cat ../.pine.sedargs` < ../doc/tech-notes.txt > tech-notes.txt
-	fi
         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