Package-Name: nfs-utils
Gentoo-Package: net-fs/nfs-utils
Conflicts: nfs-server
Requires: e2fsprogs
Source: ftp://ftp.kernel.org/pub/linux/utils/nfs/nfs-utils-(\d+(.\d+)+).tar.bz2 $1
Zap-Before-Install: 1
Repack:
	tar xjvfp "$(SOURCE)"
Compile:
	mv -f AUTHORS COPYING Change* NEWS README "$(PREFIX)/"
	$(MAKE) -f ../Makefile configure CUSTOM_CFLAGS="`pkg-config --cflags blkid`" CUSTOM_LDFLAGS="`pkg-config --libs-only-L blkid`" CONFIGURE_OPTS="--mandir='$(PREFIX)'/man --with-statedir=/var/state/nfs --with-statduser=nobody --without-tcp-wrappers --disable-nfsv4 --disable-gss"
	$(MAKE)
	$(MAKE) install
Install:
	$(MAKE) instsbin SBIN="exportfs nfsstat rpc.lockd rpc.mountd rpc.nfsd rpc.rquotad rpc.statd rpcdebug showmount"
	$(MAKE) instman SECTION=5 MAN=exports
	$(MAKE) instman SECTION=7 MAN=nfsd
	$(MAKE) instman SECTION=8 MAN="exportfs lockd mountd nfsd nfsstat rpc.lockd rpc.mountd rpc.nfsd rpc.rquotad rpc.statd rpcdebug rquotad showmount statd"
Patch: <<EOT
######## begin -lblkid configure patch
--- configure.old	2007-05-11 12:43:34 +0900
+++ configure	2007-07-16 23:36:21 +0900
@@ -22635,7 +22635,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lblkid  $LIBS"
+LIBS="-lblkid -luuid  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -22691,7 +22691,7 @@
 { echo "$as_me:$LINENO: result: $ac_cv_lib_blkid_blkid_get_library_version" >&5
 echo "${ECHO_T}$ac_cv_lib_blkid_blkid_get_library_version" >&6; }
 if test $ac_cv_lib_blkid_blkid_get_library_version = yes; then
-  LIBBLKID="-lblkid"
+  LIBBLKID="-lblkid -luuid"
 else
   { { echo "$as_me:$LINENO: error: libblkid needed" >&5
 echo "$as_me: error: libblkid needed" >&2;}
@@ -22845,7 +22845,7 @@
 else
 
     saved_LIBS="$LIBS"
-    LIBS=-lblkid
+    LIBS="-lblkid -luuid"
     if test "$cross_compiling" = yes; then
   libblkid_is_recent=unknown
 else
######## end -lblkid configure patch
EOT

/pkg/nfs-utils/
/usr/man/man5/exports.5.gz
/usr/man/man8/exportfs.8.gz
/usr/man/man8/lockd.8.gz
/usr/man/man8/mountd.8.gz
/usr/man/man8/nfsd.8.gz
/usr/man/man8/nfsstat.8.gz
/usr/man/man8/rpc.lockd.8.gz
/usr/man/man8/rpc.mountd.8.gz
/usr/man/man8/rpc.nfsd.8.gz
/usr/man/man8/rpc.rquotad.8.gz
/usr/man/man8/rpc.statd.8.gz
/usr/man/man8/rpcdebug.8.gz
/usr/man/man8/rquotad.8.gz
/usr/man/man8/showmount.8.gz
/usr/man/man8/statd.8.gz
/usr/sbin/exportfs
/usr/sbin/nfsstat
/usr/sbin/rpc.lockd
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/usr/sbin/rpc.rquotad
/usr/sbin/rpc.statd
/usr/sbin/rpcdebug
/usr/sbin/showmount
/var/state/nfs/
