diff --git a/pam_pkcs11-0.5.3-nss-conf.patch b/pam_pkcs11-0.5.3-nss-conf.patch index 6bc2b3a..252aa91 100644 --- a/pam_pkcs11-0.5.3-nss-conf.patch +++ b/pam_pkcs11-0.5.3-nss-conf.patch @@ -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 2007-03-01 10:42:20.000000000 -0500 +--- 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.in 2007-03-01 10:42:20.000000000 -0500 @@ -9,7 +9,7 @@ pam_pkcs11 { nullok = true; diff --git a/pam_pkcs11-0.6.1.tar.bz2 b/pam_pkcs11-0.6.1.tar.bz2 deleted file mode 100644 index d7f3714..0000000 --- a/pam_pkcs11-0.6.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:76425a1abf99449f7ff80f5b4387354ec7106241b5c9f30351eca5f3360eb544 -size 805737 diff --git a/pam_pkcs11-0.6.6.tar.bz2 b/pam_pkcs11-0.6.6.tar.bz2 new file mode 100644 index 0000000..b8a4520 --- /dev/null +++ b/pam_pkcs11-0.6.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4b524cf59fffd00a83022e1c199b35d40df3a0b8d104c76aaeb0c00a2df3a11 +size 807905 diff --git a/pam_pkcs11.changes b/pam_pkcs11.changes index 416fbfa..805779a 100644 --- a/pam_pkcs11.changes +++ b/pam_pkcs11.changes @@ -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 diff --git a/pam_pkcs11.spec b/pam_pkcs11.spec index 3a798e1..233314c 100644 --- a/pam_pkcs11.spec +++ b/pam_pkcs11.spec @@ -19,8 +19,8 @@ Name: pam_pkcs11 -Version: 0.6.1 -Release: 2 +Version: 0.6.6 +Release: 0 Url: http://www.opensc-project.org/pam_pkcs11/ Group: Productivity/Security License: LGPLv2.1+ @@ -30,7 +30,7 @@ Source1: pam_pkcs11-common-auth-smartcard.pam Source2: baselibs.conf Patch1: %{name}-0.5.3-nss-conf.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 %description @@ -51,8 +51,6 @@ Additionally, the package includes pam_pkcs11-related tools: * * make_hash_links: Creates hash link directories for storing CAs and CRLs - - Authors: -------- Mario Strasser @@ -62,21 +60,19 @@ Authors: Ludovic Rousseau Andreas Jellinghaus Dominik Fischer - Ville Skyttä + Ville Skyttä %prep %setup -q %patch1 -p1 %patch3 -p1 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 -# 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\ - --datadir=%{_docdir}\ + --docdir=%{_docdir}/%{name}\ --with-nss\ --with-curl make %{?jobs:-j%jobs} @@ -85,7 +81,7 @@ make %{?jobs:-j%jobs} %makeinstall mkdir -p $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 install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/cacerts install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/crls