pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rump Import rump 20091014.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4862f1955e86
branches:  trunk
changeset: 400251:4862f1955e86
user:      stacktic <stacktic%pkgsrc.org@localhost>
date:      Wed Oct 14 13:26:09 2009 +0000

description:
Import rump 20091014.

Available for FreeBSD and Linux.

Rump (Runnable Userspace Meta Program) is a mechanism for running kernel code
as part of a user program's address space. As opposed to executing system calls
for requesting kernel services, rump programs do a library call into the kernel
code for equivalent functionality. Kernel code is simply recompiled as a
userspace shared library from the kernel sources instead of being rewritten,
so services imitate the same services being provided by the kernel. Select
architectures such as i386 and amd64 also support directly linking binary
kernel modules against rump programs.

diffstat:

 misc/rump/DESCR    |    8 +++
 misc/rump/Makefile |   79 ++++++++++++++++++++++++++++++++++
 misc/rump/PLIST    |  122 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 misc/rump/distinfo |    5 ++
 4 files changed, 214 insertions(+), 0 deletions(-)

diffs (230 lines):

diff -r 12edc7211520 -r 4862f1955e86 misc/rump/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rump/DESCR   Wed Oct 14 13:26:09 2009 +0000
@@ -0,0 +1,8 @@
+Rump (Runnable Userspace Meta Program) is a mechanism for running kernel code
+as part of a user program's address space. As opposed to executing system calls
+for requesting kernel services, rump programs do a library call into the kernel
+code for equivalent functionality. Kernel code is simply recompiled as a
+userspace shared library from the kernel sources instead of being rewritten,
+so services imitate the same services being provided by the kernel. Select
+architectures such as i386 and amd64 also support directly linking binary
+kernel modules against rump programs.
diff -r 12edc7211520 -r 4862f1955e86 misc/rump/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rump/Makefile        Wed Oct 14 13:26:09 2009 +0000
@@ -0,0 +1,79 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/10/14 13:26:09 stacktic Exp $
+#
+
+DISTNAME=              rump_20091014
+PKGNAME=               ${DISTNAME:S/_/-/}
+CATEGORIES=            misc
+MASTER_SITES=          ftp://ftp.NetBSD.org/pub/NetBSD/misc/stacktic/
+
+MAINTAINER=            stacktic%NetBSD.org@localhost
+HOMEPAGE=              http://www.NetBSD.org/docs/rump/
+COMMENT=               NetBSD Filesystems in Userspace Libraries
+
+ONLY_FOR_PLATFORM=     Linux-*-* FreeBSD-*-*
+
+INSTALLATION_DIRS=     lib include/rump
+
+CHECK_PORTABILITY=     no
+PKG_DESTDIR_SUPPORT=   user-destdir
+USE_BSD_MAKEFILE=      yes
+
+WRKSRC=                        ${WRKDIR}/rump
+MAKEFLAGS+=            -m ${WRKSRC}/share/mk
+MAKEFLAGS+=            MACHINE_ARCH=${MACHINE_ARCH}
+MAKEFLAGS+=            MACHINE_CPU=${MACHINE_ARCH}
+MAKEFLAGS+=            MACHINE=${MACHINE_ARCH}
+MAKEFLAGS+=            MKMAN=no
+
+SUBST_CLASSES+=                inc_path
+SUBST_STAGE.inc_path=  pre-configure
+SUBST_MESSAGE.inc_path=        Adjusting include path.
+SUBST_FILES.inc_path=  lib/libukfs/Makefile
+SUBST_FILES.inc_path+= sys/rump/include/rump/Makefile
+SUBST_SED.inc_path=    -e "s|/usr/include|${PREFIX}/include|g"
+
+SUBST_CLASSES+=                path
+SUBST_STAGE.path=      pre-configure
+SUBST_MESSAGE.path=    Adjusting path.
+SUBST_FILES.path=      share/mk/bsd.own.mk
+SUBST_SED.path=                -e "s|/usr/src|${WRKSRC}|g"
+SUBST_SED.path+=       -e "s|NM.*lorder|${WRKSRC}/bin/lorder|g"
+SUBST_SED.path+=       -e "s|^INSTALL=.*|INSTALL= ${WRKSRC}/tools/binstall/xinstall|g"
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+SUBST_CLASSES+=                linux
+SUBST_STAGE.linux=     pre-configure
+SUBST_MESSAGE.linux=   Adjusting tsort option.
+SUBST_FILES.linux=     share/mk/sys.mk
+SUBST_SED.linux=       -e "s|tsort -q|tsort|g"
+SUBST_SED.linux+=      -e "s|lorder|${WRKSRC}/bin/lorder|g"
+.endif
+
+.if ${OPSYS} != "NetBSD"
+SUBST_CLASSES+=                install
+SUBST_STAGE.install=   pre-configure
+SUBST_MESSAGE.install= Using NetBSD install
+SUBST_FILES.install=   share/mk/sys.mk
+SUBST_SED.install=     -e "s|^INSTALL?=.*|INSTALL=${WRKSRC}/tools/binstall/xinstall|g"
+.endif
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rump.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rump_compat.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rump_namei.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rump_syscalls.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rumpdefs.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rumpuser.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/sys/rump/include/rump/rumpvnode_if.h \
+               ${DESTDIR}${PREFIX}/include/rump
+       ${INSTALL_DATA} ${WRKSRC}/lib/libukfs/ukfs.h \
+               ${DESTDIR}${PREFIX}/include/rump
+
+.include "../../mk/bsd.pkg.mk"
diff -r 12edc7211520 -r 4862f1955e86 misc/rump/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rump/PLIST   Wed Oct 14 13:26:09 2009 +0000
@@ -0,0 +1,122 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/10/14 13:26:10 stacktic Exp $
+include/rump/rump.h
+include/rump/rump_compat.h
+include/rump/rump_namei.h
+include/rump/rump_syscalls.h
+include/rump/rumpdefs.h
+include/rump/rumpuser.h
+include/rump/rumpvnode_if.h
+include/rump/ukfs.h
+lib/librump.a
+lib/librump.so.0.0
+lib/librump_p.a
+lib/librump_pic.a
+lib/librumpfs_cd9660.a
+lib/librumpfs_cd9660.so
+lib/librumpfs_cd9660.so.0
+lib/librumpfs_cd9660.so.0.0
+lib/librumpfs_cd9660_p.a
+lib/librumpfs_cd9660_pic.a
+lib/librumpfs_efs.a
+lib/librumpfs_efs.so
+lib/librumpfs_efs.so.0
+lib/librumpfs_efs.so.0.0
+lib/librumpfs_efs_p.a
+lib/librumpfs_efs_pic.a
+lib/librumpfs_ext2fs.a
+lib/librumpfs_ext2fs.so
+lib/librumpfs_ext2fs.so.0
+lib/librumpfs_ext2fs.so.0.0
+lib/librumpfs_ext2fs_p.a
+lib/librumpfs_ext2fs_pic.a
+lib/librumpfs_fdesc.a
+lib/librumpfs_fdesc.so
+lib/librumpfs_fdesc.so.0
+lib/librumpfs_fdesc.so.0.0
+lib/librumpfs_fdesc_p.a
+lib/librumpfs_fdesc_pic.a
+lib/librumpfs_ffs.a
+lib/librumpfs_ffs.so
+lib/librumpfs_ffs.so.0
+lib/librumpfs_ffs.so.0.0
+lib/librumpfs_ffs_p.a
+lib/librumpfs_ffs_pic.a
+lib/librumpfs_hfs.a
+lib/librumpfs_hfs.so
+lib/librumpfs_hfs.so.0
+lib/librumpfs_hfs.so.0.0
+lib/librumpfs_hfs_p.a
+lib/librumpfs_hfs_pic.a
+lib/librumpfs_lfs.a
+lib/librumpfs_lfs.so
+lib/librumpfs_lfs.so.0
+lib/librumpfs_lfs.so.0.0
+lib/librumpfs_lfs_p.a
+lib/librumpfs_lfs_pic.a
+lib/librumpfs_msdos.a
+lib/librumpfs_msdos.so
+lib/librumpfs_msdos.so.0
+lib/librumpfs_msdos.so.0.0
+lib/librumpfs_msdos_p.a
+lib/librumpfs_msdos_pic.a
+lib/librumpfs_nfs.a
+lib/librumpfs_nfs.so
+lib/librumpfs_nfs.so.0
+lib/librumpfs_nfs.so.0.0
+lib/librumpfs_nfs_p.a
+lib/librumpfs_nfs_pic.a
+lib/librumpfs_nilfs.a
+lib/librumpfs_nilfs.so
+lib/librumpfs_nilfs.so.0
+lib/librumpfs_nilfs.so.0.0
+lib/librumpfs_nilfs_p.a
+lib/librumpfs_nilfs_pic.a
+lib/librumpfs_ntfs.a
+lib/librumpfs_ntfs.so
+lib/librumpfs_ntfs.so.0
+lib/librumpfs_ntfs.so.0.0
+lib/librumpfs_ntfs_p.a
+lib/librumpfs_ntfs_pic.a
+lib/librumpfs_smbfs.a
+lib/librumpfs_smbfs.so
+lib/librumpfs_smbfs.so.0
+lib/librumpfs_smbfs.so.0.0
+lib/librumpfs_smbfs_p.a
+lib/librumpfs_smbfs_pic.a
+lib/librumpfs_syspuffs.a
+lib/librumpfs_syspuffs.so
+lib/librumpfs_syspuffs.so.0
+lib/librumpfs_syspuffs.so.0.0
+lib/librumpfs_syspuffs_p.a
+lib/librumpfs_syspuffs_pic.a
+lib/librumpfs_sysvbfs.a
+lib/librumpfs_sysvbfs.so
+lib/librumpfs_sysvbfs.so.0
+lib/librumpfs_sysvbfs.so.0.0
+lib/librumpfs_sysvbfs_p.a
+lib/librumpfs_sysvbfs_pic.a
+lib/librumpfs_tmpfs.a
+lib/librumpfs_tmpfs.so
+lib/librumpfs_tmpfs.so.0
+lib/librumpfs_tmpfs.so.0.0
+lib/librumpfs_tmpfs_p.a
+lib/librumpfs_tmpfs_pic.a
+lib/librumpfs_udf.a
+lib/librumpfs_udf.so
+lib/librumpfs_udf.so.0
+lib/librumpfs_udf.so.0.0
+lib/librumpfs_udf_p.a
+lib/librumpfs_udf_pic.a
+lib/librumpuser.a
+lib/librumpuser.so.0.0
+lib/librumpuser_p.a
+lib/librumpuser_pic.a
+lib/librumpvfs.a
+lib/librumpvfs.so.0.0
+lib/librumpvfs_p.a
+lib/librumpvfs_pic.a
+lib/libukfs.a
+lib/libukfs.so.1
+lib/libukfs.so.1.0
+lib/libukfs_p.a
+lib/libukfs_pic.a
diff -r 12edc7211520 -r 4862f1955e86 misc/rump/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/rump/distinfo        Wed Oct 14 13:26:09 2009 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/10/14 13:26:10 stacktic Exp $
+
+SHA1 (rump_20091014.tar.gz) = e425ce93d30490c1ff3c2fe56b33569c406cb479
+RMD160 (rump_20091014.tar.gz) = fa1be2df06d34325d7e4c757c40f73174a8acaa6
+Size (rump_20091014.tar.gz) = 56463039 bytes



Home | Main Index | Thread Index | Old Index