pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/solaris-tap Add net/solaris-tap version 20070527 t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/281a724f7946
branches: trunk
changeset: 530538:281a724f7946
user: tnn <tnn%pkgsrc.org@localhost>
date: Sun Jul 01 00:43:20 2007 +0000
description:
Add net/solaris-tap version 20070527 to pkgsrc:
Solaris kernel module for virtual Ethernet devices (TAP) and virtual
point-to-point tunneling interfaces (TUN).
diffstat:
net/solaris-tap/DEINSTALL | 16 ++++++++++++++++
net/solaris-tap/DESCR | 2 ++
net/solaris-tap/MESSAGE | 16 ++++++++++++++++
net/solaris-tap/Makefile | 28 ++++++++++++++++++++++++++++
net/solaris-tap/PLIST | 8 ++++++++
net/solaris-tap/buildlink3.mk | 20 ++++++++++++++++++++
net/solaris-tap/distinfo | 5 +++++
7 files changed, 95 insertions(+), 0 deletions(-)
diffs (123 lines):
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/DEINSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/DEINSTALL Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,16 @@
+#! /bin/sh
+# $NetBSD: DEINSTALL,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+#
+
+cat << EOF
+===========================================================================
+
+Please remember to run:
+
+# /usr/sbin/rem_drv tun
+# /usr/sbin/rem_drv tap
+
+and remove the tun/tap driver from /usr/kernel/drv if you have copied
+it there.
+===========================================================================
+EOF
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/DESCR Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,2 @@
+Solaris kernel module for virtual Ethernet devices (TAP) and virtual
+point-to-point tunneling interfaces (TUN).
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/MESSAGE Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+
+To enable the TUN/TAP driver in your Solaris kernel after an installation
+or upgrade, you must manually copy the following files to /usr/kernel/drv:
+ ${PREFIX}/lkm/tap
+ ${PREFIX}/lkm/tap.conf
+ ${PREFIX}/lkm/tun
+ ${PREFIX}/lkm/tun.conf
+
+Then execute the following commands:
+ /usr/sbin/rem_drv tun >/dev/null 2>&1
+ /usr/sbin/rem_drv tap >/dev/null 2>&1
+ /usr/sbin/add_drv tun
+ /usr/sbin/add_drv tap
+===========================================================================
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/Makefile Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+
+DISTNAME= tuntap
+PKGNAME= solaris-tap-20070525
+CATEGORIES= net
+MASTER_SITES= http://www.whiteboard.ne.jp/~admin2/tuntap/source/tuntap/
+
+MAINTAINER= tnn%NetBSD.org@localhost
+HOMEPAGE= http://www.whiteboard.ne.jp/~admin2/tuntap/
+COMMENT= Solaris kernel module for virtual Ethernet devices
+
+ONLY_FOR_PLATFORM= SunOS-*-*
+GNU_CONFIGURE= yes
+
+DIST_SUBDIR= ${PKGNAME_NOREV}
+WRKSRC= ${WRKDIR}/tuntap
+
+.include "../../mk/bsd.prefs.mk"
+
+INSTALLATION_DIRS= include/net lkm
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/if_tun.h ${PREFIX}/include/net
+.for f in tap tap.conf tun tun.conf
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lkm
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/PLIST Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+include/net/if_tun.h
+lkm/tap
+lkm/tap.conf
+lkm/tun
+lkm/tun.conf
+@unexec ${RMDIR} %D/include/net 2>/dev/null || ${TRUE}
+@unexec ${RMDIR} %D/lkm 2>/dev/null || ${TRUE}
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/buildlink3.mk Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SOLARIS_TAP_BUILDLINK3_MK:= ${SOLARIS_TAP_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= solaris-tap
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsolaris-tap}
+BUILDLINK_PACKAGES+= solaris-tap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}solaris-tap
+
+.if ${SOLARIS_TAP_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.solaris-tap+= solaris-tap>=20070525
+BUILDLINK_PKGSRCDIR.solaris-tap?= ../../net/solaris-tap
+BUILDLINK_DEPMETHOD.solaris-tap?= build
+.endif # SOLARIS_TAP_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r 2f71487fd1c2 -r 281a724f7946 net/solaris-tap/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/solaris-tap/distinfo Sun Jul 01 00:43:20 2007 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/07/01 00:43:20 tnn Exp $
+
+SHA1 (solaris-tap-20070525/tuntap.tar.gz) = 3d2bd63cf7813ac365b73faa4d6ab9de33e2920b
+RMD160 (solaris-tap-20070525/tuntap.tar.gz) = 40855ab98cadbd975afe6f2b799cab4f1c6928b5
+Size (solaris-tap-20070525/tuntap.tar.gz) = 40016 bytes
Home |
Main Index |
Thread Index |
Old Index