blob: 58982a65de597631190c7e0f287c33b9ddf96d7c (
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
|
$NetBSD: patch-al,v 1.9 2001/02/28 10:26:02 wiz Exp $
--- build.orig Thu Jan 4 20:13:11 2001
+++ build Fri Feb 16 10:33:44 2001
@@ -201,7 +201,7 @@
bs3) makeargs="CC=shlicc $makeargs" ;;
nto) makeargs="CC=qcc $makeargs" ;;
lyn) [ -f /CYGNUS.bash ] && . /CYGNUS.bash; makeargs="CC=gcc $makeargs" ;;
- *) makeargs="CC=cc $makeargs" ;;
+ *) makeargs="CC=${LT}\ cc\ -g $makeargs" ;;
esac
fi
@@ -309,23 +309,28 @@
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 imapd ] ; then rm -f imapd ; fi
- ln -s imap/imapd imapd
- echo "Making c-client library, mtest and imapd"
- eval echo make "$makeargs" "$SSL" "$K1" "$K2" $ccltarg
- cd $PHOME/imap
- eval make "$makeargs" "$SSL" "$K1" "$K2" $ccltarg
- echo ''
-
- echo "Making Pico and Pilot"
- cd $PHOME/pico
- eval echo make "$makeargs" -f makefile.$picotarg
- eval make "$makeargs" -f makefile.$picotarg
- echo ''
+#
+# We use the imap-uw pkg's stuff for that, see
+# http://www.securityfocus.com/advisories/2646 and
+# http://www.securityfocus.com/bid/1709:
+#
+# 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 imapd ] ; then rm -f imapd ; fi
+# ln -s imap/imapd imapd
+# echo "Making c-client library, mtest and imapd"
+# eval echo make "$makeargs" "$SSL" "$K1" "$K2" $ccltarg
+# cd $PHOME/imap
+# eval make "$makeargs" "$SSL" "$K1" "$K2" $ccltarg
+# echo ''
+
+# echo "Making Pico and Pilot"
+# cd $PHOME/pico
+# eval echo make "$makeargs" -f makefile.$picotarg
+# eval make "$makeargs" -f makefile.$picotarg
+# echo ''
echo "Making Pine".
cd $PHOME/pine
@@ -342,8 +347,6 @@
if [ -s ../pico/pilot ] ; then ln ../pico/pilot pilot ; fi
cd $PHOME
echo ''
- echo "Links to executables are in bin directory:"
- size bin/pine bin/mtest bin/imapd bin/pico bin/pilot
case $maketarg in
mnt) echo "Fixing stacksizes ..."
fixstk 64K bin/pine bin/pico bin/imapd bin/mtest bin/pilot
@@ -353,9 +356,9 @@
clean) # This only sort of works
- echo "Cleaning c-client and imapd"
- cd $PHOME/imap
- make clean
+# echo "Cleaning c-client and imapd"
+# cd $PHOME/imap
+# make clean
echo "Cleaning Pine"
cd $PHOME/pine
make -f makefile.ult clean
|