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: openldap-devel
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _sysconfdir /etc/autofs
41 autofs is a daemon which automatically mounts filesystems when you use
42 them, and unmounts them later when you are not using them. This can
43 include network filesystems, CD-ROMs, floppies, and so forth.
46 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
47 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
48 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
52 autofs es un servidor que monta automáticamente sistemas de archivos
53 cuando los usa, y los desmonta, más tarde, al terminar de usarlos.
54 Incluyendo sistemas de archivo en red, CD-ROMS, disquetes, etc.
57 autofs est un démon qui monte automatiquement les systèmes de fichiers
58 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
59 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
63 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
64 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
65 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
68 O autofs é um servidor que monta automaticamente sistemas de arquivos
69 quando estes forem usados, desmontando-os mais tarde quando não
70 estiverem mais em uso. Incluindo sistemas de arquivo em rede, CD-ROMS,
74 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
75 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
76 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
79 Summary: LDAP lookup module for autofs
80 Summary(es): LDAP map support for the autofs package
81 Summary(pl): Modu³ LDAP dla autofs
82 Summary(pt_BR): Suporte a mapas LDAP para o pacote autofs
86 Requires: %{name} = %{version}
89 This package contains the autofs module necessary to use automount
90 maps stored on an LDAP server.
112 rm -rf $RPM_BUILD_ROOT
113 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
114 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
117 INSTALLROOT=$RPM_BUILD_ROOT
119 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
121 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
122 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
123 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
124 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
125 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
127 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
129 gzip -9nf NEWS README
132 /sbin/chkconfig --add autofs
133 # triggerpostun would get called after %post
134 if [ -f /var/lock/subsys/automount ]; then
135 mv /var/lock/subsys/automount /var/lock/subsys/autofs
137 if test -r /var/lock/subsys/autofs; then
138 /etc/rc.d/init.d/autofs restart 1>&2
140 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
144 if [ "$1" = "0" ]; then
145 /sbin/chkconfig --del autofs
146 if [ -f /var/lock/subsys/autofs ]; then
147 /etc/rc.d/init.d/autofs stop 1>&2
152 rm -rf $RPM_BUILD_ROOT
155 %defattr(644,root,root,755)
156 %doc {NEWS,README}.gz
158 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
160 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
161 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
162 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
163 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
164 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
165 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
166 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
167 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
168 %attr(755,root,root) %{_sbindir}/automount
173 %dir %{_libdir}/autofs
174 %attr(755,root,root) %{_libdir}/autofs/mount_*
175 %attr(755,root,root) %{_libdir}/autofs/parse_*
176 %attr(755,root,root) %{_libdir}/autofs/lookup_[^l]*
181 %defattr(644,root,root,755)
182 %attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so