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 Patch9: %{name}-hesiod-includes.patch
33 BuildRequires: automake
34 BuildRequires: autoconf
35 BuildRequires: openldap-devel
37 Requires(post,preun): /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
87 Requires: %{name} = %{epoch}:%{version}
90 This package contains the autofs module necessary to use automount
91 maps stored on an LDAP server.
93 %description ldap -l pl
94 Ten pakiet zawiera modu³ autofs potrzebny do u¿ywania map automounta
95 trzymanych na serwerze LDAP.
119 rm -rf $RPM_BUILD_ROOT
120 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
121 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
124 INSTALLROOT=$RPM_BUILD_ROOT
126 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
128 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
129 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
130 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
131 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
132 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
134 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
137 rm -rf $RPM_BUILD_ROOT
140 /sbin/chkconfig --add autofs
141 # triggerpostun would get called after %post
142 if [ -f /var/lock/subsys/automount ]; then
143 mv /var/lock/subsys/automount /var/lock/subsys/autofs
145 if test -r /var/lock/subsys/autofs; then
146 /etc/rc.d/init.d/autofs restart 1>&2
148 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
152 if [ "$1" = "0" ]; then
153 /sbin/chkconfig --del autofs
154 if [ -f /var/lock/subsys/autofs ]; then
155 /etc/rc.d/init.d/autofs stop 1>&2
160 %defattr(644,root,root,755)
163 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
165 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
166 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
167 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
168 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
169 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
170 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
171 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
172 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
173 %attr(755,root,root) %{_sbindir}/automount
178 %dir %{_libdir}/autofs
179 %attr(755,root,root) %{_libdir}/autofs/mount_*
180 %attr(755,root,root) %{_libdir}/autofs/parse_*
181 %attr(755,root,root) %{_libdir}/autofs/lookup_[!l]*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so