2. Updated for 0.1.4.
+Mon Dec 6 09:42:45 1999 H.J. Lu <hjl@lucon.org>
+
+ * configure.in (VERSION): Set to "0.1.4".
+ * configure: Regenerated.
+ * nfs-utils.spec: Updated.
+
+ * README: Updated.
+
+Mon Dec 6 09:28:07 1999 H.J. Lu <hjl@lucon.org>
+
+ * nfs-utils.spec.in: New file.
+
+ * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
+
+ * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
+
1999-12-04 Chip Salzenberg <chip@valinux.com>
* config.mk.in: Use $(CC) as set by configure.
-This is the Linux NFS utility package version 0.1.3. It is based on
+This is the Linux NFS utility package version 0.1.4. It is based on
knfsd 1.4.7.
WARNING: The NFS servers in Linux 2.2 to 2.2.13 are not compatible with
The files are
-ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.3.tar.gz
-ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.2-0.1.3.diff.gz
+ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.4.tar.gz
+ftp://ftp.linuxnfs.sourceforge.org/pub/nfs/nfs-utils-0.1.3-0.1.4.diff.gz
To compile, just do
On RedHat 6.1, you can use
-# rpm -ta nfs-utils-0.1.3.tar.gz
+# rpm -ta nfs-utils-0.1.4.tar.gz
to build the source and binary RPMs.
H.J.
hjl@lucon.org
-11/29/99
+12/06/99
# Configuration stuff for nfs-utils
#
-VERSION = @VERSION@
+VERSION = nfs-utils @VERSION@
prefix = $(install_prefix)@prefix@
exec_prefix = $(install_prefix)@prefix@
# The nfs-utils version
-VERSION="nfs-utils 0.1.3"
+VERSION="0.1.4"
# Check whether --with-statedir or --without-statedir was given.
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "config.mk support/include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "config.mk nfs-utils.spec support/include/config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"config.mk"}
+CONFIG_FILES=\${CONFIG_FILES-"config.mk nfs-utils.spec"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
AC_PREFIX_DEFAULT(/usr)
# The nfs-utils version
-VERSION="nfs-utils 0.1.3"
+VERSION="0.1.4"
AC_SUBST(VERSION)
dnl *************************************************************
AC_SUBST(LDFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(CFLAGS)
-AC_OUTPUT(config.mk)
+AC_OUTPUT(config.mk nfs-utils.spec)
Summary: The utilities for Linux NFS client and server.
Name: nfs-utils
-Version: 0.1.3
+Version: 0.1.4
Release: 1
Source0: ftp://ftp.valinux.com/pub/support/hjl/nfs/%{name}-%{version}.tar.gz
Group: System Environment/Daemons
--- /dev/null
+Summary: The utilities for Linux NFS client and server.
+Name: nfs-utils
+Version: @VERSION@
+Release: 1
+Source0: ftp://ftp.valinux.com/pub/support/hjl/nfs/%{name}-%{version}.tar.gz
+Group: System Environment/Daemons
+Obsoletes: nfs-server nfs-server-clients knfsd knfsd-clients knfsd-lock
+Provides: nfs-server nfs-server-clients knfsd knfsd-clients knfsd-lock
+Copyright: GPL
+ExcludeArch: armv4l
+Buildroot: /var/tmp/%{name}-root
+Serial: 1
+Requires: kernel >= 2.2.5, portmap >= 4.0
+
+%description
+The nfs-utils package provides the utilities for Linux NFS client and
+server.
+
+%prep
+%setup -q
+
+%build
+./configure
+make all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/{sbin,man/man5,man/man8}}
+mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
+mkdir -p $RPM_BUILD_ROOT/dev
+
+make install install_prefix=$RPM_BUILD_ROOT
+install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT/sbin
+install -m 755 etc/redhat/nfsd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
+install -m 755 etc/redhat/nfslock.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add nfs
+/sbin/chkconfig --add nfslock
+
+%preun
+if [ "$1" = "0" ]; then
+ /sbin/chkconfig --del nfs
+ /sbin/chkconfig --del nfslock
+fi
+
+%files
+%defattr(-,root,root)
+/sbin/rpcdebug
+/usr/sbin/exportfs
+/usr/sbin/nfsstat
+/usr/sbin/nhfsstone
+/usr/sbin/rpc.lockd
+/usr/sbin/rpc.mountd
+/usr/sbin/rpc.nfsd
+/usr/sbin/rpc.rquotad
+/usr/sbin/rpc.statd
+/usr/sbin/showmount
+/usr/man/man5/exports.5
+/usr/man/man8/exportfs.8
+/usr/man/man8/mountd.8
+/usr/man/man8/nfsd.8
+/usr/man/man8/nfsstat.8
+/usr/man/man8/rpc.mountd.8
+/usr/man/man8/rpc.nfsd.8
+/usr/man/man8/rpc.statd.8
+/usr/man/man8/rpc.rquotad.8
+/usr/man/man8/rquotad.8
+/usr/man/man8/showmount.8
+/usr/man/man8/statd.8
+%config /etc/rc.d/init.d/nfs
+%config /etc/rc.d/init.d/nfslock
+%dir /var/lib/nfs
+%config(noreplace) /var/lib/nfs/xtab
+%config(noreplace) /var/lib/nfs/etab
+%config(noreplace) /var/lib/nfs/rmtab
+%doc README