devel/libccid: Update to 1.6.1
Extract the common variable between this port and pcsc-lite into a separate include. Sponsored by: Serenity Cybersecurity, LLC Co-authored-by: Gleb Popov <arrowd@FreeBSD.org> Differential Revision: https://reviews.freebsd.org/D45456
This commit is contained in:
parent
881c22fa82
commit
fc94b4e3dd
@ -1,6 +1,5 @@
|
|||||||
PORTNAME= ccid
|
PORTNAME= ccid
|
||||||
PORTVERSION= 1.5.5
|
PORTVERSION= 1.6.1
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= https://ccid.apdu.fr/files/
|
MASTER_SITES= https://ccid.apdu.fr/files/
|
||||||
|
|
||||||
@ -13,27 +12,31 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||||||
|
|
||||||
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
|
LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
|
||||||
|
|
||||||
USES= perl5 pkgconfig tar:bzip2
|
USES= perl5 pkgconfig tar:xz meson
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_PERL5= build
|
USE_PERL5= build
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
MESON_ARGS= -Dpcsclite=true
|
||||||
CONFIGURE_ARGS= --enable-usbdropdir=${PREFIX}/lib/pcsc/drivers \
|
|
||||||
--enable-ccidtwindir=${PREFIX}/lib/pcsc/drivers/serial
|
|
||||||
|
|
||||||
LDFLAGS= -pthread
|
.include "../../devel/pcsc-lite/Makefile.common"
|
||||||
INSTALL_TARGET= install-strip
|
|
||||||
|
|
||||||
|
BUNDLE_DIR= ${USBDROPDIR}/ifd-ccid.bundle
|
||||||
|
PLIST_DIRS= ${USBDROPDIR}
|
||||||
PLIST_FILES= bin/RSA_SecurID_getpasswd \
|
PLIST_FILES= bin/RSA_SecurID_getpasswd \
|
||||||
lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so \
|
bin/Kobil_mIDentity_switch \
|
||||||
lib/pcsc/drivers/ifd-ccid.bundle/Contents/Info.plist \
|
${BUNDLE_DIR}/Contents/FreeBSD/libccid.so \
|
||||||
share/man/man1/RSA_SecurID_getpasswd.1.gz
|
${BUNDLE_DIR}/Contents/Info.plist \
|
||||||
|
share/man/man1/RSA_SecurID_getpasswd.1.gz \
|
||||||
|
share/man/man8/Kobil_mIDentity_switch.8.gz
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \
|
${INSTALL_PROGRAM} ${WRKSRC}/${MESON_BUILD_DIR}/Kobil_mIDentity_switch \
|
||||||
|
${STAGEDIR}${PREFIX}/bin
|
||||||
|
${INSTALL_MAN} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 \
|
||||||
|
${STAGEDIR}${PREFIX}/share/man/man8
|
||||||
|
${INSTALL_PROGRAM} ${WRKSRC}/${MESON_BUILD_DIR}/RSA_SecurID_getpasswd \
|
||||||
${STAGEDIR}${PREFIX}/bin
|
${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \
|
${INSTALL_MAN} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \
|
||||||
${STAGEDIR}${PREFIX}/share/man/man1
|
${STAGEDIR}${PREFIX}/share/man/man1
|
||||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|||||||
@ -1,3 +1,3 @@
|
|||||||
TIMESTAMP = 1709534464
|
TIMESTAMP = 1723636201
|
||||||
SHA256 (ccid-1.5.5.tar.bz2) = 194708f75fe369d45dd7c15e8b3e8a7db8b49cfc5557574ca2a2e76ef12ca0ca
|
SHA256 (ccid-1.6.1.tar.xz) = 2eca8fb07e8fe7c0d39daeaca7b97cd73c40ed9b72738a24ad3dcbdfc918e1ea
|
||||||
SIZE (ccid-1.5.5.tar.bz2) = 708374
|
SIZE (ccid-1.6.1.tar.xz) = 195844
|
||||||
|
|||||||
@ -19,11 +19,13 @@ USE_RC_SUBR= pcscd
|
|||||||
|
|
||||||
SHEBANG_FILES= src/spy/pcsc-spy
|
SHEBANG_FILES= src/spy/pcsc-spy
|
||||||
|
|
||||||
|
.include "Makefile.common"
|
||||||
|
|
||||||
MESON_ARGS= -Dlibsystemd=false \
|
MESON_ARGS= -Dlibsystemd=false \
|
||||||
-Dlibudev=false \
|
-Dlibudev=false \
|
||||||
-Dlibusb=true \
|
-Dlibusb=true \
|
||||||
-Dusb=true \
|
-Dusb=true \
|
||||||
-Dusbdropdir=${PREFIX}/lib/pcsc/drivers/ \
|
-Dusbdropdir=${USBDROPDIR}/ \
|
||||||
-Dipcdir=/var/run
|
-Dipcdir=/var/run
|
||||||
|
|
||||||
SUB_FILES= pkg-message
|
SUB_FILES= pkg-message
|
||||||
|
|||||||
1
devel/pcsc-lite/Makefile.common
Normal file
1
devel/pcsc-lite/Makefile.common
Normal file
@ -0,0 +1 @@
|
|||||||
|
USBDROPDIR= ${PREFIX}/lib/pcsc/drivers
|
||||||
Loading…
x
Reference in New Issue
Block a user