From fab1d31e5befebb0aae27296f50d81bdfef16d90 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 12 Oct 2015 16:39:07 +0000 Subject: [PATCH] ftp(1) was static for years, as a recovery seatbelt. These days reliability has improved, and other repair methods are easier from bsd.rd or whatnot. As a static binary ftp has limited ASLR, yet it has 7 libraries... Making it non-static means the ASLR picture improves. Let's see who moans first. ok miod daniel --- usr.bin/ftp/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/ftp/Makefile b/usr.bin/ftp/Makefile index 3fbc3924609..0c4fc6a1b26 100644 --- a/usr.bin/ftp/Makefile +++ b/usr.bin/ftp/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.28 2015/02/09 08:24:20 tedu Exp $ +# $OpenBSD: Makefile,v 1.29 2015/10/12 16:39:07 deraadt Exp $ # Define SMALL to disable command line editing and https support #CFLAGS+=-DSMALL @@ -11,7 +11,6 @@ CPPFLAGS+= -DINET6 LDADD+= -ledit -lcurses -lutil -ltls -lssl -lcrypto DPADD+= ${LIBEDIT} ${LIBCURSES} ${LIBUTIL} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} -LDSTATIC= ${STATIC} #COPTS+= -Wall -Wconversion -Wstrict-prototypes -Wmissing-prototypes -- 2.20.1