openbsd-ports/mail/pine/patches/patch-build
brad 860a85553b update the pine port to utilize the c-client port.
Pine has historically built against an internal copy
of the c-client library, however c-client development
has progressed beyond what is shipped with pine.
(It would appear that all new development work is
being done via UW's imap server codebase.) This change
allows pine to utilize improvements/bugfixes in the
c-client library. A consequence of this change is
that the recently reported vulnerability to BugTraq
regarding malformed X-keywords header has been fixed.
2000-09-17 14:56:26 +00:00

49 lines
1.6 KiB
Plaintext

--- build.orig Fri Sep 15 05:44:47 2000
+++ build Fri Sep 15 05:48:19 2000
@@ -277,18 +277,6 @@
esac
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" "$K1" "$K2" $ccltarg
- cd $PHOME/imap
- eval make "$makeargs" "$K1" "$K2" $ccltarg
- echo ''
-
echo "Making Pico and Pilot"
cd $PHOME/pico
eval echo make "$makeargs" -f makefile.$picotarg
@@ -304,8 +292,6 @@
cd $PHOME/bin
rm -f pine mtest imapd pico pilot
if [ -s ../pine/pine ] ; then ln ../pine/pine pine ; fi
- if [ -s ../mtest/mtest ] ; then ln ../mtest/mtest mtest ; fi
- if [ -s ../imapd/imapd ] ; then ln ../imapd/imapd imapd ; fi
if [ -s ../pico/pico ] ; then ln ../pico/pico pico ; fi
if [ -s ../pico/pilot ] ; then ln ../pico/pilot pilot ; fi
cd $PHOME
@@ -321,15 +307,12 @@
clean) # This only sort of works
- echo "Cleaning c-client and imapd"
- cd $PHOME/imap
- make clean
echo "Cleaning Pine"
cd $PHOME/pine
- make -f makefile.ult clean
+ make -f makefile.bso clean
echo "Cleaning pico"
cd $PHOME/pico
- make $makeargs -f makefile.ult clean
+ make $makeargs -f makefile.bso clean
echo "Done"
cd $PHOME
;;