]> git.pld-linux.org Git - packages/dev.git/blobdiff - dev.spec
- added TAP/TUN device for 2.4; release 29
[packages/dev.git] / dev.spec
index 4a53da9f83615d63d405084670c07d3235842bc6..7c6ae55bf24c657959430e24e99dc483c9a8c52f 100644 (file)
--- a/dev.spec
+++ b/dev.spec
@@ -5,7 +5,7 @@ Summary(pl):    Pliki specjalne /dev/*
 Summary(tr):   /dev dizini
 Name:          dev
 Version:       2.8.0
-Release:       28
+Release:       29
 License:       Public Domain
 Group:         Base
 Source0:       %{name}-%{version}.tar.gz
@@ -329,10 +329,13 @@ mknode svga4 c 209 4
 # ipsec character device
 mknode ipsec c 36 10
 
-# TUN/TAP devices
+# TUN/TAP devices for 2.2+tun patch
 for i in 0 1 2 3 4 5 6 7 8 9; do
        mknode tun$i c 90 $i
 done
+# TAP/TUN for 2.4
+install -d $RPM_BUILD_ROOT/dev/net
+mknode net/tun c 10 200
 
 # raw io devices
 mknode rawctl c 162 0
@@ -516,6 +519,8 @@ rm -rf $RPM_BUILD_ROOT
 
 #n#
 %attr(660,root,disk) /dev/nb*
+%dir /dev/net
+%attr(600,root,root) /dev/net/tun
 %config(noreplace) %verify(not link) %attr(666,root,root) /dev/nftape
 %attr(660,root,disk) /dev/nht*
 %attr(660,root,disk) /dev/nqft*
This page took 0.051277 seconds and 4 git commands to generate.