2 Summary(de): autofs daemon
3 Summary(fr): démon autofs
4 Summary(pl): Demon autofs
5 Summary(tr): autofs sunucu süreci
12 Source0: ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v4/%{name}-%{version}.tar.gz
14 Source2: %{name}-auto.master
15 Source3: %{name}-auto.misc
16 Source4: %{name}-auto.mnt
17 Source5: %{name}-auto.net
18 Source6: %{name}.sysconfig
19 Patch0: %{name}-clean.patch
20 Patch1: %{name}-doc.patch
21 Patch2: %{name}-hesiod-bind.patch
22 Patch3: %{name}-initialize.patch
23 Patch4: %{name}-ldap.patch
24 Patch5: %{name}-linux-2.3.patch
25 Patch6: %{name}-loop.patch
26 Patch7: %{name}-modules.patch
27 Patch8: %{name}-open_max.patch
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Prereq: /sbin/chkconfig
33 %define _sysconfdir /etc/autofs
36 autofs is a daemon which automatically mounts filesystems when you use
37 them, and unmounts them later when you are not using them. This can
38 include network filesystems, CD-ROMs, floppies, and so forth.
41 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
42 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
43 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
47 autofs est un démon qui monte automatiquement les systèmes de fichiers
48 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
49 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
53 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
54 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
55 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
58 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
59 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
60 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
79 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
82 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
85 INSTALLROOT=$RPM_BUILD_ROOT
87 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
89 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
90 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
91 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
92 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
93 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
95 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
100 /sbin/chkconfig --add autofs
101 if test -r /var/lock/subsys/automount; then
102 /etc/rc.d/init.d/autofs restart 1>&2
104 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
108 if [ "$1" = "0" ]; then
109 /sbin/chkconfig --del autofs
110 if [ -f /var/lock/subsys/automount ]; then
111 /etc/rc.d/init.d/autofs stop 1>&2
116 rm -rf $RPM_BUILD_ROOT
119 %defattr(644,root,root,755)
120 %doc {NEWS,README}.gz
122 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
124 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
125 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
126 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
127 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
128 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
129 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
130 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
131 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
132 %attr(755,root,root) %{_sbindir}/automount
137 %dir %{_libdir}/autofs
138 %attr(755,root,root) %{_libdir}/autofs/*