summaryrefslogtreecommitdiffstats
path: root/abs/core/ceton
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:53 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-19 18:23:53 (GMT)
commit528cb144ccabf66fb6278f3025a3496d73a59a20 (patch)
tree6dcbcbe33b9dc96a441dfee3d3df96a12ef912e3 /abs/core/ceton
parent855cc7eb5a1ec13cc4ac28a910c79633703aa18f (diff)
parentf8e6fc954ed4502f65355e30664fdbdbcd045cd7 (diff)
downloadlinhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.zip
linhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.tar.gz
linhes_pkgbuild-528cb144ccabf66fb6278f3025a3496d73a59a20.tar.bz2
Merge remote-tracking branch 'origin/testing' into testing
Diffstat (limited to 'abs/core/ceton')
-rw-r--r--abs/core/ceton/PKGBUILD17
-rw-r--r--abs/core/ceton/ctn_udev.patch5
-rwxr-xr-xabs/core/ceton/ifctn.sh2
3 files changed, 18 insertions, 6 deletions
diff --git a/abs/core/ceton/PKGBUILD b/abs/core/ceton/PKGBUILD
index 97eb417..366763d 100644
--- a/abs/core/ceton/PKGBUILD
+++ b/abs/core/ceton/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=ceton
_kernver=2.6.39-LinHES
-pkgver=1.2
+pkgver=1.3
pkgrel=3
pkgdesc="Drivers for Ceton InfiniTV4"
arch=('i686' 'x86_64')
@@ -12,17 +12,22 @@ url="http://linuxtv.org/"
depends=('kernel26')
makedepends=(kernel-headers)
install=ceton.install
-source=('http://www.cetoncorp.com/firmware/ceton_infinitv_linux_driver_1_2.tar.gz')
+source=('http://www.cetoncorp.com/firmware/ceton_infinitv_linux_driver_1_3.tar.gz'
+ 'ctn_udev.patch' 'ifctn.sh')
build() {
cd $startdir/src/ceton_infinitv_linux_driver
# patch -p1 < ../hdpvr.diff
+ patch -p0 < $srcdir/ctn_udev.patch
make
make install
- mkdir -p $startdir/pkg/lib/modules/$_kernver/kernel/drivers/media/video
- cp ctn91xx.ko $startdir/pkg/lib/modules/$_kernver/kernel/drivers/media/video
+ mkdir -p $startdir/pkg/lib/modules/$_kernver/extra
+ cp ctn91xx.ko $startdir/pkg/lib/modules/$_kernver/extra
mkdir -p $pkgdir/etc/udev/rules.d
cp 98-ctn91xx.rules $pkgdir/etc/udev/rules.d/
-
+ mkdir -p $pkgdir/usr/LH/bin
+ install -m 755 $srcdir/ifctn.sh $pkgdir/usr/LH/bin
}
-md5sums=('7a014a32d88e0792231b439079c20acd')
+md5sums=('5021db6c04e2f0c2a8367d9c15827470'
+ '05371fcff10a2d9058644e860f5c17ef'
+ '3fc4c4981d2dab54b297f17564b7729f')
diff --git a/abs/core/ceton/ctn_udev.patch b/abs/core/ceton/ctn_udev.patch
new file mode 100644
index 0000000..91af3ac
--- /dev/null
+++ b/abs/core/ceton/ctn_udev.patch
@@ -0,0 +1,5 @@
+--- 98-ctn91xx.rules.orig 2011-08-18 19:17:11.000000000 +0000
++++ 98-ctn91xx.rules 2011-08-18 19:18:54.000000000 +0000
+@@ -1 +1 @@
+-KERNEL=="ctn91xx_*", NAME="ceton/%k", MODE="0666",OWNER="root",GROUP="root"
++KERNEL=="ctn91xx_*", NAME="ceton/%k", MODE="0666",OWNER="root",GROUP="root", RUN+="/usr/LH/bin/ifctn.sh"
diff --git a/abs/core/ceton/ifctn.sh b/abs/core/ceton/ifctn.sh
new file mode 100755
index 0000000..7d7265d
--- /dev/null
+++ b/abs/core/ceton/ifctn.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+/sbin/ifconfig ctn0 192.168.200.254 netmask 255.255.255.0 up