Summary(tr): autofs sunucu süreci
Name: autofs
Version: 4.0.0pre10
-Release: 1
+Release: 4
+Epoch: 1
License: GPL
Group: Daemons
Group(de): Server
Patch6: %{name}-loop.patch
Patch7: %{name}-modules.patch
Patch8: %{name}-open_max.patch
+BuildRequires: openldap-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Prereq: /sbin/chkconfig
Requires: mktemp
baðlar ve kullanýmlarý sona erince yine kendiliðinden çözer. Bu iþlem,
að dosya sistemleri, CD-ROM'lar ve disketler üzerinde yapýlabilir.
+%package ldap
+Summary: LDAP lookup module for autofs
+Summary(pl): Modu³ LDAP dla autofs
+Group: Daemons
+Group(de): Server
+Group(pl): Serwery
+Requires: %{name} = %{version}
+
+%description ldap
+This package contains the autofs module necessary to use automount
+maps stored on an LDAP server.
+
%prep
%setup -q
%patch0 -p1
%patch8 -p1
%build
-%configure
+chmod 755 configure
+autoconf
+%configure2_13
%{__make}
%post
/sbin/chkconfig --add autofs
-if test -r /var/lock/subsys/automount; then
+# triggerpostun would get called after %post
+if [ -f /var/lock/subsys/automount ]; then
+ mv /var/lock/subsys/automount /var/lock/subsys/autofs
+fi
+if test -r /var/lock/subsys/autofs; then
/etc/rc.d/init.d/autofs restart 1>&2
else
echo "Run \"/etc/rc.d/init.d/autofs start\" to start autofs daemon."
%preun
if [ "$1" = "0" ]; then
/sbin/chkconfig --del autofs
- if [ -f /var/lock/subsys/automount ]; then
+ if [ -f /var/lock/subsys/autofs ]; then
/etc/rc.d/init.d/autofs stop 1>&2
fi
fi
%dir /net
%dir %{_libdir}/autofs
-%attr(755,root,root) %{_libdir}/autofs/*
+%attr(755,root,root) %{_libdir}/autofs/mount_*
+%attr(755,root,root) %{_libdir}/autofs/parse_*
+%attr(755,root,root) %{_libdir}/autofs/lookup_[^l]*
%{_mandir}/man[58]/*
+
+%files ldap
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/autofs/lookup_ldap.so