Attempting to build PCSC-Lite 1.8.11 RPM for Centos 6

Gavin Williams <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <[email protected]>
Afternoon all,

I'm currently trying to build a drop-in replacement RPM for PCSC-Lite 1.8.11 on CentOS 6 to replace the shipped 1.5.x version...

I've pulled the spec file for the current distro release, and made a few tweaks to support the 1.8.11 source, mainly removing un-necessary patch files.

However the RPMBuild fails due to there being no pcscd.init file :(
Snip of log file:
...
+ install -dm 755 /home/rpmbuild/rpmbuild/BUILDROOT/pcsc-lite-1.8.11-1.el6.x86_64/usr/lib64/pcsc/drivers
+ install -Dpm 755 etc/pcscd.init /home/rpmbuild/rpmbuild/BUILDROOT/pcsc-lite-1.8.11-1.el6.x86_64/etc/rc.d/init.d/pcscd
install: cannot stat `etc/pcscd.init': No such file or directory
error: Bad exit status from /home/rpmbuild/rpmbuild/tmp/rpm-tmp.jrzA9t (%install)

Looking through the source, I can see that it's now exclusively trying to use systemd, which EL6 doesn't use... :(
CVS History seems to suggest that the old style init scripts were removed in rev 4947, and systemd support was added in rev 5933.

Is it possible to get these init scripts re-instated and thereby support both systemd and init.d?

Thanks in advance for any replies.

Regards
Gavin

_______________________________________________
Muscle mailing list
[email protected]
http://lists.musclecard.com/mailman/listinfo/muscle_lists.musclecard.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.