Changed files:
opensc-assuan.patch -> 1.2
opensc-libdir.patch -> 1.2
opensc-nolibs.patch -> 1.3
opensc.spec -> 1.16
+++ /dev/null
---- opensc-0.8.0/src/openscd/commands.c.orig Thu Jul 24 12:00:56 2003
-+++ opensc-0.8.0/src/openscd/commands.c Thu Aug 21 13:55:19 2003
-@@ -209,7 +209,7 @@
-
- if (cmd_id == 0)
- cmd_id = ASSUAN_CMD_USER + j++;
-- r = assuan_register_command(assuan_ctx, cmd_id,
-+ r = assuan_register_command(assuan_ctx,
- ctable[i].name, ctable[i].handler);
- if (r)
- return r;
---- opensc-0.8.0/src/pkcs11/Makefile.am.orig Fri Aug 15 10:45:23 2003
-+++ opensc-0.8.0/src/pkcs11/Makefile.am Thu Aug 21 13:13:26 2003
+--- opensc-0.8.1/src/pkcs11/Makefile.am.wiget 2003-09-30 09:11:33.000000000 +0200
++++ opensc-0.8.1/src/pkcs11/Makefile.am 2003-10-08 12:17:05.944565027 +0200
@@ -1,7 +1,7 @@
# Process this file with automake to create Makefile.in
@@ -1,7 +1,7 @@
# Process this file with automake to create Makefile.in
- bundledir = $(BUNDLEDIR)
+ bundledir = @BUNDLEDIR@/pkcs11
-libdir = @libdir@/pkcs11
-libdir = @libdir@/pkcs11
-+pkcs11dir = @libdir@/pkcs11
++pksc11dir = @libdir@/pkcs11
+ includedir = @includedir@/opensc
MAINTAINERCLEANFILES = Makefile.in
MAINTAINERCLEANFILES = Makefile.in
framework-pkcs15init.c debug.c
INC = sc-pkcs11.h
framework-pkcs15init.c debug.c
INC = sc-pkcs11.h
--lib_LTLIBRARIES = opensc-pkcs11.la libpkcs11.la
+-lib_LTLIBRARIES = opensc-pkcs11.la libpkcs11.la pkcs11-spy.la
+lib_LTLIBRARIES = libpkcs11.la
+lib_LTLIBRARIES = libpkcs11.la
-+pkcs11_LTLIBRARIES = opensc-pkcs11.la
++pksc11_LTLIBRARIES = opensc-pkcs11.la pkcs11-spy.la
opensc_pkcs11_la_SOURCES = $(SRC) $(INC)
opensc_pkcs11_la_LDFLAGS = -module -avoid-version
opensc_pkcs11_la_SOURCES = $(SRC) $(INC)
opensc_pkcs11_la_LDFLAGS = -module -avoid-version
+++ /dev/null
---- opensc-0.8.0/configure.in.orig Sun Jun 2 22:56:18 2002
-+++ opensc-0.8.0/configure.in Tue Mar 11 13:47:17 2003
-@@ -379,8 +379,6 @@
- LIBS="$t_oldLibs"
- fi
-
--# Always link lib{socket,nsl,resolv) if found, sigh.
--LIBS="$LIBS $LIBSOCKET $LIBRESOLV"
-
- AC_ARG_WITH(flex-dir,
- [ --with-flex-dir=PATH Specify path to flex installation],
Summary: OpenSC library - for accessing SmartCard devices using PC/SC Lite
Summary(pl): Biblioteka OpenSC - do korzystania z kart procesorowych przy u¿yciu PC/SC Lite
Name: opensc
Summary: OpenSC library - for accessing SmartCard devices using PC/SC Lite
Summary(pl): Biblioteka OpenSC - do korzystania z kart procesorowych przy u¿yciu PC/SC Lite
Name: opensc
Release: 1
License: LGPL
Group: Applications
Source0: http://www.opensc.org/files/%{name}-%{version}.tar.gz
Release: 1
License: LGPL
Group: Applications
Source0: http://www.opensc.org/files/%{name}-%{version}.tar.gz
-# Source0-md5: 46bb22935040816a0d741b5f76ed4b81
-Patch0: %{name}-nolibs.patch
-Patch1: %{name}-libdir.patch
-Patch2: %{name}-assuan.patch
+# Source0-md5: 2b64a8e629bd28a00e707e35fd3eb9c7
+Patch0: %{name}-libdir.patch
URL: http://www.opensc.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
URL: http://www.opensc.org/
BuildRequires: autoconf >= 2.52
BuildRequires: automake
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: openldap-devel
BuildRequires: openssl-devel
BuildRequires: libtool >= 1:1.4.2-9
BuildRequires: openldap-devel
BuildRequires: openssl-devel
+BuildRequires: openct-devel
BuildRequires: pam-devel
BuildRequires: pcsc-lite-devel
BuildRequires: readline-devel
BuildRequires: pam-devel
BuildRequires: pcsc-lite-devel
BuildRequires: readline-devel
%prep
%setup -q
%patch0 -p1
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
-%patch2 -p1
# useless (dlopened by *.so)
rm -f $RPM_BUILD_ROOT%{_libdir}/libscam.{a,la} \
# useless (dlopened by *.so)
rm -f $RPM_BUILD_ROOT%{_libdir}/libscam.{a,la} \
- $RPM_BUILD_ROOT%{_libdir}/opensc/opensc-signer.{a,la} \
- $RPM_BUILD_ROOT%{_libdir}/pkcs11/opensc-pkcs11.{a,la} \
+ $RPM_BUILD_ROOT%{_libdir}/opensc/*.{a,la} \
+ $RPM_BUILD_ROOT%{_libdir}/pkcs11/*.{a,la} \
$RPM_BUILD_ROOT/lib/security/pam_opensc.{a,la}
%clean
$RPM_BUILD_ROOT/lib/security/pam_opensc.{a,la}
%clean
%attr(755,root,root) %{_libdir}/libscam.so
%dir %{_libdir}/pkcs11
%attr(755,root,root) %{_libdir}/pkcs11/opensc-pkcs11.so
%attr(755,root,root) %{_libdir}/libscam.so
%dir %{_libdir}/pkcs11
%attr(755,root,root) %{_libdir}/pkcs11/opensc-pkcs11.so
+%attr(755,root,root) %{_libdir}/pkcs11/pkcs11-spy.so
+%dir %{_libdir}/opensc
+%attr(755,root,root) %{_libdir}/opensc/engine_opensc.so
+%attr(755,root,root) %{_libdir}/opensc/engine_pkcs11.so
%dir %{_datadir}/opensc
%config(noreplace) %verify(not size mtime md5) %{_datadir}/opensc/*.conf
%config(noreplace) %verify(not size mtime md5) %{_datadir}/opensc/*.profile
%dir %{_datadir}/opensc
%config(noreplace) %verify(not size mtime md5) %{_datadir}/opensc/*.conf
%config(noreplace) %verify(not size mtime md5) %{_datadir}/opensc/*.profile