Hello community,

here is the log from the commit of package pcsc-lite for openSUSE:Factory 
checked in at 2011-11-22 17:49:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pcsc-lite (Old)
 and      /work/SRC/openSUSE:Factory/.pcsc-lite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pcsc-lite", Maintainer is "sbra...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pcsc-lite/pcsc-lite.changes      2011-09-23 
12:21:52.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pcsc-lite.new/pcsc-lite.changes 2011-11-22 
17:49:27.000000000 +0100
@@ -1,0 +2,19 @@
+Sat Nov 19 18:25:31 UTC 2011 - w...@rosenauer.org
+
+- Updated to version 1.8.0:
+  * PC/SC spy tool
+  * Support systemd socket activation (the auto start of pcscd
+    from the library has been removed. Use systemd instead)
+  * SCardGetStatusChange(): check all the readers are already known
+    and return SCARD_E_UNKNOWN_READER if a reader name is not
+    present.
+  * SCardEstablishContext(): Invalidate all the handles in the son
+    after a fork
+  * Add define of FEATURE_EXECUTE_PACE from PCSC v2 Part 10
+    Amendment 1 2011-06-03
+  * Fix some memory leaks repoted by Coverity
+  * Some other minor improvements and bug corrections
+- enabled usage of systemd init for 12.1 and newer
+- add libtool as buildrequire to avoid implicit dependency
+
+-------------------------------------------------------------------

Old:
----
  disable-power-off.diff
  pcsc-lite-1.7.4.tar.bz2

New:
----
  pcsc-lite-1.8.0.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pcsc-lite.spec ++++++
--- /var/tmp/diff_new_pack.CZuMzG/_old  2011-11-22 17:49:28.000000000 +0100
+++ /var/tmp/diff_new_pack.CZuMzG/_new  2011-11-22 17:49:28.000000000 +0100
@@ -21,7 +21,7 @@
 Name:           pcsc-lite
 # FIXME: Maybe we should use /usr/lib/pcsc/drivers as others do:
 %define ifddir %{_libdir}/readers
-BuildRequires:  pkg-config readline-devel
+BuildRequires:  libtool pkg-config readline-devel
 %if %suse_version >= 1120
 #shouldn't be found automagically ?
 BuildRequires:  libudev-devel
@@ -29,13 +29,13 @@
 %if %suse_version == 1110
 BuildRequires:  libusb-1_0-devel
 %endif
-%if %suse_version < 1110
-BuildRequires:  hal-devel
+%if %suse_version > 1140
+BuildRequires:  systemd
+%{?systemd_requires}
 %endif
-Version:        1.7.4
-Release:        2
+Version:        1.8.0
+Release:        1
 Requires(pre):  pwdutils
-Requires(post): %insserv_prereq %fillup_prereq
 Group:          Productivity/Security
 License:        BSD3c(or similar)
 Url:            http://pcsclite.alioth.debian.org/
@@ -47,8 +47,7 @@
 Source4:        baselibs.conf
 Source5:        pcsc-lite-init
 Source6:        pcsc-lite-reader-conf
-#Is not really used just keep in case off
-Patch0:         disable-power-off.diff
+Requires(post): %insserv_prereq %fillup_prereq
 %if %suse_version > 1130
 PreReq:         sysvinit(syslog)
 %endif
@@ -98,12 +97,22 @@
 This functionality is exercised in the driver.
 
 
+%package -n libpcscspy0
+License:        BSD3c(or similar)
+Group:          System/Libraries
+Summary:        PCSC Smart Card Library
+
+%description -n libpcscspy0
+Supporting library for the PC/SC spy tool.
+
+
 %package devel
 License:        BSD3c(or similar)
 Group:          Development/Libraries/C and C++
 Summary:        Development package for the MUSCLE project SmartCards library
 Requires:       %{name} = %{version}-%{release}
 Requires:       libpcsclite1 = %{version}-%{release}
+Requires:       libpcscspy0 = %{version}-%{release}
 
 %description devel
 This package contains the development files for pcsc-lite. It allows to
@@ -112,8 +121,6 @@
 
 %prep
 %setup -q
-# do not disable power off but keep it if it causes issues
-#%patch0
 cp -a %{S:1} %{S:2} %{S:5} %{S:6} .
 
 %build
@@ -121,14 +128,15 @@
 ACLOCAL="aclocal -I m4" autoreconf -f -i
 %endif
 %configure\
-       --docdir=%{_docdir}/%{name}\
-       --enable-usbdropdir=%{ifddir}\
-%if %suse_version >= 1110
+       --docdir=%{_docdir}/%{name} \
+       --enable-usbdropdir=%{ifddir} \
        --disable-libhal \
-%endif
 %if %suse_version == 1110
        --disable-libudev \
 %endif
+%if %suse_version > 1140
+       --with-systemdsystemunitdir=%_unitdir \
+%endif
        --disable-static
 make %{?jobs:-j%jobs}
 
@@ -152,22 +160,41 @@
 %pre
 getent group %{GROUP} >/dev/null || groupadd -r -o %{GROUP}
 getent passwd %{USER} >/dev/null || useradd -r -o -g %{GROUP} -s /bin/nologin 
-c "Smart Card Reader" -d /var/run/pcscd %{USER}
+%if %suse_version > 1140
+%service_add_pre pcscd.service pcscd.socket
+%endif
 exit 0
 
 %post
+%if %suse_version > 1140
+%service_add_post pcscd.service pcscd.socket
+%else
 %fillup_and_insserv -y -n pcscd pcscd
 %restart_on_update pcscd
+%endif
 
 %preun
+%if %suse_version > 1140
+%service_del_preun pcscd.service pcscd.socket
+%else
 %stop_on_removal pcscd
+%endif
 
 %postun
+%if %suse_version > 1140
+%service_del_postun pcscd.service pcscd.socket
+%else
 %insserv_cleanup
+%endif
 
 %post -n libpcsclite1 -p /sbin/ldconfig
 
 %postun -n libpcsclite1 -p /sbin/ldconfig
 
+%post -n libpcscspy0 -p /sbin/ldconfig
+
+%postun -n libpcscspy0 -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
 %doc %{_docdir}/%{name}
@@ -176,6 +203,9 @@
 %dir %{_sysconfdir}/reader.conf.d
 %config(noreplace) %{_sysconfdir}/reader.conf.d/reader.conf
 %{ifddir}
+%if %suse_version > 1140
+%_unitdir/*
+%endif
 %{_initrddir}/pcscd
 /var/adm/fillup-templates/sysconfig.pcscd
 
@@ -183,6 +213,10 @@
 %defattr(-,root,root)
 %{_libdir}/libpcsclite.so.*
 
+%files -n libpcscspy0
+%defattr(-,root,root)
+%{_libdir}/libpcscspy.so.*
+
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.CZuMzG/_old  2011-11-22 17:49:28.000000000 +0100
+++ /var/tmp/diff_new_pack.CZuMzG/_new  2011-11-22 17:49:28.000000000 +0100
@@ -1 +1,3 @@
 libpcsclite1
+
+libpcscspy0

++++++ pcsc-lite-1.7.4.tar.bz2 -> pcsc-lite-1.8.0.tar.bz2 ++++++
++++ 10152 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to