Репозитории ALT
S: | 5.1.8-alt6 |
D: | 5.0.3-alt1.1 |
5.1: | 5.0.5-alt1 |
4.1: | 5.0.1-alt1 |
4.0: | 5.0.1-alt1 |
3.0: | 4.1.4-alt0.3 |
Другие репозитории
Upstream: | 4.1.4 |
Группа :: Система/Ядро и оборудование
Пакет: autofs
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: autofs
Version: 5.0.5
Release: alt1
Summary: A tool for automatically mounting and unmounting filesystems
License: GPL
Group: System/Kernel and hardware
Url: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/
Source: %name-%version-%release.tar
Requires(post): %post_service
Requires(preun): %preun_service
BuildRequires: bison flex
BuildRequires: libkrb5-devel libldap-devel libssl-devel libxml2-devel
%package ldap
Summary: A tool for automatically mounting and unmounting filesystems
Group: System/Kernel and hardware
Requires: %name = %version-%release
# {{{ descriptions
%description
Autofs controls the operation of the automount daemons. The automount daemons
automatically mount filesystems when you use them and unmount them after a
period of inactivity. Filesystems can include network filesystems, CD-ROMs,
floppies and others.
Install this package if you want a program for automatically mounting and
unmounting filesystems.
%description ldap
Autofs controls the operation of the automount daemons. The automount daemons
automatically mount filesystems when you use them and unmount them after a
period of inactivity. Filesystems can include network filesystems, CD-ROMs,
floppies and others.
This package adds LDAP support to the %name package
# }}}
%prep
%setup
%build
%add_optflags -I/usr/include/krb5
%autoreconf
%configure --disable-mount-locking --enable-ignore-busy --enable-forced-shutdown
%make_build DONTSTRIP=1
%install
%make_install install INSTALLROOT=%buildroot
rm -f %buildroot%_sysconfdir/auto.{misc,net}
(cd altlinux && find . -type f |cpio -pumd %buildroot)
chmod 0644 samples/auto.*
%define docdir %_defaultdocdir/%name-%version
mkdir -p %buildroot%docdir
rm -f samples/rc.autofs* samples/autofs.conf.default* samples/Makefile
cp -pr CHANGELOG CREDITS COPYRIGHT README* samples %buildroot%docdir
%post
%post_service %name
%preun
%preun_service %name
%triggerun -- autofs < 5.0.1
[ $2 -gt 0 ] || exit 0
if /sbin/start-stop-daemon --stop --quiet \
--signal USR2 --retry 5 --exec /usr/sbin/automount; then
/sbin/service autofs start ||:
fi
%files
%dir %docdir
%dir %docdir/samples
%docdir/[A-Z]*
%docdir/samples/auto.master
%docdir/samples/auto.misc
%docdir/samples/auto.net
%docdir/samples/auto.smb
%config(noreplace) %_initdir/autofs
%config(noreplace) %_sysconfdir/auto.master
%config(noreplace) %_sysconfdir/auto.tab
%config(noreplace) %_sysconfdir/auto.avahi
%config(noreplace,missingok) %_sysconfdir/auto.smb
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir %_libdir/%name
%_libdir/%name/*
%exclude %_libdir/%name/lookup_ldap.so
%exclude %_libdir/%name/lookup_ldaps.so
%_sbindir/*
%_mandir/man?/*
%files ldap
%docdir/samples/autofs.schema
%docdir/samples/auto.master.ldap
%docdir/samples/ldap-*
%_sysconfdir/autofs_ldap_auth.conf
%_libdir/%name/lookup_ldaps.so
%_libdir/%name/lookup_ldap.so
%changelog
…
Полный changelog можно просмотреть здесь
Version: 5.0.5
Release: alt1
Summary: A tool for automatically mounting and unmounting filesystems
License: GPL
Group: System/Kernel and hardware
Url: ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/
Source: %name-%version-%release.tar
Requires(post): %post_service
Requires(preun): %preun_service
BuildRequires: bison flex
BuildRequires: libkrb5-devel libldap-devel libssl-devel libxml2-devel
%package ldap
Summary: A tool for automatically mounting and unmounting filesystems
Group: System/Kernel and hardware
Requires: %name = %version-%release
# {{{ descriptions
%description
Autofs controls the operation of the automount daemons. The automount daemons
automatically mount filesystems when you use them and unmount them after a
period of inactivity. Filesystems can include network filesystems, CD-ROMs,
floppies and others.
Install this package if you want a program for automatically mounting and
unmounting filesystems.
%description ldap
Autofs controls the operation of the automount daemons. The automount daemons
automatically mount filesystems when you use them and unmount them after a
period of inactivity. Filesystems can include network filesystems, CD-ROMs,
floppies and others.
This package adds LDAP support to the %name package
# }}}
%prep
%setup
%build
%add_optflags -I/usr/include/krb5
%autoreconf
%configure --disable-mount-locking --enable-ignore-busy --enable-forced-shutdown
%make_build DONTSTRIP=1
%install
%make_install install INSTALLROOT=%buildroot
rm -f %buildroot%_sysconfdir/auto.{misc,net}
(cd altlinux && find . -type f |cpio -pumd %buildroot)
chmod 0644 samples/auto.*
%define docdir %_defaultdocdir/%name-%version
mkdir -p %buildroot%docdir
rm -f samples/rc.autofs* samples/autofs.conf.default* samples/Makefile
cp -pr CHANGELOG CREDITS COPYRIGHT README* samples %buildroot%docdir
%post
%post_service %name
%preun
%preun_service %name
%triggerun -- autofs < 5.0.1
[ $2 -gt 0 ] || exit 0
if /sbin/start-stop-daemon --stop --quiet \
--signal USR2 --retry 5 --exec /usr/sbin/automount; then
/sbin/service autofs start ||:
fi
%files
%dir %docdir
%dir %docdir/samples
%docdir/[A-Z]*
%docdir/samples/auto.master
%docdir/samples/auto.misc
%docdir/samples/auto.net
%docdir/samples/auto.smb
%config(noreplace) %_initdir/autofs
%config(noreplace) %_sysconfdir/auto.master
%config(noreplace) %_sysconfdir/auto.tab
%config(noreplace) %_sysconfdir/auto.avahi
%config(noreplace,missingok) %_sysconfdir/auto.smb
%config(noreplace) %_sysconfdir/sysconfig/%name
%dir %_libdir/%name
%_libdir/%name/*
%exclude %_libdir/%name/lookup_ldap.so
%exclude %_libdir/%name/lookup_ldaps.so
%_sbindir/*
%_mandir/man?/*
%files ldap
%docdir/samples/autofs.schema
%docdir/samples/auto.master.ldap
%docdir/samples/ldap-*
%_sysconfdir/autofs_ldap_auth.conf
%_libdir/%name/lookup_ldaps.so
%_libdir/%name/lookup_ldap.so
%changelog
…
Полный changelog можно просмотреть здесь