From ba4e596bc9a895b849b377fae3f736cf5e5e77a1 Mon Sep 17 00:00:00 2001 From: pooka Date: Thu, 9 Aug 2007 22:01:25 +0000 Subject: [PATCH] move sysctlfs from examples to base --- distrib/sets/lists/base/mi | 3 ++- share/examples/puffs/sysctlfs/Makefile | 11 ----------- usr.sbin/puffs/mount_sysctlfs/Makefile | 11 +++++++++++ .../puffs/mount_sysctlfs}/sysctlfs.c | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) delete mode 100644 share/examples/puffs/sysctlfs/Makefile create mode 100644 usr.sbin/puffs/mount_sysctlfs/Makefile rename {share/examples/puffs/sysctlfs => usr.sbin/puffs/mount_sysctlfs}/sysctlfs.c (99%) diff --git a/distrib/sets/lists/base/mi b/distrib/sets/lists/base/mi index 203823f03a1b..3cab39c2b152 100644 --- a/distrib/sets/lists/base/mi +++ b/distrib/sets/lists/base/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.719 2007/08/04 12:41:59 jnemeth Exp $ +# $NetBSD: mi,v 1.720 2007/08/09 22:01:25 pooka Exp $ . base-sys-root ./altroot base-sys-root ./bin base-sys-root @@ -1148,6 +1148,7 @@ ./usr/sbin/mount_9p base-miscfs-bin puffs ./usr/sbin/mount_psshfs base-miscfs-bin puffs ./usr/sbin/mount_puffsportal base-miscfs-bin puffs +./usr/sbin/mount_sysctlfs base-miscfs-bin puffs ./usr/sbin/mountd base-nfsserver-bin ./usr/sbin/moused base-sysutil-bin ./usr/sbin/mrinfo base-router-bin diff --git a/share/examples/puffs/sysctlfs/Makefile b/share/examples/puffs/sysctlfs/Makefile deleted file mode 100644 index 5bdaa143118a..000000000000 --- a/share/examples/puffs/sysctlfs/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $NetBSD: Makefile,v 1.2 2007/01/15 00:40:37 pooka Exp $ - -PROG= sysctlfs -LDADD+= -lpuffs -lutil -DBG=-g -O0 - -WARNS= 3 - -NOMAN= 1 - -.include diff --git a/usr.sbin/puffs/mount_sysctlfs/Makefile b/usr.sbin/puffs/mount_sysctlfs/Makefile new file mode 100644 index 000000000000..3b8695c7b251 --- /dev/null +++ b/usr.sbin/puffs/mount_sysctlfs/Makefile @@ -0,0 +1,11 @@ +# $NetBSD: Makefile,v 1.1 2007/08/09 22:01:26 pooka Exp $ + +PROG= mount_sysctlfs +SRCS= sysctlfs.c + +LDADD+= -lpuffs -lutil + +WARNS= 3 +NOMAN= 1 + +.include diff --git a/share/examples/puffs/sysctlfs/sysctlfs.c b/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c similarity index 99% rename from share/examples/puffs/sysctlfs/sysctlfs.c rename to usr.sbin/puffs/mount_sysctlfs/sysctlfs.c index 543609bddc7f..8623d45ae164 100644 --- a/share/examples/puffs/sysctlfs/sysctlfs.c +++ b/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c @@ -1,4 +1,4 @@ -/* $NetBSD: sysctlfs.c,v 1.31 2007/08/09 21:54:16 pooka Exp $ */ +/* $NetBSD: sysctlfs.c,v 1.1 2007/08/09 22:01:26 pooka Exp $ */ /* * Copyright (c) 2006, 2007 Antti Kantee. All Rights Reserved.