Bug 197825 - new port: devel/acsccid:driver for acs smart card readers
Summary: new port: devel/acsccid:driver for acs smart card readers
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-02-19 16:52 UTC by mp39590
Modified: 2016-05-25 14:01 UTC (History)
1 user (show)

See Also:


Attachments
shell archive (2.30 KB, text/plain)
2015-02-19 16:52 UTC, mp39590
no flags Details
poudriere build logs (90.66 KB, text/plain)
2015-02-19 16:55 UTC, mp39590
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mp39590 2015-02-19 16:52:57 UTC
Created attachment 153181 [details]
shell archive

Unified driver for ACS smart card readers for use with devel/pcsc-lite.

Portlint's warning about USE_LDCONFIG deliberately ignored, since libacsccid.so is not supposed to be used by anyone except pcscd.
Comment 1 mp39590 2015-02-19 16:55:17 UTC
Created attachment 153182 [details]
poudriere build logs

poudriere build logs for 10.1, 10.0, 9.3 and 8.4, all are amd64.
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2016-02-25 15:43:36 UTC
- Does not fetch

===>   acsccid-1.1.0 depends on file: /usr/local/sbin/pkg - found
=> ACS-Unified-Driver-Lnx-Mac-110-P.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://www.acs.com.hk/download-driver-unified/6258/ACS-Unified-Driver-Lnx-Mac-110-P.zip
fetch: http://www.acs.com.hk/download-driver-unified/6258/ACS-Unified-Driver-Lnx-Mac-110-P.zip: size mismatch: expected 411753, actual 418191
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/ACS-Unified-Driver-Lnx-Mac-110-P.zip
fetch: http://distcache.FreeBSD.org/ports-distfiles/ACS-Unified-Driver-Lnx-Mac-110-P.zip: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.

The upstream seem to feed updated distfile regardless of what URL is requested. This is not suitable for ports as the port will break on every upstream update.

- You don't need USES=tar
- Please move targets to the end of makefile, before bsd.port.post.mk inclusion
- Please keep indentation consistent (USES, WRKSRC lines lack a tab)
Comment 3 VK freebsd_triage 2016-05-23 00:32:48 UTC
Hello mp39590@gmail.com, do you wish to pursue the submission of this port?
Comment 4 commit-hook freebsd_committer freebsd_triage 2016-05-25 14:00:03 UTC
A commit references this bug:

Author: arved
Date: Wed May 25 13:59:08 UTC 2016
New revision: 415832
URL: https://svnweb.freebsd.org/changeset/ports/415832

Log:
  Add ACS ccid, fork of libccid which supports smartcard readers made by
  acs.com.hk

  PR:		197825
  Submitted by:	mp39590@gmail.com

Changes:
  head/devel/Makefile
  head/devel/acsccid/
  head/devel/acsccid/Makefile
  head/devel/acsccid/distinfo
  head/devel/acsccid/pkg-descr
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2016-05-25 14:01:50 UTC
Committed, thanks.

I have changed the port to use the official sourceforge site.
This does not only improve the Download but also avoids the double packed distfile.
I have updated the port to the latest version.

Please verify if everything still works. Thanks for your submission