#1 Fixes bug 1801301
Closed 4 years ago by golanv. Opened 4 years ago by golanv.
rpms/ golanv/pgbouncer master  into  master

file added
+7
@@ -0,0 +1,7 @@ 

+ #%PAM-1.0

+ auth            required pam_env.so

+ auth            required pam_permit.so

+ account         required pam_permit.so

+ password        required pam_deny.so

+ session         required pam_unix.so

+ session         optional pam_systemd.so

file modified
+11 -1
@@ -10,7 +10,7 @@ 

  

  Name:		pgbouncer

  Version:	1.12.0

- Release:	2%{?dist}

+ Release:	3%{?dist}

  Summary:	Lightweight connection pooler for PostgreSQL

  License:	MIT and BSD

  URL:		https://pgbouncer.github.io/
@@ -19,10 +19,12 @@ 

  Source2:	%{name}.sysconfig

  Source3:	%{name}.logrotate

  Source4:	%{name}.service

+ Source5:	%{name}.pam

  Patch0:		%{name}-ini.patch

  Patch1:		%{name}-1.10.0-python3.patch

  

  BuildRequires:	gcc

+ BuildRequires:	pam-devel

  BuildRequires:	libevent-devel >= 2.0 openssl-devel

  

  %if %{systemd_enabled}
@@ -69,6 +71,10 @@ 

  %{__install} -p -m 644 etc/pgbouncer.ini %{buildroot}%{_sysconfdir}/%{name}

  %{__install} -p -m 700 etc/mkauth.py %{buildroot}%{_sysconfdir}/%{name}/

  

+ # Install pam configuration file

+ %{__mkdir} -p %{buildroot}%{_sysconfdir}/pam.d

+ %{__install} -p -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/pam.d/%{name}

+ 

  %if %{systemd_enabled}

  %{__install} -d %{buildroot}%{_unitdir}

  %{__install} -m 644 %{SOURCE4} %{buildroot}%{_unitdir}/%{name}.service
@@ -151,8 +157,12 @@ 

  %{_mandir}/man1/%{name}.*

  %{_mandir}/man5/%{name}.*

  %{_sysconfdir}/%{name}/mkauth.py*

+ %{_sysconfdir}/pam.d/%{name}

  

  %changelog

+ * Fri Feb 14 2020 Aaron Burnett <mullein@adelie.io> - 1.12.0-3

+ - Fixes bug #1801301

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

no initial comment

1 new commit added

  • Adds PAM configuration file for pgbouncer
4 years ago

2 new commits added

  • Adds PAM configuration file for pgbouncer
  • Fixes bug 1801301
4 years ago

2 new commits added

  • Adds PAM configuration file
  • Fixes bug 1801301
4 years ago

1 new commit added

  • Adds realm for pam_env
4 years ago

Pull-Request has been closed by golanv

4 years ago