[arch-commits] Commit in cdfs/repos (12 files)

2013-02-05 Thread Evangelos Foutras
Date: Tuesday, February 5, 2013 @ 19:04:42
  Author: foutrelis
Revision: 83846

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  cdfs/repos/community-testing-i686/
  cdfs/repos/community-testing-i686/PKGBUILD
(from rev 83845, cdfs/trunk/PKGBUILD)
  cdfs/repos/community-testing-i686/cdfs-3.0.patch
(from rev 83845, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/community-testing-i686/cdfs-3.2.patch
(from rev 83845, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/community-testing-i686/cdfs-3.4.patch
(from rev 83845, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/community-testing-i686/cdfs.install
(from rev 83845, cdfs/trunk/cdfs.install)
  cdfs/repos/community-testing-x86_64/
  cdfs/repos/community-testing-x86_64/PKGBUILD
(from rev 83845, cdfs/trunk/PKGBUILD)
  cdfs/repos/community-testing-x86_64/cdfs-3.0.patch
(from rev 83845, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/community-testing-x86_64/cdfs-3.2.patch
(from rev 83845, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/community-testing-x86_64/cdfs-3.4.patch
(from rev 83845, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/community-testing-x86_64/cdfs.install
(from rev 83845, cdfs/trunk/cdfs.install)

-+
 community-testing-i686/PKGBUILD |   40 
 community-testing-i686/cdfs-3.0.patch   |  274 ++
 community-testing-i686/cdfs-3.2.patch   |   12 +
 community-testing-i686/cdfs-3.4.patch   |   12 +
 community-testing-i686/cdfs.install |   14 +
 community-testing-x86_64/PKGBUILD   |   40 
 community-testing-x86_64/cdfs-3.0.patch |  274 ++
 community-testing-x86_64/cdfs-3.2.patch |   12 +
 community-testing-x86_64/cdfs-3.4.patch |   12 +
 community-testing-x86_64/cdfs.install   |   14 +
 10 files changed, 704 insertions(+)

Copied: cdfs/repos/community-testing-i686/PKGBUILD (from rev 83845, 
cdfs/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-02-05 18:04:42 UTC (rev 83846)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: J. Santiago Hirschfeld jsantia...@yahoo.com.ar
+
+pkgname=cdfs
+pkgver=2.6.27
+pkgrel=36
+pkgdesc=File system module that 'exports' all tracks and boot images on a CD 
as normal files.
+arch=(i686 x86_64)
+url=http://www.elis.UGent.be/~ronsse/cdfs/;
+license=('GPL')
+makedepends=('linux-headers')
+install=cdfs.install
+source=(http://www.elis.UGent.be/~ronsse/cdfs/download/$pkgname-$pkgver.tar.bz2;
+   cdfs-3.0.patch
+   cdfs-3.2.patch
+   cdfs-3.4.patch)
+md5sums=('ac64c014a90e3c488394832ea29605b3'
+ 'aba7da94a9dcbb8a93ea423cb6958fef'
+ 'e934407b3460257a301822ffc4ab3933'
+ '9215e7bdac728bd2f889fb525e543454')
+
+_kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
+_kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-ARCH/version`
+
+build() {
+  depends=(linux=3.${_kernver} linux3.`expr ${_kernver} + 1`)
+
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 $srcdir/cdfs-3.0.patch
+  patch -p1 $srcdir/cdfs-3.2.patch
+  patch -p1 $srcdir/cdfs-3.4.patch
+  make KDIR=/usr/lib/modules/${_kernverfull}/build
+  sed -i s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH| 
$startdir/cdfs.install
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  install -Dm0644 cdfs.ko 
$pkgdir/usr/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko
+}

Copied: cdfs/repos/community-testing-i686/cdfs-3.0.patch (from rev 83845, 
cdfs/trunk/cdfs-3.0.patch)
===
--- community-testing-i686/cdfs-3.0.patch   (rev 0)
+++ community-testing-i686/cdfs-3.0.patch   2013-02-05 18:04:42 UTC (rev 
83846)
@@ -0,0 +1,274 @@
+diff -wbBur cdfs-2.6.27/cddata.c cdfs-2.6.27.my/cddata.c
+--- cdfs-2.6.27/cddata.c   2009-12-21 17:04:03.0 +0300
 cdfs-2.6.27.my/cddata.c2011-07-24 21:18:44.0 +0400
+@@ -83,7 +83,7 @@
+ #else
+   .mmap = generic_file_readonly_mmap,
+ #if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,27)
+-  .sendfile = generic_file_sendfile
++//  .sendfile = generic_file_sendfile
+ #else
+   .splice_read  = generic_file_splice_read
+ #endif
+diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c
+--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.0 +0300
 cdfs-2.6.27.my/root.c  2011-07-25 13:16:59.0 +0400
+@@ -32,19 +30,14 @@
+  *Added code to transform /proc/cdfs into a sequential synthetic file.  *
+  
**/
+ 
+-
+ #include linux/seq_file.h
+-
+-#ifndef OLD_KERNEL
+ #include linux/statfs.h
+-#endif
++#include linux/sched.h
+ 
+ extern struct seq_operations cdfs_operations;
+ extern struct _track_info *dummy_track_p;
+ 
+-#if LINUX_VERSION_CODE 

[arch-commits] Commit in cdfs/repos (12 files)

2013-01-28 Thread Tobias Powalowski
Date: Monday, January 28, 2013 @ 14:36:03
  Author: tpowa
Revision: 83214

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  cdfs/repos/testing-i686/
  cdfs/repos/testing-i686/PKGBUILD
(from rev 83213, cdfs/trunk/PKGBUILD)
  cdfs/repos/testing-i686/cdfs-3.0.patch
(from rev 83213, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/testing-i686/cdfs-3.2.patch
(from rev 83213, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/testing-i686/cdfs-3.4.patch
(from rev 83213, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/testing-i686/cdfs.install
(from rev 83213, cdfs/trunk/cdfs.install)
  cdfs/repos/testing-x86_64/
  cdfs/repos/testing-x86_64/PKGBUILD
(from rev 83213, cdfs/trunk/PKGBUILD)
  cdfs/repos/testing-x86_64/cdfs-3.0.patch
(from rev 83213, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/testing-x86_64/cdfs-3.2.patch
(from rev 83213, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/testing-x86_64/cdfs-3.4.patch
(from rev 83213, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/testing-x86_64/cdfs.install
(from rev 83213, cdfs/trunk/cdfs.install)

---+
 testing-i686/PKGBUILD |   35 +
 testing-i686/cdfs-3.0.patch   |  274 
 testing-i686/cdfs-3.2.patch   |   12 +
 testing-i686/cdfs-3.4.patch   |   12 +
 testing-i686/cdfs.install |   14 ++
 testing-x86_64/PKGBUILD   |   35 +
 testing-x86_64/cdfs-3.0.patch |  274 
 testing-x86_64/cdfs-3.2.patch |   12 +
 testing-x86_64/cdfs-3.4.patch |   12 +
 testing-x86_64/cdfs.install   |   14 ++
 10 files changed, 694 insertions(+)

Copied: cdfs/repos/testing-i686/PKGBUILD (from rev 83213, cdfs/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2013-01-28 13:36:03 UTC (rev 83214)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: J. Santiago Hirschfeld jsantia...@yahoo.com.ar
+
+pkgname=cdfs
+pkgver=2.6.27
+pkgrel=35
+pkgdesc=File system module that 'exports' all tracks and boot images on a CD 
as normal files.
+arch=(i686 x86_64)
+url=http://www.elis.UGent.be/~ronsse/cdfs/;
+license=('GPL')
+makedepends=('linux-headers')
+install=cdfs.install
+source=(http://www.elis.UGent.be/~ronsse/cdfs/download/$pkgname-$pkgver.tar.bz2;
+   cdfs-3.0.patch
+   cdfs-3.2.patch
+   cdfs-3.4.patch)
+md5sums=('ac64c014a90e3c488394832ea29605b3'
+ 'aba7da94a9dcbb8a93ea423cb6958fef'
+ 'e934407b3460257a301822ffc4ab3933'
+ '9215e7bdac728bd2f889fb525e543454')
+
+build() {
+  _kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
+  depends=(linux=3.${_kernver} linux3.`expr ${_kernver} + 1`)
+  _kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-ARCH/version`
+
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 $srcdir/cdfs-3.0.patch
+  patch -p1 $srcdir/cdfs-3.2.patch
+  patch -p1 $srcdir/cdfs-3.4.patch
+  make KDIR=/usr/lib/modules/${_kernverfull}/build
+  install -Dm0644 cdfs.ko 
$pkgdir/usr/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko
+  sed -i s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH| 
$startdir/cdfs.install
+}

Copied: cdfs/repos/testing-i686/cdfs-3.0.patch (from rev 83213, 
cdfs/trunk/cdfs-3.0.patch)
===
--- testing-i686/cdfs-3.0.patch (rev 0)
+++ testing-i686/cdfs-3.0.patch 2013-01-28 13:36:03 UTC (rev 83214)
@@ -0,0 +1,274 @@
+diff -wbBur cdfs-2.6.27/cddata.c cdfs-2.6.27.my/cddata.c
+--- cdfs-2.6.27/cddata.c   2009-12-21 17:04:03.0 +0300
 cdfs-2.6.27.my/cddata.c2011-07-24 21:18:44.0 +0400
+@@ -83,7 +83,7 @@
+ #else
+   .mmap = generic_file_readonly_mmap,
+ #if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,27)
+-  .sendfile = generic_file_sendfile
++//  .sendfile = generic_file_sendfile
+ #else
+   .splice_read  = generic_file_splice_read
+ #endif
+diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c
+--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.0 +0300
 cdfs-2.6.27.my/root.c  2011-07-25 13:16:59.0 +0400
+@@ -32,19 +30,14 @@
+  *Added code to transform /proc/cdfs into a sequential synthetic file.  *
+  
**/
+ 
+-
+ #include linux/seq_file.h
+-
+-#ifndef OLD_KERNEL
+ #include linux/statfs.h
+-#endif
++#include linux/sched.h
+ 
+ extern struct seq_operations cdfs_operations;
+ extern struct _track_info *dummy_track_p;
+ 
+-#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,24) 
+ struct inode *cdfs_iget(struct super_block *sp, unsigned long ino); 
+-#endif
+ 
/**
+  *  cdfs_open()   
*
+  *Description: 

[arch-commits] Commit in cdfs/repos (12 files)

2013-01-28 Thread Tobias Powalowski
Date: Monday, January 28, 2013 @ 14:38:18
  Author: tpowa
Revision: 83216

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  cdfs/repos/community-testing-i686/
  cdfs/repos/community-testing-i686/PKGBUILD
(from rev 83215, cdfs/trunk/PKGBUILD)
  cdfs/repos/community-testing-i686/cdfs-3.0.patch
(from rev 83215, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/community-testing-i686/cdfs-3.2.patch
(from rev 83215, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/community-testing-i686/cdfs-3.4.patch
(from rev 83215, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/community-testing-i686/cdfs.install
(from rev 83215, cdfs/trunk/cdfs.install)
  cdfs/repos/community-testing-x86_64/
  cdfs/repos/community-testing-x86_64/PKGBUILD
(from rev 83215, cdfs/trunk/PKGBUILD)
  cdfs/repos/community-testing-x86_64/cdfs-3.0.patch
(from rev 83215, cdfs/trunk/cdfs-3.0.patch)
  cdfs/repos/community-testing-x86_64/cdfs-3.2.patch
(from rev 83215, cdfs/trunk/cdfs-3.2.patch)
  cdfs/repos/community-testing-x86_64/cdfs-3.4.patch
(from rev 83215, cdfs/trunk/cdfs-3.4.patch)
  cdfs/repos/community-testing-x86_64/cdfs.install
(from rev 83215, cdfs/trunk/cdfs.install)

-+
 community-testing-i686/PKGBUILD |   35 +++
 community-testing-i686/cdfs-3.0.patch   |  274 ++
 community-testing-i686/cdfs-3.2.patch   |   12 +
 community-testing-i686/cdfs-3.4.patch   |   12 +
 community-testing-i686/cdfs.install |   14 +
 community-testing-x86_64/PKGBUILD   |   35 +++
 community-testing-x86_64/cdfs-3.0.patch |  274 ++
 community-testing-x86_64/cdfs-3.2.patch |   12 +
 community-testing-x86_64/cdfs-3.4.patch |   12 +
 community-testing-x86_64/cdfs.install   |   14 +
 10 files changed, 694 insertions(+)

Copied: cdfs/repos/community-testing-i686/PKGBUILD (from rev 83215, 
cdfs/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2013-01-28 13:38:18 UTC (rev 83216)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Sergej Pupykin pupykin.s+a...@gmail.com
+# Contributor: J. Santiago Hirschfeld jsantia...@yahoo.com.ar
+
+pkgname=cdfs
+pkgver=2.6.27
+pkgrel=35
+pkgdesc=File system module that 'exports' all tracks and boot images on a CD 
as normal files.
+arch=(i686 x86_64)
+url=http://www.elis.UGent.be/~ronsse/cdfs/;
+license=('GPL')
+makedepends=('linux-headers')
+install=cdfs.install
+source=(http://www.elis.UGent.be/~ronsse/cdfs/download/$pkgname-$pkgver.tar.bz2;
+   cdfs-3.0.patch
+   cdfs-3.2.patch
+   cdfs-3.4.patch)
+md5sums=('ac64c014a90e3c488394832ea29605b3'
+ 'aba7da94a9dcbb8a93ea423cb6958fef'
+ 'e934407b3460257a301822ffc4ab3933'
+ '9215e7bdac728bd2f889fb525e543454')
+
+build() {
+  _kernver=`pacman -Q linux | cut -d . -f 2 | cut -f 1 -d -`
+  depends=(linux=3.${_kernver} linux3.`expr ${_kernver} + 1`)
+  _kernverfull=`cat /usr/lib/modules/extramodules-3.${_kernver}-ARCH/version`
+
+  cd $srcdir/$pkgname-$pkgver
+  patch -p1 $srcdir/cdfs-3.0.patch
+  patch -p1 $srcdir/cdfs-3.2.patch
+  patch -p1 $srcdir/cdfs-3.4.patch
+  make KDIR=/usr/lib/modules/${_kernverfull}/build
+  install -Dm0644 cdfs.ko 
$pkgdir/usr/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko
+  sed -i s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH| 
$startdir/cdfs.install
+}

Copied: cdfs/repos/community-testing-i686/cdfs-3.0.patch (from rev 83215, 
cdfs/trunk/cdfs-3.0.patch)
===
--- community-testing-i686/cdfs-3.0.patch   (rev 0)
+++ community-testing-i686/cdfs-3.0.patch   2013-01-28 13:38:18 UTC (rev 
83216)
@@ -0,0 +1,274 @@
+diff -wbBur cdfs-2.6.27/cddata.c cdfs-2.6.27.my/cddata.c
+--- cdfs-2.6.27/cddata.c   2009-12-21 17:04:03.0 +0300
 cdfs-2.6.27.my/cddata.c2011-07-24 21:18:44.0 +0400
+@@ -83,7 +83,7 @@
+ #else
+   .mmap = generic_file_readonly_mmap,
+ #if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,27)
+-  .sendfile = generic_file_sendfile
++//  .sendfile = generic_file_sendfile
+ #else
+   .splice_read  = generic_file_splice_read
+ #endif
+diff -wbBur cdfs-2.6.27/root.c cdfs-2.6.27.my/root.c
+--- cdfs-2.6.27/root.c 2009-12-21 16:38:31.0 +0300
 cdfs-2.6.27.my/root.c  2011-07-25 13:16:59.0 +0400
+@@ -32,19 +30,14 @@
+  *Added code to transform /proc/cdfs into a sequential synthetic file.  *
+  
**/
+ 
+-
+ #include linux/seq_file.h
+-
+-#ifndef OLD_KERNEL
+ #include linux/statfs.h
+-#endif
++#include linux/sched.h
+ 
+ extern struct seq_operations cdfs_operations;
+ extern struct _track_info *dummy_track_p;
+ 
+-#if LINUX_VERSION_CODE  KERNEL_VERSION(2,6,24) 
+ struct inode