summaryrefslogtreecommitdiff
path: root/sbin/mount_vnd
diff options
context:
space:
mode:
authorAlexander von Gernler <grunk@cvs.openbsd.org>2007-05-26 21:39:47 +0000
committerAlexander von Gernler <grunk@cvs.openbsd.org>2007-05-26 21:39:47 +0000
commit9f65466b6f504723ac103132c13c720f68a407e4 (patch)
tree9ac2fb15b0656179bd3605842ed67e8b397cfee9 /sbin/mount_vnd
parentafb4101e1eb4bee57c262077106449b8c41436f9 (diff)
link mount_vnd to the build, and remove usr.sbin/vnconfig, which is now
completely contained at the new place. provide a legacy link to /usr/sbin to go away after next release. ok deraadt@
Diffstat (limited to 'sbin/mount_vnd')
-rw-r--r--sbin/mount_vnd/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/mount_vnd/Makefile b/sbin/mount_vnd/Makefile
index 6b869d77050..071a2560dac 100644
--- a/sbin/mount_vnd/Makefile
+++ b/sbin/mount_vnd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2007/05/26 03:37:45 grunk Exp $
+# $OpenBSD: Makefile,v 1.3 2007/05/26 21:39:45 grunk Exp $
PROG= mount_vnd
SRCS= mount_vnd.c pkcs5_pbkdf2.c
@@ -8,6 +8,10 @@ DPADD= ${LIBUTIL}
LINKS= ${BINDIR}/mount_vnd ${BINDIR}/vnconfig
MLINKS= mount_vnd.8 vnconfig.8
+# XXX compatibility
+afterinstall:
+ (cd ${DESTDIR}/usr/sbin && ln -sf ../../sbin/vnconfig .)
+
MAN= mount_vnd.8
.include <bsd.prog.mk>