summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 19:01:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2014-02-21 19:01:03 +0000
commit0629b0e0847fb65e9c6cab9aa27285e10fc41d5b (patch)
tree275c83454b05388bc64e8b3428f9e00185243cf5
parenta9fbe3eb5e5fac05b4f7120f3a8dc0a6ab8a1ec0 (diff)
build a non-portmap/mountd speaking umount, which shrinks the libc
requirements on non-NFS install media
-rw-r--r--distrib/special/Makefile4
-rw-r--r--distrib/special/umount/Makefile11
2 files changed, 13 insertions, 2 deletions
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 <bsd.prog.mk>