From: deraadt Date: Mon, 12 Oct 2015 16:39:07 +0000 (+0000) Subject: ftp(1) was static for years, as a recovery seatbelt. These days X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fab1d31e5befebb0aae27296f50d81bdfef16d90;p=openbsd 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 --- 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