Accepting request 231044 from home:wrosenauer:devel
OBS-URL: https://build.opensuse.org/request/show/231044 OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=96
This commit is contained in:
parent
7876f808a1
commit
bdd785f57f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:607c4bd730526d282a63edb2ba4ee043f497877be642c5c647e37995e21f2612
|
|
||||||
size 561707
|
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1.4.14 (GNU/Linux)
|
|
||||||
|
|
||||||
iEYEABECAAYFAlJitj0ACgkQP0qKj+B/HPnp6ACffF78it2sVwf+SSLKmzjZ0SRw
|
|
||||||
LdMAniO/mxmOhIG5znBuXCXM0T167Ual
|
|
||||||
=cZjK
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
pcsc-lite-1.8.11.tar.bz2
Normal file
3
pcsc-lite-1.8.11.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:945041c94c53959ae5a767616a4ec5099fe67f549bfd344e8bd0cfe7a3c71ac6
|
||||||
|
size 571837
|
7
pcsc-lite-1.8.11.tar.bz2.asc
Normal file
7
pcsc-lite-1.8.11.tar.bz2.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v1
|
||||||
|
|
||||||
|
iEYEABECAAYFAlL+QdsACgkQP0qKj+B/HPk8jQCcDUFitZ1LqK1VQ6pEiXHbOyKy
|
||||||
|
n8YAoJf0Sbc4FCRbmGXZV2gZy5NkoH0c
|
||||||
|
=w0Lj
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 13:55:53 UTC 2014 - wr@rosenauer.org
|
||||||
|
|
||||||
|
- removed rc script from 13.1 and above
|
||||||
|
- do not use polkit for now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 15 20:52:47 UTC 2014 - wr@rosenauer.org
|
||||||
|
|
||||||
|
- Updated to version 1.8.11
|
||||||
|
* Add polkit support. See doc/README.polkit
|
||||||
|
* /etc/reader.conf: CHANNELID and DEVICENAME are both optional but
|
||||||
|
not at the same time
|
||||||
|
* Some other minor improvements and bug corrections
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 1 18:23:59 UTC 2013 - wr@rosenauer.org
|
||||||
|
|
||||||
|
- remove dependency on sysvinit(syslog) starting with 13.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Oct 20 16:38:24 UTC 2013 - wr@rosenauer.org
|
Sun Oct 20 16:38:24 UTC 2013 - wr@rosenauer.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pcsc-lite
|
# spec file for package pcsc-lite
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,6 +21,7 @@ Name: pcsc-lite
|
|||||||
%define ifddir %{_libdir}/readers
|
%define ifddir %{_libdir}/readers
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: polkit-devel
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
%if %suse_version >= 1120
|
%if %suse_version >= 1120
|
||||||
BuildRequires: libudev-devel
|
BuildRequires: libudev-devel
|
||||||
@ -36,7 +37,7 @@ BuildRequires: systemd
|
|||||||
%if %suse_version > 1220
|
%if %suse_version > 1220
|
||||||
BuildRequires: gpg-offline
|
BuildRequires: gpg-offline
|
||||||
%endif
|
%endif
|
||||||
Version: 1.8.10
|
Version: 1.8.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires(pre): pwdutils
|
Requires(pre): pwdutils
|
||||||
Url: http://pcsclite.alioth.debian.org/
|
Url: http://pcsclite.alioth.debian.org/
|
||||||
@ -53,9 +54,10 @@ Source6: pcsc-lite-reader-conf
|
|||||||
Source7: %{name}-%{version}.tar.bz2.asc
|
Source7: %{name}-%{version}.tar.bz2.asc
|
||||||
Source8: %{name}.keyring
|
Source8: %{name}.keyring
|
||||||
Patch0: systemd-service.patch
|
Patch0: systemd-service.patch
|
||||||
Requires(post): %insserv_prereq %fillup_prereq
|
Requires(post): %fillup_prereq
|
||||||
%if %suse_version > 1130
|
%if %suse_version < 1310
|
||||||
PreReq: sysvinit(syslog)
|
PreReq: sysvinit(syslog)
|
||||||
|
Requires(post): %insserv_prereq
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%define USER scard
|
%define USER scard
|
||||||
@ -155,8 +157,12 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/
|
|||||||
sed s:@ifddir@:%{ifddir}: <pcsc-lite-reader-conf >$RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/reader.conf
|
sed s:@ifddir@:%{ifddir}: <pcsc-lite-reader-conf >$RPM_BUILD_ROOT%{_sysconfdir}/reader.conf.d/reader.conf
|
||||||
# this program is noinst in the package
|
# this program is noinst in the package
|
||||||
#install src/.libs/testpcsc $RPM_BUILD_ROOT%{_sbindir}/
|
#install src/.libs/testpcsc $RPM_BUILD_ROOT%{_sbindir}/
|
||||||
|
%if %suse_version < 1310
|
||||||
install -D -m 755 pcsc-lite-init $RPM_BUILD_ROOT%{_initrddir}/pcscd
|
install -D -m 755 pcsc-lite-init $RPM_BUILD_ROOT%{_initrddir}/pcscd
|
||||||
ln -sf %{_initrddir}/pcscd $RPM_BUILD_ROOT%{_sbindir}/rcpcscd
|
ln -sf %{_initrddir}/pcscd $RPM_BUILD_ROOT%{_sbindir}/rcpcscd
|
||||||
|
%else
|
||||||
|
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcpcscd
|
||||||
|
%endif
|
||||||
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
||||||
cp %{name}.sysconfig $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.pcscd
|
cp %{name}.sysconfig $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.pcscd
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||||
@ -186,13 +192,19 @@ exit 0
|
|||||||
/bin/systemctl try-restart pcscd.service || :
|
/bin/systemctl try-restart pcscd.service || :
|
||||||
/bin/systemctl restart pcscd.socket || :
|
/bin/systemctl restart pcscd.socket || :
|
||||||
%endif
|
%endif
|
||||||
|
%if %suse_version < 1310
|
||||||
%fillup_and_insserv -y -n pcscd pcscd
|
%fillup_and_insserv -y -n pcscd pcscd
|
||||||
|
%else
|
||||||
|
%fillup_only 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
|
||||||
%endif
|
%endif
|
||||||
|
%if %suse_version < 1310
|
||||||
%stop_on_removal pcscd
|
%stop_on_removal pcscd
|
||||||
|
%endif
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%if %suse_version > 1140
|
%if %suse_version > 1140
|
||||||
@ -202,8 +214,10 @@ if [ "$1" = "1" ]; then
|
|||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
%endif
|
%endif
|
||||||
|
%if %suse_version < 1310
|
||||||
%restart_on_update pcscd
|
%restart_on_update pcscd
|
||||||
%insserv_cleanup
|
%insserv_cleanup
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n libpcsclite1 -p /sbin/ldconfig
|
%post -n libpcsclite1 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -225,6 +239,7 @@ fi
|
|||||||
%{_docdir}/%{name}/README
|
%{_docdir}/%{name}/README
|
||||||
%{_docdir}/%{name}/README.DAEMON
|
%{_docdir}/%{name}/README.DAEMON
|
||||||
%{_docdir}/%{name}/README.SUSE
|
%{_docdir}/%{name}/README.SUSE
|
||||||
|
%{_docdir}/%{name}/README.polkit
|
||||||
%{_docdir}/%{name}/SECURITY
|
%{_docdir}/%{name}/SECURITY
|
||||||
%{_docdir}/%{name}/TODO
|
%{_docdir}/%{name}/TODO
|
||||||
%doc %{_mandir}/man?/*.*
|
%doc %{_mandir}/man?/*.*
|
||||||
@ -235,10 +250,13 @@ fi
|
|||||||
%if %suse_version > 1140
|
%if %suse_version > 1140
|
||||||
%_unitdir/*
|
%_unitdir/*
|
||||||
%endif
|
%endif
|
||||||
|
%if %suse_version < 1310
|
||||||
%{_initrddir}/pcscd
|
%{_initrddir}/pcscd
|
||||||
|
%endif
|
||||||
/var/adm/fillup-templates/sysconfig.pcscd
|
/var/adm/fillup-templates/sysconfig.pcscd
|
||||||
# libpcsclite.so should stay in the main package (#732911). Third party packages may need it for dlopen().
|
# libpcsclite.so should stay in the main package (#732911). Third party packages may need it for dlopen().
|
||||||
%{_libdir}/libpcsclite.so
|
%{_libdir}/libpcsclite.so
|
||||||
|
#%{_datadir}/polkit-1/actions/org.debian.pcsc-lite.policy
|
||||||
|
|
||||||
%files -n libpcsclite1
|
%files -n libpcsclite1
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user