ALT Linux repositórios
Group :: Sistema/Bibliotecas
RPM: pam-mysql
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define git 4f76d51
Name: pam-mysql
Summary: MySQL authentication for PAM
Version: 0.8.1
Release: alt0.1.g%git
Packager: L.A. Kostis <lakostis at altlinux.ru>
Url: https://github.com/NigelCunningham/pam-MySQL
Source: pam_mysql-%version.tar
Source1: %name.conf
License: GPL2
Group: System/Libraries
BuildRequires(pre): libpam-devel
BuildRequires: gcc-c++ libmysqlclient21-devel libstdc++-devel zlib-devel libssl-devel
%description
This is a module that allows people to login to PAM-aware applications by
authenticating to a MySQL database. Now configurable in terms of which
host the database resides upon and which table and username and password
column to interrogate.
%prep
%setup -q -n pam_mysql-%version
%build
%autoreconf
%configure --with-pam-mods-dir=%_pam_modules_dir --with-openssl
%make
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir
install -p -m600 %SOURCE1 %buildroot%_sysconfdir/
%files
%doc ChangeLog AUTHORS COPYING README NEWS
%_pam_modules_dir/pam_mysql.so
%attr(600,root,root) %config(noreplace) %_sysconfdir/%name.conf
%changelog
…
Todas as alterações você pod ver aqui
Name: pam-mysql
Summary: MySQL authentication for PAM
Version: 0.8.1
Release: alt0.1.g%git
Packager: L.A. Kostis <lakostis at altlinux.ru>
Url: https://github.com/NigelCunningham/pam-MySQL
Source: pam_mysql-%version.tar
Source1: %name.conf
License: GPL2
Group: System/Libraries
BuildRequires(pre): libpam-devel
BuildRequires: gcc-c++ libmysqlclient21-devel libstdc++-devel zlib-devel libssl-devel
%description
This is a module that allows people to login to PAM-aware applications by
authenticating to a MySQL database. Now configurable in terms of which
host the database resides upon and which table and username and password
column to interrogate.
%prep
%setup -q -n pam_mysql-%version
%build
%autoreconf
%configure --with-pam-mods-dir=%_pam_modules_dir --with-openssl
%make
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir
install -p -m600 %SOURCE1 %buildroot%_sysconfdir/
%files
%doc ChangeLog AUTHORS COPYING README NEWS
%_pam_modules_dir/pam_mysql.so
%attr(600,root,root) %config(noreplace) %_sysconfdir/%name.conf
%changelog
…
Todas as alterações você pod ver aqui