Группа :: Система/Серверы
Пакет: httpd-alterator
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Summary: Apache HTTP Server (alterator edition)
Name: httpd-alterator
Version: 3.1
Release: alt3
URL: http://httpd.apache.org/
Vendor: Apache Software Foundation
Packager: Stanislav Ievlev <inger at altlinux.org>
Source1: httpd2.conf
Source2: httpd2.init
Source3: httpd2.pamd
Source4: httpd2.logrotate
Source100: chkpwd-%version.tar
Source101: mod_authn_chkpwd-%version.tar
Source102: alterator-admin-%version.tar
License: Apache License, Version 2.0
Group: System/Servers
Requires(pre): cert-sh-functions shadow-utils
Requires(post,preun): service
Requires: alterator-root
Requires: vhttpd-utils
Requires: apache2-common >= 2.2.4-alt18 apache2-httpd-prefork apache2-mod_ssl
Requires: alterator gettext
Provides: webserver
Conflicts: alterator-fbi < 0.15-alt1
BuildPreReq: alterator >= 3.1 alterator-fbi
#Note: apache2-httpd-prefork in buildreq is a bug
# Automatically added by buildreq on Fri Apr 06 2007
BuildRequires: alterator-fbi apache2-devel apache2-httpd-prefork apache2-httpd-worker pam_userpass-devel
%description
Apache HTTP Server (alterator edition)
%prep
%setup -qcT -a 100 -a 101 -a 102
%build
cd chkpwd-%version
%make_build
cd -
cd mod_authn_chkpwd-%version
%make_build
cd -
cd alterator-admin-%version
%make_build libdir=%_libdir
cd -
%install
cd chkpwd-%version
%makeinstall
cd -
cd mod_authn_chkpwd-%version
%makeinstall
cd -
cd alterator-admin-%version
%makeinstall HTMLROOT=%buildroot%_var/www/
cd -
%__install -d %buildroot%_var/run/%name
%__install -d %buildroot%_var/log/%name
%__install -Dpm644 %SOURCE1 %buildroot%_sysconfdir/httpd2/conf/httpd2.alterator.conf
%__subst 's,/usr/lib,%_libdir,' %buildroot%_sysconfdir/httpd2/conf/httpd2.alterator.conf
%__install -Dpm755 %SOURCE2 %buildroot/%_initrddir/httpd-alterator
%__install -Dpm640 %SOURCE3 %buildroot/%_sysconfdir/pam.d/ahttpd
%__install -Dpm644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
#ghost
touch %buildroot%_sysconfdir/httpd2/conf/%name.cnf
mkdir -p %buildroot/%_localstatedir/ssl/certs/
touch %buildroot/%_localstatedir/ssl/certs/httpd-alterator.csr
#groups:
# '_ahttpd' - sgid helper protection
# 'auth' - for shadow files
# 'shadow' in sgid helper - for tcb directories
# '_configd' - for alterator socket
%find_lang alterator-admin
%pre
/usr/sbin/groupadd -r -f _ahttpd
/usr/sbin/groupadd -r -f _configd
/usr/sbin/useradd -r -g _ahttpd -G auth,_configd -d /dev/null -s /dev/null -n _ahttpd >/dev/null 2>&1 ||:
%post
%post_service httpd-alterator
%preun
%preun_service httpd-alterator
%files -f alterator-admin.lang
#our specific apache configs
%config(noreplace) %_sysconfdir/logrotate.d/*
%_initdir/*
%_var/run/%name
%attr(750,root,adm) %_logdir/%name
%config(noreplace) %_sysconfdir/httpd2/conf/httpd2.alterator.conf
#auth stuff
%attr(640,root,_ahttpd) %_sysconfdir/pam.d/ahttpd
%attr(710,root,_ahttpd) %dir %_libexecdir/ahttpd
%attr(2711,root,shadow) %_libexecdir/ahttpd/chkpwd
%_libdir/apache2/modules/*.so
#SSL stuff
%ghost %config(noreplace) %_sysconfdir/httpd2/conf/%name.cnf
%ghost %_localstatedir/ssl/certs/httpd-alterator.csr
#alterator module
%_var/www/html/*
%_datadir/alterator/applications/*
%_datadir/alterator/help/*/*
%_alterator_backend3dir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: httpd-alterator
Version: 3.1
Release: alt3
URL: http://httpd.apache.org/
Vendor: Apache Software Foundation
Packager: Stanislav Ievlev <inger at altlinux.org>
Source1: httpd2.conf
Source2: httpd2.init
Source3: httpd2.pamd
Source4: httpd2.logrotate
Source100: chkpwd-%version.tar
Source101: mod_authn_chkpwd-%version.tar
Source102: alterator-admin-%version.tar
License: Apache License, Version 2.0
Group: System/Servers
Requires(pre): cert-sh-functions shadow-utils
Requires(post,preun): service
Requires: alterator-root
Requires: vhttpd-utils
Requires: apache2-common >= 2.2.4-alt18 apache2-httpd-prefork apache2-mod_ssl
Requires: alterator gettext
Provides: webserver
Conflicts: alterator-fbi < 0.15-alt1
BuildPreReq: alterator >= 3.1 alterator-fbi
#Note: apache2-httpd-prefork in buildreq is a bug
# Automatically added by buildreq on Fri Apr 06 2007
BuildRequires: alterator-fbi apache2-devel apache2-httpd-prefork apache2-httpd-worker pam_userpass-devel
%description
Apache HTTP Server (alterator edition)
%prep
%setup -qcT -a 100 -a 101 -a 102
%build
cd chkpwd-%version
%make_build
cd -
cd mod_authn_chkpwd-%version
%make_build
cd -
cd alterator-admin-%version
%make_build libdir=%_libdir
cd -
%install
cd chkpwd-%version
%makeinstall
cd -
cd mod_authn_chkpwd-%version
%makeinstall
cd -
cd alterator-admin-%version
%makeinstall HTMLROOT=%buildroot%_var/www/
cd -
%__install -d %buildroot%_var/run/%name
%__install -d %buildroot%_var/log/%name
%__install -Dpm644 %SOURCE1 %buildroot%_sysconfdir/httpd2/conf/httpd2.alterator.conf
%__subst 's,/usr/lib,%_libdir,' %buildroot%_sysconfdir/httpd2/conf/httpd2.alterator.conf
%__install -Dpm755 %SOURCE2 %buildroot/%_initrddir/httpd-alterator
%__install -Dpm640 %SOURCE3 %buildroot/%_sysconfdir/pam.d/ahttpd
%__install -Dpm644 %SOURCE4 %buildroot%_sysconfdir/logrotate.d/%name
#ghost
touch %buildroot%_sysconfdir/httpd2/conf/%name.cnf
mkdir -p %buildroot/%_localstatedir/ssl/certs/
touch %buildroot/%_localstatedir/ssl/certs/httpd-alterator.csr
#groups:
# '_ahttpd' - sgid helper protection
# 'auth' - for shadow files
# 'shadow' in sgid helper - for tcb directories
# '_configd' - for alterator socket
%find_lang alterator-admin
%pre
/usr/sbin/groupadd -r -f _ahttpd
/usr/sbin/groupadd -r -f _configd
/usr/sbin/useradd -r -g _ahttpd -G auth,_configd -d /dev/null -s /dev/null -n _ahttpd >/dev/null 2>&1 ||:
%post
%post_service httpd-alterator
%preun
%preun_service httpd-alterator
%files -f alterator-admin.lang
#our specific apache configs
%config(noreplace) %_sysconfdir/logrotate.d/*
%_initdir/*
%_var/run/%name
%attr(750,root,adm) %_logdir/%name
%config(noreplace) %_sysconfdir/httpd2/conf/httpd2.alterator.conf
#auth stuff
%attr(640,root,_ahttpd) %_sysconfdir/pam.d/ahttpd
%attr(710,root,_ahttpd) %dir %_libexecdir/ahttpd
%attr(2711,root,shadow) %_libexecdir/ahttpd/chkpwd
%_libdir/apache2/modules/*.so
#SSL stuff
%ghost %config(noreplace) %_sysconfdir/httpd2/conf/%name.cnf
%ghost %_localstatedir/ssl/certs/httpd-alterator.csr
#alterator module
%_var/www/html/*
%_datadir/alterator/applications/*
%_datadir/alterator/help/*/*
%_alterator_backend3dir/*
%changelog
…
Полный changelog можно просмотреть здесь