summaryrefslogtreecommitdiff
path: root/nfs-utils/Pkgfile
blob: 810310041ec70fc133cbec90f681c544dc5c91ac (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 udev libcap rpcbind libnfsidmap libevent keyutils sqlite3
    5 
    6 name=nfs-utils
    7 version=1.3.0
    8 release=1
    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                 --enable-libmount-mount 
   22     make
   23     install -d $PKG/sbin
   24     make DESTDIR=$PKG install
   25 
   26     install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
   27     install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
   28     install -D -m 644 $SRC/exports $PKG/etc/exports
   29     install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
   30 
   31     install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
   32     install -d $PKG/etc/exports.d
   33     
   34     # force rpc.statd to run as user nobody
   35     chown nobody $PKG/var/lib/nfs
   36 }

Generated by cgit