Group :: Sistema/Servidores
RPM: apache2-mod_auth_mysql
Main Changelog Spec Patches Sources Download Gear Bugs e 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
…
Todas as alterações você pod ver aqui
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
…
Todas as alterações você pod ver aqui