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