info:nfs-server.spec -(devel+ stable)
Wojtek Slusarczyk
wojtek w SHADOW.EU.ORG
Pi±, 4 Wrz 1998, 18:53:58 CEST
Witam,
Przygotowalem pakiet z nfs'em:
Summary: NFS server daemons
Summary(pl): Serwer NFS
Name: nfs-server
Version: 2.2
Release: 1d
Copyright: GPL
Group: Networking/Daemons
Source0: ftp://ftp.mathematik.th-darmstadt.de/pub/linux/okir/%{name}-%{version}beta36.tar.gz
Source1: nfs.init
Source2: exportfs
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Patch: %{name}.patch.gz
Requires: portmap
Summary(de): NFS-Server-Dämonen
Summary(fr): Demon pour serveur NFS.
Summary(tr): NFS sunucu süreçleri
%description
The NFS and mount daemons are used to create an NFS server which
can export filesystems to other machines. This package is not
needed to mount NFS filesystems -- that functionality is already
in the Linux kernel.
%description -l pl
Pakiet ten zawiera demony NFS, które umo¿liwi± twojemu Linuxowi
udostêpnianie systemu plików innym maszynom. Pakiet ten nie jest
potrzebny do montowania systemu plików NFS - to umo¿liwia ju¿ j±dro.
%package clients
Summary: client apps for use with remote NFS servers
Summary(pl): Aplikacje klienckie
Group: Networking/Admin
Summary(de): Client-Apps zum Einsatz mit Remote-NFS-Servern
Summary(fr): Applis clientes à utiliser avec des serveurs NFS distants
Summary(tr): NFS sunucularına erişim için istemci tarafında kullanılan uygulamalar
%description clients
This package contains client programs that interact with NFS servers.
It is not needed to mount NFS volumes. At the moment the only program
in it is showmount, which can be used to show exported and mounted
filesystems.
%description -l pl clients
Pakiet ten zawiera oprogramowanie klienckie i nie jest potrzebny do
montowania systemu plików NFS, eksportowanych przez inne serwery.
%description -l de clients
Dieses Paket enthält Client-Programme, die mit NFS-Sservern interagieren.
Es wird zum Montieren von NFS-Volumes nicht benötigt. Momentan ist das
einzige darin enthaltene Programm Showmount, das benutzt werden kann,
um exportierte und montierte Dateisysteme anzuzeigen.
%description -l de
Die NFS- und Mount-Dämonen werden zum Erstellen eines NFS-Servers
benutzt, der Dateisysteme auf andere Computer exportieren kann.
Dieses Paket wird zum Montieren von NFS-Dateisysteme nicht benötigt,
da es sich um eine Funktion handelt, die bereits im Linux-Kernel
eingebaut ist.
%description -l fr clients
Ce paquetage contient les programmes client qui interagissent avec les
serveurs NFS. Il n'est pas nécessaire pour monter les volumes NFS. Pour
l'instant, il ne contient que showmount qui sert à montrer les systèmes
de fichiers exportés et montés.
%description -l fr
Les démons NFS et mount servent à créer un serveur NFS qui peut
exporter des systèmes de fichiers vers d'autres machines. Ce paquetage
n'est pas nécessaire pour monter des systèmes de fichiers NFS
-- cette fonctionnalité est déjà dans le noyau Linux.
%description -l tr clients
Bu paket şimdilik sadece showmount komutunu içermektedir. Bu komut, bir
makinanın başkalarının erişimine açtığı NFS dosya sistemlerini sorgulamak
için kullanılır.
%description -l tr
NFS ve mount sunucu süreçleri Linux sisteminizde yer alan dosya sistemlerini
NFS kullanarak başka makinalara paylaştırmanızı sağlayan sunuculardır. Bu
paket ile bilgisayarınızı bir NFS sunucusu olarak kullanabilirsiniz. Başka
sunuculardan NFS kullanarak dosya sistemlerini bağlayabilmeniz için bu
programlara gerek yoktur; bu özellik çekirdek içinde yer almaktadır.
%prep
%setup -q -n %{name}-%{version}beta36
%patch -p1
%build
./BUILD <<..EOF..
n
n
0
0
y
..EOF..
./configure --prefix=/usr
make CFLAGS="$RPM_OPT_FLAGS"
%install
make prefix=$RPM_BUILD_ROOT/usr install
mkdir -p $RPM_BUILD_ROOT/usr/sbin
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc0.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc1.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc2.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc3.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc4.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc5.d
mkdir -p $RPM_BUILD_ROOT/etc/rc.d/rc6.d
mkdir -p $RPM_BUILD_ROOT/usr/man/man5
mkdir -p $RPM_BUILD_ROOT/usr/man/man8
strip $RPM_BUILD_ROOT/usr/sbin/rpc.mountd
strip $RPM_BUILD_ROOT/usr/sbin/rpc.nfsd
strip $RPM_BUILD_ROOT/usr/sbin/showmount
touch $RPM_BUILD_ROOT/etc/exports
chmod 600 $RPM_BUILD_ROOT/etc/exports
install -m700 $RPM_SOURCE_DIR/nfs.init \
$RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc0.d/K20nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc1.d/K20nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc2.d/K20nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc3.d/S60nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc5.d/S60nfs
ln -sf ../init.d/nfs $RPM_BUILD_ROOT/etc/rc.d/rc6.d/K20nfs
install -m700 $RPM_SOURCE_DIR/exportfs $RPM_BUILD_ROOT/usr/sbin/exportfs
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc NEWS README
%attr(0600, root, root) %config(noreplace) %verify(not size mtime md5) /etc/exports
%attr(0700, root, root) %config /etc/rc.d/init.d/nfs
%config(missingok) /etc/rc.d/rc0.d/K20nfs
%config(missingok) /etc/rc.d/rc1.d/K20nfs
%config(missingok) /etc/rc.d/rc2.d/K20nfs
%config(missingok) /etc/rc.d/rc3.d/S60nfs
%config(missingok) /etc/rc.d/rc5.d/S60nfs
%config(missingok) /etc/rc.d/rc6.d/K20nfs
%attr(0700, root, root) /usr/sbin/rpc.mountd
%attr(0700, root, root) /usr/sbin/rpc.nfsd
%attr(0700, root, root) /usr/sbin/exportfs
%attr(0644, root, man) /usr/man/man5/exports.5
%attr(0644, root, man) /usr/man/man8/mountd.8
%attr(0644, root, man) /usr/man/man8/nfsd.8
%files clients
%attr(0711, root, root) /usr/sbin/showmount
%attr(0644, root, man) /usr/man/man8/showmount.8
%changelog
* Fri Sep 04 1998 Wojtek ¦lusarczyk <wojtek w shadow.eu.org>
[2.2-1d]
- updated to beta37b,
- translation modified for pl,
- fixed files permissions.
* Sun Jun 14 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[2.2beta29-9]
- build against glibc-2.1.
* Mon Apr 27 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr
* Thu Apr 23 1998 Michael K. Johnson <johnsonm w redhat.com>
- enhanced initscript
* Sat Apr 11 1998 Cristian Gafton <gafton w redhat.com>
- manhattan build
- updated the glibc patch
* Thu Oct 30 1997 Donnie Barnes <djb w redhat.com>
- added missingok tags to initscript symlinks
* Tue Oct 21 1997 Erik Troan <ewt w redhat.com>
- updated to 2.2beta29
- added chkconfig support
- added status and restart to initscript
* Fri Jul 18 1997 Erik Troan <ewt w redhat.com>
- built against glibc
* Fri Feb 07 1997 Erik Troan <ewt w redhat.com>
- fixed typo in description of the clients subpackage.
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
Wiêcej informacji o li¶cie dyskusyjnej pld-devel-pl