Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=interim.git;a=commitdiff;h=d91978508f8b72fbffe0a169a4c8cdf93733abca

commit d91978508f8b72fbffe0a169a4c8cdf93733abca
Author: Krisztian VASAS <[EMAIL PROTECTED]>
Date:   Wed Aug 6 19:13:11 2008 +0200

ndiswrapper-1.53-4-i686
- package's dir moved to network

diff --git a/source/network-extra/ndiswrapper/FrugalBuild 
b/source/network-extra/ndiswrapper/FrugalBuild
deleted file mode 100644
index a89a4da..0000000
--- a/source/network-extra/ndiswrapper/FrugalBuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Compiling Time: 0.18 SBU
-# Contributor: Bence Nagy <[EMAIL PROTECTED]>
-# Maintainer: voroskoi <[EMAIL PROTECTED]>
-
-pkgname=ndiswrapper
-pkgver=1.53
-pkgrel=4
-pkgdesc="Wrapper for using Windows drivers for some wireless cards"
-_F_kernelmod_scriptlet=$pkgname.install
-Finclude kernel-module sourceforge
-depends=([EMAIL PROTECTED] 'pciutils' 'wireless_tools')
-groups=('network')
-archs=('i686' 'x86_64')
-source=([EMAIL PROTECTED] README.Frugalware 
ndiswrapper-detect-fix-x86_64.patch)
-sha1sums=('0d27b2f1d59d6d4bcb6b384cab946f99cb1889d7' \
-          'c3f24143cb9814326a2c0c3cbc8d58d953bac268' \
-          '7e46cc4bb72520d911f256748e8c3936498f001b')
-
-build()
-{
-       # no Fcheckkernel, crosscompilation verified
-       Fpatchall
-       Fsed '$(shell uname -r)' "$_F_kernelmod_uname" {driver/,}Makefile
-       Fmake
-       Fmakeinstall
-       Fdoc README.Frugalware
-       Fbuild_kernelmod_scriptlet
-}
diff --git a/source/network-extra/ndiswrapper/README.Frugalware 
b/source/network-extra/ndiswrapper/README.Frugalware
deleted file mode 100644
index 117e851..0000000
--- a/source/network-extra/ndiswrapper/README.Frugalware
+++ /dev/null
@@ -1,25 +0,0 @@
-Ndiswrapper requires .inf and .sys files from a Windows(tm) driver to function.
-Download these to /root for example, then run:
-
-------------------------------
-# ndiswrapper -i /root/foo.inf
-------------------------------
-
-After that you can delete them. They will be copied to the proper location. 
Once
-done, please run:
-
------------
-# depmod -a
------------
-
-Check this http://ndiswrapper.sf.net/mediawiki/index.php/List[list] of drivers.
-You can get your possible hadware with:
-
---------------------------------------------------------
-# lspci -n | egrep 'Class (0280|0200):' |  cut -d' ' -f4
---------------------------------------------------------
-
-Look for that on the above page for your driver.
-
-Please have a look at the http://ndiswrapper.sourceforge.net/wiki/[wiki] for 
the FAQ,
-HowTos, Tips, Configuration, and installation information.
diff --git 
a/source/network-extra/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch 
b/source/network-extra/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch
deleted file mode 100644
index 5ee0635..0000000
--- a/source/network-extra/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Naur ndiswrapper-1.3rc1.orig/driver/Makefile 
ndiswrapper-1.3rc1/driver/Makefile
---- ndiswrapper-1.3rc1.orig/driver/Makefile    2005-09-23 12:24:05.000000000 
+0200
-+++ ndiswrapper-1.3rc1/driver/Makefile 2005-09-23 12:24:40.000000000 +0200
-@@ -99,6 +99,10 @@
- ntoskernel_io_exports.h: ntoskernel_io.c
- usb_exports.h: usb.c
-
-+ifeq ($(CONFIG_MK8),y)
-+CONFIG_X86_64=y
-+endif
-+
- ifeq ($(CONFIG_X86_64),y)
- OBJS += x86_64_stubs.o
- x86_64_stubs.o: x86_64_stubs.h x86_64_stubs.S
diff --git a/source/network-extra/ndiswrapper/ndiswrapper.install 
b/source/network-extra/ndiswrapper/ndiswrapper.install
deleted file mode 100644
index 9e1bf2a..0000000
--- a/source/network-extra/ndiswrapper/ndiswrapper.install
+++ /dev/null
@@ -1,31 +0,0 @@
-post_install()
-{
-       /sbin/depmod -a $_F_kernelmod_uname
-}
-
-post_upgrade()
-{
-       post_remove
-       if [ -d /etc/ndiswrapper ]; then
-               echo -n "reinstalling Windows drivers... "
-               for i in /etc/ndiswrapper/*
-               do
-                       mv $i /tmp
-                       /usr/sbin/ndiswrapper -i \
-                               /tmp/`basename $i`/`basename $i`.inf
-               done
-               echo "done."
-       fi
-       post_remove
-}
-
-post_remove()
-{
-       post_install
-}
-
-op=$1
-shift
-$op $*
-
-# vim: ft=sh
diff --git a/source/network/ndiswrapper/FrugalBuild 
b/source/network/ndiswrapper/FrugalBuild
new file mode 100644
index 0000000..a89a4da
--- /dev/null
+++ b/source/network/ndiswrapper/FrugalBuild
@@ -0,0 +1,28 @@
+# Compiling Time: 0.18 SBU
+# Contributor: Bence Nagy <[EMAIL PROTECTED]>
+# Maintainer: voroskoi <[EMAIL PROTECTED]>
+
+pkgname=ndiswrapper
+pkgver=1.53
+pkgrel=4
+pkgdesc="Wrapper for using Windows drivers for some wireless cards"
+_F_kernelmod_scriptlet=$pkgname.install
+Finclude kernel-module sourceforge
+depends=([EMAIL PROTECTED] 'pciutils' 'wireless_tools')
+groups=('network')
+archs=('i686' 'x86_64')
+source=([EMAIL PROTECTED] README.Frugalware 
ndiswrapper-detect-fix-x86_64.patch)
+sha1sums=('0d27b2f1d59d6d4bcb6b384cab946f99cb1889d7' \
+          'c3f24143cb9814326a2c0c3cbc8d58d953bac268' \
+          '7e46cc4bb72520d911f256748e8c3936498f001b')
+
+build()
+{
+       # no Fcheckkernel, crosscompilation verified
+       Fpatchall
+       Fsed '$(shell uname -r)' "$_F_kernelmod_uname" {driver/,}Makefile
+       Fmake
+       Fmakeinstall
+       Fdoc README.Frugalware
+       Fbuild_kernelmod_scriptlet
+}
diff --git a/source/network/ndiswrapper/README.Frugalware 
b/source/network/ndiswrapper/README.Frugalware
new file mode 100644
index 0000000..117e851
--- /dev/null
+++ b/source/network/ndiswrapper/README.Frugalware
@@ -0,0 +1,25 @@
+Ndiswrapper requires .inf and .sys files from a Windows(tm) driver to function.
+Download these to /root for example, then run:
+
+------------------------------
+# ndiswrapper -i /root/foo.inf
+------------------------------
+
+After that you can delete them. They will be copied to the proper location. 
Once
+done, please run:
+
+-----------
+# depmod -a
+-----------
+
+Check this http://ndiswrapper.sf.net/mediawiki/index.php/List[list] of drivers.
+You can get your possible hadware with:
+
+--------------------------------------------------------
+# lspci -n | egrep 'Class (0280|0200):' |  cut -d' ' -f4
+--------------------------------------------------------
+
+Look for that on the above page for your driver.
+
+Please have a look at the http://ndiswrapper.sourceforge.net/wiki/[wiki] for 
the FAQ,
+HowTos, Tips, Configuration, and installation information.
diff --git a/source/network/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch 
b/source/network/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch
new file mode 100644
index 0000000..5ee0635
--- /dev/null
+++ b/source/network/ndiswrapper/ndiswrapper-detect-fix-x86_64.patch
@@ -0,0 +1,14 @@
+diff -Naur ndiswrapper-1.3rc1.orig/driver/Makefile 
ndiswrapper-1.3rc1/driver/Makefile
+--- ndiswrapper-1.3rc1.orig/driver/Makefile    2005-09-23 12:24:05.000000000 
+0200
++++ ndiswrapper-1.3rc1/driver/Makefile 2005-09-23 12:24:40.000000000 +0200
+@@ -99,6 +99,10 @@
+ ntoskernel_io_exports.h: ntoskernel_io.c
+ usb_exports.h: usb.c
+
++ifeq ($(CONFIG_MK8),y)
++CONFIG_X86_64=y
++endif
++
+ ifeq ($(CONFIG_X86_64),y)
+ OBJS += x86_64_stubs.o
+ x86_64_stubs.o: x86_64_stubs.h x86_64_stubs.S
diff --git a/source/network/ndiswrapper/ndiswrapper.install 
b/source/network/ndiswrapper/ndiswrapper.install
new file mode 100644
index 0000000..9e1bf2a
--- /dev/null
+++ b/source/network/ndiswrapper/ndiswrapper.install
@@ -0,0 +1,31 @@
+post_install()
+{
+       /sbin/depmod -a $_F_kernelmod_uname
+}
+
+post_upgrade()
+{
+       post_remove
+       if [ -d /etc/ndiswrapper ]; then
+               echo -n "reinstalling Windows drivers... "
+               for i in /etc/ndiswrapper/*
+               do
+                       mv $i /tmp
+                       /usr/sbin/ndiswrapper -i \
+                               /tmp/`basename $i`/`basename $i`.inf
+               done
+               echo "done."
+       fi
+       post_remove
+}
+
+post_remove()
+{
+       post_install
+}
+
+op=$1
+shift
+$op $*
+
+# vim: ft=sh
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to