wok-tiny view module-cifs/receipt @ rev 155

plop/bootloader.S: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 12 12:05:54 2019 +0200 (2019-10-12)
parents 0d8ef9102fc0
children a28c45a86936
line source
1 # SliTaz package receipt.
3 PACKAGE="module-cifs"
4 VERSION="2.6.14"
5 CATEGORY="base-system"
6 GROUP="filesystem"
7 SHORT_DESC="Kernel module for the cifs (samba) filesystem"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://tiny.slitaz.org/"
11 WANTED="linux"
12 CONFIG_FILES="/etc/filesystems"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 local path
18 export src=$WOK/$WANTED/source/linux-$VERSION
19 export _pkg=$WOK/$WANTED/install
20 path=lib/modules/$(ls $_pkg/lib/modules)/kernel
21 mkdir -p $fs/$path $fs/etc
22 $src/slitaz/list_modules.sh fs/${PACKAGE#*-} | while read module; do
23 dir=$path/$(dirname $module)
24 [ -d $fs/$dir ] || mkdir -p $fs/$dir
25 cp -a $_pkg/$path/$module $fs/$dir
26 done
27 touch $fs/etc/filesystems
28 }
30 # Post install/remove commands for Tazpkg.
31 post_install()
32 {
33 for i in nls_base cifs ; do
34 grep -qs ^$i$ $1/modules || echo $i >> $1/modules
35 done
36 grep -qs ^${PACKAGE#*-}$ $1/etc/filesystems || \
37 echo "${PACKAGE#*-}" >> $1/etc/filesystems
38 }
40 #cifs.ko:
41 #parm=CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048
42 #parm=cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64
43 #parm=cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256
44 #parm=cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256