openbsd-ports/converters/mpack/patches/patch-Makefile
naddy 78b1720bcc SECURITY fixes, submitted by Nick Nauwelaerts <nick@wanadoo.be>:
* Fix buffer overflow.  (Obtained from Debian)
* Strip leading "../" when creating new files.  (Obtained from Debian)

Clean-up by yours truly:

* Parameter parsing fix.  (Obtained from Debian)
* Prefer native getopt() and MD5 functions over the included ones.
* Make munpack synopsis agree with actual parameters.
* Respect CC.
2002-08-09 01:15:19 +00:00

24 lines
593 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2002/08/09 01:15:19 naddy Exp $
--- Makefile.orig Thu Feb 16 22:39:41 1995
+++ Makefile Fri Aug 9 02:49:07 2002
@@ -1,5 +1,5 @@
-CFLAGS=$(OPT) $(DEFINES)
-OPT=-O
+#CFLAGS=$(OPT) $(DEFINES)
+#OPT=-O
#Uncomment the following line if your system does not have strchr()
@@ -24,9 +24,9 @@ OPT=-O
PACKOBJS = unixpk.o encode.o codes.o magic.o unixos.o string.o \
- xmalloc.o md5c.o getopt.o
+ xmalloc.o
UNPACKOBJS = unixunpk.o decode.o uudecode.o codes.o unixos.o string.o \
- part.o xmalloc.o md5c.o getopt.o
+ part.o xmalloc.o
DESTDIR=/usr/local