Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mail / pine / patches / patch-al
blobbe136a2eac5376b32b05daf2da33e57797953fb3
1 $NetBSD$
3 --- build.orig  2004-12-27 17:36:53.000000000 +0000
4 +++ build
5 @@ -393,71 +393,6 @@ case $maketarg in
6           echo "Including SSL functionality"
7         fi
8  
9 -        if [ -s c-client ] ; then rm -f c-client ; fi
10 -        ln -s imap/c-client c-client
11 -        if [ -s mtest    ] ; then rm -f mtest    ; fi
12 -        ln -s imap/mtest mtest
13 -        if [ -s mailutil ] ; then rm -f mailutil ; fi
14 -        ln -s imap/mailutil mailutil
15 -        if [ -s imapd    ] ; then rm -f imapd    ; fi
16 -        ln -s imap/imapd imapd
17 -        if [ -s ipopd    ] ; then rm -f ipopd    ; fi
18 -        ln -s imap/ipopd ipopd
19 -        echo "Making c-client library, imapd, and ipopd"
20 -       echo $S1 $S2 $S3 $S4 $K1 > imap/SPECIALS
21 -        cd "$PHOME/imap"
22 -# This "touch" tells the IMAP make not to give any warnings about IESG compliance.
23 -       if [ "$NOSSL" = "1" -o "$SSL" != "none" ] ; then touch ssl$SSL ; fi
24 -       if [ "$NOSSL" != "1" -a "$SSL" = "none" -a ! -f sslnone ]
25 -       then
26 -          echo "+-----------------------------------------------------------+"
27 -          echo "| It appears that you do not have OpenSSL or equivalent     |"
28 -          echo "| installed on this system.                                 |"
29 -          echo "|                                                           |"
30 -          echo "| Building PINE without SSL support will possibly introduce |"
31 -          echo "| problems when communicating with IMAP, POP3, or SMTP      |"
32 -          echo "| servers that require TLS or SSL authentication.           |"
33 -          echo "| In addition, your password may be vulnerable to a         |"
34 -          echo "| snooping attack since it may be sent over the network     |"
35 -          echo "| unencrypted.                                              |"
36 -          echo "+-----------------------------------------------------------+"
37 -          echo ""
38 -          echo "Do you want to continue this build anyway? Type y or n please:"
39 -          read ans
40 -          case "$ans" in
41 -              y)   echo "Building without SSL ..."
42 -                   touch sslnone
43 -                   ;;
45 -              *)   echo "Terminating build"
46 -                   exit 1
47 -                   ;;
48 -          esac
49 -       fi
50 -        eval echo eval make "$makeargs" "SSLTYPE=$SSL" "SPECIALS=`cat SPECIALS`" "$K2" $ccltarg
51 -        eval make "$makeargs" "SSLTYPE=$SSL" "SPECIALS=`cat SPECIALS`" "$K2" $ccltarg
52 -       rc=$?
53 -       if [ $rc != "0" ]
54 -       then
55 -           echo "+---------------------------------------------+"
56 -           echo "| Problems building c-client                  |"
57 -           echo "|                                             |"
58 -           echo "| Please check the output above for a         |"
59 -           echo "| possible explanation for this failure       |"
60 -           echo "+---------------------------------------------+"
61 -           echo ""
62 -           exit $rc
63 -       fi
64 -        echo ''
66 -        echo "Making Pico and Pilot"
67 -        cd "$PHOME/pico"
68 -        eval echo make "$makeargs" -f makefile.$picotarg
69 -        eval make "$makeargs" -f makefile.$picotarg
70 -       rc=$?
71 -       if [ $rc != "0" ] ; then exit $rc ; fi
72 -        echo ''
74          echo "Making Pine and rpload/rpdump".
75         if [ "$ALTDOCPATHS" = "1" ]
76         then
77 @@ -500,8 +435,6 @@ case $maketarg in
78         fi
79          cd "$PHOME"
80          echo ''
81 -        echo "Links to executables are in bin directory:"
82 -        size bin/pine bin/mtest bin/imapd bin/pico bin/pilot bin/rpdump bin/rpload bin/mailutil bin/ipop2d bin/ipop3d
83         case $maketarg in
84             mnt)    echo "Fixing stacksizes ..."
85                     fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot
86 @@ -527,18 +460,11 @@ case $maketarg in
89      clean) # This only sort of works 
90 -        rm -f c-client mtest mailutil imapd ipopd .pine.sedargs
91 -        echo "Cleaning c-client and imapd"
92 -       cd "$PHOME/imap"
93 -       make clean
94  # this list of ssl* files matches with imap/Makefile
95         rm -f sslnopwd sslunix.nopwd sslsco.nopwd sslunix sslsco sslnone
96          echo "Cleaning Pine"
97          cd "$PHOME/pine"
98          make -f makefile.ult clean
99 -        echo "Cleaning pico"
100 -        cd "$PHOME/pico"
101 -        make $makeargs -f makefile.ult clean
102          echo "Done"
103          cd "$PHOME"
104          ;;