diff options
author | 0mp <0mp@FreeBSD.org> | 2018-10-11 18:22:46 +0800 |
---|---|---|
committer | 0mp <0mp@FreeBSD.org> | 2018-10-11 18:22:46 +0800 |
commit | af253b988eca54c1d88393c3ddc25bd2f523cf94 (patch) | |
tree | 1508a4600e492ac8e4e891d212680c97b932529c | |
parent | 7712ada4a5110c70a5e6c667212b1f010b694ef9 (diff) | |
download | freebsd-ports-gnome-af253b988eca54c1d88393c3ddc25bd2f523cf94.tar.gz freebsd-ports-gnome-af253b988eca54c1d88393c3ddc25bd2f523cf94.tar.zst freebsd-ports-gnome-af253b988eca54c1d88393c3ddc25bd2f523cf94.zip |
devel/pcsc-lite: Clean up & update MASTER_SITES.
- Update MASTER_SITES, upstream moved to https://pcsclite.apdu.fr
- Update WWW
- Improve COMMENT
- Add GPLv3+ to LICENSE as it is mentioned in the license file
- Pet portlint:
- Sort variables (clean up the USE* section)
- Make pkg-message more readable
Reviewed by: krion, mmokhi
Approved by: krion (mentor), mmokhi (maintainer)
Differential Revision: https://reviews.freebsd.org/D17480
-rw-r--r-- | devel/pcsc-lite/Makefile | 15 | ||||
-rw-r--r-- | devel/pcsc-lite/files/pkg-message.in | 12 | ||||
-rw-r--r-- | devel/pcsc-lite/pkg-descr | 2 |
3 files changed, 16 insertions, 13 deletions
diff --git a/devel/pcsc-lite/Makefile b/devel/pcsc-lite/Makefile index 8b763ab7edbb..fc8f5a4b96da 100644 --- a/devel/pcsc-lite/Makefile +++ b/devel/pcsc-lite/Makefile @@ -5,25 +5,26 @@ PORTNAME= pcsc-lite PORTVERSION= 1.8.23 PORTEPOCH= 2 CATEGORIES= devel security -MASTER_SITES= https://alioth.debian.org/frs/download.php/latestfile/39/ +MASTER_SITES= https://pcsclite.apdu.fr/files/ MAINTAINER= mmokhi@FreeBSD.org -COMMENT= Smartcard development library +COMMENT= Middleware library to access a smart card using SCard API (PC/SC) -LICENSE= BSD3CLAUSE +LICENSE= BSD3CLAUSE GPLv3+ +LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip USES= libtool pathfix perl5 pkgconfig python:2.7,build shebangfix tar:bzip2 +USE_LDCONFIG= yes USE_PERL5= build USE_RC_SUBR= pcscd -SHEBANG_FILES= src/spy/pcsc-spy -USE_LDCONFIG= yes +GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-libsystemd \ --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers/ +INSTALL_TARGET= install-strip +SHEBANG_FILES= src/spy/pcsc-spy SUB_FILES= pkg-message OPTIONS_DEFINE= DOCS EXAMPLES diff --git a/devel/pcsc-lite/files/pkg-message.in b/devel/pcsc-lite/files/pkg-message.in index 0edf93e1f3bf..23858dce17ca 100644 --- a/devel/pcsc-lite/files/pkg-message.in +++ b/devel/pcsc-lite/files/pkg-message.in @@ -1,16 +1,17 @@ ------------------------------------------------------------------------ PC/SC-Lite has been installed. -You need to install a driver for your smartcard reader e.g. -devel/libccid -security/ifd-slb_rf60 + +You need to install a driver for your smartcard reader e.g., +- devel/libccid +- security/ifd-slb_rf60 For cardreaders connected to the serial port: After installing the driver, -please update the pcscd configuration file +please update the pcscd configuration file: %%PREFIX%%/etc/reader.conf For USB cardreaders add the following lines to /etc/devd.conf to enable -hotplugging. +hotplugging: attach 100 { device-name "ugen[0-9]+"; @@ -21,4 +22,5 @@ detach 100 { device-name "ugen[0-9]+"; action "%%PREFIX%%/sbin/pcscd -H"; }; + ------------------------------------------------------------------------ diff --git a/devel/pcsc-lite/pkg-descr b/devel/pcsc-lite/pkg-descr index 9b5fbdcbfe3d..3a4af50a0ad8 100644 --- a/devel/pcsc-lite/pkg-descr +++ b/devel/pcsc-lite/pkg-descr @@ -3,4 +3,4 @@ Allows easy porting of Windows smartcard software to other operating systems. Supports many types of serial, PCMCIA, and USB smartcard readers and cryptographic tokens. -WWW: http://alioth.debian.org/projects/pcsclite/ +WWW: https://pcsclite.apdu.fr/ |