[packages/lighttpd] add mod_vhostdb_pgsql build

glen glen at pld-linux.org
Sun Nov 12 23:10:35 CET 2017


commit 591ca263b6883b021a74d9017061d7885b758d71
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Nov 13 00:10:12 2017 +0200

    add mod_vhostdb_pgsql build

 lighttpd.spec    | 6 ++++++
 mod_vhostdb.conf | 1 +
 2 files changed, 7 insertions(+)
---
diff --git a/lighttpd.spec b/lighttpd.spec
index 125826a..0a87ab3 100644
--- a/lighttpd.spec
+++ b/lighttpd.spec
@@ -13,6 +13,7 @@
 %bcond_without	dbi		# libdbi, enables mod_vhostdb_dbi
 %bcond_without	ssl		# ssl support
 %bcond_without	mysql		# mysql support in mod_mysql_vhost, mod_vhostdb_mysql
+%bcond_without	pgsql		# PgSQL, enables mod_vhostdb_pgsql
 %bcond_without	geoip		# GeoIP support
 %bcond_with	krb5		# krb5 support (does not work with heimdal)
 %bcond_without	ldap		# ldap support in mod_auth, mod_vhostdb_ldap
@@ -141,6 +142,7 @@ BuildRequires:	libuuid-devel
 %{?with_lua:BuildRequires:	lua51-devel}
 BuildRequires:	mailcap >= 2.1.14-4.4
 %{?with_mysql:BuildRequires:	mysql-devel}
+%{?with_pgsql:BuildRequires:	postgresql-devel}
 %{?with_ldap:BuildRequires:	openldap-devel}
 %{?with_ssl:BuildRequires:	openssl-devel}
 BuildRequires:	pcre-devel
@@ -989,6 +991,7 @@ fi
 	%{?with_mysql:--with-mysql} \
 	%{?with_ldap:--with-ldap} \
 	%{?with_ssl:--with-openssl} \
+	%{?with_pgsql:--with-pgsql} \
 	%{?with_lua:--with-lua=lua51} \
 	%{?with_storage_memcached:--with-memcached} \
 	%{?with_webdav_props:--with-webdav-props} \
@@ -1517,6 +1520,9 @@ fi
 %if %{with mysql}
 %attr(755,root,root) %{pkglibdir}/mod_vhostdb_mysql.so
 %endif
+%if %{with pgsql}
+%attr(755,root,root) %{pkglibdir}/mod_vhostdb_pgsql.so
+%endif
 
 %files mod_webdav
 %defattr(644,root,root,755)
diff --git a/mod_vhostdb.conf b/mod_vhostdb.conf
index 71f24db..8ae7488 100644
--- a/mod_vhostdb.conf
+++ b/mod_vhostdb.conf
@@ -7,4 +7,5 @@ server.modules += (
 #	"mod_vhostdb_dbi",
 #	"mod_vhostdb_ldap",
 #	"mod_vhostdb_mysql",
+#	"mod_vhostdb_pgsql",
 )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lighttpd.git/commitdiff/591ca263b6883b021a74d9017061d7885b758d71



More information about the pld-cvs-commit mailing list