From: Devrim GÜNDÜZ Date: Tue, 13 Feb 2007 07:11:36 +0000 (+0000) Subject: - Add pgpool.pam file for pam authentication X-Git-Tag: V3_3~23 X-Git-Url: http://git.postgresql.org/gitweb/static/connections.php?a=commitdiff_plain;h=25ea75bf4bf2fa21e0e29da3a98e6b054dfa4878;p=pgpool1.git - Add pgpool.pam file for pam authentication - configure with pam support. This is a bugfix for new hba auth. - Removed vendor tag, per rh bugzilla #222797 - Update to latest release --- diff --git a/pgpool.spec b/pgpool.spec index 585d7b0..9e14b01 100644 --- a/pgpool.spec +++ b/pgpool.spec @@ -2,14 +2,15 @@ Summary: Pgpool is a connection pooling/replication server for PostgreSQL Name: postgresql-%{short_name} -Version: 3.1.2 -Release: 1%{?dist} +Version: 3.2 +Release: 2%{?dist} License: BSD -Vendor: PgPool Global Development Group Group: Applications/Databases URL: http://pgpool.projects.PostgreSQL.org -Source0: http://pgfoundry.org/frs/download.php/980/%{short_name}-%{version}.tar.gz +Source0: http://pgfoundry.org/frs/download.php/1254/%{short_name}-%{version}.tar.gz +Source2: pgpool.pam BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: pam-devel %description pgpool is a connection pooling/replication server for PostgreSQL. @@ -23,7 +24,7 @@ were a standard PostgreSQL server. CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS -%configure +%configure --with-pam make %{?smp_flags} @@ -34,18 +35,36 @@ install -m 755 %{short_name} %{buildroot}%{_bindir} install -m 644 %{short_name}.8 %{buildroot}%{_mandir}/man8/ install -d %{buildroot}/%{_docdir}/%{name}-%{version} mv %{buildroot}%{_sysconfdir}/pgpool.conf.sample %{buildroot}/%{_docdir}/%{name}-%{version} +mv %{buildroot}%{_sysconfdir}/pool_hba.conf.sample %{buildroot}/%{_docdir}/%{name}-%{version} + +if [ -d /etc/pam.d ] +then +install -d %{buildroot}/%{_sysconfdir}/pam.d +install -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/pam.d/pgpool +fi %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc README README.euc_jp TODO COPYING INSTALL AUTHORS ChangeLog NEWS pgpool.conf.sample +%doc README README.euc_jp TODO COPYING INSTALL AUTHORS ChangeLog NEWS pgpool.conf.sample pool_hba.conf.sample +%config(noreplace) /etc/pam.d/pgpool %{_bindir}/pgpool %{_mandir}/man8/* %changelog -* Tue Dec 5 2006 - Devrim GUNDUZ 3.1.2-1 +* Tue Feb 13 2007 - Devrim GUNDUZ 3.2-2 +- Add pgpool.pam file for pam authentication +- configure with pam support. This is a bugfix for new hba auth. + +* Mon Feb 12 2007 - Devrim GUNDUZ 3.2-1 +- Update to 3.2 + +* Tue Jan 16 2007 - Devrim GUNDUZ 3.1.2-2 +- Removed vendor tag, per rh bugzilla #222797 + +* Tue Dec 12 2006 - Devrim GUNDUZ 3.1.2-1 - Update to 3.1.2-1 * Tue Dec 5 2006 - Devrim GUNDUZ 3.1.1-7