This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, 6.1 has been updated
       via  2648d3fde040b41553bf956199e2de869c39dc3c (commit)
      from  2b136eb93b56ad102d0167912b1b13f58df2d641 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=2648d3fde040b41553bf956199e2de869c39dc3c

commit 2648d3fde040b41553bf956199e2de869c39dc3c
Author: Franck Villaume <[email protected]>
Date:   Wed Apr 25 09:45:30 2018 +0000

    OpenSUSE: fix nss integration. add missing libnss-pgsql rpm

diff --git a/autoinstall/common-backports b/autoinstall/common-backports
index e2dc3dd..0a1e15d 100644
--- a/autoinstall/common-backports
+++ b/autoinstall/common-backports
@@ -211,6 +211,20 @@ EOF
     # so we can test mta-postfix
 }
 
+function suse_backport_from_fedora_rpm {
+       if  [ ! -e "libnss-pgsql.done" ]; then
+               zypper in xmlto
+               zypper in rpm-build
+               zypper in postgresql-devel
+               wget 
https://download.fedoraproject.org/pub/fedora/linux/releases/25/Everything/source/tree/Packages/l/libnss-pgsql-1.5.0-0.14.beta.fc24.src.rpm
 -O libnss-pgsql-1.5.0-0.14.beta.fc24.src.rpm
+               rpm -ivh libnss-pgsql-1.5.0-0.14.beta.fc24.src.rpm
+               sed -i -e 's|<libpq-fe.h|<pgsql/libpq-fe.h|' 
/usr/src/packages/SOURCES/libnss-pgsql-fix_include.patch
+               rpmbuild -ba /usr/src/packages/SPECS/libnss-pgsql.spec
+               rpm -Uvh 
/usr/src/packages/RPMS/x86_64/libnss-pgsql-1.5.0-0.14.beta.x86_64.rpm
+               touch libnss-pgsql.done
+       fi
+}
+
 function suse_check_release {
        supported=$(. /etc/os-release; echo $VERSION | grep "42\.[123]")
        if test -z "$supported"; then
diff --git a/autoinstall/install-src.sh b/autoinstall/install-src.sh
index f75429f..fd30a13 100755
--- a/autoinstall/install-src.sh
+++ b/autoinstall/install-src.sh
@@ -73,6 +73,7 @@ elif [ -e /etc/SuSE-release ]; then
                python-psycopg2 \
                mediawiki moinmoin-wiki \
                vsftpd
+       suse_backport_from_fedora_rpm
 else
        yum install -y make tar
        backports_rpm

-----------------------------------------------------------------------

Summary of changes:
 autoinstall/common-backports | 14 ++++++++++++++
 autoinstall/install-src.sh   |  1 +
 2 files changed, 15 insertions(+)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to