From 0629b0e0847fb65e9c6cab9aa27285e10fc41d5b Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 21 Feb 2014 19:01:03 +0000 Subject: build a non-portmap/mountd speaking umount, which shrinks the libc requirements on non-NFS install media --- distrib/special/Makefile | 4 ++-- distrib/special/umount/Makefile | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 distrib/special/umount/Makefile diff --git a/distrib/special/Makefile b/distrib/special/Makefile index 3e348365060..be949db34e7 100644 --- a/distrib/special/Makefile +++ b/distrib/special/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.31 2014/01/19 05:25:59 deraadt Exp $ +# $OpenBSD: Makefile,v 1.32 2014/02/21 19:01:02 deraadt Exp $ SUBDIR= libstubs \ arch date dd dhclient dmesg ed ftp grep gzip ifconfig init \ installboot kbd less md5 more mt newfs pax ping restore \ - sed sysctl signify ztsscale + sed sysctl signify ztsscale umount install: diff --git a/distrib/special/umount/Makefile b/distrib/special/umount/Makefile new file mode 100644 index 00000000000..bb81f0a670b --- /dev/null +++ b/distrib/special/umount/Makefile @@ -0,0 +1,11 @@ +# $OpenBSD: Makefile,v 1.1 2014/02/21 19:01:02 deraadt Exp $ + +PROG= umount +MAN= umount.8 + +CFLAGS+= -DNO_NFS +DPADD+= ${LIBUTIL} +LDADD+= -lutil + +.PATH: ${.CURDIR}/../../../sbin/umount +.include -- cgit v1.2.3