freebsd-ports/mail/pine4/files/patch-af
Doug Barton 666a4ba664 Upgrade to 4.58, a security and bugfix release which addresses the following:
* Potential security problems caused by maliciously-formed RFC 2231 attachment
parameters

Several other bugs fixed as well.

All users of Pine are highly encouraged to upgrade.

Improvements to the port:
* DOCSDIR'ification of plist
* Patches regenerated to remove fuzz

Approved by:	security-officer, portmgr
2003-09-10 19:03:19 +00:00

32 lines
821 B
Text

--- imap/src/osdep/unix/Makefile.orig Mon Jul 14 18:35:30 2003
+++ imap/src/osdep/unix/Makefile Fri Sep 5 01:44:20 2003
@@ -98,7 +98,7 @@
# Commands possibly overriden by the individual port
ARRC=ar rc
-CC=cc
+#CC=cc
LN=ln -s
RANLIB=ranlib
@@ -116,7 +116,7 @@
dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o
-CFLAGS=-g
+CFLAGS+=$(BASECFLAGS) $(EXTRACFLAGS)
CAT=cat
MAKE=make
@@ -218,8 +218,9 @@
SPOOLDIR=/var \
ACTIVEFILE=/usr/local/news/lib/active \
RSHPATH=/usr/bin/rsh \
- BASECFLAGS="-g -O -pipe" \
- BASELDFLAGS="-lcrypt"
+ LOCKPGM=$(PREFIX)/libexec/mlock \
+ BASECFLAGS="-DNFSKLUDGE" \
+ BASELDFLAGS="-lpam -lcrypt"
bsi: # BSD/i386
$(BUILD) `$(CAT) SPECIALS` OS=$@ \