wok-next view nfs-utils/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | d43bf7aae921 |
children | 85b44ac91d12 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nfs-utils"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Network FileSystem tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://nfs.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/nfs/$TARBALL"
14 BUILD_DEPENDS="libtirpc-dev libcap-dev libwrap-dev util-linux-blkid-dev \
15 util-linux-uuid-dev util-linux-blkid"
17 compile_rules() {
18 #sh autogen.sh
19 ./configure \
20 --disable-nfsv4 \
21 --disable-gss \
22 $CONFIGURE_ARGS &&
23 make &&
24 make install || return 1
26 cp -a $stuff/* $install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="libtirpc libwrap libcap util-linux-blkid util-linux-uuid rpcbind \
32 linux-nfsd"
33 CONFIG_FILES="/etc/exports"
34 TAGS="filesystem"
35 }
37 post_install() {
38 grep ^nfs "$1/etc/services" ||
39 sed -i 's|.* 2401/tcp.*|nfs 2049/tcp\nnfs 2049/udp\n&|' "$1/etc/services"
40 [ -s "$1/etc/exports" ] || cat > "$1/etc/exports" <<EOT
41 #/home 192.168.0.0/255.255.255.0(rw,subtree_check)
42 EOT
43 }