# HG changeset patch # User Pascal Bellard # Date 1546969053 -3600 # Node ID 2c334466695f747c5ee6b7c111c0421e36e532b5 # Parent 57d97be431f44ca0b52044e07fd7c08d1e88a77a Add linux-ecryptfs diff -r 57d97be431f4 -r 2c334466695f linux-ecryptfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-ecryptfs/receipt Tue Jan 08 18:37:33 2019 +0100 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="linux-ecryptfs" +VERSION="3.16.55" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel ecryptfs module." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +DEPENDS="linux" +WANTED="linux" +WEB_SITE="https://www.kernel.org/" +CONFIG_FILES="/etc/filesystems" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path $fs/etc + export src install + $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + touch $fs/etc/filesystems +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \ + echo "${PACKAGE#*-}" >> "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz +} + +post_remove() +{ + sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz +} diff -r 57d97be431f4 -r 2c334466695f linux-libre-ecryptfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-libre-ecryptfs/receipt Tue Jan 08 18:37:33 2019 +0100 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="linux-libre-ecryptfs" +VERSION="3.18.129-gnu" +CATEGORY="base-system" +SHORT_DESC="The Linux Libre kernel ecryptfs module." +MAINTAINER="gokhlayeh@slitaz.org" +LICENSE="GPL2" +PROVIDE="linux-ecryptfs" +DEPENDS="linux-libre" +WANTED="linux-libre" +WEB_SITE="http://www.fsfla.org/svnwiki/selibre/linux-libre/" +CONFIG_FILES="/etc/filesystems" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + path=lib/modules/$VERSION-slitaz/kernel + mkdir -p $fs/$path $fs/etc + export src + export _pkg + $wanted_stuff/list_modules.sh fs/${PACKAGE##*-} | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + touch $fs/etc/filesystems +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + grep -qs ^${PACKAGE##*-}$ "$1/etc/filesystems" || \ + echo "${PACKAGE##*-}" >> "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz +} + +post_remove() +{ + sed -i "/^${PACKAGE##*-}\$/d" "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz +} diff -r 57d97be431f4 -r 2c334466695f linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config --- a/linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config Tue Jan 08 17:51:51 2019 +0100 +++ b/linux-libre/stuff/linux-libre-3.18.129-gnu-slitaz.config Tue Jan 08 18:37:33 2019 +0100 @@ -5502,7 +5502,8 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set -# CONFIG_ECRYPT_FS is not set +CONFIG_ECRYPT_FS=m +CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m CONFIG_HFSPLUS_FS_POSIX_ACL=y diff -r 57d97be431f4 -r 2c334466695f linux/stuff/linux-slitaz.config --- a/linux/stuff/linux-slitaz.config Tue Jan 08 17:51:51 2019 +0100 +++ b/linux/stuff/linux-slitaz.config Tue Jan 08 18:37:33 2019 +0100 @@ -5456,7 +5456,8 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set -# CONFIG_ECRYPT_FS is not set +CONFIG_ECRYPT_FS=m +CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m CONFIG_HFSPLUS_FS_POSIX_ACL=y diff -r 57d97be431f4 -r 2c334466695f linux/stuff/linux-slitaz.config64 --- a/linux/stuff/linux-slitaz.config64 Tue Jan 08 17:51:51 2019 +0100 +++ b/linux/stuff/linux-slitaz.config64 Tue Jan 08 18:37:33 2019 +0100 @@ -4959,7 +4959,8 @@ CONFIG_MISC_FILESYSTEMS=y # CONFIG_ADFS_FS is not set # CONFIG_AFFS_FS is not set -# CONFIG_ECRYPT_FS is not set +CONFIG_ECRYPT_FS=m +CONFIG_ECRYPT_FS_MESSAGING=y CONFIG_HFS_FS=m CONFIG_HFSPLUS_FS=m CONFIG_HFSPLUS_FS_POSIX_ACL=y diff -r 57d97be431f4 -r 2c334466695f linux64-ecryptfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-ecryptfs/receipt Tue Jan 08 18:37:33 2019 +0100 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="linux64-ecryptfs" +VERSION="3.16.55" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel ecryptfs module." +MAINTAINER="devel@slitaz.org" +LICENSE="GPL2" +DEPENDS="linux64" +WANTED="linux" +PROVIDE="linux-ecryptfs:linux64" +WEB_SITE="https://www.kernel.org/" +CONFIG_FILES="/etc/filesystems" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + local path + src=$WOK/linux64/source/tmp + install=$install/linux64 + path=lib/modules/$VERSION-slitaz64/kernel + mkdir -p $fs/$path $fs/etc + export src + export install + $wanted_stuff/list_modules.sh fs/${PACKAGE#*-} | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $install/$path/$module $fs/$dir + done + touch $fs/etc/filesystems +} + +# Post install/remove commands for Tazpkg. +post_install() +{ + grep -qs ^${PACKAGE#*-}$ "$1/etc/filesystems" || \ + echo "${PACKAGE#*-}" >> "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz64 +} + +post_remove() +{ + sed -i "/^${PACKAGE#*-}\$/d" "$1/etc/filesystems" + chroot "$1/" depmod -a $VERSION-slitaz64 +}