$NetBSD: patch-al,v 1.15 2005/01/25 10:08:59 adam Exp $ --- build.orig 2004-12-27 17:36:53.000000000 +0000 +++ build @@ -393,71 +393,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 - eval make "$makeargs" -f makefile.$picotarg - rc=$? - if [ $rc != "0" ] ; then exit $rc ; fi - echo '' - echo "Making Pine and rpload/rpdump". if [ "$ALTDOCPATHS" = "1" ] then @@ -500,8 +435,6 @@ case $maketarg in 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 @@ -527,18 +460,11 @@ case $maketarg in clean) # This only sort of works - rm -f c-client mtest mailutil imapd ipopd .pine.sedargs - echo "Cleaning c-client and imapd" - cd "$PHOME/imap" - make clean # this list of ssl* files matches with imap/Makefile 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" ;;