[arch-commits] Commit in cdfs/trunk (PKGBUILD cdfs-3.8.patch)
Evangelos Foutras
foutrelis at nymeria.archlinux.org
Thu Feb 21 03:59:35 UTC 2013
Date: Thursday, February 21, 2013 @ 04:59:35
Author: foutrelis
Revision: 84657
upgpkg: cdfs 2.6.27-37
Linux 3.8 rebuild.
Added:
cdfs/trunk/cdfs-3.8.patch
Modified:
cdfs/trunk/PKGBUILD
----------------+
PKGBUILD | 13 ++++++++-----
cdfs-3.8.patch | 11 +++++++++++
2 files changed, 19 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-21 03:29:10 UTC (rev 84656)
+++ PKGBUILD 2013-02-21 03:59:35 UTC (rev 84657)
@@ -4,7 +4,7 @@
pkgname=cdfs
pkgver=2.6.27
-pkgrel=36
+pkgrel=37
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/"
@@ -14,27 +14,30 @@
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")
+ "cdfs-3.4.patch"
+ "cdfs-3.8.patch")
md5sums=('ac64c014a90e3c488394832ea29605b3'
'aba7da94a9dcbb8a93ea423cb6958fef'
'e934407b3460257a301822ffc4ab3933'
- '9215e7bdac728bd2f889fb525e543454')
+ '9215e7bdac728bd2f889fb525e543454'
+ 'fbc4592fc8d47e9a7b9db22da2acb8f8')
_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}" "linux<3.`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
+ patch -p1 <$srcdir/cdfs-3.8.patch
make KDIR=/usr/lib/modules/${_kernverfull}/build
sed -i "s|extramodules-.*-ARCH|extramodules-3.${_kernver}-ARCH|" $startdir/cdfs.install
}
package() {
+ depends=("linux>=3.${_kernver}" "linux<3.`expr ${_kernver} + 1`")
+
cd $srcdir/$pkgname-$pkgver
install -Dm0644 cdfs.ko $pkgdir/usr/lib/modules/extramodules-3.${_kernver}-ARCH/cdfs.ko
}
Added: cdfs-3.8.patch
===================================================================
--- cdfs-3.8.patch (rev 0)
+++ cdfs-3.8.patch 2013-02-21 03:59:35 UTC (rev 84657)
@@ -0,0 +1,11 @@
+diff -upr cdfs-2.6.27.orig/daemon.c cdfs-2.6.27/daemon.c
+--- cdfs-2.6.27.orig/daemon.c 2013-02-21 05:51:10.000000000 +0200
++++ cdfs-2.6.27/daemon.c 2013-02-21 05:56:55.000000000 +0200
+@@ -158,7 +158,6 @@ int kcdfsd_thread(void *unused){
+ exit_files(current); /* daemonize doesn't do exit_files */
+ daemonize();
+ #else
+- daemonize("k"FSNAME"d");
+
+ /* Allow SIGTERM to quit properly when removing module */
+ /* By default with daemonize all signals are dropped */
More information about the arch-commits
mailing list