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: bind-devel
36 BuildRequires: openldap-devel
38 Requires(post,preun): /sbin/chkconfig
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 %define _sysconfdir /etc/autofs
45 autofs is a daemon which automatically mounts filesystems when you use
46 them, and unmounts them later when you are not using them. This can
47 include network filesystems, CD-ROMs, floppies, and so forth.
50 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
51 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
52 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
56 autofs es un servidor que monta automáticamente sistemas de archivos
57 cuando los usa, y los desmonta, más tarde, al terminar de usarlos.
58 Incluyendo sistemas de archivo en red, CD-ROMS, disquetes, etc.
61 autofs est un démon qui monte automatiquement les systèmes de fichiers
62 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
63 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
67 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
68 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
69 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
72 O autofs é um servidor que monta automaticamente sistemas de arquivos
73 quando estes forem usados, desmontando-os mais tarde quando não
74 estiverem mais em uso. Incluindo sistemas de arquivo em rede, CD-ROMS,
78 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
79 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
80 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
83 Summary: LDAP lookup module for autofs
84 Summary(es): LDAP map support for the autofs package
85 Summary(pl): Modu³ LDAP dla autofs
86 Summary(pt_BR): Suporte a mapas LDAP para o pacote autofs
88 Requires: %{name} = %{epoch}:%{version}-%{release}
91 This package contains the autofs module necessary to use automount
92 maps stored on an LDAP server.
94 %description ldap -l pl
95 Ten pakiet zawiera modu³ autofs potrzebny do u¿ywania map automounta
96 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}
138 rm -rf $RPM_BUILD_ROOT
141 /sbin/chkconfig --add autofs
142 # triggerpostun would get called after %post
143 if [ -f /var/lock/subsys/automount ]; then
144 mv /var/lock/subsys/automount /var/lock/subsys/autofs
146 if test -r /var/lock/subsys/autofs; then
147 /etc/rc.d/init.d/autofs restart 1>&2
149 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
153 if [ "$1" = "0" ]; then
154 /sbin/chkconfig --del autofs
155 if [ -f /var/lock/subsys/autofs ]; then
156 /etc/rc.d/init.d/autofs stop 1>&2
161 %defattr(644,root,root,755)
164 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
166 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
167 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
168 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
169 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
170 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
171 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
172 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
173 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
174 %attr(755,root,root) %{_sbindir}/automount
179 %dir %{_libdir}/autofs
180 %attr(755,root,root) %{_libdir}/autofs/mount_*
181 %attr(755,root,root) %{_libdir}/autofs/parse_*
182 %attr(755,root,root) %{_libdir}/autofs/lookup_[!l]*
187 %defattr(644,root,root,755)
188 %attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so