- Updated to version 1.8.1
* added missing files in source archive OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=64
This commit is contained in:
parent
2bee2f8517
commit
cdd5eb216e
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:b4bdd21bb42cddddee302069fc7356d8a2092c214ba289af8c620fa02e5b05e7
|
|
||||||
size 538435
|
|
3
pcsc-lite-1.8.1.tar.bz2
Normal file
3
pcsc-lite-1.8.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:eba006db63d1a67d2314be760e19572c71cec816e51db05da28a41714a6049e0
|
||||||
|
size 546082
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 25 19:54:19 UTC 2011 - wr@rosenauer.org
|
||||||
|
|
||||||
|
- Updated to version 1.8.1
|
||||||
|
* added missing files in source archive
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 19 18:25:31 UTC 2011 - wr@rosenauer.org
|
Sat Nov 19 18:25:31 UTC 2011 - wr@rosenauer.org
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ BuildRequires: libusb-1_0-devel
|
|||||||
BuildRequires: systemd
|
BuildRequires: systemd
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
%endif
|
%endif
|
||||||
Version: 1.8.0
|
Version: 1.8.1
|
||||||
Release: 1
|
Release: 1
|
||||||
Requires(pre): pwdutils
|
Requires(pre): pwdutils
|
||||||
Group: Productivity/Security
|
Group: Productivity/Security
|
||||||
@ -47,6 +47,7 @@ Source3: pre_checkin.sh
|
|||||||
Source4: baselibs.conf
|
Source4: baselibs.conf
|
||||||
Source5: pcsc-lite-init
|
Source5: pcsc-lite-init
|
||||||
Source6: pcsc-lite-reader-conf
|
Source6: pcsc-lite-reader-conf
|
||||||
|
Patch0: systemd-service.patch
|
||||||
Requires(post): %insserv_prereq %fillup_prereq
|
Requires(post): %insserv_prereq %fillup_prereq
|
||||||
%if %suse_version > 1130
|
%if %suse_version > 1130
|
||||||
PreReq: sysvinit(syslog)
|
PreReq: sysvinit(syslog)
|
||||||
@ -121,6 +122,7 @@ compile plugins for the pcsc-lite package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
cp -a %{S:1} %{S:2} %{S:5} %{S:6} .
|
cp -a %{S:1} %{S:2} %{S:5} %{S:6} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -168,24 +170,23 @@ exit 0
|
|||||||
%post
|
%post
|
||||||
%if %suse_version > 1140
|
%if %suse_version > 1140
|
||||||
%service_add_post pcscd.service pcscd.socket
|
%service_add_post pcscd.service pcscd.socket
|
||||||
%else
|
systemctl enable pcscd.socket || :
|
||||||
|
systemctl disable pcscd.service || :
|
||||||
|
%endif
|
||||||
%fillup_and_insserv -y -n pcscd pcscd
|
%fillup_and_insserv -y -n pcscd pcscd
|
||||||
%restart_on_update pcscd
|
%restart_on_update pcscd
|
||||||
%endif
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%if %suse_version > 1140
|
%if %suse_version > 1140
|
||||||
%service_del_preun pcscd.service pcscd.socket
|
%service_del_preun pcscd.service pcscd.socket
|
||||||
%else
|
|
||||||
%stop_on_removal pcscd
|
|
||||||
%endif
|
%endif
|
||||||
|
%stop_on_removal pcscd
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if %suse_version > 1140
|
%if %suse_version > 1140
|
||||||
%service_del_postun pcscd.service pcscd.socket
|
%service_del_postun pcscd.service pcscd.socket
|
||||||
%else
|
|
||||||
%insserv_cleanup
|
|
||||||
%endif
|
%endif
|
||||||
|
%insserv_cleanup
|
||||||
|
|
||||||
%post -n libpcsclite1 -p /sbin/ldconfig
|
%post -n libpcsclite1 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
15
systemd-service.patch
Normal file
15
systemd-service.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/etc/pcscd.service.in b/etc/pcscd.service.in
|
||||||
|
index 68dcfaa..8e632c8 100644
|
||||||
|
--- a/etc/pcscd.service.in
|
||||||
|
+++ b/etc/pcscd.service.in
|
||||||
|
@@ -3,7 +3,9 @@ Description=PC/SC Smart Card Daemon
|
||||||
|
Requires=pcscd.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
-ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit
|
||||||
|
+Environment=PCSCD_OPTIONS=""
|
||||||
|
+EnvironmentFile=-/etc/sysconfig/pcscd
|
||||||
|
+ExecStart=@sbindir_exp@/pcscd --foreground --auto-exit ${PCSCD_OPTIONS}
|
||||||
|
ExecReload=@sbindir_exp@/pcscd --hotplug
|
||||||
|
StandardOutput=syslog
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user