Группа :: Разработка/Прочее
Пакет: hasher-priv
Главная Изменения Спек Патчи Загрузить Bugs and FR
Name: hasher-priv
Version: 1.2.7
Release: alt0.M24.1
Packager: Dmitry V. Levin <ldv at altlinux.org>
Summary: A privileged helper for the hasher project
License: GPL
Group: Development/Other
Source: %name-%version.tar
%define _libexecdir %_prefix/libexec
%define helperdir %_libexecdir/%name
%define configdir %_sysconfdir/%name
Provides: %helperdir
PreReq: coreutils, shadow-utils, glibc-utils
Obsoletes: pkg-build-priv
# due to libexec hell.
Conflicts: hasher < 0:1.0.9-alt0.M24.1
# Automatically added by buildreq on Fri May 02 2003
BuildRequires: help2man
BuildPreReq: sisyphus_check >= 0.7.11
%description
This package provides helpers for executing privileged operations
required by hasher utilities.
%prep
%setup -q
%build
%make_build CFLAGS="$RPM_OPT_FLAGS" libexecdir=%_libexecdir
%install
%makeinstall
%pre
if getent group pkg-build >/dev/null; then
groupmod -n hashman pkg-build
fi
if [ -d %_sysconfdir/pkg-build-priv -a ! -d %configdir ]; then
%__mv %_sysconfdir/pkg-build-priv %configdir
fi
/usr/sbin/groupadd -r -f hashman
%files
%_sbindir/hasher-useradd
%_mandir/man?/*
# config
%attr(710,root,hashman) %dir %configdir
%attr(710,root,hashman) %dir %configdir/user.d
%attr(640,root,hashman) %config(noreplace) %configdir/fstab
%attr(640,root,hashman) %config(noreplace) %configdir/system
# helpers
%attr(750,root,hashman) %dir %helperdir
%attr(6710,root,hashman) %helperdir/%name
%attr(755,root,root) %helperdir/*.sh
%doc DESIGN
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.2.7
Release: alt0.M24.1
Packager: Dmitry V. Levin <ldv at altlinux.org>
Summary: A privileged helper for the hasher project
License: GPL
Group: Development/Other
Source: %name-%version.tar
%define _libexecdir %_prefix/libexec
%define helperdir %_libexecdir/%name
%define configdir %_sysconfdir/%name
Provides: %helperdir
PreReq: coreutils, shadow-utils, glibc-utils
Obsoletes: pkg-build-priv
# due to libexec hell.
Conflicts: hasher < 0:1.0.9-alt0.M24.1
# Automatically added by buildreq on Fri May 02 2003
BuildRequires: help2man
BuildPreReq: sisyphus_check >= 0.7.11
%description
This package provides helpers for executing privileged operations
required by hasher utilities.
%prep
%setup -q
%build
%make_build CFLAGS="$RPM_OPT_FLAGS" libexecdir=%_libexecdir
%install
%makeinstall
%pre
if getent group pkg-build >/dev/null; then
groupmod -n hashman pkg-build
fi
if [ -d %_sysconfdir/pkg-build-priv -a ! -d %configdir ]; then
%__mv %_sysconfdir/pkg-build-priv %configdir
fi
/usr/sbin/groupadd -r -f hashman
%files
%_sbindir/hasher-useradd
%_mandir/man?/*
# config
%attr(710,root,hashman) %dir %configdir
%attr(710,root,hashman) %dir %configdir/user.d
%attr(640,root,hashman) %config(noreplace) %configdir/fstab
%attr(640,root,hashman) %config(noreplace) %configdir/system
# helpers
%attr(750,root,hashman) %dir %helperdir
%attr(6710,root,hashman) %helperdir/%name
%attr(755,root,root) %helperdir/*.sh
%doc DESIGN
%changelog
…
Полный changelog можно просмотреть здесь