forked from pool/pam_pkcs11
Accepting request 384039 from security:chipcard
1 OBS-URL: https://build.opensuse.org/request/show/384039 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_pkcs11?expand=0&rev=27
This commit is contained in:
commit
dfd68c679f
12
pam_pkcs11-0.6.8-fix-crypto-cflags.patch
Normal file
12
pam_pkcs11-0.6.8-fix-crypto-cflags.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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}
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 9 19:02:43 UTC 2016 - antoine.belvire@laposte.net
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jul 10 17:24:56 CEST 2012 - sbrabec@suse.cz
|
Tue Jul 10 17:24:56 CEST 2012 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pam_pkcs11
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,9 +27,12 @@ Source: %{name}-%{version}.tar.gz
|
|||||||
Source1: pam_pkcs11-common-auth-smartcard.pam
|
Source1: pam_pkcs11-common-auth-smartcard.pam
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch1: %{name}-0.5.3-nss-conf.patch
|
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
|
Patch3: %{name}-0.6.0-nss-autoconf.patch
|
||||||
BuildRequires: curl-devel
|
BuildRequires: curl-devel
|
||||||
BuildRequires: flex
|
BuildRequires: flex
|
||||||
|
BuildRequires: libtool
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: mozilla-nss-devel
|
BuildRequires: mozilla-nss-devel
|
||||||
BuildRequires: openldap2-devel
|
BuildRequires: openldap2-devel
|
||||||
@ -71,6 +74,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
cp -a %{S:1} common-auth-smartcard
|
cp -a %{S:1} common-auth-smartcard
|
||||||
mv po/pt_br.po po/pt_BR.po
|
mv po/pt_br.po po/pt_BR.po
|
||||||
@ -78,6 +82,7 @@ sed -i s/pt_br/pt_BR/ configure.in configure
|
|||||||
sed -i s:/lib/:/%{_lib}/:g etc/pam_pkcs11.conf.example.in etc/pkcs11_eventmgr.conf.example
|
sed -i s:/lib/:/%{_lib}/:g etc/pam_pkcs11.conf.example.in etc/pkcs11_eventmgr.conf.example
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./bootstrap
|
||||||
%configure\
|
%configure\
|
||||||
--docdir=%{_docdir}/%{name}\
|
--docdir=%{_docdir}/%{name}\
|
||||||
--with-nss\
|
--with-nss\
|
||||||
|
Loading…
Reference in New Issue
Block a user