[packages/pgpool-II] - ssl support

adamg adamg at pld-linux.org
Wed Sep 2 13:04:20 CEST 2015


commit 2430038f0467e8ee015f7e538157899e056e9a88
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Fri Jun 19 16:34:57 2015 +0200

    - ssl support

 pgpool-II.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/pgpool-II.spec b/pgpool-II.spec
index 19c2886..02cfec8 100644
--- a/pgpool-II.spec
+++ b/pgpool-II.spec
@@ -3,6 +3,7 @@
 # - logrotate script
 # - libpcp devel subpackage?
 #
+%bcond_without	openssl	# build without SSL support
 %bcond_without	pam	# don't build with pam support
 #
 %define		relname	pgpool
@@ -22,6 +23,7 @@ Source3:	%{relname}.sysconfig
 Source4:	%{relname}.tmpfiles
 Patch0:		%{name}-libs.patch
 URL:		http://www.pgpool.net/
+%{?with_openssl:BuildRequires:	openssl-devel}
 BuildRequires:	postgresql-devel
 %{?with_pam:BuildRequires:	pam-devel}
 BuildRequires:	sed >= 4.0
@@ -82,6 +84,7 @@ export CFLAGS CXXFLAGS
 
 %configure \
 	--bindir=%{_bindir} \
+	%{?with_openssl:--with-openssl} \
 	%{?with_pam:--with-pam} \
 	--sysconfdir=%{_sysconfdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pgpool-II.git/commitdiff/b1e0eac29389726535a651a86410e8ab62d298d8



More information about the pld-cvs-commit mailing list