Sisyphus repository
Last update: 2018-07-22 12:06:53 +0400 | SRPMs: 18630 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 2.2beta51-alt1.qa1
p8: 2.2beta51-alt1.qa1
p7: 2.2beta51-alt1.qa1
t7: 2.2beta51-alt1.qa1
Platform6: 2.2beta51-alt1
t6: 2.2beta51-alt1
Platform5: 2.2beta51-alt1
5.1: 2.2beta51-alt1

Group :: Networking/Other
Source RPM: nfs-server-userland

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/1)   Repocop 

Raw spec file

Name: nfs-server-userland
%define sname nfs-server
License: GPL
Group: Networking/Other
Requires: portmap
Conflicts: nfs-server
Version: 2.2beta51
Release: alt1.qa1
Summary: Userspace NFS server daemons
Source: %sname-2.2beta47.tar.bz2
Source1: nfs.init
Source2: rpc.ugidd.init
Patch0: %sname-2.2b47-2.2b51.patch
Patch1: %sname-%version-destdir.patch
Patch2: %sname-%version-manpages.patch
Patch3: %sname-%version-strsignal.patch
Patch4: %sname-%version-sys-time.patch
Patch5: %sname-%version-reiserfs.patch
Patch6: %sname-%version-map.patch
Patch7: %sname-%version-configure.patch
Patch8: %sname-%version-multirw.patch
Patch9: %sname-%version-rmtab.patch

# Automatically added by buildreq on Fri Jan 09 2004

BuildRequires: libwrap-devel

The NFS server daemons are needed when you wish to export directories
on your machine to other hosts via the NFS protocol.

There are 2 NFS Server: the userspace NFS server and the kernel NFS
server. This package contains the userspace NFS server. The utilities
for the kernel NFS server can be found in the "nfs-utils" package.

For quota over NFS support please install the "quota" package.

%setup -n %sname-2.2beta47 -q
%patch0 -p1
%patch9 -p1

%configure \
        --enable-ugid-dynamic \
        --enable-ugid-nis \
        --enable-host-access \
        --with-exports-uid=0 \
        --with-exports-gid=0 \
        --enable-mount-logging \

mkdir -p $RPM_BUILD_ROOT/var/lib/nfs
install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -m 744 %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
install -m 744 %SOURCE2 $RPM_BUILD_ROOT/etc/rc.d/init.d/ugidd
rm -f $RPM_BUILD_ROOT/usr/sbin/showmount
rm -f $RPM_BUILD_ROOT/usr/share/man/man8/showmount*

%post_service nfs

%preun_service nfs

%doc %_mandir/man?/*

* Fri Apr 19 2013 Dmitry V. Levin (QA) <qa_ldv at> 2.2beta51-alt1.qa1
- NMU: rebuilt for updated dependencies.

* Tue Jan 13 2004 Anton Farygin <rider at> 2.2beta51-alt1
- first build for Sisyphus

© 2009–2018 Igor Zubkov