wok-current diff linux64-aufs/receipt @ rev 22437

john: fix link, add to right place
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 22 16:03:18 2019 +0000 (2019-12-22)
parents 708b5293dd29
children 97e141edc8c2
line diff
     1.1 --- a/linux64-aufs/receipt	Thu Mar 15 11:24:25 2018 +0100
     1.2 +++ b/linux64-aufs/receipt	Sun Dec 22 16:03:18 2019 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="linux64-aufs"
     1.6  SOURCE="aufs"
     1.7 -VERSION="20130311"
     1.8 +VERSION="20150928"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="aufs3 kernel module"
    1.11  MAINTAINER="godane@slitaz.org"
    1.12 @@ -10,7 +10,7 @@
    1.13  WEB_SITE="http://aufs.sf.net/"
    1.14  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.15  WGET_URL="git|git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git"
    1.16 -BRANCH="origin/${PACKAGE}3.2"
    1.17 +BRANCH="origin/${PACKAGE}3.16"
    1.18  PROVIDE="aufs:linux64"
    1.19  
    1.20  DEPENDS="linux64"
    1.21 @@ -34,10 +34,10 @@
    1.22  		-e 's|CONFIG_AUFS_DEBUG =.*|CONFIG_AUFS_DEBUG =|' config.mk
    1.23  
    1.24  	# The sed fixes are from gentoo portage build.
    1.25 +	sed -i "s:aufs.ko usr/include/uapi/linux/aufs_type.h:aufs.ko:g" Makefile
    1.26  	sed -i "s:aufs.ko usr/include/linux/aufs_type.h:aufs.ko:g" Makefile
    1.27 -	sed -i "s:__user::g" include/linux/aufs_type.h
    1.28 -
    1.29 -	# Linux 3.2.71 support
    1.30 +	sed -i "s:__user::g" include/uapi/linux/aufs_type.h
    1.31 +	
    1.32  	sed -i 's/d_u.d_child/d_child/' fs/aufs/dcsub.c fs/aufs/hnotify.c
    1.33  	sed -i 's/ d_alias/ d_u.d_alias/' fs/aufs/hnotify.c fs/aufs/export.c
    1.34  
    1.35 @@ -49,20 +49,21 @@
    1.36  genpkg_rules()
    1.37  {
    1.38  	EXTRAVERSION=_${kvers}
    1.39 -	mkdir -p $fs/lib/modules/${kvers}-slitaz64/kernel/fs/aufs
    1.40 +	mkdir -p $fs/lib/modules/${kvers}-slitaz64/kernel/fs/aufs \
    1.41 +		$install/usr/include/linux
    1.42  	install -o root -m 0644 $src/fs/aufs/aufs.ko.xz \
    1.43  		$fs/lib/modules/${kvers}-slitaz64/kernel/fs/aufs/aufs.ko.xz
    1.44 -	install -D -o root -m 0644 $src/include/linux/aufs_type.h \
    1.45 -		$fs/usr/include/linux/aufs_type.h
    1.46 +	install -o root -m 0644 $src/include/uapi/linux/aufs_type.h \
    1.47 +		$install/usr/include/linux/aufs_type.h
    1.48  }
    1.49  
    1.50  # Post install/remove commands for Tazpkg.
    1.51  post_install()
    1.52  {
    1.53 -	chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.54 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.55  }
    1.56  
    1.57  post_remove()
    1.58  {
    1.59 -	chroot "$root/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.60 +	chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
    1.61  }