# HG changeset patch # User Pascal Bellard # Date 1289911490 -3600 # Node ID 9cebb5153a070874437fd912befdb09df53adb54 # Parent 4d60a47b5df08c760884b0af99736c326af70f29 Add linux-nfsd & linux-autofs diff -r 4d60a47b5df0 -r 9cebb5153a07 linux-autofs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-autofs/receipt Tue Nov 16 13:44:50 2010 +0100 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux-autofs" +VERSION="2.6.36" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel automounter module." +MAINTAINER="devel@slitaz.org" +DEPENDS="linux" +WANTED="linux" +WEB_SITE="http://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 + export _pkg + $src/slitaz/list_modules.sh fs/autofs | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$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 + depmod -a $VERSION-slitaz +} + diff -r 4d60a47b5df0 -r 9cebb5153a07 linux-nfsd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux-nfsd/receipt Tue Nov 16 13:44:50 2010 +0100 @@ -0,0 +1,42 @@ +# SliTaz package receipt. + +PACKAGE="linux-nfsd" +VERSION="2.6.36" +CATEGORY="base-system" +SHORT_DESC="The Linux kernel NFS server module." +MAINTAINER="devel@slitaz.org" +DEPENDS="linux" +WANTED="linux" +WEB_SITE="http://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 + export _pkg + $src/slitaz/list_modules.sh fs/nfsd | while read module; do + dir=$path/$(dirname $module) + [ -d $fs/$dir ] || mkdir -p $fs/$dir + cp -a $_pkg/$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 + depmod -a $VERSION-slitaz +} + diff -r 4d60a47b5df0 -r 9cebb5153a07 linux/stuff/linux-2.6.36-slitaz.config --- a/linux/stuff/linux-2.6.36-slitaz.config Tue Nov 16 10:46:29 2010 +0100 +++ b/linux/stuff/linux-2.6.36-slitaz.config Tue Nov 16 13:44:50 2010 +0100 @@ -3206,7 +3206,7 @@ # CONFIG_QFMT_V1 is not set # CONFIG_QFMT_V2 is not set CONFIG_QUOTACTL=y -# CONFIG_AUTOFS_FS is not set +CONFIG_AUTOFS_FS=m # CONFIG_AUTOFS4_FS is not set CONFIG_FUSE_FS=y CONFIG_CUSE=m @@ -3293,7 +3293,11 @@ CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y # CONFIG_NFS_V4 is not set -# CONFIG_NFSD is not set +CONFIG_NFSD=m +CONFIG_NFSD_V2_ACL=y +CONFIG_NFSD_V3=y +CONFIG_NFSD_V3_ACL=y +# CONFIG_NFSD_V4 is not set CONFIG_LOCKD=y CONFIG_LOCKD_V4=y CONFIG_EXPORTFS=y diff -r 4d60a47b5df0 -r 9cebb5153a07 nfs-utils/receipt --- a/nfs-utils/receipt Tue Nov 16 10:46:29 2010 +0100 +++ b/nfs-utils/receipt Tue Nov 16 13:44:50 2010 +0100 @@ -8,7 +8,7 @@ TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://nfs.sourceforge.net/" WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL" -DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind" +DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind linux-nfsd" BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev libcap-dev" CONFIG_FILES="/etc/exports" TAGS="filesystem"