wok rev 7286
Add linux-nfsd & linux-autofs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 16 13:44:50 2010 +0100 (2010-11-16) |
parents | 4d60a47b5df0 |
children | 547a87ca6aa4 |
files | linux-autofs/receipt linux-nfsd/receipt linux/stuff/linux-2.6.36-slitaz.config nfs-utils/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux-autofs/receipt Tue Nov 16 13:44:50 2010 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linux-autofs" 1.7 +VERSION="2.6.36" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="The Linux kernel automounter module." 1.10 +MAINTAINER="devel@slitaz.org" 1.11 +DEPENDS="linux" 1.12 +WANTED="linux" 1.13 +WEB_SITE="http://www.kernel.org/" 1.14 +CONFIG_FILES="/etc/filesystems" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + local path 1.20 + path=lib/modules/$VERSION-slitaz/kernel 1.21 + mkdir -p $fs/$path $fs/etc 1.22 + export src 1.23 + export _pkg 1.24 + $src/slitaz/list_modules.sh fs/autofs | while read module; do 1.25 + dir=$path/$(dirname $module) 1.26 + [ -d $fs/$dir ] || mkdir -p $fs/$dir 1.27 + cp -a $_pkg/$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 + depmod -a $VERSION-slitaz 1.44 +} 1.45 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/linux-nfsd/receipt Tue Nov 16 13:44:50 2010 +0100 2.3 @@ -0,0 +1,42 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="linux-nfsd" 2.7 +VERSION="2.6.36" 2.8 +CATEGORY="base-system" 2.9 +SHORT_DESC="The Linux kernel NFS server module." 2.10 +MAINTAINER="devel@slitaz.org" 2.11 +DEPENDS="linux" 2.12 +WANTED="linux" 2.13 +WEB_SITE="http://www.kernel.org/" 2.14 +CONFIG_FILES="/etc/filesystems" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + local path 2.20 + path=lib/modules/$VERSION-slitaz/kernel 2.21 + mkdir -p $fs/$path $fs/etc 2.22 + export src 2.23 + export _pkg 2.24 + $src/slitaz/list_modules.sh fs/nfsd | while read module; do 2.25 + dir=$path/$(dirname $module) 2.26 + [ -d $fs/$dir ] || mkdir -p $fs/$dir 2.27 + cp -a $_pkg/$path/$module $fs/$dir 2.28 + done 2.29 + touch $fs/etc/filesystems 2.30 +} 2.31 + 2.32 +# Post install/remove commands for Tazpkg. 2.33 +post_install() 2.34 +{ 2.35 + grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \ 2.36 + echo "${PACKAGE#*-}" >> $1/etc/filesystems 2.37 + chroot "$1/" depmod -a $VERSION-slitaz 2.38 +} 2.39 + 2.40 +post_remove() 2.41 +{ 2.42 + sed -i "/^${PACKAGE#*-}\$/d" $1/etc/filesystems 2.43 + depmod -a $VERSION-slitaz 2.44 +} 2.45 +
3.1 --- a/linux/stuff/linux-2.6.36-slitaz.config Tue Nov 16 10:46:29 2010 +0100 3.2 +++ b/linux/stuff/linux-2.6.36-slitaz.config Tue Nov 16 13:44:50 2010 +0100 3.3 @@ -3206,7 +3206,7 @@ 3.4 # CONFIG_QFMT_V1 is not set 3.5 # CONFIG_QFMT_V2 is not set 3.6 CONFIG_QUOTACTL=y 3.7 -# CONFIG_AUTOFS_FS is not set 3.8 +CONFIG_AUTOFS_FS=m 3.9 # CONFIG_AUTOFS4_FS is not set 3.10 CONFIG_FUSE_FS=y 3.11 CONFIG_CUSE=m 3.12 @@ -3293,7 +3293,11 @@ 3.13 CONFIG_NFS_V3=y 3.14 CONFIG_NFS_V3_ACL=y 3.15 # CONFIG_NFS_V4 is not set 3.16 -# CONFIG_NFSD is not set 3.17 +CONFIG_NFSD=m 3.18 +CONFIG_NFSD_V2_ACL=y 3.19 +CONFIG_NFSD_V3=y 3.20 +CONFIG_NFSD_V3_ACL=y 3.21 +# CONFIG_NFSD_V4 is not set 3.22 CONFIG_LOCKD=y 3.23 CONFIG_LOCKD_V4=y 3.24 CONFIG_EXPORTFS=y
4.1 --- a/nfs-utils/receipt Tue Nov 16 10:46:29 2010 +0100 4.2 +++ b/nfs-utils/receipt Tue Nov 16 13:44:50 2010 +0100 4.3 @@ -8,7 +8,7 @@ 4.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.5 WEB_SITE="http://nfs.sourceforge.net/" 4.6 WGET_URL="$SF_MIRROR/nfs/$PACKAGE/$VERSION/$TARBALL" 4.7 -DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind" 4.8 +DEPENDS="libtirpc libwrap util-linux-ng-blkid util-linux-ng-uuid rpcbind linux-nfsd" 4.9 BUILD_DEPENDS="libtirpc-dev util-linux-ng-blkid-dev libcap-dev" 4.10 CONFIG_FILES="/etc/exports" 4.11 TAGS="filesystem"