2 Summary(de): autofs daemon
3 Summary(fr): démon autofs
4 Summary(pl): Demon autofs
5 Summary(tr): autofs sunucu süreci
14 Source0: ftp://ftp.kernel.org/pub/linux/daemons/autofs/testing-v4/%{name}-%{version}.tar.bz2
16 Source2: %{name}-auto.master
17 Source3: %{name}-auto.misc
18 Source4: %{name}-auto.mnt
19 Source5: %{name}-auto.net
20 Source6: %{name}.sysconfig
21 Patch0: %{name}-clean.patch
22 Patch1: %{name}-doc.patch
23 Patch2: %{name}-hesiod-bind.patch
25 Patch3: %{name}-initialize.patch
26 Patch4: %{name}-man.patch
27 Patch5: %{name}-linux-2.3.patch
28 Patch6: %{name}-loop.patch
29 Patch7: %{name}-modules.patch
30 Patch8: %{name}-open_max.patch
31 BuildRequires: openldap-devel
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 Prereq: /sbin/chkconfig
37 %define _sysconfdir /etc/autofs
40 autofs is a daemon which automatically mounts filesystems when you use
41 them, and unmounts them later when you are not using them. This can
42 include network filesystems, CD-ROMs, floppies, and so forth.
45 autofs ist ein Dämon, der Dateisysteme automatisch montiert, wenn sie
46 benutzt werden, und sie später bei Nichtbenutzung wieder demontiert.
47 Dies kann Netz-Dateisysteme, CD-ROMs, Disketten und ähnliches
51 autofs est un démon qui monte automatiquement les systèmes de fichiers
52 lorsqu'on les utilise et les démonte lorsqu'on ne les utilise plus.
53 Cela inclus les systèmes de fichiers réseau, les CD-ROMs, les
57 Autofs jest demonem, który montuje automatycznie systemy plików je¿eli
58 je u¿ywasz i odmontowuje pó¼niej, je¿eli ich nie u¿ywasz. Mo¿e
59 montowaæ sieciowy system plików, CD-romy, stacje dyskietek i inne.
62 autofs, kullanýlan dosya sistemlerini gerek olunca kendiliðinden
63 baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
64 að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
67 Summary: LDAP lookup module for autofs
68 Summary(pl): Modu³ LDAP dla autofs
72 Requires: %{name} = %{version}
75 This package contains the autofs module necessary to use automount
76 maps stored on an LDAP server.
98 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT/{misc,net,%{_sbindir},%{_libdir}/autofs,%{_mandir}/man{5,8}} \
101 $RPM_BUILD_ROOT/etc/{rc.d/init.d,autofs,sysconfig}
104 INSTALLROOT=$RPM_BUILD_ROOT
106 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/autofs
108 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/auto.master
109 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/auto.misc
110 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/auto.mnt
111 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/auto.net
112 install %{SOURCE6} $RPM_BUILD_ROOT/etc/sysconfig/autofs
114 touch $RPM_BUILD_ROOT%{_sysconfdir}/auto.{home,misc,var,tmp}
116 gzip -9nf NEWS README
119 /sbin/chkconfig --add autofs
120 # triggerpostun would get called after %post
121 if [ -f /var/lock/subsys/automount ]; then
122 mv /var/lock/subsys/automount /var/lock/subsys/autofs
124 if test -r /var/lock/subsys/autofs; then
125 /etc/rc.d/init.d/autofs restart 1>&2
127 echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
131 if [ "$1" = "0" ]; then
132 /sbin/chkconfig --del autofs
133 if [ -f /var/lock/subsys/autofs ]; then
134 /etc/rc.d/init.d/autofs stop 1>&2
139 rm -rf $RPM_BUILD_ROOT
142 %defattr(644,root,root,755)
143 %doc {NEWS,README}.gz
145 %attr(754,root,root) %config /etc/rc.d/init.d/autofs
147 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/autofs
148 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.home
149 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.master
150 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.misc
151 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.mnt
152 %attr(750,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.net
153 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.tmp
154 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/auto.var
155 %attr(755,root,root) %{_sbindir}/automount
160 %dir %{_libdir}/autofs
161 %attr(755,root,root) %{_libdir}/autofs/mount_*
162 %attr(755,root,root) %{_libdir}/autofs/parse_*
163 %attr(755,root,root) %{_libdir}/autofs/lookup_[^l]*
168 %defattr(644,root,root,755)
169 %attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so