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