Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047521
en ru br
Репозитории ALT
S:1.2.6.6-alt2
5.1: 1.1.0.6-alt1
4.1: 1.1.0.5-alt1
4.0: 0.9.8-alt0
3.0: 0.9.6c-alt1
www.altlinux.org/Changes

Группа :: Сети/WWW
Пакет: phpldapadmin

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

%define _unpackaged_files_terminate_build 1

Name: phpldapadmin
Version: 1.2.6.6
Release: alt2

Summary: Handle the adminstration of LDAP server over the web
Summary(ru_RU.UTF8): пёп©я─п╟п╡п╩п╣п╫п╦п╣ LDAP я│п╣я─п╡п╣я─п╬п╪ я┤п╣я─п╣п╥ web
License: GPL-2
Group: Networking/WWW

Url: http://phpldapadmin.sourceforge.net
Source: %name-%version.tar.gz
Patch0: %name-convert_to_ascii.patch

Requires: apache2-mod_php8.1 php8.1-ldap

BuildArch: noarch

BuildPreReq:rpm-build-apache2

%define pla_home %_datadir/%name

%description
%name -  is a web-based LDAP client. It provides easy, anywhere-accessible,
multi-language administration for your LDAP server. Its hierarchical tree-viewer
and advanced search functionality make it intuitive to browse and administer
your LDAP directory. Since it is a web application, this LDAP browser works on
many platforms, making your LDAP server easily manageable from any location.
%name - is the perfect LDAP browser for the LDAP professional and novice alike.
Its user base consists mostly of LDAP administration professionals.

%description -l ru_RU.UTF8
%name - п╢п╬я│я┌я┐п©п╫я▀п╧ я┤п╣я─п╣п╥ я│п╣я┌я▄ п╨п╩п╦п╣п╫я┌ LDAP. п·п╫ п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣я┌ п©я─п╬я│я┌я┐я▌, п╢п╬я│я┌я┐п©п╫я┐я▌,
п╪п╫п╬пЁп╬я▐п╥я▀я┤п╫я┐я▌ я│я─п╣п╢я┐ п╢п╩я▐ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦я▐ п╡п╟я┬п╣пЁп╬ я│п╣я─п╡п╣я─п╟ LDAP. п∙пЁп╬ п╦п╣я─п╟я─я┘п╦я┤п╣я│п╨п╬п╣
п╢п╣я─п╣п╡п╬ п©я─п╬я│п╪п╬я┌я─п╟ п╦ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫я▀п╣ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ я┐я│п╨п╬я─п╣п╫п╫п╬пЁп╬ п©п╬п╦я│п╨п╟ п╢п╣п╩п╟я▌я┌ п╣пЁп╬
п╦п╫я┌я┐п╦я┌п╦п╡п╫п╬ п©п╬п╫я▐я┌п╫я▀п╪, я┤я┌п╬п╠я▀ п©я─п╬я│п╪п╟я┌я─п╦п╡п╟я┌я▄ п╦ я┐п©я─п╟п╡п╩я▐я┌я▄ п╡п╟я┬п╦п╪ п╨п╟я┌п╟п╩п╬пЁп╬п╪ LDAP.
%name - я│п╬п╡п╣я─я┬п╣п╫п╫я▀п╧ п╠я─п╟я┐п╥п╣я─ LDAP п╢п╩я▐ п©я─п╬я└п╣я│я│п╦п╬п╫п╟п╩п╟ LDAP п╦ п╫п╬п╡п╦я┤п╨п╬п╡.
п∙пЁп╬ п©п╬п╩я▄п╥п╬п╡п╟я┌п╣п╩п╦ я│п╬я│я┌п╬я▐я┌ пЁп╩п╟п╡п╫я▀п╪ п╬п╠я─п╟п╥п╬п╪ п╦п╥ п©я─п╬я└п╣я│я│п╦п╬п╫п╟п╩п╬п╡ п╡ п╟п╢п╪п╦п╫п╦я│я┌я─п╦я─п╬п╡п╟п╫п╦п╦ LDAP.

п÷п╬я│п╩п╣ я┐я│я┌п╟п╫п╬п╡п╨п╦ п╬я┌п╨п╬я─я─п╣п╨я┌п╦я─я┐п╧я┌п╣ config.php я│п╬пЁп╩п╟я│п╫п╬ п╡п╟я┬п╦п╪ п╫п╟я│я┌я─п╬п╧п╨п╟п╪.

%prep
%setup -q -n %name-%version
cp config/config.php.example config/config.php

%build

%install
install -d -m755 %buildroot%pla_home
cp -a * %buildroot%pla_home


pushd %buildroot%pla_home
find . -type f -executable | xargs chmod -x
rm -r doc/ config/config.php.example
rm -r tools/
popd

install -d -m755 %buildroot%_sysconfdir/%name

mv %buildroot%pla_home/config/* \
       %buildroot%_sysconfdir/%name
rmdir %buildroot%pla_home/config
ln -s %_sysconfdir/%name \
       %buildroot%pla_home/config
cat <<EOF >%name.conf
Alias /%name "%pla_home"

<Directory %pla_home>
   DirectoryIndex index.php
   AllowOverride None
   Options FollowSymlinks
   Require local
</Directory>

EOF

install -d %buildroot%apache2_sites_available
install -m644  %name.conf %buildroot%apache2_sites_available

%files
%config %dir %_sysconfdir/%name
%attr(640,root,%apache2_user) %config(noreplace) %_sysconfdir/%name/config.php
%config(noreplace) %apache2_sites_available/%name.conf
%pla_home
%doc INSTALL.md README.md LICENSE

%changelog

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

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