forked from pool/libp11
This commit is contained in:
commit
46ee5aaa92
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
18
libp11-0.2.2-crash.patch
Normal file
18
libp11-0.2.2-crash.patch
Normal file
@ -0,0 +1,18 @@
|
||||
2006-07-19 07:39 aj
|
||||
|
||||
* trunk/src/p11_slot.c: fix bug causing a core dump.
|
||||
|
||||
================================================================================
|
||||
diff -ur libp11-0.2.2/src/p11_slot.c trunk/src/p11_slot.c
|
||||
--- libp11-0.2.2/src/p11_slot.c 2006-04-18 17:17:19.000000000 +0200
|
||||
+++ trunk/src/p11_slot.c 2006-07-19 09:39:49.000000000 +0200
|
||||
@@ -139,7 +139,8 @@
|
||||
|
||||
rv = CRYPTOKI_call(ctx, C_Login(priv->session,
|
||||
so ? CKU_SO : CKU_USER,
|
||||
- (CK_UTF8CHAR *) pin, strlen(pin)));
|
||||
+ (CK_UTF8CHAR *) pin,
|
||||
+ pin ? strlen(pin) : 0));
|
||||
CRYPTOKI_checkerr(PKCS11_F_PKCS11_LOGIN, rv);
|
||||
priv->loggedIn = 1;
|
||||
return 0;
|
3
libp11-0.2.2.tar.bz2
Normal file
3
libp11-0.2.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7bbb1810dc586306b9b15ca701206c8edb88de6b736c6024986319cd215c5c35
|
||||
size 310259
|
12
libp11.changes
Normal file
12
libp11.changes
Normal file
@ -0,0 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 3 17:50:13 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- Updated to version 0.2.2:
|
||||
* bug fixes
|
||||
* code cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 17:17:16 CEST 2006 - sbrabec@suse.cz
|
||||
|
||||
- New SuSE package, version 0.2.1.
|
||||
|
124
libp11.spec
Normal file
124
libp11.spec
Normal file
@ -0,0 +1,124 @@
|
||||
#
|
||||
# spec file for package libp11 (Version 0.2.2)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: libp11
|
||||
Version: 0.2.2
|
||||
Release: 1
|
||||
URL: http://www.opensc-project.org/libp11/
|
||||
Group: Productivity/Security
|
||||
License: LGPL
|
||||
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Patch: %{name}-%{version}-crash.patch
|
||||
Autoreqprov: on
|
||||
BuildRequires: openssl-devel pkgconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
||||
make using PKCS#11 implementations easier.
|
||||
|
||||
The official name for PKCS#11 is "RSA Security Inc. PKCS #11
|
||||
Cryptographic Token Interface (Cryptoki)".
|
||||
|
||||
Libp11 source code includes the official header files (version 2.20)
|
||||
and thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
||||
Token Interface (Cryptoki)".
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andreas Jellinghaus
|
||||
Kevin Stefanik
|
||||
Ludovic Rousseau
|
||||
Nils Larsch
|
||||
Olaf Kirch
|
||||
Stef Hoeben
|
||||
|
||||
%package devel
|
||||
Group: Productivity/Security
|
||||
Summary: Library Implementing a Small Layer on Top of PKCS#11 API
|
||||
Requires: %{name} = %{version} glibc-devel openssl-devel libtool
|
||||
|
||||
%description devel
|
||||
Libp11 is a library implementing a small layer on top of PKCS#11 API to
|
||||
make using PKCS#11 implementations easier.
|
||||
|
||||
The official name for PKCS#11 is "RSA Security Inc. PKCS #11
|
||||
Cryptographic Token Interface (Cryptoki)".
|
||||
|
||||
Libp11 source code include the official header files (version 2.20) and
|
||||
thus is "derived from the RSA Security Inc. PKCS #11 Cryptographic
|
||||
Token Interface (Cryptoki)".
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Andreas Jellinghaus
|
||||
Kevin Stefanik
|
||||
Ludovic Rousseau
|
||||
Nils Larsch
|
||||
Olaf Kirch
|
||||
Stef Hoeben
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure\
|
||||
--prefix=/usr\
|
||||
--libdir=/usr/%{_lib}
|
||||
make %{?jobs:-j %jobs}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
mkdir -p $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||
cp -a COPYING doc/README doc/ChangeLog doc/*.css doc/*.html doc/api $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%files
|
||||
%defattr (-, root, root)
|
||||
%doc %dir %{_defaultdocdir}/%{name}
|
||||
%doc %{_defaultdocdir}/%{name}/COPYING
|
||||
%doc %{_defaultdocdir}/%{name}/README
|
||||
%doc %{_defaultdocdir}/%{name}/ChangeLog
|
||||
%doc %{_defaultdocdir}/%{name}/*.html
|
||||
%doc %{_defaultdocdir}/%{name}/*.css
|
||||
/usr/%{_lib}/*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr (-, root, root)
|
||||
%doc %{_defaultdocdir}/%{name}/api
|
||||
/usr/%{_lib}/*.so
|
||||
/usr/%{_lib}/*.*a
|
||||
/usr/%{_lib}/pkgconfig/*.pc
|
||||
/usr/include/*.h
|
||||
|
||||
%changelog -n libp11
|
||||
* Tue Oct 03 2006 - sbrabec@suse.cz
|
||||
- Updated to version 0.2.2:
|
||||
* bug fixes
|
||||
* code cleanup
|
||||
* Fri May 12 2006 - sbrabec@suse.cz
|
||||
- New SuSE package, version 0.2.1.
|
Loading…
Reference in New Issue
Block a user