summaryrefslogtreecommitdiffstats
path: root/distrib/special
diff options
context:
space:
mode:
authornaddy <naddy@openbsd.org>2019-05-13 23:18:21 +0000
committernaddy <naddy@openbsd.org>2019-05-13 23:18:21 +0000
commit9ff7454ddbaded13c953b48a93f25d8625e8a99c (patch)
tree93c89405f7c68c7f3addf76a7ef80e137b64c063 /distrib/special
parentRemove strict mode for now, it is in the way. (diff)
downloadwireguard-openbsd-9ff7454ddbaded13c953b48a93f25d8625e8a99c.tar.xz
wireguard-openbsd-9ff7454ddbaded13c953b48a93f25d8625e8a99c.zip
Add tee(1) to the ramdisk filesystem and use it to provide both a
moving progress bar during auto upgrade/install and a clean log afterwards. ok deraadt@
Diffstat (limited to 'distrib/special')
-rw-r--r--distrib/special/Makefile4
-rw-r--r--distrib/special/tee/Makefile6
2 files changed, 8 insertions, 2 deletions
diff --git a/distrib/special/Makefile b/distrib/special/Makefile
index 8349a7bfd32..f42cf940746 100644
--- a/distrib/special/Makefile
+++ b/distrib/special/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.45 2017/11/19 12:11:54 job Exp $
+# $OpenBSD: Makefile,v 1.46 2019/05/13 23:18:22 naddy Exp $
SUBDIR= libstubs \
arch bioctl cat chmod chroot cp date dd df dhclient disklabel dmesg \
@@ -7,7 +7,7 @@ SUBDIR= libstubs \
ls md5 mkdir mknod mkuboot more mount mount_cd9660 mount_ext2fs \
mount_ffs mount_msdos mount_nfs mount_udf mt mv newfs newfs_ext2fs \
newfs_msdos pax pdisk ping pwd_mkdb reboot restore rm route sed \
- signify slaacd sleep stty sync sysctl umount
+ signify slaacd sleep stty sync sysctl tee umount
install:
diff --git a/distrib/special/tee/Makefile b/distrib/special/tee/Makefile
new file mode 100644
index 00000000000..724623cd02f
--- /dev/null
+++ b/distrib/special/tee/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1 2019/05/13 23:18:22 naddy Exp $
+
+PROG= tee
+
+.PATH: ${.CURDIR}/../../../usr.bin/tee
+.include <bsd.prog.mk>