Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37660226
en ru br
Репозитории ALT
5.1: 3.0.0-alt6
4.1: 3.0.0-alt5
4.0: 3.0.0-alt5
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: apache2-mod_auth_mysql

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

Name: apache2-mod_auth_mysql
Version: 3.0.0
Release: alt5

Summary: mod_auth_mysql module for Apache 2 HTTP Server
License: Apache (BSD-like)
Group: System/Servers

Url: http://modauthmysql.sourceforge.net
Packager: Vladimir V Kamarzin <vvk at altlinux.ru>

# http://modauthmysql.sourceforge.net/

Source0: mod_auth_mysql-%version.tar
Source1: auth_mysql.load
Patch0: mod_auth_mysql-%version-%release.patch

Requires: apache2

# Automatically added by buildreq on Sat Jun 04 2005

BuildRequires: apache2-devel libMySQL-devel libapr1-devel libaprutil1-devel zlib-devel

%description
mod_auth_mysql is an Apache module to authenticate users and authorize access
through a MySQL database.  It is flexible and support several encryption
methods.  The module will work on Apache 2.x.

%prep
%setup -q -n mod_auth_mysql-%version
%patch0 -p1

%build
%_sbindir/apxs2 -c -I%_includedir/mysql mod_auth_mysql.c -lmysqlclient -lm -lz -lapr-1 -laprutil-1

%install
install -pDm0644 .libs/mod_auth_mysql.so %buildroot%_libdir/apache2/modules/mod_auth_mysql.so
install -pDm0644 %SOURCE1 %buildroot%_sysconfdir/httpd2/conf/mods-available/auth_mysql.load

%post
a2enmod auth_mysql >/dev/null
%_initdir/httpd2 condreload

%preun
if [ $1 -eq 0 ]; then
a2dismod auth_mysql
%_initdir/httpd2 condreload
fi

%files
%config(noreplace) %_sysconfdir/httpd2/conf/mods-available/auth_mysql.load
%_libdir/apache2/modules/*
%doc CHANGES CONFIGURE README

%changelog

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

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