Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37432191
en ru br
Репозитории ALT
S:0.9.23-alt2
5.1: 0.9.20-alt1
4.1: 0.9.17-alt1
4.0: 0.9.16-alt1
3.0: 0.9.3-alt1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: pmount

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable hal

Name: pmount
Version: 0.9.23
Release: alt2

Summary: Automounter tool for HAL/dbus
License: GPL
Group: Monitoring

Url: http://pmount.alioth.debian.org/

Source0: %name-%version.tar.gz

Source3: %name.control

Patch0: pmount-0.9.16-alt-makefile.patch
Patch2: pmount-0.9.17-alt-floppy.patch
Patch3: pmount-0.9.23-alt-natspec.patch

Requires: mount

Packager: Afanasov Dmitry <ender at altlinux.org>

%{?_enable_hal:BuildRequires: libhal-devel >= 0.5.7}
BuildRequires: libdbus-devel >= 0.94, libsysfs-devel, pkgconfig, intltool, libblkid-devel
PreReq: control

# hack for build in hasher

BuildPreReq: glib2-devel

# Automatically added by buildreq on Wed Aug 29 2007

BuildRequires: gcc-c++ libnatspec-devel libsysfs-devel perl-XML-Parser

%description
pmount allows unprivileged users to mount replaceable media USB, FireWire and
PCMCIA without record in /etc/fstab. It creates powerful system of automounting
as project GNOME Utopia, and limits volume of a code which should be carried
out with the rights root up to a minimum. Version 0.9 includes also integration
with cryptsetup for transparent connection crypto devices.

%description -l ru_RU.UTF8
pmount п©п╬п╥п╡п╬п╩я▐п╣я┌ п╫п╣п©я─п╦п╡п╦пЁп╣п╩п╦я─п╬п╡п╟п╫п╫я▀п╪ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩я▐п╪ п©п╬п╢п╨п╩я▌я┤п╟я┌я▄(п╪п╬п╫я┌п╦я─п╬п╡п╟я┌я▄)
я│п╪п╣п╫п╫я▀п╣ п╫п╬я│п╦я┌п╣п╩п╦ USB, FireWire п╦ PCMCIA п╠п╣п╥ п╥п╟п©п╦я│п╦ п╡ /etc/fstab. п╜я┌п╬ я│п╬п╥п╢п╟п╣я┌
п╪п╬я┴п╫я┐я▌ я│п╦я│я┌п╣п╪я┐ п╟п╡я┌п╬п╪п╬п╫я┌п╦я─п╬п╡п╟п╫п╦я▐, п╨п╟п╨ п©я─п╬п╣п╨я┌ GNOME Utopia, п╦ п╬пЁя─п╟п╫п╦я┤п╦п╡п╟п╣я┌ п╬п╠я┼п╣п╪
п╨п╬п╢п╟, п╨п╬я┌п╬я─я▀п╧ п╢п╬п╩п╤п╣п╫ п╡я▀п©п╬п╩п╫я▐я┌я▄я│я▐ я│ п©я─п╟п╡п╟п╪п╦  root п╢п╬ п╪п╦п╫п╦п╪я┐п╪п╟. п▓п╣я─я│п╦я▐ 0.9
п╡п╨п╩я▌я┤п╟п╣я┌ я┌п╟п╨п╤п╣ п╦п╫я┌п╣пЁя─п╟я├п╦я▌ я│ cryptsetup п╢п╩я▐ п©я─п╬п╥я─п╟я┤п╫п╬пЁп╬ п©п╬п╢п╨п╩я▌я┤п╣п╫п╦я▐ п╨я─п╦п©я┌п╬п╡п╟п╫я▀я┘
я┐я│я┌я─п╬п╧я│я┌п╡.

%package hal
Summary: HAL-aware wrapper around pmount
Group: Monitoring

Requires: pmount

%description hal
pmount-hal extends pmount by making it work together with hal (Hardware
Abstration Layer).

%prep
%setup -q
%patch0 -p1
%patch2 -p1
%patch3 -p1

%build
%autoreconf
%configure \
--with-media-dir=/media/ \
--with-lock-dir=/var/lock/pmount/ \
--with-whitelist=/etc/pmount.allow \
--with-mount-prog=/bin/mount \
--with-umount-prog=/bin/umount \
--with-cryptsetup-prog=/usr/sbin/cryptsetup \
%{subst_enable hal} \
--with-natspec
%make_build

%install
%make_install DESTDIR=%buildroot install
%__install -pD -m755 %SOURCE3 %buildroot%_controldir/%name

%find_lang %name

%pre
%pre_control pmount

%post
%post_control -s restricted pmount

%files -f %name.lang
%doc AUTHORS ChangeLog README.devel TODO
%config(noreplace) %_sysconfdir/pmount.allow
%_controldir/%name
%attr(700,root,root) %_bindir/p*mount
%_man1dir/pmount.1*
%_man1dir/pumount.1*

%if_enabled hal
%files hal
%_bindir/pmount-hal
%_man1dir/pmount-hal.1*
%endif


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin