wok-current rev 20265
linux-module-headers: add include/linux/version.h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 15 17:57:37 2018 +0100 (2018-03-15) |
parents | d010061fa2dc |
children | b586ad58c401 |
files | aufs-utils/receipt linux-cloop/receipt linux-module-headers/receipt linux64-cloop/receipt linux64-module-headers/receipt lirc/receipt lirc64/receipt |
line diff
1.1 --- a/aufs-utils/receipt Thu Mar 15 15:50:34 2018 +0100 1.2 +++ b/aufs-utils/receipt Thu Mar 15 17:57:37 2018 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="aufs-utils" 1.7 -VERSION="20130311" 1.8 +VERSION="20150122" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="The aufs utils." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 @@ -9,7 +9,7 @@ 1.13 WEB_SITE="http://aufs.sourceforge.net/" 1.14 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs-util.git" 1.16 -BRANCH="origin/aufs3.0" 1.17 +BRANCH="origin/aufs3.14" 1.18 1.19 DEPENDS="aufs" 1.20 BUILD_DEPENDS="git linux-module-headers aufs" 1.21 @@ -18,7 +18,7 @@ 1.22 compile_rules() 1.23 { 1.24 KERNEL_VERSION=$(. $WOK/linux/receipt; echo $VERSION) 1.25 - sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c 1.26 + //sed -i 's|.*AUFS_XINO_TRUNC_|// &|' c2tmac.c 1.27 sed -i 's/-m 644 -T/-m 644/' Makefile 1.28 1.29 make &&
2.1 --- a/linux-cloop/receipt Thu Mar 15 15:50:34 2018 +0100 2.2 +++ b/linux-cloop/receipt Thu Mar 15 17:57:37 2018 +0100 2.3 @@ -19,9 +19,9 @@ 2.4 2.5 compile_rules() 2.6 { 2.7 -# patch -p0 < $stuff/cloop.u 2.8 -cp $stuff/cloop.h.v4.knx.P1 cloop.h 2.9 -cp $stuff/cloop.c.v4.knx.P1 cloop.c 2.10 + patch -p0 < $stuff/cloop.u # 3.2.98 2.11 + sed -i -e 's|file->f_path.mnt, file->f_path.dentry|\&file->f_path|' \ 2.12 + -e 's|bvec->|bvec.|g;s|*bvec|bvec|' cloop.c 2.13 make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 2.14 } 2.15
3.1 --- a/linux-module-headers/receipt Thu Mar 15 15:50:34 2018 +0100 3.2 +++ b/linux-module-headers/receipt Thu Mar 15 17:57:37 2018 +0100 3.3 @@ -16,6 +16,8 @@ 3.4 { 3.5 mkdir -p $fs/lib/modules/$KVERSION $fs/usr 3.6 cp -a $install/usr/src $fs/usr 3.7 + ln -s ../generated/uapi/linux/version.h \ 3.8 + $install/usr/src/linux-$VERSION-slitaz/include/linux/version.h 3.9 } 3.10 3.11 pre_remove() {
4.1 --- a/linux64-cloop/receipt Thu Mar 15 15:50:34 2018 +0100 4.2 +++ b/linux64-cloop/receipt Thu Mar 15 17:57:37 2018 +0100 4.3 @@ -22,7 +22,9 @@ 4.4 4.5 compile_rules() 4.6 { 4.7 - patch -p0 < $stuff/cloop.u 4.8 + patch -p0 < $stuff/cloop.u # 3.2.98 4.9 + sed -i -e 's|file->f_path.mnt, file->f_path.dentry|\&file->f_path|' \ 4.10 + -e 's|bvec->|bvec.|g;s|*bvec|bvec|' cloop.c 4.11 make KERNEL_DIR="/usr/src/linux" cloop.ko && xz cloop.ko 4.12 } 4.13
5.1 --- a/linux64-module-headers/receipt Thu Mar 15 15:50:34 2018 +0100 5.2 +++ b/linux64-module-headers/receipt Thu Mar 15 17:57:37 2018 +0100 5.3 @@ -16,6 +16,8 @@ 5.4 { 5.5 mkdir -p $fs/lib/modules/$KVERSION $fs/usr 5.6 cp -a $install/linux64/usr/src $fs/usr 5.7 + ln -s ../generated/uapi/linux/version.h \ 5.8 + $install/usr/src/linux-$VERSION-slitaz64/include/linux/version.h 5.9 } 5.10 5.11 pre_remove() {
6.1 --- a/lirc/receipt Thu Mar 15 15:50:34 2018 +0100 6.2 +++ b/lirc/receipt Thu Mar 15 17:57:37 2018 +0100 6.3 @@ -20,6 +20,7 @@ 6.4 compile_rules() 6.5 { 6.6 sed -i '/smp_lock.h/d' drivers/lirc_atiusb/lirc_atiusb.c 6.7 + sed -i 's|err(|printk(KERN_ERR|' drivers/*/*.c 6.8 6.9 # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 6.10 #echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility"
7.1 --- a/lirc64/receipt Thu Mar 15 15:50:34 2018 +0100 7.2 +++ b/lirc64/receipt Thu Mar 15 17:57:37 2018 +0100 7.3 @@ -25,6 +25,7 @@ 7.4 compile_rules() 7.5 { 7.6 sed -i '/smp_lock.h/d' drivers/lirc_atiusb/lirc_atiusb.c 7.7 + sed -i 's|err(|printk(KERN_ERR|' drivers/*/*.c 7.8 7.9 # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 7.10 #echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility"