2 Summary(de): autofs daemon
3 Summary(es): Servidor autofs
4 Summary(fr): démon autofs
5 Summary(pl): Demon autofs
6 Summary(pt_BR): Servidor autofs
7 Summary(tr): autofs sunucu süreci
14 Source0: ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v4/%{name}-%{version}.tar.bz2
16 Source2: %{name}-auto.master
17 Source3: %{name}-auto.misc
18 Source4: %{name}-auto.mnt
19 Source5: %{name}-auto.net
20 Source6: %{name}.sysconfig
21 Patch0: %{name}-clean.patch
22 Patch1: %{name}-doc.patch
23 Patch2: %{name}-hesiod-bind.patch
25 Patch3: %{name}-initialize.patch
26 Patch4: %{name}-man.patch
27 Patch5: %{name}-linux-2.3.patch
28 Patch6: %{name}-loop.patch
29 Patch7: %{name}-modules.patch
30 Patch8: %{name}-open_max.patch
31 BuildRequires: automake
32 BuildRequires: autoconf
33 BuildRequires: openldap-devel
36 Prereq: /sbin/chkconfig
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define _sysconfdir /etc/autofs
42 autofs is a daemon which automatically mounts filesystems when you use
43 them, and unmounts them later when you are not using them. This can
44 include network filesystems, CD-ROMs, floppies, and so forth.
47 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
48 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
49 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
53 autofs es un servidor que monta automáticamente sistemas de archivos
54 cuando los usa, y los desmonta, más tarde, al terminar de usarlos.
55 Incluyendo sistemas de archivo en red, CD-ROMS, disquetes, etc.
58 autofs est un démon qui monte automatiquement les systèmes de fichiers
59 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
60 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
64 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
65 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
66 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
69 O autofs é um servidor que monta automaticamente sistemas de arquivos
70 quando estes forem usados, desmontando-os mais tarde quando não
71 estiverem mais em uso. Incluindo sistemas de arquivo em rede, CD-ROMS,
75 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
76 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
77 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
80 Summary: LDAP lookup module for autofs
81 Summary(es): LDAP map support for the autofs package
82 Summary(pl): Modu³ LDAP dla autofs
83 Summary(pt_BR): Suporte a mapas LDAP para o pacote autofs
85 Requires: %{name} = %{version}
88 This package contains the autofs module necessary to use automount
89 maps stored on an LDAP server.
91 %description ldap -l pl
92 Ten pakiet zawiera modu³ autofs potrzebny do u¿ywania map automounta
93 trzymanych na serwerze LDAP.
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
118 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
121 INSTALLROOT=$RPM_BUILD_ROOT
123 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
125 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
126 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
127 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
128 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
129 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
131 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
134 rm -rf $RPM_BUILD_ROOT
137 /sbin/chkconfig --add autofs
138 # triggerpostun would get called after %post
139 if [ -f /var/lock/subsys/automount ]; then
140 mv /var/lock/subsys/automount /var/lock/subsys/autofs
142 if test -r /var/lock/subsys/autofs; then
143 /etc/rc.d/init.d/autofs restart 1>&2
145 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
149 if [ "$1" = "0" ]; then
150 /sbin/chkconfig --del autofs
151 if [ -f /var/lock/subsys/autofs ]; then
152 /etc/rc.d/init.d/autofs stop 1>&2
157 %defattr(644,root,root,755)
160 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
162 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
163 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
164 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
165 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
166 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
167 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
168 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
169 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
170 %attr(755,root,root) %{_sbindir}/automount
175 %dir %{_libdir}/autofs
176 %attr(755,root,root) %{_libdir}/autofs/mount_*
177 %attr(755,root,root) %{_libdir}/autofs/parse_*
178 %attr(755,root,root) %{_libdir}/autofs/lookup_[^l]*
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so