SHA256
1
0
forked from pool/pam_pkcs11
OBS User unknown 2007-07-27 00:02:39 +00:00 committed by Git OBS Bridge
parent 02cbc668ed
commit 732562c948
4 changed files with 65 additions and 45 deletions

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jul 26 14:32:24 CEST 2007 - sbrabec@suse.cz
- Updated to version 0.6.0:
* compiler warning fixes
* I18N support
* new configuration options
* support for new environment variables
* new tool pkcs11_setup
* support for the NSS crypto libraries (off by default)
* for more changes see ChangeLog.svn
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 12 16:18:38 CEST 2006 - sbrabec@suse.cz Fri May 12 16:18:38 CEST 2006 - sbrabec@suse.cz

View File

@ -1,7 +1,7 @@
# #
# spec file for package pam_pkcs11 (Version 0.5.3) # spec file for package pam_pkcs11 (Version 0.6.0)
# #
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
# package are under the same license as the package itself. # package are under the same license as the package itself.
# #
@ -11,33 +11,33 @@
# norootforbuild # norootforbuild
Name: pam_pkcs11 Name: pam_pkcs11
Version: 0.5.3 Version: 0.6.0
Release: 3 Release: 1
URL: http://www.opensc-project.org/pam_pkcs11/ URL: http://www.opensc-project.org/pam_pkcs11/
Group: Productivity/Security Group: Productivity/Security
License: LGPL License: LGPL v2 or later
Summary: PKCS #11 PAM module Summary: PKCS #11 PAM Module
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Autoreqprov: on BuildRequires: curl-devel libxslt openldap2-devel openssl-devel pam-devel pcsc-lite-devel pkg-config
BuildRequires: curl-devel libxslt openldap2-devel openssl-devel pam-devel pcsc-lite-devel pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
This Linux-PAM module allows a X.509 certificate based user This Linux PAM module allows X.509 certificate-based user
authentication. The certificate and its dedicated private key are authentication. The certificate and its dedicated private key are
thereby accessed by means of an appropriate PKCS #11 module. For the thereby accessed by means of an appropriate PKCS #11 module. For
verification of the users' certificates, locally stored CA certificates verification of the users' certificates, locally stored CA certificates
as well as either online or locally accessible CRLs are used. as well as online or locally accessible CRLs are used.
Adittional included pam_pkcs11 related tools - pkcs11_eventmgr: Additionally, the package includes pam_pkcs11-related tools: -
Generate actions on card insert/removal/timeout events pkcs11_eventmgr: Generate actions on card insert, removal, or
time-out events
- pklogin_finder: Get the login name that maps to a certificate - pklogin_finder: Get the login name that maps to a certificate
- pkcs11_inspect: Inspect the contents of a certificate - pkcs11_inspect: Inspect the contents of a certificate
- make_hash_links: create hash link directories for storeing CA's and - make_hash_links: Create hash link directories for storing CAs and
CRL's CRLs
@ -53,50 +53,58 @@ Authors:
Ville Skyttä <vskytta@gmail.com> Ville Skyttä <vskytta@gmail.com>
%prep %prep
%setup %setup -q
%build %build
# LDAP_DEPRECATED required for for ldap_simple_bind_s(), ldap_search_s(), ldap_unbind_s() # LDAP_DEPRECATED required for for ldap_simple_bind_s(), ldap_search_s(), ldap_unbind_s()
export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED" # -fno-strict-aliasing required for pam_pkcs11-0.6.0:
./configure\ export CFLAGS="$RPM_OPT_FLAGS -DLDAP_DEPRECATED -fno-strict-aliasing"
--prefix=/usr\ %configure\
--libdir=/usr/%{_lib}\ --datadir=%{_docdir}\
--datadir=%{_defaultdocdir}\
--mandir=/usr/share/man\
--with-curl --with-curl
make %{?jobs:-j%jobs} make %{?jobs:-j%jobs}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %makeinstall
mkdir -p $RPM_BUILD_ROOT/%{_lib} mkdir -p $RPM_BUILD_ROOT/%{_lib}
mv $RPM_BUILD_ROOT/usr/%{_lib}/security $RPM_BUILD_ROOT/%{_lib} mv $RPM_BUILD_ROOT%{_libdir}/security $RPM_BUILD_ROOT/%{_lib}
rm $RPM_BUILD_ROOT/usr/%{_lib}/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/etc/pam_pkcs11/cacerts install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/cacerts
install -dm 755 $RPM_BUILD_ROOT/etc/pam_pkcs11/crls install -dm 755 $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/crls
cd etc cd etc
for conf in *.conf.example ; do for conf in *.conf.example ; do
install -m 644 ${conf} $RPM_BUILD_ROOT/etc/pam_pkcs11/${conf%.example} install -m 644 ${conf} $RPM_BUILD_ROOT%{_sysconfdir}/pam_pkcs11/${conf%.example}
done done
cd .. cd ..
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp -a AUTHORS COPYING ChangeLog NEWS README TODO doc/pam_pkcs11.html doc/mappers_api.html doc/README.autologin doc/README.mappers $RPM_BUILD_ROOT%{_defaultdocdir}/%{name} cp -a AUTHORS COPYING ChangeLog ChangeLog.svn NEWS README TODO doc/pam_pkcs11.html doc/mappers_api.html doc/README.autologin doc/README.mappers $RPM_BUILD_ROOT%{_docdir}/%{name}
%find_lang %{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files -f %{name}.lang
%defattr (-, root, root) %defattr (-, root, root)
%doc %{_defaultdocdir}/%{name} %doc %{_docdir}/%{name}
%dir /etc/pam_pkcs11 %{_bindir}/*
%dir /etc/pam_pkcs11/cacerts %{_libdir}/pam_pkcs11
%dir /etc/pam_pkcs11/crls
%config(noreplace) /etc/pam_pkcs11/*.conf
/usr/%{_lib}/pam_pkcs11
/%{_lib}/security/*.so /%{_lib}/security/*.so
/usr/bin/* %doc %{_mandir}/man?/*.*
%doc /usr/share/man/man?/*.* %dir %{_sysconfdir}/pam_pkcs11
%dir %{_sysconfdir}/pam_pkcs11/cacerts
%dir %{_sysconfdir}/pam_pkcs11/crls
%config(noreplace) %{_sysconfdir}/pam_pkcs11/*.conf
%changelog -n pam_pkcs11 %changelog
* Thu Jul 26 2007 - sbrabec@suse.cz
- Updated to version 0.6.0:
* compiler warning fixes
* I18N support
* new configuration options
* support for new environment variables
* new tool pkcs11_setup
* support for the NSS crypto libraries (off by default)
* for more changes see ChangeLog.svn
* Fri May 12 2006 - sbrabec@suse.cz * Fri May 12 2006 - sbrabec@suse.cz
- New SuSE package, version 0.5.3. - New SuSE package, version 0.5.3.