Hello community,

here is the log from the commit of package pam_pkcs11 for openSUSE:Factory 
checked in at 2016-04-07 13:32:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_pkcs11 (Old)
 and      /work/SRC/openSUSE:Factory/.pam_pkcs11.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam_pkcs11"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_pkcs11/pam_pkcs11.changes    2012-07-12 
10:50:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pam_pkcs11.new/pam_pkcs11.changes       
2016-04-07 13:32:18.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Feb  9 19:02:43 UTC 2016 - [email protected]
+
+- Fix build for Tumbleweed:
+  * Add pam_pkcs11-0.6.8-fix-crypto-cflags.patch
+  * Rebuild configure with the bootstrap script (add libtool as
+    build dependency)
+
+-------------------------------------------------------------------

New:
----
  pam_pkcs11-0.6.8-fix-crypto-cflags.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_pkcs11.spec ++++++
--- /var/tmp/diff_new_pack.eNZ36U/_old  2016-04-07 13:32:19.000000000 +0200
+++ /var/tmp/diff_new_pack.eNZ36U/_new  2016-04-07 13:32:19.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pam_pkcs11
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,9 +27,12 @@
 Source1:        pam_pkcs11-common-auth-smartcard.pam
 Source2:        baselibs.conf
 Patch1:         %{name}-0.5.3-nss-conf.patch
+# PATCH-FIX-UPSTREAM pam_pkcs11-0.6.8-fix-crypto-cflags.patch -- Fix CFLAGS 
and build for Tumbleweed
+Patch2:         %{name}-0.6.8-fix-crypto-cflags.patch
 Patch3:         %{name}-0.6.0-nss-autoconf.patch
 BuildRequires:  curl-devel
 BuildRequires:  flex
+BuildRequires:  libtool
 BuildRequires:  libxslt
 BuildRequires:  mozilla-nss-devel
 BuildRequires:  openldap2-devel
@@ -71,6 +74,7 @@
 %prep
 %setup -q
 %patch1 -p1
+%patch2
 %patch3 -p1
 cp -a %{S:1} common-auth-smartcard
 mv po/pt_br.po po/pt_BR.po
@@ -78,6 +82,7 @@
 sed -i s:/lib/:/%{_lib}/:g etc/pam_pkcs11.conf.example.in 
etc/pkcs11_eventmgr.conf.example
 
 %build
+./bootstrap
 %configure\
        --docdir=%{_docdir}/%{name}\
        --with-nss\

++++++ pam_pkcs11-0.6.8-fix-crypto-cflags.patch ++++++
diff -up ./configure.in.orig ./configure.in
--- ./configure.in.orig 2016-02-08 23:31:17.057761702 +0100
+++ ./configure.in      2016-02-08 23:31:44.917760530 +0100
@@ -157,7 +157,7 @@ fi
 AM_CONDITIONAL(HAVE_NSS, test x$with_nss = xyes)
 if test "$with_nss" = "yes"
 then
-    CRYPTO_CFLAGS="${NSS_CFLAGS}-DHAVE_NSS"
+    CRYPTO_CFLAGS="${NSS_CFLAGS} -DHAVE_NSS"
     CRYPTO_LIBS=${NSS_LIBS}
 else
     CRYPTO_CFLAGS=${OPENSSL_CFLAGS}

Reply via email to