# SliTaz package receipt. PACKED_SIZE="84.0K" UNPACKED_SIZE="268.0K" PACKAGE="module-cifs" VERSION="2.6.20" CATEGORY="base-system" GROUP="filesystem" SHORT_DESC="Kernel module for the cifs (samba) filesystem" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://tiny.slitaz.org/" DEPENDS="busybox-net" WANTED="linux" CONFIG_FILES="/etc/filesystems" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { local path export src=$WOK/$WANTED/source/linux-$VERSION export _pkg=$WOK/$WANTED/install path=lib/modules/$(ls $_pkg/lib/modules)/kernel mkdir -p $fs/$path $fs/etc $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | 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() { for i in nls_base cifs ; do grep -qs ^$i$ $1/modules || echo $i >> $1/modules done grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \ echo "${PACKAGE#*-}" >> $1/etc/filesystems } #cifs.ko: #parm=CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 #parm=cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 #parm=cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 #parm=cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256