16abcdab67
apache: zlib aterm: xorg-libsm xorg-libxext conky: glib xorg-libxext cups-filters: cups evilwm: xorg-libxext geeqie: intltool gtk-engines: intltool gutenprint: ncurses readline lcms2: libjpeg-turbo zlib libpcap: eudev mc: ncurses mod_php: libxml2 xz mutt: ncurses mysql: ncurses openssl zlib nfs-utils: eudev ocaml: zlib php-fcgi: xz php-fpm: xz php: readline xz ruby: readline samba: talloc socat: ncurses sqlite3: ncurses sylpheed: openssl transmission-gtk: curl intltool
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# Description: NFS utilities
|
|
# URL: http://nfs.sourceforge.net/
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: util-linux libcap rpcbind libnfsidmap libevent keyutils sqlite3
|
|
|
|
name=nfs-utils
|
|
version=2.1.1
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2
|
|
exports idmapd.conf
|
|
nfs nfsclient nfsserver rpc.idmapd rpc.statd rpc.mountd rpc.nfsd)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--with-statedir=/var/lib/nfs \
|
|
--without-tcp-wrappers \
|
|
--disable-gss \
|
|
--enable-libmount-mount
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
install -d $PKG/etc/rc.d
|
|
|
|
install -m 755 $SRC/nfs{,client,server} $PKG/etc/rc.d/
|
|
install -m 755 $SRC/rpc.* $PKG/etc/rc.d/
|
|
install -m 644 $SRC/{exports,idmapd.conf} $PKG/etc/
|
|
|
|
install -m 644 utils/mount/nfsmount.conf $PKG/etc/
|
|
install -m 644 nfs.conf $PKG/etc/
|
|
|
|
install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery,nfsdcltrack}
|
|
install -d $PKG/etc/exports.d
|
|
|
|
# force rpc.statd to run as user nobody
|
|
chown nobody $PKG/var/lib/nfs
|
|
}
|