[arch-commits] CVS update of extra/system/nforce-beyond (4 files)

Travis Willard travis at archlinux.org
Sun May 20 14:21:57 UTC 2007


    Date: Sunday, May 20, 2007 @ 10:21:57
  Author: travis
    Path: /home/cvs-extra/extra/system/nforce-beyond

 Removed: 2.6.16.patch (1.1) PKGBUILD (1.4) module-parm.patch (1.1)
          nforce.install (1.2)

Beyond no longer in repos


-------------------+
 2.6.16.patch      |   20 ---------------
 PKGBUILD          |   56 --------------------------------------------
 module-parm.patch |   66 ----------------------------------------------------
 nforce.install    |   27 ---------------------
 4 files changed, 169 deletions(-)


Index: extra/system/nforce-beyond/2.6.16.patch
diff -u extra/system/nforce-beyond/2.6.16.patch:1.1 extra/system/nforce-beyond/2.6.16.patch:removed
--- extra/system/nforce-beyond/2.6.16.patch:1.1	Wed May 24 08:27:05 2006
+++ extra/system/nforce-beyond/2.6.16.patch	Sun May 20 10:21:56 2007
@@ -1,20 +0,0 @@
---- nvsound/main/conftest.sh.old	2006-01-17 15:13:03.816795328 +0100
-+++ nvsound/main/conftest.sh	2006-01-17 15:14:06.446274200 +0100
-@@ -12,9 +12,17 @@
- OUTPUT=$3
- 
- CFLAGS="-D__KERNEL__ \
-+-DKBUILD_BASENAME=\"#conftest$$\" -DKBUILD_MODNAME=\"#conftest$$\"
- -nostdinc -isystem $ISYSTEM \
- -Werror -Wimplicit-function-declaration"
- 
-+touch conftest$$.c
-+$CC -Wno-attributes -c conftest$$.c > /dev/null 2>&1
-+if [ $? -eq 0 ]; then
-+    CFLAGS="$CFLAGS -Wno-attributes"
-+fi
-+rm -f conftest$$.*
-+
- if [ "$OUTPUT" != "$SOURCES" ]; then
-     CFLAGS="$CFLAGS -I$OUTPUT/include2 -I$OUTPUT/include \
- -I$HEADERS -I$HEADERS/asm/mach-default"
Index: extra/system/nforce-beyond/PKGBUILD
diff -u extra/system/nforce-beyond/PKGBUILD:1.4 extra/system/nforce-beyond/PKGBUILD:removed
--- extra/system/nforce-beyond/PKGBUILD:1.4	Wed Jul 12 18:45:45 2006
+++ extra/system/nforce-beyond/PKGBUILD	Sun May 20 10:21:56 2007
@@ -1,56 +0,0 @@
-# $Id: PKGBUILD,v 1.4 2006/07/12 22:45:45 andyrtr Exp $
-# Maintainer : Tobias Powalowski <tpowa at archlinux.org>
-
-
-pkgname=nforce-beyond
-pkgver=1.0.0310
-_nver=1.0-0310
-_kernver='2.6.17-beyond'
-pkgrel=5
-pkgdesc="The Nvidia nforce drivers for beyond kernel"
-arch=(i686 x86_64)
-url="http://www.nvidia.com"
-depends=('kernel26beyond' 'nforce-utils')
-source=(ftp://download.nvidia.com/XFree86/nforce/${_nver}/NFORCE-Linux-x86-${_nver}-pkg1.run 2.6.16.patch module-parm.patch)
-[ "$CARCH" = "x86_64" ] && source=(ftp://download.nvidia.com/XFree86/nforce/${_nver}/NFORCE-Linux-x86_64-${_nver}-pkg1.run \
-	2.6.16.patch module-parm.patch)
-install="nforce.install"
-
-build() {  
-  cd $startdir/src/
-if [ "$CARCH" = "x86_64" ]; then
-    sh NFORCE-Linux-x86_64-${_nver}-pkg1.run --extract-only
-    cd NFORCE-Linux-x86_64-${_nver}-pkg1
-  else sh NFORCE-Linux-x86-${_nver}-pkg1.run --extract-only
-       cd NFORCE-Linux-x86-${_nver}-pkg1
-fi
-  
-  # Any extra patches are applied in here...
-  patch -Np0 -i ../2.6.16.patch || return 1 
-  patch -Np0 -i ../module-parm.patch || return 1
-
-  # build nvsound
-if [ "$CARCH" = "x86_64" ]; then
-    cd $startdir/src/NFORCE-Linux-x86_64-${_nver}-pkg1/nvsound/main/
-  else   cd $startdir/src/NFORCE-Linux-x86-${_nver}-pkg1/nvsound/main/
-fi
-  ln -s Makefile.kbuild Makefile
-  make SYSSRC=/lib/modules/$_kernver/build module 
-  
-  # install nvsound kernel module
-  mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/sound/
-  install -m644 nvsound.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/sound/
-  
-  # build nvnet
-if [ "$CARCH" = "x86_64" ]; then
-    cd $startdir/src/NFORCE-Linux-x86_64-${_nver}-pkg1/nvnet
-  else   cd $startdir/src/NFORCE-Linux-x86-${_nver}-pkg1/nvnet
-fi
-  ln -s Makefile.kbuild Makefile
-  make SYSSRC=/lib/modules/$_kernver/build module
-  # install nvnet kernel module 
-  mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/
-  install -m644 nvnet.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/
-  
-  sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
- }
Index: extra/system/nforce-beyond/module-parm.patch
diff -u extra/system/nforce-beyond/module-parm.patch:1.1 extra/system/nforce-beyond/module-parm.patch:removed
--- extra/system/nforce-beyond/module-parm.patch:1.1	Tue Jun 27 06:32:31 2006
+++ extra/system/nforce-beyond/module-parm.patch	Sun May 20 10:21:56 2007
@@ -1,66 +0,0 @@
---- nvsound/main/nvmain.c~	2005-10-22 03:59:44.000000000 +0200
-+++ nvsound/main/nvmain.c	2006-05-23 15:18:31.000000000 +0200
-@@ -2188,7 +2188,7 @@
-     }
- }
- 
--MODULE_PARM(vapu_enable, "i");
-+module_param(vapu_enable, int, 0);
- #define NVAUDIO_MODULE_NAME "nforce_audio"
- static struct pci_driver Nvaudio_pci_driver = {
-     name: NVAUDIO_MODULE_NAME,
---- nvnet/nvenet.c~	2005-10-22 03:59:44.000000000 +0200
-+++ nvnet/nvenet.c	2006-05-23 15:24:17.000000000 +0200
-@@ -214,40 +214,40 @@
-  * Module parameters
-  */
- 
--MODULE_PARM(auto_negotiate, "i");
-+module_param(auto_negotiate, int, 0);
- MODULE_PARM_DESC(auto_negotiate, "Control autonegotiation by setting 0 for disable and 1 for enable.");
- 
--MODULE_PARM(force_speed_duplex, "i");
-+module_param(force_speed_duplex, int, 0);
- MODULE_PARM_DESC(force_speed_duplex, "Control speed and duplex by setting appropriate value . See README for details of this feature.");
- 
--MODULE_PARM(max_tx_packets, "i");
-+module_param(max_tx_packets, int, 0);
- MODULE_PARM_DESC(max_tx_packets, "Control max number of outstanding tx packets by setting a value between 32 and 1024.");
- 
--MODULE_PARM(max_rx_packets, "i");
-+module_param(max_rx_packets, int, 0);
- MODULE_PARM_DESC(max_rx_packets, "Control max number of rx packets by setting a value between 32 and 1024.");
- 
--MODULE_PARM(optimization, "i");
-+module_param(optimization, int, 0);
- MODULE_PARM_DESC(optimization, "Control optimization by setting value 0 for optimizing throughput and 1 for optimizing CPU.");
- 
--MODULE_PARM(poll_interval_in_us, "i");
-+module_param(poll_interval_in_us, int, 0);
- MODULE_PARM_DESC(poll_interval_in_us, "Control poll interval when optimization is CPU by setting a value between 0 and 2000.");
- 
--MODULE_PARM(hwmode, "i");
-+module_param(hwmode, int, 0);
- MODULE_PARM_DESC(hwmode, "Control hwmode by setting 1 for hardware mode 1 and 2 for hardware mode 2. See README for details.");
- 
--MODULE_PARM(seg_offload, "i");
-+module_param(seg_offload, int, 0);
- MODULE_PARM_DESC(seg_offload, "Control segmentation offload by setting 0 for disable and 1 for enable. This parameter is allowed in hardware mode 2 only.");
- 
--MODULE_PARM(mtu, "i");
-+module_param(mtu, int, 0);
- MODULE_PARM_DESC(mtu, "Control mtu by setting value between 576 and 9202. This parameter is allowed in hardware mode 2 only.");
- 
--MODULE_PARM(media, "i");
-+module_param(media, int, 0);
- MODULE_PARM_DESC(media, "Control media interface by setting value 0 for Auto, 1 for RGMII, and 2 for MII. This parameter is allowed in hardware mode 2 only.");
- 
--MODULE_PARM(tx_checksum_offload, "i");
-+module_param(tx_checksum_offload, int, 0);
- MODULE_PARM_DESC(tx_checksum_offload, "Control tx checksum offload by setting value 0 for disable and 1 for enable. This parameter is allowed in hardware mode 2 only.");
- 
--MODULE_PARM(rx_checksum_offload, "i");
-+module_param(rx_checksum_offload, int, 0);
- MODULE_PARM_DESC(rx_checksum_offload, "Control rx checksum offload by setting value 0 for disable and 1 for enable. This parameter is allowed in hardware mode 2 only.");
- 
- 
Index: extra/system/nforce-beyond/nforce.install
diff -u extra/system/nforce-beyond/nforce.install:1.2 extra/system/nforce-beyond/nforce.install:removed
--- extra/system/nforce-beyond/nforce.install:1.2	Tue Jun 27 06:32:31 2006
+++ extra/system/nforce-beyond/nforce.install	Sun May 20 10:21:56 2007
@@ -1,27 +0,0 @@
-post_install() {
-  echo -------------------------------
-  echo By using this package you accept the NVIDIA license, 
-  echo which has been installed in /usr/share/licenses/nforce/LICENSE
-  echo If you do not accept this license, you must remove the package immediately.
-  echo If you need more information about setting up nforce drivers have a look at:
-  echo 'http://wiki.archlinux.org/index.php/Nforce_Drivers'
-  echo -------------------------------
-
-  KERNEL_VERSION='2.6.17-beyond'
-  depmod -v $KERNEL_VERSION  > /dev/null 2>&1		 
-}
-
-post_upgrade() {
- post_install $1
-}
-
-# arg 1:  the old package version
-post_remove() {
-  KERNEL_VERSION='2.6.17-beyond'
-  depmod -v $KERNEL_VERSION	 > /dev/null 2>&1	 
-}
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list