summaryrefslogtreecommitdiff
path: root/nfs-utils/Pkgfile
blob: b15735104836130ea8645c95d6ba8915fe856f1b (plain)
    1 # Description: NFS utilities 
    2 # URL:         http://nfs.sourceforge.net/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  util-linux-ng tcp_wrappers libcap rpcbind libnfsidmap libevent keyutils
    5 
    6 name=nfs-utils
    7 version=1.2.5
    8 release=2
    9 source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
   10         exports idmapd.conf nfs nfsserver)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     ./configure --prefix=/usr \
   16                 --mandir=/usr/man \
   17                 --sysconfdir=/etc \
   18                 --with-statedir=/var/lib/nfs \
   19                 --disable-gss \
   20                 --with-tcp-wrappers
   21     make
   22     make DESTDIR=$PKG install
   23 
   24     install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
   25     install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
   26     install -D -m 644 $SRC/exports $PKG/etc/exports
   27     install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
   28 
   29     install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
   30     install -d $PKG/etc/exports.d
   31     
   32     # force rpc.statd to run as user nobody
   33     chown nobody $PKG/var/lib/nfs
   34 }

Generated by cgit