wok rev 20635

Add linux-ecryptfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 18:37:33 2019 +0100 (2019-01-08)
parents 57d97be431f4
children 60a61a9abccd
files linux-ecryptfs/receipt linux-libre-ecryptfs/receipt linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config linux/stuff/linux-slitaz.config linux/stuff/linux-slitaz.config64 linux64-ecryptfs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux-ecryptfs/receipt	Tue Jan 08 18:37:33 2019 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linux-ecryptfs"
     1.7 +VERSION="3.16.55"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The Linux kernel ecryptfs module."
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +DEPENDS="linux"
    1.13 +WANTED="linux"
    1.14 +WEB_SITE="https://www.kernel.org/"
    1.15 +CONFIG_FILES="/etc/filesystems"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +    local path
    1.21 +    path=lib/modules/$VERSION-slitaz/kernel
    1.22 +    mkdir -p $fs/$path $fs/etc
    1.23 +    export src install
    1.24 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    1.25 +    	dir=$path/$(dirname $module)
    1.26 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.27 +        cp -a $install/$path/$module $fs/$dir
    1.28 +    done
    1.29 +    touch $fs/etc/filesystems
    1.30 +}
    1.31 +
    1.32 +# Post install/remove commands for Tazpkg.
    1.33 +post_install()
    1.34 +{
    1.35 +	grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
    1.36 +		echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
    1.37 +	chroot "$1/" depmod -a $VERSION-slitaz
    1.38 +}
    1.39 +
    1.40 +post_remove()
    1.41 +{
    1.42 +	sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
    1.43 +	chroot "$1/" depmod -a $VERSION-slitaz
    1.44 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux-libre-ecryptfs/receipt	Tue Jan 08 18:37:33 2019 +0100
     2.3 @@ -0,0 +1,43 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="linux-libre-ecryptfs"
     2.7 +VERSION="3.18.129-gnu"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="The Linux Libre kernel ecryptfs module."
    2.10 +MAINTAINER="gokhlayeh@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +PROVIDE="linux-ecryptfs"
    2.13 +DEPENDS="linux-libre"
    2.14 +WANTED="linux-libre"
    2.15 +WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/"
    2.16 +CONFIG_FILES="/etc/filesystems"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +    local path
    2.22 +    path=lib/modules/$VERSION-slitaz/kernel
    2.23 +    mkdir -p $fs/$path $fs/etc
    2.24 +    export src
    2.25 +    export _pkg
    2.26 +    $wanted_stuff/list_modules.sh fs/${PACKAGE##*-} | while read module; do
    2.27 +    	dir=$path/$(dirname $module)
    2.28 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    2.29 +        cp -a $install/$path/$module $fs/$dir
    2.30 +    done
    2.31 +    touch $fs/etc/filesystems
    2.32 +}
    2.33 +
    2.34 +# Post install/remove commands for Tazpkg.
    2.35 +post_install()
    2.36 +{
    2.37 +	grep -qs ^${PACKAGE##*-}$ "$1/etc/filesystems" || \
    2.38 +		echo "${PACKAGE##*-}" >> "$1/etc/filesystems"
    2.39 +	chroot "$1/" depmod -a $VERSION-slitaz
    2.40 +}
    2.41 +
    2.42 +post_remove()
    2.43 +{
    2.44 +	sed -i "/^${PACKAGE##*-}\$/d" "$1/etc/filesystems"
    2.45 +	chroot "$1/" depmod -a $VERSION-slitaz
    2.46 +}
     3.1 --- a/linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config	Tue Jan 08 17:51:51 2019 +0100
     3.2 +++ b/linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config	Tue Jan 08 18:37:33 2019 +0100
     3.3 @@ -5502,7 +5502,8 @@
     3.4  CONFIG_MISC_FILESYSTEMS=y
     3.5  # CONFIG_ADFS_FS is not set
     3.6  # CONFIG_AFFS_FS is not set
     3.7 -# CONFIG_ECRYPT_FS is not set
     3.8 +CONFIG_ECRYPT_FS=m
     3.9 +CONFIG_ECRYPT_FS_MESSAGING=y
    3.10  CONFIG_HFS_FS=m
    3.11  CONFIG_HFSPLUS_FS=m
    3.12  CONFIG_HFSPLUS_FS_POSIX_ACL=y
     4.1 --- a/linux/stuff/linux-slitaz.config	Tue Jan 08 17:51:51 2019 +0100
     4.2 +++ b/linux/stuff/linux-slitaz.config	Tue Jan 08 18:37:33 2019 +0100
     4.3 @@ -5456,7 +5456,8 @@
     4.4  CONFIG_MISC_FILESYSTEMS=y
     4.5  # CONFIG_ADFS_FS is not set
     4.6  # CONFIG_AFFS_FS is not set
     4.7 -# CONFIG_ECRYPT_FS is not set
     4.8 +CONFIG_ECRYPT_FS=m
     4.9 +CONFIG_ECRYPT_FS_MESSAGING=y
    4.10  CONFIG_HFS_FS=m
    4.11  CONFIG_HFSPLUS_FS=m
    4.12  CONFIG_HFSPLUS_FS_POSIX_ACL=y
     5.1 --- a/linux/stuff/linux-slitaz.config64	Tue Jan 08 17:51:51 2019 +0100
     5.2 +++ b/linux/stuff/linux-slitaz.config64	Tue Jan 08 18:37:33 2019 +0100
     5.3 @@ -4959,7 +4959,8 @@
     5.4  CONFIG_MISC_FILESYSTEMS=y
     5.5  # CONFIG_ADFS_FS is not set
     5.6  # CONFIG_AFFS_FS is not set
     5.7 -# CONFIG_ECRYPT_FS is not set
     5.8 +CONFIG_ECRYPT_FS=m
     5.9 +CONFIG_ECRYPT_FS_MESSAGING=y
    5.10  CONFIG_HFS_FS=m
    5.11  CONFIG_HFSPLUS_FS=m
    5.12  CONFIG_HFSPLUS_FS_POSIX_ACL=y
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/linux64-ecryptfs/receipt	Tue Jan 08 18:37:33 2019 +0100
     6.3 @@ -0,0 +1,45 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="linux64-ecryptfs"
     6.7 +VERSION="3.16.55"
     6.8 +CATEGORY="base-system"
     6.9 +SHORT_DESC="The Linux kernel ecryptfs module."
    6.10 +MAINTAINER="devel@slitaz.org"
    6.11 +LICENSE="GPL2"
    6.12 +DEPENDS="linux64"
    6.13 +WANTED="linux"
    6.14 +PROVIDE="linux-ecryptfs:linux64"
    6.15 +WEB_SITE="https://www.kernel.org/"
    6.16 +CONFIG_FILES="/etc/filesystems"
    6.17 +
    6.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.19 +genpkg_rules()
    6.20 +{
    6.21 +    local path
    6.22 +    src=$WOK/linux64/source/tmp
    6.23 +    install=$install/linux64
    6.24 +    path=lib/modules/$VERSION-slitaz64/kernel
    6.25 +    mkdir -p $fs/$path $fs/etc
    6.26 +    export src
    6.27 +    export install
    6.28 +    $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do
    6.29 +    	dir=$path/$(dirname $module)
    6.30 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    6.31 +        cp -a $install/$path/$module $fs/$dir
    6.32 +    done
    6.33 +    touch $fs/etc/filesystems
    6.34 +}
    6.35 +
    6.36 +# Post install/remove commands for Tazpkg.
    6.37 +post_install()
    6.38 +{
    6.39 +	grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \
    6.40 +		echo "${PACKAGE#*-}" >> "$1/etc/filesystems"
    6.41 +	chroot "$1/" depmod -a $VERSION-slitaz64
    6.42 +}
    6.43 +
    6.44 +post_remove()
    6.45 +{
    6.46 +	sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems"
    6.47 +	chroot "$1/" depmod -a $VERSION-slitaz64
    6.48 +}