This commit is contained in:
parent
d7e1cbb1ba
commit
8eede4f904
@ -1,3 +1,5 @@
|
|||||||
|
https://www.opensc-project.org/opensc/ticket/153
|
||||||
|
================================================================================
|
||||||
--- src/tools/cryptoflex-tool.c
|
--- src/tools/cryptoflex-tool.c
|
||||||
+++ src/tools/cryptoflex-tool.c
|
+++ src/tools/cryptoflex-tool.c
|
||||||
@@ -501,7 +501,7 @@
|
@@ -501,7 +501,7 @@
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:07ba76a02c5e470d41bb062255e9f3ac32d0ad6a571ccdacaa4d0161efe07adf
|
|
||||||
size 951680
|
|
4
opensc-0.11.3-rpmlintrc
Normal file
4
opensc-0.11.3-rpmlintrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
addFilter("opensc devel-file-in-non-devel-package")
|
||||||
|
addFilter("opensc shlib-policy-devel-file")
|
||||||
|
addFilter("opensc shlib-policy-nonversioned-dir")
|
||||||
|
addFilter("opensc shlib-policy-missing-suffix")
|
3
opensc-0.11.3.tar.bz2
Normal file
3
opensc-0.11.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:73ba4fd4a42a05bfac6153f77a2ada8e4ec7221501a4e72c836b5c907e3f7bef
|
||||||
|
size 1087847
|
@ -1,3 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 26 13:40:30 CEST 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.11.3:
|
||||||
|
* make lots of internal functions and variables static.
|
||||||
|
* fix 0 vs NULL in many places. fix ansi c style (void).
|
||||||
|
* avoid variable names used also as glibc function (random etc.).
|
||||||
|
* new code for deleting objects.
|
||||||
|
* special hack for firefox.
|
||||||
|
* suport for Athena APCOS cards added.
|
||||||
|
* piv driver now supports bigger rsa keys too.
|
||||||
|
* enabled pin caching by default.
|
||||||
|
* use max_send_size 255 / max_recv_size 256 bytes by default.
|
||||||
|
* increase pin buffer size to allow longer pin codes.
|
||||||
|
* Added --read-ssk-key option to pkcs15-tool
|
||||||
|
* use pkg-config for finding openct
|
||||||
|
* use strlcpy function
|
||||||
|
* use new pkcs11.h from scute with an open source license
|
||||||
|
* add support for sha2 to pkcs15-crypt
|
||||||
|
* add piv-tool for managing piv cards
|
||||||
|
* add muscle driver
|
||||||
|
* improved oberthur driver
|
||||||
|
* add support for pcsc v2 part10
|
||||||
|
* convert source files to utf-8
|
||||||
|
- Split package according to shared library packaging policy.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 27 12:12:30 CET 2007 - mvaner@suse.cz
|
Tue Feb 27 12:12:30 CET 2007 - mvaner@suse.cz
|
||||||
|
|
||||||
|
135
opensc.spec
135
opensc.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package opensc (Version 0.11.1)
|
# spec file for package opensc (Version 0.11.3)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 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
|
||||||
@ -11,25 +11,31 @@
|
|||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
Name: opensc
|
Name: opensc
|
||||||
BuildRequires: openssl-devel pkgconfig readline-devel xorg-x11-devel
|
BuildRequires: openssl-devel pkg-config readline-devel xorg-x11-devel
|
||||||
%if %suse_version > 1000
|
%if %suse_version > 1000
|
||||||
BuildRequires: libassuan pcsc-lite-devel
|
BuildRequires: pcsc-lite-devel
|
||||||
|
%if %suse_version > 1020
|
||||||
|
BuildRequires: libassuan-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: libassuan
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
%if %suse_version > 1010
|
%if %suse_version > 1010
|
||||||
BuildRequires: openct-devel
|
BuildRequires: openct-devel
|
||||||
%endif
|
%endif
|
||||||
URL: http://www.opensc-project.org/opensc/
|
URL: http://www.opensc-project.org/opensc/
|
||||||
Version: 0.11.1
|
Version: 0.11.3
|
||||||
Release: 32
|
Release: 1
|
||||||
Group: Hardware/Other
|
Group: Hardware/Other
|
||||||
Summary: OpenSC Smart Card Library
|
Summary: OpenSC Smart Card Library
|
||||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
License: LGPL v2 or later
|
||||||
Requires: pcsc-lite
|
Requires: libopensc2 = %{version} pcsc-lite
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: opensc-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: http://www.opensc.org/files/doc/init_perso_guide.html
|
Source1: http://www.opensc.org/files/doc/init_perso_guide.html
|
||||||
Patch1: %{name}-%{version}-sizeof.patch
|
# Supress all ugly warnings related to required .so and .la files in the main package:
|
||||||
AutoReqProv: on
|
Source2: %{name}-%{version}-rpmlintrc
|
||||||
|
Patch1: %{name}-0.11.1-sizeof.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenSC provides a set of libraries and utilities to access smart cards.
|
OpenSC provides a set of libraries and utilities to access smart cards.
|
||||||
@ -42,6 +48,29 @@ aims to be compatible with every software that does so, too.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Juha Yrjölä <jyrjola@cc.hut.fi>
|
||||||
|
Antti Tapaninen <aet@cc.hut.fi>
|
||||||
|
Timo Teräs <timo.teras@iki.fi>
|
||||||
|
Olaf Kirch <okir@suse.de>
|
||||||
|
|
||||||
|
%package -n libopensc2
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: OpenSC Smart Card Library
|
||||||
|
Requires: %{name} >= %{version}
|
||||||
|
|
||||||
|
%description -n libopensc2
|
||||||
|
OpenSC provides a set of libraries and utilities to access smart cards.
|
||||||
|
Its main focus is on cards that support cryptographic operations. It
|
||||||
|
facilitates their use in security applications such as mail encryption,
|
||||||
|
authentication, and digital signature. OpenSC implements the PKCS#11
|
||||||
|
API so applications supporting this API, such as Mozilla Firefox and
|
||||||
|
Thunderbird, can use it. OpenSC implements the PKCS#15 standard and
|
||||||
|
aims to be compatible with every software that does so, too.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
Juha Yrjölä <jyrjola@cc.hut.fi>
|
Juha Yrjölä <jyrjola@cc.hut.fi>
|
||||||
@ -50,7 +79,7 @@ Authors:
|
|||||||
Olaf Kirch <okir@suse.de>
|
Olaf Kirch <okir@suse.de>
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Summary: Additional files needed for OpenSC development
|
Summary: Additional files needed for OpenSC development
|
||||||
Requires: %{name} = %{version} glibc-devel openct-devel openssl-devel pcsc-lite-devel
|
Requires: %{name} = %{version} glibc-devel openct-devel openssl-devel pcsc-lite-devel
|
||||||
|
|
||||||
@ -70,60 +99,76 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1
|
%patch1
|
||||||
|
chmod -x doc/svn2cl.xsl
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f aclocal/libtool.m4
|
cp -a /usr/share/gettext/config.rpath .
|
||||||
libtoolize --force
|
autoreconf -f -i
|
||||||
#./bootstrap
|
%configure
|
||||||
CFLAGS="$RPM_OPT_FLAGS" \
|
make %{?jobs:-j%jobs}
|
||||||
./configure --prefix=/usr \
|
|
||||||
--sysconfdir=%{_sysconfdir} \
|
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--libdir=%{_libdir}
|
|
||||||
make %{?jobs:-j %jobs}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%makeinstall
|
||||||
# Install opensc.conf
|
# Install opensc.conf
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
install -m 644 etc/opensc.conf $RPM_BUILD_ROOT/etc
|
install -m 644 etc/opensc.conf $RPM_BUILD_ROOT%{_sysconfdir}
|
||||||
# Copy init_perso.html to docs so it's installed
|
# Copy init_perso.html to docs so it's installed
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post -n libopensc2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%postun
|
%postun -n libopensc2 -p /sbin/ldconfig
|
||||||
%run_ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING NEWS README doc init_perso_guide.html
|
%doc COPYING NEWS README doc/*.css doc/*.gif doc/*.html doc/ChangeLog init_perso_guide.html
|
||||||
%config /etc/opensc.conf
|
%{_bindir}/*
|
||||||
/usr/bin/*-crypt
|
%exclude %{_bindir}/*-config
|
||||||
/usr/bin/*-explorer
|
%{_datadir}/opensc
|
||||||
/usr/bin/*-info
|
# Note: .la and .so must be in the main package, required by ltdl:
|
||||||
/usr/bin/*-init
|
%{_libdir}/*.la
|
||||||
/usr/bin/*-tool
|
%{_libdir}/*.so
|
||||||
/usr/bin/eidenv
|
%doc %{_mandir}/man?/*.*
|
||||||
%_libdir/*.so.*
|
%config %{_sysconfdir}/opensc.conf
|
||||||
# Note: Required by ltdl:
|
|
||||||
%_libdir/*.la
|
%files -n libopensc2
|
||||||
%_libdir/*.so
|
%defattr(-,root,root)
|
||||||
/usr/share/opensc
|
%{_libdir}/*.so.*
|
||||||
%_mandir/man?/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/bin/*-config
|
%{_bindir}/*-config
|
||||||
/usr/include/opensc
|
%{_includedir}/opensc
|
||||||
%_libdir/*.a
|
%{_libdir}/*.a
|
||||||
%_libdir/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 26 2007 - sbrabec@suse.cz
|
||||||
|
- Updated to version 0.11.3:
|
||||||
|
* make lots of internal functions and variables static.
|
||||||
|
* fix 0 vs NULL in many places. fix ansi c style (void).
|
||||||
|
* avoid variable names used also as glibc function (random etc.).
|
||||||
|
* new code for deleting objects.
|
||||||
|
* special hack for firefox.
|
||||||
|
* suport for Athena APCOS cards added.
|
||||||
|
* piv driver now supports bigger rsa keys too.
|
||||||
|
* enabled pin caching by default.
|
||||||
|
* use max_send_size 255 / max_recv_size 256 bytes by default.
|
||||||
|
* increase pin buffer size to allow longer pin codes.
|
||||||
|
* Added --read-ssk-key option to pkcs15-tool
|
||||||
|
* use pkg-config for finding openct
|
||||||
|
* use strlcpy function
|
||||||
|
* use new pkcs11.h from scute with an open source license
|
||||||
|
* add support for sha2 to pkcs15-crypt
|
||||||
|
* add piv-tool for managing piv cards
|
||||||
|
* add muscle driver
|
||||||
|
* improved oberthur driver
|
||||||
|
* add support for pcsc v2 part10
|
||||||
|
* convert source files to utf-8
|
||||||
|
- Split package according to shared library packaging policy.
|
||||||
* Tue Feb 27 2007 - mvaner@suse.cz
|
* Tue Feb 27 2007 - mvaner@suse.cz
|
||||||
- Fixing dodgy use of sizeof (#238660)
|
- Fixing dodgy use of sizeof (#238660)
|
||||||
- sizeof.patch
|
- sizeof.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user