SHA256
1
0
forked from pool/pam_pkcs11

Accepting request 57912 from security:chipcard

Accepted submit request 57912 from user sbrabec

OBS-URL: https://build.opensuse.org/request/show/57912
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam_pkcs11?expand=0&rev=16
This commit is contained in:
Marcus Rückert 2011-01-14 02:48:32 +00:00 committed by Git OBS Bridge
parent 0e26e0e9ac
commit 7fe1165a8d
5 changed files with 22 additions and 17 deletions

View File

@ -1,5 +1,5 @@
--- pam_pkcs11-0.5.3/etc/pam_pkcs11.conf.example~ 2005-09-12 05:12:55.000000000 -0400 --- pam_pkcs11-0.5.3/etc/pam_pkcs11.conf.example.in 2005-09-12 05:12:55.000000000 -0400
+++ pam_pkcs11-0.5.3/etc/pam_pkcs11.conf.example 2007-03-01 10:42:20.000000000 -0500 +++ pam_pkcs11-0.5.3/etc/pam_pkcs11.conf.example.in 2007-03-01 10:42:20.000000000 -0500
@@ -9,7 +9,7 @@ pam_pkcs11 { @@ -9,7 +9,7 @@ pam_pkcs11 {
nullok = true; nullok = true;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:76425a1abf99449f7ff80f5b4387354ec7106241b5c9f30351eca5f3360eb544
size 805737

3
pam_pkcs11-0.6.6.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4b524cf59fffd00a83022e1c199b35d40df3a0b8d104c76aaeb0c00a2df3a11
size 807905

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Jan 5 18:40:44 CET 2011 - sbrabec@suse.cz
- Updated to version 0.6.6:
* Compatible with pcsc-lite-1.6.
* New mapper API.
* Minor fixes.
* Translaton updates.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 1 12:20:03 UTC 2010 - jengelh@medozas.de Mon Feb 1 12:20:03 UTC 2010 - jengelh@medozas.de

View File

@ -19,8 +19,8 @@
Name: pam_pkcs11 Name: pam_pkcs11
Version: 0.6.1 Version: 0.6.6
Release: 2 Release: 0
Url: http://www.opensc-project.org/pam_pkcs11/ Url: http://www.opensc-project.org/pam_pkcs11/
Group: Productivity/Security Group: Productivity/Security
License: LGPLv2.1+ License: LGPLv2.1+
@ -30,7 +30,7 @@ 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
Patch3: %{name}-0.6.0-nss-autoconf.patch Patch3: %{name}-0.6.0-nss-autoconf.patch
BuildRequires: curl-devel libopenssl-devel libxslt mozilla-nss-devel openldap2-devel openssl-devel pam-devel pcsc-lite-devel pkg-config BuildRequires: curl-devel libxslt mozilla-nss-devel openldap2-devel openssl-devel pam-devel pcsc-lite-devel pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -51,8 +51,6 @@ Additionally, the package includes pam_pkcs11-related tools: *
* make_hash_links: Creates hash link directories for storing CAs and * make_hash_links: Creates hash link directories for storing CAs and
CRLs CRLs
Authors: Authors:
-------- --------
Mario Strasser <mast@gmx.net> Mario Strasser <mast@gmx.net>
@ -62,21 +60,19 @@ Authors:
Ludovic Rousseau <ludovic.rousseau@free.fr> Ludovic Rousseau <ludovic.rousseau@free.fr>
Andreas Jellinghaus <aj@dungeon.inka.de> Andreas Jellinghaus <aj@dungeon.inka.de>
Dominik Fischer <dom_fischer@web.de> Dominik Fischer <dom_fischer@web.de>
Ville Skyttä <vskytta@gmail.com> Ville Skyttä <vskytta@gmail.com>
%prep %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
%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
sed -i s/pt_br/pt_BR/ configure.in configure
%build %build
# LDAP_DEPRECATED required for for ldap_simple_bind_s(), ldap_search_s(), ldap_unbind_s()
# -fno-strict-aliasing required for pam_pkcs11-0.6.0:
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fno-strict-aliasing"
export CPPFLAGS="`pkg-config --cflags xulrunner-xpcom | sed 's: *:/system_wrappers&:g'`"
%configure\ %configure\
--datadir=%{_docdir}\ --docdir=%{_docdir}/%{name}\
--with-nss\ --with-nss\
--with-curl --with-curl
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
@ -85,7 +81,7 @@ make %{?jobs:-j%jobs}
%makeinstall %makeinstall
mkdir -p $RPM_BUILD_ROOT/%{_lib} mkdir -p $RPM_BUILD_ROOT/%{_lib}
mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib}
rm $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.*a #$RPM_BUILD_ROOT/%{_lib}/security/*.*a rm $RPM_BUILD_ROOT%{_libdir}/pam_pkcs11/*.*a $RPM_BUILD_ROOT/%{_lib}/security/*.*a
# Hardcoded defaults... no sysconfdir # Hardcoded defaults... no sysconfdir
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/cacerts install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/cacerts
install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/crls install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/crls